/* ===========================================================
   X-Treme High Pressure — stylesheet (v3, flyer-sourced content)
   Palette sampled from the supplied logo. The logo itself is
   always shown as the original artwork, on a white background.
   =========================================================== */

:root{
  --blue-900:#062B66;
  --blue-800:#083A8A;
  --blue-700:#0A4FC7;   /* primary brand blue (logo) */
  --blue-600:#1360E0;
  --blue-400:#4D9BFF;
  --blue-50:#EEF4FF;

  --ink-900:#0B0F19;    /* logo black */
  --ink-700:#283042;
  --ink-500:#556078;
  --ink-400:#7A849A;

  --white:#FFFFFF;
  --tint:#F5F8FC;
  --line:#E3E9F2;

  --good:#1B9E63;
  --bad:#C0392B;

  --r-sm:10px;
  --r-md:14px;
  --r-lg:20px;

  --sh-sm:0 1px 2px rgba(11,15,25,.05), 0 2px 8px rgba(11,15,25,.05);
  --sh-md:0 4px 12px rgba(11,15,25,.06), 0 12px 32px rgba(11,15,25,.08);
  --sh-lg:0 20px 50px rgba(6,43,102,.18);

  --font-head:'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body:'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --container:1180px;
  --header-h:76px;
}

/* ---------- Base ---------- */
*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; scroll-padding-top:calc(var(--header-h) + 8px); overflow-x:hidden; }
body{
  margin:0; font-family:var(--font-body); font-size:16px; line-height:1.65;
  color:var(--ink-700); background:var(--white); -webkit-font-smoothing:antialiased;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
ul,ol{ list-style:none; margin:0; padding:0; }
h1,h2,h3,h4{ text-wrap:balance; font-family:var(--font-head); color:var(--ink-900); line-height:1.2; margin:0; letter-spacing:-.01em; }
p{ margin:0; }
button{ font:inherit; cursor:pointer; }
:focus-visible{ outline:3px solid var(--blue-400); outline-offset:3px; border-radius:6px; }

.wrap{ max-width:var(--container); margin:0 auto; padding:0 24px; }
.icon{ width:18px; height:18px; flex-shrink:0; fill:none; stroke:currentColor; stroke-width:2; stroke-linecap:round; stroke-linejoin:round; }
.ico svg, .service-ico svg, .rope-worker svg, .footer-social svg, .back-to-top svg{
  fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round;
}

.skip-link{ position:absolute; left:-999px; top:0; background:var(--blue-700); color:#fff; padding:12px 18px; z-index:1000; }
.skip-link:focus{ left:0; }

/* ---------- Section scaffolding ---------- */
.section{ padding:104px 0; }
.section-tint{ background:var(--tint); }
.section-head{ max-width:640px; margin:0 auto 56px; text-align:center; }
.section-head h2{ font-size:clamp(1.75rem, 3vw, 2.4rem); margin-bottom:14px; }
.section-head p:not(.kicker){ color:var(--ink-500); font-size:1.05rem; }
.kicker{
  display:inline-flex; align-items:center; gap:8px; margin-bottom:12px;
  font-size:.78rem; font-weight:600; letter-spacing:.12em; text-transform:uppercase; color:var(--blue-700);
}
.kicker::before{ content:''; width:18px; height:2px; background:currentColor; border-radius:2px; }
.section-note{ text-align:center; color:var(--ink-500); margin-top:40px; }
.section-note.small{ font-size:.85rem; color:var(--ink-400); margin-top:28px; }
.section-note a{ color:var(--blue-700); font-weight:600; }
@media (max-width:768px){ .section{ padding:72px 0; } .section-head{ margin-bottom:40px; } }

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:10px;
  padding:12px 22px; border-radius:999px; border:1.5px solid transparent;
  font-weight:600; font-size:.95rem; line-height:1.2; white-space:nowrap;
  transition:transform .18s ease, box-shadow .18s ease, background-color .18s ease, color .18s ease, border-color .18s ease;
}
.btn-sm{ padding:10px 18px; font-size:.9rem; }
.btn-lg{ padding:16px 28px; font-size:1rem; }
.btn-block{ width:100%; }
.btn-primary{ background:var(--blue-700); color:#fff; box-shadow:0 6px 16px rgba(10,79,199,.28); }
.btn-primary:hover{ background:var(--blue-600); transform:translateY(-1px); box-shadow:0 10px 22px rgba(10,79,199,.34); }
.btn-glass{ background:rgba(255,255,255,.1); color:#fff; border-color:rgba(255,255,255,.45); backdrop-filter:blur(6px); }
.btn-glass:hover{ background:#fff; color:var(--blue-800); border-color:#fff; }
.btn-light{ background:#fff; color:var(--blue-800); }
.btn-light:hover{ transform:translateY(-1px); box-shadow:var(--sh-md); }
.btn .icon{ transition:transform .18s ease; }
.btn:hover .icon{ transform:translateX(2px); }
.btn-row{ display:flex; flex-wrap:wrap; gap:14px; }
/* Hero: quote button on top, Neil and Ray side by side below; stacked on small phones. */
.hero-actions{ display:grid; grid-template-columns:1fr 1fr; gap:16px 14px; max-width:480px; }
.hero-actions .btn-primary{ grid-column:1 / -1; }
.hero-actions .btn-glass{ padding-left:16px; padding-right:16px; }
@media (max-width:440px){ .hero-actions{ grid-template-columns:1fr; gap:18px; } }

.link-arrow{ display:inline-flex; align-items:center; gap:6px; color:var(--blue-700); font-weight:600; font-size:.92rem; }
.link-arrow .icon{ width:16px; height:16px; transition:transform .18s ease; }
.link-arrow:hover .icon{ transform:translateX(3px); }

/* Icon tile used across sections */
.ico{
  display:inline-grid; place-items:center; width:48px; height:48px; flex-shrink:0;
  border-radius:12px; background:var(--blue-50); color:var(--blue-700);
}
.ico svg{ width:24px; height:24px; }

/* ---------- Header ---------- */
.site-header{
  position:sticky; top:0; z-index:200; height:var(--header-h);
  background:rgba(255,255,255,.96); backdrop-filter:saturate(180%) blur(12px);
  border-bottom:1px solid transparent; transition:border-color .2s ease, box-shadow .2s ease;
}
.site-header.scrolled{ border-color:var(--line); box-shadow:var(--sh-sm); }
.header-inner{ height:100%; display:flex; align-items:center; justify-content:space-between; gap:24px; }

/* Original logo artwork, shown as supplied (on white) */
.brand{ display:flex; align-items:center; flex-shrink:0; }
.brand-logo{ height:60px; width:auto; }

.main-nav{ display:flex; align-items:center; gap:36px; }
.main-nav ul{ display:flex; gap:28px; }
.nav-link{ position:relative; font-size:.93rem; font-weight:500; color:var(--ink-700); padding:6px 0; transition:color .15s ease; }
.nav-link::after{ content:''; position:absolute; left:0; right:0; bottom:0; height:2px; background:var(--blue-700); transform:scaleX(0); transform-origin:left; transition:transform .2s ease; }
.nav-link:hover, .nav-link.active{ color:var(--ink-900); }
.nav-link:hover::after, .nav-link.active::after{ transform:scaleX(1); }
.nav-actions{ display:flex; align-items:center; gap:18px; }
/* Desktop bar: one "Call Neil or Ray" link to #contact. Phone menu: one dial button per person. */
.nav-call, .nav-phone{ display:inline-flex; align-items:center; gap:8px; font-weight:600; font-size:.92rem; color:var(--ink-900); }
.nav-phone{ display:none; }
.nav-call .icon, .nav-phone .icon{ color:var(--blue-700); }
.nav-call:hover, .nav-phone:hover{ color:var(--blue-700); }

.rope-drop{ display:none; }
.menu-toggle{
  display:none; flex-direction:column; justify-content:center; gap:5px;
  width:44px; height:44px; border:1px solid var(--line); border-radius:12px; background:#fff;
}
.menu-toggle span{ display:block; width:20px; height:2px; margin:0 auto; background:var(--ink-900); border-radius:2px; transition:transform .25s ease, opacity .2s ease; }
.menu-toggle[aria-expanded="true"] span:nth-child(1){ transform:translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2){ opacity:0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3){ transform:translateY(-7px) rotate(-45deg); }

@media (max-width:1100px){ .main-nav ul{ gap:20px; } .main-nav{ gap:24px; } .nav-call{ display:none; } }
@media (max-width:960px){
  :root{ --header-h:68px; }
  /* backdrop-filter would trap the fixed nav/scrim inside the header box */
  .site-header{ backdrop-filter:none; -webkit-backdrop-filter:none; background:#fff; }
  .brand-logo{ height:48px; }
  .menu-toggle{ display:flex; }
  .main-nav{
    position:fixed; top:0; right:0; z-index:210; height:100dvh; width:min(340px, 86vw);
    flex-direction:column; align-items:stretch; gap:28px; padding:104px 28px 32px;
    background:#fff; box-shadow:-12px 0 40px rgba(11,15,25,.16);
    transform:translateX(100%); visibility:hidden;
    transition:transform .35s cubic-bezier(.2,.8,.2,1), visibility 0s linear .35s;
  }
  .main-nav.open{ transform:translateX(0); visibility:visible; transition:transform .35s cubic-bezier(.2,.8,.2,1); }
  .main-nav ul{ flex-direction:column; gap:0; }
  .nav-link{ display:block; padding:14px 2px; border-bottom:1px solid var(--line); font-size:1rem; }
  .nav-link::after{ display:none; }
  .nav-actions{ flex-direction:column; align-items:stretch; gap:14px; }
  .nav-phone{ display:inline-flex; justify-content:center; padding:12px; border:1px solid var(--line); border-radius:999px; }
  .nav-actions .btn{ padding:14px; }

  /* Rope-drop: a dashed rope lowers a carabiner as the menu opens */
  .rope-drop{ display:block; position:absolute; top:0; left:28px; width:24px; height:84px; pointer-events:none; }
  .rope-line{
    display:block; width:2px; height:0; margin:0 auto;
    background:repeating-linear-gradient(180deg, var(--blue-700) 0 6px, transparent 6px 11px);
    transition:height .45s cubic-bezier(.2,.8,.2,1) .1s;
  }
  .rope-worker{
    position:absolute; left:0; top:0; width:24px; height:24px; color:var(--blue-700);
    transform:translateY(-24px); opacity:0; transition:transform .45s cubic-bezier(.2,.8,.2,1) .1s, opacity .2s ease .1s;
  }
  .rope-worker svg{ width:24px; height:24px; }
  .main-nav.open .rope-line{ height:58px; }
  .main-nav.open .rope-worker{ transform:translateY(56px); opacity:1; }
}
.nav-scrim{ position:fixed; inset:0; z-index:190; background:rgba(6,16,40,.45); opacity:0; pointer-events:none; transition:opacity .3s ease; }
.nav-scrim.show{ opacity:1; pointer-events:auto; }

/* ---------- Hero (navy split, photo circles mirror the flyer) ---------- */
.hero{
  position:relative; overflow:hidden; color:#fff; padding:88px 0 132px;
  background:radial-gradient(90% 120% at 100% 0%, var(--blue-700) 0%, var(--blue-800) 40%, var(--blue-900) 100%);
}
.hero-grid{ display:grid; grid-template-columns:1.05fr 1fr; gap:48px; align-items:center; }
.eyebrow{
  display:inline-flex; align-items:center; gap:10px; margin-bottom:22px; padding:8px 14px;
  border:1px solid rgba(255,255,255,.22); border-radius:999px; background:rgba(255,255,255,.06);
  font-size:.78rem; font-weight:600; letter-spacing:.1em; text-transform:uppercase; color:#DCE7FB;
}
.eyebrow-dot{ width:8px; height:8px; border-radius:50%; background:var(--blue-400); box-shadow:0 0 0 4px rgba(77,155,255,.25); }
.hero h1{ color:#fff; font-size:clamp(2.4rem, 5.4vw, 4rem); font-weight:800; line-height:1.05; letter-spacing:-.025em; margin-bottom:20px; }
.hero h1 span{ color:var(--blue-400); }
.hero-sub{ font-size:1.12rem; color:#C5D5F3; max-width:520px; margin-bottom:34px; }

.hero-circles{ position:relative; aspect-ratio:1/1; max-width:500px; width:100%; justify-self:end; }
.hero-circles .c{
  position:absolute; height:auto; aspect-ratio:1/1; border-radius:50%; object-fit:cover; background:var(--blue-800);
  border:5px solid var(--blue-400); box-shadow:0 18px 40px rgba(0,0,0,.35);
}
.hero-circles .c1{ width:62%; left:0; top:0; }
.hero-circles .c2{ width:40%; right:0; top:6%; }
.hero-circles .c3{ width:46%; right:4%; bottom:0; }
.hero-circles .c4{ width:36%; left:10%; bottom:2%; }
@media (max-width:900px){
  .hero{ padding:64px 0 120px; }
  .hero-grid{ grid-template-columns:1fr; gap:40px; }
  .hero-circles{ max-width:380px; justify-self:center; }
}

/* ---------- Service strip (the flyer's service list) ---------- */
.service-strip{
  position:relative; z-index:2; margin-top:-64px;
  display:grid; grid-template-columns:repeat(5,1fr); gap:0;
  background:#fff; border:1px solid var(--line); border-radius:var(--r-lg); box-shadow:var(--sh-lg); overflow:hidden;
}
.service-strip li{
  display:flex; flex-direction:column; align-items:center; gap:10px; padding:22px 8px; text-align:center;
  font-family:var(--font-head); font-weight:700; font-size:.92rem; color:var(--ink-900);
}
.service-strip li + li{ border-left:1px solid var(--line); }
@media (max-width:520px){
  .service-strip{ grid-template-columns:repeat(2,1fr); }
  .service-strip li{ border-bottom:1px solid var(--line); }
  .service-strip li + li{ border-left:0; }
  .service-strip li:nth-child(even){ border-left:1px solid var(--line); }
  .service-strip li:last-child{ grid-column:1 / -1; border-left:0; }
}

/* ---------- Why statement (rate sheet) ---------- */
.why-statement{ display:flex; gap:28px; align-items:flex-start; max-width:900px; }
.why-statement h2{ font-size:clamp(1.5rem,2.6vw,2.1rem); margin-bottom:14px; }
.why-statement p:not(.kicker){ color:var(--ink-500); font-size:1.05rem; }
.ico-lg{ width:64px; height:64px; border-radius:16px; }
.ico-lg svg{ width:32px; height:32px; }
.facts{ display:flex; flex-wrap:wrap; gap:10px; margin-top:18px; }
.facts li{ display:inline-flex; align-items:center; gap:8px; padding:8px 14px; border-radius:999px; background:var(--blue-50); color:var(--blue-800); font-family:var(--font-head); font-weight:700; font-size:.9rem; }
.facts .icon{ width:18px; height:18px; }
@media (max-width:640px){ .why-statement{ flex-direction:column; gap:18px; } }

/* ---------- Services ---------- */
.service-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
.service-card{
  display:flex; flex-direction:column; background:#fff; border:1px solid var(--line); border-radius:var(--r-lg);
  padding:28px; transition:transform .25s ease, box-shadow .25s ease;
}
.service-card:hover{ transform:translateY(-4px); box-shadow:var(--sh-md); }
/* Circular photos cropped from the flyer; the slight zoom hides its ring edges */
.service-img{ display:flex; justify-content:center; margin-bottom:22px; }
.service-img img{
  width:150px; height:150px; border-radius:50%; object-fit:cover; transform:scale(1);
  border:4px solid var(--blue-700); box-shadow:0 0 0 6px var(--blue-50);
}
.service-img.duo img{ width:124px; height:124px; }
.service-img.duo img + img{ margin-left:-18px; }
.service-body{ display:flex; flex-direction:column; flex:1; }
.service-body h3{ display:flex; align-items:center; gap:10px; font-size:1.2rem; margin-bottom:14px; }
.service-body h3 .icon{ width:22px; height:22px; color:var(--blue-700); }
.service-body > p{ color:var(--ink-500); font-size:.95rem; }
.benefits{ display:grid; gap:10px; font-size:.9rem; color:var(--ink-500); }
.benefits li{ position:relative; padding-left:18px; }
.benefits li::before{ content:''; position:absolute; left:0; top:.62em; width:7px; height:7px; border-radius:50%; background:var(--blue-700); }
.benefits strong{ color:var(--ink-900); font-weight:600; }
.service-foot{ margin-top:auto; padding-top:20px; }
.service-foot .price{
  display:block; padding-top:16px; border-top:1px solid var(--line);
  font-family:var(--font-head); font-weight:800; font-size:1.25rem; color:var(--blue-700);
}
.service-foot .price small{ display:block; font-family:var(--font-body); font-weight:500; font-size:.8rem; color:var(--ink-400); }
.service-card-more{ justify-content:center; background:var(--blue-50); border-color:transparent; }
.service-card-more .service-foot{ padding-top:16px; }
@media (max-width:1000px){ .service-grid{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:640px){ .service-grid{ grid-template-columns:1fr; } }

/* ---------- Pricing (rate sheet table) ---------- */
.rate-table{ background:#fff; border:1px solid var(--line); border-radius:var(--r-lg); overflow:hidden; margin-bottom:24px; box-shadow:var(--sh-sm); }
.rate-row{ display:grid; grid-template-columns:1.4fr .8fr 1.3fr; gap:16px; align-items:center; padding:18px 24px; }
.rate-row + .rate-row{ border-top:1px solid var(--line); }
.rate-head{ background:var(--blue-900); color:#fff; font-size:.78rem; font-weight:600; letter-spacing:.08em; text-transform:uppercase; }
.rate-svc{ display:flex; align-items:center; gap:12px; font-weight:600; color:var(--ink-900); }
.rate-svc .icon{ color:var(--blue-700); width:22px; height:22px; }
.rate-amt{ font-family:var(--font-head); font-weight:800; font-size:1.2rem; color:var(--blue-700); white-space:nowrap; }
.rate-unit{ color:var(--ink-500); font-size:.92rem; }
.price-notes{ display:grid; grid-template-columns:1fr 1fr; gap:20px; }
.price-note{ display:flex; gap:16px; align-items:flex-start; padding:22px 24px; background:#fff; border:1px solid var(--line); border-radius:var(--r-lg); }
.price-note h4{ font-size:1rem; margin-bottom:4px; }
.price-note p{ font-size:.9rem; color:var(--ink-500); }
@media (max-width:760px){
  .price-notes{ grid-template-columns:1fr; }
  .rate-head{ display:none; }
  .rate-row{ grid-template-columns:1fr auto; gap:4px 12px; padding:16px 18px; }
  .rate-unit{ grid-column:1 / -1; font-size:.85rem; padding-left:34px; }
}

/* Honeypot field: kept off-screen for people, visible to bots */
.hp{ position:absolute; left:-9999px; width:1px; height:1px; overflow:hidden; }
.cf-turnstile{ min-height:65px; }

/* ---------- Contact ---------- */
.contact-grid{ display:grid; grid-template-columns:5fr 7fr; gap:64px; align-items:start; }
.contact-info h2{ font-size:clamp(1.7rem,2.8vw,2.25rem); margin-bottom:14px; }
.contact-info > p{ color:var(--ink-500); margin-bottom:30px; }
.contact-list{ display:grid; gap:12px; }
.contact-item{
  display:flex; align-items:center; gap:16px; padding:14px 16px; border:1px solid var(--line); border-radius:var(--r-md);
  background:#fff; font-weight:600; color:var(--ink-900); transition:border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
a.contact-item:hover{ border-color:var(--blue-700); box-shadow:var(--sh-sm); transform:translateX(3px); }
.contact-item small{ display:block; font-size:.78rem; font-weight:500; color:var(--ink-400); }
.contact-item .ico{ width:44px; height:44px; }
.contact-item .ico svg{ width:22px; height:22px; }

.quote-form{ padding:40px; background:#fff; border:1px solid var(--line); border-radius:var(--r-lg); box-shadow:var(--sh-md); }
.quote-form h3{ font-size:1.35rem; margin-bottom:6px; }
.form-intro{ color:var(--ink-500); font-size:.92rem; margin-bottom:26px; }
.form-grid{ display:grid; grid-template-columns:1fr 1fr; gap:18px 16px; margin-bottom:24px; }
.field.full{ grid-column:1 / -1; }
label{ display:block; margin-bottom:7px; font-size:.85rem; font-weight:600; color:var(--ink-900); }
.opt{ font-weight:400; color:var(--ink-400); }
input, select, textarea{
  width:100%; padding:13px 14px; border:1px solid var(--line); border-radius:var(--r-sm);
  background:var(--tint); color:var(--ink-900); font:inherit; font-size:.95rem;
  transition:border-color .15s ease, background-color .15s ease, box-shadow .15s ease;
}
textarea{ resize:vertical; min-height:110px; }
input:focus, select:focus, textarea:focus{ outline:none; background:#fff; border-color:var(--blue-700); box-shadow:0 0 0 4px rgba(10,79,199,.12); }
.field.invalid input, .field.invalid select{ border-color:var(--bad); background:#FFF6F5; }
.form-status{ margin-top:14px; min-height:1.4em; text-align:center; font-size:.9rem; font-weight:600; }
.form-status.success{ color:var(--good); }
.form-status.error{ color:var(--bad); }
@media (max-width:960px){ .contact-grid{ grid-template-columns:1fr; gap:44px; } }
@media (max-width:560px){ .quote-form{ padding:26px 20px; } .form-grid{ grid-template-columns:1fr; } }

/* ---------- Final CTA ---------- */
.final-cta{ padding:0 0 104px; }
.final-cta-inner{
  display:flex; align-items:center; justify-content:space-between; gap:32px; flex-wrap:wrap;
  padding:52px 56px; border-radius:24px; color:#fff;
  background:radial-gradient(120% 140% at 100% 0%, var(--blue-600) 0%, var(--blue-800) 45%, var(--blue-900) 100%);
  box-shadow:var(--sh-lg);
}
.final-cta-inner > div:first-child{ flex:1 1 420px; }
.final-cta h2{ color:#fff; font-size:clamp(1.5rem,2.6vw,2rem); margin-bottom:8px; }
.final-cta p{ color:#C5D5F3; }
@media (max-width:640px){
  .final-cta{ padding-bottom:72px; }
  .final-cta-inner{ padding:36px 24px; }
  .final-cta .btn-row{ width:100%; }
  .final-cta .btn{ flex:1 1 100%; }
}

/* ---------- Footer ---------- */
.site-footer{ background:var(--ink-900); color:#A9B3C7; font-size:.92rem; }
.footer-grid{ display:grid; grid-template-columns:1.6fr 1fr 1fr 1.2fr; gap:40px; padding-top:64px; padding-bottom:48px; }
/* The logo sits on its own white card so the original artwork is never altered */
.footer-logo{ display:inline-block; background:#fff; border-radius:var(--r-md); padding:10px 14px; margin-bottom:20px; }
.footer-logo img{ height:64px; width:auto; }
.footer-social{ display:flex; gap:10px; }
.footer-social a{
  display:grid; place-items:center; width:40px; height:40px; border-radius:50%;
  border:1px solid rgba(255,255,255,.14); color:#fff; transition:background-color .2s ease, border-color .2s ease;
}
.footer-social a:hover{ background:var(--blue-700); border-color:var(--blue-700); }
.footer-social svg{ width:18px; height:18px; }
.footer-col h4{ color:#fff; font-size:.82rem; letter-spacing:.1em; text-transform:uppercase; margin-bottom:16px; }
.footer-col ul{ display:grid; gap:10px; }
.footer-col a:hover{ color:#fff; }
.footer-bottom{
  display:flex; justify-content:space-between; flex-wrap:wrap; gap:8px;
  position:relative; padding-top:22px; padding-bottom:22px; font-size:.82rem;
}
.footer-bottom::before{ content:''; position:absolute; top:0; left:24px; right:24px; height:1px; background:rgba(255,255,255,.08); }
.footer-bottom a{ color:#fff; text-decoration:underline; text-underline-offset:3px; }
@media (max-width:900px){ .footer-grid{ grid-template-columns:1fr 1fr; } .footer-brand{ grid-column:1 / -1; } }
@media (max-width:480px){ .footer-grid{ grid-template-columns:1fr; } }

/* ---------- Back to top ---------- */
.back-to-top{
  position:fixed; right:20px; bottom:20px; z-index:150; display:grid; place-items:center;
  width:46px; height:46px; border:0; border-radius:50%; background:var(--blue-700); color:#fff; box-shadow:var(--sh-md);
  opacity:0; pointer-events:none; transform:translateY(10px); transition:opacity .25s ease, transform .25s ease;
}
.back-to-top svg{ width:20px; height:20px; transform:rotate(-90deg); }
.back-to-top.show{ opacity:1; pointer-events:auto; transform:none; }

/* ---------- Reveal on scroll ---------- */
html.lock{ overflow:hidden; }
.js .reveal{ opacity:0; transform:translateY(18px); 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; }
  *{ transition-duration:0s !important; }
}
