/* =============================================================
   1. Tokens
   ============================================================= */
:root {
  --bg: #f2f6f5;
  --paper: #ffffff;
  --ink: #14201d;
  --ink-soft: #3d4f4a;
  --ink-mute: #6d7f7a;
  --accent: #0e7c6b;
  --accent-deep: #0a5c50;
  --accent-2: #5b6ee1;
  --blush: #ffd9d2;
  --mint: #c9ece4;
  --sky: #d3e7f5;
  --glass: rgba(255, 255, 255, 0.55);
  --line: rgba(20, 32, 29, 0.1);
  --radius: 24px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --sans: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  --body: "Roboto", system-ui, -apple-system, "Segoe UI", sans-serif;
}

/* =============================================================
   2. Reset & base
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html { -webkit-text-size-adjust: 100%; tab-size: 2; scroll-behavior: smooth; }
body {
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  overscroll-behavior-y: none;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
p { text-wrap: pretty; }
h1, h2, h3, h4 { text-wrap: balance; line-height: 1.08; letter-spacing: -0.02em; font-family: var(--sans); }
::selection { background: var(--accent); color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.skip-link { position: fixed; top: -100px; left: 1rem; padding: .6rem 1rem; background: var(--ink); color: #fff; z-index: 9999; border-radius: 8px; font-weight: 600; }
.skip-link:focus { top: 1rem; }

/* =============================================================
   3. Utilities
   ============================================================= */
.container { width: min(1120px, 100% - 2.5rem); margin-inline: auto; }
.narrow { max-width: 760px; }
.center { text-align: center; margin-top: 2rem; }
.mute { color: var(--ink-mute); }
.small { font-size: .85rem; }
.demo-banner { background: var(--ink); color: #fff; text-align: center; font-size: .8rem; padding: .45rem 1rem; letter-spacing: .02em; }
.eyebrow { font-family: var(--sans); font-weight: 700; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-deep); margin-bottom: .6rem; }
.section { padding: 4.5rem 0; }
.section-tint { background: linear-gradient(180deg, rgba(255,255,255,.6), rgba(255,255,255,0)); }
.section-title { font-size: clamp(1.7rem, 1.2rem + 2.4vw, 2.6rem); font-weight: 800; margin-bottom: 1rem; }
.section-lead { color: var(--ink-soft); max-width: 62ch; margin-bottom: 2rem; }

/* =============================================================
   4. Buttons & links
   ============================================================= */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; font-family: var(--sans); font-weight: 700; border-radius: 999px; padding: .9rem 1.6rem; transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out), background .35s var(--ease-out); will-change: transform; }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 12px 30px rgba(14, 124, 107, .28); }
.btn-primary:hover { background: var(--accent-deep); transform: translateY(-2px); box-shadow: 0 18px 38px rgba(14, 124, 107, .34); }
.btn-glass { background: var(--glass); backdrop-filter: blur(20px) saturate(180%); -webkit-backdrop-filter: blur(20px) saturate(180%); border: 1px solid rgba(255,255,255,.6); color: var(--ink); }
@supports not (backdrop-filter: blur(20px)) { .btn-glass { background: rgba(255,255,255,.85); } }
.btn-glass:hover { transform: translateY(-2px); }
.btn-small { padding: .6rem 1.1rem; font-size: .9rem; }
.btn-big { padding: 1.05rem 2.2rem; font-size: 1.05rem; }
.btn-whatsapp { background: #25D366; color: #fff; box-shadow: 0 12px 30px rgba(37, 211, 102, .32); }
.btn-whatsapp:hover { background: #1eb856; transform: translateY(-2px); box-shadow: 0 18px 38px rgba(37, 211, 102, .4); }
.btn-whatsapp svg { flex: none; }
.btn-row { display: flex; gap: .7rem; flex-wrap: wrap; margin-top: 1.2rem; }
.text-link { color: var(--accent-deep); font-weight: 600; border-bottom: 2px solid var(--mint); transition: border-color .3s var(--ease-out); }
.text-link:hover { border-color: var(--accent); }
.social-icon { display: inline-flex; align-items: center; justify-content: center; width: 5rem; height: 5rem; border-radius: 50%; border: 1px solid var(--line); background: var(--paper); color: var(--accent-deep); margin-top: 1.2rem; transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out); }
.social-icon:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(14, 124, 107, .2); }

/* =============================================================
   5. Nav (floating glass)
   ============================================================= */
.nav { position: sticky; top: 0; z-index: 50; padding: .7rem 0; }
.nav-inner { display: flex; align-items: center; gap: 1rem; background: var(--glass); backdrop-filter: blur(20px) saturate(180%); -webkit-backdrop-filter: blur(20px) saturate(180%); border: 1px solid rgba(255,255,255,.55); border-radius: 999px; padding: .55rem .7rem .55rem 1.1rem; box-shadow: 0 10px 30px rgba(20,32,29,.08); }
@supports not (backdrop-filter: blur(20px)) { .nav-inner { background: rgba(255,255,255,.92); } }
.brand { display: flex; align-items: center; gap: .7rem; font-family: var(--sans); font-weight: 600; font-size: 1.35rem; margin-right: auto; }
.brand-mark { width: 54px; height: 54px; color: var(--accent); flex: none; border-radius: 50%; background: #fff; box-shadow: 0 4px 14px rgba(20, 32, 29, .12); }

.footer-mark { width: 40px; height: 40px; border-radius: 50%; background: #fff; box-shadow: 0 3px 10px rgba(20, 32, 29, .15); margin-bottom: .6rem; }
.brand-text strong { font-weight: 800; }
.nav-links { display: none; gap: 1.2rem; font-weight: 600; font-size: .92rem; color: var(--ink-soft); }
.nav-links a { position: relative; padding: .2rem 0; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -2px; height: 2px; background: var(--accent); transition: right .35s var(--ease-out); }
.nav-links a:hover::after { right: 0; }
.nav-toggle { display: inline-flex; flex-direction: column; gap: 4px; padding: .6rem; }
.nav-toggle span { width: 20px; height: 2px; background: var(--ink); border-radius: 2px; }
.nav.open .nav-links { display: flex; position: absolute; top: calc(100% + .4rem); left: 1.25rem; right: 1.25rem; flex-direction: column; background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 1rem 1.2rem; box-shadow: 0 20px 50px rgba(20,32,29,.14); }

/* =============================================================
   6. Hero (mesh gradient + floating image)
   ============================================================= */
.hero { position: relative; overflow: clip; padding: 3.5rem 0 2.5rem; }
.hero-mesh { position: absolute; inset: 0; z-index: -1; background: radial-gradient(at 18% 25%, var(--mint) 0%, transparent 52%), radial-gradient(at 82% 20%, var(--sky) 0%, transparent 50%), radial-gradient(at 55% 90%, var(--blush) 0%, transparent 52%), var(--bg); filter: blur(60px) saturate(150%); animation: meshDrift 30s ease-in-out infinite; }
@keyframes meshDrift { 0%, 100% { transform: scale(1) rotate(0deg); } 50% { transform: scale(1.15) rotate(8deg); } }
.hero-grid { display: grid; gap: 2.5rem; align-items: center; }
.hero-grid > * { min-width: 0; }
.kicker { display: inline-flex; align-items: center; gap: .5rem; font-weight: 700; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-deep); background: rgba(255,255,255,.6); border: 1px solid rgba(255,255,255,.7); padding: .4rem .9rem; border-radius: 999px; margin-bottom: 1.1rem; }
.kicker-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.hero-title { font-size: clamp(2.1rem, 1.4rem + 4.4vw, 3.6rem); font-weight: 800; }
.hero-title em { font-style: italic; color: var(--accent-deep); }
.hero-sub { color: var(--ink-soft); font-size: 1.08rem; max-width: 46ch; margin: 1rem 0 1.6rem; }
.hero-actions { display: flex; gap: .8rem; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 1.4rem 2rem; flex-wrap: wrap; margin-top: 2rem; }
.hero-stats dt { font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-mute); font-weight: 600; }
.hero-stats dd { font-family: var(--sans); font-weight: 800; font-size: 1.25rem; }
.hero-media { position: relative; margin: 0; }
.hero-media img { border-radius: var(--radius); box-shadow: 0 60px 80px rgba(20,32,29,.22); animation: floatY 7s ease-in-out infinite; }
@keyframes floatY { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.glass-chip { position: absolute; left: 1rem; bottom: 1rem; background: var(--glass); backdrop-filter: blur(20px) saturate(180%); -webkit-backdrop-filter: blur(20px) saturate(180%); border: 1px solid rgba(255,255,255,.6); border-radius: 14px; padding: .55rem .9rem; font-size: .85rem; font-weight: 600; }
@supports not (backdrop-filter: blur(20px)) { .glass-chip { background: rgba(255,255,255,.9); } }
.chip-note { display: block; font-weight: 400; font-size: .75rem; color: var(--ink-mute); }

/* =============================================================
   7. Strip + cards
   ============================================================= */
.strip { padding: 0 0 1rem; }
.strip-grid { display: grid; gap: .8rem; background: var(--ink); color: #eef4f2; border-radius: 20px; padding: 1.2rem 1.5rem; }
.strip-item strong { display: block; font-size: .75rem; text-transform: uppercase; letter-spacing: .12em; color: #9fd8cc; }
.cards-3 { display: grid; gap: 1rem; margin-top: 2rem; }
.glass-card { background: var(--glass); backdrop-filter: blur(20px) saturate(180%); -webkit-backdrop-filter: blur(20px) saturate(180%); border: 1px solid rgba(255,255,255,.55); border-radius: var(--radius); padding: 1.8rem; box-shadow: 0 16px 40px rgba(20,32,29,.07); }
@supports not (backdrop-filter: blur(20px)) { .glass-card { background: rgba(255,255,255,.9); } }
.card-num { font-family: var(--sans); font-weight: 800; color: var(--accent); opacity: .55; letter-spacing: .1em; }
.glass-card h3 { font-size: 1.2rem; margin: .4rem 0 .5rem; }
.glass-card p { color: var(--ink-soft); }

/* Treatments */
.treat-grid { display: grid; gap: .9rem; margin-top: 2rem; }
.treat-card { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 1.2rem 1.3rem; transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out); }
.treat-card:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(14,124,107,.14); }
.treat-card h3 { font-size: 1.02rem; margin-bottom: .25rem; }
.treat-card p { color: var(--ink-soft); font-size: .94rem; }
.treat-card img { border-radius: 12px; margin-bottom: .8rem; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }

/* Cómo funciona (pasos, adaptado de Hettich) */
.steps { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: .9rem; }
.steps li { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 1.2rem 1.3rem; }
.steps span { font-family: var(--sans); font-weight: 800; color: var(--accent); opacity: .55; letter-spacing: .1em; }
.steps h3 { font-size: 1.02rem; margin: .25rem 0; }
.steps p { color: var(--ink-soft); font-size: .94rem; }
@media (min-width: 720px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .steps { grid-template-columns: repeat(4, 1fr); } }

/* Split */
.split-grid { display: grid; gap: 2.2rem; align-items: center; }
.split-media { margin: 0; }
.split-media img { border-radius: var(--radius); box-shadow: 0 30px 60px rgba(20,32,29,.16); }
.img-note { font-size: .8rem; color: var(--ink-mute); margin-top: .5rem; }
.check-list { list-style: none; padding: 0; margin: 1.2rem 0; display: grid; gap: .6rem; }
.check-list li { padding-left: 1.8rem; position: relative; }
.check-list li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 1.3rem; height: 1.3rem; border-radius: 50%; background: var(--mint); color: var(--accent-deep); font-weight: 800; font-size: .8rem; display: inline-flex; align-items: center; justify-content: center; }

/* Visit */
.visit-grid { display: grid; gap: 1rem; margin-top: 2rem; }
.visit-grid h3 { margin-bottom: .5rem; }
#llegar .visit-grid .glass-card:first-child { display: flex; flex-direction: column; justify-content: center; }
#llegar .glass-card p { line-height: 1.75; }
.map-embed { margin-top: 1rem; border-radius: 16px; overflow: hidden; }
.map-embed iframe { width: 100%; height: 260px; border: 0; display: block; }

/* Rejillas de 4: franja de datos y bloques de cobertura */
.strip-grid-4 { grid-template-columns: repeat(2, 1fr); }
.cards-4 { display: grid; gap: 1rem; margin-top: 2rem; grid-template-columns: repeat(2, 1fr); }
.strip-item a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }

/* Agrupacion de los 15 tratamientos */
.treat-group { margin-top: 2.4rem; }
.treat-group:first-of-type { margin-top: .5rem; }
.treat-group .treat-grid { margin-top: 0; }
.treat-group-head { display: flex; align-items: baseline; gap: .8rem; flex-wrap: wrap; margin-bottom: .9rem; padding-bottom: .6rem; border-bottom: 1px solid var(--line); }
.treat-group-head h3 { font-family: var(--sans); font-size: 1.05rem; font-weight: 700; }
.treat-group-head span { font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-deep); }

/* FAQ */
.faq { display: grid; gap: .7rem; margin-top: 1.8rem; }
.faq details { background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 1rem 1.2rem; }
.faq summary { font-family: var(--sans); font-weight: 700; cursor: pointer; }
.faq p { color: var(--ink-soft); margin-top: .5rem; }

/* CTA + footer */
.cta { padding: 2rem 0 4rem; }
.cta-inner { text-align: center; padding: 3rem 2rem; }
.cta-inner h2 { font-size: clamp(1.6rem, 1.2rem + 2.4vw, 2.4rem); margin-bottom: .6rem; }
.cta-inner p { color: var(--ink-soft); margin-bottom: 1.5rem; }

/* =============================================================
   8-bis. Orientador · Equipo · Contacto (v 20261020)
   ============================================================= */
.orientador { display: grid; gap: 1rem; margin-top: 1.4rem; text-align: left; }
.orientador label { display: grid; gap: .4rem; font-size: .92rem; font-weight: 600; }
.orientador select, .orientador input { font: inherit; font-weight: 400; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: .8rem 1rem; width: 100%; }
.orientador-result { display: none; border-left: 3px solid var(--accent); padding: .6rem .9rem; color: var(--ink-soft); }
.orientador-result.is-on { display: block; }
.orientador-lead { display: grid; gap: .9rem; }
.form-note { font-size: .85rem; color: var(--ink-soft); }

.equipo-grid { display: grid; gap: 1.4rem; align-items: start; margin-top: 1.4rem; }
.equipo-card { padding: 1.4rem; max-width: 560px; }
.equipo-card img { display: block; width: 100%; height: 260px; object-fit: cover; border-radius: 12px; margin-bottom: 1rem; }
.equipo-card h3 { font-size: 1.2rem; margin-bottom: .5rem; padding: 0; }
.equipo-card h3 small { font-size: .75rem; color: var(--ink-mute); font-weight: 400; }
.equipo-card > p { color: var(--ink-soft); font-size: .94rem; }

.section-title em { font-style: italic; color: var(--accent-deep); }

.contact-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .7rem; margin-top: 1.5rem; }
.btn-icon { width: 4.3rem; height: 4.3rem; padding: 0; border-radius: 999px; }
.btn-icon svg { width: 1.75rem; height: 1.75rem; }

.footer { border-top: 1px solid var(--line); padding: 2.2rem 0 6rem; background: rgba(255,255,255,.5); }
.footer-grid { display: grid; gap: 1rem; }
.footer-brand { font-family: var(--sans); font-weight: 800; }
.footer-mark { width: 40px; height: 40px; display: block; margin-bottom: .5rem; border-radius: 50%; background: #fff; box-shadow: 0 4px 14px rgba(20, 32, 29, .12); }
.footer-links { display: flex; gap: 1.2rem; font-weight: 600; }
.footer-links a:hover { color: var(--accent-deep); }

/* Reveal */
.reveal { opacity: 0; transform: translateY(22px); }
.is-ready .reveal.in { opacity: 1; transform: none; transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); }
.no-js .reveal { opacity: 1; transform: none; }

/* =============================================================
   8. Responsive
   ============================================================= */
@media (min-width: 540px) { .treat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 720px) {
  .nav-links { display: flex; }
  .nav-toggle { display: none; }
  .cards-3 { grid-template-columns: repeat(3, 1fr); }
  .strip-grid { grid-template-columns: repeat(3, 1fr); }
  .split-grid { grid-template-columns: 1.05fr .95fr; }
  .visit-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr auto; align-items: start; }
}
@media (min-width: 720px) { .equipo-grid { margin-top: 2rem; } }
@media (min-width: 960px) {
  .hero-grid { grid-template-columns: 1.05fr .95fr; }
  .treat-grid { grid-template-columns: repeat(4, 1fr); }
  .strip-grid-4 { grid-template-columns: repeat(4, 1fr); }
  .cards-4 { grid-template-columns: repeat(4, 1fr); }
  .section { padding: 5.5rem 0; }
}
@media (min-width: 1280px) { .container { width: min(1180px, 100% - 3rem); } }

/* =============================================================
   9b. Asistente Chaca (mismo patrón que el resto del rubro)
   ============================================================= */
.chat-panel[hidden] { display: none; }
.chat-fab { position: fixed; right: 1rem; bottom: 1rem; z-index: 60; background: var(--accent); color: #fff; font-family: var(--sans); font-weight: 700; border-radius: 999px; padding: .8rem 1.2rem; box-shadow: 0 14px 34px rgba(14, 124, 107, .4); }
.chat-fab:hover { background: var(--accent-deep); }
.chat-panel { position: fixed; right: 1rem; bottom: 4.4rem; z-index: 60; width: min(360px, calc(100vw - 2rem)); padding: 1rem; display: grid; gap: .7rem; background: var(--glass); backdrop-filter: blur(20px) saturate(180%); -webkit-backdrop-filter: blur(20px) saturate(180%); border: 1px solid rgba(255,255,255,.55); border-radius: var(--radius); box-shadow: 0 24px 60px rgba(20,32,29,.18); }
@supports not (backdrop-filter: blur(20px)) { .chat-panel { background: rgba(255,255,255,.96); } }
.chat-panel header { display: flex; justify-content: space-between; align-items: center; font-family: var(--sans); font-weight: 800; }
.chat-panel header button { font-size: 1.3rem; line-height: 1; padding: .2rem .5rem; color: var(--ink-soft); }
.chat-log { display: grid; gap: .5rem; max-height: 300px; overflow: auto; font-size: .92rem; }
.chat-log p { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: .55rem .75rem; }
.chat-panel form { display: flex; gap: .5rem; }
.chat-panel input { flex: 1; min-width: 0; font: inherit; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: .6rem .9rem; }
.chat-panel .mute a { color: var(--accent-deep); font-weight: 600; }

/* =============================================================
   9. Reduced motion (only intrusive effects)
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  .hero-mesh { animation: none; }
  .hero-media img { animation: none; }
  html { scroll-behavior: auto; }
}

/* =============================================================
   Testimonios (ejemplos) — carrusel
   ============================================================= */
.carousel{position:relative;max-width:820px;margin:1.8rem auto 0}
.carousel__viewport{overflow:hidden;border-radius:var(--radius)}
.carousel__viewport:focus-visible{outline:2px solid var(--accent);outline-offset:4px}
.carousel__track{display:flex;transition:transform .5s ease}
.tcard{flex:0 0 100%;padding:clamp(1.5rem, 4vw, 2.5rem)}
.tcard__quoteicon{display:block;color:var(--accent);margin-bottom:.5rem}
.tcard .tcard__quote{font-family:var(--sans);font-size:1.25rem;line-height:1.5;color:var(--ink);margin:0}
.tcard__meta{display:flex;align-items:center;gap:.75rem;margin-top:1.2rem}
.tcard__avatar{width:44px;height:44px;border-radius:50%;display:grid;place-items:center;font-family:var(--sans);font-weight:700;font-size:1.05rem;color:#fff;background:var(--accent);flex:none}
.tcard .tcard__name{font-weight:600;color:var(--ink);margin:0;font-size:.92rem}
.tcard .stars{color:var(--accent);letter-spacing:.12em;margin:.1rem 0 0;font-size:.95rem}
.carousel__ctrl{display:flex;justify-content:center;align-items:center;gap:1rem;margin-top:1.3rem}
.carousel__btn{width:44px;height:44px;border-radius:50%;border:1px solid var(--line);background:#fff;color:var(--ink);cursor:pointer;display:grid;place-items:center;transition:border-color .2s ease,background .2s ease}
.carousel__btn:hover{border-color:var(--accent);background:var(--mint)}
.carousel__btn:focus-visible,.carousel__dot:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.carousel__dots{display:flex;gap:.5rem}
.carousel__dot{width:11px;height:11px;border-radius:50%;border:0;padding:0;background:rgba(20,32,29,.18);cursor:pointer;transition:background .2s ease,transform .2s ease}
.carousel__dot[aria-current="true"]{background:var(--accent);transform:scale(1.25)}

/* Testimonios: encabezado centrado (molde V2 de Chacabuco) */
#ejemplos .section-head{max-width:640px;margin-inline:auto;text-align:center}
#ejemplos .section-head h2{max-width:none}
#ejemplos .section-head .section-title{max-width:none}
#ejemplos .section-head p{margin-inline:auto}
#ejemplos .section-lead{max-width:44rem}

/* =============================================================
   07 · Ubicación y contacto + CTA final
   Adaptado de Clínica Alerces V2 (web/index.html · web/styles.css)
   ============================================================= */
.contacto-sec,
.cta-final-block {
  --c-paper: var(--glass, var(--paper));
  --c-ink: var(--cream, var(--ink));
  --c-soft: var(--cream-2, var(--ink-soft));
  --c-mute: var(--mute, var(--ink-mute));
  --c-accent: var(--accent);
  --c-line: var(--line);
  --c-accent-deep: var(--accent-deep, color-mix(in srgb, var(--accent) 70%, #000));
  --c-glass-2: var(--glass-2, var(--c-paper));
}

/* --- 07 · Ubicación y contacto --- */
.contacto-sec,
.cta-final-block { scroll-margin-top: 131px; }
.contacto-sec .section-num {
  font-size: .8rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--c-mute); font-weight: 600; margin-bottom: 1rem;
}
.contacto-sec .section-head { max-width: 640px; margin-bottom: 2.5rem; }
.contacto-sec .section-head h2 {
  font-size: clamp(1.8rem, 4.2vw, 2.8rem); line-height: 1.15;
  margin-bottom: .75rem; max-width: none;
}
.contacto-sec .section-head p {
  color: var(--c-soft); font-size: 1.08rem; line-height: 1.7; margin-top: .7rem;
}
.contacto-grid {
  display: grid; grid-template-columns: 1fr 1.1fr; gap: 1.5rem; align-items: stretch;
}
.contacto-card {
  border-radius: 1.6rem; padding: 2rem;
  background: var(--c-paper);
  border: 1px solid var(--c-line);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  box-shadow: 0 24px 60px -30px rgba(8, 24, 34, .45);
}
.contacto-card h3 { font-size: 1.35rem; margin-bottom: 1rem; }
.contacto-foto {
  width: 100%; aspect-ratio: 16 / 9; object-fit: cover;
  border-radius: 1rem; margin-bottom: .5rem; border: 1px solid var(--c-line);
}
.contacto-card .foto-credit { margin-bottom: 1rem; }
.contacto-card p { margin-bottom: .7rem; line-height: 1.7; color: var(--c-soft); }
.contacto-card p strong { color: var(--c-ink); }
.contacto-card a:not(.btn) {
  color: var(--c-accent); font-weight: 600; text-decoration: none;
}
.contacto-card a:not(.btn):hover { text-decoration: underline; text-underline-offset: 3px; }
.contacto-horarios {
  list-style: none; padding: 1rem 0; margin: 1.1rem 0;
  border-top: 1px solid var(--c-line); border-bottom: 1px solid var(--c-line);
  font-size: .95rem;
}
.contacto-horarios li {
  display: flex; justify-content: space-between; gap: 1rem;
  padding: .35rem 0; line-height: 1.6;
}
.contacto-horarios li span:first-child { color: var(--c-ink); flex: 1 1 auto; min-width: 0; }
.contacto-horarios li span:last-child { color: var(--c-soft); text-align: right; white-space: nowrap; }
.contacto-card .fine { margin-top: .6rem; line-height: 1.6; }
.contacto-acciones { display: flex; gap: .6rem; flex-wrap: wrap; margin-top: 1.3rem; }
.contacto-acciones .btn { text-decoration: none; text-align: center; padding: .7rem 1.05rem; }
.contacto-acciones .btn-ghost {
  border: 1.5px solid var(--c-line); color: var(--c-ink); background: transparent;
}
.contacto-acciones .btn-ghost:hover { border-color: var(--c-accent); color: var(--c-accent); }
.contacto-acciones .btn-glass {
  background: var(--c-glass-2); border: 1px solid var(--c-line); color: var(--c-ink);
}
.contacto-mapa {
  border-radius: 1.6rem; overflow: clip; padding: .8rem;
  background: var(--c-paper);
  border: 1px solid var(--c-line);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  box-shadow: 0 24px 60px -30px rgba(8, 24, 34, .45);
  display: flex; flex-direction: column;
}
.contacto-mapa iframe {
  width: 100%; height: 340px; min-height: 340px; flex: 1 1 auto;
  border: 0; border-radius: 1rem; display: block;
}
.contacto-mapa .fine { padding: .6rem .4rem 0; line-height: 1.6; }

/* --- CTA final --- */
.cta-final-block {
  background: var(--c-accent);
  background: linear-gradient(135deg, var(--c-accent-deep), var(--c-accent));
  color: #fff; padding: clamp(3.5rem, 8vw, 6rem) 0; text-align: center;
  border-radius: 2rem 2rem 0 0;
}
.cta-final-block h2 { font-size: clamp(1.9rem, 4.6vw, 3.1rem); line-height: 1.15; margin-bottom: .8rem; }
.cta-final-block p { opacity: .9; margin-bottom: 1.8rem; font-size: 1.1rem; line-height: 1.7; }
.cta-final-block .hero-actions { justify-content: center; margin-top: 0; }
.cta-final-block .btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  text-decoration: none; border-radius: 999px; font-weight: 600;
}
.cta-final-block .btn-lg { padding: 1rem 2rem; font-size: 1.02rem; }
.cta-final-block .btn-light { background: rgba(255,255,255,.94); color: var(--c-accent-deep); }
.cta-final-block .btn-ghostlight {
  border: 1.5px solid rgba(255,255,255,.7); color: #fff; background: transparent;
}
.cta-final-block .btn-ghostlight:hover { background: rgba(255,255,255,.14); }

@media (max-width: 900px) {
  .contacto-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .contacto-horarios li { flex-direction: column; gap: .1rem; }
  .contacto-horarios li span:last-child { text-align: left; }
}
.btn-instagram{background:linear-gradient(45deg,#F58529 0%,#DD2A7B 55%,#8134AF 80%,#515BD4 100%);color:#fff;border-color:rgba(221,42,123,.6);display:inline-flex;align-items:center;justify-content:center}
.btn-instagram:hover{filter:brightness(1.08);color:#fff}
.btn-instagram .ico{width:20px;height:20px}

/* Hero: separación desde el título hasta los botones (el subtexto bajo el título fue retirado) */
.hero-title { margin-bottom: 2rem; }

/* Letra chica: aviso de fotos demo al pie de cada sección con fotos */
.fotos-demo{
  margin-top: 1.1rem;
  font-size: .8rem;
  opacity: .75;
  text-align: center;
}
