/* Las fotos de piel llevan encima una malla hexagonal fina (hex.svg): las células de la capa externa de la piel son aproximadamente hexagonales. */
/* Tipografías alojadas en la propia web (sin llamadas a Google Fonts). */
@font-face {
  font-family: "Fraunces";
  src: url("/assets/fonts/fraunces.woff2") format("woff2");
  font-weight: 300 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("/assets/fonts/fraunces-italic.woff2") format("woff2");
  font-weight: 300 600;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Montserrat";
  src: url("/assets/fonts/montserrat.woff2") format("woff2");
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --cream: #fbf8f4;
  --sand: #f3ebe1;
  --skin: #e6d2bd;
  --line: #e7ddd1;
  --ink: #1d2a2c;
  --ink-soft: #4f5d5f;
  --teal: #266b73;
  --teal-deep: #17464c;
  --teal-pale: #e3eeee;
  --white: #ffffff;
  --radius: 18px;
  --shadow: 0 1px 2px rgba(23, 70, 76, .06), 0 12px 32px -12px rgba(23, 70, 76, .18);
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --wrap: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16.5px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-underline-offset: 3px; }
a:hover { color: var(--teal-deep); }
h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 .5em;
  color: var(--teal-deep);
  font-variation-settings: "opsz" 96;
}
h1 { font-size: clamp(2.3rem, 5vw, 3.9rem); }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.5rem); }
h3 { font-size: 1.3rem; font-variation-settings: "opsz" 36; }
h1 em, h2 em { font-style: italic; color: var(--teal); }
p { margin: 0 0 1em; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--teal-deep); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 4px; }

.eyebrow {
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 1rem;
}
.eyebrow-light { color: var(--skin); }
.lead { font-size: 1.15rem; color: var(--ink-soft); max-width: 46ch; }
.muted { color: var(--ink-soft); }
.prose p { max-width: 62ch; }

/* Botones y enlaces */
.btn {
  display: inline-flex; align-items: center; justify-content: center; white-space: nowrap;
  gap: .5em;
  padding: .85em 1.6em;
  border-radius: 999px;
  background: var(--teal-deep);
  color: #fff;
  font-weight: 600;
  font-size: .95rem;
  text-decoration: none;
  border: 1.5px solid var(--teal-deep);
  transition: background .2s, color .2s, transform .2s;
}
.btn:hover { background: var(--teal); border-color: var(--teal); color: #fff; transform: translateY(-1px); }
.btn-small { padding: .6em 1.2em; font-size: .88rem; }
.btn-ghost { background: transparent; color: var(--teal-deep); }
.btn-ghost:hover { background: var(--teal-pale); color: var(--teal-deep); border-color: var(--teal-deep); }
.btn-light { background: var(--cream); color: var(--teal-deep); border-color: var(--cream); }
.btn-light:hover { background: #fff; color: var(--teal-deep); border-color: #fff; }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn-outline-light:hover { background: rgba(255,255,255,.1); border-color: #fff; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 1.6rem; }
.link {
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1.5px solid currentColor;
  padding-bottom: 2px;
}
.link::after { content: " →"; }

/* Franja superior: teléfono, dirección y banderas */
.topbar { background: var(--teal-deep); color: rgba(255,255,255,.82); font-size: .8rem; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 38px; }
.topbar-info { margin: 0; display: flex; gap: 10px; align-items: center; white-space: nowrap; overflow: hidden; }
.topbar-info a { color: #fff; text-decoration: none; }
.topbar-info a:hover { text-decoration: underline; }
.langs-switch { display: flex; align-items: center; gap: 6px; list-style: none; margin: 0 0 0 auto; padding: 0; }
.langs-switch a { display: block; padding: 4px; border-radius: 5px; line-height: 0; opacity: .55; transition: opacity .2s, background .2s; }
.langs-switch a:hover { opacity: 1; background: rgba(255,255,255,.1); }
.langs-switch a[aria-current="true"] { opacity: 1; background: rgba(255,255,255,.14); }
.flag { display: block; width: 22px; height: 15px; border-radius: 2px; box-shadow: 0 0 0 1px rgba(255,255,255,.25); }
.legal-note { background: var(--sand); border-radius: 12px; padding: 14px 18px; font-size: .9rem; color: var(--ink-soft); }

/* Cabecera */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 248, 244, .88);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 24px; }
.brand { flex: none; white-space: nowrap; display: flex; align-items: center; gap: 12px; text-decoration: none; line-height: 1.1; color: var(--teal-deep); }
.brand .logo { width: 44px; height: 44px; flex: none; }
.brand-text { display: flex; flex-direction: column; }
.brand-name { font-family: var(--serif); font-size: 1.35rem; color: var(--teal-deep); }
.brand-tag { font-size: .68rem; letter-spacing: .28em; text-transform: uppercase; color: var(--teal); margin-top: 4px; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav ul { display: flex; gap: 22px; list-style: none; margin: 0; padding: 0; }
.nav ul a { white-space: nowrap; color: var(--ink); text-decoration: none; font-size: .92rem; font-weight: 500; padding: 6px 0; border-bottom: 1.5px solid transparent; }
.nav ul a:hover, .nav ul a[aria-current="page"] { color: var(--teal-deep); border-bottom-color: var(--teal); }
.nav-toggle { display: none; }

/* Inicio: portada */
.hero { position: relative; overflow: hidden; padding: 72px 0 88px; }
.hero::before {
  content: "";
  position: absolute; top: 0; right: 0; bottom: 0; width: 48%;
  background: url("/assets/img/hex.svg") 0 0 / 48px 27.713px, url("/assets/img/piel.jpg") center / cover;
  opacity: .75;
  -webkit-mask: var(--hex-mask, none) 0 0 / 100% 100% no-repeat;
  mask: var(--hex-mask, none) 0 0 / 100% 100% no-repeat;
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero-text h1 { margin-bottom: .45em; }
.hero-photo { margin: 0; }
/* Retrato en hexágono (misma orientación que la malla): marco crema y sombra suave */
.hex-marco {
  display: block; aspect-ratio: 2 / 1.7320508;
  clip-path: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%);
  background: var(--cream); padding: 8px;
}
.hex-marco img {
  width: 100%; height: 100%; object-fit: cover; object-position: 14% center;
  clip-path: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%);
}
.hero-photo, .page-head-photo { filter: drop-shadow(0 14px 22px rgba(23, 70, 76, .2)); }
.langs { font-size: .9rem; color: var(--ink-soft); margin-top: 1.4rem; }
.langs::before { content: "◦ "; color: var(--teal); }

/* Cifras */
.facts { background: var(--teal-deep); color: #fff; }
.facts-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.fact { padding: 34px 26px; border-left: 1px solid rgba(255,255,255,.14); display: flex; flex-direction: column; gap: 6px; }
.fact:first-child { border-left: 0; padding-left: 0; }
.fact-num { font-family: var(--serif); font-size: 1.6rem; color: var(--skin); line-height: 1.1; }
.fact-label { font-size: .88rem; color: rgba(255,255,255,.82); line-height: 1.5; }

/* Secciones */
.section { padding: 96px 0; }
.section-flush { padding-top: 24px; }
.section-tint { background: var(--sand); }
.two-col { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: start; }
.two-col > div:first-child { position: sticky; top: 110px; }

/* Tarjetas */
.cards { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 40px; }
.card {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 40px;
  color: var(--ink);
  text-decoration: none;
  transition: transform .25s, box-shadow .25s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); color: var(--ink); }
.card p { color: var(--ink-soft); flex: 1; }
.card .link { color: var(--teal); align-self: flex-start; }
.card-kicker.card-kicker-icon { display: flex; align-items: flex-end; gap: 12px; line-height: 1; }
.card-icon { display: inline-flex; flex: none; color: var(--teal); }
.card-icon svg { width: 30px; height: 30px; display: block; margin-bottom: -3px; }
.card-kicker { display: block; font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: var(--teal); margin-bottom: 14px; }

/* Llamada a la acción */
/* Hexágonos sueltos que se desprenden de las fotos de piel (los crea assets/js/hex-mask.js) */
.hex-sueltos { position: absolute; pointer-events: none; }
.hex-sueltos span {
  position: absolute; width: 32px; height: 27.713px;
  clip-path: polygon(0 50%, 25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%);
  background-repeat: repeat, no-repeat;
  --tx: 0px; --ty: 0px; --s: 1;
  transform: translate(var(--tx), var(--ty)) rotate(var(--r)) scale(var(--s));
  animation: hex-flota var(--dur) ease-in-out var(--del) infinite alternate;
}
.hex-sueltos span.grieta { --s: .9; }
@keyframes hex-flota {
  to { transform: translate(calc(var(--tx) + var(--dx)), calc(var(--ty) + var(--dy))) rotate(calc(var(--r) + var(--dr))) scale(var(--s)); }
}
@media (prefers-reduced-motion: reduce) {
  .hex-sueltos span { animation: none; }
}

/* Bloque de cita: turquesa a la izquierda y piel nítida a la derecha, con la curva de la portada */
.cita {
  position: relative;
  overflow: hidden;
  background: var(--teal);
  color: #fff;
  padding: 80px 0;
}
.cita::after {
  content: "";
  position: absolute; top: 0; right: 0; bottom: 0; width: 44%;
  background: url("/assets/img/hex.svg") 0 0 / 48px 27.713px, url("/assets/img/piel.jpg") center / cover;
  -webkit-mask: var(--hex-mask, none) 0 0 / 100% 100% no-repeat;
  mask: var(--hex-mask, none) 0 0 / 100% 100% no-repeat;
}
.cita h2 { color: #fff; }
.cita p { color: rgba(255,255,255,.85); margin-bottom: 0; }
.cita-inner { position: relative; z-index: 1; }
.cita-inner > div { max-width: 56%; }
.cita-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }

/* Cabecera de página interior */
.page-head { padding: 80px 0 56px; }
.page-head .lead { max-width: 60ch; }
.page-head-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 56px; align-items: center; }
.page-head-photo { margin: 0; }
.page-head-skin { background: linear-gradient(90deg, var(--cream) 30%, rgba(251,248,244,.6)), url("/assets/img/hex.svg") 0 0 / 48px 27.713px, url("/assets/img/piel.jpg") center / cover; padding-bottom: 80px; }
.page-head-dark { background: var(--teal-deep); color: #fff; padding-bottom: 80px; }
.page-head-dark h1 { color: #fff; max-width: 20ch; }
.page-head-dark .lead { color: rgba(255,255,255,.85); }

/* Cronología */
.timeline { list-style: none; margin: 0; padding: 0 0 0 28px; border-left: 1.5px solid var(--skin); }
.timeline li { position: relative; padding-bottom: 36px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {
  content: ""; position: absolute; left: -35.5px; top: 8px;
  width: 13px; height: 13px; border-radius: 50%;
  background: var(--cream); border: 2px solid var(--teal);
}
.section-tint .timeline li::before { background: var(--sand); }
.timeline h3 { margin-bottom: .3em; }
.timeline p { color: var(--ink-soft); margin: 0; max-width: 60ch; }
.tl-date { display: block; font-size: .78rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--teal); margin-bottom: 6px; }

/* Listas */
.list-check { list-style: none; margin: 0 0 1.5em; padding: 0; }
.list-check li { position: relative; padding: 12px 0 12px 32px; border-bottom: 1px solid var(--line); }
.list-check li::before { content: ""; position: absolute; left: 4px; top: 22px; width: 12px; height: 7px; border-left: 2px solid var(--teal); border-bottom: 2px solid var(--teal); transform: rotate(-45deg); }
.subhead { margin-top: 2em; }
.langs-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 0; }
.langs-list div { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px 18px; }
.langs-list dt { font-family: var(--serif); font-size: 1.15rem; color: var(--teal-deep); }
.langs-list dd { margin: 0; font-size: .88rem; color: var(--ink-soft); }
.chips { list-style: none; margin: 0 0 32px; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 9px 18px; font-size: .93rem; }
.note { background: var(--teal-pale); border-radius: var(--radius); padding: 28px 32px; }
.note p { margin: 0; color: var(--ink-soft); }

/* Asesoría */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pillar { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 36px 32px; }
.pillar-num { display: block; font-family: var(--serif); font-size: 2.4rem; color: var(--skin); line-height: 1; margin-bottom: 18px; }
.pillar p { color: var(--ink-soft); margin: 0; }

/* Dónde encontrarme */
.places { display: grid; grid-template-columns: 1fr 1fr; column-gap: 28px; row-gap: 0; }
/* subgrid: imagen, título, dirección y botones quedan a la misma altura en ambas tarjetas */
.place { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: grid; grid-row: span 4; grid-template-rows: subgrid; }
.place img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.place-head { padding: 32px 32px 0; }
.place-head h2 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); margin-bottom: .5em; }
.place-address { display: flex; align-items: flex-start; gap: 10px; color: var(--ink-soft); margin: 0; padding: 0 32px; }
.place-address .pin { flex: none; width: 20px; height: 20px; margin-top: 3px; color: var(--teal); }
.place-actions { display: flex; flex-wrap: wrap; align-items: center; align-self: start; gap: 10px; margin: 24px 32px 28px; padding-top: 20px; border-top: 1px solid var(--line); }
.place-actions .btn { padding: .55em 1.15em; font-size: .85rem; }

/* Contacto */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: stretch; }
.contact-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 44px; }
.hours { margin: 24px 0 0; }
.hours div { display: flex; justify-content: space-between; padding: 16px 0; border-bottom: 1px solid var(--line); }
.hours dt { font-weight: 600; }
.hours dd { margin: 0; font-family: var(--serif); font-size: 1.2rem; color: var(--teal-deep); }
.contact-photo { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; min-height: 360px; }
.contact-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.contact-photo figcaption { position: absolute; left: 20px; right: 20px; bottom: 20px; background: rgba(251,248,244,.94); border-radius: 14px; padding: 18px 22px; font-size: .95rem; line-height: 1.6; }

/* Textos legales */
.legal-text { max-width: 780px; }
.legal-text h2 { font-size: 1.4rem; margin-top: 2em; }
.legal-text h2:first-child { margin-top: 0; }
.legal-text ul { padding-left: 1.2em; }
.legal-text li { margin-bottom: .5em; }
.legal .section { padding-bottom: 96px; }

/* Blog */
.wrap-narrow { max-width: 780px; }
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; color: var(--ink); text-decoration: none; transition: transform .25s, box-shadow .25s; }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); color: var(--ink); }
.post-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.post-card-body { padding: 28px; display: flex; flex-direction: column; flex: 1; }
.post-card h2 { font-size: 1.45rem; }
.post-card p { color: var(--ink-soft); flex: 1; }
.empty { text-align: center; background: #fff; border: 1px dashed var(--skin); border-radius: var(--radius); padding: 64px 24px; }
.empty p { margin: 0; }
.post-head { padding-bottom: 32px; }
.post-head .eyebrow a { color: inherit; text-decoration: none; }
.post-hero { width: 100%; border-radius: var(--radius); margin-bottom: 40px; }
.post-body { padding-bottom: 96px; font-size: 1.05rem; }
.post-body h2 { font-size: 1.7rem; margin-top: 1.6em; }
.post-body h3 { margin-top: 1.4em; }
.post-body ul, .post-body ol { padding-left: 1.2em; }
.post-body li { margin-bottom: .4em; }
.post-body blockquote { margin: 1.5em 0; padding: 4px 0 4px 24px; border-left: 3px solid var(--skin); font-family: var(--serif); font-size: 1.25rem; color: var(--teal-deep); }
.post-disclaimer { margin-top: 3em; padding-top: 1.2em; border-top: 1px solid var(--line); font-size: .88rem; color: var(--ink-soft); }

/* Publicaciones */
.pub-stats { background: var(--teal-deep); color: #fff; }
.pubs { list-style: none; margin: 0; padding: 0; display: grid; gap: 28px; }
.facts-3 { grid-template-columns: repeat(3, 1fr); }
.pubs-index { counter-reset: pub; max-width: 900px; gap: 0; }
.pubs-index .pub { counter-increment: pub; position: relative; padding: 26px 0 26px 64px; border-top: 1px solid var(--line); }
.pubs-index .pub:first-child { border-top: 0; padding-top: 0; }
.pubs-index .pub::before { content: counter(pub, decimal-leading-zero); position: absolute; left: 0; top: 26px; font-family: var(--serif); font-size: 1.5rem; line-height: 1; color: #b08f6e; }
.pubs-index .pub:first-child::before { top: 0; }
.pub h3 { font-size: 1.2rem; margin-bottom: .35em; }
.pub h3 a { color: var(--teal-deep); text-decoration: none; }
.pub h3 a:hover { color: var(--teal); text-decoration: underline; }
.pub-authors { font-size: .9rem; color: var(--ink-soft); margin-bottom: .3em; }
.pub-authors strong { color: var(--ink); font-weight: 600; }
.pub-meta { font-size: .9rem; margin: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: baseline; }
.pub-meta em { color: var(--ink); }
.pub-meta a { font-weight: 600; font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; text-decoration: none; }
.pub-meta a::after { content: " ↗"; }

/* Pie */
.site-footer { background: var(--ink); color: rgba(255,255,255,.78); font-size: .92rem; padding-top: 64px; }
.site-footer a { color: #fff; }
.site-footer .brand-name { color: #fff; font-size: 1.5rem; margin-bottom: .6em; }
.site-footer .muted { color: rgba(255,255,255,.6); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 48px; }
.footer-title { font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; color: var(--skin); font-weight: 600; }
.footer-legal { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px 24px; border-top: 1px solid rgba(255,255,255,.12); padding-top: 22px; padding-bottom: 28px; font-size: .82rem; }
.footer-legal p { margin: 0; }
.footer-legal ul { display: flex; flex-wrap: wrap; gap: 20px; list-style: none; margin: 0; padding: 0; }
.footer-legal a { color: rgba(255,255,255,.78); text-decoration: none; }
.footer-legal a:hover { color: #fff; text-decoration: underline; }

/* Tableta */
@media (max-width: 1260px) {
  .nav-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 12px;
    background: #fff; cursor: pointer;
  }
  .bars, .bars::before, .bars::after { display: block; width: 18px; height: 1.5px; background: var(--teal-deep); position: relative; transition: transform .2s, background .2s; }
  .bars::before, .bars::after { content: ""; position: absolute; left: 0; }
  .bars::before { top: -6px; }
  .bars::after { top: 6px; }
  .menu-open .bars { background: transparent; }
  .menu-open .bars::before { transform: translateY(6px) rotate(45deg); }
  .menu-open .bars::after { transform: translateY(-6px) rotate(-45deg); }
  .nav {
    display: none;
    position: absolute; top: 76px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--cream); border-bottom: 1px solid var(--line);
    padding: 8px 24px 24px;
    box-shadow: 0 20px 30px -20px rgba(0,0,0,.2);
  }
  .menu-open .nav { display: flex; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav ul a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1rem; }
  .nav ul a[aria-current="page"] { border-bottom-color: var(--line); color: var(--teal); }
  .nav .btn { margin-top: 18px; }

  .hero { padding: 40px 0 64px; }
  .hero::before { width: 100%; height: 46%; top: auto; bottom: 0; opacity: .6; }
  .hero-grid, .page-head-grid, .two-col, .cards, .places, .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .places { row-gap: 0; }
  .place + .place { margin-top: 28px; }
  .hero-photo { max-width: 320px; order: -1; }
  .hero::before { top: 0; bottom: auto; height: 300px; }
  .two-col > div:first-child { position: static; }
  .facts-grid { grid-template-columns: 1fr 1fr; }
  .fact { padding: 26px 20px; border-left: 0; border-top: 1px solid rgba(255,255,255,.14); }
  .fact:first-child { padding-left: 20px; }
  .fact:nth-child(-n+2) { border-top: 0; }
  .fact:nth-child(odd) { padding-left: 0; }
  .pillars, .posts { grid-template-columns: 1fr; }
  .facts-3 { grid-template-columns: 1fr; }
  .facts-3 .fact { padding-left: 0; }
  .facts-3 .fact:nth-child(2) { border-top: 1px solid rgba(255,255,255,.14); }
  .pubs-index .pub { padding-left: 48px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .page-head-photo { max-width: 260px; }
}

/* Móvil */
@media (max-width: 560px) {
  .hero-photo { max-width: 230px; }
  .hero::before { height: 220px; }
  .home-bio p:nth-child(2), .home-bio p:nth-child(3) { display: none; }
  .brand .logo { width: 38px; height: 38px; }
  .topbar-info span, .topbar-info { font-size: .78rem; }
  .topbar-info .addr { display: none; }
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .header-inner { height: 68px; }
  .nav { top: 68px; padding: 8px 16px 20px; }
  .section { padding: 64px 0; }
  .section-flush { padding-top: 8px; }
  .card, .contact-card { padding: 28px 24px; }
  .place-head { padding: 24px 24px 0; }
  .place-address { padding: 0 24px; }
  .place-actions { margin: 20px 24px 24px; padding-top: 18px; }
  .cita { padding: 200px 0 60px; }
  .cita::after { width: 100%; height: 150px; bottom: auto; }
  .cita-inner > div { max-width: none; }
  .cita-actions, .cita-actions .btn, .actions .btn { width: 100%; }
  .langs-list { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .post-body { padding-bottom: 64px; }
  .contact-photo { min-height: 300px; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}
