/* ===========================
   NEUROPSYNFONÍA v2 — style.css
   =========================== */

:root {
  --rosa: #F272A0; --rosa-l: #FDE8F2; --rosa-d: #b02d62;
  --teal: #2AADB5; --teal-l: #E2F5F6; --teal-d: #1a7a80;
  --gold: #F5C842; --gold-l: #FEF8DC; --gold-d: #7a5e00;
  --dark: #1A3A3C; --gray-bg: #f7f7f5;
  --text: #1A3A3C; --text-muted: #4a4a4a; --border: #e0e0e0;
  --font: 'Nunito Sans', sans-serif;
  --font-heading: 'Nunito', sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--text); background: #fff; font-size: 19px; line-height: 1.65; }
a { color: inherit; text-decoration: none; }

/* NAVBAR */
.navbar {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 36px; background: #fff; border-bottom: 0.5px solid var(--border);
  gap: 16px; flex-wrap: wrap;
}
.nav-logo { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.nav-logo-img { width: 42px; height: 42px; object-fit: contain; }
.nav-brand { display: block; font-family: var(--font-heading); font-size: 18px; font-weight: 700; color: var(--dark); }
.nav-sub { display: block; font-size: 13px; color: var(--teal); margin-top: 1px; }
.nav-links { display: flex; list-style: none; gap: 22px; flex-wrap: wrap; }
.nav-links a { font-size: 15px; color: #555; transition: color 0.2s; }
.nav-links a:hover { color: var(--teal); }
.nav-links li.active a { color: var(--teal); font-weight: 700; }
.nav-ctas { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; flex-shrink: 0; }
.nav-ctas-label { font-size: 13px; color: #555; font-weight: 700; letter-spacing: 0.2px; }
.nav-ctas-btns { display: flex; gap: 8px; }
.nav-cta { background: var(--teal); color: #fff; padding: 9px 18px; border-radius: 8px; font-size: 14px; font-weight: 600; white-space: nowrap; transition: background 0.2s; }
.nav-cta:hover { background: var(--teal-d); }
.nav-cta-outline { background: transparent; color: var(--rosa); padding: 9px 18px; border-radius: 8px; font-size: 14px; font-weight: 600; white-space: nowrap; border: 2px solid var(--rosa); transition: background 0.2s; }
.nav-cta-outline:hover { background: var(--rosa-l); }
.nav-hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.nav-hamburger span { display: block; width: 24px; height: 2px; background: var(--dark); border-radius: 2px; transition: all 0.3s; }

/* HERO (home) */
.hero {
  display: flex; gap: 36px; align-items: center;
  padding: 56px 36px 48px;
  background-image: url('img/hero.webp');
  background-size: cover;
  background-position: center;
  position: relative;
  flex-wrap: wrap;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: rgba(255,255,255,0.72);
  pointer-events: none;
}
.hero > * { position: relative; z-index: 1; }
.hero-content { flex: 1; min-width: 280px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.9); border: 0.5px solid var(--rosa); border-radius: 20px;
  padding: 6px 16px; font-size: 15px; color: var(--rosa); margin-bottom: 18px;
}
.badge-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); flex-shrink: 0; }
.hero-title { font-family: var(--font-heading); font-size: clamp(22px, 3vw, 30px); font-weight: 700; color: var(--dark); line-height: 1.25; margin-bottom: 14px; }
.hero-desc { font-size: 17px; color: #2a6a70; line-height: 1.75; }
.hero-note { font-size: 15px; color: #555; background: rgba(255,255,255,0.88); border-radius: 10px; padding: 14px 18px; margin-top: 18px; border-left: 3px solid var(--teal); max-width: 500px; line-height: 1.7; }
.hero-actions { display: flex; gap: 12px; margin-top: 22px; flex-wrap: wrap; }
.btn-primary { background: var(--teal); color: #fff; padding: 13px 24px; border-radius: 9px; font-size: 16px; font-weight: 600; border: none; cursor: pointer; transition: background 0.2s; display: inline-block; }
.btn-primary:hover { background: var(--teal-d); color: #fff; }
.btn-secondary { background: rgba(255,255,255,0.85); color: var(--rosa); padding: 13px 24px; border-radius: 9px; font-size: 16px; font-weight: 600; border: 2px solid var(--rosa); cursor: pointer; transition: background 0.2s; display: inline-block; }
.btn-secondary:hover { background: var(--rosa-l); }
.hero-pills { display: flex; flex-direction: column; gap: 10px; min-width: 200px; }
.pill { background: rgba(255,255,255,0.88); border-radius: 11px; border: 0.5px solid #ddd; padding: 12px 16px; display: flex; align-items: center; gap: 12px; }
.pill-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.pill-label { font-size: 15px; font-weight: 600; color: var(--dark); }
.pill-sub { font-size: 13px; color: #777; }

/* PAGE HERO (inner pages) */
.page-hero {
  background: linear-gradient(135deg, #FDE8F2 0%, #E2F5F6 60%, #FEF8DC 100%);
  padding: 44px 36px 40px;
}
.page-hero .container { max-width: 1020px; margin: 0 auto; }
.page-hero-title { font-family: var(--font-heading); font-size: clamp(22px, 3vw, 28px); font-weight: 700; color: var(--dark); margin-bottom: 8px; }
.page-hero-sub { font-size: 17px; color: #2a6a70; line-height: 1.7; max-width: 600px; }

/* SECTIONS */
.section { padding: 52px 0; }
.section.bg-gray { background: var(--gray-bg); }
.section.bg-teal { background: var(--teal-l); }
.section.bg-gold { background: var(--gold-l); }
.container { max-width: 1020px; margin: 0 auto; padding: 0 36px; }
.section-title { font-family: var(--font-heading); font-size: clamp(20px, 2.5vw, 24px); font-weight: 700; color: var(--dark); margin-bottom: 6px; }
.section-sub { font-size: 16px; color: #555; margin-bottom: 28px; }

/* ACCESO RÁPIDO AGENDAR */
.quickaccess-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.quickaccess-card { background: #fff; border-radius: 16px; border: 0.5px solid var(--border); padding: 28px; display: flex; flex-direction: column; gap: 16px; }
.qa-new { border-top: 3px solid var(--teal); }
.qa-existing { border-top: 3px solid var(--rosa); }
.qa-label { font-family: var(--font-heading); font-size: 18px; font-weight: 700; color: var(--dark); }
.qa-desc { font-size: 15px; color: var(--text-muted); line-height: 1.65; }
.qa-sublink { font-size: 14px; color: #aaa; }
.qa-sublink:hover { color: var(--teal); }

/* PASOS PARA AGENDAR */
.steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin-top: 8px; }
.step-card { background: #fff; border: 0.5px solid var(--border); border-radius: 14px; padding: 24px 20px; display: flex; flex-direction: column; gap: 12px; position: relative; }
.step-num { width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 16px; font-weight: 700; flex-shrink: 0; }
.sn-1 { background: var(--teal-l); color: var(--teal-d); }
.sn-2 { background: var(--rosa-l); color: var(--rosa-d); }
.sn-3 { background: var(--gold-l); color: var(--gold-d); }
.step-title { font-size: 16px; font-weight: 700; color: var(--dark); }
.step-desc { font-size: 15px; color: var(--text-muted); line-height: 1.65; }
.step-action { margin-top: auto; }

/* EQUIPO */
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 18px; }
.prof-card { background: #fff; border: 0.5px solid var(--border); border-radius: 16px; overflow: hidden; cursor: pointer; transition: box-shadow 0.2s; }
.prof-card:hover { box-shadow: 0 4px 20px rgba(0,0,0,0.08); }
.prof-card.ct { border-top: 3px solid var(--teal); }
.prof-card.cr { border-top: 3px solid var(--rosa); }
.prof-main { padding: 20px; display: flex; gap: 16px; align-items: flex-start; }
.prof-photo { width: 70px; height: 70px; border-radius: 50%; object-fit: cover; flex-shrink: 0; border: 2px solid var(--border); }
.prof-initials { width: 70px; height: 70px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 20px; font-weight: 700; flex-shrink: 0; }
.av-t { background: var(--teal-l); color: var(--teal-d); }
.av-r { background: var(--rosa-l); color: var(--rosa-d); }
.prof-name { font-size: 17px; font-weight: 700; color: var(--dark); }
.prof-role { font-size: 14px; margin-top: 3px; font-weight: 600; }
.rt { color: var(--teal); } .rr { color: var(--rosa); }
.prof-ofic { font-size: 14px; color: #888; margin-top: 4px; }
.prof-hint { font-size: 14px; color: #aaa; margin-top: 10px; }
.prof-bio { display: none; padding: 0 20px 20px; border-top: 0.5px solid #f0f0f0; }
.prof-bio.open { display: block; }
.prof-bio p { font-size: 15px; color: var(--text-muted); line-height: 1.8; margin-top: 14px; }
.tag { display: inline-block; margin-top: 14px; padding: 9px 18px; border-radius: 8px; font-size: 15px; font-weight: 600; cursor: pointer; transition: opacity 0.2s; }
.tag:hover { opacity: 0.8; }
.tag-t { background: var(--teal-l); color: var(--teal-d); }
.tag-r { background: var(--rosa-l); color: var(--rosa-d); }

/* TARJETA MINI (home) */
.prof-card-mini { background: #fff; border: 0.5px solid var(--border); border-radius: 14px; padding: 20px; display: flex; gap: 16px; align-items: center; text-decoration: none; transition: box-shadow 0.2s; }
.prof-card-mini:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.08); }
.prof-card-mini.ct { border-top: 3px solid var(--teal); }
.prof-card-mini.cr { border-top: 3px solid var(--rosa); }
.prof-card-mini .prof-photo { width: 60px; height: 60px; }
.prof-card-mini .prof-initials { width: 60px; height: 60px; font-size: 17px; }
.prof-card-mini-link { font-size: 14px; color: var(--teal); font-weight: 600; margin-top: 6px; }

/* ÁREAS */
.areas-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.area-card { background: #fff; border: 0.5px solid var(--border); border-radius: 12px; padding: 20px; border-left: 3px solid var(--teal); }
.area-card.ar { border-left-color: var(--rosa); }
.area-name { font-size: 17px; font-weight: 700; color: var(--dark); margin-bottom: 8px; }
.area-desc { font-size: 15px; color: var(--text-muted); line-height: 1.65; }

/* EVALUACIÓN */
.eval-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 36px; }
.eval-col-title { font-family: var(--font-heading); font-size: 18px; font-weight: 700; margin-bottom: 22px; padding-bottom: 10px; border-bottom: 2px solid; }
.eval-col-title.t { color: var(--teal-d); border-color: var(--teal); }
.eval-col-title.r { color: var(--rosa-d); border-color: var(--rosa); }
.eval-timeline { display: flex; flex-direction: column; }
.eval-step { display: flex; gap: 14px; padding-bottom: 20px; }
.eval-step:last-of-type { padding-bottom: 0; }
.eval-left { display: flex; flex-direction: column; align-items: center; }
.eval-num { width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 700; flex-shrink: 0; }
.en-t { background: var(--teal-l); color: var(--teal-d); }
.en-r1 { background: var(--rosa-l); color: var(--rosa-d); }
.en-r2 { background: var(--teal-l); color: var(--teal-d); }
.en-r3 { background: var(--gold-l); color: var(--gold-d); }
.eval-line { width: 1px; background: #e0e0e0; flex: 1; margin-top: 6px; }
.eval-step:last-of-type .eval-line { display: none; }
.eval-body { padding-top: 4px; flex: 1; }
.etitle { font-size: 16px; font-weight: 700; color: var(--dark); margin-bottom: 6px; }
.edesc { font-size: 15px; color: var(--text-muted); line-height: 1.7; }
.exam-list { margin: 8px 0 0 18px; font-size: 15px; color: var(--text-muted); line-height: 1.9; }
.eval-nota { background: var(--gold-l); border-radius: 10px; border-left: 3px solid var(--gold); padding: 14px 16px; margin-top: 20px; }
.eval-nota-t { font-size: 15px; font-weight: 700; color: var(--gold-d); margin-bottom: 6px; }
.eval-nota-d { font-size: 14px; color: #555; line-height: 1.7; }
.reserva-box { margin-top: 20px; padding: 16px; background: #fff; border: 0.5px solid var(--border); border-radius: 10px; display: flex; flex-direction: column; gap: 6px; }
.reserva-title { font-size: 15px; font-weight: 700; color: var(--dark); margin-bottom: 6px; }
.btn-reserva { display: block; padding: 11px 16px; border-radius: 8px; font-size: 15px; font-weight: 600; text-align: center; transition: opacity 0.2s; }
.btn-reserva:hover { opacity: 0.85; }
.btn-reserva-t { background: var(--teal-l); color: var(--teal-d); }
.btn-reserva-r { background: var(--rosa-l); color: var(--rosa-d); }
.reserva-nota { font-size: 13px; color: #888; margin-top: 4px; line-height: 1.5; }

/* CONSULTAS */
.consultas-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.consulta-placeholder { border-radius: 12px; overflow: hidden; border: 0.5px solid var(--border); }
.consulta-ph-inner { background: var(--teal-l); height: 180px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; font-size: 14px; color: var(--teal-d); border-bottom: 0.5px dashed var(--teal); }
.consulta-ph-icon { font-size: 32px; }
.consulta-label { padding: 12px 16px; font-size: 15px; font-weight: 600; color: var(--dark); background: #fff; }

/* UBICACIÓN */
.ubic-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.ubic-card { background: #fff; border: 0.5px solid var(--border); border-radius: 12px; padding: 22px; }
.ubic-title { font-size: 16px; font-weight: 700; color: var(--dark); margin-bottom: 16px; }
.ubic-row { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 14px; }
.ubic-icon { width: 30px; height: 30px; border-radius: 7px; display: flex; align-items: center; justify-content: center; font-size: 15px; flex-shrink: 0; }
.ui-t { background: var(--teal-l); } .ui-r { background: var(--rosa-l); }
.ubic-text { font-size: 15px; color: var(--text-muted); line-height: 1.65; }
.ubic-text a { color: var(--teal); text-decoration: underline; }
.map-container { border-radius: 12px; overflow: hidden; min-height: 220px; border: 0.5px solid var(--border); }
.map-container iframe { display: block; }

/* TELECONSULTA */
.tele-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.tele-card { background: #fff; border: 0.5px solid var(--border); border-radius: 10px; padding: 16px; }
.tele-num { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 50%; font-size: 12px; font-weight: 700; margin-bottom: 8px; }
.tn-t { background: var(--teal-l); color: var(--teal-d); }
.tn-r { background: var(--rosa-l); color: var(--rosa-d); }
.tele-text { font-size: 15px; color: var(--text-muted); line-height: 1.65; }
.tele-text strong { color: var(--dark); }

/* RED DERIVACIÓN */
.red-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(175px, 1fr)); gap: 10px; }
.red-tag { background: #fff; border: 0.5px solid var(--border); border-radius: 8px; padding: 12px 15px; font-size: 15px; color: var(--dark); display: flex; align-items: center; gap: 10px; font-weight: 500; }
.red-dot { width: 9px; height: 9px; border-radius: 50%; flex-shrink: 0; }

/* CUESTIONARIOS */
.cuest-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.cuest-card { background: #fff; border: 0.5px solid var(--border); border-radius: 12px; padding: 20px; display: flex; flex-direction: column; }
.cuest-label { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.6px; margin-bottom: 6px; }
.cl-t { color: var(--teal-d); } .cl-r { color: var(--rosa-d); }
.cuest-name { font-size: 17px; font-weight: 700; color: var(--dark); margin-bottom: 8px; }
.cuest-desc { font-size: 15px; color: var(--text-muted); line-height: 1.65; flex: 1; }
.cbtn { display: inline-block; margin-top: 16px; padding: 10px 18px; border-radius: 8px; font-size: 15px; font-weight: 700; align-self: flex-start; transition: opacity 0.2s; }
.cbtn:hover { opacity: 0.8; }
.cb-t { background: var(--teal-l); color: var(--teal-d); }
.cb-r { background: var(--rosa-l); color: var(--rosa-d); }

/* BREADCRUMB */
.breadcrumb { font-size: 14px; color: var(--teal); margin-bottom: 12px; }
.breadcrumb a { color: var(--teal); font-weight: 600; }
.breadcrumb a:hover { text-decoration: underline; }

/* ATENCIÓN CONJUNTA */
.conj-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.conj-card { background: #fff; border: 0.5px solid var(--border); border-radius: 14px; padding: 22px; display: flex; flex-direction: column; gap: 14px; border-top: 3px solid var(--gold); }
.conj-title { font-family: var(--font-heading); font-size: 17px; font-weight: 700; color: var(--dark); }
.conj-body { font-size: 15px; color: var(--text-muted); line-height: 1.7; flex: 1; }
.conj-body p { margin: 0; }
.conj-badges { display: flex; gap: 8px; flex-wrap: wrap; margin-top: auto; }
.conj-badge { font-size: 13px; font-weight: 700; padding: 5px 12px; border-radius: 20px; }
.cb-t { background: var(--teal-l); color: var(--teal-d); }
.cb-r { background: var(--rosa-l); color: var(--rosa-d); }

/* GUÍA CALLOUT */
.guia-callout { background: var(--gold-l); border: 1.5px solid var(--gold); border-radius: 14px; padding: 24px 28px; display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.guia-callout-title { font-family: var(--font-heading); font-size: 17px; font-weight: 700; color: var(--dark); margin-bottom: 6px; }
.guia-callout-desc { font-size: 15px; color: var(--text-muted); line-height: 1.65; }

/* JUMP BAR */
.jumpbar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 36px; padding: 14px 18px; background: var(--gray-bg); border-radius: 10px; }
.jumpbar-label { font-size: 14px; color: #888; font-weight: 600; }
.jumpbar-btn { padding: 8px 18px; border-radius: 8px; font-size: 15px; font-weight: 600; transition: opacity 0.2s; }
.jumpbar-btn:hover { opacity: 0.8; }
.jb-t { background: var(--teal-l); color: var(--teal-d); }
.jb-r { background: var(--rosa-l); color: var(--rosa-d); }

/* DIAGNÓSTICOS */
.dg-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.dg-card { background: #fff; border: 0.5px solid var(--border); border-radius: 14px; padding: 22px; display: flex; flex-direction: column; gap: 12px; }
.dg-t { border-top: 3px solid var(--teal); }
.dg-r { border-top: 3px solid var(--rosa); }
.dg-both { border-top: 3px solid var(--gold); background: var(--gold-l); }
.dg-header { display: flex; align-items: center; gap: 10px; }
.dg-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.dg-label { font-size: 15px; font-weight: 700; }
.dg-list { list-style: none; display: flex; flex-direction: column; gap: 7px; margin: 0; }
.dg-list li { font-size: 15px; color: var(--text-muted); padding-left: 14px; position: relative; }
.dg-list li::before { content: "·"; position: absolute; left: 0; color: #bbb; }
.dg-note { font-size: 14px; color: #666; line-height: 1.6; }
.dg-link { font-size: 14px; font-weight: 700; margin-top: auto; }
.dg-link:hover { text-decoration: underline; }

/* FAQ */
.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq-item { border: 0.5px solid var(--border); border-radius: 10px; padding: 16px 20px; background: #fff; cursor: pointer; }
.faq-q { font-size: 16px; font-weight: 600; color: var(--dark); display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.faq-toggle { color: var(--teal); font-size: 24px; font-weight: 400; flex-shrink: 0; transition: transform 0.2s; display: inline-block; line-height: 1; }
.faq-a { font-size: 15px; color: var(--text-muted); line-height: 1.75; margin-top: 12px; display: none; }
.faq-item.open .faq-a { display: block; }
.faq-item.open .faq-toggle { transform: rotate(45deg); }

/* PIE */
.pie-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 36px; }
.pie-info { display: flex; flex-direction: column; gap: 16px; }
.pie-item { display: flex; gap: 14px; align-items: flex-start; }
.pie-icon { width: 40px; height: 40px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 20px; flex-shrink: 0; }
.pie-item-title { font-size: 16px; font-weight: 700; color: var(--dark); margin-bottom: 3px; }
.pie-item-desc { font-size: 15px; color: var(--text-muted); line-height: 1.65; }
.pie-contact { background: #fff; border: 0.5px solid var(--border); border-radius: 14px; padding: 28px; display: flex; flex-direction: column; }
.pie-contact-title { font-size: 18px; font-weight: 700; color: var(--dark); margin-bottom: 12px; }
.pie-contact p { font-size: 16px; color: var(--text-muted); line-height: 1.75; }

/* CTA BAR */
.cta-bar { background: #1A3A3C; padding: 32px 36px; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.cta-bar h3 { font-family: var(--font-heading); font-size: 20px; font-weight: 700; color: #ffffff; margin-bottom: 4px; }
.cta-bar p { font-size: 14px; color: #7fc8cc; }
.cta-actions { display: flex; gap: 12px; flex-shrink: 0; flex-wrap: wrap; }
.cbtn-wa { background: #2AADB5; color: #ffffff; padding: 13px 22px; border-radius: 9px; font-size: 15px; font-weight: 700; border: 2px solid #2AADB5; display: inline-block; transition: background 0.2s; }
.cbtn-wa:hover { background: #1a7a80; color: #fff; border-color: #1a7a80; }
.cbtn-mail { background: #ffffff; color: #1A3A3C; padding: 13px 22px; border-radius: 9px; font-size: 15px; font-weight: 700; border: 2px solid #ffffff; display: inline-block; transition: background 0.2s; }
.cbtn-mail:hover { background: #e8f8f8; color: #1A3A3C; }

/* BOTÓN FLOTANTE WHATSAPP */
.wa-float {
  position: fixed; bottom: 22px; right: 22px; z-index: 90;
  width: 54px; height: 54px; border-radius: 50%;
  background: #25D366; color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 28px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.22);
  transition: transform 0.15s, box-shadow 0.15s;
}
.wa-float:hover { transform: scale(1.07); box-shadow: 0 6px 18px rgba(0,0,0,0.28); color: #fff; }

/* FOOTER */
.footer { background: #111f20; padding: 22px 36px; text-align: center; font-size: 14px; color: #6a9a9c; }

/* RESPONSIVE */
@media (max-width: 768px) {
  .navbar { padding: 12px 20px; }
  .nav-links { display: none; width: 100%; flex-direction: column; gap: 0; order: 3; }
  .nav-links.open { display: flex; }
  .nav-links li { border-top: 0.5px solid #f0f0f0; }
  .nav-links a { display: block; padding: 14px 4px; font-size: 16px; }
  .nav-hamburger { display: flex; order: 3; }
  .nav-ctas { order: 2; flex-direction: row; align-items: center; gap: 6px; }
  .nav-ctas-label { display: none; }
  .nav-ctas-btns { gap: 6px; }
  .nav-cta, .nav-cta-outline { padding: 7px 11px; font-size: 13px; }
  .hero { padding: 36px 20px 32px; flex-direction: column; }
  .hero-pills { flex-direction: row; flex-wrap: wrap; }
  .pill { flex: 1; min-width: 140px; }
  .page-hero { padding: 32px 20px 28px; }
  .container { padding: 0 20px; }
  .section { padding: 40px 0; }
  .eval-grid { gap: 32px; }
  .cta-bar { padding: 24px 20px; flex-direction: column; align-items: flex-start; }
  .cta-actions { width: 100%; }
  .cbtn-wa, .cbtn-mail { flex: 1; text-align: center; }
  .footer { padding: 18px 20px; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 21px; }
  .hero-actions { flex-direction: column; }
  .btn-primary, .btn-secondary { text-align: center; }
  .hero-pills { flex-direction: column; }
  .steps-grid { grid-template-columns: 1fr; }
}

/* ===========================
   MEJORAS v2.1
   =========================== */

/* AGENDAR SPLIT — dos columnas neuro/psiq */
.agendar-split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
}
.agendar-col {
  background: #fff;
  border: 0.5px solid var(--border);
  border-radius: 16px;
  padding: 26px 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.agendar-col-t { border-top: 3px solid var(--teal); }
.agendar-col-r { border-top: 3px solid var(--rosa); }
.agendar-col-header { display: flex; align-items: center; gap: 10px; }
.agendar-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.agendar-col-title { font-family: var(--font-heading); font-size: 17px; font-weight: 700; color: var(--dark); }
.agendar-col-desc { font-size: 15px; color: var(--text-muted); line-height: 1.65; }
.agendar-steps-mini { display: flex; flex-direction: column; gap: 10px; }
.asm { display: flex; align-items: flex-start; gap: 10px; }
.asm-num { width: 26px; height: 26px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; flex-shrink: 0; }
.asm-text { font-size: 15px; color: var(--text-muted); line-height: 1.5; padding-top: 3px; }

/* ESPERA BADGE */
.espera-badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 600; padding: 5px 12px;
  border-radius: 20px;
}
.espera-t { background: var(--teal-l); color: var(--teal-d); }
.espera-r { background: var(--rosa-l); color: var(--rosa-d); }

/* ÁREA TAGS */
.area-tags-list { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 10px; }
.area-tag {
  font-size: 13px; padding: 4px 10px; border-radius: 20px;
  font-weight: 500;
}
.area-tag.at { background: var(--teal-l); color: var(--teal-d); }
.area-tag.ar { background: var(--rosa-l); color: var(--rosa-d); }

/* PACIENTES — centro de control */
.pacientes-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; }
.paciente-card {
  background: #fff; border: 0.5px solid var(--border); border-radius: 14px;
  padding: 22px; display: flex; flex-direction: column; gap: 12px;
}
.paciente-card-icon { font-size: 28px; line-height: 1; }
.paciente-card-title { font-size: 17px; font-weight: 700; color: var(--dark); }
.paciente-card-desc { font-size: 14px; color: var(--text-muted); line-height: 1.65; flex: 1; }
.paciente-card-plazo { font-size: 13px; color: #888; }

/* FOOTER COMPLETO */
.footer-full { background: #111f20; padding: 48px 36px 24px; text-align: left; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 36px; max-width: 1020px; margin: 0 auto 32px; }
.footer-brand { font-family: var(--font-heading); font-size: 17px; font-weight: 700; color: #fff; margin-bottom: 4px; }
.footer-brand-sub { font-size: 13px; color: #7fc8cc; margin-bottom: 16px; }
.footer-contact-list { display: flex; flex-direction: column; gap: 8px; }
.footer-contact-item { font-size: 14px; color: #a0c8cc; display: flex; align-items: center; gap: 7px; text-decoration: none; }
.footer-contact-item:hover { color: #fff; }
.footer-col-title { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: #7fc8cc; margin-bottom: 12px; }
.footer-link { display: block; font-size: 14px; color: #a0c8cc; padding: 3px 0; text-decoration: none; transition: color 0.18s; }
.footer-link:hover { color: #fff; }
.footer-copy { font-size: 13px; color: #4a7a7c; text-align: center; border-top: 0.5px solid #1f3f42; padding-top: 20px; max-width: 1020px; margin: 0 auto; }

@media (max-width: 768px) {
  .footer-full { padding: 36px 20px 20px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .footer-grid .footer-col:first-child { grid-column: 1 / -1; }
  .agendar-split { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ===========================
   LLEGADA + HORARIOS
   =========================== */

/* Fotos consultas */
.consultas-fotos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}

/* Llegada por especialidad */
.llegada-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
  margin-top: 8px;
}
.llegada-card {
  background: #fff;
  border: 0.5px solid var(--border);
  border-radius: 14px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.llegada-t { border-top: 3px solid var(--teal); }
.llegada-r { border-top: 3px solid var(--rosa); }
.llegada-header { display: flex; align-items: center; gap: 14px; }
.llegada-icono {
  width: 40px; height: 40px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; flex-shrink: 0;
}
.llegada-title { font-size: 16px; font-weight: 700; color: var(--dark); }
.llegada-subtitle { font-size: 14px; color: #888; margin-top: 2px; }
.llegada-steps {
  margin: 0 0 0 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.llegada-steps li {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.5;
  padding-left: 4px;
}
.llegada-sec-nota {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  background: var(--gold-l);
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 13px;
  color: var(--gold-d);
  line-height: 1.6;
  margin-top: auto;
}

/* Horarios */
.horarios-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 14px;
  margin-top: 8px;
}
.horario-card {
  background: #fff;
  border: 0.5px solid var(--border);
  border-radius: 12px;
  padding: 18px 20px;
}
.horario-card-t { border-top: 3px solid var(--teal); }
.horario-card-r { border-top: 3px solid var(--rosa); }
.horario-card-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 14px;
  line-height: 1.4;
}
.horario-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.hor-dia {
  color: var(--dark);
  font-weight: 600;
  padding: 5px 12px 5px 0;
  vertical-align: top;
  white-space: nowrap;
}
.hor-hora {
  color: var(--text-muted);
  padding: 5px 12px 5px 0;
  vertical-align: top;
  white-space: nowrap;
}
.hor-nota {
  color: #aaa;
  font-size: 13px;
  padding: 5px 0;
  vertical-align: top;
}
.hor-sep td { padding-top: 10px; border-top: 0.5px solid var(--border); }
.hor-footnote {
  font-size: 13px;
  color: #888;
  line-height: 1.6;
  padding-top: 10px !important;
}

@media (max-width: 600px) {
  .hor-nota { display: none; }
  .hor-dia { font-size: 13px; }
  .hor-hora { font-size: 13px; }
}
