/* Refinamiento de la dirección visual original de la Dra. Castaños. */
:root {
  --bg: #f9e8ea;
  --bg-soft: #eacccc;
  --surface: #fffdfc;
  --surface-2: #fff;
  --ink: #633d44;
  --ink-soft: #7a545c;
  --accent: #aa7c81;
  --accent-text: #8f5760;
  --accent-deep: #633d44;
  --line: rgba(99, 61, 68, .14);
  --line-strong: rgba(99, 61, 68, .28);
  --shadow: 0 18px 42px -26px rgba(99, 61, 68, .32);
  --shadow-sm: 0 8px 22px -16px rgba(99, 61, 68, .26);
  --radius-lg: 28px;
  --radius-md: 18px;
  --font-display: "Fraunces", "Iowan Old Style", "Palatino Linotype", serif;
  --font-body: "Work Sans", "Segoe UI", system-ui, sans-serif;
  --container: 1360px;
  --gutter: clamp(24px, 4vw, 48px);
  --panel-inset: clamp(12px, 2vw, 32px);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 104px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--accent); color: #fff; }
h1, h2, h3, h4 {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 500;
  text-wrap: balance;
}
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a:focus-visible {
  outline: 2px solid var(--accent-text);
  outline-offset: 5px;
}
.wrap { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.eyebrow {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .15em;
  line-height: 1.6;
  text-transform: uppercase;
  color: var(--accent-text);
}
.grain {
  position: fixed; inset: 0; pointer-events: none; z-index: 1;
  opacity: .2; mix-blend-mode: multiply;
  background-image: radial-gradient(circle at 1px 1px, rgba(99, 61, 68, .06) 1px, transparent 0);
  background-size: 3px 3px;
}
.reveal {
  opacity: 1;
  transform: none;
  transition: opacity .7s ease, transform .7s cubic-bezier(.16, .8, .24, 1);
}
.motion-ready .reveal:not(.in) { opacity: 0; transform: translateY(20px); }
.reveal-1 { transition-delay: .04s; }
.reveal-2 { transition-delay: .1s; }
.reveal-3 { transition-delay: .16s; }
.reveal-4 { transition-delay: .2s; }

/* Navegación y botones: misma identidad, áreas de pulsación cómodas. */
header.site {
  position: sticky; top: 0; z-index: 50;
  background: rgba(249, 232, 234, .94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(99, 61, 68, .1);
  box-shadow: 0 0 0 rgba(99, 61, 68, 0);
  transition: box-shadow .4s ease, background .4s ease;
}
header.site.scrolled {
  background: rgba(249, 232, 234, .98);
  box-shadow: 0 10px 30px -20px rgba(99, 61, 68, .45);
}
.nav {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  max-width: var(--container); margin-inline: auto;
  padding: 16px var(--gutter);
  transition: padding .4s cubic-bezier(.16, .8, .24, 1);
}
header.site.scrolled .nav { padding-block: 11px; }
.brand, .foot-brand { display: flex; align-items: center; gap: 10px; flex: none; }
.brand-logo { width: 36px; height: 36px; object-fit: contain; }
.brand-text { display: flex; flex-direction: column; gap: 3px; line-height: 1.15; }
.brand-text .name { font-family: var(--font-display); font-size: 1.05rem; font-weight: 600; }
.brand-text .role { font-size: .65rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); }
nav.links { display: flex; align-items: center; gap: 30px; }
nav.links a { position: relative; padding: 10px 0; font-size: .86rem; font-weight: 500; }
nav.links a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 6px; height: 1px;
  background: var(--ink); transition: right .25s ease;
}
nav.links a:hover::after { right: 0; }
.nav-cta { display: flex; flex: none; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 12px 23px; border: 1px solid transparent; border-radius: 999px;
  font-family: var(--font-body); font-size: .85rem; font-weight: 600; line-height: 1.45;
  letter-spacing: .01em; white-space: nowrap; cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}
.btn-primary { background: var(--ink); color: #fdf3f2; box-shadow: var(--shadow-sm); }
.btn-ghost { border-color: var(--line-strong); background: transparent; color: var(--ink); }

/* Retrato del hero igual a la referencia más reciente: imagen a sangre a la derecha. */
.hero { position: relative; isolation: isolate; overflow: hidden; padding: 90px 0 100px; }
.hero-grid { position: relative; z-index: 2; }
.hero-copy { width: 48%; max-width: 560px; }
.hero h1 { max-width: 550px; margin-top: 22px; font-size: clamp(2.6rem, 4.6vw, 4.1rem); line-height: 1.08; letter-spacing: -.025em; }
.hero h1 em { color: var(--accent); font-style: italic; font-weight: 400; }
.hero-sub { max-width: 45ch; margin-top: 26px; color: var(--ink-soft); font-size: 1.08rem; line-height: 1.75; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 34px; }
.hero-stats { display: flex; align-items: flex-start; gap: 30px; margin-top: 48px; }
.stat { flex: 1; min-width: 0; }
.stat b { display: block; color: var(--ink); font-family: var(--font-display); font-size: 1.9rem; font-weight: 500; line-height: 1.3; }
.stat span { display: block; margin-top: 5px; color: var(--ink-soft); font-size: .78rem; line-height: 1.5; }
.hero-portrait { position: absolute; inset: 0 0 0 auto; width: 44.5%; z-index: 0; }
.hero-portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.hero-badge {
  position: absolute; z-index: 2;
  border-radius: 14px; overflow: hidden;
  border: 5px solid var(--surface-2); box-shadow: var(--shadow-sm);
}
.hero-badge img { width: 100%; height: 100%; object-fit: cover; display: block; animation: float 6.5s ease-in-out infinite; }
.hero-badge.hb1 { width: 112px; height: 112px; top: 9%; left: -22px; transform: rotate(-9deg); }
.hero-badge.hb2 { width: 80px; height: 80px; bottom: 16%; left: 34px; transform: rotate(11deg); }
.hero-badge.hb2 img { animation-duration: 5.5s; animation-delay: 1.3s; }

/* Presentación: marco fino abierto que se une visualmente al retrato. */
.quote-section { background: var(--bg-soft); padding: 100px 0; }
.quote-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(56px, 7vw, 100px); align-items: center; }
.quote-inner { position: relative; max-width: 540px; padding-block: 20px; }
.quote-inner::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  inset: -48px -120px -48px -64px; border: 1px solid var(--line-strong); border-right: 0;
  border-radius: 130px 0 0 130px;
}
.quote-grid { isolation: isolate; }
.quote-mark { font-family: var(--font-display); font-size: 4.6rem; color: var(--accent); line-height: 1; opacity: .7; margin-bottom: -6px; }
.quote-inner p.big { font-family: var(--font-display); font-size: clamp(1.4rem, 2.35vw, 1.95rem); font-weight: 400; font-style: italic; line-height: 1.53; }
.quote-attr { display: flex; flex-direction: column; gap: 6px; margin-top: 28px; }
.quote-attr .n { font-size: .9rem; font-weight: 600; }
.quote-attr .r { font-size: .7rem; line-height: 1.6; color: var(--ink-soft); text-transform: uppercase; letter-spacing: .075em; }
.quote-photo { width: 100%; max-width: 490px; aspect-ratio: 4 / 5; justify-self: end; overflow: hidden; border-radius: 50% 50% 22% 22% / 38% 38% 16% 16%; box-shadow: var(--shadow); }
.quote-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; transition: transform .7s cubic-bezier(.16, .8, .24, 1); }
.quote-photo:hover img { transform: scale(1.045); }

/* Misma estructura de servicios, con una jerarquía y espaciado más consistentes. */
.section { padding: 108px 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; margin-bottom: 54px; }
.section-head h2 { max-width: 16ch; margin-top: 14px; font-size: clamp(2rem, 3.4vw, 2.7rem); line-height: 1.35; letter-spacing: -.018em; }
.section-head .desc { max-width: 38ch; padding-bottom: 5px; color: var(--ink-soft); font-size: .98rem; line-height: 1.75; }
.services-columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.service-card { padding: 38px 40px; border: 1px solid rgba(99, 61, 68, .09); border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow-sm); transition: box-shadow .4s ease, transform .4s cubic-bezier(.16, .8, .24, 1), border-color .4s ease; }
.service-card .tag { display: inline-flex; padding: 8px 14px; border-radius: 999px; background: var(--bg-soft); color: var(--ink); font-size: .7rem; font-weight: 700; letter-spacing: .085em; text-transform: uppercase; }
.service-card h3 { margin-top: 22px; font-size: 1.43rem; line-height: 1.45; text-wrap: pretty; }
.service-list { display: flex; flex-direction: column; list-style: none; margin: 24px 0 0; padding: 0; }
.service-list li { display: flex; align-items: baseline; gap: 12px; padding: 13px 0; border-top: 1px solid var(--line); font-size: .96rem; line-height: 1.6; }
.service-list li:first-child { border-top: 0; }
.service-list .dot { width: 5px; height: 5px; flex: none; border-radius: 50%; background: var(--accent); transform: translateY(-2px); }
.service-list .sub { display: block; margin-top: 3px; color: var(--ink-soft); font-size: .84rem; line-height: 1.6; }
.service-note { margin-top: 28px; padding-top: 25px; border-top: 1px solid var(--line); }
.service-note p { color: var(--ink-soft); font-size: .94rem; line-height: 1.8; }

/* Testimonios: se mantiene el fondo vino de la captura; la foto va en un marco de arco, como en Presentación. */
#testimonios { padding: 86px 0 0; background: var(--ink); color: var(--bg); }
.testi-grid { display: grid; grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr); gap: 72px; align-items: center; }
.testi-photo { position: relative; width: 100%; max-width: 440px; margin-inline: auto; }
.testi-bleed-wrap {
  position: relative; width: 100%;
  aspect-ratio: 956 / 1470; overflow: hidden;
  border-radius: 50% 50% 22% 22% / 38% 38% 16% 16%;
  box-shadow: var(--shadow);
}
.testi-bleed-photo { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; }
.testi-float { position: absolute; z-index: 2; pointer-events: auto; filter: drop-shadow(0 10px 14px rgba(29, 13, 17, .2)); transition: transform .4s cubic-bezier(.16, .8, .24, 1), filter .4s ease; }
.testi-float img { width: 100%; height: auto; animation: float 7s ease-in-out infinite; }
.testi-float.f1 { width: 168px; left: -15%; top: -9%; rotate: -8deg; }
.testi-float.f2 { width: 144px; right: -13%; bottom: -7%; rotate: 9deg; }
.testi-float.f2 img { animation-delay: 1.1s; }
.testi-content { padding-bottom: 86px; }
.testi-content .section-head { margin-bottom: 34px; }
.testi-content h2 { color: #fdf3f2; }
.testi-content .eyebrow { color: #eacccc; }
.testi-stack { display: flex; flex-direction: column; gap: 20px; }
.test-card { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 28px 30px; border: 1px solid rgba(255,255,255,.4); border-radius: var(--radius-md); background: var(--surface); color: var(--ink); box-shadow: var(--shadow-sm); transition: box-shadow .4s cubic-bezier(.16, .8, .24, 1), transform .4s cubic-bezier(.16, .8, .24, 1); }
.test-card::before { content: "\201C"; position: absolute; top: 10px; right: 22px; font-family: var(--font-display); font-size: 2.6rem; color: var(--bg-soft); }
.stars { display: flex; gap: 5px; margin-bottom: 2px; }
.stars svg { width: 16px; height: 16px; opacity: 0; transform: scale(.3) rotate(-18deg); transition: opacity .5s ease, transform .5s cubic-bezier(.34, 1.56, .64, 1); }
.test-card.in .stars svg { opacity: 1; transform: scale(1) rotate(0deg); }
.test-card.in .stars svg:nth-child(1) { transition-delay: .08s; }
.test-card.in .stars svg:nth-child(2) { transition-delay: .15s; }
.test-card.in .stars svg:nth-child(3) { transition-delay: .22s; }
.test-card.in .stars svg:nth-child(4) { transition-delay: .29s; }
.test-card.in .stars svg:nth-child(5) { transition-delay: .36s; }
.test-card p { position: relative; font-size: .98rem; line-height: 1.75; opacity: 0; transform: translateY(8px); transition: opacity .6s ease, transform .6s ease; transition-delay: .42s; }
.test-card.in p { opacity: 1; transform: none; }
.who { display: flex; align-items: center; gap: 10px; opacity: 0; transform: translateY(8px); transition: opacity .6s ease, transform .6s ease; transition-delay: .55s; }
.test-card.in .who { opacity: 1; transform: none; }
.avatar { display: flex; align-items: center; justify-content: center; width: 34px; height: 34px; flex: none; border-radius: 50%; background: linear-gradient(135deg, var(--accent), var(--ink)); color: #fff; font-family: var(--font-display); font-size: .78rem; font-weight: 600; }
.who span { color: var(--ink-soft); font-size: .8rem; line-height: 1.55; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }

/* Ubicaciones: alineaciones compartidas y horarios fáciles de recorrer. */
#ubicaciones { margin: 0 var(--panel-inset); border-radius: 48px; background: var(--bg-soft); }
#ubicaciones .wrap { max-width: calc(var(--container) - var(--panel-inset) - var(--panel-inset)); padding-inline: calc(var(--gutter) - var(--panel-inset)); }
.loc-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.loc-card { display: flex; flex-direction: column; padding: 32px; border: 1px solid rgba(99, 61, 68, .1); border-radius: var(--radius-md); background: var(--surface); box-shadow: var(--shadow-sm); transition: border-color .35s ease, background .35s ease; }
.loc-top { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.loc-top h3 { font-size: 1.25rem; line-height: 1.45; text-wrap: pretty; }
.loc-pin { display: flex; align-items: center; justify-content: center; width: 38px; height: 38px; flex: none; border-radius: 50%; background: var(--bg-soft); }
.loc-pin svg { width: 18px; height: 18px; }
.loc-schedule { display: flex; flex-direction: column; margin-top: 18px; }
.loc-row { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 12px 0; border-top: 1px solid var(--line); font-size: .9rem; }
.loc-row:first-child { border-top: 0; }
.loc-row .day, .loc-row .time { display: inline-flex; align-items: center; gap: 8px; }
.loc-row .day { font-weight: 600; }
.loc-row .time { color: var(--ink-soft); font-family: var(--font-display); font-style: italic; white-space: nowrap; }
.loc-row svg { width: 15px; height: 15px; flex: none; opacity: .8; }
.loc-meta { display: flex; flex-direction: column; gap: 6px; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); color: var(--ink-soft); font-size: .85rem; line-height: 1.7; }
.loc-meta a { color: var(--ink); font-weight: 600; }

/* Cierre: texto, botón y retrato con espacio propio, sin alterar los mensajes. */
.cta-section { padding: 64px 0 104px; }
.cta-wrap { position: relative; }
.cta-box {
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px;
  min-height: 428px; padding: 64px; border-radius: 36px;
  background: linear-gradient(135deg, var(--ink), #7a4b53); color: #fbeeee;
  box-shadow: var(--shadow);
}
.cta-copy { max-width: 460px; }
.cta-box h2 { max-width: 16ch; margin-top: 12px; color: #fdf3f2; font-size: clamp(1.8rem, 3vw, 2.4rem); line-height: 1.4; letter-spacing: -.015em; }
.cta-box p { max-width: 40ch; margin-top: 18px; color: #f0d7d7; font-size: 1rem; line-height: 1.75; }
.cta-float-btn.btn-primary { position: relative; z-index: 4; align-self: start; justify-self: start; margin-top: 48px; background: #fdf3f2; color: var(--ink); font-size: .9rem; padding: 15px 25px; animation: float 5s ease-in-out infinite; }
.cta-figure { position: absolute; z-index: 3; right: calc(var(--gutter) + 2px); bottom: 0; width: 285px; }
.cta-photo-crop { position: relative; width: 100%; aspect-ratio: 806 / 1322; overflow: hidden; }
/* El archivo original se conserva: este encuadre solo retira sus márgenes transparentes. */
.cta-photo-crop .cta-photo { position: absolute; width: 106.576%; max-width: none; height: auto; left: -3.97%; top: 0; transition: transform .5s cubic-bezier(.16, .8, .24, 1); }
footer { border-top: 1px solid var(--line); padding: 40px 0 30px; }
.foot-row { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 24px; }
.foot-brand .brand-logo { width: 28px; height: 28px; }
.foot-links { display: flex; align-items: center; flex-wrap: wrap; gap: 26px; font-size: .86rem; }
.foot-links a { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; }
.foot-links svg { width: 17px; height: 17px; flex: none; }
.foot-note { margin-top: 22px; text-align: center; color: var(--ink-soft); font-size: .76rem; }

@media (hover: hover) {
  .btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 24px -14px rgba(99, 61, 68, .5); }
  .btn-ghost:hover { background: var(--surface); transform: translateY(-2px); }
  .foot-links a:hover, .loc-meta a:hover { text-decoration: underline; text-underline-offset: 4px; }
  .service-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); border-color: transparent; }
  .test-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
  .loc-card:hover { border-color: var(--accent); background: var(--surface-2); }
  .testi-float:hover { transform: scale(1.07); filter: drop-shadow(0 16px 22px rgba(29, 13, 17, .32)); z-index: 5; }
  .cta-figure:hover .cta-photo { transform: scale(1.035); }
}
@media (max-width: 1199px) {
  nav.links { gap: 20px; }
  .hero { padding-block: 72px 80px; }
  .hero-copy { width: 49%; }
  .hero h1 { font-size: clamp(2.6rem, 4.45vw, 3.8rem); }
  .hero-stats { gap: 18px; }
  .quote-grid { gap: 64px; }
  .quote-inner::before { left: -24px; right: -90px; top: -26px; bottom: -26px; border-radius: 90px 0 0 90px; }
  .service-card { padding: 32px; }
  .testi-grid { gap: 48px; }
  .test-card { padding: 26px; }
  .loc-card { padding: 28px; }
  .cta-box { display: block; min-height: 430px; padding: 50px; }
  .cta-copy { max-width: calc(100% - 305px); }
  .cta-float-btn.btn-primary { margin-top: 28px; }
  .cta-figure { width: 285px; right: calc(var(--gutter) + 40px); }
}
@media (max-width: 920px) {
  :root { --panel-inset: 16px; }
  nav.links { display: none; }
  .hero { display: flex; flex-direction: column; padding: 0; }
  .hero-grid { order: 1; padding-block: 48px 56px; }
  .hero-copy { width: 100%; max-width: 680px; margin-inline: auto; }
  .hero h1 { max-width: 15ch; font-size: clamp(2.55rem, 6.5vw, 3.8rem); }
  .hero-sub { max-width: 54ch; }
  .hero-portrait { position: relative; inset: auto; order: 0; width: 100%; height: 490px; }
  .hero-portrait img { object-position: 50% 27%; }
  .hero-badge { display: none; }
  .hero-stats { max-width: 550px; gap: 24px; margin-top: 36px; }
  .quote-section { padding-block: 76px; }
  .quote-grid { grid-template-columns: 1.1fr .9fr; gap: 36px; }
  .quote-inner::before { inset: -20px -65px -20px -20px; border-radius: 70px 0 0 70px; }
  .quote-inner p.big { font-size: 1.55rem; }
  .section { padding-block: 80px; }
  .section-head { gap: 32px; margin-bottom: 38px; }
  .section-head .desc { max-width: 32ch; font-size: .93rem; }
  .services-columns { gap: 20px; }
  .service-card { padding: 26px; }
  .service-card h3 { font-size: 1.3rem; }
  .service-card .tag { font-size: .63rem; padding: 8px 11px; }
  #testimonios { padding-top: 68px; }
  .testi-grid { grid-template-columns: minmax(0, 1fr); gap: 38px; }
  .testi-photo { max-width: min(62%, 340px); }
  .testi-content { padding-bottom: 68px; }
  .testi-content .section-head h2 { font-size: 2rem; }
  .test-card { padding: 24px; }
  .test-card p { font-size: .94rem; }
  .testi-float.f1 { left: -20%; }
  .testi-float.f2 { right: -18%; }
  #ubicaciones { margin-inline: 16px; border-radius: 32px; }
  #ubicaciones .wrap { padding-inline: calc(var(--gutter) - 16px); }
  .loc-grid { gap: 20px; }
  .loc-card { padding: 24px; }
  .loc-row { flex-wrap: wrap; gap: 4px 14px; }
  .cta-section { padding-top: 48px; padding-bottom: 90px; }
  .cta-box { padding: 42px; }
  .cta-copy { max-width: calc(100% - 267px); }
  .cta-figure { width: 255px; right: calc(var(--gutter) + 28px); }
}
@media (max-width: 700px) {
  .quote-grid { grid-template-columns: 1fr; gap: 46px; }
  .quote-inner { max-width: 510px; padding: 12px 18px; margin-inline: auto; }
  .quote-inner::before { inset: -12px 0; border-right: 1px solid var(--line-strong); border-radius: 44px 10px 10px 44px; }
  .quote-photo { max-width: 360px; justify-self: center; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 22px; }
  .section-head .desc { max-width: 46ch; }
  .services-columns, .loc-grid { grid-template-columns: minmax(0, 1fr); }
  .service-card { padding: 30px; }
  .service-card .tag { font-size: .67rem; }
  .service-card h3 { font-size: 1.42rem; }
  #testimonios { padding-top: 0; }
  .testi-grid { grid-template-columns: minmax(0, 1fr); gap: 38px; }
  .testi-photo { padding-top: 52px; max-width: min(62%, 300px); }
  .testi-content { padding-bottom: 60px; }
  .testi-content .section-head h2 { font-size: 2.1rem; }
  .testi-float.f1 { width: 133px; left: -18%; top: 4%; }
  .testi-float.f2 { width: 113px; right: -16%; }
  .loc-card { padding: 28px; }
  .loc-row { flex-wrap: nowrap; }
  .cta-section { padding-top: 44px; padding-bottom: 68px; }
  .cta-box { padding: 34px 30px 385px; min-height: 0; border-radius: 28px; }
  .cta-copy { max-width: none; }
  .cta-box h2 { max-width: 16ch; font-size: 2rem; }
  .cta-float-btn.btn-primary { margin-top: 26px; max-width: 100%; padding: 14px 20px; font-size: .85rem; }
  .cta-figure { width: 214px; right: calc(var(--gutter) + 30px); }
  .foot-row { flex-direction: column; align-items: flex-start; gap: 16px; }
  .foot-links { gap: 22px; }
  .foot-note { text-align: left; line-height: 1.7; }
}
@media (max-width: 480px) {
  :root { --gutter: 22px; }
  html { scroll-padding-top: 88px; }
  .nav { gap: 12px; padding: 13px 18px; }
  .brand { gap: 7px; }
  .brand-logo { width: 28px; height: 28px; }
  .brand-text .name { font-size: .9rem; }
  .brand-text .role { font-size: .54rem; letter-spacing: .065em; }
  .nav-cta .btn { min-height: 42px; padding: 10px 14px; font-size: .75rem; }
  .hero-portrait { height: 400px; }
  .hero-portrait img { object-position: 50% 24%; }
  .hero-grid { padding-block: 38px 48px; }
  .hero-copy > .eyebrow { display: block; max-width: 36ch; font-size: .65rem; }
  .hero h1 { font-size: 2.7rem; margin-top: 18px; }
  .hero-sub { font-size: 1rem; line-height: 1.75; margin-top: 22px; }
  .hero-cta { gap: 10px; margin-top: 28px; }
  .hero-cta .btn { padding-inline: 18px; font-size: .8rem; }
  .hero-stats { gap: 14px; }
  .stat b { font-size: 1.65rem; }
  .stat span { font-size: .71rem; }
  .quote-section { padding-block: 60px; }
  .quote-inner p.big { font-size: 1.45rem; }
  .quote-attr .r { font-size: .65rem; }
  .section { padding-block: 64px; }
  .section-head h2 { font-size: 2.05rem; }
  .service-card { padding: 26px 24px; border-radius: 23px; }
  .test-card { padding: 24px; }
  .loc-card { padding: 24px 22px; }
  .loc-top h3 { font-size: 1.16rem; }
  .loc-row { flex-wrap: wrap; gap: 4px 12px; font-size: .86rem; }
  .loc-meta { font-size: .82rem; }
  .cta-section { padding-top: 40px; padding-bottom: 64px; }
  .cta-box { padding: 32px 24px 384px; }
  .cta-box h2 { font-size: 1.9rem; }
  .cta-box p { font-size: .96rem; }
  .cta-float-btn.btn-primary { padding-inline: 17px; font-size: .78rem; white-space: normal; }
  footer { padding-block: 32px 26px; }
}
@media (max-width: 360px) {
  :root { --gutter: 18px; }
  .nav { padding-inline: 12px; gap: 8px; }
  .brand-text .name { font-size: .83rem; }
  .brand-text .role { font-size: .5rem; }
  .nav-cta .btn { padding-inline: 12px; }
  .hero h1 { font-size: 2.35rem; }
  .hero-cta .btn { padding-inline: 14px; font-size: .76rem; }
  .hero-stats { gap: 10px; }
  .stat span { font-size: .68rem; }
  .service-card { padding-inline: 22px; }
  .foot-links { gap: 16px; font-size: .8rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .motion-ready .reveal:not(.in) { opacity: 1; transform: none; }
}
