/* Agenda INT — Public Styles */
html { scroll-behavior: smooth; }
#aint-app { font-family: Arial, Helvetica, sans-serif; max-width: 820px; margin: 0 auto 1.5rem; padding: 1.5rem 1.25rem 2rem; color: #2F3B52; background: linear-gradient(180deg, #E8F0FB 0%, #DCE8F7 100%); border: 1px solid #C9D8EE; border-top: 6px solid #446EB2; border-radius: 16px; box-shadow: 0 8px 24px rgba(68,110,178,.08); }

/* HERO */
.aint-hero { position:relative; overflow:hidden; max-width:820px; margin:0 auto 1.25rem; padding:2rem 1.6rem; background:linear-gradient(135deg,#FFFFFF 0%,#F4F6FA 100%); border:1px solid #E3E8F0; border-top:5px solid #F7AB16; border-radius:18px; box-shadow:0 8px 30px rgba(68,110,178,.08); font-family:Arial,Helvetica,sans-serif; color:#2F3B52; }
.aint-hero::after { content:''; position:absolute; right:-50px; top:-50px; width:180px; height:180px; border-radius:50%; background:rgba(68,110,178,.08); }
.aint-hero-inner { position:relative; z-index:1; max-width:720px; }
.aint-hero-kicker { display:inline-flex; align-items:center; gap:8px; padding:5px 11px; border-radius:999px; background:#EDF2FA; border:1px solid #C9D8EE; color:#2F4F86; font-size:11px; font-weight:700; letter-spacing:.06em; text-transform:uppercase; }
.aint-hero-kicker::before { content:''; width:7px; height:7px; border-radius:50%; background:#F7AB16; }
.aint-hero-title { font-family:Georgia,'Times New Roman',serif; font-size:2.1rem; line-height:1.15; font-weight:700; color:#2F3B52; margin:.9rem 0 .6rem; }
.aint-hero-sub { font-size:15px; line-height:1.7; color:#4D4D4D; margin:0 0 1.2rem; max-width:640px; }
.aint-hero-actions { display:flex; flex-wrap:wrap; gap:.6rem; margin-bottom:1rem; }
.aint-hero-btn { display:inline-flex; align-items:center; justify-content:center; padding:11px 18px; border-radius:8px; font-size:14px; font-weight:700; text-decoration:none; border:1px solid transparent; transition:all .2s; }
.aint-hero-btn.primary { background:#446EB2; color:#fff; }
.aint-hero-btn.primary:hover { background:#2F4F86; color:#fff; }
.aint-hero-btn.secondary { background:#fff; color:#2F4F86; border-color:#C9D8EE; }
.aint-hero-btn.secondary:hover { background:#446EB2; border-color:#446EB2; color:#fff; }
.aint-hero-btn.ghost { background:transparent; color:#2F3B52; border-color:transparent; padding-left:0; padding-right:0; }
.aint-hero-btn.ghost:hover { color:#446EB2; }
.aint-hero-points { display:flex; flex-wrap:wrap; gap:.45rem .9rem; font-size:12px; color:#8A94A6; }
.aint-hero-points span { display:inline-flex; align-items:center; gap:6px; }
.aint-hero-points span::before { content:'✓'; color:#446EB2; font-weight:700; }
@media(max-width:560px){
  .aint-hero { padding:1.5rem 1.1rem; }
  .aint-hero-title { font-size:1.65rem; }
  .aint-hero-actions { flex-direction:column; align-items:stretch; }
  .aint-hero-btn { width:100%; }
  .aint-hero-btn.ghost { width:auto; align-self:flex-start; padding-left:0; }
}

/* NAVEGACIÓN DE SECCIONES */
.aint-section-nav { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; max-width: 820px; margin: 0 auto 1rem; }
.aint-section-nav a { display: inline-flex; align-items: center; padding: 8px 14px; border-radius: 999px; background: #fff; border: 1px solid #DDE3EE; color: #2F4F86; font-family: Arial, Helvetica, sans-serif; font-size: 13px; font-weight: 600; text-decoration: none; transition: all .2s; }
.aint-section-nav a:hover { background: #446EB2; border-color: #446EB2; color: #fff; }
.aint-section-nav a:focus-visible { outline: 3px solid #F7AB16; outline-offset: 2px; }

/* ACENTO DEL BLOQUE DE AGENDAMIENTO */
#aint-app .aint-section-num { background: #F7AB16; color: #2F3B52; }
#aint-app .aint-section-sub { color: #4D4D4D; }

/* CABECERAS DE SECCIÓN */
.aint-section-head { display: flex; align-items: flex-start; gap: .9rem; margin-bottom: 1.25rem; }
.aint-section-num { width: 38px; height: 38px; border-radius: 50%; background: #446EB2; color: #fff; font-family: Arial, Helvetica, sans-serif; font-size: 16px; font-weight: 700; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.aint-section-num.alt { background: #F7AB16; color: #2F3B52; }
.aint-section-title { font-family: Georgia, 'Times New Roman', serif; font-size: 1.45rem; line-height: 1.2; font-weight: 700; color: #2F3B52; margin: 0 0 .2rem; }
.aint-section-sub { font-size: 13px; line-height: 1.5; color: #8A94A6; margin: 0; }
#aint-agendar, #aint-paquetes, #aint-instrucciones { scroll-margin-top: 100px; }

/* PROGRESS */
.aint-progress { display: flex; align-items: center; margin-bottom: 2rem; overflow-x: auto; padding-bottom: .5rem; }
.aint-step-item { display: flex; align-items: center; flex-shrink: 0; }
.aint-connector { width: 28px; height: 1px; background: #C9D8EE; margin: 0 6px; flex-shrink: 0; }
.aint-step-dot  { display: flex; align-items: center; gap: 6px; }
.aint-step-num  { width: 26px; height: 26px; border-radius: 50%; background: #FFFFFF; color: #2F4F86; font-size: 12px; font-weight: 600; display: flex; align-items: center; justify-content: center; transition: all .3s; flex-shrink: 0; }
.aint-step-num.active { background: #446EB2; color: #fff; }
.aint-step-num.done   { background: #FFF6E0; color: #B77900; }
.aint-step-lbl  { font-size: 11px; color: #4D4D4D; white-space: nowrap; transition: color .3s; }
.aint-step-lbl.active { color: #2F3B52; font-weight: 500; }
.aint-step-lbl.done   { color: #B77900; }

/* PAGES */
.aint-page { display: none; }
.aint-page.active { display: block; }
.aint-title { font-family: Georgia, 'Times New Roman', serif; font-size: 1.5rem; font-weight: 700; margin-bottom: .3rem; color: #2F3B52; letter-spacing: -.01em; }
.aint-sub   { font-size: 14px; color: #4D4D4D; margin-bottom: 1.5rem; }

/* CARDS */
.aint-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: .9rem; margin-bottom: 1.5rem; }
.aint-card-item { background: #fff; border: 1.5px solid #E3E8F0; border-radius: 12px; padding: 1.1rem; cursor: pointer; transition: all .2s; position: relative; overflow: hidden; }
.aint-card-item:hover { border-color: #446EB2; box-shadow: 0 2px 12px rgba(0,0,0,.07); transform: translateY(-1px); }
.aint-card-item.selected { border-color: #446EB2; background: #CFE0F5; }
.aint-card-item.selected::after { content: '✓'; position: absolute; top: 9px; right: 11px; width: 20px; height: 20px; background: #446EB2; color: #fff; border-radius: 50%; font-size: 11px; display: flex; align-items: center; justify-content: center; }
.aint-avatar { width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 600; font-size: 15px; margin-bottom: .7rem; }
.aint-av-teal   { background: #EDF2FA; color: #2F4F86; }
.aint-av-coral  { background: #FFF6E0; color: #B77900; }
.aint-av-blue   { background: #EDF2FA; color: #2F4F86; }
.aint-av-purple { background: #F0F2F5; color: #4D4D4D; }
.aint-card-name { font-weight: 600; font-size: 13px; margin-bottom: 2px; }
.aint-card-sub  { font-size: 12px; color: #8A94A6; }
.aint-card-price { margin-top: .6rem; font-size: 13px; color: #446EB2; font-weight: 600; }
.aint-card-dur  { font-size: 11px; color: #8A94A6; margin-top: 2px; }
.aint-loc-dir { display:inline-flex; align-items:center; margin-top:6px; font-size:12px; font-weight:700; color:#446EB2; text-decoration:none; }
.aint-loc-dir:hover { text-decoration:underline; }
.aint-badge-tag { display: inline-block; padding: 2px 8px; border-radius: 20px; font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; margin-top: 6px; }
.aint-tag-pres  { background: #EDF2FA; color: #2F4F86; }
.aint-tag-virt  { background: #FFF6E0; color: #B77900; }

/* CALENDAR */
.aint-cal-wrap { background: #fff; border: 1px solid #E3E8F0; border-radius: 12px; padding: 1.25rem; margin-bottom: 1.5rem; box-shadow: 0 1px 4px rgba(0,0,0,.06); }
.aint-cal-nav  { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.aint-cal-nav button { background: none; border: 1px solid #DDE3EE; border-radius: 7px; width: 30px; height: 30px; cursor: pointer; font-size: 16px; color: #4D4D4D; transition: all .15s; }
.aint-cal-nav button:hover { background: #EDF2FA; border-color: #446EB2; color: #2F4F86; }
#aint-cal-month { font-weight: 600; font-size: 14px; text-transform: capitalize; }
.aint-cal-grid  { display: grid; grid-template-columns: repeat(7,1fr); gap: 3px; }
.aint-cal-hdr   { text-align: center; font-size: 10px; font-weight: 600; color: #A0A8B8; padding: 4px; text-transform: uppercase; }
.aint-cal-day   { aspect-ratio: 1; display: flex; align-items: center; justify-content: center; border-radius: 7px; font-size: 13px; cursor: pointer; transition: all .15s; border: 1px solid transparent; }
.aint-cal-day:hover:not(.aint-cal-dis):not(.aint-cal-empty) { background: #EDF2FA; color: #2F4F86; border-color: #446EB2; }
.aint-cal-day.aint-cal-sel  { background: #446EB2 !important; color: #fff !important; font-weight: 600; }
.aint-cal-day.aint-cal-today{ border-color: #446EB2; color: #2F4F86; font-weight: 600; }
.aint-cal-day.aint-cal-dis  { color: #C9D0DB; cursor: not-allowed; }
.aint-cal-day.aint-cal-empty{ cursor: default; }
.aint-divider   { border: none; border-top: 1px solid #E3E8F0; margin: 1.25rem 0 1rem; }
.aint-slots-title{ font-size: 13px; font-weight: 500; color: #8A94A6; margin-bottom: .5rem; }
.aint-slots-grid{ display: grid; grid-template-columns: repeat(auto-fill, minmax(80px, 1fr)); gap: 7px; }
.aint-slot      { padding: 7px 0; border: 1.5px solid #DDE3EE; border-radius: 7px; background: #fff; font-size: 13px; font-weight: 500; color: #4D4D4D; cursor: pointer; text-align: center; transition: all .15s; font-family: inherit; }
.aint-slot:hover { border-color: #446EB2; color: #2F4F86; background: #EDF2FA; }
.aint-slot.selected { background: #446EB2; border-color: #446EB2; color: #fff; }

/* FORM */
.aint-form-card { background: #fff; border: 1px solid #E3E8F0; border-radius: 12px; padding: 1.5rem; box-shadow: 0 1px 4px rgba(0,0,0,.06); margin-bottom: 1.5rem; }
.aint-frow { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.aint-fg   { margin-bottom: 1rem; }
.aint-fg label { display: block; font-size: 12px; font-weight: 600; color: #4D4D4D; margin-bottom: 4px; }
.aint-fg input, .aint-fg textarea, .aint-fg select { width: 100%; padding: 9px 12px; border: 1.5px solid #DDE3EE; border-radius: 8px; font-size: 13px; font-family: inherit; color: #2F3B52; outline: none; transition: border-color .15s; background: #fff; box-sizing: border-box; }
.aint-fg input:focus, .aint-fg textarea:focus { border-color: #446EB2; }
.aint-fg textarea { resize: vertical; min-height: 75px; }
.aint-err { color: #c0392b; font-size: 11px; margin-top: 3px; display: none; }
.aint-err.show { display: block; }

/* SUMMARY */
.aint-summary { background: #FFFFFF; border: 1px solid #C9D8EE; border-radius: 12px; padding: 1.1rem 1.4rem; margin-bottom: 1.25rem; }
.aint-sum-row  { display: flex; justify-content: space-between; align-items: flex-start; padding: 5px 0; font-size: 13px; border-bottom: 1px solid rgba(68,110,178,.1); }
.aint-sum-row:last-child { border-bottom: none; }
.aint-sum-lbl  { color: #8A94A6; flex-shrink: 0; margin-right: 1rem; }
.aint-sum-val  { font-weight: 500; text-align: right; }
.aint-sum-val.price { color: #446EB2; font-size: 15px; }
.aint-tip { background: #FFF6E0; border-left: 3px solid #F7AB16; border-radius: 0 8px 8px 0; padding: 9px 12px; font-size: 12px; color: #5A4200; margin-bottom: 1.5rem; }

/* BUTTONS */
.aint-btn-row { display: flex; gap: .75rem; align-items: center; flex-wrap: wrap; margin-top: 1.25rem; }
.aint-btn-primary { background: #446EB2; color: #fff; border: none; border-radius: 8px; padding: 10px 24px; font-size: 14px; font-weight: 600; font-family: inherit; cursor: pointer; transition: all .2s; }
.aint-btn-primary:hover { background: #2F4F86; transform: translateY(-1px); }
.aint-btn-primary:disabled { background: #ccc; cursor: not-allowed; transform: none; }
.aint-btn-sec  { background: #fff; color: #4D4D4D; border: 1.5px solid #DDE3EE; border-radius: 8px; padding: 10px 20px; font-size: 13px; font-family: inherit; cursor: pointer; transition: all .2s; }
.aint-btn-sec:hover { border-color: #4D4D4D; color: #2F3B52; }

/* CONFIRM */
.aint-confirm-card { background: #fff; border: 1px solid #E3E8F0; border-radius: 12px; padding: 2rem; text-align: center; max-width: 480px; margin: 0 auto; box-shadow: 0 2px 12px rgba(0,0,0,.06); }
.aint-confirm-icon { width: 56px; height: 56px; background: #EDF2FA; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 1.2rem; font-size: 24px; color: #2F4F86; }
.aint-confirm-card h2 { font-family: Georgia, 'Times New Roman', serif; font-size: 1.3rem; margin-bottom: .4rem; color: #446EB2; }
.aint-confirm-card p  { font-size: 13px; color: #8A94A6; margin-bottom: 1.25rem; }
.aint-confirm-details { background: #FAFBFD; border-radius: 8px; padding: .9rem 1.1rem; text-align: left; margin-bottom: 1.25rem; }
.aint-gcal-btn { display: inline-flex; align-items: center; gap: 7px; background: #446EB2; color: #fff; border: none; border-radius: 8px; padding: 9px 18px; font-size: 13px; font-weight: 500; cursor: pointer; font-family: inherit; text-decoration: none; transition: background .2s; }
.aint-gcal-btn:hover { background: #2F4F86; color: #fff; }

/* LOADER */
.aint-loader { position: fixed; inset: 0; background: rgba(255,255,255,.85); z-index: 9999; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .9rem; }
.aint-spinner { width: 36px; height: 36px; border: 3px solid #DDE3EE; border-top-color: #446EB2; border-radius: 50%; animation: aint-spin .8s linear infinite; }
@keyframes aint-spin { to { transform: rotate(360deg); } }
.aint-loading { text-align: center; padding: 1.5rem; color: #8A94A6; font-size: 14px; }

@media(max-width:560px){
  .aint-frow { grid-template-columns: 1fr; }
  .aint-cards { grid-template-columns: 1fr 1fr; }
  .aint-step-lbl { display: none; }
}

/* PAQUETES */
.aint-paquetes { font-family: Arial, Helvetica, sans-serif; max-width: 820px; margin: 0 auto 1.5rem; padding: 1.5rem 1.25rem 2rem; color: #2F3B52; background: #FFF9EC; border: 1px solid #F0E3C2; border-radius: 16px; }
.aint-paq-aviso { background: #FFF6E0; border-left: 3px solid #F7AB16; border-radius: 0 8px 8px 0; padding: 10px 12px; font-size: 13px; color: #5A4200; margin-bottom: 1.25rem; }
.aint-paq-aviso.ok { background: #EDF2FA; border-left-color: #446EB2; color: #2F4F86; }
.aint-paq-aviso.err { background: #FBEAEA; border-left-color: #c0392b; color: #8a1f1f; }
.aint-paq-prof { margin-bottom: 1.75rem; }
.aint-paq-prof-h { display: flex; align-items: center; gap: .8rem; margin-bottom: 1rem; }
.aint-paq-prof-h .aint-avatar { margin-bottom: 0; }
.aint-paq-svc h4 { font-size: 13px; font-weight: 600; color: #4D4D4D; margin: 1rem 0 .6rem; }
.aint-paq-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: .9rem; }
.aint-paq-card { background: #fff; border: 1.5px solid #E3E8F0; border-radius: 12px; padding: 1.1rem; transition: all .2s; display: flex; flex-direction: column; gap: 3px; }
.aint-paq-card:hover { border-color: #446EB2; box-shadow: 0 2px 12px rgba(0,0,0,.07); }
.aint-paq-citas { font-size: 12px; font-weight: 600; color: #8A94A6; text-transform: uppercase; letter-spacing: .04em; }
.aint-paq-precio { font-size: 1.25rem; font-weight: 700; color: #446EB2; margin-top: 2px; }
.aint-paq-lista { font-size: 12px; color: #A0A8B8; text-decoration: line-through; }
.aint-paq-ahorro { font-size: 12px; font-weight: 600; color: #B77900; }
.aint-paq-meta { font-size: 11px; color: #8A94A6; }
.aint-paq-btn { margin-top: .8rem; padding: 8px 14px; font-size: 13px; }
.aint-paq-form-wrap { margin-top: 1.5rem; }
.aint-paq-form-wrap h3 { font-family: Georgia, 'Times New Roman', serif; color: #446EB2; }
.aint-paq-prof-h strong { font-family: Georgia, 'Times New Roman', serif; font-size: 16px; color: #2F3B52; }
.aint-paq-resumen { background: #FAFBFD; border-radius: 8px; padding: .7rem 1rem; margin-bottom: 1rem; }
.aint-paq-msg { font-size: 13px; margin-top: 8px; min-height: 18px; }
@media(max-width:560px){ .aint-paq-grid { grid-template-columns: 1fr 1fr; } }

/* WHATSAPP FLOTANTE */
.aint-wa-spacer { height: 72px; }
.aint-wa-float { position: fixed; right: 20px; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); z-index: 9998; display: inline-flex; align-items: center; gap: 9px; background: #25D366; color: #fff; text-decoration: none; font-family: Arial, Helvetica, sans-serif; font-size: 14px; font-weight: 700; line-height: 1; padding: 13px 20px; border-radius: 999px; box-shadow: 0 8px 24px rgba(0,0,0,.18); transition: transform .2s, background .2s, box-shadow .2s; }
.aint-wa-float:hover { background: #1DAF5A; color: #fff; transform: translateY(-2px); box-shadow: 0 10px 28px rgba(0,0,0,.22); }
.aint-wa-float:focus-visible { outline: 3px solid #F7AB16; outline-offset: 3px; }
.aint-wa-float svg { width: 22px; height: 22px; flex-shrink: 0; }
.aint-wa-label { display: inline; }
@media(max-width:560px){
  .aint-wa-spacer { height: 80px; }
  .aint-wa-float { right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); width: 56px; height: 56px; padding: 0; justify-content: center; border-radius: 50%; }
  .aint-wa-label { display: none; }
}

/* DESCRIPCIÓN DE PAQUETES */
.aint-paq-svc-desc { font-size: 12px; line-height: 1.55; color: #8A94A6; margin: -2px 0 .7rem; max-width: 640px; }
.aint-paq-desc { font-size: 12px; line-height: 1.55; color: #4D4D4D; margin-top: 4px; }

/* PAQUETES: PROFESIONALES EN COLUMNAS */
.aint-paq-profs-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 1.5rem; align-items: start; }
.aint-paq-profs-grid > .aint-paq-prof { margin-bottom: 0; }
@media(max-width:700px){ .aint-paq-profs-grid { grid-template-columns: 1fr; } }

/* INSTRUCCIONES */
.aint-instrucciones { font-family: Arial, Helvetica, sans-serif; max-width: 820px; margin: 0 auto 1.5rem; padding: 1.5rem 1.25rem 2rem; color: #2F3B52; background: #EDF2FA; border: 1px solid #C9D8EE; border-radius: 16px; }
.aint-instr-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; }
.aint-instr-card { background: #fff; border: 1px solid #E3E8F0; border-radius: 12px; padding: 1.1rem 1.2rem; }
.aint-instr-card h3 { font-family: Georgia, 'Times New Roman', serif; font-size: 16px; line-height: 1.3; color: #446EB2; margin: 0 0 .6rem; }
.aint-instr-card ol { margin: 0; padding-left: 18px; font-size: 13px; line-height: 1.7; color: #4D4D4D; }
.aint-instr-card li { margin-bottom: 4px; }
.aint-instr-note { margin-top: 1rem; background: #FFF6E0; border-left: 3px solid #F7AB16; border-radius: 0 8px 8px 0; padding: 10px 12px; font-size: 12px; line-height: 1.6; color: #5A4200; }
.aint-instr-help { margin: 1rem 0 0; font-size: 13px; line-height: 1.6; color: #4D4D4D; }
.aint-instr-help a { color: #446EB2; font-weight: 700; text-decoration: none; }
.aint-instr-help a:hover { text-decoration: underline; }
