/* =========================================
   AGENDA PROFESIONAL
========================================= */

.agenda-section {
    width: 100%;
  
    padding: 100px 24px;
  
    background: #fff;
  
    border-top: 1px solid #dce3ef;
  }
  
  .agenda-container {
    width: 100%;
    max-width: 1100px;
  
    margin: 0 auto;
  }
  
  
  /* =========================================
     HEADER
  ========================================= */
  
  .agenda-header {
    max-width: 700px;
  
    margin: 0 auto 65px;
  
    text-align: center;
  }
  
  .agenda-eyebrow {
    display: block;
  
    margin-bottom: 10px;
  
    font-size: 13px;
  
    letter-spacing: 1.5px;
  
    color: #6b7280;
  }
  
  .agenda-header h2 {
    margin: 10px 0 14px;

  
    font-size: clamp(32px, 5vw, 44px);
  
    line-height: 1.2;
  
    font-weight: 600;
  
    color: #101B2D;
  }
  
  .agenda-header p {
    max-width: 560px;
  
    margin: 0 auto;
  
    font-size: 15px;
  
    line-height: 1.7;
  
    color: #6b7280;
  }
  
  
  /* =========================================
     LAYOUT
  ========================================= */
  
  .agenda-layout {
    display: grid;
  
    grid-template-columns:
      minmax(0, 1fr)
      330px;
  
    gap: 55px;
  
    align-items: start;
  }
  
  
  /* =========================================
     CAMPOS
  ========================================= */
  
  .agenda-field {
    margin-bottom: 32px;
  }
  
  .agenda-field label,
  .agenda-label {
    display: block;
  
    margin-bottom: 9px;
  
    font-size: 13px;
  
    font-weight: 600;
  
    color: #101B2D;
  }
  
  .agenda-field select {
    width: 100%;
  
    height: 50px;
  
    padding: 0 15px;
  
    border: 1px solid #dce3ef;
  
    border-radius: 8px;
  
    background: #fff;
  
    color: #101B2D;
  
    font-family: inherit;
  
    font-size: 14px;
  
    outline: none;
  
    cursor: pointer;
  
    transition: border-color .2s ease;
  }
  
  .agenda-field select:focus {
    border-color: #101B2D;
  }
  
  
  /* =========================================
     MODALIDAD
  ========================================= */
  
  .agenda-modalidades {
    display: flex;
  
    gap: 10px;
  }
  
  .modalidad-btn {
    display: flex;
  
    align-items: center;
  
    gap: 9px;
  
    padding: 12px 17px;
  
    border: 1px solid #dce3ef;
  
    border-radius: 8px;
  
    background: #fff;
  
    color: #101B2D;
  
    font-family: inherit;
  
    font-size: 13px;
  
    cursor: pointer;
  
    transition:
      border-color .2s ease,
      background .2s ease,
      color .2s ease;
  }
  
  .modalidad-btn:hover {
    border-color: #aab1cb;
  }
  
  .modalidad-btn.active {
    background: #101B2D;
  
    border-color: #0A2A5E;
  
    color: #fff;
  }
  
  .modalidad-icon {
    font-size: 18px;
  
    line-height: 1;
  }
  
  
  /* =========================================
     CALENDARIO
  ========================================= */
  
  .agenda-calendar {
    width: 100%;
  
    padding-top: 10px;
  }
  
  .calendar-header {
    display: flex;
  
    align-items: center;
    justify-content: space-between;
  
    margin-bottom: 30px;
  }
  
  .calendar-month {

  
    font-size: 20px;
  
    font-weight: 600;
  
    color: #0A2A5E;
  }
  
  .calendar-nav {
    width: 38px;
    height: 38px;
  
    border: 1px solid #dce3ef;
  
    border-radius: 50%;
  
    background: #fff;
  
    color: #0A2A5E;
  
    font-size: 17px;
  
    cursor: pointer;
  
    transition:
      background .2s ease,
      color .2s ease;
  }
  
  .calendar-nav:hover {
    background: #101B2D;
  
    color: #fff;
  }
  
  
  /* =========================================
     WEEK
  ========================================= */
  
  .calendar-week {
    display: grid;
  
    grid-template-columns:
      repeat(7, 1fr);
  
    margin-bottom: 8px;
  }
  
  .calendar-week span {
    text-align: center;
  
    font-size: 10px;
  
    letter-spacing: .7px;
  
    color: #9ca3af;
  }
  
  
  /* =========================================
     DAYS
  ========================================= */
  
  .calendar-days {
    display: grid;
  
    grid-template-columns:
      repeat(7, 1fr);
  
    gap: 5px;
  }
  
  .calendar-day {
    position: relative;
  
    aspect-ratio: 1;
  
    display: flex;
  
    align-items: center;
    justify-content: center;
  
    border: 0;
  
    border-radius: 50%;
  
    background: transparent;
  
    color: #6b7280;
  
    font-family: inherit;
  
    font-size: 13px;
  
    cursor: default;
  }
  
  .calendar-day.available {
    cursor: pointer;
  
    color: #101B2D;
  }
  
  .calendar-day.available::after {
    content: "";
  
    position: absolute;
  
    bottom: 7px;
  
    width: 4px;
    height: 4px;
  
    border-radius: 50%;
  
    background: #101B2D;
  }
  
  .calendar-day.available:hover {
    background: #f0f3f9;
  }
  
  .calendar-day.selected {
    background: #101B2D;
  
    color: #fff;
  }
  
  .calendar-day.selected::after {
    background: #fff;
  }
  
  .calendar-day.disabled {
    color: #d1d5db;
  }
  
  
  /* =========================================
     INFO CALENDARIO
  ========================================= */
  
  .calendar-info {
    display: flex;
  
    align-items: center;
  
    gap: 8px;
  
    margin-top: 18px;
  
    font-size: 11px;
  
    color: #9ca3af;
  }
  
  .calendar-dot {
    width: 5px;
    height: 5px;
  
    border-radius: 50%;
  
    background: #101B2D;
  }
  
  
  /* =========================================
     HORARIOS
  ========================================= */
  
  .agenda-horarios {
    margin-top: 42px;
  }
  
  .horarios-header {
    display: flex;
  
    align-items: center;
    justify-content: space-between;
  
    margin-bottom: 16px;
  }
  
  .fecha-seleccionada {
    font-size: 12px;
  
    color: #9ca3af;
  }
  
  .horarios-grid {
    display: grid;
  
    grid-template-columns:
      repeat(3, 1fr);
  
    gap: 8px;
  }
  
  .horarios-grid button {
    height: 42px;
  
    border: 1px solid #dce3ef;
  
    border-radius: 7px;
  
    background: #fff;
  
    color: #101B2D;
  
    font-family: inherit;
  
    font-size: 12px;
  
    cursor: pointer;
  
    transition:
      background .2s ease,
      border-color .2s ease,
      color .2s ease;
  }
  
  .horarios-grid button:hover {
    border-color: #101B2D;
  }
  
  .horarios-grid button.active {
    background: #101B2D;
  
    border-color: #0A2A5E;
  
    color: #fff;
  }
  
  
  /* =========================================
     SUMMARY
  ========================================= */
  
  .agenda-summary {
    position: sticky;
  
    top: 30px;
  
    padding: 30px 0;
  
    border-top: 1px solid #101B2D;
  
    border-bottom: 1px solid #dce3ef;
  }
  
  .summary-eyebrow {
    display: block;
  
    margin-bottom: 9px;
  
    font-size: 11px;
  
    letter-spacing: 1.4px;
  
    color: #9ca3af;
  }
  
  .agenda-summary h3 {
    margin: 0 0 30px;
  
    font-size: 23px;
  
    font-weight: 600;
  
    color: #101B2D;
  }
  
  .summary-line {
    display: flex;
  
    flex-direction: column;
  
    gap: 5px;
  
    padding: 13px 0;
  
    border-bottom: 1px solid #eef0f4;
  }
  
  .summary-line span {
    font-size: 11px;
  
    color: #9ca3af;
  }
  
  .summary-line strong {
    font-size: 13px;
  
    line-height: 1.4;
  
    font-weight: 500;
  
    color: #101B2D;
  }
  
  .summary-divider {
    height: 15px;
  }
  
  .summary-text {
    margin: 0 0 25px;
  
    font-size: 12px;
  
    line-height: 1.6;
  
    color: #808080;
  }
  
  .agenda-confirmar {
    width: 100%;
  
    display: flex;
  
    align-items: center;
    justify-content: space-between;
  
    padding: 14px 16px;
  
    border: 0;
  
    border-radius: 8px;
  
    background: #101B2D;
  
    color: #fff;
  
    font-family: inherit;
  
    font-size: 13px;
  
    font-weight: 600;
  
    cursor: pointer;
  
    transition:
      background .2s ease,
      transform .2s ease;
  }
  
  .agenda-confirmar:hover {
    background: #101B2D;
    color:#fff;
    transform: translateY(-2px);
  }
  
  .agenda-confirmar strong {
    font-size: 19px;
  
    font-weight: 400;
  }
  
  
  /* =========================================
     DATOS
  ========================================= */
  
  .agenda-datos {
    display: none;
  
    margin-top: 80px;
  
    padding-top: 70px;
  
    border-top: 1px solid #dce3ef;
  }
  
  .agenda-datos.active {
    display: block;
  }
  
  .datos-header {
    max-width: 600px;
  
    margin-bottom: 40px;
  }
  
  .datos-header h3 {
    margin: 8px 0 10px;
  
  
    font-size: 30px;
  
    color: #101B2D;
  }
  
  .datos-header p {
    margin: 0;
  
    font-size: 14px;
  
    line-height: 1.6;
  
    color: #6b7280;
  }
  
  .datos-grid {
    display: grid;
  
    grid-template-columns:
      repeat(2, 1fr);
  
    gap: 20px;
  }
  
  .agenda-input {
    display: flex;
  
    flex-direction: column;
  
    gap: 7px;
  }
  
  .agenda-input-full {
    grid-column: 1 / -1;
  }
  
  .agenda-input label {
    font-size: 12px;
  
    color: #6b7280;
  }
  
  .agenda-input input,
  .agenda-input textarea {
    width: 100%;
  
    padding: 13px;
  
    border: 1px solid #dce3ef;
  
    border-radius: 8px;
  
    background: #fff;
  
    color: #101B2D;
  
    font-family: inherit;
  
    font-size: 13px;
  
    outline: none;
  }
  
  .agenda-input input {
    height: 46px;
  }
  
  .agenda-input textarea {
    resize: vertical;
  
    min-height: 120px;
  
    line-height: 1.6;
  }
  
  .agenda-input input:focus,
  .agenda-input textarea:focus {
    border-color: #101B2D;
  }
  
  
  /* =========================================
     ACTIONS
  ========================================= */
  
  .datos-actions {
    display: flex;
  
    align-items: center;
    justify-content: space-between;
  
    margin-top: 30px;
  }
  
  .agenda-volver {
    padding: 10px 0;
  
    border: 0;
  
    background: transparent;
  
    color: #6b7280;
  
    font-family: inherit;
  
    font-size: 13px;
  
    cursor: pointer;
  }
  
  .agenda-finalizar {
    display: flex;
  
    align-items: center;
  
    gap: 18px;
  
    padding: 14px 18px;
  
    border: 0;
  
    border-radius: 8px;
  
    background: #101B2D;
  
    color: #fff;
  
    font-family: inherit;
  
    font-size: 13px;
  
    font-weight: 600;
  
    cursor: pointer;
  
    transition:
      background .2s ease,
      transform .2s ease;
  }
  
  .agenda-finalizar:hover {
    background: #101B2D;
    color:#fff;
  
    transform: translateY(-2px);
  }
  
  .agenda-finalizar span {
    font-size: 18px;
  }
  
  
  /* =========================================
     MOBILE
  ========================================= */
  
  @media (max-width: 850px) {
  
    .agenda-section {
      padding: 70px 18px;
    }
  
    .agenda-layout {
      grid-template-columns: 1fr;
  
      gap: 50px;
    }
  
    .agenda-summary {
      position: static;
  
      padding: 30px 0;
    }
  
    .agenda-summary h3 {
      margin-bottom: 20px;
    }
  
  }
  
  
  @media (max-width: 600px) {
  
    .agenda-section {
      padding: 60px 16px;
    }
  
    .agenda-header {
      margin-bottom: 45px;
    }
  
    .agenda-header h2 {
      font-size: 30px;
    }
  
    .agenda-header p {
      font-size: 14px;
    }
  
    .agenda-modalidades {
      flex-direction: column;
    }
  
    .modalidad-btn {
      justify-content: center;
  
      width: 100%;
    }
  
    .calendar-header {
      margin-bottom: 24px;
    }
  
    .calendar-month {
      font-size: 18px;
    }
  
    .calendar-day {
      font-size: 12px;
    }
  
    .calendar-day.available::after {
      bottom: 4px;
    }
  
    .horarios-grid {
      grid-template-columns:
        repeat(2, 1fr);
    }
  
    .agenda-datos {
      margin-top: 60px;
  
      padding-top: 50px;
    }
  
    .datos-grid {
      grid-template-columns: 1fr;
    }
  
    .agenda-input-full {
      grid-column: auto;
    }
  
    .datos-actions {
      flex-direction: column-reverse;
  
      align-items: stretch;
  
      gap: 15px;
    }
  
    .agenda-finalizar,
    .agenda-volver {
      width: 100%;
  
      justify-content: center;
    }
  
  }
  
  
  @media (max-width: 400px) {
  
    .agenda-section {
      padding: 55px 14px;
    }
  
    .agenda-header h2 {
      font-size: 28px;
    }
  
    .calendar-week span {
      font-size: 9px;
    }
  
    .calendar-day {
      font-size: 11px;
    }
  
  }