/* =========================================================
   Podología y Posturología SCR — estilos
   Paleta: piedra volcánica, verde océano y arena canaria
   ========================================================= */
:root {
  --ink: #2b2f2c;
  --ink-soft: #545b56;
  --muted: #7a807b;
  --deep: #3c5045;        /* verde salvia profundo */
  --ocean: #5e7b69;
  --ocean-soft: #e3ebe3;
  --sand: #f8f5ef;
  --sand-2: #efe9e0;
  --terracotta: #9a7a62;
  --terracotta-dark: #82654f;
  --sun: #dccbb6;
  --line: #e3ddd3;
  --white: #ffffff;
  --wa: #25d366;
  --wa-dark: #128c7e;

  --radius: 18px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(29, 36, 34, .06), 0 2px 8px rgba(29, 36, 34, .05);
  --shadow: 0 10px 30px -10px rgba(31, 58, 61, .25);
  --shadow-lg: 0 24px 60px -20px rgba(31, 58, 61, .35);

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-script: "Allura", "Brush Script MT", cursive;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--sand);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--ocean); text-decoration-thickness: 1px; text-underline-offset: 3px; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 500; line-height: 1.15; margin: 0 0 .5em; color: var(--deep); letter-spacing: -.01em; }
h1 { font-size: clamp(2.3rem, 5.2vw, 3.9rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.75rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
.ico { width: 1.15em; height: 1.15em; flex: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; background: var(--deep); color: #fff; padding: 10px 14px; border-radius: 8px; z-index: 200; }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--terracotta); outline-offset: 3px; border-radius: 6px; }

.container { width: min(1180px, 100% - 40px); margin-inline: auto; }
.container.narrow { width: min(820px, 100% - 40px); }
.eyebrow { font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--terracotta); margin-bottom: .9em; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  font: 600 1rem/1 var(--font-body); text-decoration: none; cursor: pointer;
  padding: .9em 1.4em; border-radius: 999px; border: 1.5px solid transparent;
  transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease, color .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-sm { padding: .65em 1.1em; font-size: .92rem; }
.btn-lg { padding: 1.05em 1.7em; font-size: 1.04rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--ocean); color: #fff; box-shadow: 0 8px 20px -8px rgba(60, 80, 69, .65); }
.btn-primary:hover { background: var(--deep); }
.btn-ghost { background: var(--white); color: var(--deep); border-color: var(--line); }
.btn-ghost .ico { color: var(--wa-dark); }
.btn-ghost:hover { border-color: var(--ocean); }
.btn-light { background: var(--sand); color: var(--deep); }
.btn-outline-light { color: #fff; border-color: rgba(255,255,255,.5); }
.btn-outline-light:hover { background: rgba(255,255,255,.1); }

/* ---------- Cabecera ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(248, 245, 239, .88);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: var(--shadow-sm); }
.header-inner { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--deep); }
.brand-mark { width: 42px; height: 42px; color: var(--ocean); }
.brand-mark svg { width: 100%; height: 100%; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font-family: var(--font-display); font-size: 1.35rem; font-weight: 600; letter-spacing: .04em; }
.brand-text small { font-size: .74rem; color: var(--muted); letter-spacing: .02em; }

.main-nav { margin-left: auto; display: flex; align-items: center; gap: 22px; }
.main-nav ul { display: flex; gap: 22px; list-style: none; margin: 0; padding: 0; }
.main-nav a:not(.btn) { color: var(--ink-soft); text-decoration: none; font-size: .95rem; font-weight: 500; }
.main-nav a:not(.btn):hover { color: var(--deep); }

.header-tools { display: flex; align-items: center; gap: 12px; }
.lang-switch { display: flex; background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: 3px; }
.lang-switch button {
  font: 600 .78rem/1 var(--font-body); letter-spacing: .04em; color: var(--muted);
  background: none; border: 0; padding: 7px 9px; border-radius: 999px; cursor: pointer;
}
.lang-switch button[aria-pressed="true"] { background: var(--deep); color: #fff; }

.nav-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); background: var(--white); border-radius: 12px; cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 4px; }
.nav-toggle .bar { width: 18px; height: 2px; background: var(--deep); border-radius: 2px; transition: transform .2s, opacity .2s; }
.nav-toggle[aria-expanded="true"] .bar:nth-child(2) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bar:nth-child(3) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .bar:nth-child(4) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 960px) {
  .nav-toggle { display: flex; }
  .header-tools { margin-left: auto; }
  .main-nav {
    position: fixed; inset: var(--header-h) 0 auto 0; margin: 0;
    flex-direction: column; align-items: stretch; gap: 8px;
    background: var(--sand); border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    padding: 12px 20px 22px;
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .2s, transform .2s, visibility .2s;
  }
  .main-nav.open { transform: none; opacity: 1; visibility: visible; }
  .main-nav ul { flex-direction: column; gap: 0; }
  .main-nav ul a { display: block; padding: 12px 4px; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .nav-cta { margin-top: 10px; }
}
@media (max-width: 420px) {
  .brand-text small { display: none; }
  .lang-switch button { padding: 7px 7px; }
}

/* ---------- Hero ---------- */
.hero { padding: clamp(40px, 7vw, 90px) 0 clamp(56px, 8vw, 110px); position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; width: 620px; height: 620px; right: -180px; top: -200px;
  background: radial-gradient(circle, rgba(201,214,201,.6), transparent 65%); pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5vw, 72px); align-items: center; position: relative; }
.hero h1 em { font-style: italic; color: var(--ocean); }
.lead { font-size: 1.15rem; color: var(--ink-soft); max-width: 36em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 30px; }
.hero-trust { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; color: var(--ink-soft); font-size: .95rem; }
.hero-trust li { display: flex; align-items: center; gap: 10px; }
.hero-trust .ico { color: var(--ocean); background: var(--ocean-soft); border-radius: 50%; padding: 3px; width: 22px; height: 22px; }

.hero-visual { position: relative; }
.hero-card { border-radius: 200px 200px var(--radius) var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 5 / 6; }
.hero-art { width: 100%; height: 100%; }
.float-badge {
  position: absolute; display: flex; align-items: center; gap: 12px;
  background: var(--white); padding: 12px 16px 12px 12px; border-radius: 16px; box-shadow: var(--shadow);
  animation: float 6s ease-in-out infinite;
}
.float-badge strong { display: block; font-size: .92rem; color: var(--deep); }
.float-badge small { color: var(--muted); font-size: .8rem; }
.badge-ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--ocean-soft); color: var(--ocean); }
.badge-ico .ico { width: 22px; height: 22px; }
.badge-a { left: -28px; top: 18%; }
.badge-b { right: -18px; bottom: 12%; animation-delay: -3s; }
.badge-b .badge-ico { background: #efe4d8; color: var(--terracotta); }
@keyframes float { 50% { transform: translateY(-8px); } }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 420px; margin: 10px auto 0; width: 100%; }
  .badge-a { left: -6px; }
  .badge-b { right: -6px; }
}

/* ---------- Secciones ---------- */
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section-tint { background: var(--sand-2); }
.section-dark { background: var(--deep); color: #d7e5e2; }
.section-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 60px); }
.section-head p:last-child { color: var(--ink-soft); font-size: 1.08rem; margin-bottom: 0; }
.section-head.light h2 { color: #fff; }
.section-head.light p:last-child { color: #b9cfcb; }
.section-head.light .eyebrow { color: var(--sun); }

/* Pilares */
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.pillar { background: var(--white); border-radius: var(--radius); padding: 28px 24px; box-shadow: var(--shadow-sm); border: 1px solid #efe8de; }
.pillar p { color: var(--ink-soft); font-size: .97rem; margin: 0; }
.pillar-ico { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--ocean-soft); color: var(--ocean); margin-bottom: 18px; }
.pillar-ico .ico { width: 26px; height: 26px; }
.pillar:nth-child(4) .pillar-ico { background: #efe4d8; color: var(--terracotta); }
@media (max-width: 1000px) { .pillars { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .pillars { grid-template-columns: 1fr; } }

/* Servicios */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service {
  position: relative; background: var(--sand); border-radius: var(--radius); padding: 30px 26px 26px;
  display: flex; flex-direction: column; border: 1px solid #e6d9c6;
  transition: transform .25s ease, box-shadow .25s ease;
}
.service:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.service p { color: var(--ink-soft); font-size: .97rem; flex: 1; }
.service-num { font-family: var(--font-display); font-size: 1rem; color: var(--terracotta); margin-bottom: 14px; }
.service-link { font-weight: 600; font-size: .95rem; text-decoration: none; color: var(--deep); align-self: flex-start; }
.service-link:hover { color: var(--terracotta); }
.service.featured { background: var(--deep); border-color: var(--deep); }
.service.featured h3 { color: #fff; }
.service.featured p { color: #c3d6d2; }
.service.featured .service-num { color: var(--sun); }
.service.featured .service-link { color: var(--sun); }
@media (max-width: 960px) { .services { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .services { grid-template-columns: 1fr; } }

/* Sobre Silvia */
.about-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(36px, 6vw, 90px); align-items: center; }
.about-visual { position: relative; }
.portrait {
  aspect-ratio: 4 / 5; border-radius: var(--radius) var(--radius) 200px var(--radius);
  background:
    radial-gradient(circle at 30% 25%, rgba(242,184,128,.55), transparent 55%),
    linear-gradient(160deg, var(--ocean) 0%, var(--deep) 100%);
  display: grid; place-items: center; box-shadow: var(--shadow-lg); overflow: hidden;
}
.portrait img { width: 100%; height: 100%; object-fit: cover; }
.portrait-initials { font-family: var(--font-display); font-size: clamp(4rem, 9vw, 6.5rem); color: rgba(255,255,255,.9); letter-spacing: .06em; }
.cred-card { position: absolute; right: -16px; bottom: 28px; background: var(--white); border-radius: 16px; padding: 14px 20px; box-shadow: var(--shadow); }
.cred-label { font-size: .75rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin: 0; }
.cred-value { font-family: var(--font-display); font-size: 1.5rem; color: var(--deep); margin: 0; }
.role { font-weight: 600; color: var(--ocean); }
.about-copy > p:not(.eyebrow):not(.role) { color: var(--ink-soft); }
.about-list { list-style: none; padding: 0; margin: 22px 0 28px; display: grid; gap: 10px; }
.about-list li { display: flex; gap: 10px; align-items: center; }
.about-list .ico { color: var(--terracotta); }
.about-social { display: flex; flex-wrap: wrap; gap: 10px; }
.social-pill { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--white); color: var(--deep); text-decoration: none; font-size: .92rem; font-weight: 500; }
.social-pill:hover { border-color: var(--ocean); }
@media (max-width: 860px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-visual { max-width: 380px; width: 100%; margin-inline: auto; }
  .cred-card { right: -6px; }
}

/* Islas */
.islands { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.island { display: flex; gap: 26px; align-items: center; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); padding: 30px; }
.island h3 { color: #fff; font-size: 1.6rem; }
.island p { color: #b9cfcb; }
.island-shape { width: 96px; height: 96px; flex: none; fill: var(--sun); opacity: .9; }
.island-link { color: var(--sun); font-weight: 600; text-decoration: none; }
.island-link:hover { text-decoration: underline; }
@media (max-width: 760px) { .islands { grid-template-columns: 1fr; } .island { padding: 24px; gap: 18px; } .island-shape { width: 72px; height: 72px; } }

/* Pasos */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: s; }
.step { position: relative; padding: 30px 26px; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-sm); border: 1px solid #efe8de; }
.step p { color: var(--ink-soft); margin: 0; }
.step-n { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--deep); color: #fff; font-family: var(--font-display); font-size: 1.25rem; margin-bottom: 18px; }
.step:nth-child(2) .step-n { background: var(--terracotta); }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }

/* Reserva */
.booking-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.booking-intro p { color: var(--ink-soft); font-size: 1.08rem; }
.booking-contact { display: grid; gap: 12px; margin-top: 28px; }
.contact-row { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 14px; background: var(--white); border: 1px solid #e6d9c6; text-decoration: none; color: var(--ink); transition: border-color .2s; }
a.contact-row:hover { border-color: var(--ocean); }
.contact-row small { display: block; color: var(--muted); font-size: .8rem; }
.contact-row strong { font-size: 1.05rem; color: var(--deep); }
.contact-ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--ocean-soft); color: var(--ocean); }
.contact-ico.wa { background: #dcf8e7; color: var(--wa-dark); }
.contact-ico .ico { width: 22px; height: 22px; }

.booking-form { background: var(--white); border-radius: 24px; padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow-lg); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; gap: 0; } }
.field { margin: 0 0 18px; border: 0; padding: 0; min-width: 0; }
.field label, .field legend { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 7px; color: var(--deep); padding: 0; }
.opt { font-weight: 400; color: var(--muted); }
input[type="text"], input[type="tel"], input[type="date"], select, textarea {
  width: 100%; font: 400 1rem/1.4 var(--font-body); color: var(--ink);
  background: var(--sand); border: 1.5px solid transparent; border-radius: 12px; padding: 13px 14px;
  transition: border-color .2s, background-color .2s;
  -webkit-appearance: none; appearance: none;
}
select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%233c5045' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--ocean); background: var(--white); }
textarea { resize: vertical; min-height: 110px; }
.choice-row { display: flex; gap: 10px; flex-wrap: wrap; }
.choice { position: relative; flex: 1 1 140px; }
.choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choice span { display: block; text-align: center; padding: 13px; border-radius: 12px; background: var(--sand); border: 1.5px solid transparent; font-weight: 600; color: var(--ink-soft); transition: all .2s; cursor: pointer; }
.choice input:checked + span { background: var(--ocean-soft); border-color: var(--ocean); color: var(--deep); }
.choice input:focus-visible + span { outline: 3px solid var(--terracotta); outline-offset: 2px; }

.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; color: var(--ink-soft); margin: 4px 0 6px; cursor: pointer; }
.consent input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--ocean); flex: none; }
.field-error { display: none; color: #b3261e; font-size: .85rem; margin: 6px 0 0; }
.invalid .field-error, .consent-error.show { display: block; }
.invalid input, .invalid select { border-color: #d0574f; background: #fff6f5; }
.booking-form .btn-block { margin-top: 18px; }
.form-note { font-size: .86rem; color: var(--muted); text-align: center; margin: 12px 0 0; }
.form-success { display: flex; gap: 14px; margin-top: 20px; padding: 16px 18px; border-radius: 14px; background: #e6f5ee; color: #1d5b40; }
.form-success[hidden] { display: none; }
.form-success .ico { width: 26px; height: 26px; flex: none; }
.form-success p { margin: 4px 0 0; font-size: .92rem; }
@media (max-width: 900px) { .booking-grid { grid-template-columns: 1fr; } }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq details { background: var(--white); border-radius: 14px; border: 1px solid #efe8de; padding: 0 22px; transition: box-shadow .2s; }
.faq details[open] { box-shadow: var(--shadow-sm); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 30px 20px 0; font-weight: 600; color: var(--deep); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 1.5rem; font-weight: 400; color: var(--terracotta); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { color: var(--ink-soft); padding-bottom: 20px; margin: 0; }

/* CTA */
.cta-band { background: linear-gradient(120deg, var(--ocean) 0%, var(--deep) 100%); color: #fff; padding: clamp(48px, 7vw, 80px) 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin-bottom: .25em; }
.cta-band p { margin: 0; color: #e3ebe3; font-size: 1.1rem; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Pie */
.site-footer { background: #2c3a32; color: #a9bfbb; padding: 64px 0 24px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; }
.site-footer h3 { color: #fff; font-family: var(--font-body); font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; margin-bottom: 14px; }
.brand-footer { color: #fff; margin-bottom: 14px; }
.brand-footer .brand-mark { color: var(--sun); }
.brand-footer .brand-text small { color: #a9bfbb; }
.footer-about { max-width: 34em; }
.footer-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { color: #d9e6e3; text-decoration: none; }
.site-footer a:hover { color: var(--sun); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 44px; padding-top: 20px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer-bottom p { margin: 0; }
.small { font-size: .84rem; opacity: .8; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; gap: 28px; } }

/* ---------- Burbuja WhatsApp ---------- */
.wa-widget { position: fixed; right: 20px; bottom: 20px; z-index: 90; display: flex; flex-direction: column; align-items: flex-end; gap: 14px; }
.wa-bubble {
  position: relative; width: 62px; height: 62px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--wa); color: #fff; display: grid; place-items: center;
  box-shadow: 0 10px 24px -6px rgba(18, 140, 126, .6);
  transition: transform .2s ease;
}
.wa-bubble:hover { transform: scale(1.06); }
.wa-bubble .ico { width: 32px; height: 32px; }
.wa-bubble::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--wa); z-index: -1; animation: pulse 2.6s ease-out infinite; }
@keyframes pulse { 0% { transform: scale(1); opacity: .55; } 100% { transform: scale(1.6); opacity: 0; } }
.wa-dot { position: absolute; top: 4px; right: 4px; width: 14px; height: 14px; border-radius: 50%; background: var(--terracotta); border: 2px solid #fff; }
.wa-widget.seen .wa-dot { display: none; }

.wa-panel { width: min(330px, calc(100vw - 40px)); background: #fff; border-radius: 18px; overflow: hidden; box-shadow: var(--shadow-lg); transform-origin: bottom right; animation: pop .22s ease; }
.wa-panel[hidden] { display: none; }
@keyframes pop { from { transform: scale(.9); opacity: 0; } }
.wa-panel-head { display: flex; align-items: center; gap: 12px; padding: 16px; background: var(--wa-dark); color: #fff; }
.wa-panel-head small { display: block; opacity: .85; font-size: .78rem; }
.wa-panel-head strong { font-size: .98rem; }
.wa-avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--sand); color: var(--deep); display: grid; place-items: center; font-family: var(--font-display); font-weight: 600; font-size: .85rem; flex: none; }
.wa-close { margin-left: auto; background: none; border: 0; color: #fff; font-size: 1.6rem; line-height: 1; cursor: pointer; padding: 4px 6px; }
.wa-panel-body { padding: 20px 16px; background: #ece5dd; }
.wa-msg { position: relative; background: #fff; border-radius: 0 12px 12px 12px; padding: 12px 14px; margin: 0; font-size: .93rem; box-shadow: 0 1px 1px rgba(0,0,0,.08); }
.wa-start { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 14px 16px 16px; padding: 13px; border-radius: 999px; background: var(--wa); color: #fff; font-weight: 600; text-decoration: none; }
.wa-start:hover { background: #1fbd5b; }

/* Animación de aparición */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* =========================================================
   v2 — identidad SCR, tratamientos, consulta y actualidad
   ========================================================= */
.script { font-family: var(--font-script); font-weight: 400; color: var(--ocean); font-size: 2.1rem; line-height: 1.1; margin: 0; }
.brand-mark-text { font-family: var(--font-display); font-weight: 600; font-size: 1.5rem; letter-spacing: .02em; color: var(--deep); }

/* Hero con foto */
.hero-card.photo { background: var(--sand-2); }
.hero-card.photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.hero-script { margin-top: 26px; }

/* Sobre Silvia */
.about-grid.v2 { grid-template-columns: 1fr 1fr; align-items: start; }
.creds { display: grid; gap: 14px; }
.cred { display: flex; gap: 16px; align-items: flex-start; background: var(--white); border: 1px solid #ebe5db; border-radius: var(--radius); padding: 20px 22px; box-shadow: var(--shadow-sm); }
.cred .pillar-ico { margin: 0; width: 46px; height: 46px; flex: none; }
.cred strong { display: block; color: var(--deep); font-size: 1.02rem; }
.cred span { color: var(--ink-soft); font-size: .95rem; }
@media (max-width: 860px) { .about-grid.v2 { grid-template-columns: 1fr; } }

/* Tratamientos */
.treat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.treat-col { background: var(--white); border-radius: 24px; padding: clamp(24px, 3.5vw, 36px); border: 1px solid #e6dfd3; }
.treat-col h3 { display: flex; align-items: center; gap: 12px; font-size: 1.45rem; margin-bottom: 6px; }
.treat-col > p { color: var(--ink-soft); font-size: .97rem; }
.treat-list { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 4px; }
.treat-list li { display: flex; gap: 14px; align-items: flex-start; padding: 12px 0; border-top: 1px solid #efe9e0; }
.treat-list li:first-child { border-top: 0; }
.treat-dot { width: 34px; height: 34px; border-radius: 50%; background: var(--ocean-soft); color: var(--ocean); display: grid; place-items: center; flex: none; }
.treat-dot .ico { width: 18px; height: 18px; }
.treat-list strong { display: block; color: var(--deep); font-weight: 600; }
.treat-list small { color: var(--muted); font-size: .9rem; }
.treat-sub { font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--terracotta); margin: 22px 0 0; }
.treat-cta { text-align: center; margin-top: 36px; }
@media (max-width: 860px) { .treat-grid { grid-template-columns: 1fr; } }

/* Consulta */
.island.has-photo { flex-direction: column; align-items: stretch; padding: 0; overflow: hidden; }
.island-photo { aspect-ratio: 16 / 10; overflow: hidden; }
.island-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 38%; }
.island-body { padding: 26px 28px 28px; }
.island-address { display: flex; gap: 10px; align-items: flex-start; color: #fff; font-weight: 500; margin-bottom: 6px; }
.island-address .ico { color: var(--sun); margin-top: 4px; }
.island-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 12px; }
.island.plain { flex-direction: column; align-items: flex-start; justify-content: center; }
.islands.v2 { align-items: stretch; }

/* Actualidad */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.news-card { display: flex; flex-direction: column; background: var(--white); border-radius: var(--radius); overflow: hidden; border: 1px solid #ebe5db; text-decoration: none; color: inherit; transition: transform .25s ease, box-shadow .25s ease; }
.news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.news-thumb { aspect-ratio: 16 / 10; background: var(--sand-2); overflow: hidden; }
.news-thumb img { width: 100%; height: 100%; object-fit: cover; }
.news-thumb.noimg { display: grid; place-items: center; background: linear-gradient(150deg, var(--ocean-soft), var(--sand-2)); color: var(--ocean); }
.news-thumb.noimg .ico { width: 54px; height: 54px; opacity: .7; }
.news-body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.news-meta { font-size: .8rem; color: var(--muted); margin-bottom: 8px; display: flex; gap: 10px; flex-wrap: wrap; }
.news-cat { color: var(--terracotta); font-weight: 600; text-transform: uppercase; letter-spacing: .1em; }
.news-card h3 { font-size: 1.2rem; margin-bottom: 8px; }
.news-card p { color: var(--ink-soft); font-size: .95rem; flex: 1; }
.news-more { font-weight: 600; font-size: .92rem; color: var(--deep); }
.section-head.row { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; max-width: none; flex-wrap: wrap; }
.section-head.row > div { max-width: 720px; }
@media (max-width: 960px) { .news-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .news-grid { grid-template-columns: 1fr; } }

/* Página de artículo */
.page-hero { padding: clamp(40px, 6vw, 72px) 0 10px; }
.breadcrumb { font-size: .88rem; color: var(--muted); margin-bottom: 18px; }
.breadcrumb a { color: var(--ocean); text-decoration: none; }
.article { padding-bottom: clamp(56px, 8vw, 100px); }
.article h1 { font-size: clamp(2rem, 4.4vw, 3.1rem); }
.article-meta { color: var(--muted); font-size: .92rem; display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-bottom: 26px; }
.article-cover { border-radius: var(--radius); overflow: hidden; margin: 0 0 32px; box-shadow: var(--shadow); }
.article-cover img { width: 100%; height: auto; }
.prose { font-size: 1.07rem; }
.prose h2 { font-size: 1.6rem; margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }
.prose p, .prose li { color: var(--ink-soft); }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }
.prose figure { margin: 28px 0; }
.prose figure img { border-radius: var(--radius); box-shadow: var(--shadow-sm); margin-inline: auto; }
.prose figcaption { text-align: center; font-size: .88rem; color: var(--muted); margin-top: 10px; }
.prose .callout { background: var(--ocean-soft); border-radius: 14px; padding: 18px 20px; color: var(--deep); }
.article-cta { margin-top: 40px; background: var(--deep); color: #dfe8e1; border-radius: 22px; padding: 30px; display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.article-cta h2 { color: #fff; font-size: 1.5rem; margin: 0 0 4px; }
.article-cta p { margin: 0; }
.more-news { margin-top: 56px; }

/* Contenido en varios idiomas (artículos de Actualidad) */
[data-l]:not([data-l="es"]) { display: none; }
html[lang="en"] [data-l="es"], html[lang="de"] [data-l="es"] { display: none; }
html[lang="en"] [data-l="en"], html[lang="de"] [data-l="de"] { display: revert; }
.page-top { padding-top: clamp(40px, 6vw, 72px); }
.article-back { margin-top: 28px; }
