/* Ramos Attorneys – redesigned site styles */
:root {
  --navy: #132135;
  --navy-2: #1c3150;
  --navy-deep: #0d1827;
  --crimson: #8d1a21;
  --crimson-d: #70131a;
  --gold: #c9a84c;
  --ink: #1a2536;
  --muted: #5d6879;
  --line: #e3e6eb;
  --bg: #f6f4ef;
  --white: #fff;
  --radius: 10px;
  --shadow: 0 1px 2px rgba(19,33,53,.05), 0 8px 30px rgba(19,33,53,.07);
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --wrap: 1160px;
  --header-h: 92px;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body { font-family: var(--sans); color: var(--ink); background: var(--white); line-height: 1.7; font-size: 1rem; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--crimson); text-decoration: none; }
a:hover { color: var(--crimson-d); }
h1, h2, h3, h4 { font-family: var(--serif); color: var(--navy); line-height: 1.15; font-weight: 700; letter-spacing: -.005em; }
:focus-visible { outline: 2px solid var(--crimson); outline-offset: 3px; border-radius: 4px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--navy); color: #fff; padding: 8px 14px; z-index: 2000; border-radius: 6px; }
.skip:focus { left: 8px; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; font: 600 .9rem/1 var(--sans); letter-spacing: .01em; padding: 15px 26px; border-radius: 8px; border: 1.5px solid transparent; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s; text-decoration: none; }
.btn-primary { background: var(--crimson); color: #fff; }
.btn-primary:hover { background: var(--crimson-d); color: #fff; transform: translateY(-1px); box-shadow: 0 8px 20px rgba(141,26,33,.28); }
.btn-ghost { border-color: rgba(255,255,255,.35); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.1); border-color: #fff; color: #fff; }
.btn-outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-sm { padding: 11px 18px; font-size: .85rem; }
.btn svg { width: 17px; height: 17px; flex: none; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 1000; background: rgba(255,255,255,.94); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid transparent; transition: border-color .25s, box-shadow .25s; }
.site-header.scrolled { border-color: var(--line); box-shadow: 0 4px 24px rgba(19,33,53,.06); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 24px; }
.brand img { height: 62px; width: auto; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav-link { display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px; font: 500 .92rem/1 var(--sans); color: var(--navy); background: none; border: 0; cursor: pointer; border-radius: 6px; position: relative; text-decoration: none; transition: color .2s; }
.nav-link:hover, .nav-link.active { color: var(--crimson); }
.nav-link.active::after { content: ''; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 2px; background: var(--crimson); border-radius: 2px; }
.has-dropdown { position: relative; }
.has-dropdown > .nav-link::before { content: none; }
.chev { width: 11px; height: 11px; transition: transform .2s; }
.has-dropdown:hover .chev, .has-dropdown.open .chev { transform: rotate(180deg); }
.dropdown { position: absolute; top: calc(100% + 6px); left: 0; min-width: 250px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 18px 50px rgba(19,33,53,.14); padding: 8px; opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .2s, transform .2s, visibility .2s; }
.dropdown::before { content: ''; position: absolute; top: -8px; left: 0; right: 0; height: 8px; }
.has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown, .has-dropdown.open .dropdown { opacity: 1; visibility: visible; transform: none; }
.dropdown a { display: block; padding: 10px 14px; border-radius: 6px; color: var(--navy); font-size: .92rem; font-weight: 500; transition: background .15s, color .15s; }
.dropdown a:hover, .dropdown a.active { background: var(--bg); color: var(--crimson); }
.header-cta { display: flex; align-items: center; gap: 18px; }
.header-phone { font-weight: 600; font-size: .92rem; color: var(--navy); white-space: nowrap; }
.header-phone:hover { color: var(--crimson); }
.menu-btn { display: none; width: 44px; height: 44px; border: 1px solid var(--line); background: #fff; border-radius: 8px; cursor: pointer; align-items: center; justify-content: center; flex-direction: column; gap: 5px; }
.menu-btn span { width: 20px; height: 2px; background: var(--navy); border-radius: 2px; transition: transform .25s, opacity .2s; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; background: radial-gradient(1000px 520px at 85% 0%, rgba(141,26,33,.35), transparent 60%), linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%); color: #fff; overflow: hidden; }
.hero::after { content: ''; position: absolute; right: -90px; bottom: -120px; width: 520px; height: 424px; background: url(../images/monogram-white.png) no-repeat center/contain; opacity: .045; pointer-events: none; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr .85fr; gap: 72px; align-items: center; padding: 96px 0 88px; }
.eyebrow { display: inline-flex; align-items: center; gap: 12px; font: 600 .76rem/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--crimson); margin-bottom: 18px; }
.eyebrow::before { content: ''; width: 28px; height: 2px; background: currentColor; }
.hero .eyebrow { color: var(--gold); }
.hero h1 { color: #fff; font-size: clamp(2.7rem, 5.4vw, 4.6rem); line-height: 1.05; margin-bottom: 24px; font-weight: 600; }
.hero h1 em { font-style: italic; color: var(--gold); font-weight: 500; }
.hero-lead { font-size: 1.12rem; line-height: 1.75; color: #b9c6d6; max-width: 540px; margin-bottom: 36px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.director-card { background: #fff; color: var(--ink); border-radius: 16px; padding: 38px 36px; box-shadow: 0 30px 70px rgba(0,0,0,.35); position: relative; }
.director-card::before { content: ''; position: absolute; left: 36px; top: 0; width: 56px; height: 4px; background: var(--crimson); border-radius: 0 0 4px 4px; }
.director-card .mono { height: 64px; width: auto; margin-bottom: 22px; }
.director-card h2 { font-size: 2rem; margin-bottom: 4px; }
.director-card .role { font: 600 .74rem/1.5 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--crimson); margin-bottom: 18px; }
.director-card p { color: var(--muted); font-size: .98rem; }
.stats { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(255,255,255,.12); }
.stat { padding: 30px 0 34px; }
.stat + .stat { padding-left: 32px; border-left: 1px solid rgba(255,255,255,.12); }
.stat b { display: block; font: 600 2.8rem/1 var(--serif); color: #fff; }
.stat span { display: block; margin-top: 8px; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: #8ea2ba; }

/* ---------- Sections ---------- */
.section { padding: 100px 0; }
.section.tint { background: var(--bg); }
.section.dark { background: linear-gradient(160deg, var(--navy), var(--navy-deep)); color: #c3cfdd; }
.section-head { max-width: 680px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head h2 { font-size: clamp(2.1rem, 3.6vw, 3rem); margin-bottom: 16px; font-weight: 600; }
.section-head p { color: var(--muted); font-size: 1.06rem; }
.dark .section-head h2 { color: #fff; }
.dark .section-head p { color: #9fb1c6; }
.dark .eyebrow { color: var(--gold); }

/* About */
.about-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 72px; align-items: start; }
.about-text p { margin-bottom: 18px; color: #3b475a; font-size: 1.04rem; }
.about-text p strong { color: var(--navy); }
.tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.tag { padding: 8px 15px; border-radius: 999px; background: var(--bg); border: 1px solid var(--line); font-size: .84rem; font-weight: 500; color: var(--navy); }
.office-stack { display: grid; gap: 18px; }
.office { background: var(--bg); border-radius: var(--radius); padding: 28px; border-left: 4px solid var(--crimson); }
.office h3 { font-size: 1.5rem; margin-bottom: 4px; }
.office .tagline { font-size: .9rem; color: var(--muted); margin-bottom: 14px; }
.office address { font-style: normal; font-size: .96rem; color: var(--ink); }
.office a.maplink { display: inline-flex; margin-top: 14px; font-size: .88rem; font-weight: 600; gap: 6px; align-items: center; }

/* Practice cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 34px 30px 30px; transition: transform .25s, box-shadow .25s, border-color .25s; color: inherit; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.card .icon { width: 52px; height: 52px; border-radius: 12px; background: rgba(141,26,33,.08); color: var(--crimson); display: grid; place-items: center; margin-bottom: 22px; transition: background .25s, color .25s; }
.card:hover .icon { background: var(--crimson); color: #fff; }
.icon svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { font-size: 1.65rem; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: .96rem; flex: 1; }
.card .more { margin-top: 22px; font-weight: 600; font-size: .9rem; color: var(--crimson); display: inline-flex; gap: 8px; align-items: center; }
.card .more svg { width: 16px; height: 16px; transition: transform .2s; }
.card:hover .more svg { transform: translateX(4px); }
.card::after { content: ''; position: absolute; inset: 0; border-radius: 14px; }

/* Why */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.why { padding: 8px 32px; }
.why:first-child { padding-left: 0; }
.why + .why { border-left: 1px solid rgba(255,255,255,.14); }
.why .num { font: 600 3.4rem/1 var(--serif); color: var(--gold); display: block; margin-bottom: 14px; }
.why h3 { color: #fff; font-size: 1.45rem; margin-bottom: 10px; }
.why p { font-size: .95rem; color: #9fb1c6; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 64px; align-items: start; }
.contact-info h3 { font-size: 1.7rem; margin-bottom: 26px; }
.c-item { display: flex; gap: 16px; padding: 18px 0; border-top: 1px solid var(--line); }
.c-item:last-child { border-bottom: 1px solid var(--line); }
.c-icon { width: 42px; height: 42px; flex: none; border-radius: 10px; background: rgba(141,26,33,.08); color: var(--crimson); display: grid; place-items: center; }
.c-icon svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.c-label { font: 600 .72rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.c-val, .c-val a { font-size: .98rem; color: var(--navy); font-weight: 500; }
.c-val a:hover { color: var(--crimson); }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 42px; box-shadow: var(--shadow); }
.form-card h3 { font-size: 1.8rem; margin-bottom: 6px; }
.form-card .sub { color: var(--muted); font-size: .95rem; margin-bottom: 28px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: .82rem; font-weight: 600; color: var(--navy); margin-bottom: 7px; }
.field input, .field select, .field textarea { width: 100%; font: 400 .98rem/1.4 var(--sans); color: var(--ink); padding: 13px 14px; background: #fff; border: 1.5px solid var(--line); border-radius: 8px; transition: border-color .2s, box-shadow .2s; }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--crimson); box-shadow: 0 0 0 4px rgba(141,26,33,.1); }
.form-status { margin-top: 16px; padding: 14px 16px; border-radius: 8px; font-size: .95rem; display: none; }
.form-status.ok { display: block; background: #edf7f0; color: #1d6b3a; border: 1px solid #bfe3cb; }
.form-status.err { display: block; background: #fbeeee; color: #8d1a21; border: 1px solid #efc7c9; }
.map-wrap { margin-top: 72px; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); }
.map-wrap iframe { display: block; width: 100%; height: 440px; border: 0; }

/* ---------- Inner pages ---------- */
.page-hero { background: radial-gradient(800px 360px at 90% 0%, rgba(141,26,33,.32), transparent 62%), linear-gradient(160deg, var(--navy), var(--navy-deep)); color: #fff; padding: 64px 0 68px; position: relative; overflow: hidden; }
.page-hero::after { content: ''; position: absolute; right: -40px; bottom: -80px; width: 380px; height: 310px; background: url(../images/monogram-white.png) no-repeat center/contain; opacity: .04; }
.page-hero .wrap { position: relative; z-index: 1; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: .84rem; color: #8ea2ba; margin-bottom: 26px; }
.crumbs a { color: #b9c6d6; }
.crumbs a:hover { color: #fff; }
.crumbs .sep { opacity: .5; }
.page-hero h1 { color: #fff; font-size: clamp(2.3rem, 4.4vw, 3.7rem); font-weight: 600; margin-bottom: 18px; }
.page-hero p { color: #b9c6d6; font-size: 1.1rem; max-width: 700px; }
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 64px; padding-top: 72px; padding-bottom: 100px; align-items: start; }
.content > .eyebrow { margin-bottom: 22px; }
.content p { margin-bottom: 18px; color: #38445a; font-size: 1.04rem; }
.content > p:first-of-type, .content > .eyebrow + p { font-size: 1.16rem; color: var(--navy); line-height: 1.75; }
.content h2 { font-size: 2rem; margin: 46px 0 18px; font-weight: 600; }
.content h3 { font-size: 1.4rem; margin: 30px 0 12px; }
.content ul.expertise-list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 28px; margin: 6px 0 26px; }
.content ul.expertise-list li { position: relative; padding: 14px 16px 14px 46px; background: var(--bg); border-radius: 10px; font-size: .97rem; color: var(--ink); line-height: 1.5; }
.content ul.expertise-list li::before { content: ''; position: absolute; left: 16px; top: 15px; width: 20px; height: 20px; border-radius: 50%; background: var(--crimson) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") no-repeat center/12px; }
.content ul.one-col { grid-template-columns: 1fr; }
.content ol.steps { list-style: none; counter-reset: s; margin: 10px 0 28px; border-left: 2px solid var(--line); margin-left: 17px; }
.content ol.steps li { counter-increment: s; position: relative; padding: 2px 0 22px 34px; color: var(--ink); font-size: 1rem; line-height: 1.55; }
.content ol.steps li::before { content: counter(s); position: absolute; left: -18px; top: -2px; width: 34px; height: 34px; border-radius: 50%; background: var(--navy); color: #fff; font: 600 .85rem/34px var(--sans); text-align: center; box-shadow: 0 0 0 5px #fff; }
.content ol.steps li:last-child { padding-bottom: 0; }
.download-btn { display: inline-flex; align-items: center; gap: 12px; background: var(--crimson); color: #fff; padding: 16px 26px; border-radius: 10px; font-weight: 600; font-size: .96rem; margin: 4px 0 6px; transition: background .2s, transform .2s, box-shadow .2s; }
.download-btn:hover { background: var(--crimson-d); color: #fff; transform: translateY(-2px); box-shadow: 0 10px 24px rgba(141,26,33,.28); }
.download-btn svg { width: 20px; height: 20px; }
.download-note { display: block; font-size: .9rem; color: var(--muted); margin: 8px 0 26px; }
.closing-box { margin-top: 44px; background: linear-gradient(160deg, var(--navy), var(--navy-deep)); border-radius: 14px; padding: 32px 36px; border-left: 4px solid var(--gold); }
.content .closing-box p { margin: 0; color: #e4eaf2; font: italic 500 1.4rem/1.5 var(--serif); }
.content p.note { font-size: .96rem; color: var(--muted); border-left: 3px solid var(--gold); padding: 4px 0 4px 18px; margin-top: 8px; }
.sidebar { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 22px; }
.side-card { border: 1px solid var(--line); border-radius: 14px; padding: 26px; background: #fff; }
.side-card h3 { font-size: 1.35rem; margin-bottom: 14px; }
.side-nav { list-style: none; }
.side-nav a { display: flex; justify-content: space-between; align-items: center; padding: 11px 12px; margin: 0 -12px; border-radius: 8px; color: var(--navy); font-size: .95rem; font-weight: 500; transition: background .15s, color .15s; }
.side-nav a svg { width: 14px; height: 14px; opacity: .45; }
.side-nav a:hover { background: var(--bg); color: var(--crimson); }
.side-nav a.active { background: rgba(141,26,33,.08); color: var(--crimson); font-weight: 600; }
.cta-card { background: linear-gradient(160deg, var(--navy), var(--navy-deep)); border-radius: 14px; padding: 30px 26px; color: #b9c6d6; }
.cta-card h3 { color: #fff; font-size: 1.5rem; margin-bottom: 8px; }
.cta-card p { font-size: .94rem; margin-bottom: 20px; }
.cta-card .btn { width: 100%; margin-bottom: 10px; }
.cta-card .mini { list-style: none; margin-top: 18px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.14); font-size: .86rem; display: grid; gap: 6px; }
.cta-card .mini strong { color: #fff; }

/* Calculator */
.calc { min-width: 0; }
.input-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 38px; box-shadow: var(--shadow); }
.input-card h2 { font-size: 1.9rem; margin-bottom: 8px; }
.input-card > p { color: var(--muted); margin-bottom: 26px; font-size: .97rem; }
.input-row { display: flex; gap: 14px; align-items: flex-end; }
.input-row .grow { flex: 1; }
.input-row label { display: block; font-size: .82rem; font-weight: 600; color: var(--navy); margin-bottom: 7px; }
.price-wrap { position: relative; }
.price-wrap .prefix { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); font-weight: 600; color: var(--muted); }
.price-wrap input { width: 100%; font: 600 1.25rem/1 var(--sans); color: var(--navy); padding: 17px 16px 17px 40px; border: 1.5px solid var(--line); border-radius: 10px; }
.price-wrap input:focus { outline: none; border-color: var(--crimson); box-shadow: 0 0 0 4px rgba(141,26,33,.1); }
.input-row .btn { padding: 19px 32px; }
.results { display: none; margin-top: 28px; background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); }
.results.visible { display: block; }
.results-head { background: linear-gradient(160deg, var(--navy), var(--navy-deep)); color: #fff; padding: 26px 34px; display: flex; justify-content: space-between; gap: 16px; align-items: center; flex-wrap: wrap; }
.results-head h3 { color: #fff; font-size: 1.6rem; }
.results-head .pp { color: #b9c6d6; font-size: .95rem; }
.results-head .pp span { color: var(--gold); font-weight: 700; font-size: 1.1rem; margin-left: 6px; }
.print-header { display: none; }
table.line-items { width: 100%; border-collapse: collapse; }
table.line-items td { padding: 14px 34px; border-bottom: 1px solid var(--line); font-size: .95rem; vertical-align: top; }
table.line-items td:last-child { text-align: right; white-space: nowrap; font-weight: 600; color: var(--navy); font-variant-numeric: tabular-nums; }
table.line-items tr.group td, table.line-items tr.group td:last-child { text-align: left; background: var(--bg); font: 700 .72rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--crimson); padding: 12px 34px; }
table.line-items tr.note-row td { font-size: .84rem; color: var(--muted); font-weight: 400; text-align: left; white-space: normal; border-bottom: 0; }
table.totals td { border-bottom: 0; }
table.totals tr.sub td { background: var(--bg); font-weight: 600; padding-top: 16px; padding-bottom: 16px; }
table.totals tr.grand td { background: var(--crimson); color: #fff; font: 600 1.15rem/1.3 var(--sans); padding-top: 22px; padding-bottom: 22px; }
table.totals tr.grand td:last-child { color: #fff; font-size: 1.45rem; }
.print-row { display: none; margin-top: 28px; text-align: right; }
.print-row.visible { display: block; }
.print-row button { cursor: pointer; }
.disclaimer { display: none; margin-top: 22px; padding: 18px 22px; background: #fbf6e8; border: 1px solid #ecdcae; border-radius: 10px; font-size: .88rem; color: #5a4a1b; }
.cta-strip { display: none; margin-top: 22px; background: linear-gradient(160deg, var(--navy), var(--navy-deep)); border-radius: 16px; padding: 30px 34px; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-strip h3 { color: #fff; font-size: 1.6rem; margin-bottom: 4px; }
.cta-strip p { color: #b9c6d6; font-size: .95rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: #9fb1c6; padding-top: 72px; font-size: .94rem; }
.footer-grid { display: grid; grid-template-columns: 1.2fr .9fr 1.1fr 1.1fr; gap: 48px; padding-bottom: 56px; }
.site-footer h4 { font: 700 .74rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: #fff; margin-bottom: 20px; padding-bottom: 12px; border-bottom: 2px solid var(--crimson); }
.site-footer a { color: #9fb1c6; }
.site-footer a:hover { color: #fff; }
.site-footer ul { list-style: none; display: grid; gap: 10px; }
.site-footer address { font-style: normal; line-height: 1.7; }
.site-footer address strong, .site-footer p strong { color: #e4eaf2; font-weight: 600; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 24px 0; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: .84rem; }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .header-phone { display: none; }
  .hero-grid { gap: 48px; }
  .why-grid { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .why:nth-child(3) { padding-left: 0; border-left: 0; }
  .why:nth-child(odd) { padding-left: 0; border-left: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
  :root { --header-h: 80px; }
  .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: #fff; }
  .menu-btn { display: flex; }
  .header-cta .btn { display: none; }
  .nav { position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0; background: #fff; flex-direction: column; align-items: stretch; gap: 0; padding: 12px 24px 40px; overflow-y: auto; transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s; }
  .nav.open { opacity: 1; transform: none; visibility: visible; }
  .nav-link { width: 100%; padding: 18px 4px; font-size: 1.05rem; border-bottom: 1px solid var(--line); border-radius: 0; justify-content: space-between; }
  .nav-link.active::after { display: none; }
  .dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 4px 0 8px 14px; min-width: 0; display: none; }
  .dropdown::before { display: none; }
  .has-dropdown:hover .dropdown { display: none; }
  .has-dropdown.open .dropdown { display: block; }
  .hero-grid, .about-grid, .contact-grid, .layout { grid-template-columns: 1fr; }
  .hero-grid { padding: 64px 0 56px; }
  .sidebar { position: static; }
  .layout { gap: 48px; padding-top: 48px; padding-bottom: 72px; }
  .cards { grid-template-columns: 1fr 1fr; }
  .section { padding: 72px 0; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 20px; }
  .cards, .row, .content ul.expertise-list { grid-template-columns: 1fr; }
  .stat { padding: 22px 0 24px; }
  .stat + .stat { padding-left: 16px; }
  .stat b { font-size: 2rem; }
  .stat span { font-size: .66rem; letter-spacing: .08em; }
  .why-grid, .footer-grid { grid-template-columns: 1fr; }
  .why { padding: 0 !important; border-left: 0 !important; }
  .form-card, .input-card { padding: 28px 22px; }
  .input-row { flex-direction: column; align-items: stretch; }
  table.line-items td, table.line-items tr.group td { padding-left: 20px; padding-right: 20px; }
  .results-head { padding: 22px 20px; }
  .brand img { height: 52px; }
  .closing-box { padding: 26px 24px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  * { transition-duration: .01ms !important; }
}

/* ---------- Print (calculator quote) ---------- */
@media print {
  .site-header, .site-footer, .page-hero, .input-card, .sidebar, .print-row, .cta-strip, .skip { display: none !important; }
  body { background: #fff; }
  .layout { display: block; padding: 0; }
  .results { display: block !important; box-shadow: none; border: 0; margin: 0; }
  .results-head { background: #fff !important; color: var(--navy); border-bottom: 2px solid var(--navy); padding: 0 0 14px; }
  .results-head h3, .results-head .pp { color: var(--navy); }
  .results-head .pp span { color: var(--crimson); }
  .print-header { display: block; padding: 0 0 16px; font-size: .85rem; color: var(--muted); }
  .disclaimer { display: block !important; }
  table.totals tr.grand td { background: #fff !important; color: var(--crimson) !important; border-top: 2px solid var(--crimson); }
  * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}
.director-card img.photo { width: 100%; height: 260px; object-fit: cover; border-radius: 10px; margin-bottom: 22px; }
