/* =============================================================
   NEXUM · Identidad visual · Hoja de estilos principal
   Sitio estático sin bibliotecas ni dependencias externas
   ============================================================= */
:root {
  --navy: #101d32;
  --navy-deep: #0b1526;
  --navy-mid: #192b46;
  --navy-soft: #263a55;
  --gold: #c6a66a;
  --gold-soft: #e7d4ad;
  --gold-strong: #d9b97f;
  --paper: #f8f7f3;
  --paper-white: #fffefa;
  --text: #14243c;
  --muted: #667083;
  --border: #e7e3d9;
  --font-sans: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --font-serif: Georgia, "Times New Roman", serif;
  --page-max: 1360px;
  --page-pad: clamp(22px, 5.4vw, 92px);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 94px; }
body { margin: 0; background: var(--paper); color: var(--text); font-family: var(--font-sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
body, button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
button, a { touch-action: manipulation; }
svg { display: block; }
::selection { background: var(--gold); color: var(--navy); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }
.skip-link { position: fixed; top: -100px; left: 22px; z-index: 200; color: var(--navy); background: #fff; padding: 12px 18px; border-radius: 2px; font-weight: 700; }
.skip-link:focus { top: 12px; }
.reading-progress { position: fixed; inset: 0 0 auto; height: 3px; z-index: 105; pointer-events: none; }
.reading-progress span { display: block; height: 100%; width: 100%; background: var(--gold-strong); transform: scaleX(0); transform-origin: left; will-change: transform; }

/* Header */
.site-header { position: fixed; inset: 0 0 auto; height: 100px; z-index: 100; color: #fff; border-bottom: 1px solid rgba(225, 216, 193, .17); transition: height .3s ease, background-color .3s ease, border-color .3s ease, box-shadow .3s ease; }
.site-header.is-scrolled, .site-header.menu-open { height: 82px; background: rgba(11, 21, 38, .97); border-bottom-color: rgba(225, 216, 193, .23); box-shadow: 0 14px 32px rgba(0, 0, 0, .12); }
@supports (backdrop-filter: blur(18px)) { .site-header.is-scrolled, .site-header.menu-open { backdrop-filter: blur(18px); background: rgba(11, 21, 38, .92); } }
.header-shell { width: min(100%, var(--page-max)); padding: 0 var(--page-pad); height: 100%; margin: auto; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 15px; flex: 0 0 auto; min-width: 0; }
.brand-symbol { position: relative; width: 33px; height: 36px; border: 1px solid rgba(198, 166, 106, .75); display: grid; place-items: center; transform: skewY(-4deg); }
.brand-symbol span { position: absolute; display: block; background: var(--gold); height: 18px; width: 2px; top: 9px; }
.brand-symbol span:nth-child(1) { left: 10px; }
.brand-symbol span:nth-child(2) { left: 15px; transform: rotate(-35deg); height: 24px; top: 6px; }
.brand-symbol span:nth-child(3) { right: 9px; }
.brand-copy { display: flex; flex-direction: column; gap: 4px; }
.brand-title { font-size: 25px; line-height: 1; font-weight: 750; letter-spacing: .21em; }
.brand-subtitle { font-size: 7.6px; letter-spacing: .16em; color: #b8c0cd; white-space: nowrap; font-weight: 600; }
.desktop-nav { display: flex; align-items: center; gap: 36px; margin-left: auto; }
.nav-link { display: inline-block; position: relative; font-size: 12px; font-weight: 650; letter-spacing: .085em; color: #c3cad6; padding: 17px 0; transition: color .2s ease; }
.nav-link::after { content: ""; position: absolute; bottom: 8px; left: 0; width: 100%; height: 1px; background: var(--gold); transform-origin: left; transform: scaleX(0); transition: transform .24s ease; }
.nav-link:is(:hover, :focus-visible, .is-active) { color: #fff; }
.nav-link:is(:hover, .is-active)::after { transform: scaleX(1); }
.header-action { display: flex; align-items: center; gap: 20px; border: 1px solid rgba(198, 166, 106, .6); color: var(--gold-soft); padding: 15px 17px 15px 20px; font-size: 11px; font-weight: 750; letter-spacing: .055em; white-space: nowrap; transition: background .25s ease, color .25s ease, border-color .25s ease; }
.header-action svg { width: 19px; height: 19px; transition: transform .25s ease; }
.header-action:hover { background: var(--gold); color: var(--navy); border-color: var(--gold); }
.header-action:hover svg { transform: translateX(3px); }
.menu-toggle, .mobile-nav { display: none; }

/* Hero */
.hero { position: relative; min-height: 790px; overflow: hidden; isolation: isolate; background: radial-gradient(ellipse at 88% 34%, #263953 0%, #14243b 29%, transparent 61%), linear-gradient(132deg, #12233b 0%, #0b1628 61%, #111e32 100%); color: #fff; }
.hero-noise { position: absolute; inset: 0; opacity: .28; pointer-events: none; z-index: -1; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.55' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.09'/%3E%3C/svg%3E"); }
.hero-glow { position: absolute; z-index: -1; top: 17%; right: 0; width: 56%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(199, 165, 103, .085), transparent 65%); filter: blur(25px); }
.hero-grid { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, transparent calc(50% - .5px), rgba(198, 166, 106, .045) 50%, transparent calc(50% + .5px)), linear-gradient(rgba(198, 166, 106, .029) 1px, transparent 1px); background-size: 100% 100%, 100% 113px; mask-image: linear-gradient(to right, transparent 12%, #000 72%, transparent 100%); }
.hero-shell { width: min(100%, var(--page-max)); min-height: 790px; padding: 175px var(--page-pad) 136px; margin: 0 auto; position: relative; display: grid; grid-template-columns: minmax(0, 1.13fr) minmax(350px, .87fr); align-items: center; gap: 20px; }
.hero-content { position: relative; z-index: 3; padding-bottom: 16px; }
.hero-kicker { display: inline-flex; align-items: center; gap: 13px; margin-bottom: 32px; color: #e2c99c; font-size: 10px; letter-spacing: .19em; font-weight: 650; }
.kicker-line { display: inline-block; height: 1px; width: 35px; background: var(--gold); }
.kicker-diamond { height: 5px; width: 5px; border: 1px solid var(--gold); transform: rotate(45deg); margin: 0 2px; }
.hero h1 { margin: 0; font-weight: normal; }
.hero-heading-pre { display: block; font-size: clamp(60px, 8vw, 118px); font-weight: 760; letter-spacing: .105em; line-height: 1.08; margin-right: -.105em; color: #fff; }
.hero-heading-main { display: block; font: normal clamp(36px, 4.05vw, 65px)/1.24 var(--font-serif); letter-spacing: -.038em; margin-top: 16px; text-wrap: balance; color: #f5f2eb; }
.hero-heading-main em { font-weight: normal; color: var(--gold-strong); }
.hero-bottom { margin-top: clamp(38px, 6vw, 70px); display: flex; flex-direction: column; align-items: flex-start; gap: 25px; }
.hero-description { display: flex; align-items: center; gap: 14px; }
.hero-rule { display: block; height: 1px; width: 35px; background: rgba(198, 166, 106, .85); }
.hero-description p { margin: 0; font-size: 12px; color: #b8c1cf; letter-spacing: .07em; line-height: 1.6; }
.cta-primary { display: inline-flex; align-items: center; justify-content: space-between; gap: 60px; padding: 7px 7px 7px 23px; min-height: 57px; background: var(--gold); color: #142037; font-size: 12px; font-weight: 800; letter-spacing: .045em; transition: background .24s ease, transform .24s ease, box-shadow .24s ease; }
.cta-primary:hover { background: #ead09c; transform: translateY(-3px); box-shadow: 0 14px 30px rgba(0, 0, 0, .2); }
.cta-circle { height: 43px; width: 43px; display: grid; place-items: center; border: 1px solid rgba(20, 32, 55, .24); }
.cta-circle svg { width: 21px; height: 21px; transition: transform .25s ease; }
.cta-primary:hover .cta-circle svg { transform: translateX(3px); }
.hero-art { position: relative; width: 100%; max-width: 548px; aspect-ratio: 540/590; justify-self: center; margin-right: -28px; }
.architecture { position: absolute; inset: 0; width: 100%; height: 100%; filter: drop-shadow(0 0 28px rgba(198, 166, 106, .055)); animation: artRise 1s .12s both ease-out; }
.art-corner { position: absolute; width: 64px; height: 64px; border-color: rgba(198, 166, 106, .27); border-style: solid; }
.art-corner-top { left: 0; top: 8%; border-width: 1px 0 0 1px; }
.art-corner-bottom { bottom: 9%; right: 0; border-width: 0 1px 1px 0; }
.art-pulse { position: absolute; width: 7px; height: 7px; border: 1px solid var(--gold); border-radius: 50%; box-shadow: 0 0 18px rgba(198, 166, 106, .28); }
.art-pulse-one { top: 22%; left: 7%; }
.art-pulse-two { bottom: 25%; right: 3%; }
.art-label { position: absolute; left: 50%; transform: translateX(-50%); bottom: 1%; color: rgba(232, 210, 171, .65); display: flex; gap: 12px; align-items: center; font-size: 10px; font-weight: 700; letter-spacing: .4em; white-space: nowrap; }
.art-label-rule { height: 1px; width: 36px; background: rgba(198, 166, 106, .55); }
.art-label-dot { height: 3px; width: 3px; border-radius: 50%; background: var(--gold); }
.hero-baseline { position: absolute; inset: auto 0 0; border-top: 1px solid rgba(198, 166, 106, .18); }
.baseline-inner { width: min(100%, var(--page-max)); margin: auto; padding: 0 var(--page-pad); min-height: 69px; display: flex; justify-content: space-between; align-items: center; }
.baseline-left { display: inline-flex; align-items: center; gap: 12px; color: #a4afbf; font-size: 10px; letter-spacing: .2em; }
.baseline-square { display: block; height: 8px; width: 8px; border: 1px solid var(--gold); transform: rotate(45deg); }
.scroll-cue { color: var(--gold-soft); display: inline-flex; align-items: center; gap: 15px; font-size: 9px; letter-spacing: .16em; font-weight: 650; }
.scroll-cue svg { width: 16px; height: 16px; animation: downCue 2.3s infinite ease-in-out; }

/* Services */
.services { position: relative; isolation: isolate; overflow: hidden; background: var(--paper); padding: 119px 0 137px; scroll-margin-top: 65px; }
.section-backdrop { position: absolute; z-index: -1; font: 700 min(72vw, 850px)/1 var(--font-serif); color: rgba(24, 42, 68, .018); top: -2%; right: -6%; pointer-events: none; user-select: none; }
.services-shell { width: min(100%, var(--page-max)); margin: auto; padding: 0 var(--page-pad); }
.section-heading { margin-bottom: 55px; }
.section-eyebrow { display: flex; align-items: center; gap: 12px; font-size: 10px; font-weight: 760; letter-spacing: .2em; color: #9c7b46; }
.eyebrow-rule { display: block; width: 32px; height: 1px; background: var(--gold); }
.eyebrow-sep { width: 4px; height: 4px; background: var(--gold); transform: rotate(45deg); }
.section-headline-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-top: 20px; }
.section-heading h2 { margin: 0; font: normal clamp(52px, 6.3vw, 92px)/1.09 var(--font-serif); letter-spacing: -.061em; color: var(--navy); }
.section-heading h2 em { font-weight: normal; color: #ac8852; }
.heading-period { color: var(--gold); }
.service-count { display: flex; align-items: center; gap: 13px; margin: 0 2px 13px 0; font: 500 12px/1 var(--font-sans); color: #9c7b46; letter-spacing: .11em; }
.count-line { width: 40px; height: 1px; background: #c7bda8; }
.heading-bottom-line { height: 1px; background: linear-gradient(to right, #b69d6d 0 62px, #dedad0 62px 100%); margin-top: 37px; }
.services-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.service-card { position: relative; min-height: 336px; display: flex; flex-direction: column; justify-content: space-between; padding: 30px 34px 32px; overflow: hidden; background: var(--paper-white); border: 1px solid #e6dfd1; box-shadow: 0 7px 25px rgba(14, 29, 46, .025); transition: background-color .32s ease, border-color .32s ease, box-shadow .32s ease, transform .32s ease; }
.service-card::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 3px; background: var(--gold); transform-origin: bottom; transform: scaleY(0); transition: transform .35s ease; }
.service-card::after { content: ""; position: absolute; right: -65px; bottom: -160px; width: 320px; height: 320px; border-radius: 50%; border: 1px solid rgba(198, 166, 106, .13); box-shadow: 0 0 0 40px rgba(198, 166, 106, .025), 0 0 0 85px rgba(198, 166, 106, .022); pointer-events: none; }
.service-card:is(:hover, :focus-visible) { background: #fff; border-color: #d2bd98; transform: translateY(-6px); box-shadow: 0 21px 55px rgba(14, 29, 46, .105); }
.service-card:is(:hover, :focus-visible)::before { transform: scaleY(1); }
.card-top { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; }
.card-num { display: inline-flex; align-items: center; gap: 10px; font-size: 10px; letter-spacing: .15em; font-weight: 750; color: #a18557; }
.num-rule { display: inline-block; background: #bca579; height: 1px; width: 25px; }
.card-plus { width: 31px; height: 31px; display: grid; place-items: center; border: 1px solid #d9d1c1; color: #ad946d; border-radius: 50%; transition: transform .35s ease, background .35s ease, border-color .35s ease, color .35s ease; }
.card-plus svg { width: 17px; height: 17px; }
.service-card:is(:hover, :focus-visible) .card-plus { transform: rotate(90deg); background: var(--gold); color: #fff; border-color: var(--gold); }
.card-icon { position: absolute; z-index: 2; top: 76px; right: 36px; width: 80px; height: 80px; color: #b69a6c; opacity: .88; transition: transform .35s ease, color .35s ease; }
.service-card:is(:hover, :focus-visible) .card-icon { transform: translateY(-4px); color: #967345; }
.card-info { position: relative; z-index: 2; margin-top: auto; max-width: 90%; }
.card-info h3 { color: #1a2b42; font: normal clamp(25px, 2.2vw, 36px)/1.24 var(--font-serif); letter-spacing: -.032em; margin: 0 0 24px; text-wrap: balance; }
.card-underline { display: block; width: 46px; height: 2px; background: var(--gold); transition: width .35s ease; }
.service-card:is(:hover, :focus-visible) .card-underline { width: 77px; }
.card-ghost { pointer-events: none; position: absolute; right: 19px; bottom: -33px; color: rgba(16, 29, 50, .026); font: 500 155px/1 var(--font-serif); letter-spacing: -.07em; }

/* Closing composition */
.closing { position: relative; background: radial-gradient(ellipse at 50% 0%, #243751 0%, #14233a 44%, #0b1526 100%); color: #fff; overflow: hidden; padding: 110px 0 102px; }
.closing::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .12; background: linear-gradient(90deg, transparent 49.97%, #c6a66a 50%, transparent 50.03%), linear-gradient(0deg, transparent 49.95%, #c6a66a 50%, transparent 50.05%); }
.closing-shell { position: relative; max-width: var(--page-max); margin: auto; padding: 0 var(--page-pad); display: flex; flex-direction: column; align-items: center; text-align: center; }
.closing-decor { position: absolute; top: -66px; bottom: -66px; width: 25vw; max-width: 300px; border: 1px solid rgba(198, 166, 106, .17); opacity: .65; pointer-events: none; }
.closing-decor-left { left: -180px; transform: rotate(28deg); }
.closing-decor-right { right: -180px; transform: rotate(-28deg); }
.closing-topline, .closing-bottomline { height: 50px; width: 1px; background: linear-gradient(var(--gold), transparent); }
.closing-bottomline { transform: rotate(180deg); }
.closing-small { color: var(--gold-soft); font-size: 12px; letter-spacing: .43em; font-weight: 750; margin: 29px 0 20px; }
.closing-heading { margin: 0; font: normal clamp(39px, 5.6vw, 79px)/1.18 var(--font-serif); letter-spacing: -.045em; text-wrap: balance; }
.closing-heading > span:not(.closing-dot) { color: var(--gold); font-style: italic; }
.closing-dot { color: var(--gold); }
.closing-services { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 13px; max-width: 930px; margin: 35px 0 49px; color: #bfc6d1; font-size: 11px; line-height: 1.8; letter-spacing: .02em; }
.closing-services i { width: 4px; height: 4px; display: block; background: var(--gold); transform: rotate(45deg); margin: 0 3px; }

/* Footer */
.site-footer { background: #0b1526; color: #fff; border-top: 1px solid rgba(198, 166, 106, .2); }
.footer-shell { width: min(100%, var(--page-max)); margin: auto; min-height: 138px; padding: 25px var(--page-pad); display: flex; align-items: center; justify-content: space-between; gap: 25px; }
.footer-brand { display: flex; flex-direction: column; gap: 9px; }
.footer-brand strong { font-size: 24px; letter-spacing: .2em; font-weight: 760; }
.footer-brand span { color: #a0aabb; font-size: 9px; letter-spacing: .12em; line-height: 1.6; }
.site-footer nav { display: flex; gap: 37px; margin-left: auto; }
.site-footer nav a { color: #bec6d1; font-size: 12px; transition: color .2s ease; }
.site-footer nav a:hover { color: var(--gold-soft); }
.back-top { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid rgba(198, 166, 106, .48); color: var(--gold); margin-left: 30px; transition: color .25s ease, background .25s ease; }
.back-top:hover { color: #111b2e; background: var(--gold); }
.back-top svg { width: 18px; height: 18px; }

/* Animation — content remains visible if JavaScript is unavailable */
.hero-kicker { animation: fadeUp .75s .08s both; }
.hero-heading-pre { animation: fadeUp .75s .16s both; }
.hero-heading-main { animation: fadeUp .85s .28s both; }
.hero-bottom { animation: fadeUp .8s .41s both; }
.reveal-item.is-visible { animation: fadeUp .68s both ease-out; }
.services-grid .reveal-item:nth-child(2).is-visible { animation-delay: .1s; }
.services-grid .reveal-item:nth-child(3).is-visible { animation-delay: .12s; }
.services-grid .reveal-item:nth-child(4).is-visible { animation-delay: .18s; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: translateY(0); } }
@keyframes artRise { from { opacity: 0; transform: translateY(20px) scale(.975); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes downCue { 0%,100% { transform: translateY(-2px); } 50% { transform: translateY(3px); } }

/* Medium screen */
@media (max-width: 1180px) {
  .header-shell { gap: 22px; }
  .desktop-nav { gap: 22px; }
  .brand-subtitle { font-size: 6.8px; }
  .header-action { gap: 10px; padding: 13px; }
  .hero-shell { grid-template-columns: minmax(0, 1fr) minmax(315px, .89fr); }
  .hero-heading-pre { font-size: clamp(60px, 7.5vw, 90px); }
  .hero-heading-main { font-size: clamp(34px, 4.2vw, 52px); }
  .hero-art { margin-right: -28px; }
}
@media (max-width: 980px) {
  .site-header { height: 86px; }
  .brand-title { font-size: 22px; }
  .brand-symbol { width: 29px; height: 32px; }
  .brand-symbol span { top: 7px; }
  .brand-symbol span:nth-child(2) { top: 4px; }
  .desktop-nav { gap: 17px; }
  .header-action { display: none; }
  .hero { min-height: 700px; }
  .hero-shell { min-height: 700px; padding-top: 140px; padding-bottom: 100px; grid-template-columns: minmax(0, 1fr) minmax(280px, .75fr); }
  .hero-heading-pre { font-size: clamp(59px, 8vw, 85px); }
  .hero-heading-main { font-size: clamp(34px, 4.5vw, 49px); }
  .hero-art { width: 120%; margin-left: -20%; margin-right: -16%; opacity: .92; }
  .hero-kicker { gap: 10px; letter-spacing: .13em; }
  .services { padding-top: 100px; padding-bottom: 110px; }
  .card-info h3 { font-size: clamp(25px, 3vw, 35px); }
}
@media (max-width: 760px) {
  :root { --page-pad: clamp(20px, 5.5vw, 36px); }
  html { scroll-padding-top: 80px; }
  .site-header, .site-header.is-scrolled, .site-header.menu-open { height: 76px; }
  .brand { gap: 12px; }
  .brand-title { font-size: 23px; }
  .brand-subtitle { font-size: 7px; }
  .desktop-nav, .header-action { display: none; }
  .menu-toggle { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 6px; margin-left: auto; padding: 10px; width: 43px; height: 43px; cursor: pointer; color: #fff; border: 1px solid rgba(198, 166, 106, .4); background: transparent; }
  .menu-toggle span { height: 1.5px; width: 21px; background: #dec59a; transform-origin: center; transition: transform .25s ease, opacity .25s ease; }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
  .mobile-nav:not([hidden]) { display: flex; position: absolute; top: 76px; left: 0; right: 0; flex-direction: column; background: #0b1526; border-top: 1px solid rgba(198, 166, 106, .2); border-bottom: 1px solid rgba(198, 166, 106, .35); box-shadow: 0 15px 23px rgba(0,0,0,.18); padding: 10px var(--page-pad) 20px; }
  .mobile-nav a { color: #eef0f3; padding: 16px 1px; border-bottom: 1px solid rgba(198, 166, 106, .12); font-size: 14px; }
  .mobile-nav a:last-child { border-bottom: 0; }
  .hero { min-height: 0; }
  .hero-shell { display: flex; flex-direction: column; align-items: stretch; gap: 0; min-height: 0; padding-top: 145px; padding-bottom: 75px; }
  .hero-content { padding-bottom: 0; }
  .hero-kicker { margin-bottom: 21px; font-size: 9px; }
  .hero-heading-pre { font-size: clamp(61px, 13vw, 95px); }
  .hero-heading-main { margin-top: 16px; font-size: clamp(38px, 7.3vw, 56px); }
  .hero-bottom { margin-top: 31px; gap: 23px; }
  .hero-art { width: min(100%, 420px); height: auto; max-width: none; margin: 5px auto -30px; align-self: center; opacity: .84; }
  .hero-baseline { position: relative; }
  .baseline-inner { min-height: 58px; }
  .services { padding: 83px 0 92px; }
  .section-heading { margin-bottom: 31px; }
  .section-heading h2 { font-size: clamp(51px, 8.6vw, 72px); }
  .heading-bottom-line { margin-top: 26px; }
  .services-grid { gap: 17px; }
  .service-card { min-height: 300px; padding: 23px 23px 27px; }
  .card-icon { top: 78px; right: 20px; width: 66px; height: 66px; }
  .card-info h3 { font-size: clamp(25px, 3.8vw, 31px); }
  .closing { padding: 82px 0; }
  .closing-heading { font-size: clamp(40px, 7.1vw, 59px); }
  .closing-services { gap: 11px; }
  .footer-shell { min-height: 124px; }
  .back-top { margin-left: 0; }
}
@media (max-width: 590px) {
  .hero-shell { padding-top: 130px; padding-bottom: 50px; }
  .hero-kicker { gap: 8px; font-size: 8px; }
  .kicker-line { width: 25px; }
  .hero-heading-pre { font-size: clamp(52px, 14.4vw, 74px); letter-spacing: .095em; }
  .hero-heading-main { font-size: clamp(35px, 9.2vw, 48px); line-height: 1.22; }
  .hero-description p { font-size: 11px; }
  .hero-art { width: min(92%, 390px); margin-top: 13px; margin-bottom: -10px; }
  .baseline-inner { gap: 12px; }
  .scroll-cue { font-size: 8px; gap: 8px; letter-spacing: .07em; }
  .section-eyebrow { font-size: 9px; gap: 9px; letter-spacing: .12em; }
  .eyebrow-rule { width: 25px; }
  .section-headline-row { align-items: end; }
  .section-heading h2 { font-size: clamp(43px, 10.3vw, 58px); }
  .service-count { font-size: 10px; gap: 7px; margin-bottom: 7px; }
  .count-line { width: 15px; }
  .services-grid { grid-template-columns: minmax(0, 1fr); }
  .service-card { min-height: 278px; padding: 24px 27px 29px; }
  .card-icon { top: 56px; right: 25px; width: 65px; height: 65px; }
  .card-info h3 { font-size: clamp(29px, 7.2vw, 37px); }
  .closing-heading { font-size: clamp(35px, 9.1vw, 49px); }
  .closing-services { max-width: 330px; margin: 32px 0 38px; line-height: 1.55; }
  .closing-services i { display: none; }
  .closing-services span { width: 100%; }
  .footer-shell { align-items: flex-start; flex-wrap: wrap; gap: 30px 12px; padding-top: 32px; padding-bottom: 32px; }
  .footer-brand { flex: 1 0 calc(100% - 64px); }
  .site-footer nav { order: 3; width: 100%; margin: 0; padding-top: 22px; border-top: 1px solid rgba(198, 166, 106, .15); }
  .back-top { order: 2; }
}
@media (max-width: 370px) {
  .brand-subtitle { max-width: 220px; white-space: normal; line-height: 1.15; font-size: 6.5px; }
  .brand-title { font-size: 21px; }
  .brand-symbol { width: 27px; }
  .hero-kicker { letter-spacing: .08em; }
  .hero-heading-main { font-size: 34px; }
  .hero-description p { font-size: 10px; }
  .section-heading h2 { font-size: 43px; }
  .card-info h3 { font-size: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
