/* ==========================================================
   NRI Tax Pros: styles
   Palette: navy + teal. Adjust the variables below to rebrand.
   ========================================================== */
:root {
  --navy-900: #3a0d14;
  --navy-800: #5a1520;
  --navy-700: #6b1a26;
  --navy-600: #7a1f2b;
  --teal-700: #6a1a25;
  --teal-600: #7a1f2b;
  --teal-500: #a9474f;
  --teal-100: #f3e1df;
  --teal-50:  #fbf4f0;
  --ink: #2a1a1c;
  --muted: #5e4b4d;
  --line: #ece2dd;
  --bg: #ffffff;
  --bg-soft: #faf5f0;
  --error: #b42318;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(58,13,20,.06), 0 2px 8px rgba(58,13,20,.05);
  --shadow: 0 10px 30px -12px rgba(58,13,20,.22);
  --shadow-lg: 0 30px 60px -20px rgba(58,13,20,.35);
  --header-h: 72px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg);
  font-size: 1.0625rem; line-height: 1.65; -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3 { line-height: 1.2; color: var(--navy-800); margin: 0 0 .5em; letter-spacing: -.02em; }
p { margin: 0 0 1em; }
a { color: var(--teal-700); }
ul, ol { padding: 0; margin: 0; list-style: none; }
button, input, select, textarea { font: inherit; }
:focus-visible { outline: 3px solid var(--teal-500); outline-offset: 3px; border-radius: 6px; }

.container { width: min(1160px, 100% - 2.5rem); margin-inline: auto; }
.container.narrow { width: min(820px, 100% - 2.5rem); }

.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 200; background: var(--navy-800); color: #fff;
  padding: .6rem 1rem; border-radius: 8px; text-decoration: none;
}
.skip-link:focus { top: 1rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .75rem 1.25rem; border-radius: 999px; border: 2px solid transparent;
  font-weight: 600; text-decoration: none; cursor: pointer; line-height: 1.2;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--teal-600); color: #fff; box-shadow: 0 8px 20px -8px rgba(122,31,43,.6); }
.btn-primary:hover { background: var(--teal-700); }
.btn-ghost { background: transparent; color: var(--navy-800); border-color: #dccbc6; }
.btn-ghost:hover { border-color: var(--navy-800); }
.btn-sm { padding: .55rem 1rem; font-size: .95rem; }
.btn-lg { padding: .95rem 1.6rem; font-size: 1.05rem; }
.btn-block { width: 100%; }

.eyebrow {
  text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; font-weight: 700;
  color: var(--teal-700); margin-bottom: .75rem;
}
.eyebrow.light { color: #e3c27a; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100; height: var(--header-h);
  background: rgba(255,255,255,.88); backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent; transition: border-color .25s, box-shadow .25s;
}
.site-header.scrolled { border-color: var(--line); box-shadow: var(--shadow-sm); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--navy-800); }
.brand-mark { color: var(--teal-600); }
.brand-name { font-size: 1.25rem; font-weight: 500; letter-spacing: -.01em; }
.brand-name strong { font-weight: 800; }
.brand-light { color: #fff; }
.brand-light .brand-mark { color: #e3c27a; }

.site-nav ul { display: flex; align-items: center; gap: 1.75rem; }
.site-nav a:not(.btn) {
  color: var(--navy-800); text-decoration: none; font-weight: 500; font-size: .98rem; position: relative; padding: .25rem 0;
}
.site-nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--teal-600);
  transform: scaleX(0); transform-origin: left; transition: transform .25s;
}
.site-nav a:not(.btn):hover::after, .site-nav a.active::after { transform: scaleX(1); }
.site-nav .btn { color: #fff; }

.nav-toggle {
  display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 10px;
  background: #fff; cursor: pointer; padding: 0; position: relative;
}
.nav-toggle .bar {
  position: absolute; left: 11px; right: 11px; height: 2px; background: var(--navy-800); border-radius: 2px;
  transition: transform .3s, opacity .2s;
}
.nav-toggle .bar:nth-child(1) { top: 14px; }
.nav-toggle .bar:nth-child(2) { top: 21px; }
.nav-toggle .bar:nth-child(3) { top: 28px; }
.nav-toggle[aria-expanded="true"] .bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; padding: clamp(3.5rem, 8vw, 6.5rem) 0 clamp(4rem, 8vw, 7rem);
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(122,31,43,.16), transparent 60%),
    radial-gradient(700px 500px at -10% 110%, rgba(90,21,32,.10), transparent 60%),
    linear-gradient(180deg, #fcf8f4 0%, #fff 100%);
}
.hero-inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; letter-spacing: -.035em; max-width: 16ch; }
.lead { font-size: clamp(1.08rem, 1.6vw, 1.22rem); color: var(--muted); max-width: 56ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .85rem; margin: 2rem 0 1.75rem; }
.hero-points { display: flex; flex-wrap: wrap; gap: .6rem 1.5rem; color: var(--navy-700); font-weight: 500; font-size: .97rem; }
.hero-points li { display: inline-flex; align-items: center; gap: .45rem; }
.hero-points svg { width: 20px; height: 20px; fill: none; stroke: var(--teal-600); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; background: var(--teal-100); border-radius: 50%; padding: 2px; }

.hero-card {
  background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: 1.5rem;
  border: 1px solid var(--line); position: relative; transform: rotate(1.2deg);
}
.hero-card::before {
  content: ""; position: absolute; left: 1.5rem; right: 1.5rem; top: 0; height: 4px; border-radius: 0 0 4px 4px;
  background: linear-gradient(90deg, var(--teal-500), var(--navy-700));
}
.hc-head { display: flex; align-items: center; gap: .4rem; margin-bottom: 1.25rem; }
.hc-dot { width: 10px; height: 10px; border-radius: 50%; background: #ece2dd; }
.hc-dot:first-child { background: #f5b4a8; } .hc-dot:nth-child(2) { background: #f6dc8f; } .hc-dot:nth-child(3) { background: #e3c27a; }
.hc-title { margin-left: .5rem; font-weight: 700; color: var(--navy-800); font-size: .98rem; }
.hc-list li {
  display: flex; align-items: center; gap: .75rem; padding: .8rem .9rem; border-radius: 12px; margin-bottom: .5rem;
  background: var(--bg-soft); color: var(--muted); font-weight: 500; font-size: .98rem;
}
.hc-check { width: 22px; height: 22px; flex: none; border-radius: 50%; border: 2px solid #dccbc6; position: relative; }
.hc-list li.done { color: var(--navy-800); }
.hc-list li.done .hc-check { background: var(--teal-600); border-color: var(--teal-600); }
.hc-list li.done .hc-check::after {
  content: ""; position: absolute; left: 6px; top: 2px; width: 6px; height: 11px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg);
}
.hc-list li.active { background: var(--teal-50); color: var(--navy-800); box-shadow: inset 0 0 0 1.5px var(--teal-500); }
.hc-list li.active .hc-check { border-color: var(--teal-500); border-top-color: transparent; animation: spin 1.4s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.hc-progress { height: 8px; background: var(--bg-soft); border-radius: 99px; overflow: hidden; margin: 1.1rem 0 .75rem; }
.hc-progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--teal-500), var(--teal-600)); border-radius: inherit; }
.hc-foot { margin: 0; font-size: .88rem; color: var(--muted); }

/* ---------- Sections ---------- */
.section { padding: clamp(4rem, 9vw, 6.5rem) 0; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto clamp(2.5rem, 5vw, 3.5rem); }
.section-head h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); font-weight: 800; }
.section-sub { color: var(--muted); font-size: 1.1rem; }

/* ---------- Services ---------- */
.service-featured {
  display: grid; grid-template-columns: 1.5fr 1fr; overflow: hidden;
  border-radius: var(--radius-lg); background: linear-gradient(135deg, var(--navy-800) 0%, var(--navy-700) 100%);
  color: #f1e2e0; box-shadow: var(--shadow-lg); margin-bottom: 1.75rem; position: relative;
}
.sf-body { padding: clamp(2rem, 4.5vw, 3.25rem); position: relative; z-index: 1; }
.service-featured h3 { color: #fff; font-size: clamp(1.8rem, 3.4vw, 2.4rem); font-weight: 800; }
.service-featured p { font-size: 1.08rem; max-width: 58ch; }
.badge {
  display: inline-block; background: rgba(227,194,122,.16); color: #e3c27a; border: 1px solid rgba(227,194,122,.35);
  border-radius: 999px; padding: .3rem .8rem; font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 1.25rem;
}
.sf-icon svg { width: 56px; height: 56px; fill: none; stroke: #e3c27a; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 1rem; }
.sf-icon .fill { fill: var(--teal-600); stroke: var(--teal-600); }
.sf-icon .tick { stroke: #fff; }
.check-list { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem 1.5rem; margin: 1.5rem 0 2rem; }
.check-list li { position: relative; padding-left: 1.9rem; color: #fff; font-weight: 500; font-size: 1rem; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: .2em; width: 1.25rem; height: 1.25rem; border-radius: 50%;
  background: var(--teal-600) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-6' fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat;
}
.sf-aside {
  display: grid; grid-template-rows: repeat(4, 1fr); gap: 1px; background: rgba(255,255,255,.08);
  border-left: 1px solid rgba(255,255,255,.08);
}
.sf-stat {
  display: flex; align-items: center; gap: 1.1rem; padding: 1.25rem 2rem; background: rgba(40,8,14,.35);
  transition: background-color .3s;
}
.sf-stat:hover { background: rgba(122,31,43,.25); }
.sf-stat-k { font-size: 2rem; font-weight: 800; color: #e3c27a; opacity: .85; font-variant-numeric: tabular-nums; }
.sf-stat-v { font-size: 1.15rem; font-weight: 600; color: #fff; }

.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.service-card {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 2rem 1.75rem 1.75rem; box-shadow: var(--shadow-sm); cursor: pointer;
  transition: transform .25s, box-shadow .25s, border-color .25s; display: flex; flex-direction: column;
}
.service-card:hover, .service-card:focus-visible { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--teal-500); }
.service-card h3 { font-size: 1.3rem; font-weight: 700; }
.service-card p { color: var(--muted); flex: 1; }
.sc-num { position: absolute; top: 1.4rem; right: 1.5rem; font-weight: 800; font-size: .9rem; color: #a8999a; letter-spacing: .05em; }
.sc-icon {
  width: 56px; height: 56px; border-radius: 14px; background: var(--teal-50); display: grid; place-items: center; margin-bottom: 1.25rem;
  transition: background-color .25s;
}
.sc-icon svg { width: 30px; height: 30px; fill: none; stroke: var(--teal-600); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.service-card:hover .sc-icon { background: var(--teal-100); }
.sc-link { font-weight: 600; color: var(--teal-700); }
.sc-link span { display: inline-block; transition: transform .2s; }
.service-card:hover .sc-link span { transform: translateX(4px); }

/* ---------- Process ---------- */
.process { background: var(--bg-soft); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; counter-reset: step; position: relative; }
.steps::before {
  content: ""; position: absolute; top: 28px; left: 12.5%; right: 12.5%; height: 2px;
  background: repeating-linear-gradient(90deg, #d3bfb9 0 8px, transparent 8px 16px);
}
.step { text-align: center; position: relative; padding: 0 .5rem; }
.step-num {
  width: 56px; height: 56px; margin: 0 auto 1.25rem; display: grid; place-items: center; border-radius: 50%;
  background: #fff; border: 2px solid var(--teal-600); color: var(--teal-700); font-weight: 800; font-size: 1.3rem; position: relative;
  box-shadow: 0 0 0 8px var(--bg-soft);
}
.step:first-child .step-num { background: var(--teal-600); color: #fff; }
.step h3 { font-size: 1.15rem; }
.step p { color: var(--muted); font-size: 1rem; }

/* ---------- About ---------- */
.about-inner { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.about-copy h2 { font-size: clamp(1.8rem, 3.6vw, 2.5rem); font-weight: 800; }
.about-copy p { color: var(--muted); }
.placeholder-note {
  display: inline-block; font-size: .92rem; padding: .5rem .85rem; border: 1px dashed #d3bfb9; border-radius: 8px; color: var(--muted); background: var(--bg-soft);
}
.values { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.values li {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; gap: .9rem;
}
.values li:nth-child(even) { transform: translateY(1.5rem); }
.values h3 { font-size: 1.1rem; margin-bottom: .3rem; }
.values p { margin: 0; color: var(--muted); font-size: .97rem; }
.v-icon { width: 44px; height: 44px; border-radius: 12px; background: var(--navy-800); display: grid; place-items: center; }
.v-icon svg { width: 22px; height: 22px; fill: none; stroke: #e3c27a; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- FAQ ---------- */
.faq { background: var(--bg-soft); }
.accordion { display: grid; gap: .85rem; }
.acc-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); overflow: hidden; transition: border-color .2s; }
.acc-item.open { border-color: var(--teal-500); }
.acc-item h3 { margin: 0; font-size: 1.05rem; }
.acc-btn {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; text-align: left;
  padding: 1.2rem 1.4rem; background: none; border: 0; cursor: pointer; color: var(--navy-800); font-weight: 600; font-size: 1.05rem;
}
.acc-btn:hover { color: var(--teal-700); }
.acc-btn:focus-visible { outline-offset: -3px; }
.acc-icon { flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--teal-50); position: relative; transition: transform .3s, background-color .3s; }
.acc-icon::before, .acc-icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; background: var(--teal-700); transform: translate(-50%, -50%); border-radius: 2px; transition: transform .3s; }
.acc-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.acc-btn[aria-expanded="true"] .acc-icon { background: var(--teal-600); transform: rotate(180deg); }
.acc-btn[aria-expanded="true"] .acc-icon::before { background: #fff; }
.acc-btn[aria-expanded="true"] .acc-icon::after { transform: translate(-50%, -50%) rotate(0); background: #fff; }
.acc-panel { overflow: hidden; transition: height .3s ease; }
.acc-panel p { padding: 0 1.4rem 1.3rem; margin: 0; color: var(--muted); }

/* ---------- Contact ---------- */
.contact { background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-800) 60%, #4a111b 100%); color: #ecd9d6; position: relative; overflow: hidden; }
.contact::before {
  content: ""; position: absolute; width: 600px; height: 600px; right: -200px; top: -200px; border-radius: 50%;
  background: radial-gradient(circle, rgba(122,31,43,.25), transparent 65%);
}
.contact-inner { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; position: relative; }
.contact-info h2 { color: #fff; font-size: clamp(1.9rem, 3.8vw, 2.7rem); font-weight: 800; }
.contact-info > p { font-size: 1.1rem; }
.contact-list { margin-top: 2rem; display: grid; gap: 1.1rem; }
.contact-list li { display: flex; gap: 1rem; align-items: flex-start; }
.contact-list svg { width: 44px; height: 44px; flex: none; padding: 11px; border-radius: 12px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1); fill: none; stroke: #e3c27a; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.contact-list li > span { display: flex; flex-direction: column; color: #fff; font-weight: 500; }
.cl-label { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: #cfb3ad; font-weight: 600; }

.form-card { background: #fff; color: var(--ink); border-radius: var(--radius-lg); padding: clamp(1.5rem, 4vw, 2.5rem); box-shadow: var(--shadow-lg); }
.field { margin-bottom: 1.1rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field label { display: block; font-weight: 600; font-size: .95rem; margin-bottom: .4rem; color: var(--navy-800); }
.req { color: var(--error); }
.optional { color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; padding: .8rem .95rem; border: 1.5px solid #d9cbc6; border-radius: 10px; background: #fff; color: var(--ink);
  transition: border-color .2s, box-shadow .2s; font-size: 1rem;
}
.field select {
  appearance: none; -webkit-appearance: none; padding-right: 2.5rem; cursor: pointer;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 8l5 5 5-5' fill='none' stroke='%235a1520' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right .85rem center/18px no-repeat;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal-600); box-shadow: 0 0 0 4px rgba(122,31,43,.18); }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--error); }
.field.invalid input:focus, .field.invalid select:focus, .field.invalid textarea:focus { box-shadow: 0 0 0 4px rgba(180,35,24,.15); }
.field.flash select { animation: flash 1.2s ease; }
@keyframes flash { 0%,100% { box-shadow: none; } 30% { box-shadow: 0 0 0 5px rgba(122,31,43,.35); border-color: var(--teal-600); } }
.field-error { color: var(--error); font-size: .88rem; margin: .35rem 0 0; min-height: 0; font-weight: 500; }
.field-error:empty { display: none; }
.form-note { font-size: .88rem; color: var(--muted); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-success { text-align: center; padding: 2rem 0.5rem; }
.form-success:focus { outline: none; }
.success-icon svg { width: 72px; height: 72px; margin: 0 auto 1.25rem; fill: none; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.success-icon circle { stroke: var(--teal-600); fill: var(--teal-50); stroke-dasharray: 151; stroke-dashoffset: 151; animation: draw .6s ease forwards; }
.success-icon path { stroke: var(--teal-600); stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw .4s .5s ease forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.form-success h3 { font-size: 1.6rem; }
.form-success p { color: var(--muted); max-width: 40ch; margin: 0 auto 1.5rem; }
.btn.is-loading { opacity: .75; pointer-events: none; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: #cfb3ad; padding: 4rem 0 2rem; font-size: .97rem; }
.footer-inner { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2rem; padding-bottom: 2.5rem; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer-brand p { margin-top: 1rem; max-width: 34ch; }
.footer-col h2 { color: #fff; font-size: .85rem; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 1rem; }
.footer-col li { margin-bottom: .55rem; }
.footer-col a { color: #e6d3cf; text-decoration: none; }
.footer-col a:hover { color: #e3c27a; }
.footer-bottom { padding-top: 1.75rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; font-size: .88rem; }
.footer-bottom p { margin: 0; }
.disclaimer { max-width: 60ch; }

/* ---------- Scroll reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.visible { opacity: 1; transform: none; }
.js .values.reveal.visible li:nth-child(even) { transform: translateY(1.5rem); }
.js .service-grid .reveal:nth-child(2), .js .steps .reveal:nth-child(2) { transition-delay: .1s; }
.js .service-grid .reveal:nth-child(3), .js .steps .reveal:nth-child(3) { transition-delay: .2s; }
.js .steps .reveal:nth-child(4) { transition-delay: .3s; }
.js .hero-card.reveal { transition-delay: .15s; }
.js .hero-card.reveal.visible { transform: rotate(1.2deg); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero h1 { max-width: 20ch; }
  .hero-card { max-width: 460px; }
  .service-featured { grid-template-columns: 1fr; }
  .sf-aside { grid-template-columns: repeat(4, 1fr); grid-template-rows: none; border-left: 0; border-top: 1px solid rgba(255,255,255,.08); }
  .sf-stat { flex-direction: column; align-items: flex-start; gap: .2rem; padding: 1.25rem 1.5rem; }
  .about-inner, .contact-inner { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: fixed; top: var(--header-h); left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow); padding: 1rem 1.25rem 1.5rem;
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: transform .25s, opacity .25s, visibility .25s;
  }
  .site-nav.open { transform: none; opacity: 1; visibility: visible; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: .25rem; }
  .site-nav a:not(.btn) { display: block; padding: .85rem .5rem; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .site-nav a:not(.btn)::after { display: none; }
  .site-nav .btn { margin-top: 1rem; padding: .9rem; font-size: 1.05rem; }
  .service-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; gap: 2.5rem 1.5rem; }
  .steps::before { display: none; }
  .check-list { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  body { font-size: 1rem; }
  .hero-actions .btn { width: 100%; }
  .hero-card { transform: none; }
  .js .hero-card.reveal.visible { transform: none; }
  .sf-aside { grid-template-columns: 1fr 1fr; }
  .sf-stat-k { font-size: 1.5rem; }
  .steps { grid-template-columns: 1fr; }
  .step { display: grid; grid-template-columns: 56px 1fr; gap: 0 1rem; text-align: left; }
  .step-num { margin: 0; grid-row: span 2; }
  .values { grid-template-columns: 1fr; }
  .values li:nth-child(even), .js .values.reveal.visible li:nth-child(even) { transform: none; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
}

/* ---------- Contact details additions ---------- */
.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; }
address { font-style: normal; }
.contact-list a { color: #fff; text-decoration: none; border-bottom: 1px solid rgba(227,194,122,.5); }
.contact-list a:hover { color: #e3c27a; }
.contact-list .map-link { align-self: flex-start; margin-top: .35rem; font-size: .9rem; color: #e3c27a; border: 0; }
.contact-list .map-link:hover { text-decoration: underline; }
.footer-contact li { margin-bottom: .55rem; }
.footer-contact a { color: #e6d3cf; text-decoration: none; }
.footer-contact a:hover { color: #e3c27a; }
.nav-phone a { display: inline-flex !important; align-items: center; gap: .4rem; font-weight: 600 !important; color: var(--teal-700) !important; white-space: nowrap; }
.nav-phone svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.nav-phone a::after { display: none; }
.hero-call { color: var(--muted); font-size: .98rem; margin: -0.75rem 0 1.5rem; }
.hero-call a { font-weight: 700; color: var(--teal-700); text-decoration: none; border-bottom: 2px solid var(--teal-100); }
.hero-call a:hover { border-color: var(--teal-600); }

.footer-bottom a { color: #e6d3cf; text-decoration: none; }
.footer-bottom a:hover { color: #e3c27a; }
.hero h1 { margin-bottom: .35em; }
.tagline { display: inline-flex; align-items: center; gap: .6rem; font-size: clamp(1.1rem, 1.9vw, 1.35rem); font-weight: 700; color: var(--teal-700); margin: 0 0 1.1rem; letter-spacing: -.01em; }
.tagline::before { content: ""; width: 28px; height: 3px; border-radius: 3px; background: var(--teal-500); flex: none; }

/* ---------- Client Login button & page ---------- */
.btn-outline { background: transparent; color: var(--navy-800) !important; border-color: var(--navy-800); }
.btn-outline:hover { background: var(--navy-800); color: #fff !important; }
.login-main { background:
    radial-gradient(800px 450px at 85% -10%, rgba(122,31,43,.16), transparent 60%),
    linear-gradient(180deg, #fcf8f4 0%, #f6eee8 100%); }
.login-section { padding: clamp(3rem, 8vw, 6rem) 0; min-height: calc(100vh - var(--header-h) - 120px); display: flex; align-items: center; }
.login-inner { display: flex; justify-content: center; }
.login-card { width: 100%; max-width: 440px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: clamp(1.75rem, 5vw, 2.5rem); }
.login-icon { width: 52px; height: 52px; border-radius: 14px; background: var(--navy-800); display: grid; place-items: center; margin-bottom: 1.25rem; }
.login-icon svg { width: 26px; height: 26px; fill: none; stroke: #e3c27a; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.login-card h1 { font-size: 1.9rem; font-weight: 800; margin-bottom: .3em; }
.login-sub { color: var(--muted); }
.login-note { font-size: .88rem; background: #fff8e6; border: 1px solid #f3d58a; color: #6b4e00; border-radius: 10px; padding: .65rem .85rem; }
.login-message { margin-top: 1rem; background: var(--teal-50); border: 1px solid var(--teal-500); color: var(--navy-800); border-radius: 10px; padding: .85rem 1rem; font-weight: 500; font-size: .97rem; }
.login-help { margin: 1.5rem 0 .75rem; font-size: .95rem; color: var(--muted); }
.login-back { font-weight: 600; text-decoration: none; font-size: .95rem; }
.login-back:hover { text-decoration: underline; }
@media (max-width: 1240px) and (min-width: 861px) { .nav-phone { display: none; } .site-nav ul { gap: 1.2rem; } }
@media (max-width: 860px) { .site-nav .btn-outline { margin-top: 1rem; } .site-nav .btn-primary { margin-top: .5rem; } }
.login-note-info { text-align: center; font-size: .88rem; color: var(--muted); margin: .75rem 0 0; }
.portal-host { font-weight: 600; color: var(--navy-800); }
@media (max-width: 860px) {
  .site-nav .btn { display: flex; width: 100%; }
  .site-nav .nav-phone a { display: flex !important; }
}
@media (max-width: 560px) { .tagline::before { display: none; } }
a[href^="tel:"] { white-space: nowrap; }

/* ---------- Burgundy theme accents (gold highlights) ---------- */
:root { --gold-600: #9a7428; --gold-400: #c9a24b; --gold-200: #e3c27a; --cream: #fbf6ee; }
.tagline::before { background: var(--gold-400); }
.hero-card::before { background: linear-gradient(90deg, var(--gold-400), var(--navy-700)); }
.hc-progress span { background: linear-gradient(90deg, var(--gold-400), var(--teal-600)); }
.section-head .eyebrow::after { content: ""; display: block; width: 36px; height: 2px; background: var(--gold-400); margin: .6rem auto 0; border-radius: 2px; }
.about-copy .eyebrow::after { content: ""; display: block; width: 36px; height: 2px; background: var(--gold-400); margin-top: .6rem; border-radius: 2px; }
.process, .faq { background: var(--cream); }
.step-num { box-shadow: 0 0 0 8px var(--cream); }
.sf-stat:hover { background: rgba(227,194,122,.12); }
.service-featured { background: linear-gradient(135deg, #5a1520 0%, #6e1b28 100%); }
.contact { background: linear-gradient(135deg, #3a0d14 0%, #5a1520 60%, #6b1a26 100%); }
.contact::before { background: radial-gradient(circle, rgba(227,194,122,.14), transparent 65%); }
.site-footer { background: #3a0d14; }
.service-featured .btn-primary { background: var(--gold-200); color: #3a0d14; box-shadow: 0 8px 20px -8px rgba(0,0,0,.45); }
.service-featured .btn-primary:hover { background: #f0d79a; }
.check-list li::before { background-color: var(--gold-400); }
.sf-icon .fill { fill: var(--gold-400); stroke: var(--gold-400); }
.sf-icon .tick { stroke: #3a0d14; }

/* ---------- Hero slideshow ---------- */
.hero.hero-slider {
  padding: 0; background: #3a0d14; color: #fff; isolation: isolate;
  min-height: clamp(560px, calc(100vh - var(--header-h)), 760px);
  display: flex; flex-direction: column;
}
.hs-bg {
  position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: center;
  transform: scale(1.06); transition: transform 7s ease-out;
}
.hs-slide.is-active .hs-bg { transform: scale(1); }
.hero-slider::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(58,13,20,.94) 0%, rgba(58,13,20,.82) 42%, rgba(90,21,32,.55) 75%, rgba(122,31,43,.40) 100%),
    linear-gradient(0deg, rgba(58,13,20,.75) 0%, transparent 40%);
}
.hs-brand-wrap { position: relative; padding-top: clamp(2.5rem, 6vw, 4.5rem); }
.hero-slider .hs-name {
  color: #fff; font-size: clamp(2.4rem, 5.4vw, 4rem); font-weight: 800; letter-spacing: -.035em;
  margin: 0 0 .15em; max-width: none;
}
.hero-slider .tagline { color: var(--gold-200); margin: 0 0 .5rem; }
.hs-loc { color: rgba(251,246,238,.78); font-size: .98rem; margin: 0; }
.hs-loc a { color: #fbf6ee; font-weight: 600; text-decoration: none; border-bottom: 1px solid rgba(227,194,122,.6); }
.hs-loc a:hover { color: var(--gold-200); }

.hs-viewport { position: static; flex: 1; display: flex; align-items: center; touch-action: pan-y; }
.hs-track { display: grid; width: 100%; }
.hs-slide {
  grid-area: 1 / 1; opacity: 0; visibility: hidden;
  transition: opacity .8s ease, visibility 0s linear .8s;
}
.hs-slide.is-active { opacity: 1; visibility: visible; transition: opacity .8s ease, visibility 0s; }
.hs-content { padding: clamp(1.75rem, 4vw, 3rem) 0 clamp(1.5rem, 3vw, 2rem); }
.hs-kicker {
  display: inline-flex; align-items: center; gap: .6rem; text-transform: uppercase; letter-spacing: .14em;
  font-size: .8rem; font-weight: 700; color: var(--gold-200); margin: 0 0 .9rem;
}
.hs-num { display: inline-grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%; border: 1.5px solid var(--gold-400); color: var(--gold-200); letter-spacing: 0; font-size: .75rem; }
.hero-slider .hs-title { color: #fff; font-size: clamp(1.7rem, 3.6vw, 2.75rem); font-weight: 800; letter-spacing: -.03em; max-width: 20ch; margin: 0 0 .5rem; }
.hs-copy { color: rgba(251,246,238,.88); font-size: clamp(1.02rem, 1.5vw, 1.18rem); max-width: 52ch; margin: 0 0 1.6rem; }
.hs-slide .hs-kicker, .hs-slide .hs-title, .hs-slide .hs-copy, .hs-slide .btn { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.hs-slide.is-active .hs-kicker, .hs-slide.is-active .hs-title, .hs-slide.is-active .hs-copy, .hs-slide.is-active .btn { opacity: 1; transform: none; }
.hs-slide.is-active .hs-title { transition-delay: .1s; }
.hs-slide.is-active .hs-copy { transition-delay: .2s; }
.hs-slide.is-active .btn { transition-delay: .3s; }
.btn-gold { background: var(--gold-200); color: #3a0d14; box-shadow: 0 10px 24px -10px rgba(0,0,0,.55); }
.btn-gold:hover { background: #f0d79a; }
.hero-slider :focus-visible { outline-color: var(--gold-200); }

.hs-controls { position: relative; display: flex; align-items: center; gap: .75rem; padding-bottom: clamp(1.75rem, 4vw, 2.75rem); }
.hs-arrow, .hs-pause {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; padding: 0;
  background: rgba(58,13,20,.45); border: 1.5px solid rgba(227,194,122,.55); color: #fbf6ee;
  transition: background-color .2s, border-color .2s, color .2s;
}
.hs-arrow:hover, .hs-pause:hover { background: var(--gold-200); border-color: var(--gold-200); color: #3a0d14; }
.hs-arrow svg, .hs-pause svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.hs-pause .i-play { display: none; }
.hs-pause.is-paused .i-play { display: block; fill: currentColor; stroke-width: 1.5; }
.hs-pause.is-paused .i-pause { display: none; }
.hs-pause[hidden] { display: none; }
.hs-dots { display: flex; gap: .15rem; }
.hs-dot { width: 32px; height: 44px; padding: 0; border: 0; background: none; cursor: pointer; position: relative; }
.hs-dot::before { content: ""; position: absolute; left: 4px; right: 4px; top: 50%; height: 4px; margin-top: -2px; border-radius: 4px; background: rgba(251,246,238,.38); transition: background-color .2s; }
.hs-dot:hover::before { background: rgba(251,246,238,.7); }
.hs-dot[aria-current="true"]::before { background: var(--gold-400); }
.hs-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(251,246,238,.12); }
.hs-progress span { display: block; height: 100%; width: 0; background: var(--gold-400); }
.hs-progress.is-running span { width: 100%; transition: width 6s linear; }

@media (max-width: 860px) {
  .hero-slider::before {
    background: linear-gradient(180deg, rgba(58,13,20,.92) 0%, rgba(58,13,20,.78) 50%, rgba(58,13,20,.92) 100%);
  }
}
@media (max-width: 560px) {
  .hero.hero-slider { min-height: 0; }
  .hs-content .btn { width: 100%; }
  .hs-controls { justify-content: center; }
  .hs-pause { order: 4; }
  .hero-slider .tagline { font-size: 1.08rem; }
}
@media (prefers-reduced-motion: reduce) {
  .hs-bg, .hs-slide.is-active .hs-bg { transform: none; }
  .hs-progress { display: none; }
}
