/* Stone Surgeons — base: tokens, type, buttons, header/nav, footer */
:root {
  --ink: #071a2e;        /* darkest — headings, footer */
  --navy: #0b2a4a;       /* brand navy — dark buttons, nav */
  --blue: #1f6fd0;       /* royal blue — phone buttons, links */
  --blue-d: #185cae;
  --teal: #2a9d8f;       /* teal — subheadings, accents */
  --teal-l: #4cc3b3;
  --teal-xl: #6fd8ca;    /* subheads on dark */
  --mint: #b9efe6;       /* light buttons, accents on dark */
  --mint-xl: #e3f8f4;
  --ice: #dcedfc;        /* header background */
  --steel: #24557f;      /* "why choose us" bands */
  --bg: #f6f8fa;
  --off: #eef5fb;
  --white: #fff;
  --text: #16263a;
  --muted: #4c5d72;
  --radius: 12px;
  --display: 'Archivo', 'Arial Black', 'Helvetica Neue', Arial, sans-serif;
  --body: 'Figtree', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --shadow: 0 10px 30px rgba(7, 26, 46, .14);
  --header-h: 78px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 16px/1.7 var(--body); color: var(--text); background: var(--white); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 4px; }
.wrap { width: min(1240px, 100% - 40px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 999; background: var(--white); padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 12px; }
.ic { width: 1.1em; height: 1.1em; flex: none; }

/* ── type ── */
h1, h2, h3, h4, .display {
  font-family: var(--display); font-stretch: 125%; font-weight: 800; text-transform: uppercase;
  color: var(--ink); line-height: 1.18; margin: 0 0 .5em; letter-spacing: -.01em;
}
h1 { font-size: clamp(30px, 3.4vw, 46px); }
h2 { font-size: clamp(26px, 2.7vw, 37px); color: var(--navy); }
h3 { font-size: clamp(19px, 1.8vw, 24px); }
.h-sub { display: block; font-size: clamp(15px, 1.35vw, 19px); color: var(--teal); margin-top: .3em; line-height: 1.25; }
.h-sub.dark { color: var(--ink); }
.center-copy { text-align: center; }
.center-copy > p { max-width: 62ch; margin-inline: auto; }

/* ── buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font: 800 15px/1 var(--display); font-stretch: 125%; text-transform: uppercase; letter-spacing: .01em;
  padding: 15px 24px; border-radius: 10px; border: 0; text-decoration: none !important; white-space: nowrap;
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(7, 26, 46, .22); }
.btn .ic { width: 18px; height: 18px; }
.btn-dark { background: var(--navy); color: var(--white); }
.btn-dark:hover { background: var(--ink); }
.btn-blue { background: var(--blue); color: var(--white); }
.btn-blue:hover { background: var(--blue-d); }
.btn-white { background: var(--white); color: var(--navy); }
.btn-mint { background: var(--mint); color: var(--navy); }
.btn-sm { padding: 10px 16px; font-size: 12px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 26px; }
.btn-row .btn { min-width: 210px; }

/* ── top bar ── */
.topbar { background: var(--navy); display: flex; justify-content: center; padding: 8px 12px; }
.topbar-pill {
  display: inline-flex; align-items: center; gap: 8px; background: rgba(0, 0, 0, .28); color: var(--mint);
  font: 700 12px/1 var(--body); text-transform: uppercase; letter-spacing: .06em; padding: 8px 16px; border-radius: 999px;
}
.topbar-pill .ic { width: 15px; height: 15px; color: var(--teal-xl); }
.topbar-pill i { width: 4px; height: 4px; border-radius: 50%; background: var(--teal-xl); margin: 0 6px; opacity: .7; }

/* ── header ── */
.site-header { position: sticky; top: 0; z-index: 100; background: var(--ice); }
.header-inner { width: min(1400px, 100% - 40px); margin-inline: auto; height: var(--header-h); display: flex; align-items: center; gap: 24px; position: relative; z-index: 2; }
.logo { flex: none; align-self: flex-start; margin-top: 6px; transition: transform .25s ease; transform-origin: top left; }
.logo img { width: 190px; filter: drop-shadow(0 6px 10px rgba(7, 26, 46, .25)); }
.site-header.scrolled .logo { transform: scale(.68); }
.header-swoosh { position: absolute; left: 0; top: 100%; width: 100%; height: 56px; pointer-events: none; }
.header-swoosh .sw1 { fill: var(--ice); }
.header-swoosh .sw2 { fill: var(--teal-l); opacity: .55; }
.main-nav { margin-left: auto; }
.nav-list { display: flex; gap: 6px; }
.has-dd { position: relative; }
.dd-btn {
  display: flex; align-items: center; gap: 4px; background: none; border: 0; padding: 10px 12px; color: var(--navy);
  font: 800 16px/1 var(--display); font-stretch: 125%; text-transform: uppercase;
}
.dd-btn .ic { width: 18px; height: 18px; transition: transform .2s; }
.has-dd.is-active > .dd-btn { color: var(--blue); }
.dd {
  position: absolute; top: 100%; left: 0; min-width: 270px; background: var(--white); border-radius: 12px; padding: 10px;
  box-shadow: var(--shadow); border-top: 4px solid var(--teal); opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .18s, transform .18s, visibility .18s;
}
.has-dd:hover > .dd, .has-dd.open > .dd, .has-dd:focus-within > .dd { opacity: 1; visibility: visible; transform: none; }
.has-dd:hover > .dd-btn .ic, .has-dd.open > .dd-btn .ic { transform: rotate(180deg); }
.dd a { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 9px 12px; border-radius: 8px; color: var(--navy); font-weight: 600; font-size: 15px; }
.dd a:hover, .dd a[aria-current] { background: var(--off); color: var(--blue); text-decoration: none; }
.dd-all a { color: var(--blue); font-weight: 700; border-top: 1px solid #e4ecf4; border-radius: 0 0 8px 8px; margin-top: 4px; }
.header-cta { display: flex; gap: 10px; }
.header-cta .btn { padding: 13px 18px; font-size: 14px; }
.nav-mobile-cta { display: none; }
.menu-toggle { display: none; margin-left: auto; width: 48px; height: 48px; border-radius: 10px; border: 0; background: var(--navy); color: var(--white); place-items: center; }
.menu-toggle .ic { width: 26px; height: 26px; }

@media (max-width: 1180px) {
  .header-cta .btn-dark { display: none; }
}
@media (max-width: 1000px) {
  :root { --header-h: 70px; }
  .menu-toggle { display: grid; }
  .header-cta { display: none; }
  .logo img { width: 150px; }
  .main-nav {
    position: absolute; top: 100%; left: 0; right: 0; margin: 0; background: var(--white); box-shadow: var(--shadow);
    max-height: 0; overflow: hidden; transition: max-height .3s ease; z-index: 3;
  }
  .site-header.menu-open .main-nav { max-height: calc(100vh - 80px); overflow-y: auto; }
  .nav-list { flex-direction: column; gap: 0; padding: 70px 20px 20px; }
  .dd-btn { width: 100%; justify-content: space-between; padding: 16px 4px; font-size: 18px; border-bottom: 1px solid #e4ecf4; }
  .dd { position: static; box-shadow: none; border: 0; opacity: 1; visibility: visible; transform: none; display: none; padding: 6px 0 10px; min-width: 0; }
  .has-dd:hover > .dd { display: none; }
  .has-dd.open > .dd { display: block; }
  .main-nav::after { content: ''; display: block; height: 1px; }
  .site-header .nav-mobile-cta { display: flex; flex-direction: column; gap: 10px; padding: 0 20px 24px; }
}

/* ── footer ── */
.site-footer {
  background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence baseFrequency='.8' numOctaves='2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='.06'/%3E%3C/svg%3E");
  color: #c9d6e3; font-size: 15px; padding-top: 30px;
}
.foot-top { display: grid; grid-template-columns: 300px 1fr 300px; gap: 40px; align-items: start; padding-bottom: 30px; }
.foot-logo img { width: 280px; }
.foot-about { text-align: center; font-size: 14px; }
.foot-about a { color: #e6eef6; }
.foot-h { font-size: 19px; color: var(--teal-xl); margin-bottom: 16px; }
.foot-h::after { content: ''; display: block; width: 90px; height: 3px; background: var(--teal); margin: 10px auto 0; border-radius: 2px; }
.foot-about .foot-h::after { margin-inline: auto; }
.foot-contact li { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.foot-contact .ic { width: 22px; height: 22px; color: var(--teal-l); }
.foot-contact b { font: 800 17px/1.2 var(--display); font-stretch: 125%; text-transform: uppercase; color: var(--white); }
.foot-contact small { display: block; color: #9fb3c8; font-size: 13px; text-transform: uppercase; }
.foot-contact a { color: inherit; }
.foot-contact .lc b { text-transform: none; font-size: 16px; }
.foot-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; padding: 10px 0 40px; }
.foot-cols .foot-h::after { margin-left: 0; }
.foot-list li { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 10px; }
.foot-list a { color: var(--white); font-weight: 700; text-transform: uppercase; font-size: 14px; }
.foot-list.sq li::before { content: ''; width: 9px; height: 9px; background: var(--teal-l); border-radius: 2px; margin-top: 7px; flex: none; }
.foot-list.pins .ic { width: 16px; height: 16px; color: var(--teal-l); margin-top: 3px; }
.socials { display: flex; gap: 14px; margin-top: 22px; }
.socials a { color: var(--white); }
.socials .ic { width: 28px; height: 28px; }
.socials a:hover { color: var(--teal-xl); }
.foot-bar { background: #030d18; padding: 16px 0; font-size: 13px; color: var(--teal-xl); }
.foot-bar .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.foot-bar a { color: var(--teal-xl); }
@media (max-width: 1000px) {
  .foot-top { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .foot-contact li { justify-content: center; }
  .foot-cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .foot-cols { grid-template-columns: 1fr; }
  .foot-bar .wrap { justify-content: center; text-align: center; }
}

/* ── reveal on scroll (content stays visible without JS) ── */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .btn:hover { transform: none; }
}
