/* -----------------------------------------------------
   NÁJERA Y ASOCIADOS — Diseño responsivo
   ----------------------------------------------------- */
:root {
  --navy: #0b1e2c;
  --navy-deep: #071622;
  --navy-mid: #132c3e;
  --gold: #c9a769;
  --gold-light: #e5ca96;
  --paper: #f7f5ef;
  --paper-darker: #f1eee6;
  --ink: #142430;
  --muted: #69717a;
  --border: #e4dfd4;
  --font-serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-sans: "DM Sans", Arial, sans-serif;
  --font-ui: "Manrope", Arial, sans-serif;
  --container: 1200px;
  --ease: cubic-bezier(.2,.7,.25,1);
}
*,*::before,*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font-sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { text-decoration: none; color: inherit; }
button { font: inherit; }
svg { display: block; }
img, iframe { max-width: 100%; }
::selection { background: var(--gold); color: var(--navy-deep); }
:focus-visible { outline: 3px solid var(--gold-light); outline-offset: 4px; }
.container { width: min(var(--container), calc(100% - 88px)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 200; left: 16px; top: -80px; background: white; color: var(--ink); padding: 12px 20px; border: 2px solid var(--gold); }
.skip-link:focus { top: 12px; }
.section { padding-block: 122px; }
.section-dark { color: #fff; background: var(--navy); }

/* Header */
.site-header { position: fixed; inset: 0 0 auto; z-index: 100; height: 94px; background: rgba(7,22,34,.56); border-bottom: 1px solid rgba(225,210,176,.17); transition: background .3s, height .3s, box-shadow .3s; }
.site-header.is-scrolled { height: 76px; background: rgba(9,26,39,.98); box-shadow: 0 10px 35px rgba(0,0,0,.16); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand { display: inline-flex; align-items: center; flex-shrink: 0; gap: 14px; color: #fff; min-width: 0; }
.brand-mark { width: 44px; height: 44px; border: 1px solid rgba(208,174,114,.78); display: grid; place-items: center; position: relative; font: 600 28px/1 var(--font-serif); color: var(--gold-light); }
.brand-mark i { position: absolute; inset: -5px; border: 1px solid rgba(208,174,114,.26); pointer-events: none; }
.brand-name { font: 600 19px/1.24 var(--font-serif); white-space: nowrap; letter-spacing: -.03em; }
.brand-conjunction { font-style: italic; font-weight: 400; color: var(--gold-light); }
.brand-name small { display: block; font: 700 8px/1.4 var(--font-ui); letter-spacing: .22em; margin-top: 4px; color: rgba(255,255,255,.58); }
.main-nav { display: flex; gap: clamp(13px, 2vw, 29px); align-items: center; }
.nav-link { font: 600 12px/1.4 var(--font-ui); color: rgba(255,255,255,.72); position: relative; white-space: nowrap; padding-block: 8px; transition: color .22s; }
.nav-link::after { content: ""; position: absolute; height: 1px; width: 0; left: 0; bottom: -4px; background: var(--gold); transition: width .24s; }
.nav-link:hover, .nav-link.is-active { color: white; }
.nav-link:hover::after, .nav-link.is-active::after { width: 100%; }
.nav-contact { display: inline-flex; align-items: center; justify-content: center; gap: 13px; font: 700 11px/1 var(--font-ui); letter-spacing: .02em; color: var(--navy); background: var(--gold); min-height: 43px; padding: 0 19px; transition: background .25s, transform .25s; white-space: nowrap; }
.nav-contact:hover { background: var(--gold-light); transform: translateY(-2px); }
.nav-contact svg, .btn svg, .text-link svg { width: 17px; height: 17px; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s var(--ease); }
.nav-contact:hover svg, .btn:hover svg, .text-link:hover svg { transform: translateX(4px); }
.menu-toggle { display: none; appearance: none; border: 1px solid rgba(201,167,105,.6); background: transparent; width: 44px; height: 44px; align-items: center; justify-content: center; flex-direction: column; gap: 5px; cursor: pointer; padding: 10px; }
.menu-toggle span { width: 21px; height: 1.5px; background: var(--gold-light); display: block; transition: transform .25s, opacity .25s; }

/* Hero */
.hero { min-height: min(860px, 100svh); min-height: max(730px, 100svh); display: flex; flex-direction: column; justify-content: center; position: relative; isolation: isolate; overflow: hidden; padding-top: 125px; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -3; background: radial-gradient(ellipse 60% 90% at 85% 42%,#193749 0%,transparent 62%), linear-gradient(111deg,#091b28 12%,#102839 67%,#071521 100%); }
.hero-grain { position: absolute; inset: 0; z-index: -2; opacity: .25; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 150 150' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.13'/%3E%3C/svg%3E"); pointer-events: none; }
.hero-lines { position: absolute; inset: -20% -15% auto auto; width: 58%; height: 135%; z-index: -1; pointer-events: none; opacity: .38; background: repeating-radial-gradient(ellipse at center, transparent 0 63px, rgba(183,154,101,.17) 64px 65px, transparent 66px 122px); transform: rotate(-20deg); }
.hero-layout { position: relative; display: grid; grid-template-columns: 1.02fr .98fr; gap: 0; align-items: center; flex: 1; }
.hero-copy { position: relative; z-index: 2; padding-bottom: 35px; }
.eyebrow { display: inline-flex; align-items: center; gap: 16px; font: 800 10px/1.5 var(--font-ui); letter-spacing: .23em; color: #967543; }
.eyebrow-light { color: var(--gold-light); }
.eyebrow-line { width: 38px; height: 1px; flex: 0 0 38px; background: currentColor; }
.hero-title { margin: 35px 0 24px; font: 500 clamp(72px, 7vw, 111px)/1.06 var(--font-serif); letter-spacing: -.07em; white-space: nowrap; }
.hero-title em { font-weight: 400; letter-spacing: -.055em; }
.hero-amp { color: var(--gold); font-weight: 400; font-style: italic; }
.hero-period { color: var(--gold); }
.hero-rule { display: flex; gap: 8px; align-items: center; margin: 32px 0 25px; }
.hero-rule span:first-child { height: 1px; width: 80px; background: var(--gold); }
.hero-rule span:last-child { height: 5px; width: 5px; transform: rotate(45deg); border: 1px solid var(--gold); }
.hero-lede { font: 500 clamp(19px, 2vw, 25px)/1.55 var(--font-serif); max-width: 485px; margin: 0 0 16px; color: #fcfbf6; }
.hero-description { max-width: 420px; font: 400 14px/1.9 var(--font-sans); color: #acb9c1; margin: 0; }
.hero-actions { display: flex; align-items: center; gap: 29px; flex-wrap: wrap; margin-top: 37px; }
.btn { border: 1px solid transparent; min-height: 57px; padding: 0 24px; display: inline-flex; align-items: center; justify-content: center; gap: 24px; font: 800 11px/1.4 var(--font-ui); letter-spacing: .03em; cursor: pointer; transition: background .28s, color .28s, transform .28s, border-color .28s; text-align: center; }
.btn:hover { transform: translateY(-3px); }
.btn-gold { background: var(--gold); color: #102330; }
.btn-gold:hover { background: var(--gold-light); }
.text-link { display: inline-flex; align-items: center; gap: 12px; padding-bottom: 7px; border-bottom: 1px solid currentColor; font: 700 11px/1.3 var(--font-ui); letter-spacing: .03em; transition: color .25s; }
.text-link-light { color: #e9e4d9; }
.text-link-light:hover { color: var(--gold-light); }
.hero-art { height: 610px; position: relative; margin-right: -70px; display: grid; place-items: center; }
.art-plaque { position: relative; width: min(100%, 560px); height: 100%; display: grid; place-items: center; }
.law-art { width: 100%; max-height: 100%; overflow: visible; filter: drop-shadow(0 18px 48px rgba(0,0,0,.24)); }
.art-rim { position: absolute; display: block; border: 1px solid rgba(201,167,105,.16); border-radius: 50%; pointer-events: none; }
.rim-one { width: 87%; aspect-ratio: 1; }
.rim-two { width: 110%; aspect-ratio: 1; border-style: dashed; opacity: .4; }
.art-corner { width: 58px; height: 58px; border-color: rgba(201,167,105,.65); border-style: solid; position: absolute; }
.art-corner-top { border-width: 1px 0 0 1px; top: 36px; left: 5%; }
.art-corner-bottom { border-width: 0 1px 1px 0; bottom: 44px; right: 4%; }
.art-vertical-label { position: absolute; right: 16px; top: 50%; font: 600 9px/1 var(--font-ui); letter-spacing: .25em; color: rgba(222,195,145,.7); writing-mode: vertical-rl; }
.hero-bottom { height: 68px; display: flex; justify-content: space-between; align-items: center; border-top: 1px solid rgba(235,221,196,.16); position: relative; z-index: 2; }
.hero-bottom-text, .hero-bottom-scroll, .hero-bottom-number { font: 700 9px/1 var(--font-ui); letter-spacing: .19em; color: rgba(230,225,213,.64); }
.hero-bottom-scroll { display: flex; align-items: center; gap: 15px; }
.scroll-line { width: 38px; height: 1px; background: var(--gold); }
.practice-strip { background: #d5bd8d; border-bottom: 1px solid #c0a675; }
.practice-strip-inner { min-height: 73px; display: flex; justify-content: space-between; align-items: center; gap: 13px; }
.practice-strip span { font: 700 clamp(10px, .95vw, 12px)/1.3 var(--font-ui); color: #20313b; white-space: nowrap; }
.practice-strip b { width: 4px; height: 4px; flex: 0 0 4px; background: #7f663f; transform: rotate(45deg); }

/* Secciones / tarjetas */
.practices { background: var(--paper); position: relative; }
.practices::before { content: ""; position: absolute; width: 360px; height: 360px; top: 0; right: 0; background: radial-gradient(circle at 100% 0%,rgba(203,174,116,.1),transparent 65%); pointer-events: none; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 50px; }
.section-title { color: #142734; font: 500 clamp(48px, 5vw, 74px)/1.2 var(--font-serif); letter-spacing: -.055em; margin: 22px 0 0; }
.section-title em { font-weight: 400; color: #9c7b48; }
.section-head-decor { display: flex; align-items: center; gap: 16px; padding: 0 0 10px; color: #9b8256; font: 700 12px/1 var(--font-ui); }
.section-head-decor i { width: 90px; height: 1px; background: #c6b99e; }
.practice-grid { display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); gap: 18px; }
.practice-card { grid-column: span 2; position: relative; min-height: 350px; display: flex; flex-direction: column; padding: 31px 31px 32px; overflow: hidden; background: #fffefa; border: 1px solid #e7e2d8; transition: box-shadow .35s var(--ease), transform .35s var(--ease), background .35s; }
.practice-card::before { content: ""; position: absolute; width: 240px; height: 240px; right: -110px; top: 60px; border: 1px solid rgba(194,164,108,.18); border-radius: 50%; pointer-events: none; }
.practice-card::after { content: ""; position: absolute; width: 190px; height: 190px; right: -88px; top: 85px; border: 1px solid rgba(194,164,108,.13); border-radius: 50%; pointer-events: none; }
.practice-card:hover { box-shadow: 0 24px 46px rgba(14,31,43,.10); transform: translateY(-8px); }
.practice-card-featured { background: #152c3d; border-color: #152c3d; color: #fff; }
.practice-card-featured::before,.practice-card-featured::after { border-color: rgba(226,195,140,.16); }
.practice-card-wide { grid-column: span 3; min-height: 332px; }
.card-top { display: flex; align-items: start; justify-content: space-between; gap: 10px; position: relative; z-index: 2; }
.card-number { color: #8e754f; font: 700 13px/1.4 var(--font-ui); letter-spacing: .03em; }
.card-number span { font-size: 10px; color: #a9a39a; font-weight: 500; }
.practice-card-featured .card-number { color: var(--gold-light); }
.practice-card-featured .card-number span { color: rgba(255,255,255,.46); }
.card-icon { width: 62px; height: 62px; border: 1px solid #ded5c4; display: grid; place-items: center; color: #a68b61; }
.card-icon svg { width: 42px; height: 42px; stroke: currentColor; stroke-width: 1.7; stroke-linejoin: round; stroke-linecap: round; }
.practice-card-featured .card-icon { border-color: rgba(215,179,118,.35); color: #dfc18b; }
.card-content { position: relative; z-index: 2; margin-top: auto; padding-top: 25px; }
.card-kicker { font: 800 9px/1.4 var(--font-ui); letter-spacing: .17em; color: #ae9369; }
.card-content h3 { margin: 9px 0 16px; font: 500 clamp(31px, 3vw, 40px)/1.23 var(--font-serif); letter-spacing: -.045em; }
.card-content p { margin: 0; color: #717984; font: 400 13px/1.7 var(--font-sans); }
.practice-card-featured .card-content p { color: #b5c0c6; }
.card-bottom-line { position: absolute; bottom: 0; left: 31px; width: 50px; height: 3px; background: #c1a16b; transition: width .35s var(--ease); }
.practice-card:hover .card-bottom-line { width: calc(100% - 62px); }

/* Cinta de identidad */
.identity-band { background: #0d2331; color: white; padding-block: 78px; position: relative; overflow: hidden; }
.identity-lines { position: absolute; inset: 0; background: repeating-linear-gradient(90deg,transparent 0,transparent calc(25% - 1px),rgba(212,180,125,.07) 25%); opacity: .9; pointer-events: none; }
.identity-inner { display: flex; flex-direction: column; align-items: center; text-align: center; position: relative; }
.identity-ornament { display: block; height: 1px; width: 80px; background: var(--gold); position: relative; margin-bottom: 23px; }
.identity-ornament::after { content: ""; width: 6px; height: 6px; position: absolute; left: calc(50% - 3px); top: -3px; border: 1px solid var(--gold); transform: rotate(45deg); background: var(--navy); }
.identity-small { color: var(--gold-light); font: 700 10px/1.3 var(--font-ui); letter-spacing: .28em; }
.identity-inner p { margin: 18px 0 25px; font: 500 clamp(35px,5vw,67px)/1.28 var(--font-serif); letter-spacing: -.055em; }
.identity-inner p em { color: var(--gold); font-weight: 400; }
.identity-ornament-end { margin-bottom: 0; }

/* Ubicación */
.location-section { background: #eeeae1; }
.location-head { align-items: end; }
.location-head-side { display: flex; align-items: center; gap: 12px; font: 700 11px/1.4 var(--font-ui); color: #777063; padding-bottom: 12px; }
.location-head-side svg { width: 20px; height: 20px; stroke: #9c7b48; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.location-layout { display: grid; grid-template-columns: .83fr 1.17fr; gap: 20px; align-items: stretch; }
.location-card { background: #fffefa; border: 1px solid #e1dbcf; min-height: 490px; padding: clamp(31px,4vw,52px); display: flex; flex-direction: column; position: relative; overflow: hidden; }
.location-card-upper { display: flex; justify-content: space-between; align-items: start; }
.location-card-label { font: 800 10px/1.5 var(--font-ui); letter-spacing: .16em; color: #98794c; }
.location-watermark { width: 45px; height: 45px; stroke: #bdab8d; stroke-width: 1; stroke-linejoin: round; }
.location-card h3 { font: 500 clamp(36px,3.5vw,50px)/1.2 var(--font-serif); letter-spacing: -.05em; margin: 24px 0 25px; }
.gold-divider { display: block; width: 53px; height: 2px; background: var(--gold); margin-bottom: 22px; }
.location-card address { font: normal 400 15px/1.95 var(--font-sans); color: #5d666a; margin-bottom: 27px; }
.btn-outline-dark { margin-top: auto; align-self: start; border-color: #9f8963; color: var(--navy); background: transparent; }
.btn-outline-dark:hover { background: var(--navy); color: white; border-color: var(--navy); }
.map-frame { min-height: 490px; background: #ddd9ce; border: 1px solid #d4cbb9; display: flex; flex-direction: column; box-shadow: 0 18px 42px rgba(42,46,46,.06); overflow: hidden; }
.map-topbar { height: 48px; flex: 0 0 48px; display: flex; align-items: center; gap: 12px; padding: 0 19px; background: #182e3c; font: 700 9px/1 var(--font-ui); letter-spacing: .15em; color: #e6e0d2; }
.map-topbar-dot { width: 7px; height: 7px; background: var(--gold); border-radius: 50%; }
.map-frame iframe { border: 0; display: block; width: 100%; height: 100%; flex: 1; min-height: 365px; filter: grayscale(.45) saturate(.7); }
.map-bottombar { background: #f9f6ef; color: #586169; display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 52px; padding: 12px 19px; font: 600 11px/1.5 var(--font-ui); }
.map-bottombar:hover, .map-bottombar:focus-visible { background: #eee5d5; color: var(--navy); }
.map-bottombar svg { width: 18px; height: 18px; flex-shrink: 0; stroke: #9d7d4e; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* Contacto */
.contact-section { background: #0d2331; position: relative; overflow: hidden; padding-block: 124px; }
.contact-lines { position: absolute; width: 640px; height: 640px; border: 1px solid rgba(203,173,117,.13); border-radius: 50%; left: -380px; top: -200px; pointer-events: none; }
.contact-lines::before,.contact-lines::after { content: ""; position: absolute; border: 1px solid rgba(203,173,117,.08); border-radius: 50%; }
.contact-lines::before { inset: 65px; }
.contact-lines::after { inset: 130px; }
.contact-inner { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: clamp(30px,6vw,92px); position: relative; }
.contact-title { color: white; margin: 23px 0 17px; line-height: 1.22; font-size: clamp(49px,5vw,76px); }
.contact-title em { color: var(--gold-light); }
.contact-subtitle { color: #b9c3c7; font: 400 17px/1.7 var(--font-serif); margin: 0; }
.contact-panel { border: 1px solid rgba(201,167,105,.5); padding: clamp(25px,4vw,45px); background: rgba(255,255,255,.025); position: relative; }
.contact-panel::before,.contact-panel::after { content: ""; position: absolute; width: 15px; height: 15px; border-color: var(--gold); border-style: solid; }
.contact-panel::before { top: -1px; left: -1px; border-width: 2px 0 0 2px; }
.contact-panel::after { bottom: -1px; right: -1px; border-width: 0 2px 2px 0; }
.contact-panel-top { display: flex; align-items: center; justify-content: space-between; gap: 15px; color: var(--gold-light); font: 800 10px/1.5 var(--font-ui); letter-spacing: .16em; }
.contact-panel-top svg { width: 37px; height: 37px; stroke: var(--gold); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.email-address { display: block; color: #f5f1e6; font: 500 clamp(16px,1.55vw,23px)/1.65 var(--font-serif); overflow-wrap: anywhere; margin: 25px 0 33px; transition: color .2s; }
.email-address:hover { color: var(--gold-light); }
.contact-panel-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 20px; }
.copy-button { appearance: none; border: 0; background: transparent; display: inline-flex; align-items: center; gap: 9px; cursor: pointer; color: #e7e2d7; font: 700 11px/1.4 var(--font-ui); padding: 8px 0; transition: color .2s; }
.copy-button:hover { color: var(--gold-light); }
.copy-button svg { width: 18px; height: 18px; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* Footer */
.footer { background: #071622; color: #f0ece3; }
.footer-grid { display: grid; grid-template-columns: 1.2fr .7fr 1.15fr 1.05fr; gap: 34px; padding-block: 73px 64px; }
.brand-footer { align-items: center; }
.brand-footer .brand-name { font-size: 17px; }
.footer-col h3 { font: 700 10px/1.5 var(--font-ui); letter-spacing: .16em; color: var(--gold-light); text-transform: uppercase; margin: 0 0 22px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li,.footer-col address,.footer-col a { font: normal 400 12px/1.95 var(--font-sans); color: #a2b0b9; }
.footer-col li + li { margin-top: 4px; }
.footer-col a { overflow-wrap: anywhere; transition: color .2s; }
.footer-col a:hover { color: var(--gold-light); }
.footer-bottom { border-top: 1px solid rgba(235,223,202,.12); display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-block: 23px 28px; }
.footer-bottom span { font: 700 9px/1.4 var(--font-ui); letter-spacing: .16em; color: #7f929c; }
.footer-bottom a { display: inline-flex; align-items: center; gap: 8px; font: 600 11px/1.2 var(--font-ui); color: #d1c8b7; white-space: nowrap; transition: color .2s; }
.footer-bottom a:hover { color: var(--gold-light); }
.footer-bottom svg { width: 17px; height: 17px; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* Animación progresiva: se oculta solo cuando JS está listo */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .75s var(--ease), transform .75s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: translateY(0); }
.js .reveal.delay-1 { transition-delay: .1s; }
.js .reveal.delay-2 { transition-delay: .2s; }
.js .reveal.delay-3 { transition-delay: .3s; }

@media (max-width: 1200px) {
  .container { width: min(1100px, calc(100% - 64px)); }
  .brand-name { font-size: 17px; }
  .brand-mark { width: 40px; height: 40px; }
  .main-nav { gap: 18px; }
  .nav-contact { padding-inline: 14px; }
  .hero-art { margin-right: -50px; }
  .hero-title { font-size: clamp(64px, 7.6vw, 93px); }
  .footer-grid { grid-template-columns: 1fr .7fr 1.2fr; }
  .footer-contact { grid-column: 3; }
}
@media (max-width: 950px) {
  .site-header { height: 78px; }
  .site-header.is-scrolled { height: 70px; }
  .menu-toggle { display: flex; z-index: 101; flex-shrink: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.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(-6.5px) rotate(-45deg); }
  .main-nav { position: absolute; top: 100%; left: 0; right: 0; padding: 14px 32px 30px; display: flex; flex-direction: column; align-items: stretch; gap: 0; background: #0b1e2c; border-bottom: 1px solid rgba(201,167,105,.32); box-shadow: 0 22px 28px rgba(0,0,0,.25); opacity: 0; visibility: hidden; transform: translateY(-12px); transition: opacity .25s, visibility .25s, transform .25s; }
  .main-nav.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
  .nav-link { font-size: 14px; padding: 15px 0; border-bottom: 1px solid rgba(255,255,255,.09); }
  .nav-link::after { bottom: 0; }
  .nav-contact { margin-top: 22px; min-height: 49px; align-self: start; padding-inline: 24px; }
  .hero { min-height: 755px; }
  .hero-layout { grid-template-columns: 1fr .85fr; }
  .hero-title { font-size: clamp(59px, 8vw, 82px); }
  .hero-art { height: 510px; margin-right: -45px; }
  .hero-actions { gap: 18px; }
  .hero .btn { min-height: 54px; padding: 0 18px; gap: 13px; }
  .practice-strip-inner { flex-wrap: wrap; justify-content: center; gap: 13px 19px; padding-block: 20px; }
  .practice-card { grid-column: span 3; }
  .practice-card:last-child { grid-column: span 6; }
  .location-layout { grid-template-columns: 1fr 1.1fr; }
  .location-card { padding: 30px; }
  .location-card address { font-size: 13px; }
  .contact-inner { grid-template-columns: 1fr; gap: 40px; }
  .contact-title br { display: none; }
}
@media (max-width: 680px) {
  html { scroll-padding-top: 72px; }
  .container { width: calc(100% - 40px); }
  .section { padding-block: 78px; }
  .site-header { height: 72px; }
  .site-header.is-scrolled { height: 66px; }
  .brand { gap: 11px; }
  .brand-name { font-size: 15px; }
  .brand-name small { font-size: 7px; letter-spacing: .16em; }
  .brand-mark { width: 35px; height: 35px; font-size: 23px; }
  .main-nav { padding-inline: 20px; }
  .hero { min-height: 0; padding-top: 143px; }
  .hero-layout { grid-template-columns: 1fr; }
  .hero-copy { padding-bottom: 0; }
  .hero-title { font-size: clamp(56px, 13.3vw, 88px); margin: 27px 0 19px; }
  .hero-rule { margin: 23px 0; }
  .hero-lede { font-size: 21px; max-width: 380px; }
  .hero-description { font-size: 13px; line-height: 1.8; }
  .hero-actions { margin-top: 28px; gap: 22px; }
  .hero .btn { min-height: 54px; }
  .hero-art { height: 355px; width: min(100%, 435px); justify-self: center; margin: 0 0 5px; }
  .art-vertical-label { font-size: 6px; right: 0; }
  .art-corner-top { top: 20px; left: 1%; }
  .art-corner-bottom { bottom: 10px; right: 1%; }
  .hero-bottom { height: 60px; }
  .hero-bottom-scroll { display: none; }
  .practice-strip-inner { gap: 10px 13px; }
  .practice-strip span { font-size: 10px; }
  .section-head { margin-bottom: 34px; }
  .section-title { font-size: clamp(44px,9.5vw,62px); }
  .section-head-decor { display: none; }
  .practice-grid { grid-template-columns: 1fr; gap: 14px; }
  .practice-card, .practice-card-wide, .practice-card:last-child { grid-column: auto; min-height: 290px; padding: 26px; }
  .card-icon { width: 54px; height: 54px; }
  .card-icon svg { width: 37px; height: 37px; }
  .card-content h3 { font-size: 35px; }
  .card-bottom-line { left: 26px; }
  .practice-card:hover .card-bottom-line { width: calc(100% - 52px); }
  .identity-band { padding-block: 65px; }
  .identity-inner p { font-size: clamp(32px,8vw,48px); }
  .location-head-side { display: none; }
  .location-layout { grid-template-columns: 1fr; gap: 15px; }
  .location-card { min-height: 0; padding: 29px 25px 33px; }
  .location-card h3 { font-size: 40px; margin-top: 20px; }
  .location-card address { font-size: 14px; }
  .btn-outline-dark { margin-top: 6px; }
  .map-frame { min-height: 390px; }
  .map-frame iframe { min-height: 300px; }
  .contact-title { font-size: clamp(48px,10.5vw,67px); }
  .contact-panel { padding: 28px 23px; }
  .contact-panel-actions { align-items: stretch; flex-direction: column; }
  .contact-panel-actions .btn { width: 100%; gap: 11px; }
  .copy-button { justify-content: center; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 37px 22px; padding-block: 62px 43px; }
  .footer-brand-col { grid-column: 1/-1; }
  .footer-contact { grid-column: 1/-1; }
  .footer-bottom { flex-wrap: wrap; gap: 15px; }
  .footer-bottom span { font-size: 8px; }
}
@media (max-width: 360px) {
  .container { width: calc(100% - 32px); }
  .brand-name { font-size: 13px; }
  .brand-name small { font-size: 6.5px; }
  .brand-mark { width: 32px; height: 32px; }
  .hero-title { font-size: 52px; }
  .hero .btn { width: 100%; }
  .hero-actions { align-items: start; flex-direction: column; }
  .hero-art { height: 305px; }
  .practice-strip b { display: none; }
  .section-title { font-size: 42px; }
  .location-card address { font-size: 13px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand-col,.footer-contact { grid-column: auto; }
}
@media (prefers-reduced-motion: reduce) {
  *,*::before,*::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; transition-delay: 0ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}
