/* ============================================
   ARMONÍA NEURODIVERSA — styles.css
   CSS limpio consolidado
   Paleta: sage green #8AAF85 · teal #3D6B6B · crema #F4F7F1
   ============================================ */

:root {
  --brand: #3D6B6B;
  --brand-dark: #2A4A4A;
  --brand-light: #8AAF85;
  --cta: #3D6B6B;
  --cta-hover: #2A4A4A;

  --text: #243131;
  --muted: #4F6260;

  --bg: #FFFFFF;
  --soft: #F4F7F1;
  --soft-2: #EAF3E8;
  --border: #CFE0D4;
  --white: #FFFFFF;

  --radius: 20px;
  --radius-lg: 28px;
  --radius-sm: 12px;

  --shadow-soft: 0 8px 24px rgba(42,74,74,.07);
  --shadow: 0 16px 40px rgba(42,74,74,.11);
  --shadow-strong: 0 24px 60px rgba(42,74,74,.16);

  --font-display: 'Lora', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
}

/* ---- RESET ---- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  display: block;
}

a { color: inherit; }

p { margin-top: 0; }

/* ---- CONTAINER ---- */
.container {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}

.narrow {
  width: min(820px, calc(100% - 40px));
  margin-inline: auto;
}

/* ---- TYPOGRAPHY ---- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--brand-dark);
  line-height: 1.1;
  letter-spacing: -.02em;
  margin-top: 0;
}

h1 {
  font-size: clamp(34px, 5vw, 58px);
  margin-bottom: 20px;
}

h2 {
  font-size: clamp(26px, 3.4vw, 42px);
  margin-bottom: 14px;
}

h3 {
  font-family: var(--font-body);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0;
}

h4 {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}

p { color: var(--muted); }

.lead {
  font-size: 18px;
  max-width: 68ch;
  color: var(--muted);
}

.eyebrow {
  display: block;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--brand-light);
  margin-bottom: 10px;
}

.microcopy {
  font-size: 13px;
  color: var(--brand-light);
  margin-top: 14px;
}

/* ---- SECTIONS ---- */
.section { padding: 72px 0; }

.soft-section,
.hero {
  background: var(--soft);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 36px;
}

.section-heading p { font-size: 17px; }

.center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.subsection-title {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  color: var(--brand);
  margin: 36px 0 14px;
  letter-spacing: 0;
}

/* ---- HEADER ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  height: 96px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  text-decoration: none;
  color: var(--brand-dark);
  font-weight: 700;
  white-space: nowrap;
  font-size: 21px;
  line-height: 1;
  letter-spacing: -.02em;
}

.brand-logo {
  width: 88px;
  height: 88px;
  max-width: none;
  object-fit: contain;
  flex-shrink: 0;
  display: block;
  margin-right: -10px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 20px;
}

.main-nav a {
  text-decoration: none;
  color: var(--brand-dark);
  font-size: 14px;
  font-weight: 500;
  transition: color .15s;
}

.main-nav a:hover { color: var(--brand-light); }

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 42px;
  padding: 10px 20px;
  border-radius: 999px;
  background: #25D366;
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  transition: background .15s;
}

.header-cta:hover { background: #1da851; }

.mobile-menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--brand-dark);
  font-size: 20px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-soft);
}

.mobile-menu-toggle:hover { background: var(--soft-2); }

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 48px;
  padding: 12px 24px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all .18s ease;
  white-space: nowrap;
}

.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
  box-shadow: 0 8px 20px rgba(61,107,107,.22);
}

.btn-primary:hover {
  background: var(--brand-dark);
  border-color: var(--brand-dark);
}

.btn-secondary {
  background: transparent;
  color: var(--brand);
  border-color: var(--brand);
}

.btn-secondary:hover { background: var(--soft); }

.btn-wa {
  background: #25D366 !important;
  border-color: #25D366 !important;
  box-shadow: 0 8px 20px rgba(37,211,102,.22) !important;
}

.btn-wa:hover {
  background: #1da851 !important;
  border-color: #1da851 !important;
}

.actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
}

/* ---- HERO ---- */
.hero { padding: 80px 0 72px; }

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.hero-copy h1 { max-width: 16ch; }

.hero-lead {
  font-size: 18px;
  max-width: 54ch;
}

.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 20px 0 4px;
}

.hero-pills span {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(138,175,133,.22);
  color: var(--brand);
  font-size: 12px;
  font-weight: 600;
  border: 1px solid rgba(61,107,107,.16);
}

.hero-media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-strong);
}

.hero-media img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  display: block;
}

/* ---- PROBLEM CARDS ---- */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 24px;
}

.problem-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 22px;
  box-shadow: var(--shadow-soft);
}

.problem-icon {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(138,175,133,.15);
  font-size: 22px;
  margin-bottom: 14px;
}

.anchor-message {
  padding: 22px 26px;
  border-radius: var(--radius);
  background: rgba(138,175,133,.12);
  border-left: 4px solid var(--brand-light);
  font-size: 17px;
  color: var(--brand-dark);
  line-height: 1.6;
  margin-top: 8px;
}

.anchor-message strong {
  display: block;
  color: var(--brand);
  margin-bottom: 6px;
}

/* ---- DIFERENCIADOR ---- */
.diff-box {
  background: var(--white);
  border: 1.5px solid var(--brand-light);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-soft);
}

.diff-box-header { margin-bottom: 22px; }

.diff-box-header h3 {
  font-size: 20px;
  color: var(--brand);
  margin-bottom: 8px;
}

.diff-box-header p {
  font-size: 16px;
  margin-bottom: 0;
}

.diff-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.diff-col {
  border-radius: var(--radius-sm);
  padding: 18px 20px;
}

.diff-bad {
  background: rgba(200,70,60,.05);
  border: 1px solid rgba(200,70,60,.15);
}

.diff-good {
  background: rgba(138,175,133,.12);
  border: 1px solid rgba(61,107,107,.2);
}

.diff-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.diff-bad .diff-label { color: #b84a3a; }

.diff-good .diff-label { color: var(--brand); }

.diff-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.diff-col ul li {
  font-size: 14px;
  color: var(--muted);
  padding: 5px 0 5px 22px;
  position: relative;
}

.diff-bad ul li::before {
  content: "✗";
  position: absolute;
  left: 0;
  color: #b84a3a;
  font-weight: 700;
}

.diff-good ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--brand-light);
  font-weight: 700;
}

/* ---- TESTIMONIOS ---- */
.testimonials-section { overflow: hidden; }

.testimonial-carousel {
  position: relative;
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) 46px;
  align-items: center;
  gap: 18px;
  margin-bottom: 22px;
  width: 100%;
  max-width: 100%;
}

.testimonial-viewport {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  position: relative;
  padding: 8px 4px 18px;
}

.testimonial-track {
  display: flex;
  gap: 20px;
  align-items: stretch;
  transition: transform .35s ease;
  will-change: transform;
}

.testimonial-card {
  flex: 0 0 calc((100% - 40px) / 3);
  max-width: calc((100% - 40px) / 3);
  min-width: 0;
  min-height: 300px;
  height: auto;
  max-height: none;
  overflow: visible;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-soft);
}

.testimonial-card p {
  font-size: 15px;
  line-height: 1.55;
  margin-bottom: 14px;
}

.testi-tag {
  display: inline-block;
  background: rgba(138,175,133,.22);
  color: var(--brand);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
  border: 1px solid rgba(61,107,107,.16);
}

.testi-who {
  display: block;
  font-size: 12px;
  color: var(--brand-light);
  font-weight: 600;
  margin-top: auto;
  padding-top: 12px;
}

.stars {
  color: #C49A35;
  letter-spacing: 2px;
  font-size: 16px;
  margin-bottom: 10px;
}

.carousel-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--brand);
  display: grid;
  place-items: center;
  cursor: pointer;
  flex-shrink: 0;
  box-shadow: var(--shadow-soft);
  transition: all .18s;
  z-index: 3;
}

.carousel-arrow:hover {
  background: var(--brand);
  color: var(--white);
  border-color: var(--brand);
}

/* ---- DOCTORALIA ---- */
.doctoralia-box {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding: 18px 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(138,175,133,.08);
  margin-bottom: 28px;
}

.doctoralia-rating {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 20px;
  color: var(--brand);
  font-weight: 700;
}

.doctoralia-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.doctoralia-tags span {
  display: inline-flex;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--white);
  color: var(--brand);
  font-size: 12px;
  font-weight: 600;
  border: 1px solid var(--border);
}

.doctoralia-link {
  margin-left: auto;
  color: var(--brand);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.doctoralia-link:hover { text-decoration: underline; }

/* ---- REVIEW FORM / FORMS ---- */
.review-dropdown {
  margin-top: 28px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.review-dropdown summary {
  cursor: pointer;
  padding: 20px 24px;
  color: var(--brand-dark);
  font-weight: 700;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.review-dropdown summary::-webkit-details-marker { display: none; }

.review-dropdown summary::after {
  content: "+";
  color: var(--brand);
  font-size: 22px;
  font-weight: 400;
}

.review-dropdown[open] summary::after { content: "−"; }

.review-form {
  background: var(--soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
}

.review-dropdown .review-form {
  border: none;
  border-top: 1px solid var(--border);
  border-radius: 0;
  background: var(--soft);
}

.review-form h3 {
  font-size: 16px;
  margin-bottom: 16px;
  color: var(--brand-dark);
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}

.form-row label {
  font-weight: 600;
  color: var(--brand-dark);
  font-size: 14px;
}

.form-row input,
.form-row select,
.form-row textarea,
.form-input,
.form-textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text);
  background: var(--white);
  margin-bottom: 0;
  transition: border-color .15s;
  box-sizing: border-box;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus,
.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--brand-light);
}

.form-textarea,
.form-row textarea {
  resize: vertical;
  min-height: 90px;
}

.check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--muted);
  font-size: 13px;
  margin: 12px 0;
  cursor: pointer;
}

.check input {
  margin-top: 3px;
  flex-shrink: 0;
}

.check a { color: var(--brand); }

.form-success {
  display: none;
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(138,175,133,.18);
  color: var(--brand-dark);
  font-weight: 700;
  font-size: 14px;
}

.form-success.is-visible { display: block; }

.form-success.is-error {
  background: rgba(200,70,60,.12);
  color: #9a342a;
}

/* ---- SERVICIOS ---- */
.service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
}

.service-card.featured {
  border: 2px solid var(--brand-light);
  box-shadow: var(--shadow);
}

.service-card h3 { margin-bottom: 10px; }

.service-card p { flex-grow: 1; }

.service-card .btn {
  align-self: flex-start;
  margin-top: 16px;
}

.tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--brand);
  background: rgba(138,175,133,.22);
  border: 1px solid rgba(61,107,107,.16);
  border-radius: 999px;
  padding: 4px 12px;
  margin-bottom: 10px;
}

.price {
  font-family: var(--font-display);
  color: var(--brand);
  font-size: 34px;
  font-weight: 600;
  line-height: 1;
  margin: 12px 0 6px;
}

.price-note {
  font-size: 13px;
  color: var(--brand);
  font-weight: 600;
  font-style: italic;
}

/* ---- GUÍAS ---- */
.guide-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 8px;
}

.guide-grid-premium {
  grid-template-columns: repeat(2, 1fr);
}

.guide-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
}

.guide-card.premium { border: 1.5px solid var(--brand-light); }

.guide-card h3 {
  font-size: 16px;
  margin-bottom: 6px;
}

.guide-card p {
  font-size: 14px;
  flex-grow: 1;
}

.guide-card .btn {
  align-self: flex-start;
  margin-top: 14px;
}

.guide-promise {
  font-size: 13px;
  color: var(--brand);
  font-style: italic;
  font-weight: 500;
  margin-bottom: 8px;
}

/* ---- SOBRE MÍ ---- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr .8fr;
  gap: 52px;
  align-items: center;
}

.about-intro {
  font-size: 18px;
  color: var(--brand);
  font-weight: 600;
  margin-bottom: 16px;
}

.experience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 24px 0;
}

.mini-card {
  background: var(--soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px;
}

.mini-card strong {
  display: block;
  color: var(--brand);
  font-size: 17px;
  margin-bottom: 4px;
}

.mini-card span {
  font-size: 13px;
  color: var(--muted);
}

.about-photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  background: transparent;
  min-height: 560px;
}

.about-photo img {
  width: 100%;
  height: 100%;
  min-height: 560px;
  object-fit: cover;
  object-position: center top;
  display: block;
}

/* ---- FAQ ---- */
.faq-list {
  display: grid;
  gap: 10px;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.faq-item summary {
  cursor: pointer;
  padding: 18px 22px;
  color: var(--brand-dark);
  font-weight: 600;
  font-size: 15px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "+";
  color: var(--brand-light);
  font-size: 20px;
  font-weight: 400;
}

.faq-item[open] summary::after { content: "−"; }

.faq-item p {
  padding: 0 22px 18px;
  margin: 0;
}

/* ---- CTA FINAL / CONTACTO ---- */
.cta-final-section {
  background: linear-gradient(135deg, #315B5B 0%, #3D6B6B 48%, #6F9C83 100%);
}

.cta-final-section h2 { color: var(--white); }

.cta-final-section p { color: rgba(255,255,255,.8); }

.cta-final-section .microcopy { color: rgba(255,255,255,.62); }

.cta-final-section .btn-secondary {
  color: #FFFFFF;
  border-color: rgba(255,255,255,.78);
  background: rgba(255,255,255,.10);
  opacity: 1;
}

.cta-final-section .btn-secondary:hover {
  background: rgba(255,255,255,.20);
  color: #FFFFFF;
}

#contacto form,
#contacto .contact-dropdown {
  display: none !important;
}

#contacto .actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

/* ---- FOOTER ---- */
.site-footer {
  background: linear-gradient(135deg, #3D6B6B 0%, #5F8F7E 55%, #8AAF85 100%);
  color: var(--white);
  padding: 60px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr .8fr .8fr .8fr;
  gap: 36px;
  align-items: start;
  padding-bottom: 40px;
}

.footer-grid h4 {
  color: rgba(255,255,255,.68);
  margin-bottom: 14px;
}

.footer-grid a {
  display: block;
  color: rgba(255,255,255,.78);
  text-decoration: none;
  font-size: 14px;
  margin-bottom: 8px;
  transition: color .15s;
}

.footer-grid a:hover { color: var(--white); }

.footer-grid p {
  color: rgba(255,255,255,.78);
  font-size: 14px;
  line-height: 1.6;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  margin-bottom: 14px;
}

.footer-logo img {
  width: 92px;
  height: 92px;
  max-width: none;
  object-fit: contain;
  display: block;
  margin-right: -10px;
}

.footer-logo span {
  font-size: 21px;
  line-height: 1;
  font-weight: 700;
  color: #fff;
}

.social-icons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.social-icons a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,.1);
  color: rgba(255,255,255,.8);
  font-size: 16px;
  transition: all .18s;
  text-decoration: none;
  margin-bottom: 0;
}

.social-icons a:hover {
  background: var(--brand-light);
  color: var(--white);
  transform: translateY(-2px);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}

.footer-bottom p {
  color: rgba(255,255,255,.78);
  font-size: 13px;
  margin: 0;
}

.footer-legal {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-legal a {
  color: rgba(255,255,255,.78);
  font-size: 13px;
  text-decoration: none;
  display: inline;
  margin-bottom: 0;
}

.footer-legal a:hover { color: rgba(255,255,255,.95); }

/* ---- WHATSAPP FLOTANTE ---- */
.sticky-whatsapp {
  display: none;
  position: fixed;
  z-index: 90;
  bottom: 18px;
  right: 18px;
  background: #25D366;
  color: var(--white);
  text-decoration: none;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  box-shadow: var(--shadow-strong);
  align-items: center;
  gap: 8px;
  transition: background .15s;
}

.sticky-whatsapp:hover { background: #1da851; }

/* ---- MODALES ---- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: none;
}

.modal.is-open { display: block; }

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20,40,40,.6);
  backdrop-filter: blur(4px);
}

.modal-card {
  position: relative;
  z-index: 2;
  width: min(580px, calc(100% - 32px));
  max-height: 90vh;
  overflow-y: auto;
  margin: 5vh auto;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-strong);
  padding: 32px;
}

.modal-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 16px;
}

.modal-head h3 { margin: 0; }

.modal-close {
  border: none;
  background: rgba(138,175,133,.15);
  color: var(--brand);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  cursor: pointer;
  font-weight: 700;
  font-size: 16px;
  flex-shrink: 0;
  transition: background .15s;
}

.modal-close:hover { background: rgba(138,175,133,.3); }

/* ============================================
   RESPONSIVE — TABLET
   ============================================ */
@media (max-width: 1060px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .hero-copy h1 { max-width: 100%; }

  .hero-media img { height: 380px; }

  .problem-grid { grid-template-columns: repeat(2, 1fr); }

  .guide-grid { grid-template-columns: repeat(2, 1fr); }

  .about-grid { grid-template-columns: 1fr; }

  .about-photo {
    min-height: 520px;
  }

  .about-photo img {
    height: 520px;
    min-height: 520px;
    object-fit: cover;
    object-position: center top;
  }

  .footer-grid { grid-template-columns: 1fr 1fr; }

  .experience-grid { grid-template-columns: repeat(2, 1fr); }

  .diff-cols { grid-template-columns: 1fr; }

  .header-inner {
    min-height: 88px;
    height: auto;
  }

  .brand-logo {
    width: 76px;
    height: 76px;
  }

  .testimonial-card {
    flex-basis: calc((100% - 20px) / 2);
    max-width: calc((100% - 20px) / 2);
  }
}

/* ============================================
   RESPONSIVE — MÓVIL
   ============================================ */
@media (max-width: 740px) {
  .section { padding: 52px 0; }

  .header-inner {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 12px;
    height: auto;
    min-height: 78px;
    padding: 14px 0 16px;
  }

  .brand {
    grid-column: 1 / 2;
    justify-self: start;
    font-size: 18px;
  }

  .brand-logo {
    width: 64px;
    height: 64px;
    margin-right: -8px;
  }

  .mobile-menu-toggle {
    display: inline-flex;
    grid-column: 2 / 3;
    grid-row: 1;
    justify-self: end;
  }

  .header-cta {
    grid-column: 1 / 3;
    grid-row: 2;
    justify-self: start;
    order: initial;
    min-height: 48px;
    padding: 12px 22px;
    font-size: 15px;
  }

  .main-nav {
    grid-column: 1 / 3;
    grid-row: 3;
    display: none;
    width: 100%;
    margin-top: 4px;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: var(--white);
    box-shadow: var(--shadow-soft);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .main-nav.is-open { display: flex; }

  .main-nav a {
    display: block;
    padding: 12px 14px;
    border-bottom: 1px solid var(--border);
    font-size: 15px;
    text-align: left;
  }

  .main-nav a:last-child { border-bottom: 0; }

  .hero { padding: 48px 0 44px; }

  .hero-media img { height: 260px; }

  .problem-grid,
  .service-grid,
  .guide-grid,
  .guide-grid-premium,
  .experience-grid {
    grid-template-columns: 1fr;
  }

  .actions .btn,
  .actions button {
    width: 100%;
  }

  .testimonial-carousel {
    display: block;
  }

  .testimonial-viewport {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 8px 0 18px;
    -webkit-overflow-scrolling: touch;
  }

  .testimonial-viewport::-webkit-scrollbar { display: none; }

  .testimonial-track {
    gap: 16px;
    transform: none !important;
    width: max-content;
  }

  .testimonial-card {
    flex: 0 0 82vw;
    width: 82vw;
    max-width: 82vw;
    min-height: auto;
    scroll-snap-align: center;
  }

  .carousel-arrow { display: none; }

  .doctoralia-box {
    flex-direction: column;
    align-items: flex-start;
  }

  .doctoralia-link { margin-left: 0; }

  .about-photo {
    width: 100%;
    height: 520px;
    min-height: 520px;
    max-height: none;
    overflow: hidden;
    border-radius: var(--radius-lg);
    display: block;
  }

  .about-photo img {
    width: 100%;
    height: 100%;
    min-height: 100%;
    max-height: none;
    object-fit: cover;
    object-position: center top;
    display: block;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-legal { gap: 12px; }

  .footer-logo img {
    width: 76px;
    height: 76px;
  }

  .sticky-whatsapp { display: inline-flex; }

  body { padding-bottom: 72px; }

  .modal-card { padding: 24px 18px; }

  .cta-final-section .actions {
    flex-direction: column;
  }

  .cta-final-section .actions .btn {
    width: 100%;
  }

  #contacto .actions .btn {
    width: 100%;
  }
}

/* ================================
   BANNER COOKIES — ARMONÍA
   ================================ */

.cookie-banner {
  position: fixed;
  left: 20px;
  right: 20px;
  bottom: 20px;
  z-index: 99999;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  padding: 22px;
  background: #ffffff;
  border: 1px solid #CFE0D4;
  border-radius: 22px;
  box-shadow: 0 18px 50px rgba(42,74,74,.18);
}

.cookie-banner h2,
.cookie-modal h2,
.cookie-modal h3 {
  margin: 0 0 8px;
  color: #2A4A4A;
  font-family: 'DM Sans', sans-serif;
}

.cookie-banner p,
.cookie-modal p {
  margin: 0 0 8px;
  color: #4F6260;
  font-size: 14px;
  line-height: 1.5;
}

.cookie-banner a {
  color: #3D6B6B;
  font-weight: 700;
}

.cookie-banner__actions,
.cookie-modal__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.cookie-btn {
  border: 1.5px solid #3D6B6B;
  border-radius: 999px;
  padding: 10px 18px;
  font-weight: 700;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
}

.cookie-btn--primary {
  background: #3D6B6B;
  color: #ffffff;
}

.cookie-btn--secondary {
  background: #F4F7F1;
  color: #3D6B6B;
}

.cookie-btn--ghost {
  background: transparent;
  color: #3D6B6B;
}

.cookie-modal {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: none;
  background: rgba(20,40,40,.55);
  padding: 20px;
}

.cookie-modal[aria-hidden="false"] {
  display: grid;
  place-items: center;
}

.cookie-modal__box {
  width: min(620px, 100%);
  max-height: 90vh;
  overflow-y: auto;
  background: #ffffff;
  border-radius: 24px;
  padding: 26px;
  box-shadow: 0 24px 60px rgba(42,74,74,.25);
}

.cookie-modal__header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 12px;
}

.cookie-modal__close {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 999px;
  background: #EAF3E8;
  color: #3D6B6B;
  font-size: 24px;
  cursor: pointer;
}

.cookie-category {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 16px 0;
  border-top: 1px solid #CFE0D4;
}

.cookie-category:last-of-type {
  border-bottom: 1px solid #CFE0D4;
  margin-bottom: 18px;
}

.cookie-switch input {
  display: none;
}

.cookie-switch span {
  display: block;
  width: 52px;
  height: 28px;
  background: #CFE0D4;
  border-radius: 999px;
  position: relative;
  cursor: pointer;
}

.cookie-switch span::before {
  content: "";
  position: absolute;
  width: 22px;
  height: 22px;
  left: 3px;
  top: 3px;
  background: #ffffff;
  border-radius: 50%;
  transition: .2s;
}

.cookie-switch input:checked + span {
  background: #3D6B6B;
}

.cookie-switch input:checked + span::before {
  transform: translateX(24px);
}

.cookie-switch input:disabled + span {
  opacity: .65;
  cursor: not-allowed;
}

@media (max-width: 740px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    left: 12px;
    right: 12px;
    bottom: 12px;
    padding: 18px;
  }

  .cookie-banner__actions,
  .cookie-modal__actions {
    width: 100%;
    flex-direction: column;
  }

  .cookie-btn {
    width: 100%;
  }

  .cookie-category {
    align-items: flex-start;
  }
}
