/* Mindful your Mind · estilo editorial inspirado en Anchor & Orbit, con los colores institucionales de MYM */
@font-face { font-family: "Instrument Serif"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/instrument-serif-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Instrument Serif"; font-style: italic; font-weight: 400; font-display: swap; src: url("/assets/fonts/instrument-serif-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Newsreader"; font-style: normal; font-weight: 200 800; font-display: swap; src: url("/assets/fonts/newsreader-latin-wght-normal.woff2") format("woff2"); }
@font-face { font-family: "Newsreader"; font-style: italic; font-weight: 200 800; font-display: swap; src: url("/assets/fonts/newsreader-latin-wght-italic.woff2") format("woff2"); }

:root {
  --petroleo: #32647D;
  --petroleo-2: #336F7D;
  --celeste: #97BDCC;
  --profundo: #1F4E63;
  --niebla: #F7F5F5;      /* Pure: fondo */
  --hielo: #E6EFF3;       /* celeste muy claro para secciones y tarjetas */
  --texto: #2B3A42;
  --texto-suave: #55656E;
  --acento: #32647D;      /* Tranquil Teal: botones, etiquetas y pie de página */
  --acento-vivo: #336F7D; /* Serene Ocean: palabras en cursiva de los títulos */
  --pizarra: #336F7D;     /* banda de testimonios */
  --lila: #CFE1E9;        /* orbes claros */
  --durazno: #97BDCC;     /* Soothing Mist: acentos sobre fondos oscuros */
  --blanco: #ffffff;
  --linea: rgba(31, 78, 99, .14);

  --font-titulos: "Instrument Serif", "Times New Roman", serif;
  --font-texto: "Newsreader", Georgia, serif;

  --r-sm: 12px;
  --r: 24px;
  --r-lg: 36px;
  --max: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; font-family: var(--font-texto); font-size: 17px; line-height: 1.7; color: var(--texto); background: var(--niebla); }
a { color: var(--petroleo); }
h1, h2, h3 { margin: 0 0 .5em; color: var(--profundo); line-height: 1.15; }
h1, h2 { font-family: var(--font-titulos); font-weight: 600; letter-spacing: -.005em; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.75rem); }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
svg { display: block; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 820px; }
.center-text { text-align: center; }
.sr-only, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip:focus { position: fixed; top: 8px; left: 8px; z-index: 100; background: var(--blanco); padding: 8px 12px; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--celeste); outline-offset: 3px; }

.placeholder { background: #fff4c2; color: #6b5200; border: 1px dashed #d9b400; border-radius: 4px; padding: 0 .3em; font-size: .9em; font-family: var(--font-texto); letter-spacing: 0; text-transform: none; font-weight: 500; }

.eyebrow { display: inline-block; text-transform: uppercase; letter-spacing: .16em; font-size: .78rem; font-weight: 600; color: var(--petroleo-2); margin-bottom: 1em; }
.eyebrow::before { content: ""; display: inline-block; width: 28px; height: 1px; background: currentColor; vertical-align: middle; margin-right: 10px; }
.center-text .eyebrow::after, .eyebrow.center-text::after { content: ""; display: inline-block; width: 28px; height: 1px; background: currentColor; vertical-align: middle; margin-left: 10px; }
.eyebrow-light { color: var(--celeste); }
.section-title { margin-bottom: 1em; }

/* Botones */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; font-weight: 600; font-family: inherit; font-size: .95rem; padding: 13px 26px; border-radius: 999px; border: 1.5px solid transparent; cursor: pointer; transition: background .2s, color .2s, transform .2s; }
.btn:hover { transform: translateY(-2px); }
.btn-lg { padding: 17px 34px; font-size: 1rem; }
.btn-sm { padding: 9px 16px; font-size: .88rem; }
.btn-primary { background: var(--profundo); color: var(--blanco); }
.btn-primary:hover { background: var(--petroleo); }
.btn-ghost { background: transparent; border-color: var(--profundo); color: var(--profundo); }
.btn-ghost:hover { background: var(--profundo); color: var(--blanco); }
.btn-light { background: var(--blanco); color: var(--profundo); }
.btn-outline-light { border-color: rgba(255, 255, 255, .6); color: var(--blanco); }
.btn-outline-light:hover { background: rgba(255, 255, 255, .1); }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; color: var(--profundo); border-bottom: 1.5px solid var(--celeste); padding-bottom: 2px; }
.link-arrow::after { content: "→"; transition: transform .2s; }
.link-arrow:hover::after { transform: translateX(4px); }
.link-button { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; cursor: pointer; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(247, 245, 245, .92); backdrop-filter: blur(10px); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 84px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--profundo); }
.brand-mark { font-family: var(--font-titulos); font-weight: 600; font-size: .85rem; background: var(--profundo); color: var(--niebla); width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; letter-spacing: .04em; flex: none; }
.brand-name { font-family: var(--font-titulos); font-weight: 600; font-size: 1.15rem; }
.nav { display: flex; gap: 32px; }
.nav a { text-decoration: none; color: var(--texto); font-weight: 500; font-size: .95rem; }
.nav a:hover { color: var(--petroleo); }
.header-actions { display: flex; align-items: center; gap: 12px; }
.nav-toggle { display: none; background: var(--hielo); border: 0; width: 46px; height: 46px; border-radius: 50%; padding: 12px; cursor: pointer; }
.nav-toggle .bar { display: block; height: 2px; background: var(--profundo); margin: 4px 0; }

/* Hero */
.hero { padding: 70px 0 90px; text-align: center; position: relative; overflow: hidden; }
.hero::before, .hero::after { content: ""; position: absolute; border-radius: 50%; border: 1px solid var(--linea); pointer-events: none; }
.hero::before { width: 620px; height: 620px; left: -260px; top: -180px; }
.hero::after { width: 520px; height: 520px; right: -220px; bottom: -260px; background: radial-gradient(circle, rgba(151, 189, 204, .25), transparent 70%); }
.hero-inner { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; }
.hero h1 { font-size: clamp(2.6rem, 7.6vw, 6rem); line-height: 1.02; margin-bottom: .35em; }
.hero h1 span { display: block; }
.hero h1 span + span { color: var(--petroleo-2); }
.hero-lead { max-width: 36em; font-size: 1.12rem; color: var(--texto-suave); margin-bottom: 2em; }
.hero-icons { list-style: none; padding: 0; margin: 64px 0 0; display: flex; gap: 22px; }
.hero-icons li { width: 76px; height: 76px; border-radius: 50%; background: var(--hielo); display: grid; place-items: center; }
.hero-icons svg, .service-icon svg { width: 34px; height: 34px; fill: none; stroke: var(--profundo); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Secciones */
.section { padding: 100px 0; }
.section-tint { background: var(--hielo); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.split-reverse .split-media { order: 2; }

/* Fotos y marcadores */
.photo { position: relative; border-radius: var(--r-lg); background: linear-gradient(160deg, var(--celeste) 0%, var(--petroleo-2) 100%); overflow: hidden; display: grid; place-items: center; color: var(--blanco); }
.photo::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 30% 20%, rgba(255, 255, 255, .25), transparent 55%); }
.photo-alt { background: linear-gradient(160deg, var(--petroleo) 0%, var(--profundo) 100%); }
.photo-label { position: relative; z-index: 1; font-family: var(--font-titulos); font-size: 1.1rem; text-align: center; }
.photo-label small { display: block; font-family: var(--font-texto); font-size: .78rem; opacity: .85; }
.photo-tall { aspect-ratio: 4 / 5; }
.photo-arch { aspect-ratio: 4 / 5; border-radius: 300px 300px var(--r-lg) var(--r-lg); }
.photo-wide { aspect-ratio: 16 / 11; }

/* Servicios */
.service-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 32px 0; }
.service { display: block; text-decoration: none; color: var(--texto); background: var(--blanco); border-radius: var(--r); padding: 26px; transition: transform .2s, box-shadow .2s; }
.service:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(31, 78, 99, .12); }
.service-icon { width: 60px; height: 60px; border-radius: 50%; background: var(--hielo); display: grid; place-items: center; margin-bottom: 16px; }
.service h3 { margin-bottom: .35em; }
.service p { color: var(--texto-suave); font-size: .92rem; margin: 0; }

/* Cita destacada */
.big-quote { font-family: var(--font-titulos); font-size: clamp(1.25rem, 2.2vw, 1.6rem); line-height: 1.45; color: var(--profundo); margin: 1em 0; }
.quote-author, .testimonial figcaption { display: flex; align-items: center; gap: 14px; font-size: .92rem; color: var(--texto-suave); }
.quote-author strong, .testimonial strong { color: var(--profundo); }
.avatar { width: 52px; height: 52px; border-radius: 50%; background: var(--profundo); color: var(--blanco); display: grid; place-items: center; font-weight: 700; flex: none; }
.credentials { list-style: none; padding: 0; margin: 2em 0 0; font-size: .94rem; }
.credentials li { padding: 10px 0; border-top: 1px solid var(--linea); }

/* Etiquetas */
.tag-cloud { list-style: none; padding: 0; margin: 8px auto 48px; max-width: 980px; display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.tag-cloud a { display: inline-block; text-decoration: none; padding: 16px 30px; border-radius: 999px; border: 1.5px solid var(--profundo); color: var(--profundo); font-weight: 600; font-size: clamp(1rem, 1.6vw, 1.2rem); transition: background .2s, color .2s; }
.tag-cloud li:nth-child(3n+2) a { background: var(--hielo); border-color: var(--hielo); }
.tag-cloud a:hover { background: var(--profundo); color: var(--blanco); border-color: var(--profundo); }

.photo-pair { display: grid; grid-template-columns: 1fr 1.4fr; gap: 24px; }

/* Testimonios */
.testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testimonial { margin: 0; background: var(--blanco); border-radius: var(--r); padding: 32px; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; }
.testimonial blockquote { margin: 0; font-size: 1.02rem; }
.testimonial blockquote::before { content: "“"; display: block; font-family: var(--font-titulos); font-size: 3.2rem; line-height: .8; color: var(--celeste); }
.small-note { font-size: .85rem; color: var(--texto-suave); margin-top: 24px; }

/* Proceso */
.steps { list-style: none; padding: 0; margin: 0 0 48px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.steps li { display: flex; gap: 16px; align-items: flex-start; }
.steps h3 { margin-bottom: .2em; }
.steps p { margin: 0; color: var(--texto-suave); font-size: .94rem; }
.step-num { flex: none; width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--profundo); display: grid; place-items: center; font-family: var(--font-titulos); font-weight: 600; color: var(--profundo); }

/* Recursos */
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 40px; }
.section-head h2 { margin: 0; }
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.post-img { aspect-ratio: 4 / 3; border-radius: var(--r); margin-bottom: 18px; }
.post-meta { text-transform: uppercase; letter-spacing: .12em; font-size: .74rem; font-weight: 600; color: var(--petroleo-2); margin-bottom: .4em; }
.post h3 { font-size: 1.12rem; }

/* FAQ */
details { background: var(--blanco); border-radius: var(--r-sm); padding: 20px 26px; margin-bottom: 12px; }
summary { cursor: pointer; font-weight: 600; color: var(--profundo); list-style: none; position: relative; padding-right: 32px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 0; top: -4px; font-size: 1.5rem; color: var(--petroleo); }
details[open] summary::after { content: "–"; }
details p { margin: 12px 0 0; color: var(--texto-suave); }

/* CTA final */
#agendar { padding-top: 100px; padding-bottom: 100px; }
.cta-band { background: var(--profundo); color: var(--hielo); border-radius: var(--r-lg); padding: 80px 40px; text-align: center; position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; width: 480px; height: 480px; border-radius: 50%; border: 1px solid rgba(151, 189, 204, .3); right: -160px; top: -200px; }
.cta-band h2 { color: var(--blanco); font-size: clamp(2rem, 4.6vw, 3.6rem); }
.cta-band .eyebrow::after { content: ""; display: inline-block; width: 28px; height: 1px; background: currentColor; vertical-align: middle; margin-left: 10px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 28px; position: relative; }

/* Footer */
.site-footer { background: #163B4B; color: rgba(247, 245, 245, .82); padding: 72px 0 28px; font-size: .93rem; }
.site-footer a { color: var(--blanco); }
.footer-inner { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; }
.brand-light { color: var(--blanco); margin-bottom: 16px; }
.brand-light .brand-mark { background: var(--celeste); color: var(--profundo); }
.footer-title { color: var(--blanco); font-weight: 700; text-transform: uppercase; letter-spacing: .1em; font-size: .78rem; }
.small { font-size: .82rem; opacity: .85; }
.footer-bottom { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 48px; padding-top: 24px; font-size: .8rem; opacity: .75; }
.footer-bottom p { margin: 0; }
.copyright { font-size: .82rem; opacity: .7; margin-top: 32px; }

/* WhatsApp flotante */
.whatsapp-float { position: fixed; right: 20px; bottom: 20px; z-index: 60; width: 58px; height: 58px; border-radius: 50%; background: #25D366; color: #fff; display: grid; place-items: center; box-shadow: 0 8px 24px rgba(0, 0, 0, .2); }

/* Banner de cookies */
.cookie-banner { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 90; max-width: 560px; background: var(--blanco); color: var(--texto); border-radius: var(--r); box-shadow: 0 16px 40px rgba(0, 0, 0, .22); padding: 22px 24px; font-size: .92rem; }
.cookie-banner p { margin-bottom: .8em; }
.cookie-options { display: grid; gap: 10px; margin-bottom: 14px; }
.cookie-toggle { display: flex; gap: 10px; align-items: flex-start; font-size: .88rem; cursor: pointer; }
.cookie-toggle input { margin-top: 5px; accent-color: var(--petroleo); }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }

/* Páginas legales */
.legal { padding: 60px 0 90px; }
.legal h1 { font-size: clamp(1.9rem, 3.6vw, 2.6rem); }
.legal h2 { font-family: var(--font-texto); font-size: 1.15rem; font-weight: 700; margin-top: 1.8em; }
.legal ul { padding-left: 1.2em; }
.legal li { margin-bottom: .4em; }
.legal-note { margin-bottom: 1.4em; }
.table-wrap { overflow-x: auto; margin-bottom: 1.2em; }
.legal table { width: 100%; border-collapse: collapse; font-size: .92rem; background: var(--blanco); border-radius: var(--r-sm); overflow: hidden; }
.legal th, .legal td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--linea); vertical-align: top; }
.legal th { background: var(--profundo); color: var(--niebla); font-weight: 600; }

/* Responsive */
@media (max-width: 1020px) {
  .nav-toggle { display: block; }
  .nav { position: absolute; top: 84px; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--niebla); padding: 8px 24px 24px; border-bottom: 1px solid var(--linea); display: none; }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--linea); }
  .split { grid-template-columns: 1fr; gap: 48px; }
  .split-reverse .split-media { order: 0; }
  .split-media { max-width: 520px; }
  .testimonials, .posts { grid-template-columns: 1fr 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  body { font-size: 16px; }
  .container { padding: 0 16px; }
  .header-inner { height: 72px; }
  .nav { top: 72px; }
  .btn-header { display: none; }
  .brand-name { font-size: 1rem; }
  .hero { padding: 48px 0 64px; }
  .hero-icons { gap: 12px; margin-top: 44px; }
  .hero-icons li { width: 60px; height: 60px; }
  .section, #agendar { padding: 68px 0; }
  .service-grid, .testimonials, .posts, .steps, .photo-pair, .footer-inner { grid-template-columns: 1fr; }
  .tag-cloud a { padding: 12px 22px; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .cta-band { padding: 56px 22px; border-radius: var(--r); }
  .whatsapp-float { right: 16px; bottom: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* Páginas internas */
.breadcrumb { font-size: .85rem; color: var(--texto-suave); margin-bottom: 1.4em; }
.breadcrumb a { color: var(--texto-suave); }
.page-hero { padding: 56px 0 72px; position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; width: 520px; height: 520px; border-radius: 50%; right: -200px; top: -160px; border: 1px solid var(--linea); background: radial-gradient(circle, rgba(151, 189, 204, .22), transparent 70%); pointer-events: none; }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(2.2rem, 5.4vw, 4rem); max-width: 16em; line-height: 1.08; }
.page-hero .hero-lead { margin-bottom: 1.8em; max-width: 40em; }
.page-hero .cta-row { justify-content: flex-start; margin-top: 0; }
.prose { max-width: 760px; }
.prose h2 { font-size: clamp(1.5rem, 2.8vw, 2.1rem); margin-top: 1.4em; }
.prose h2:first-child { margin-top: 0; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .5em; }
.chip-list { list-style: none; padding: 0; margin: 1.2em 0 2em; display: flex; flex-wrap: wrap; gap: 10px; }
.chip-list li { background: var(--blanco); border: 1px solid var(--linea); border-radius: 999px; padding: 8px 18px; font-weight: 500; font-size: .93rem; color: var(--profundo); }
.section-tint .chip-list li { background: var(--blanco); }
.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 32px; }
.info-card { background: var(--blanco); border-radius: var(--r); padding: 28px; }
.info-card h3 { margin-bottom: .4em; }
.info-card p { margin: 0; color: var(--texto-suave); font-size: .95rem; }
.related { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.related a { display: block; background: var(--blanco); border-radius: var(--r); padding: 24px 26px; text-decoration: none; color: var(--profundo); font-weight: 600; transition: transform .2s; }
.related a:hover { transform: translateY(-3px); }
.related a span { display: block; font-weight: 400; color: var(--texto-suave); font-size: .9rem; margin-top: 4px; }
@media (max-width: 1020px) { .info-grid, .related { grid-template-columns: 1fr 1fr; } }
@media (max-width: 680px) { .info-grid, .related { grid-template-columns: 1fr; } .page-hero { padding: 36px 0 52px; } }

/* ===== v4: imágenes, gráficos y animaciones ===== */

/* Hero en dos columnas */
.hero { text-align: left; padding: 56px 0 72px; }
.hero::before, .hero::after { display: none; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.hero-title { font-size: clamp(2.6rem, 6.2vw, 5.2rem); line-height: 1.02; margin-bottom: .35em; }
.hero-title span { display: block; }
.hero-title span + span { color: var(--petroleo-2); }
.cta-left { justify-content: flex-start; margin-top: 0; }
.hero-art { position: relative; margin: 0; }
.hero-art img { width: 100%; height: auto; display: block; filter: drop-shadow(0 30px 50px rgba(31, 78, 99, .18)); }



/* Ilustraciones */
.ill { margin: 0; position: relative; border-radius: var(--r-lg); overflow: hidden; background: var(--hielo); }
.ill img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.ill:hover img { transform: scale(1.04); }
.ill-tall { aspect-ratio: 4 / 5; }
.ill-wide { aspect-ratio: 16 / 11; }
.ill figcaption { position: absolute; left: 20px; bottom: 20px; background: rgba(255, 255, 255, .92); color: var(--profundo); font-weight: 600; font-size: .88rem; padding: 8px 16px; border-radius: 999px; }
.photo-pair { padding-bottom: 20px; }
.post-img { aspect-ratio: 4 / 3; border-radius: var(--r); margin-bottom: 18px; }
.page-hero-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 48px; align-items: center; }
.page-art { aspect-ratio: 1; border-radius: 50% 50% var(--r-lg) var(--r-lg); box-shadow: 0 30px 60px rgba(31, 78, 99, .15); }

/* Ondas entre secciones */
.section-tint { position: relative; }
.section-tint::before { content: ""; position: absolute; left: 0; right: 0; top: -38px; height: 40px; background: url("/assets/img/ilustraciones/ola.svg") center / 100% 100% no-repeat; pointer-events: none; }


/* Header al hacer scroll */
.site-header { transition: box-shadow .3s, background .3s; }
.site-header.is-scrolled { box-shadow: 0 8px 30px rgba(31, 78, 99, .1); background: rgba(247, 245, 245, .97); }

/* ---- Animaciones (solo si el JS está activo y la persona no pidió menos movimiento) ---- */
@media (prefers-reduced-motion: no-preference) {
  .js-anim .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--d, 0s); }
  .js-anim .reveal.reveal-left { transform: translateX(-36px); }
  .js-anim .reveal.reveal-right { transform: translateX(36px); }
  .js-anim .reveal.reveal-zoom { transform: scale(.94); }
  .js-anim .reveal.is-visible { opacity: 1; transform: none; }


  .tag-cloud a { transition: background .25s, color .25s, transform .25s; }
  .tag-cloud a:hover { transform: translateY(-3px) rotate(-1deg); }
}
@keyframes rise { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: none; } }
@keyframes pop { from { opacity: 0; transform: scale(.9) rotate(-3deg); } to { opacity: 1; transform: none; } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes drift { from { transform: translate(0, 0) scale(1); } to { transform: translate(-60px, 40px) scale(1.15); } }

@media (max-width: 1020px) {
  .hero-grid, .page-hero-grid { grid-template-columns: 1fr; }
  .hero-art { max-width: 460px; margin: 0 auto; }
  .page-art { max-width: 360px; }
}
@media (max-width: 680px) {
  .section-tint::before { top: -20px; height: 22px; }
}

/* ===== v5: estilo editorial (Anchor & Orbit) ===== */
body { font-size: 18px; line-height: 1.65; }
h1, h2 { font-weight: 400; letter-spacing: -.01em; line-height: 1.04; }
h2 { font-size: clamp(2.3rem, 4.6vw, 3.8rem); }
h3 { font-weight: 600; font-size: 1.2rem; }
h1 em, h2 em { font-style: italic; color: var(--acento-vivo); }
.cta-band h2 em { color: var(--durazno); }
.section-title { margin-bottom: .8em; }

.eyebrow { font-size: .74rem; letter-spacing: .22em; font-weight: 600; color: var(--acento); }
.eyebrow::before, .center-text .eyebrow::after, .eyebrow.center-text::after, .cta-band .eyebrow::after { width: 18px; }
.eyebrow-light { color: var(--durazno); }

/* Botones: píldora azul, texto pequeño en mayúsculas */
.btn { font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; padding: 15px 30px; border-width: 1px; }
.btn:hover { transform: none; }
.btn-lg { padding: 17px 36px; font-size: .8rem; }
.btn-sm { padding: 10px 18px; font-size: .72rem; }
.btn-primary { background: var(--acento); color: var(--blanco); }
.btn-primary:hover { background: var(--profundo); }
.btn-ghost { border-color: var(--profundo); color: var(--profundo); }
.btn-light { color: var(--acento); }
.link-arrow { border-bottom-color: var(--acento); font-style: italic; font-weight: 500; }

/* Header: marca en serif, sin círculo */
.site-header, .site-header.is-scrolled { background: rgba(247, 245, 245, .94); }
.site-header.is-scrolled { box-shadow: 0 1px 0 var(--linea); }
.brand-mark { display: none; }
.brand-name { font-family: var(--font-titulos); font-weight: 400; font-size: 1.65rem; color: var(--acento); letter-spacing: -.01em; }
@media (min-width: 1021px) { .nav { gap: 28px; } }
.nav a { font-size: .95rem; font-weight: 500; }
.nav a:hover { color: var(--acento); }
.nav-toggle { background: var(--hielo); }

/* Primer fold */
.hero { padding: 0 0 96px; text-align: center; position: relative; overflow: hidden; }
.hero-band { height: clamp(200px, 28vw, 380px); overflow: hidden; background: #c9d6df; }
.hero-band img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 60%; display: block; }
.hero-statement { position: relative; z-index: 1; max-width: 920px; display: flex; flex-direction: column; align-items: center; padding-top: 64px; }
.hero-kicker { font-size: .74rem; letter-spacing: .22em; text-transform: uppercase; font-weight: 600; color: var(--acento); margin-bottom: 1.6em; }
.hero .hero-title { font-size: clamp(1.9rem, 3.6vw, 3rem); line-height: 1.16; color: var(--profundo); margin: 0 0 1.1em; max-width: 26em; }
.hero-title em { color: var(--acento-vivo); }
.hero-emblem { position: relative; width: 210px; height: 210px; margin: 8px 0 48px; display: grid; place-items: center; }
.hero-emblem::before { content: ""; position: absolute; left: 50%; top: -56px; bottom: -40px; width: 1px; background: var(--acento); }
.hero-emblem::after { content: ""; position: absolute; inset: -14px; border: 1px solid var(--acento); border-radius: 50%; }
.hero-emblem img, .hero-emblem svg { position: relative; z-index: 1; width: 100%; height: auto; border-radius: 50%; box-shadow: 0 0 0 10px var(--niebla); }
.hero-actions { display: flex; flex-direction: column; align-items: center; gap: 18px; }

/* Orbes: imágenes circulares que flotan en los bordes */
.orb { position: absolute; border-radius: 50%; background-size: cover; background-position: center; pointer-events: none; z-index: 0; }
.orb-agua { background-image: url("/assets/img/fotos/orbe-agua.jpg"); }
.orb-arena { background-image: url("/assets/img/fotos/orbe-arena.jpg"); }
.orb-amanecer { background-image: url("/assets/img/fotos/orbe-amanecer.jpg"); }
.orb-luna { background-image: url("/assets/img/fotos/orbe-luna.jpg"); }
.orb-luz { background-image: url("/assets/img/fotos/orbe-luz.jpg"); }
.orb-argelia { background-image: url("/assets/img/fotos/argelia-cafe.jpg"); background-position: 45% 30%; }
.orb-lila { background: var(--lila); }
.orb-durazno { background: var(--durazno); }
.hero-orb-1 { width: 150px; height: 150px; left: -40px; top: calc(clamp(200px, 28vw, 380px) + 150px); }
.hero-orb-2 { width: 92px; height: 92px; left: 70px; top: calc(clamp(200px, 28vw, 380px) + 110px); opacity: .9; }
.hero-orb-3 { width: 170px; height: 170px; right: -60px; top: calc(clamp(200px, 28vw, 380px) + 330px); }
.hero-orb-4 { width: 84px; height: 84px; right: 150px; top: calc(clamp(200px, 28vw, 380px) + 530px); opacity: .85; }

/* Secciones */
.section-tint { background: var(--hielo); }
.section-tint::before { display: none; }
.section-band { background: var(--pizarra); color: var(--blanco); }
.section-band h2, .section-band .eyebrow, .section-band .small-note { color: var(--blanco); }
.section-band h2 em { color: #CFE3EB; }
.section-band .testimonial { border-radius: 4px; box-shadow: 0 18px 40px rgba(20, 40, 55, .18); }
.service, details, .info-card, .related a, .testimonial, .chip-list li { border-radius: 6px; }
.service { border: 1px solid var(--linea); }
.service-icon { background: var(--hielo); }
.service-icon svg, .hero-icons svg { stroke: var(--acento); }
.ill { border-radius: 6px; }
.ill-tall { border-radius: 999px 999px 6px 6px; }
.page-art { border-radius: 50%; box-shadow: none; }
.page-art img { object-fit: cover; object-position: 50% 25%; }
.foto-argelia img { object-position: 50% 20%; }
.hero-orb-3.orb-argelia { width: 210px; height: 210px; right: -40px; }
.big-quote { font-size: clamp(1.5rem, 2.6vw, 2.1rem); line-height: 1.3; font-style: italic; }
.avatar { background: var(--acento); }
.step-num { border-color: var(--acento); color: var(--acento); font-size: 1.3rem; }
.testimonial blockquote::before { color: var(--acento-vivo); }
.tag-cloud a { border-width: 1px; font-family: var(--font-titulos); font-weight: 400; font-size: clamp(1.15rem, 1.9vw, 1.5rem); padding: 12px 28px; }
.tag-cloud li:nth-child(3n+2) a { background: var(--lila); border-color: var(--lila); }
.tag-cloud li:nth-child(3n) a { background: var(--hielo); border-color: var(--hielo); }
summary { font-family: var(--font-titulos); font-weight: 400; font-size: 1.35rem; }
summary::after { color: var(--acento); top: -2px; }
.post-meta { color: var(--acento); }

.has-orbs { position: relative; overflow: hidden; }
.has-orbs > .container { position: relative; z-index: 1; }
.sec-orb-a { width: 160px; height: 160px; left: -70px; top: 60px; }
.sec-orb-b { width: 70px; height: 70px; left: 60px; top: -24px; }
.sec-orb-c { width: 150px; height: 150px; right: -50px; bottom: 50px; }
.sec-orb-d { width: 64px; height: 64px; right: 90px; bottom: 30px; }
@media (max-width: 680px) { .sec-orb-a, .sec-orb-c { width: 90px; height: 90px; } .sec-orb-a { left: -50px; top: 20px; } .sec-orb-c { right: -45px; bottom: 20px; } .sec-orb-b, .sec-orb-d { display: none; } }

/* Páginas internas: orbe en la esquina */
.page-hero::after { width: 200px; height: 200px; right: -50px; top: 40px; border: 0; background: url("/assets/img/fotos/orbe-agua.jpg") center / cover; }
.page-hero::before { content: ""; position: absolute; width: 80px; height: 80px; border-radius: 50%; right: 120px; top: 20px; background: var(--lila); pointer-events: none; }
.page-hero h1 { font-size: clamp(2.4rem, 5.4vw, 4.2rem); }

/* Banda final y pie de página */
.cta-band { background: var(--profundo); border-radius: 6px; }
.cta-band::before { border-color: rgba(151, 189, 204, .45); }
.site-footer { background: var(--acento); color: rgba(255, 255, 255, .9); }
.site-footer .brand-name { color: var(--blanco); }
.footer-bottom { border-top-color: rgba(255, 255, 255, .25); }

@media (prefers-reduced-motion: no-preference) {
  .js-anim .hero-statement > * { opacity: 0; animation: rise 1s cubic-bezier(.2, .7, .2, 1) forwards; }
  .js-anim .hero-statement > :nth-child(2) { animation-delay: .12s; }
  .js-anim .hero-statement > :nth-child(3) { animation-delay: .3s; }
  .js-anim .hero-statement > :nth-child(4) { animation-delay: .45s; }
  .js-anim .hero-band img { animation: band-in 1.6s cubic-bezier(.2, .7, .2, 1) both; }
  .orb { animation: float 9s ease-in-out infinite; }
  .hero-orb-2, .hero-orb-4 { animation-duration: 7s; animation-delay: -3s; }
  .hero-emblem::after { animation: orbit-pulse 6s ease-in-out infinite; }
}
@keyframes band-in { from { transform: scale(1.08); } to { transform: none; } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes orbit-pulse { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.04); opacity: .6; } }

@media (max-width: 1020px) {
  .hero-orb-1 { width: 110px; height: 110px; left: -50px; }
  .hero-orb-2 { left: 24px; width: 60px; height: 60px; }
  .hero-orb-3 { width: 120px; height: 120px; right: -60px; }
  .hero-orb-4 { right: 20px; width: 56px; height: 56px; }
}
@media (max-width: 680px) {
  body { font-size: 17px; }
  .brand-name { font-size: 1.35rem; }
  .hero { padding-bottom: 72px; }
  .hero-statement { padding-top: 44px; }
  .hero .hero-title { font-size: 1.75rem; }
  .hero-emblem { width: 170px; height: 170px; }
  .hero-orb-1 { width: 74px; height: 74px; left: -22px; top: calc(clamp(200px, 28vw, 380px) - 40px); }
  .hero-orb-2 { width: 36px; height: 36px; left: 46px; top: calc(clamp(200px, 28vw, 380px) - 14px); }
  .hero-orb-3 { width: 64px; height: 64px; right: -20px; top: calc(clamp(200px, 28vw, 380px) - 36px); bottom: auto; }
  .hero-orb-4 { display: none; }
  .page-hero::after { width: 120px; height: 120px; right: -50px; top: 10px; }
  .page-hero::before { width: 44px; height: 44px; right: 50px; top: 8px; }
}

/* ===== v6: marca oficial y método MYM ===== */
.brand { gap: 10px; }
.brand-iso { display: none; }
.brand-word { height: 32px; width: auto; }
.brand-light .brand-iso { display: block; height: 72px; width: auto; }
.brand-light .brand-word { height: 28px; }
.metodo-lead { max-width: 40em; margin: -.4em auto 2.6em; color: var(--texto-suave); font-size: 1.1rem; }
.metodo { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--linea); }
.metodo li { padding: 28px 24px 8px; border-left: 1px solid var(--linea); }
.metodo li:first-child { border-left: 0; padding-left: 0; }
.metodo-num { display: block; font-family: var(--font-titulos); font-style: italic; font-size: 2.6rem; line-height: 1; color: var(--acento-vivo); margin-bottom: 14px; }
.metodo h3 { font-family: var(--font-titulos); font-weight: 400; font-size: 1.9rem; margin-bottom: .3em; }
.metodo p { color: var(--texto-suave); margin: 0; font-size: .98rem; }
.metodo-cierre { font-family: var(--font-titulos); font-style: italic; font-size: clamp(1.4rem, 2.4vw, 1.9rem); color: var(--profundo); margin: 2.2em 0 0; }
@media (max-width: 1020px) { .metodo { grid-template-columns: 1fr 1fr; } .metodo li:nth-child(3) { border-left: 0; padding-left: 0; } }
@media (max-width: 680px) {
  .brand-word { height: 24px; }
  .metodo { grid-template-columns: 1fr; } .metodo li { border-left: 0; padding: 22px 0 18px; border-bottom: 1px solid var(--linea); }
}
.info-grid-2 { grid-template-columns: 1fr 1fr; }
@media (max-width: 680px) { .info-grid-2 { grid-template-columns: 1fr; } }

/* ===== v7: titular corto + párrafo en el primer fold ===== */
.hero .hero-title { font-size: clamp(2.4rem, 5vw, 4rem); line-height: 1.08; margin-bottom: .45em; max-width: 18em; }
.hero-statement .hero-lead { max-width: 40em; font-size: 1.15rem; margin-bottom: 4.2em; }
@media (prefers-reduced-motion: no-preference) { .js-anim .hero-statement > :nth-child(5) { animation-delay: .6s; } }
@media (max-width: 680px) { .hero .hero-title { font-size: 2.1rem; } .hero-statement .hero-lead { font-size: 1.02rem; } .hero-orb-3.orb-argelia { width: 64px; height: 64px; right: -20px; } }
.momentos { list-style: none; padding: 0; margin: 0 0 8px; }
.momentos li { padding: 14px 0 14px 22px; border-top: 1px solid var(--linea); position: relative; color: var(--texto-suave); }
.momentos li::before { content: ""; position: absolute; left: 0; top: 24px; width: 8px; height: 8px; border-radius: 50%; background: var(--acento-vivo); }
.momentos strong { color: var(--profundo); }
.historia { max-width: 820px; }
.historia h2 { margin-bottom: .8em; }
.historia .prose { max-width: none; font-size: 1.08rem; }
.historia-frase { font-family: var(--font-titulos); font-style: italic; font-size: clamp(1.6rem, 3vw, 2.3rem); line-height: 1.2; color: var(--acento-vivo); margin: .8em 0; padding-left: 22px; border-left: 2px solid var(--durazno); }
.historia-cita { margin: 2.4em 0 0; padding: 32px 36px; background: var(--hielo); border-radius: 6px; }
.historia-cita blockquote { margin: 0; }
.historia-cita blockquote p { font-family: var(--font-titulos); font-size: clamp(1.35rem, 2.4vw, 1.75rem); line-height: 1.3; color: var(--profundo); margin: 0 0 .6em; }
.historia-cita figcaption { color: var(--texto-suave); font-size: .95rem; }
@media (max-width: 680px) { .historia-cita { padding: 24px 20px; } }
.historia-cita figcaption .firma { display: block; width: min(300px, 70%); height: auto; margin-top: .2em; }
