/* =========================================================
   SRU SA – style.css (NO BACKGROUND SYSTEM)
   - Plain white page background
   - Keeps: header, menu, services accordion, hover gradient system, layout, footer
========================================================= */

/* =========================================================
   0) RESET + BASE
========================================================= */
*{ margin:0; padding:0; box-sizing:border-box; }
html, body{ height:100%; }

:root{
  --container-max: 1200px;

  --header-height: 76px;
  --header-blur: 10px;
  --header-shadow: 0 10px 28px rgba(0,0,0,.10);

  --nav-gap: 28px;
  --nav-font-size: 16px;
  --nav-color: #000;
  --nav-active: #444;

  --line-color: #000;
  --line-thickness: 2px;

  --footer-blur: 10px;
  --footer-shadow: 0 -10px 28px rgba(0,0,0,.08);

  /* ===== EFFECT TOKENS ===== */
  --fx-radius: 18px;
  --fx-lift: -3px;
  --fx-scale: 1.03;

  --fx-fg: #111;
  --fx-fg-active: #fff;

  --fx-bg-opacity: 0;
  --fx-bg-opacity-active: 1;

  --fx-grad: linear-gradient(120deg, #5a0000, #0a1f5c, #7a0000, #09194a);
  --fx-grad-size: 300% 300%;
  --fx-grad-speed: 8s;

  --fx-trans-fast: 160ms;
  --fx-trans-med: 220ms;
  --fx-trans-slow: 260ms;
}

html{ background:#fff; }
body{
  font-family: Arial, sans-serif;
  color:#111;

  min-height:100vh;
  display:flex;
  flex-direction:column;

  background:#fff; /* ✅ plain white background */
}

/* Content wrapper */
.container{
  width:90%;
  max-width:var(--container-max);
  margin:0 auto;
}

/* =========================================================
   HEADER SYSTEM
========================================================= */
:root{
  --hdr-h: 92px;
  --hdr-logo-h: 70px;

  --hdr-pill-h: 42px;
  --hdr-pill-px: 14px;
  --hdr-pill-radius: 999px;
  --hdr-pill-font: 13px;
  --hdr-nav-gap: 12px;

  --hdr-burger: 44px;
  --hdr-burger-line-w: 26px;
  --hdr-burger-line-h: 3px;

  --hdr-bg: rgba(255,255,255,0.06);
  --hdr-blur: 14px;
  --hdr-shadow: 0 12px 30px rgba(0,0,0,0.10);

  --hdr-bar-shrink: 0.90;
  --hdr-item-shrink-desktop: 0.90;
  --hdr-item-shrink-mobile: 0.80;
}
@media (max-width: 600px){
  :root{ --hdr-h: 70px; }
}

.global-header{
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: var(--hdr-h);
  z-index: 100;

  background: var(--hdr-bg);
  backdrop-filter: blur(var(--hdr-blur));
  -webkit-backdrop-filter: blur(var(--hdr-blur));
  box-shadow: var(--hdr-shadow);

  transition: height 220ms ease;
}

.header-inner{
  position: relative;
  height: 100%;
}

/* Brand */
.brand{
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  text-decoration: none;
}
.brand-logo{
  height: var(--hdr-logo-h);
  display: block;
  transition: height 220ms ease;
}

/* Nav */
.nav{
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  gap: var(--hdr-nav-gap);
}

/* Desktop nav pills */
.nav .nav-link{
  display: inline-flex;
  align-items: center;
  justify-content: center;

  height: var(--hdr-pill-h);
  padding: 0 var(--hdr-pill-px);
  border-radius: var(--hdr-pill-radius);

  text-decoration: none;
  font-weight: 900;
  font-size: var(--hdr-pill-font);

  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.22);

  position: relative;
  isolation: isolate;
  overflow: hidden;

  color: var(--fx-fg, #111);

  transition:
    height 220ms ease,
    padding 220ms ease,
    font-size 220ms ease,
    color 220ms ease;
}

/* Keep gradient behind */
.nav .nav-link::before{ z-index: -1 !important; }

/* Burger button (mobile) */
.menu-btn{
  display: none;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);

  width: var(--hdr-burger);
  height: var(--hdr-burger);

  border: 0;
  background: transparent;
  cursor: pointer;
  z-index: 120;

  transition: width 220ms ease, height 220ms ease;
}
.menu-btn span{
  display: block;
  width: var(--hdr-burger-line-w);
  height: var(--hdr-burger-line-h);
  background: #000;
  border-radius: 99px;
  margin: 5px auto;
  transition: width 220ms ease;
}

/* Offcanvas */
.menu-overlay{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
  z-index: 110;
}

.offcanvas{
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: min(84vw, 360px);
  padding: 18px 16px;

  background: rgba(255,255,255,0.10);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);

  border-left: 1px solid rgba(255,255,255,0.25);
  box-shadow: -20px 0 60px rgba(0,0,0,0.18);

  transform: translateX(110%);
  transition: transform 220ms cubic-bezier(.2,.8,.2,1);
  z-index: 115;

  display: flex;
  flex-direction: column;
}

.menu-close{
  position: absolute;
  top: 14px;
  right: 14px;

  width: 44px;
  height: 44px;
  border-radius: 12px;

  border: 1px solid rgba(255,255,255,0.25);
  background: rgba(0,0,0,0.22);
  color: #fff;

  font-size: 18px;
  cursor: pointer;
}

.offcanvas-logo{
  margin-top: 56px;
  margin-bottom: 22px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.offcanvas-logo-link{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}
.offcanvas-logo img{
  max-width: 150px;
  height: auto;
  display: block;
}

.offcanvas-links{
  display: grid;
  gap: 10px;
}
.off-link{
  display: block;
  padding: 14px 12px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 900;
  color: #fff;
  background: rgba(0,0,0,0.22);
  border: 1px solid rgba(255,255,255,0.18);
  transition: transform 160ms ease, background 160ms ease;
}
.off-link:active{ transform: scale(0.98); }

.offcanvas-disclaimer{
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.25);
}
.offcanvas-disclaimer-title{
  margin: 0 0 10px;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #fff;
}
.offcanvas-disclaimer-text{
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
  color: rgba(255,255,255,0.85);
}

.menu-open .menu-overlay{
  opacity: 1;
  pointer-events: auto;
}
.menu-open .offcanvas{
  transform: translateX(0);
}
.no-scroll{ overflow: hidden; }

/* Shrink state */
.global-header.is-scrolled{
  height: calc(var(--hdr-h) * var(--hdr-bar-shrink));
}

@media (min-width: 601px){
  .global-header.is-scrolled .brand-logo{
    height: calc(var(--hdr-logo-h) * var(--hdr-item-shrink-desktop));
  }
  .global-header.is-scrolled .nav .nav-link{
    height: calc(var(--hdr-pill-h) * var(--hdr-item-shrink-desktop));
    font-size: calc(var(--hdr-pill-font) * var(--hdr-item-shrink-desktop));
    padding: 0 calc(var(--hdr-pill-px) * var(--hdr-item-shrink-desktop));
  }
}

@media (max-width: 600px){
  .global-header.is-scrolled .brand-logo{
    height: calc(var(--hdr-logo-h) * var(--hdr-item-shrink-mobile));
  }
  .global-header.is-scrolled .menu-btn{
    width: calc(var(--hdr-burger) * var(--hdr-item-shrink-mobile));
    height: calc(var(--hdr-burger) * var(--hdr-item-shrink-mobile));
  }
  .global-header.is-scrolled .menu-btn span{
    width: calc(var(--hdr-burger-line-w) * var(--hdr-item-shrink-mobile));
  }
}

/* Responsive header */
@media (max-width: 600px){
  .nav{ display: none; }
  .menu-btn{ display: block; }
}

/* =========================================================
   2.1) NAV LINKS (underline system – for any non-pill nav usage)
========================================================= */
.nav-link{
  display:inline-flex;
  align-items:center;
  justify-content:center;

  height:44px;
  padding:0 8px;
  text-decoration:none;

  color:var(--nav-color);
  font-weight:800;
  font-size:var(--nav-font-size);
  line-height:1;

  --lineW:0%;
  --lineY:14px;

  background-image:
    linear-gradient(var(--line-color), var(--line-color)),
    linear-gradient(var(--line-color), var(--line-color));
  background-repeat:no-repeat;
  background-size:
    var(--lineW) var(--line-thickness),
    var(--lineW) var(--line-thickness);
  background-position:
    center var(--lineY),
    center calc(100% - var(--lineY));

  transition:
    background-size 220ms ease,
    background-position 220ms ease,
    color 140ms ease;
}
.nav-link:hover{--lineW:100%;--lineY:6px;}

body.page-home     .nav-link[data-page="home"],
body.page-services .nav-link[data-page="services"],
body.page-about    .nav-link[data-page="about"],
body.page-contact  .nav-link[data-page="contact"]{
  color:var(--nav-active);
  --lineW:100%;
  --lineY:6px;
}

/* =========================================================
   3) MAIN
========================================================= */
.main-content{
  flex:1;
  padding-top:calc(var(--hdr-h) + 40px);
}

/* =========================================================
   4) GLOBAL INTERACTION UTILITIES
========================================================= */
.fx-surface{
  position:relative;
  color:var(--fx-fg);
  border-radius:var(--fx-radius);
}

.gradient-hover{
  position:relative;
  overflow:hidden;
}
.gradient-hover::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:0;
  background:var(--fx-grad);
  background-size:var(--fx-grad-size);
  opacity:var(--fx-bg-opacity);
  transition: opacity 250ms ease;
  animation: gradientFlow var(--fx-grad-speed) ease infinite;
}
.gradient-hover > *{position:relative;z-index:1;}

@media (hover: hover) and (pointer: fine){
  .fx-surface:is(:hover, :focus-visible, .is-active){
    --fx-fg: var(--fx-fg-active);
  }
  .gradient-hover:is(:hover, :focus-visible, .is-active)::before{
    opacity: var(--fx-bg-opacity-active);
  }

  .fx-lift{transition: transform var(--fx-trans-fast) ease;}
  .fx-lift:is(:hover, :focus-visible, .is-active){
    transform: translateY(var(--fx-lift));
  }

  .fx-scale{transition: transform var(--fx-trans-fast) ease;}
  .fx-scale:is(:hover, :focus-visible, .is-active){
    transform: scale(var(--fx-scale));
  }

  .fx-reveal{
    margin-top:16px;
    display:grid;
    grid-template-rows:0fr;
    opacity:0;
    transition:
      grid-template-rows 180ms ease,
      opacity 180ms ease;
  }
  .fx-reveal > .fx-reveal-inner{overflow:hidden;}
  .fx-surface:is(:hover, :focus-visible, .is-active) .fx-reveal{
    grid-template-rows:1fr;
    opacity:1;
  }
}

@media (hover: none) and (pointer: coarse){
  .fx-surface.is-active{ --fx-fg: var(--fx-fg-active); }
  .gradient-hover.is-active::before{ opacity: var(--fx-bg-opacity-active); }

  .gradient-hover:focus::before,
  .gradient-hover:focus-visible::before{ opacity: var(--fx-bg-opacity); }

  .fx-lift, .fx-scale{ transform:none !important; }

  .fx-reveal{
    margin-top:16px;
    display:grid;
    grid-template-rows:0fr;
    opacity:0;
    transition:
      grid-template-rows 180ms ease,
      opacity 180ms ease;
  }
  .fx-reveal > .fx-reveal-inner{overflow:hidden;}
  .fx-surface.is-active .fx-reveal{
    grid-template-rows:1fr;
    opacity:1;
  }
}

@keyframes gradientFlow{
  0%{background-position:0% 50%;}
  50%{background-position:100% 50%;}
  100%{background-position:0% 50%;}
}

/* When parent auto-activates, force button to invert */
[data-autoactive].is-active .btn,
[data-autoactive].is-active button,
[data-autoactive].is-active .svc-btn {
  color: #fff !important;
  border-color: #fff !important;
}

/* Optional: make background transparent so gradient shows cleanly */
[data-autoactive].is-active .btn {
  background: transparent !important;
}

/* =========================================================
   5) LANDING
========================================================= */
.landing{padding:40px 0 80px;}

.landing-inner{
  display:grid;
  grid-template-columns:1.1fr 0.9fr;
  gap:50px;
  align-items:center;
}

.landing-kicker{
  font-weight:800;
  letter-spacing:0.18em;
  text-transform:uppercase;
  font-size:12px;
  margin-bottom:14px;
  color:#111;
}
.landing-title{
  font-weight:900;
  font-size:clamp(34px,4vw,56px);
  line-height:1.05;
  margin-bottom:18px;
  color:#111;
}
.landing-body{
  font-weight:600;
  font-size:16px;
  line-height:1.7;
  max-width:52ch;
  color:#1f1f1f;
}

.glass-card{
  border-radius:22px;
  padding:34px 28px;

  background:rgba(255,255,255,0.052);
  backdrop-filter:blur(2px);
  -webkit-backdrop-filter:blur(14px);

  border:1px solid rgba(255,255,255,0.047);
  box-shadow:0 18px 50px rgba(0,0,0,0.10);

  display:grid;
  gap:18px;
  justify-items:center;
}

.logo-wrap{
  width:100%;
  display:grid;
  place-items:center;
  padding:18px 10px;
}
.landing-logo{
  width:min(260px,70%);
  height:auto;
  display:block;
}

.glass-badge{
  width:100%;
  border-radius:16px;
  padding:14px 16px;

  background:rgba(255,255,255,0.16);
  border:1px solid rgba(255,255,255,0.28);

  text-align:center;
}
.badge-title{
  font-weight:800;
  font-size:14px;
  line-height:1.4;
  color:inherit;
}

/* =========================================================
   6) LOGO STRIP (NO SIZE/POSITION CHANGES — FIX MOBILE CLIP)
   - Keeps your sizing/responsiveness exactly the same
   - Only prevents vertical clipping from overflow + float drift
========================================================= */
.logo-strip{
  padding: 20px 0 0;
  overflow-x: clip;     /* keep horizontal clipping */
  overflow-y: visible;  /* allow vertical motion */
}

.logo-strip-inner{
  display:flex;
  justify-content:center;
  align-items:center;
  width:100%;
}

.logo-row{
  --logo-gap: 5%;
  --logo-box-maxw: 190px;
  --logo-box-ratio-w: 190;
  --logo-box-ratio-h: 90;

  --logo-img-maxw: 75%;
  --logo-img-maxh: 60%;

  display:flex;
  align-items:center;
  justify-content:center;
  gap: var(--logo-gap);

  flex-wrap: nowrap;
  width: 100%;
  max-width: 100%;

  /* FIX: don’t clip vertically (iOS Safari + float transform) */
  overflow-x: clip;
  overflow-y: visible;

  /* FIX: tiny vertical breathing room so drift never hits an edge */
  padding: 6px 0;
}

.logo-card{
  flex: 0 1 var(--logo-box-maxw);
  max-width: var(--logo-box-maxw);

  height:auto;
  aspect-ratio: var(--logo-box-ratio-w) / var(--logo-box-ratio-h);

  display:grid;
  place-items:center;

  border-radius:18px;
  background:rgba(255,255,255,0);
  border:1px solid rgba(255,255,255,0);
  box-shadow:0 0 0 rgba(0,0,0,0);

  min-width:0;

  /* FIX: allow the image drift to render outside the card if needed */
  overflow: visible;
}

.logo-card img{
  max-width: var(--logo-img-maxw);
  max-height: var(--logo-img-maxh);
  width:auto;
  height:auto;
  display:block;
}

@media (max-width: 500px){
  .logo-row{
    --logo-gap: 0px;
    --logo-box-maxw: 15%;
    --logo-box-ratio-w: 190;
    --logo-box-ratio-h: 90;
    --logo-img-maxw: 100%;
    --logo-img-maxh: 85%;

    /* keep the same clip fix on mobile */
    overflow-x: clip;
    overflow-y: visible;
    padding: 6px 0;
  }
}

/* Float animation */
.float{
  animation: drift var(--d, 7s) ease-in-out infinite;
  transform: translate3d(0,0,0);
  will-change: transform;
}
@keyframes drift{
  0%{transform:translate3d(0,0,0) rotate(0deg);}
  50%{transform:translate3d(var(--dx, 10px), var(--dy, -10px), 0) rotate(var(--r, 1deg));}
  100%{transform:translate3d(0,0,0) rotate(0deg);}
}

/* =========================================================
   LOGO STRIP — iOS SAFARI CLIP FIX (NO SIZE/POSITION CHANGES)
   Key: don't use overflow clipping on the drifting row (Safari clips vertically)
========================================================= */

/* 1) Let the drifting content render outside safely */
.logo-strip,
.logo-strip-inner,
.logo-row,
.logo-card{
  overflow: visible !important;
}

/* keep your existing padding, but give a touch more breathing room vertically */
.logo-row{ padding: 10px 0 !important; }

/* 2) Stop horizontal “side-scroll” the safe way (mobile only) */
@media (max-width: 768px){
  html, body{
    overflow-x: hidden;         /* prevents sideways scroll without clipping logos */
  }
}

/* 3) Make sure the section below can't visually overlap the strip */
.logo-strip{ position: relative; z-index: 2; }
.services-block{ position: relative; z-index: 1; }

/* iOS Safari: overflow-x:clip can vertically crop transformed children */
@supports (-webkit-touch-callout: none) {
  .logo-strip,
  .logo-row {
    overflow: visible !important;
    overflow-x: visible !important; /* replaces clip */
    overflow-y: visible !important;
  }

  html, body {
    overflow-x: hidden; /* prevents sideways scroll without clipping the logos */
  }
}
/* =========================================================
   SERVICES HEADING
========================================================= */
.services-header{ margin-bottom: 28px; }
.services-title{
  font-weight: 900;
  font-size: clamp(28px, 3vw, 36px);
  color: #111;
}
@media (max-width: 500px){
  .services-header{ text-align: center; }
  .services-title{ font-size: 24px; }
}

/* =========================================================
   7) SERVICES (Accordion cards)
========================================================= */
:root{
  --service-title-size-desktop: 18px;
  --service-title-size-mobile: 11px;

  --service-body-size-desktop: 14px;
  --service-body-size-mobile: 10px;

  --service-icon-size-desktop: 22px;
  --service-icon-size-mobile: 24px;
}

.services-block{ padding:20px 0 50px; }
.services-frame{ padding:30px; border-radius:18px; }
.services-stack{ display:flex; flex-direction:column; gap:22px; }

.service-card{
  width:100%;
  padding:28px 24px;
  border-radius:18px;

  background:rgba(255,255,255,0.10);
  backdrop-filter:blur(10px);
  -webkit-backdrop-filter:blur(10px);

  border:1px solid rgba(255,255,255,0.25);
  box-shadow:0 15px 40px rgba(0,0,0,0.08);
}
.service-card[data-accordion]{ cursor:pointer; }

.service-head{
  appearance:none;
  -webkit-appearance:none;

  width:100%;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;

  background:transparent;
  border:0;
  padding:0;
  margin:0;

  font:inherit;
  color:inherit;
  text-align:left;
  cursor:pointer;
}
.service-head:focus-visible{
  outline: 2px solid rgba(0,0,0,0.35);
  outline-offset: 6px;
  border-radius: 12px;
}

.service-title{
  font-size: var(--service-title-size-desktop);
  font-weight:900;
  color:inherit;
}
.service-body{
  font-size: var(--service-body-size-desktop);
  color:inherit;
  line-height:1.6;
}
.service-body ul{ margin:15px 20px 15px 20px; }

.service-file{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  flex:0 0 auto;
}
.service-file svg{
  width: var(--service-icon-size-desktop);
  height: var(--service-icon-size-desktop);
}
.service-file .file-open{display:none;}
.service-card.is-open .service-file .file-closed{display:none;}
.service-card.is-open .service-file .file-open{display:block;}

.service-panel{ margin-top:16px; }
.service-detail{
  margin-top:12px;
  padding:0;
  border:0;
  border-radius:0;
  background:transparent;
  box-shadow:none;
  overflow:visible;
}

@media (max-width:500px){
  .services-block .container{
    width:100%;
    padding-left:16px;
    padding-right:16px;
  }
  .service-card{ padding:12px 16px; }

  .service-title{
    font-size: var(--service-title-size-mobile);
    line-height:1.15;
    margin:0;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
  }
  .service-body{
    font-size: var(--service-body-size-mobile);
    line-height:1.55;
  }
  .service-file svg{
    width: var(--service-icon-size-mobile);
    height: var(--service-icon-size-mobile);
  }
  .service-panel{ margin-top:12px; }
}

/* =========================================================
   WHY SECTION
========================================================= */
.why{ padding:80px 0 110px; }
.why-wrap{ width:100%; }

.why-header{
  width:100%;
  max-width:720px;
  margin-bottom:40px;
}

.why-kicker{
  display:inline-block;
  font-size:12px;
  font-weight:800;
  letter-spacing:0.18em;
  text-transform:uppercase;
  margin-bottom:12px;
  color:#444;
}

.why-title{
  font-weight:900;
  font-size:clamp(28px, 3.5vw, 38px);
  line-height:1.1;
  margin-bottom:16px;
  color:#111;
}

.why-subtitle{
  font-size:15px;
  line-height:1.7;
  font-weight:600;
  color:#2a2a2a;
  max-width:58ch;
}

.why-grid{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:22px;
}

.why-card{
  border-radius:18px;
  padding:22px 20px;

  background:rgba(255,255,255,0.10);
  backdrop-filter:blur(10px);
  -webkit-backdrop-filter:blur(10px);

  border:1px solid rgba(255,255,255,0.25);
  box-shadow:0 15px 40px rgba(0,0,0,0.08);
}

.why-card p{
  font-size:14px;
  font-weight:600;
  line-height:1.6;
  color:inherit;
}

.why-cta{
  margin-top:30px;
  display:flex;
  justify-content:flex-start;
}

@media (max-width:1100px){
  .why-grid{ grid-template-columns:repeat(2, 1fr); }
}
@media (max-width:600px){
  .why-grid{ grid-template-columns:1fr; }
}
@media (max-width:500px){
  .why-header{
    max-width:none;
    text-align:center;
    margin-left:auto;
    margin-right:auto;
  }
  .why-kicker{ display:block; }
  .why-subtitle{
    margin-left:auto;
    margin-right:auto;
    max-width:40ch;
  }
  .why-cta{ justify-content:center; }
}

/* =========================================================
   9) BUTTON
========================================================= */
.btn-outline{
  display:inline-block;
  padding:12px 22px;
  border-radius:12px;
  text-decoration:none;

  font-weight:800;
  font-size:14px;
  line-height:1;

  color:#000;
  background:transparent;
  border:3px solid #000;

  box-sizing:border-box;

  transition:
    transform 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease,
    color 180ms ease,
    border-color 180ms ease;

  will-change:transform;
}

.btn-outline:hover{
  transform:scale(1.06);
  color:#000;
  background:rgba(255,255,255,0.18);
  border:3px solid transparent;
  backdrop-filter:blur(12px);
  -webkit-backdrop-filter:blur(12px);
  box-shadow:0 12px 30px rgba(0,0,0,0.10);
}

@media (max-width: 560px){
  .btn-outline{
    padding:10px 16px;
    font-size:10px;
    border-width:3px;
    border-radius:11px;
  }
}

.services-cta{
  margin-top: 28px;
  display: flex;
  justify-content: flex-start;
}
@media (max-width: 560px){
  .services-cta{ justify-content: center; }
}

/* =========================================================
   FOOTER
========================================================= */
.site-footer{
  background: transparent;
  padding: 70px 16px;
  color: #000000;
}

.footer-inner{
  max-width: 1100px;
  margin: 0 auto;

  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;

  gap: 26px;
}

.footer-logo img{
  max-width: 170px;
  height: auto;
  display: block;
}

.footer-nav{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 18px;
}

.site-footer,
.site-footer h3,
.site-footer p,
.site-footer a{
  color: #000000;
}

.footer-disclaimer{
  max-width: 820px;
  padding-top: 10px;
}
.footer-disclaimer h3{
  margin-bottom: 10px;
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.footer-disclaimer p{
  font-size: 14px;
  line-height: 1.7;
}

.footer-bottom{
  margin-top: 10px;
  display: grid;
  gap: 6px;
  font-size: 14px;
}

/* Footer pills */
.site-footer .footer-nav a{
  text-decoration: none !important;

  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  height: 58px;
  padding: 0 36px;

  border-radius: 999px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.22);

  line-height: 1.2;
  box-sizing: border-box;

  color: #111 !important;
  font-weight: 900;
  font-size: 16px;

  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.site-footer .footer-nav a::before{ border-radius: 999px; }

.site-footer .footer-nav a:hover,
.site-footer .footer-nav a:focus-visible{
  color: #ffffff !important;
  text-decoration: none !important;
}

.site-footer a,
.site-footer a:hover,
.site-footer a:focus,
.site-footer a:active,
.site-footer a:visited{
  text-decoration: none !important;
}

.site-footer .footer-nav a::before,
.site-footer .footer-nav a::after{ z-index: 0 !important; }

.site-footer .footer-nav a{ position: relative; isolation: isolate; }
.site-footer .footer-nav a *{ position: relative; z-index: 1; }

/* =========================================================
   RESPONSIVE
========================================================= */
@media (max-width:1100px){
  .why-grid{grid-template-columns:repeat(2,1fr);}
}
@media (max-width:900px){
  .brand-logo{height:56px;}
  .landing-inner{grid-template-columns:1fr;gap:28px;}
  .nav{gap:18px;}
  .nav-link{font-size:15px;padding:0 6px;}
}
@media (max-width:600px){
  .why-grid{grid-template-columns:1fr;}
}

/* =========================================================
   LANDING – Mobile
========================================================= */
@media (max-width:500px){
  .landing-inner{display:flex;flex-direction:column;align-items:center;}
  .landing-right{order:-1;width:100%;display:flex;justify-content:center;}
  .landing-left{order:1;width:100%;max-width:600px;margin:24px auto 0;text-align:center;}
  .landing .container{padding-left:16px;padding-right:16px;}
  .landing-body{max-width:52ch;margin-left:auto;margin-right:auto;}
}

/* =========================================================
   SERVICES PAGE (additional layout)
========================================================= */
.svc-hero{ padding: 34px 0 46px; }
.svc-hero-inner{
  display:grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 34px;
  align-items: start;
}

.svc-kicker{
  font-weight:800;
  letter-spacing:0.18em;
  text-transform:uppercase;
  font-size:12px;
  margin-bottom:14px;
  color:#111;
}

.svc-title{
  font-weight:900;
  font-size: clamp(30px, 3.6vw, 48px);
  line-height:1.08;
  margin-bottom:14px;
  color:#111;
}

.svc-subtitle{
  font-weight:600;
  font-size:15px;
  line-height:1.75;
  max-width: 62ch;
  color:#1f1f1f;
}

.svc-jumps{
  margin-top:18px;
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-bottom: 48px;
}
@media (max-width: 560px){
  .svc-jumps{
    display:grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    justify-items: stretch;
    margin-bottom: 60px;
  }
}

.svc-pill{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  height:42px;
  padding:0 14px;
  border-radius:999px;
  text-decoration:none;
  font-weight:900;
  font-size:13px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.22);
  color: var(--fx-fg) !important;

  position: relative;
  isolation: isolate;
  overflow: hidden;

  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.12);
  transition: box-shadow 0.25s ease, transform 0.25s ease, color 0.25s ease;
}
.svc-pill::before{ z-index: -1 !important; }

@media (max-width: 560px){
  .svc-pill{ width: 100%; justify-content:center; }
}

@media (hover: hover){
  .svc-pill:hover{
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.18);
    transform: translateY(-2px);
  }
}

.svc-anchor-note{
  margin-top: 60px;
  margin-bottom: 5px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  opacity: 0.75;
  color: #111;
  max-width: 440px;
  margin-left:auto;
  margin-right:auto;
}
@media (max-width: 560px){
  .svc-anchor-note{
    text-align: center;
    max-width: 280px;
  }
}

.svc-hero-card{
  border-radius: 22px;
  padding: 22px 20px;
  background: rgba(255,255,255,0.10);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.25);
  box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}

.svc-hero-card-title{
  font-weight: 900;
  font-size: 14px;
  margin-bottom: 8px;
  color: inherit;
}
.svc-hero-card-body{
  font-weight: 900;
  font-size: 15px;
  line-height: 1.5;
  color: inherit;
}
.svc-hero-card-note{
  margin-top: 12px;
  font-weight: 700;
  font-size: 13px;
  line-height: 1.6;
  color: inherit;
  opacity: 0.95;
}

.svc-section{ padding: 54px 0 68px; }
.svc-section-tight{ padding: 34px 0 54px; }

.svc-section-header{
  max-width: 760px;
  margin-bottom: 28px;
}

.svc-section-kicker{
  display:inline-block;
  font-size:12px;
  font-weight:800;
  letter-spacing:0.18em;
  text-transform:uppercase;
  margin-bottom:12px;
  color:#444;
}

.svc-section-title{
  font-weight:900;
  font-size: clamp(26px, 3.2vw, 36px);
  line-height:1.1;
  margin-bottom: 12px;
  color:#111;
}

.svc-section-subtitle{
  font-size: 15px;
  line-height: 1.7;
  font-weight: 600;
  color: #2a2a2a;
  max-width: 62ch;
}

.svc-stack{
  display:flex;
  flex-direction:column;
  gap: 18px;
}

.svc-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
@media (max-width: 900px){
  .svc-grid{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px){
  .svc-grid{ grid-template-columns: 1fr; }
}

.svc-model{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.svc-model-card{
  border-radius:18px;
  padding: 22px 20px;
  background:rgba(255,255,255,0.10);
  backdrop-filter:blur(10px);
  -webkit-backdrop-filter:blur(10px);
  border:1px solid rgba(255,255,255,0.25);
  box-shadow:0 15px 40px rgba(0,0,0,0.08);
}
.svc-model-card h3{
  font-weight: 900;
  font-size: 15px;
  margin-bottom: 10px;
  color: inherit;
}
.svc-model-card ul{
  margin-left: 18px;
  display:grid;
  gap: 8px;
}
.svc-model-card li{
  font-weight: 650;
  font-size: 14px;
  line-height: 1.6;
  color: inherit;
}

@media (max-width: 900px){
  .svc-hero-inner{ grid-template-columns: 1fr; }
  .svc-model{ grid-template-columns: 1fr; }
}

.svc-exists{
  border-radius: 22px;
  padding: 24px 20px;
  background: rgba(255,255,255,0.10);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.25);
  box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}
.svc-exists h2{
  font-weight: 900;
  font-size: 22px;
  margin-bottom: 10px;
  color: inherit;
}
.svc-exists p{
  font-weight: 650;
  font-size: 14px;
  line-height: 1.7;
  color: inherit;
  margin-top: 8px;
}

.svc-clarity{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.svc-clarity-card{
  border-radius: 18px;
  padding: 18px 18px;
  background: rgba(255,255,255,0.10);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.25);
  box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}
.svc-clarity-card p{
  font-weight: 800;
  font-size: 14px;
  line-height: 1.6;
  color: inherit;
}

@media (max-width: 900px){
  .svc-clarity{ grid-template-columns: 1fr; }
}

@media (max-width: 500px){
  .svc-section-header{
    text-align:center;
    margin-left:auto;
    margin-right:auto;
  }
  .svc-section-kicker{ display:block; }
  .svc-section-subtitle{
    margin-left:auto;
    margin-right:auto;
    max-width: 44ch;
  }
}

/* =========================================================
   ABOUT PAGE
========================================================= */
.about-hero{ padding: 40px 0 60px; }

.about-hero-inner{
  display:grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 36px;
  align-items: start;
}

.about-kicker{
  font-weight:800;
  letter-spacing:0.18em;
  text-transform:uppercase;
  font-size:12px;
  margin-bottom:14px;
}

.about-title{
  font-weight:900;
  font-size: clamp(30px, 3.6vw, 46px);
  line-height:1.08;
  margin-bottom:16px;
}

.about-subtitle{
  font-weight:600;
  font-size:15px;
  line-height:1.75;
  max-width: 60ch;
}

.about-hero-card{
  border-radius:22px;
  padding:24px;
  background:rgba(255,255,255,0.10);
  backdrop-filter:blur(10px);
  border:1px solid rgba(255,255,255,0.25);
  box-shadow:0 15px 40px rgba(0,0,0,0.08);
}

.about-hero-card h3{
  font-weight:900;
  font-size:15px;
  margin-bottom:10px;
}

.about-hero-note{
  margin-top:10px;
  font-size:14px;
  font-weight:650;
  line-height:1.6;
}

.about-section{ padding: 60px 0; }
.about-section-tight{ padding: 40px 0 60px; }

.about-section-header{
  margin-bottom:28px;
  max-width: 720px;
}

.about-section-kicker{
  display:block;
  font-size:12px;
  font-weight:800;
  letter-spacing:0.18em;
  text-transform:uppercase;
  margin-bottom:12px;
}

.about-section-title{
  font-weight:900;
  font-size: clamp(26px, 3vw, 34px);
}

.about-content{
  border-radius:22px;
  padding:28px;
  background:rgba(255,255,255,0.10);
  backdrop-filter:blur(10px);
  border:1px solid rgba(255,255,255,0.25);
  box-shadow:0 15px 40px rgba(0,0,0,0.08);
  line-height:1.8;
  font-weight:600;
}

.about-grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:20px;
}

.about-card{
  border-radius:18px;
  padding:22px;
  background:rgba(255,255,255,0.10);
  backdrop-filter:blur(10px);
  border:1px solid rgba(255,255,255,0.25);
  box-shadow:0 15px 40px rgba(0,0,0,0.08);
}
.about-card h3{
  font-weight:900;
  font-size:16px;
  margin-bottom:10px;
}

.about-benefits{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:18px;
}

@media (max-width: 900px){
  .about-hero-inner{ grid-template-columns:1fr; }
  .about-grid{ grid-template-columns:1fr; }
  .about-benefits{ grid-template-columns:1fr; }
}

.about-card p,
.about-hero-note,
.about-content p{
  font-weight:650;
  font-size:14px;
  line-height:1.7;
  color: inherit;
  margin: 0;
}
.about-card p{ margin-top: 6px; }
.about-content p + p{ margin-top: 14px; }

/* =========================================================
   CONTACT PAGE
========================================================= */
.contact-hero{ padding:40px 0 30px; }

.contact-kicker{
  font-weight:800;
  letter-spacing:0.18em;
  text-transform:uppercase;
  font-size:12px;
  margin-bottom:14px;
}

.contact-title{
  font-weight:900;
  font-size: clamp(30px,3.5vw,46px);
  margin-bottom:12px;
}

.contact-subtitle{
  font-weight:600;
  font-size:15px;
  line-height:1.7;
  max-width:60ch;
}

.contact-section{ padding:30px 0 70px; }

.contact-grid{
  display:grid;
  grid-template-columns:0.9fr 1.1fr;
  gap:18px;
  align-items:start;
}

.contact-info{ display:grid; gap:18px; }

.contact-card{
  border-radius:18px;
  padding:22px;
  background:rgba(255,255,255,0.10);
  border:1px solid rgba(255,255,255,0.25);
  backdrop-filter:blur(10px);
  box-shadow:0 15px 40px rgba(0,0,0,0.08);
}

.contact-card h3{
  font-weight:900;
  font-size:15px;
  margin-bottom:10px;
}

.contact-big{
  font-weight:900;
  font-size:18px;
  margin:0;
}

.contact-link{
  color:inherit;
  text-decoration:none;
}
.contact-link:hover{ text-decoration:underline; }

.contact-form-wrap{
  border-radius:22px;
  padding:24px;
  background:rgba(255,255,255,0.10);
  border:1px solid rgba(255,255,255,0.25);
  backdrop-filter:blur(10px);
  box-shadow:0 15px 40px rgba(0,0,0,0.08);
}

.contact-form-title{
  font-weight:900;
  font-size:20px;
  margin-bottom:16px;
}

.contact-form{
  display:grid;
  gap:14px;
}

.field-row{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
}

.field{
  display:grid;
  gap:6px;
}

.field span{
  font-weight:800;
  font-size:12px;
  text-transform:uppercase;
  letter-spacing:0.08em;
}

.field input,
.field textarea{
  border-radius:14px;
  padding:12px;
  border:1px solid rgba(255,255,255,0.25);
  background:rgba(255,255,255,0.10);
  backdrop-filter:blur(10px);
  font-weight:650;
  color:inherit;

  box-shadow: 0 8px 18px rgba(0,0,0,0.12);
  transition: box-shadow 180ms ease, border-color 180ms ease;
}

.field input:focus,
.field textarea:focus{
  box-shadow: 0 10px 24px rgba(0,0,0,0.18);
}

.field textarea{ resize:vertical; }

.contact-actions{ margin-top:6px; }

.hp-field{
  position:absolute;
  left:-9999px;
  width:1px;
  height:1px;
  overflow:hidden;
}

.form-status{ margin-bottom:14px; }
.form-status-inner{
  border-radius:18px;
  padding:16px;
  background:rgba(255,255,255,0.12);
  border:1px solid rgba(255,255,255,0.25);
  backdrop-filter:blur(10px);
  box-shadow:0 15px 40px rgba(0,0,0,0.08);
}

@media(max-width:900px){
  .contact-grid{ grid-template-columns:1fr; }
}
@media(max-width:560px){
  .field-row{ grid-template-columns:1fr; }
}

/* Button inside gradient surface */
.fx-surface .btn-outline{ color:#000; border-color:#000; }
.fx-surface:hover .btn-outline{ color:#fff; border-color:#fff; }
.fx-surface.fx-active .btn-outline{ color:#fff; border-color:#fff; }

/* =========================================================
   HEIGHTMAP BACKGROUND — FINAL STACKING FIX
   - White site background
   - Canvas always behind all content
   - Never overlays text
========================================================= */

/* Ensure site background is white */
html,
body {
  background: #ffffff !important;
}

/* Heightmap canvas (background layer) */
#line-bg {
  position: fixed;
  inset: 0;

  width: 100vw;
  height: 100vh;

  pointer-events: none;
  display: block;

  z-index: -1;      /* Always behind everything */
  opacity: 0.22;    /* Adjust between 0.15–0.30 if needed */
}

/* Keep document stacking clean */
body {
  position: relative;
  z-index: 0;
}


