@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800;900&family=Inter:wght@400;500;600;700&display=swap');

:root{

  /* =========================================================
     PREMIUM BLUE THEME — DARK MODE
     ========================================================= */

  --gold:       #3b82f6;
  --gold-2:     #60a5fa;
  --orange:     #06b6d4;
  --amber-deep: #2563eb;

  --bg:          #07111f;
  --bg-panel:    #0b1a2e;
  --bg-panel-2:  #10243d;
  --bg-card:     #0d2036;

  --line:        rgba(59,130,246,0.24);
  --line-soft:   rgba(148,197,255,0.09);

  --text:        #f4f9ff;
  --text-dim:    #b9cbe0;
  --text-faint:  #7188a3;

  --accent:      var(--gold);
  --accent-2:    var(--gold-2);
  --accent-3:    var(--orange);

  --on-accent:   #ffffff;

  --shadow:      0 20px 50px rgba(0, 8, 20, 0.55);

  --radius-lg:   28px;
  --radius-md:   18px;
  --radius-sm:   12px;
  --radius-pill: 999px;

  --maxw:        1400px;
  --maxw-wide:   1560px;
  --header-h:    88px;

  --nav-bp:      1300px;
}


html[data-theme="light"]{

  --gold:       #f2a900;
  --gold-2:     #ffcf40;
  --orange:     #ff7a1a;
  --amber-deep: #c97b00;

  --bg:          #faf6ee;
  --bg-panel:    #f1e9d6;
  --bg-panel-2:  #ece1c9;
  --bg-card:     #ffffff;

  --line:        rgba(201,123,0,0.22);
  --line-soft:   rgba(0,0,0,0.06);

  --text:        #211a10;
  --text-dim:    #5c5240;
  --text-faint:  #8a7f6a;

  --accent:      var(--amber-deep);
  --accent-2:    var(--orange);
  --accent-3:    var(--amber-deep);

  --on-accent:   #fff9ec;

  --shadow:      0 20px 40px rgba(30,20,0,0.12);
}


/* =========================================================
   GLOBAL
   ========================================================= */

*,*::before,*::after{
  box-sizing:border-box;
}

html{
  scroll-behavior:smooth;
  width:100%;
  max-width:100%;
  overflow-x:hidden;
}

body{
  margin:0;
  background:var(--bg);
  color:var(--text);
  font-family:'Inter',system-ui,-apple-system,sans-serif;
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
  transition:background .3s ease,color .3s ease;
  overflow-x:hidden;
  width:100%;
  max-width:100%;
  min-height:100vh;
}

html.page-ready body{
  overflow-x:hidden;
}

/* Scroll-lock while mobile nav drawer is open.
   NOTE: touch-action:none was removed — it blocks taps on iOS/Android. */
body.nav-locked,
body.nav-open{
  overflow:hidden;
}

html,body{
  width:100%;
  max-width:100%;
}

h1,h2,h3,h4,.display{
  font-family:'Outfit',sans-serif;
  font-weight:800;
  line-height:1.05;
  margin:0 0 .5em;
  letter-spacing:-0.01em;
}

p{
  margin:0 0 1em;
  color:var(--text-dim);
}

a{
  color:inherit;
  text-decoration:none;
}

img{
  max-width:100%;
  display:block;
}

ul{
  list-style:none;
  margin:0;
  padding:0;
}

button{
  font-family:inherit;
  cursor:pointer;
}

:focus-visible{
  outline:2px solid var(--accent-2);
  outline-offset:3px;
}

.wrap{
  max-width:var(--maxw);
  margin:0 auto;
  padding:0 32px;
  width:100%;
}

.wrap-wide{
  max-width:var(--maxw-wide);
  margin:0 auto;
  padding:0 32px;
  width:100%;
}

@media (max-width:640px){
  .wrap,
  .wrap-wide{
    padding:0 18px;
  }
}

.section{
  padding:96px 0;
}

@media (max-width:768px){
  .section{
    padding:60px 0;
  }
}


/* =========================================================
   ENTRY LOADER
   ========================================================= */

body{
  opacity:0;
  transition:opacity .3s ease;
}

html.page-ready body{
  opacity:1;
}

#page-loader{
  position:fixed;
  inset:0;
  z-index:10000;
  background:var(--bg);
  display:flex;
  align-items:center;
  justify-content:center;
  flex-direction:column;
  gap:18px;
  transition:opacity .3s ease,visibility .3s ease;
}

#page-loader.is-hidden{
  opacity:0;
  visibility:hidden;
  pointer-events:none;
}

#page-loader .mark{
  width:64px;
  height:64px;
  border-radius:18px;
  background:linear-gradient(135deg,var(--gold),var(--orange));
  display:flex;
  align-items:center;
  justify-content:center;
  color:var(--on-accent);
  font-family:'Outfit';
  font-weight:900;
  font-size:1.4rem;
  animation:loaderPulse 1.4s ease-in-out infinite;
}

#page-loader .ring{
  width:38px;
  height:38px;
  border-radius:50%;
  border:3px solid var(--line);
  border-top-color:var(--accent);
  animation:loaderSpin .3s linear infinite;
}

#page-loader .label{
  font-family:'Outfit';
  font-weight:600;
  font-size:.85rem;
  color:var(--text-faint);
  letter-spacing:.04em;
}

@keyframes loaderSpin{
  to{
    transform:rotate(360deg);
  }
}

@keyframes loaderPulse{
  0%,100%{
    transform:scale(1);
  }

  50%{
    transform:scale(1.08);
  }
}


/* =========================================================
   PAGE-TO-PAGE TRANSITION
   ========================================================= */

#page-transition{
  position:fixed;
  inset:0;
  z-index:10001;
  background:var(--bg);
  display:flex;
  align-items:center;
  justify-content:center;
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transition:opacity .15s ease,visibility .35s ease;
}

#page-transition.is-active{
  opacity:1;
  visibility:visible;
  pointer-events:auto;
}

#page-transition .ring{
  width:34px;
  height:34px;
  border-radius:50%;
  border:3px solid var(--line);
  border-top-color:var(--accent);
  animation:loaderSpin .3s linear infinite;
}

@media (prefers-reduced-motion:reduce){
  #page-loader,
  #page-transition,
  body{
    transition:none;
  }
}


/* =========================================================
   EYEBROW
   ========================================================= */

.eyebrow{
  display:inline-flex;
  align-items:center;
  gap:10px;
  color:var(--accent);
  font-family:'Outfit',sans-serif;
  font-weight:600;
  font-size:.8rem;
  letter-spacing:.06em;
  margin-bottom:18px;
}

.eyebrow::before{
  content:"";
  width:22px;
  height:2px;
  background:var(--accent);
  border-radius:2px;
}

.grad-text{
  background:linear-gradient(100deg,var(--gold-2),var(--orange));
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}


/* =========================================================
   BUTTONS
   ========================================================= */

.btn{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:15px 28px;
  border-radius:var(--radius-pill);
  font-family:'Outfit',sans-serif;
  font-weight:600;
  font-size:.95rem;
  border:1px solid transparent;
  transition:
    transform .5s ease,
    box-shadow .5s ease,
    background .5s ease;
  white-space:nowrap;
}

.btn:hover{
  transform:translateY(-2px);
}

.btn-primary{
  background:linear-gradient(100deg,var(--gold),var(--orange));
  color:var(--on-accent);
  box-shadow:0 10px 30px rgba(242,169,0,.25);
}

.btn-primary:hover{
  box-shadow:0 14px 36px rgba(242,169,0,.4);
}

.btn-dark{
  background:var(--bg-panel-2);
  color:var(--text);
  border-color:var(--line);
}

.btn-dark:hover{
  border-color:var(--accent);
}

.btn-outline{
  background:transparent;
  border-color:var(--line);
  color:var(--text);
}

.btn-outline:hover{
  border-color:var(--accent);
  color:var(--accent);
}

.btn-sm{
  padding:10px 18px;
  font-size:.85rem;
}


/* =========================================================
   HEADER
   ========================================================= */

.site-header{
  position:sticky;
  top:0;
  z-index:2000;
  width:100%;
  max-width:100%;
  background:rgba(7,17,31,0.88);
  backdrop-filter:blur(14px);
  -webkit-backdrop-filter:blur(14px);
  border-bottom:1px solid var(--line-soft);
}

html[data-theme="light"] .site-header{
  background:rgba(250,246,238,0.92);
}

/* When mobile menu is open, header must sit above the backdrop */
body.nav-open .site-header{
  z-index:2100;
}

.header-inner{
  max-width:var(--maxw);
  margin:0 auto;
  padding:0 24px;
  height:var(--header-h);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  width:100%;
}

.brand{
  display:flex;
  align-items:center;
  gap:10px;
  font-family:'Outfit';
  font-weight:800;
  font-size:.92rem;
  line-height:1.15;
  flex-shrink:0;
  letter-spacing:0;
}

.footer-col .brand{
  font-size:1.05rem;
}

.brand .mark{
  width:38px;
  height:38px;
  border-radius:12px;
  background:linear-gradient(135deg,var(--gold),var(--orange));
  display:flex;
  align-items:center;
  justify-content:center;
  color:var(--on-accent);
  font-weight:900;
  flex-shrink:0;
}

.header-phone{
  display:flex;
  align-items:center;
  gap:10px;
  padding:6px;
  border-radius:var(--radius-pill);
  background:var(--bg-panel);
  flex-shrink:0;
}

.header-phone .ico{
  width:34px;
  height:34px;
  border-radius:50%;
  background:var(--bg-panel-2);
  display:flex;
  align-items:center;
  justify-content:center;
  color:var(--accent);
}

.header-phone .txt{
  display:flex;
  flex-direction:column;
  line-height:1.15;
  padding-right:10px;
}

.header-phone .txt small{
  color:var(--text-faint);
  font-size:.65rem;
  text-transform:uppercase;
  letter-spacing:.06em;
}

.header-phone .txt strong{
  font-family:'Outfit';
  font-size:.9rem;
}


/* =========================================================
   DESKTOP NAVIGATION
   ========================================================= */

.main-nav{
  display:flex;
  align-items:center;
  gap:16px;
  flex-wrap:nowrap;
  min-width:0;
}

.main-nav a{
  font-size:.88rem;
  color:var(--text-dim);
  font-weight:500;
  position:relative;
  padding:6px 0;
  white-space:nowrap;
}

.main-nav a:hover{
  color:var(--text);
}

.main-nav a.active{
  color:var(--accent);
}

.nav-dot{
  color:var(--accent-3);
  font-size:.5rem;
  opacity:.7;
}

.header-actions{
  display:flex;
  align-items:center;
  gap:10px;
  flex-shrink:0;
}

.theme-toggle{
  display:flex;
  align-items:center;
  background:var(--bg-panel);
  border-radius:var(--radius-pill);
  padding:4px;
  gap:2px;
  border:1px solid var(--line-soft);
  flex-shrink:0;
}

.theme-toggle button{
  border:none;
  background:transparent;
  color:var(--text-faint);
  padding:7px 12px;
  border-radius:var(--radius-pill);
  font-size:.8rem;
  font-family:'Outfit';
  font-weight:600;
  display:flex;
  align-items:center;
  gap:6px;
  transition:background .2s,color .2s;
  white-space:nowrap;
}

.theme-toggle button.active{
  background:linear-gradient(100deg,var(--gold),var(--orange));
  color:var(--on-accent);
}


/* =========================================================
   HAMBURGER
   ========================================================= */

.nav-toggle{
  display:none;
  width:44px;
  height:44px;
  border-radius:12px;
  background:var(--bg-panel);
  border:1px solid var(--line-soft);
  align-items:center;
  justify-content:center;
  color:var(--text);
  flex-direction:column;
  gap:4px;
  flex-shrink:0;
  position:relative;
  z-index:2101;
  -webkit-tap-highlight-color:transparent;
  cursor:pointer;
}

.nav-toggle span{
  display:block;
  width:18px;
  height:2px;
  background:var(--text);
  border-radius:2px;
  transition:
    transform .25s ease,
    opacity .2s ease;
}

.nav-toggle.active span:nth-child(1){
  transform:translateY(6px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2){
  opacity:0;
}

.nav-toggle.active span:nth-child(3){
  transform:translateY(-6px) rotate(-45deg);
}


/* =========================================================
   DESKTOP NAV — EXPLICIT SAFE STATE
   Forces nav visible on wide screens even if a previous
   mobile resize left it in a hidden state.
   ========================================================= */

@media (min-width:1301px){

  .main-nav{
    position:static !important;
    visibility:visible !important;
    opacity:1 !important;
    transform:none !important;
    width:auto !important;
    height:auto !important;
    background:transparent !important;
    border:none !important;
    box-shadow:none !important;
    padding:0 !important;
    flex-direction:row !important;
    overflow:visible !important;
    z-index:auto !important;
    align-items:center;
    gap:16px;
    display:flex;
    pointer-events:auto !important;
  }

  .main-nav a{
    width:auto !important;
    max-width:none !important;
    border-bottom:none !important;
    padding:6px 0 !important;
    font-size:.88rem !important;
    white-space:nowrap !important;
    display:inline-block;
    pointer-events:auto !important;
  }

  .nav-toggle{
    display:none !important;
  }

  .nav-backdrop{
    display:none !important;
  }

  .header-phone{
    display:flex !important;
  }
}


/* =========================================================
   MOBILE / TABLET NAVIGATION — SLIDE-IN SIDEBAR
   FIXED: sidebar is now fully tappable, backdrop sits
   BEHIND the sidebar, header stays above backdrop.
   ========================================================= */

@media (max-width:1300px){

  .site-header{
    z-index:2000;
    width:100%;
    max-width:100vw;
  }

  .header-inner{
    position:relative;
    z-index:2001;
    width:100%;
    max-width:100%;
  }

  /* Backdrop dims the page but stays BELOW the sidebar and header */
  .nav-backdrop{
    position:fixed;
    inset:0;
    background:rgba(2,6,14,.6);
    z-index:2010;
    opacity:0;
    visibility:hidden;
    pointer-events:none;
    transition:opacity .28s ease,visibility 0s linear .28s;
    -webkit-tap-highlight-color:transparent;
  }

  .nav-backdrop.show{
    opacity:1;
    visibility:visible;
    pointer-events:auto;
    transition:opacity .28s ease,visibility 0s linear 0s;
  }

  /* The sidebar itself — always accepts taps when open */
  .main-nav{
    position:fixed;

    top:0;
    right:0;
    bottom:0;
    left:auto;

    width:56%;
    min-width:260px;
    max-width:400px;

    height:100vh;
    height:100dvh;

    box-sizing:border-box;

    background:var(--bg);
    border-left:1px solid var(--line-soft);
    box-shadow:-20px 0 50px rgba(0,0,0,.35);

    display:flex;
    flex-direction:column;
    align-items:flex-start;

    padding:calc(var(--header-h) + 16px) 22px 40px;
    gap:4px;

    overflow-y:auto;
    overflow-x:hidden;

    -webkit-overflow-scrolling:touch;

    z-index:2050;

    transform:translate3d(100%,0,0);

    visibility:hidden;
    opacity:0;

    pointer-events:auto;

    transition:
      transform .3s ease,
      opacity .2s ease,
      visibility 0s linear .3s;
  }

  .main-nav.open{
    transform:translate3d(0,0,0);
    visibility:visible;
    opacity:1;
    pointer-events:auto;
    touch-action:auto;

    transition:
      transform .3s ease,
      opacity .2s ease,
      visibility 0s linear 0s;
  }

  .main-nav a{
    width:100%;
    max-width:100%;
    box-sizing:border-box;

    padding:15px 6px;

    border-bottom:1px solid var(--line-soft);

    font-size:1.02rem;
    line-height:1.4;
    white-space:normal;

    color:var(--text-dim);

    flex-shrink:0;

    display:block;
    cursor:pointer;
    pointer-events:auto;
    -webkit-tap-highlight-color:rgba(59,130,246,0.25);
  }

  .main-nav a:hover,
  .main-nav a:focus{
    color:var(--text);
  }

  .main-nav a.active{
    color:var(--accent);
  }

  .nav-dot{
    display:none;
  }

  .nav-toggle{
    display:flex;
  }

  .header-phone{
    display:none;
  }

  /* Belt-and-braces: keep everything inside viewport */
  html,
  body,
  main,
  .site-header,
  .site-footer,
  .hero,
  .page-hero,
  .section,
  .wrap,
  .wrap-wide{
    max-width:100%;
    min-width:0;
  }

  img,
  iframe,
  video,
  canvas,
  svg{
    max-width:100%;
  }

  .wrap,
  .wrap-wide{
    width:100%;
    box-sizing:border-box;
  }
}


/* =========================================================
   MOBILE HEADER
   ========================================================= */

@media (max-width:640px){

  .main-nav{
    width:64%;
    min-width:220px;
  }
}

@media (max-width:560px){

  .header-inner{
    height:var(--header-h);
    padding:0 14px;
    gap:8px;
  }

  .header-actions{
    gap:7px;
  }

  .header-actions .btn-primary span.long{
    display:none;
  }

  .header-actions .btn-primary{
    padding:12px 14px;
  }

  .theme-toggle button{
    font-size:0;
    padding:9px;
    gap:0;
  }

  .main-nav{
    width:78%;
    min-width:200px;
    padding-left:18px;
    padding-right:18px;
  }
}


/* =========================================================
   VERY SMALL MOBILE
   ========================================================= */

@media (max-width:400px){

  .brand{
    font-size:.78rem;
  }

  .brand .mark{
    width:32px;
    height:32px;
  }

  .nav-toggle{
    width:42px;
    height:42px;
    flex-basis:42px;
  }

  .main-nav{
    width:82%;
    min-width:0;
  }
}


/* =========================================================
   HERO — INTERNAL PAGES
   ========================================================= */

.page-hero{
  padding:120px 0 70px;
  background:
    radial-gradient(circle at 15% 20%,rgba(242,169,0,.10),transparent 55%),
    var(--bg);
  border-bottom:1px solid var(--line-soft);
}

.page-hero h1{
  font-size:clamp(2.4rem,5vw,4rem);
}

.breadcrumb{
  color:var(--text-faint);
  font-size:.9rem;
  margin-top:14px;
}

.breadcrumb a{
  color:var(--text-dim);
}

.breadcrumb a:hover{
  color:var(--accent);
}


/* =========================================================
   HOME HERO
   ========================================================= */

.hero{
  padding:36px 0 0;
}

.hero-frame{
  position:relative;
  border-radius:var(--radius-lg);
  overflow:hidden;
  min-height:680px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:
    linear-gradient(180deg,rgba(12,11,9,.25),rgba(12,11,9,.85)),
    var(--bg-panel);
  border:1px solid var(--line-soft);
}

.hero-frame img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  z-index:0;
  opacity:.5;
}

.hero-content{
  position:relative;
  z-index:2;
  padding:40px;
  max-width:720px;
  text-align:center;
  margin:0 auto;
}

.hero-eyebrow{
  color:var(--text-dim);
  font-size:.95rem;
  margin-bottom:14px;
}

.hero h1{
  font-size:clamp(3.4rem,11vw,9rem);
  color:var(--text);
  letter-spacing:-.02em;
}

.hero .sub{
  font-family:'Outfit';
  font-weight:500;
  font-size:clamp(1.2rem,2.6vw,1.8rem);
  color:var(--text);
  margin-bottom:32px;
}

.hero-actions{
  display:flex;
  gap:14px;
  flex-wrap:wrap;
  justify-content:center;
}

.hero-arrows{
  position:absolute;
  right:24px;
  top:50%;
  transform:translateY(-50%);
  display:flex;
  flex-direction:column;
  gap:10px;
  z-index:3;
}

.hero-arrows button{
  width:44px;
  height:44px;
  border-radius:50%;
  background:rgba(12,11,9,.55);
  border:1px solid var(--line-soft);
  color:var(--text);
}

@media (max-width:768px){

  .hero-frame{
    min-height:520px;
  }

  .hero-content{
    padding:32px 24px;
  }

  .hero-arrows{
    display:none;
  }
}


/* =========================================================
   SECTION HEADINGS
   ========================================================= */

.section-head{
  max-width:640px;
  margin-bottom:48px;
}

.section-head h2{
  font-size:clamp(1.8rem,3.6vw,2.6rem);
}

.section-head.center{
  margin-left:auto;
  margin-right:auto;
  text-align:center;
}


/* =========================================================
   CARDS / GRID
   ========================================================= */

.grid{
  display:grid;
  gap:24px;
}

.grid-4{
  grid-template-columns:repeat(4,1fr);
}

.grid-3{
  grid-template-columns:repeat(3,1fr);
}

.grid-2{
  grid-template-columns:repeat(2,1fr);
}

@media (max-width:960px){

  .grid-4{
    grid-template-columns:repeat(2,1fr);
  }

  .grid-3{
    grid-template-columns:repeat(2,1fr);
  }
}

@media (max-width:640px){

  .grid-4,
  .grid-3,
  .grid-2{
    grid-template-columns:1fr;
  }
}

.card{
  background:var(--bg-card);
  border:1px solid var(--line-soft);
  border-radius:var(--radius-md);
  overflow:hidden;
  transition:border-color .25s ease,transform .25s ease;
}

.card:hover{
  border-color:var(--line);
  transform:translateY(-4px);
}

.card .thumb{
  aspect-ratio:4/3;
  position:relative;
  overflow:hidden;
  background:var(--bg-panel);
}

.card .thumb img{
  width:100%;
  height:100%;
  object-fit:cover;
  filter:grayscale(.35) saturate(1.1);
}

.card .thumb .arrow{
  position:absolute;
  right:14px;
  bottom:14px;
  width:42px;
  height:42px;
  border-radius:50%;
  background:linear-gradient(100deg,var(--gold),var(--orange));
  color:var(--on-accent);
  display:flex;
  align-items:center;
  justify-content:center;
}

.card .body{
  padding:20px 22px 24px;
}

.card .body h3{
  font-size:1.1rem;
  margin-bottom:6px;
}

.card .body p{
  font-size:.9rem;
  margin:0;
}


/* =========================================================
   SERVICE OVERVIEW
   ========================================================= */

.service-tile{
  background:var(--bg-card);
  border:1px solid var(--line-soft);
  border-radius:var(--radius-md);
  padding:26px;
  display:flex;
  flex-direction:column;
  gap:14px;
  transition:.25s;
}

.service-tile:hover{
  border-color:var(--accent);
  transform:translateY(-4px);
}

.service-tile .tag{
  color:var(--accent);
  font-size:.75rem;
  font-weight:600;
  font-family:'Outfit';
  letter-spacing:.04em;
}

.service-tile h3{
  font-size:1.25rem;
  margin:0;
}

.service-tile .go{
  margin-top:auto;
  color:var(--accent-2);
  font-weight:600;
  font-size:.88rem;
  display:flex;
  align-items:center;
  gap:6px;
}


/* =========================================================
   PANEL
   ========================================================= */

.panel{
  background:linear-gradient(160deg,var(--bg-panel),var(--bg-panel-2));
  border:1px solid var(--line-soft);
  border-radius:var(--radius-lg);
  padding:64px 48px;
  position:relative;
  overflow:hidden;
}

@media (max-width:768px){
  .panel{
    padding:40px 24px;
  }
}

.contour-lines{
  position:absolute;
  top:-40px;
  left:-40px;
  width:340px;
  height:340px;
  pointer-events:none;
  opacity:.35;
  z-index:0;
}

.contour-lines.br{
  top:auto;
  left:auto;
  bottom:-60px;
  right:-60px;
  transform:scaleX(-1);
}

.panel > *,
.footer-panel > *{
  position:relative;
  z-index:1;
}

.steps-row{
  display:flex;
  align-items:stretch;
  gap:12px;
  margin-top:56px;
  min-height:300px;
}

.step-vertical{
  flex:0 0 88px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:12px;
  writing-mode:vertical-rl;
  transform:rotate(180deg);
  background:var(--bg-panel-2);
  border:1px solid var(--line-soft);
  border-radius:var(--radius-md);
  cursor:pointer;
  user-select:none;
  padding:24px 0;
  transition:
    flex-basis .45s ease,
    background .35s ease,
    border-color .35s ease;
}

.step-vertical:hover{
  border-color:var(--accent);
}

.step-vertical .n{
  font-family:'Outfit';
  font-size:.7rem;
  font-weight:700;
  color:var(--accent);
  letter-spacing:.08em;
}

.step-vertical .label{
  font-family:'Outfit';
  font-weight:700;
  font-size:1.05rem;
  color:var(--text);
  opacity:0;
  transition:opacity .3s ease;
  white-space:nowrap;
}

.step-vertical.open{
  flex:1 1 260px;
  background:transparent;
  border-color:var(--line);
}

.step-vertical.open .label{
  opacity:1;
  transition-delay:.15s;
}

.step-img{
  flex:1.6;
  padding:0 24px;
  align-self:stretch;
}

.step-img img{
  width:100%;
  height:100%;
  border-radius:var(--radius-md);
  aspect-ratio:4/3;
  object-fit:cover;
}

.step-main{
  flex:1.1;
  text-align:center;
  padding:0 12px;
}

.step-main .ico{
  width:52px;
  height:52px;
  border-radius:50%;
  background:var(--bg-panel-2);
  color:var(--accent);
  display:flex;
  align-items:center;
  justify-content:center;
  margin:0 auto 16px;
}

.step-main h4{
  font-size:1.05rem;
  margin-bottom:6px;
}

.step-main p{
  font-size:.85rem;
  margin:0;
}

@media (max-width:900px){

  .steps-row{
    flex-direction:column;
    min-height:0;
    gap:14px;
  }

  .step-vertical{
    writing-mode:horizontal-tb;
    transform:none;
    height:auto;
    width:100%;
    flex:none;
    flex-direction:row;
    justify-content:flex-start;
    gap:14px;
    padding:16px 20px;
  }

  .step-vertical .label{
    display:inline;
  }

  .step-vertical.open{
    flex:none;
  }

  .step-img{
    width:100%;
    padding:0;
    order:-1;
  }
}


/* =========================================================
   STATS
   ========================================================= */

.stats{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:24px;
  text-align:center;
}

.stats .num{
  font-family:'Outfit';
  font-weight:900;
  font-size:clamp(2.8rem,7vw,4.6rem);
  line-height:1;
  background:linear-gradient(100deg,var(--gold-2),var(--orange));
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}

.stats .lbl{
  font-size:.85rem;
  color:var(--text-dim);
  margin-top:6px;
}

@media (max-width:768px){
  .stats{
    grid-template-columns:repeat(2,1fr);
  }
}


/* =========================================================
   TESTIMONIAL
   ========================================================= */

.testimonial{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:56px;
  align-items:center;
}

.testimonial .photo{
  border-radius:var(--radius-lg);
  overflow:hidden;
  aspect-ratio:4/3;
}

.testimonial .photo img{
  width:100%;
  height:100%;
  object-fit:cover;
  filter:grayscale(.5);
}

.quote-mark{
  font-family:'Outfit';
  font-size:4rem;
  color:var(--accent);
  line-height:1;
}

.testimonial blockquote{
  margin:0 0 20px;
  font-size:1.15rem;
  color:var(--text);
}

.testimonial cite{
  font-style:normal;
  font-weight:600;
  font-family:'Outfit';
}

@media (max-width:860px){
  .testimonial{
    grid-template-columns:1fr;
  }
}


/* =========================================================
   TWO-COLUMN TEXT / IMAGE
   ========================================================= */

.split{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:56px;
  align-items:center;
}

.split img{
  border-radius:var(--radius-lg);
  aspect-ratio:4/3;
  object-fit:cover;
  filter:grayscale(.3);
}

@media (max-width:860px){
  .split{
    grid-template-columns:1fr;
  }
}


/* =========================================================
   ACCORDION
   ========================================================= */

.accordion{
  border-top:1px solid var(--line-soft);
}

.acc-item{
  border-bottom:1px solid var(--line-soft);
}

.acc-q{
  width:100%;
  text-align:left;
  background:none;
  border:none;
  color:var(--text);
  padding:22px 4px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:20px;
  font-family:'Outfit';
  font-weight:600;
  font-size:1.02rem;
  cursor:pointer;
}

.acc-q .plus{
  width:26px;
  height:26px;
  border-radius:50%;
  background:var(--bg-panel);
  color:var(--accent);
  display:flex;
  align-items:center;
  justify-content:center;
  flex-shrink:0;
  transition:transform .3s;
}

.acc-item[open] .acc-q .plus{
  transform:rotate(45deg);
  background:linear-gradient(100deg,var(--gold),var(--orange));
  color:var(--on-accent);
}

.acc-a{
  padding:0 30px 24px 4px;
  color:var(--text-dim);
  font-size:.95rem;
}

.acc-item summary{
  list-style:none;
  cursor:pointer;
}

.acc-item summary::-webkit-details-marker{
  display:none;
}


/* =========================================================
   CONTACT CARDS
   ========================================================= */

.contact-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:20px;
}

.contact-card{
  background:var(--bg-card);
  border:1px solid var(--line-soft);
  border-radius:var(--radius-md);
  padding:28px;
}

.contact-card .ico{
  width:46px;
  height:46px;
  border-radius:12px;
  background:var(--bg-panel);
  color:var(--accent);
  display:flex;
  align-items:center;
  justify-content:center;
  margin-bottom:16px;
}

.contact-card h4{
  font-size:1rem;
  margin-bottom:6px;
}

.contact-card p{
  margin:0;
  font-size:.9rem;
}

@media (max-width:900px){
  .contact-grid{
    grid-template-columns:repeat(2,1fr);
  }
}

@media (max-width:560px){
  .contact-grid{
    grid-template-columns:1fr;
  }
}

.map-embed{
  border-radius:var(--radius-lg);
  overflow:hidden;
  border:1px solid var(--line-soft);
  height:420px;
}

.map-embed iframe{
  width:100%;
  height:100%;
  border:0;
  filter:grayscale(1) invert(.92) contrast(.9);
}

html[data-theme="light"] .map-embed iframe{
  filter:none;
}


/* =========================================================
   CTA / PRICING
   ========================================================= */

.cta-launch{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:32px;
  flex-wrap:wrap;
}

.cta-launch h3{
  font-size:clamp(1.6rem,3vw,2.2rem);
  margin-bottom:6px;
}

.side-badge{
  writing-mode:vertical-rl;
  transform:rotate(180deg);
  font-family:'Outfit';
  font-weight:700;
  color:var(--accent);
  letter-spacing:.05em;
  padding:14px 6px;
  border-left:2px solid var(--accent);
}


/* =========================================================
   FOOTER — COMPACT HEIGHT (~50% shorter)
   ========================================================= */

.site-footer{
  margin-top:12px;
  width:100%;
  max-width:100%;
}

.footer-panel{
  background:linear-gradient(160deg,var(--bg-panel),var(--bg-panel-2));
  border-top:1px solid var(--line-soft);
  padding:12px 0 6px;
  position:relative;
  overflow:hidden;
  width:100%;
  max-width:100%;
}

.footer-panel > .wrap{
  position:relative;
  z-index:1;
}

@media (max-width:768px){
  .footer-panel{
    padding:10px 0 5px;
  }
}

.footer-top{
  display:grid;
  grid-template-columns:1.4fr 1fr 1fr 1fr;
  gap:12px;
  padding-bottom:8px;
  border-bottom:1px solid var(--line-soft);
}

@media (max-width:860px){
  .footer-top{
    grid-template-columns:1fr 1fr;
    gap:10px;
  }
}

@media (max-width:560px){
  .footer-top{
    grid-template-columns:1fr;
    gap:8px;
  }
}

.footer-col h5{
  font-family:'Outfit';
  font-size:.72rem;
  letter-spacing:.05em;
  color:var(--accent);
  margin-bottom:4px;
}

.footer-col ul li{
  margin-bottom:2px;
}

.footer-col a,
.footer-col p{
  color:var(--text-dim);
  font-size:.82rem;
  line-height:1.35;
  margin:0 0 .25em;
}

.footer-col a:hover{
  color:var(--accent);
}

.social-row{
  display:flex;
  gap:6px;
  margin-top:5px;
}

.social-row a{
  width:26px;
  height:26px;
  border-radius:50%;
  background:var(--bg-panel-2);
  display:flex;
  align-items:center;
  justify-content:center;
  border:1px solid var(--line-soft);
}

.social-row a:hover{
  border-color:var(--accent);
  color:var(--accent);
}

.footer-bottom{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding-top:6px;
  flex-wrap:wrap;
  gap:4px;
  font-size:.74rem;
  color:var(--text-faint);
}


/* =========================================================
   FLOATING UI
   ========================================================= */

.whatsapp-fab{
  position:fixed;
  left:20px;
  bottom:20px;
  z-index:900;
  display:flex;
  align-items:center;
  gap:10px;
  background:#25D366;
  color:#08210f;
  padding:12px 18px;
  border-radius:var(--radius-pill);
  font-family:'Outfit';
  font-weight:700;
  font-size:.85rem;
  box-shadow:0 12px 28px rgba(0,0,0,.35);
}

.back-top{
  position:fixed;
  right:20px;
  bottom:20px;
  z-index:900;
  width:48px;
  height:48px;
  border-radius:50%;
  background:linear-gradient(100deg,var(--gold),var(--orange));
  color:var(--on-accent);
  display:flex;
  align-items:center;
  justify-content:center;
  border:none;
  box-shadow:0 12px 28px rgba(0,0,0,.3);
  opacity:0;
  pointer-events:none;
  transition:opacity .25s;
}

.back-top.show{
  opacity:1;
  pointer-events:auto;
}

@media (max-width:640px){

  .whatsapp-fab span{
    display:none;
  }

  .whatsapp-fab{
    padding:14px;
  }
}


/* =========================================================
   CAROUSEL CAPS
   ========================================================= */

.carousel-caps{
  display:flex;
  align-items:center;
  gap:4px;
  background:var(--bg-panel);
  border:1px solid var(--line-soft);
  border-radius:var(--radius-pill);
  padding:6px;
  flex-shrink:0;
}

.carousel-caps button{
  background:none;
  border:none;
  color:var(--text-dim);
  width:34px;
  height:34px;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
}

.carousel-caps button:hover{
  background:var(--bg-panel-2);
  color:var(--accent);
}

.carousel-caps .divider{
  width:1px;
  height:18px;
  background:var(--line-soft);
}


/* =========================================================
   CAROUSEL
   ========================================================= */

.hscroll{
  display:flex;
  gap:22px;
  overflow-x:auto;
  scroll-snap-type:x mandatory;
  padding-bottom:8px;
  max-width:100%;
}

.hscroll::-webkit-scrollbar{
  height:6px;
}

.hscroll::-webkit-scrollbar-thumb{
  background:var(--line);
  border-radius:4px;
}

.hscroll > *{
  scroll-snap-align:start;
  flex:0 0 280px;
}


/* =========================================================
   UTILITY
   ========================================================= */

.text-center{
  text-align:center;
}

.mt-0{
  margin-top:0;
}

.pill-badge{
  display:inline-block;
  padding:6px 14px;
  border-radius:var(--radius-pill);
  background:var(--bg-panel);
  border:1px solid var(--line);
  color:var(--accent);
  font-family:'Outfit';
  font-weight:600;
  font-size:.78rem;
}


/* =========================================================
   SERVICE DETAIL PAGE
   ========================================================= */

.service-layout{
  display:grid;
  grid-template-columns:280px 1fr;
  gap:48px;
  align-items:start;
}

@media (max-width:900px){
  .service-layout{
    grid-template-columns:1fr;
  }
}

.service-sidebar{
  background:var(--bg-card);
  border:1px solid var(--line-soft);
  border-radius:var(--radius-md);
  padding:10px;
  position:sticky;
  top:calc(var(--header-h) + 20px);
}

.service-sidebar a{
  display:block;
  padding:12px 16px;
  border-radius:var(--radius-sm);
  font-size:.92rem;
  color:var(--text-dim);
}

.service-sidebar a:hover{
  background:var(--bg-panel);
  color:var(--text);
}

.service-sidebar a.active{
  background:linear-gradient(100deg,var(--gold),var(--orange));
  color:var(--on-accent);
  font-weight:600;
}

@media (max-width:900px){

  .service-sidebar{
    position:static;
    display:flex;
    overflow-x:auto;
    gap:8px;
    padding:12px;
    -webkit-overflow-scrolling:touch;
    align-items:center;
    max-width:100%;
  }

  .service-sidebar > div{
    flex:0 0 auto;
    white-space:nowrap;
    padding:0 8px !important;
  }

  .service-sidebar > a{
    white-space:nowrap;
    flex:0 0 auto;
  }
}

.service-hero-img{
  border-radius:var(--radius-lg);
  overflow:hidden;
  aspect-ratio:16/8;
  margin-bottom:32px;
}

.service-hero-img img{
  width:100%;
  height:100%;
  object-fit:cover;
  filter:grayscale(.25);
}

.feature-list{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:16px;
  margin:28px 0;
}

@media (max-width:600px){
  .feature-list{
    grid-template-columns:1fr;
  }
}

.feature-list li{
  display:flex;
  gap:12px;
  align-items:flex-start;
  background:var(--bg-card);
  border:1px solid var(--line-soft);
  border-radius:var(--radius-sm);
  padding:16px;
}

.feature-list li .chk{
  width:26px;
  height:26px;
  border-radius:50%;
  background:var(--bg-panel);
  color:var(--accent);
  display:flex;
  align-items:center;
  justify-content:center;
  flex-shrink:0;
}

.benefit-row{
  display:flex;
  gap:18px;
  padding:18px 0;
  border-bottom:1px solid var(--line-soft);
}

.benefit-row .n{
  font-family:'Outfit';
  font-weight:800;
  color:var(--accent);
  font-size:1.1rem;
}


/* =========================================================
   BLOG
   ========================================================= */

.blog-card .thumb{
  aspect-ratio:16/10;
}

.blog-meta{
  display:flex;
  gap:14px;
  font-size:.8rem;
  color:var(--text-faint);
  margin-bottom:10px;
}

.blog-body img{
  border-radius:var(--radius-md);
  margin:24px 0;
}

.blog-body h2{
  margin-top:1.4em;
  font-size:1.5rem;
}

.blog-body p{
  color:var(--text-dim);
}

.blog-layout{
  display:grid;
  grid-template-columns:1fr 320px;
  gap:48px;
}

@media (max-width:900px){
  .blog-layout{
    grid-template-columns:1fr;
  }
}

.blog-side .card{
  margin-bottom:16px;
}


/* =========================================================
   REVEAL ANIMATION
   ========================================================= */

@keyframes riseIn{
  from{
    opacity:0;
    transform:translateY(18px);
  }

  to{
    opacity:1;
    transform:translateY(0);
  }
}

.hero-content > *{
  animation:riseIn .7s ease both;
}

.hero-content > *:nth-child(2){
  animation-delay:.08s;
}

.hero-content > *:nth-child(3){
  animation-delay:.16s;
}

.hero-content > *:nth-child(4){
  animation-delay:.24s;
}

@media (prefers-reduced-motion:reduce){

  *{
    animation-duration:.01ms !important;
    animation-iteration-count:1 !important;
    transition-duration:.01ms !important;
  }
}


/* =========================================================
   LEAD MODAL
   ========================================================= */

.lead-modal-overlay{
  position:fixed;
  inset:0;
  z-index:9500;
  background:rgba(0,0,0,.55);
  display:flex;
  align-items:center;
  justify-content:center;
  padding:20px;
  opacity:0;
  transition:opacity .25s ease;
}

.lead-modal-overlay.is-active{
  opacity:1;
}

.lead-modal{
  background:var(--bg-card);
  border:1px solid var(--line);
  border-radius:var(--radius-md);
  padding:32px;
  max-width:420px;
  width:100%;
  position:relative;
  transform:translateY(12px);
  transition:transform .25s ease;
  box-shadow:var(--shadow);
}

.lead-modal-overlay.is-active .lead-modal{
  transform:translateY(0);
}

.lead-modal h3{
  margin-bottom:6px;
  font-size:1.3rem;
}

.lead-modal p{
  font-size:.88rem;
  margin-bottom:18px;
}

.lead-modal-close{
  position:absolute;
  top:14px;
  right:14px;
  background:var(--bg-panel);
  border:none;
  color:var(--text);
  width:32px;
  height:32px;
  border-radius:50%;
  font-size:1.2rem;
  line-height:1;
}

.lead-modal-field{
  margin-bottom:14px;
}

.lead-modal-field label{
  display:block;
  font-size:.78rem;
  color:var(--text-faint);
  margin-bottom:6px;
  font-family:'Outfit';
  font-weight:600;
}

.lead-modal-field input{
  width:100%;
  padding:12px 14px;
  border-radius:var(--radius-sm);
  border:1px solid var(--line-soft);
  background:var(--bg-panel);
  color:var(--text);
  font-size:.92rem;
  font-family:inherit;
}

.lead-modal-field input:focus{
  outline:none;
  border-color:var(--accent);
}

.lead-modal-note{
  font-size:.76rem;
  color:var(--text-faint);
  margin:12px 0 0;
}


/* =========================================================
   QUOTE WIZARD
   ========================================================= */

.quote-wizard{
  background:var(--bg-card);
  border:1px solid var(--line-soft);
  border-radius:var(--radius-lg);
  padding:40px;
}

@media (max-width:640px){
  .quote-wizard{
    padding:24px 18px;
  }
}

.qz-progress{
  display:flex;
  gap:6px;
  margin-bottom:32px;
}

.qz-progress span{
  flex:1;
  height:4px;
  border-radius:2px;
  background:var(--line-soft);
}

.qz-progress span.done{
  background:linear-gradient(100deg,var(--gold),var(--orange));
}

.qz-progress span.current{
  background:var(--accent-2);
}

.qz-step-label{
  font-family:'Outfit';
  color:var(--accent);
  font-size:.8rem;
  font-weight:600;
  letter-spacing:.04em;
  margin-bottom:8px;
}

.qz-step h3{
  font-size:1.5rem;
  margin-bottom:22px;
}

.qz-field{
  margin-bottom:18px;
}

.qz-field label{
  display:block;
  font-size:.82rem;
  color:var(--text-faint);
  margin-bottom:8px;
  font-family:'Outfit';
  font-weight:600;
}

.qz-field input,
.qz-field select{
  width:100%;
  padding:13px 16px;
  border-radius:var(--radius-sm);
  border:1px solid var(--line-soft);
  background:var(--bg-panel);
  color:var(--text);
  font-size:.95rem;
  font-family:inherit;
}

.qz-field input:focus,
.qz-field select:focus{
  outline:none;
  border-color:var(--accent);
}

.qz-options{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:12px;
}

@media (max-width:700px){
  .qz-options{
    grid-template-columns:repeat(2,1fr);
  }
}

@media (max-width:460px){
  .qz-options{
    grid-template-columns:1fr;
  }
}

.qz-option{
  border:1px solid var(--line-soft);
  background:var(--bg-panel);
  border-radius:var(--radius-sm);
  padding:16px;
  cursor:pointer;
  transition:.2s;
}

.qz-option:hover{
  border-color:var(--accent);
}

.qz-option.selected{
  border-color:var(--accent);
  background:
    linear-gradient(
      160deg,
      rgba(242,169,0,.14),
      rgba(255,122,26,.06)
    );
}

.qz-option .t{
  font-family:'Outfit';
  font-weight:700;
  font-size:.95rem;
}

.qz-option .d{
  font-size:.78rem;
  color:var(--text-faint);
  margin-top:4px;
}

.qz-nav{
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-top:32px;
  gap:12px;
}

.qz-summary-group{
  margin-bottom:22px;
}

.qz-summary-group h4{
  font-size:.85rem;
  color:var(--accent);
  font-family:'Outfit';
  letter-spacing:.04em;
  margin-bottom:10px;
  display:flex;
  justify-content:space-between;
  align-items:center;
}

.qz-summary-group h4 button{
  background:none;
  border:none;
  color:var(--text-faint);
  font-size:.78rem;
  font-family:inherit;
  text-decoration:underline;
  cursor:pointer;
}

.qz-summary-row{
  display:flex;
  justify-content:space-between;
  padding:8px 0;
  border-bottom:1px solid var(--line-soft);
  font-size:.9rem;
}

.qz-summary-row span:first-child{
  color:var(--text-faint);
}

.qz-estimate{
  margin-top:20px;
  padding:22px;
  border-radius:var(--radius-md);
  background:linear-gradient(160deg,var(--bg-panel),var(--bg-panel-2));
  border:1px solid var(--line);
  display:flex;
  justify-content:space-between;
  align-items:center;
  flex-wrap:wrap;
  gap:10px;
}

.qz-estimate .lbl{
  font-size:.85rem;
  color:var(--text-dim);
}

.qz-estimate .val{
  font-family:'Outfit';
  font-weight:800;
  font-size:1.6rem;
  color:var(--accent-2);
}


/* =========================================================
   APPOINTMENT FORM
   ========================================================= */

.appt-card{
  background:var(--bg-card);
  border:1px solid var(--line-soft);
  border-radius:var(--radius-lg);
  padding:40px;
  max-width:720px;
  margin:0 auto;
}

@media (max-width:640px){
  .appt-card{
    padding:24px 18px;
  }
}

.appt-deposit{
  background:linear-gradient(160deg,var(--bg-panel),var(--bg-panel-2));
  border:1px solid var(--line);
  border-radius:var(--radius-md);
  padding:18px 22px;
  margin-bottom:28px;
}

.appt-deposit h4{
  margin:0 0 6px;
  font-size:1rem;
  color:var(--accent-2);
}

.appt-deposit p{
  margin:0;
  font-size:.86rem;
}

.appt-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:16px;
}

@media (max-width:560px){
  .appt-grid{
    grid-template-columns:1fr;
  }
}

.appt-field{
  margin-bottom:18px;
}

.appt-field.full{
  grid-column:1/-1;
}

.appt-field label{
  display:block;
  font-size:.82rem;
  color:var(--text-faint);
  margin-bottom:8px;
  font-family:'Outfit';
  font-weight:600;
}

.appt-field input,
.appt-field select,
.appt-field textarea{
  width:100%;
  padding:13px 16px;
  border-radius:var(--radius-sm);
  border:1px solid var(--line-soft);
  background:var(--bg-panel);
  color:var(--text);
  font-size:.95rem;
  font-family:inherit;
  resize:vertical;
}

.appt-field input:focus,
.appt-field select:focus,
.appt-field textarea:focus{
  outline:none;
  border-color:var(--accent);
}

.appt-note{
  font-size:.78rem;
  color:var(--text-faint);
  margin-top:14px;
  text-align:center;
}


/* =========================================================
   FINAL SAFETY — prevent horizontal scroll on mobile
   ========================================================= */

@media (max-width:1300px){

  html{
    width:100%;
    max-width:100%;
    overflow-x:hidden;
  }

  body{
    width:100%;
    max-width:100%;
    overflow-x:hidden;
  }

  #page-loader,
  #page-transition{
    width:100%;
    max-width:100vw;
  }

  .site-header{
    width:100%;
    max-width:100vw;
  }

  .header-inner{
    width:100%;
    max-width:100vw;
    overflow:visible;
  }

  main{
    width:100%;
    max-width:100%;
    min-width:0;
    overflow-x:clip;
  }

  .section,
  .hero,
  .page-hero,
  .site-footer{
    width:100%;
    max-width:100%;
    min-width:0;
  }

  .hero-frame,
  .panel,
  .card,
  .service-tile,
  .contact-card,
  .quote-wizard,
  .appt-card{
    max-width:100%;
    min-width:0;
  }
}