/* =====================================================================
   NEW PVC WINDOWS — style.css
   Premium uPVC Windows & Doors | Alladurgam, Telangana
   Plain CSS3 (no frameworks). Loaded from index.html
   ===================================================================== */

/* ---------------------------------------------------------------------
   1. DESIGN TOKENS
   ------------------------------------------------------------------- */
:root{
  /* Brand colours */
  --white:      #ffffff;
  --ink:        #121820;   /* dark charcoal  */
  --ink-2:      #232d39;
  --muted:      #5d6b7a;   /* body text on light */
  --navy:       #0e2a47;   /* deep blue      */
  --navy-2:     #123a63;
  --navy-3:     #0a1e34;
  --teal:       #0ea5a4;   /* accent         */
  --teal-2:     #0b8b8a;
  --soft:       #f5f7fa;   /* very light gray */
  --soft-2:     #eef2f6;
  --line:       #e3e9f0;
  --line-2:     #d3dde7;
  --wa:         #25d366;   /* WhatsApp green  */

  /* Typography */
  --font-head: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;

  /* Shape */
  --r-xs: 8px;
  --r-sm: 12px;
  --r:    16px;
  --r-lg: 22px;
  --r-xl: 30px;
  --r-pill: 999px;

  /* Shadows */
  --sh-xs: 0 1px 2px rgba(16, 24, 40, .05);
  --sh-sm: 0 4px 14px rgba(16, 24, 40, .06);
  --sh-md: 0 12px 30px rgba(16, 24, 40, .09);
  --sh-lg: 0 26px 64px rgba(16, 24, 40, .16);
  --sh-teal: 0 12px 28px rgba(14, 165, 164, .28);

  /* Layout */
  --container: 1240px;
  --header-h: 80px;
  --header-h-sm: 66px;

  --ease: cubic-bezier(.22, .7, .3, 1);
}

/* ---------------------------------------------------------------------
   2. RESET & BASE
   ------------------------------------------------------------------- */
*,
*::before,
*::after{ box-sizing: border-box; }

html{
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h-sm) + 12px);
}

body{
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-2);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body.no-scroll{ overflow: hidden; }

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

h1, h2, h3, h4{
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.16;
  margin: 0 0 .5em;
  font-weight: 800;
  letter-spacing: -.02em;
}

h1{ font-size: clamp(2.05rem, 1.15rem + 3.7vw, 3.9rem); }
h2{ font-size: clamp(1.65rem, 1.05rem + 2.4vw, 2.75rem); }
h3{ font-size: clamp(1.08rem, .98rem + .5vw, 1.3rem); font-weight: 700; }
p{ margin: 0 0 1rem; }
p:last-child{ margin-bottom: 0; }

a{ color: var(--navy); text-decoration: none; }
ul, ol{ margin: 0; padding: 0; list-style: none; }
button{ font: inherit; color: inherit; }
strong{ font-weight: 600; color: var(--ink); }

:focus-visible{
  outline: 3px solid var(--teal);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection{ background: var(--teal); color: #fff; }

/* Accessibility helpers */
.skip-link{
  position: absolute;
  left: 12px;
  top: -80px;
  z-index: 2000;
  background: var(--navy);
  color: #fff;
  padding: 12px 18px;
  border-radius: 0 0 var(--r-sm) var(--r-sm);
  font-weight: 600;
  transition: top .2s var(--ease);
}
.skip-link:focus{ top: 0; }

.visually-hidden{
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

/* ---------------------------------------------------------------------
   3. LAYOUT HELPERS
   ------------------------------------------------------------------- */
.container{
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section{ padding: clamp(64px, 8vw, 112px) 0; position: relative; }
.section-soft{ background: var(--soft); }

.section-head{
  max-width: 720px;
  margin: 0 auto clamp(38px, 5vw, 62px);
  text-align: center;
}

.section-title{ margin-bottom: .35em; }
.section-sub{ color: var(--muted); font-size: 1.03rem; margin: 0; }
.section-title-light{ color: #fff; }
.section-sub-light{ color: rgba(255, 255, 255, .68); }

.text-accent{
  color: var(--teal);
  background: linear-gradient(180deg, transparent 62%, rgba(14, 165, 164, .16) 62%);
}

.eyebrow{
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 14px;
  padding: 7px 15px 7px 12px;
  border-radius: var(--r-pill);
  background: rgba(14, 165, 164, .09);
  color: var(--teal-2);
  font-family: var(--font-head);
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.eyebrow .dot{
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 4px rgba(14, 165, 164, .18);
}
.eyebrow-light{
  background: rgba(255, 255, 255, .08);
  color: #7fe0da;
}
.eyebrow-light .dot{ background: var(--teal); }

.lead{ font-size: 1.1rem; color: var(--ink-2); }

/* Decorative shapes */
.shape{ position: absolute; border-radius: 50%; pointer-events: none; }
.grid-lines{
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at 60% 30%, #000 0%, transparent 72%);
  -webkit-mask-image: radial-gradient(ellipse at 60% 30%, #000 0%, transparent 72%);
}

/* Image frame with graceful fallback background */
.media-frame{
  position: relative;
  display: block;
  width: 100%;
  overflow: hidden;
  border-radius: var(--r-lg);
  background:
    linear-gradient(135deg, #dde6ee 0%, #c6d5e2 48%, #e9eff5 100%);
  box-shadow: var(--sh-md);
}
.media-frame img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .8s var(--ease), opacity .4s ease;
}
/* If an image fails, the gradient stays and the layout never breaks */
.media-frame img.is-broken{ opacity: 0; }

/* ---------------------------------------------------------------------
   4. BUTTONS
   ------------------------------------------------------------------- */
.btn{
  --btn-bg: var(--navy);
  --btn-fg: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 14px 26px;
  border: 1px solid transparent;
  border-radius: var(--r-pill);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-head);
  font-size: .93rem;
  font-weight: 700;
  letter-spacing: .01em;
  line-height: 1.2;
  cursor: pointer;
  white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease),
              background-color .25s var(--ease), color .25s var(--ease),
              border-color .25s var(--ease);
}
.btn:hover{ transform: translateY(-2px); }
.btn:active{ transform: translateY(0); }
.btn-sm{ padding: 11px 20px; font-size: .86rem; }
.btn-block{ width: 100%; }

.btn-primary{
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%);
  box-shadow: 0 10px 24px rgba(14, 42, 71, .24);
}
.btn-primary:hover{
  background: linear-gradient(135deg, var(--teal-2) 0%, var(--navy) 100%);
  box-shadow: 0 16px 32px rgba(14, 42, 71, .3);
}

.btn-outline{
  background: transparent;
  color: var(--navy);
  border-color: var(--line-2);
  box-shadow: none;
}
.btn-outline:hover{
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
  box-shadow: var(--sh-sm);
}

.btn-light{
  background: #fff;
  color: var(--navy);
  box-shadow: 0 12px 30px rgba(0, 0, 0, .2);
}
.btn-light:hover{ background: var(--teal); color: #fff; }

.btn-whatsapp{
  background: var(--wa);
  color: #06331a;
  box-shadow: 0 10px 26px rgba(37, 211, 102, .32);
}
.btn-whatsapp:hover{ background: #1fbe5b; color: #fff; }
.btn-lg-ghost{
  background: rgba(255, 255, 255, .1);
  color: #fff;
  border-color: rgba(255, 255, 255, .38);
  box-shadow: none;
  backdrop-filter: blur(6px);
}
.btn-lg-ghost:hover{ background: var(--wa); color: #06331a; border-color: var(--wa); }

/* ---------------------------------------------------------------------
   5. HEADER
   ------------------------------------------------------------------- */
/* The frosted-glass effect lives on a pseudo-element on purpose.
   A backdrop-filter on .site-header itself would turn the header into the
   containing block for position:fixed children and break the mobile panel. */
.site-header{
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  transition: box-shadow .3s var(--ease);
}
.site-header::before{
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(255, 255, 255, .92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: background-color .3s var(--ease);
}
.site-header.is-scrolled{
  box-shadow: 0 10px 34px rgba(16, 24, 40, .1);
}
.site-header.is-scrolled::before{ background: rgba(255, 255, 255, .97); }

.header-inner{
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  transition: height .3s var(--ease);
}
.site-header.is-scrolled .header-inner{ height: var(--header-h-sm); }

.brand{
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex-shrink: 0;
}
.brand-mark{ width: 40px; height: 40px; flex-shrink: 0; transition: transform .3s var(--ease); }
.brand:hover .brand-mark{ transform: rotate(-4deg); }
.bm-frame{ fill: var(--navy); stroke: none; }
.bm-line{ fill: none; stroke: rgba(255, 255, 255, .75); stroke-width: 2.2; }
.bm-accent{ fill: none; stroke: var(--teal); stroke-width: 3; }

.brand-text{ display: flex; flex-direction: column; line-height: 1.15; }
.brand-name{
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.02rem;
  letter-spacing: .01em;
  color: var(--ink);
}
.brand-sub{
  font-size: .7rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}

.site-nav{ display: flex; align-items: center; gap: 26px; }
.nav-list{ display: flex; align-items: center; gap: 4px; }
.nav-link{
  position: relative;
  display: block;
  padding: 9px 13px;
  border-radius: var(--r-sm);
  font-family: var(--font-head);
  font-size: .93rem;
  font-weight: 600;
  color: var(--ink-2);
  transition: color .2s var(--ease), background-color .2s var(--ease);
}
.nav-link::after{
  content: "";
  position: absolute;
  left: 13px; right: 13px; bottom: 4px;
  height: 2px;
  border-radius: 2px;
  background: var(--teal);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav-link:hover{ color: var(--navy); }
.nav-link:hover::after{ transform: scaleX(1); }
.nav-link.is-active{ color: var(--navy); }
.nav-link.is-active::after{ transform: scaleX(1); }

/* Hamburger */
.nav-toggle{
  display: none;
  width: 46px; height: 46px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: #fff;
  cursor: pointer;
  padding: 0;
  place-items: center;
  transition: background-color .2s var(--ease), border-color .2s var(--ease);
}
.nav-toggle:hover{ background: var(--soft); }
.nav-toggle-bars{ display: block; width: 22px; }
.nav-toggle-bars i{
  display: block;
  height: 2px;
  border-radius: 2px;
  background: var(--navy);
  transition: transform .3s var(--ease), opacity .2s var(--ease), width .3s var(--ease);
  width: 100%;
}
.nav-toggle-bars i + i{ margin-top: 5px; }
.nav-toggle-bars i:nth-child(2){ width: 70%; }

.nav-open .nav-toggle-bars i:nth-child(1){ transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle-bars i:nth-child(2){ opacity: 0; }
.nav-open .nav-toggle-bars i:nth-child(3){ transform: translateY(-7px) rotate(-45deg); width: 100%; }

.nav-backdrop{
  position: fixed;
  inset: 0;
  z-index: 998;
  background: rgba(10, 22, 36, .5);
  backdrop-filter: blur(2px);
  opacity: 0;
  transition: opacity .3s var(--ease);
}
.nav-open .nav-backdrop{ opacity: 1; }

/* ---------------------------------------------------------------------
   6. HERO
   ------------------------------------------------------------------- */
.hero{
  position: relative;
  padding: calc(var(--header-h) + clamp(38px, 6vw, 74px)) 0 clamp(58px, 7vw, 96px);
  background:
    radial-gradient(1100px 520px at 88% -8%, rgba(14, 165, 164, .22), transparent 62%),
    linear-gradient(160deg, #16202b 0%, var(--navy-3) 45%, var(--navy) 100%);
  color: rgba(255, 255, 255, .82);
  overflow: hidden;
}
.hero-bg{ position: absolute; inset: 0; pointer-events: none; overflow: hidden; }

/* Poster + video share the same box so swapping between them never shifts layout. */
.hero-bg-photo,
.hero-bg-video{
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 62% 50%;
  border: 0;
  pointer-events: none;
}
.hero-bg-photo{ z-index: 0; transform: scale(1.04); }

/* The video fades in only once it can actually play, so the poster is never
   replaced by a black or half-loaded frame. */
.hero-bg-video{
  z-index: 1;
  opacity: 0;
  transition: opacity 1.4s ease;
}
.hero-bg-video.is-playing{ opacity: 1; }
/* If playback fails, drop the element entirely rather than leaving a dead frame. */
.hero-bg-video[hidden]{ display: none; }

/* Keeps headline / paragraph / buttons readable over moving footage. */
.hero-scrim{
  position: absolute; inset: 0; z-index: 2;
  background:
    linear-gradient(100deg, rgba(12, 19, 28, .95) 0%, rgba(12, 19, 28, .88) 34%,
                            rgba(12, 19, 28, .62) 58%, rgba(12, 19, 28, .44) 100%),
    linear-gradient(180deg, rgba(12, 19, 28, .62) 0%, transparent 26%, rgba(12, 19, 28, .78) 100%),
    linear-gradient(0deg, var(--navy) 0%, transparent 34%);
}

.shape-a{
  width: 520px; height: 520px;
  top: -190px; right: -140px;
  background: radial-gradient(circle at 30% 30%, rgba(14, 165, 164, .30), transparent 68%);
}
.shape-b{
  width: 420px; height: 420px;
  bottom: -220px; left: -120px;
  border: 1px solid rgba(255, 255, 255, .08);
}
.hero-bg .shape,
.hero-bg .grid-lines{ z-index: 3; }

.hero-inner{
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  gap: clamp(34px, 5vw, 66px);
  align-items: center;
}

.hero-title{
  color: #fff;
  margin-bottom: .38em;
  text-wrap: balance;
}

.hero-text{
  font-size: clamp(1rem, .96rem + .2vw, 1.12rem);
  color: rgba(255, 255, 255, .74);
  max-width: 54ch;
  margin-bottom: 1.8rem;
}

.hero-buttons{
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 1.6rem;
}

.hero-trust{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-size: .82rem;
  font-weight: 500;
  letter-spacing: .04em;
  color: rgba(255, 255, 255, .6);
}
.hero-trust .sep{ color: var(--teal); }

.hero-media{ position: relative; }
.hero-photo{
  aspect-ratio: 4 / 3;
  border-radius: var(--r-xl);
  box-shadow: 0 40px 90px rgba(0, 0, 0, .45);
  border: 1px solid rgba(255, 255, 255, .12);
}
.hero-photo::after{
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(10, 30, 52, .04) 40%, rgba(10, 30, 52, .5) 100%);
  pointer-events: none;
}
.hero-photo img{ position: relative; z-index: 1; }

.hero-accent-line{
  position: absolute;
  left: -18px; bottom: -18px;
  width: 116px; height: 116px;
  border-left: 3px solid var(--teal);
  border-bottom: 3px solid var(--teal);
  border-bottom-left-radius: 26px;
  opacity: .85;
}

.glass-tag{
  position: absolute;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding: 11px 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .28);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 14px 34px rgba(0, 0, 0, .3);
  color: #fff;
}
.glass-tag strong{
  color: #fff;
  font-family: var(--font-head);
  font-size: .86rem;
  font-weight: 700;
}
.glass-tag small{ font-size: .72rem; color: rgba(255, 255, 255, .72); }
.glass-tag-1{ left: -22px; top: 26px; }
.glass-tag-2{ right: -14px; bottom: 34px; }

/* ---------------------------------------------------------------------
   7. STATS
   ------------------------------------------------------------------- */
.stats{
  position: relative;
  background: #fff;
  border-bottom: 1px solid var(--line);
  padding: 0;
  margin-top: -46px;
  z-index: 5;
}
.stats .container{ padding: 0; }
.stats-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-md);
  overflow: hidden;
}
.stat{
  padding: 26px 18px;
  text-align: center;
  border-right: 1px solid var(--line);
  transition: background-color .3s var(--ease);
}
.stat:last-child{ border-right: 0; }
.stat:hover{ background: var(--soft); }
.stat-value{
  display: block;
  font-family: var(--font-head);
  font-size: clamp(1.6rem, 1.1rem + 1.6vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--navy);
  line-height: 1.1;
}
.stat-value-text{ color: var(--teal-2); }
.stat-label{
  display: block;
  margin-top: 6px;
  font-size: .82rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------------------------------------------------------------------
   8. ABOUT
   ------------------------------------------------------------------- */
.about-grid{
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  gap: clamp(36px, 5vw, 70px);
  align-items: center;
}

.about-media{ position: relative; padding-bottom: 46px; }
.about-img-main{ aspect-ratio: 4 / 4.6; }
.about-img-sub{
  position: absolute;
  right: -14px;
  bottom: 0;
  width: 47%;
  aspect-ratio: 4 / 3;
  border: 7px solid #fff;
  border-radius: var(--r-lg);
  box-shadow: var(--sh-lg);
}
.about-badge{
  position: absolute;
  left: -14px;
  top: 26px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px 12px 14px;
  border-radius: var(--r);
  background: linear-gradient(135deg, var(--navy), var(--navy-2));
  color: #fff;
  box-shadow: var(--sh-md);
}
.about-badge-num{ font-family: var(--font-head); font-size: 1.6rem; font-weight: 800; color: #fff; line-height: 1; }
.about-badge-txt{ font-size: .72rem; line-height: 1.3; letter-spacing: .06em; text-transform: uppercase; color: rgba(255, 255, 255, .72); }

.feature-list{ margin: 24px 0 28px; display: grid; gap: 15px; }
.feature-list li{ display: flex; gap: 13px; align-items: flex-start; }
.check{
  flex-shrink: 0;
  width: 25px; height: 25px;
  margin-top: 2px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(14, 165, 164, .12);
  color: var(--teal-2);
}
.feature-list strong{ display: block; font-family: var(--font-head); font-size: 1rem; }
.feature-list p{ margin: 2px 0 0; font-size: .92rem; color: var(--muted); }

/* ---------------------------------------------------------------------
   9. PRODUCTS
   ------------------------------------------------------------------- */
.products-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.product-card{
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--sh-xs);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
}
.product-card:hover{
  transform: translateY(-7px);
  box-shadow: var(--sh-md);
  border-color: transparent;
}
.product-media{
  aspect-ratio: 16 / 11;
  border-radius: 0;
  box-shadow: none;
  position: relative;
}
.product-card:hover .product-media img{ transform: scale(1.07); }
.product-media::after{
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 30, 52, .18) 0%, transparent 34%, rgba(10, 30, 52, .28) 100%);
  opacity: 0;
  transition: opacity .4s var(--ease);
  pointer-events: none;
}
.product-card:hover .product-media::after{ opacity: 1; }
.chip{
  position: absolute;
  z-index: 2;
  top: 13px; left: 13px;
  padding: 6px 12px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, .92);
  color: var(--navy);
  font-family: var(--font-head);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  box-shadow: var(--sh-sm);
}
.product-body{
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 24px 24px 26px;
}
.product-title{ margin-bottom: 8px; }
.product-text{ color: var(--muted); font-size: .94rem; margin-bottom: 20px; flex: 1; }
.product-body .btn{ margin-top: auto; }

/* ---------------------------------------------------------------------
   10. SERVICES
   ------------------------------------------------------------------- */
.services-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.service-card{
  position: relative;
  padding: 30px 26px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-xs);
  overflow: hidden;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
}
.service-card::before{
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, var(--teal), var(--navy));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .45s var(--ease);
}
.service-card:hover{ transform: translateY(-6px); box-shadow: var(--sh-md); border-color: transparent; }
.service-card:hover::before{ transform: scaleX(1); }
.service-icon{
  display: grid;
  place-items: center;
  width: 58px; height: 58px;
  margin-bottom: 18px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(14, 165, 164, .13), rgba(14, 42, 71, .08));
  color: var(--navy);
  transition: background .4s var(--ease), color .4s var(--ease), transform .4s var(--ease);
}
.service-card:hover .service-icon{
  background: linear-gradient(135deg, var(--navy), var(--navy-2));
  color: #fff;
  transform: rotate(-6deg);
}
.service-title{ font-size: 1.12rem; margin-bottom: 8px; }
.service-text{ color: var(--muted); font-size: .93rem; margin: 0; }

/* ---------------------------------------------------------------------
   11. WHY CHOOSE US (dark)
   ------------------------------------------------------------------- */
.section-dark{
  background: linear-gradient(165deg, #16202b 0%, var(--navy-3) 55%, #0b2438 100%);
  color: rgba(255, 255, 255, .74);
  overflow: hidden;
}
.section-dark .section-title{ color: #fff; }
.dark-bg{ position: absolute; inset: 0; pointer-events: none; }
.shape-c{
  width: 560px; height: 560px;
  top: -220px; right: -160px;
  background: radial-gradient(circle at 40% 40%, rgba(14, 165, 164, .26), transparent 66%);
}

.why-grid{
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.why-card{
  padding: 30px 26px;
  border-radius: var(--r-lg);
  background: rgba(255, 255, 255, .045);
  border: 1px solid rgba(255, 255, 255, .1);
  transition: transform .4s var(--ease), background-color .4s var(--ease),
              border-color .4s var(--ease), box-shadow .4s var(--ease);
}
.why-card:hover{
  transform: translateY(-7px);
  background: rgba(255, 255, 255, .09);
  border-color: rgba(14, 165, 164, .5);
  box-shadow: 0 24px 50px rgba(0, 0, 0, .35);
}
.why-icon{
  display: grid;
  place-items: center;
  width: 52px; height: 52px;
  margin-bottom: 17px;
  border-radius: 14px;
  background: rgba(14, 165, 164, .16);
  color: #5fd8d2;
  transition: transform .4s var(--ease), background-color .4s var(--ease);
}
.why-card:hover .why-icon{ transform: translateY(-3px) scale(1.06); background: rgba(14, 165, 164, .3); }
.why-card h3{ color: #fff; font-size: 1.1rem; margin-bottom: 8px; }
.why-card p{ margin: 0; font-size: .93rem; color: rgba(255, 255, 255, .62); }

/* ---------------------------------------------------------------------
   12. PROCESS
   ------------------------------------------------------------------- */
.process{
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
  counter-reset: step;
}
.process::before{
  content: "";
  position: absolute;
  top: 30px;
  left: 11%;
  right: 11%;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--teal), var(--navy));
  opacity: .3;
}
.step{
  position: relative;
  padding-top: 62px;
  text-align: center;
}
.step-num{
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  display: grid;
  place-items: center;
  width: 62px; height: 62px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--line-2);
  box-shadow: var(--sh-sm);
  font-family: var(--font-head);
  font-size: 1.08rem;
  font-weight: 800;
  color: var(--navy);
  transition: transform .35s var(--ease), background .35s var(--ease),
              color .35s var(--ease), border-color .35s var(--ease);
}
.step-num::after{
  content: "";
  position: absolute;
  inset: 6px;
  border-radius: 50%;
  border: 1px dashed rgba(14, 165, 164, .45);
}
.step:hover .step-num{
  transform: translateX(-50%) scale(1.07);
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}
.step-title{ font-size: 1.06rem; margin-bottom: 6px; }
.step-text{ color: var(--muted); font-size: .92rem; margin: 0; }

/* ---------------------------------------------------------------------
   13. GALLERY
   ------------------------------------------------------------------- */
.gallery-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 200px;
  gap: 16px;
}
.g-item{
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: var(--r-lg);
  background: none;
  cursor: pointer;
  overflow: hidden;
  box-shadow: var(--sh-xs);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.g-item-lg{ grid-column: span 2; grid-row: span 2; }
.g-item-wide{ grid-column: span 2; }
.g-media{
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: none;
}
.g-item img{ width: 100%; height: 100%; object-fit: cover; }
.g-item:hover{ transform: translateY(-5px); box-shadow: var(--sh-md); }
.g-item:hover img{ transform: scale(1.08); }
.g-item::after{
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 30, 52, 0) 40%, rgba(10, 30, 52, .82) 100%);
  opacity: 0;
  transition: opacity .4s var(--ease);
  pointer-events: none;
  z-index: 1;
}
.g-item:hover::after,
.g-item:focus-visible::after{ opacity: 1; }
.g-caption{
  position: absolute;
  left: 18px; right: 18px; bottom: 15px;
  z-index: 2;
  font-family: var(--font-head);
  font-size: .93rem;
  font-weight: 700;
  color: #fff;
  text-align: left;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .35s var(--ease), transform .35s var(--ease);
}
.g-item:hover .g-caption,
.g-item:focus-visible .g-caption{ opacity: 1; transform: none; }

/* ---------------------------------------------------------------------
   14. TESTIMONIALS
   ------------------------------------------------------------------- */
.testimonials-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonial-card{
  position: relative;
  padding: 30px 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-xs);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.testimonial-card:hover{ transform: translateY(-6px); box-shadow: var(--sh-md); }
.quote-mark{
  position: absolute;
  top: 6px; right: 20px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 5.2rem;
  line-height: 1;
  color: rgba(14, 165, 164, .14);
  pointer-events: none;
}
.testimonial-text{
  position: relative;
  font-size: 1rem;
  color: var(--ink-2);
  margin-bottom: 22px;
}
.testimonial-footer{
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.avatar{
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), var(--teal-2));
  color: #fff;
  font-family: var(--font-head);
  font-size: .88rem;
  font-weight: 700;
  letter-spacing: .04em;
}
.testimonial-name{ font-family: var(--font-head); font-weight: 700; color: var(--ink); font-size: .98rem; }

/* ---------------------------------------------------------------------
   15. CTA
   ------------------------------------------------------------------- */
.cta{
  position: relative;
  padding: clamp(58px, 7vw, 96px) 0;
  background:
    radial-gradient(760px 380px at 18% 0%, rgba(14, 165, 164, .3), transparent 66%),
    linear-gradient(135deg, var(--navy) 0%, #0a1e34 100%);
  color: rgba(255, 255, 255, .76);
  overflow: hidden;
}
.cta-bg{ position: absolute; inset: 0; pointer-events: none; }
.shape-d{
  width: 460px; height: 460px;
  right: -130px; bottom: -220px;
  border: 1px solid rgba(255, 255, 255, .1);
}
.cta-inner{
  position: relative;
  max-width: 800px;
  text-align: center;
}
.cta-title{ color: #fff; text-wrap: balance; }
.cta-text{
  font-size: 1.06rem;
  color: rgba(255, 255, 255, .72);
  max-width: 60ch;
  margin: 0 auto 2rem;
}
.cta-buttons{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

/* ---------------------------------------------------------------------
   16. CONTACT
   ------------------------------------------------------------------- */
.contact-grid{
  display: grid;
  grid-template-columns: 1fr 1.06fr;
  gap: clamp(34px, 4.5vw, 62px);
  align-items: start;
}
.contact-intro{ color: var(--muted); margin-bottom: 26px; }

.contact-list{ display: grid; gap: 4px; margin-bottom: 26px; }
.contact-item{
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 15px;
  border-radius: var(--r-sm);
  transition: background-color .3s var(--ease), transform .3s var(--ease);
}
.contact-item:hover{ background: var(--soft); transform: translateX(4px); }
.contact-icon{
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 42px; height: 42px;
  border-radius: 12px;
  background: rgba(14, 165, 164, .1);
  color: var(--teal-2);
}
.contact-icon-wa{ background: rgba(37, 211, 102, .13); color: #12904a; }
.contact-item-body{ min-width: 0; }
.contact-label{
  margin: 0 0 1px;
  font-family: var(--font-body);
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}
.contact-value{ margin: 0; font-weight: 600; color: var(--ink); word-break: break-word; }
.contact-value a{ color: var(--ink); font-weight: 600; }
.contact-value a:hover{ color: var(--teal-2); }

.contact-card{
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  padding: 20px;
  border-radius: var(--r-lg);
  background: linear-gradient(135deg, var(--navy), var(--navy-2));
  color: #fff;
  box-shadow: var(--sh-md);
}
.contact-card-logo{ flex-shrink: 0; }
.contact-card-logo .bm-frame{ fill: rgba(255, 255, 255, .14); }
.contact-card-name{
  margin: 0;
  font-family: var(--font-head);
  font-weight: 800;
  color: #fff;
  letter-spacing: .01em;
}
.contact-card-role{ margin: 2px 0 0; font-size: .78rem; color: rgba(255, 255, 255, .68); }
.contact-card .btn{ margin-left: auto; }

/* ---- Form ---- */
.contact-form-wrap{
  padding: clamp(24px, 3vw, 34px);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  background: #fff;
  box-shadow: var(--sh-md);
}
.form-title{ margin-bottom: 4px; }
.form-sub{ color: var(--muted); font-size: .93rem; margin-bottom: 22px; }

.enquiry-form{ display: grid; gap: 4px; }
.form-row{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-group{ margin-bottom: 16px; }
.form-group label{
  display: block;
  margin-bottom: 7px;
  font-family: var(--font-head);
  font-size: .84rem;
  font-weight: 700;
  color: var(--ink);
}
.req{ color: var(--teal-2); }
.optional{ font-weight: 500; color: var(--muted); text-transform: none; letter-spacing: 0; }

.enquiry-form input,
.enquiry-form select,
.enquiry-form textarea{
  width: 100%;
  max-width: 100%;
  padding: 13px 15px;
  border: 1px solid var(--line-2);
  border-radius: var(--r-sm);
  background: #fbfcfd;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: .95rem;
  line-height: 1.5;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease), background-color .25s var(--ease);
  -webkit-appearance: none;
  appearance: none;
}
.enquiry-form textarea{ resize: vertical; min-height: 118px; }
.enquiry-form select{
  padding-right: 42px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235d6b7a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 17px;
  cursor: pointer;
}
.enquiry-form input::placeholder,
.enquiry-form textarea::placeholder{ color: #9aa6b3; }
.enquiry-form input:hover,
.enquiry-form select:hover,
.enquiry-form textarea:hover{ border-color: #b9c7d6; }
.enquiry-form input:focus,
.enquiry-form select:focus,
.enquiry-form textarea:focus{
  outline: none;
  background: #fff;
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(14, 165, 164, .14);
}

.field-error input,
.field-error select,
.field-error textarea{
  border-color: #e05a4f;
  background: #fdf7f6;
}
.field-error input:focus,
.field-error select:focus,
.field-error textarea:focus{
  border-color: #e05a4f;
  box-shadow: 0 0 0 4px rgba(224, 90, 79, .13);
}

.error-msg{
  display: none;
  margin: 6px 0 0;
  font-size: .8rem;
  font-weight: 500;
  color: #cf4a3f;
}
.field-error .error-msg{ display: block; }

.form-note{
  margin: 12px 0 0;
  text-align: center;
  font-size: .78rem;
  color: var(--muted);
}

.form-wa{
  margin: 14px 0 0;
  text-align: center;
  font-size: .88rem;
  color: var(--muted);
}
.link-btn{
  padding: 0;
  border: 0;
  background: none;
  color: var(--teal-2);
  font: inherit;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.link-btn:hover{ color: var(--navy); }

.form-alert{
  margin-top: 16px;
  padding: 15px 17px;
  border-radius: var(--r-sm);
  font-size: .92rem;
  font-weight: 600;
  display: flex;
  gap: 11px;
  align-items: flex-start;
}
.form-alert::before{
  content: "";
  flex-shrink: 0;
  width: 22px; height: 22px;
  margin-top: 1px;
  border-radius: 50%;
  background-size: 13px 13px;
  background-repeat: no-repeat;
  background-position: center;
}
.form-alert.is-success{
  background: #edfaf3;
  color: #14713f;
  border: 1px solid #b7e6ce;
}
.form-alert.is-success::before{
  background-color: #1a9a58;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m4 12.5 5 5L20 6.5'/%3E%3C/svg%3E");
}
.form-alert.is-error{
  background: #fdf4f3;
  color: #b3402f;
  border: 1px solid #f2c9c4;
}
.form-alert.is-error::before{
  background-color: #d4574a;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.4' stroke-linecap='round'%3E%3Cpath d='M12 7v7M12 17.4v.2'/%3E%3C/svg%3E");
}

#submitBtn.is-busy{ opacity: .68; pointer-events: none; }

/* ---------------------------------------------------------------------
   17. FOOTER
   ------------------------------------------------------------------- */
.site-footer{
  background: #10161e;
  color: rgba(255, 255, 255, .6);
  padding: clamp(48px, 6vw, 72px) 0 0;
  border-top: 1px solid rgba(255, 255, 255, .07);
}
.footer-grid{
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 34px;
  padding-bottom: 40px;
}
.brand-footer .brand-name{ color: #fff; }
.brand-footer .brand-sub{ color: rgba(255, 255, 255, .5); }
.brand-footer .bm-frame{ fill: rgba(255, 255, 255, .1); }
.footer-tagline{
  margin: 16px 0 10px;
  font-family: var(--font-head);
  font-size: .95rem;
  font-weight: 600;
  color: #fff;
}
.footer-text{ font-size: .9rem; max-width: 42ch; }

.footer-heading{
  margin: 0 0 16px;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #fff;
}
.footer-links{ display: grid; gap: 9px; }
.footer-links a{
  position: relative;
  display: inline-block;
  color: rgba(255, 255, 255, .6);
  font-size: .92rem;
  transition: color .25s var(--ease), transform .25s var(--ease);
}
.footer-links a::before{
  content: "";
  position: absolute;
  left: -15px; top: 50%;
  width: 7px; height: 2px;
  border-radius: 2px;
  background: var(--teal);
  opacity: 0;
  transform: translateX(4px);
  transition: opacity .25s var(--ease), transform .25s var(--ease);
}
.footer-links a:hover{ color: #fff; transform: translateX(15px); }
.footer-links a:hover::before{ opacity: 1; transform: none; }

.footer-contact{ display: grid; gap: 13px; margin-bottom: 18px; }
.footer-contact li{ display: flex; flex-direction: column; gap: 1px; }
.footer-contact-label{
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .4);
}
.footer-contact a{ color: #fff; font-weight: 600; }
.footer-contact a:hover{ color: var(--teal); }
.footer-contact span{ color: rgba(255, 255, 255, .6); font-size: .92rem; }

.footer-bottom{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, .08);
  font-size: .84rem;
}
.footer-bottom p{ margin: 0; }
.footer-made{ color: rgba(255, 255, 255, .42); }

/* ---------------------------------------------------------------------
   18. FLOATING BUTTONS
   ------------------------------------------------------------------- */
.wa-float{
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 900;
  display: flex;
  align-items: center;
  gap: 0;
  height: 58px;
  padding: 0 17px;
  border: 0;
  border-radius: var(--r-pill);
  background: var(--wa);
  color: #06331a;
  box-shadow: 0 14px 34px rgba(37, 211, 102, .42);
  cursor: pointer;
  overflow: hidden;
  white-space: nowrap;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), padding .3s var(--ease);
}
.wa-float::before{
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 2px solid rgba(37, 211, 102, .55);
  animation: wa-pulse 2.6s var(--ease) infinite;
}
.wa-float:hover{ transform: translateY(-3px) scale(1.02); box-shadow: 0 18px 40px rgba(37, 211, 102, .5); }
.wa-float-label{
  max-width: 0;
  opacity: 0;
  font-family: var(--font-head);
  font-size: .9rem;
  font-weight: 700;
  transition: max-width .35s var(--ease), opacity .3s var(--ease), margin .35s var(--ease);
}
.wa-float:hover .wa-float-label,
.wa-float:focus-visible .wa-float-label{ max-width: 140px; opacity: 1; margin-left: 9px; }

@keyframes wa-pulse{
  0%   { transform: scale(1);    opacity: .7; }
  70%  { transform: scale(1.22); opacity: 0; }
  100% { transform: scale(1.22); opacity: 0; }
}

.to-top{
  position: fixed;
  right: 22px;
  bottom: 90px;
  z-index: 899;
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--navy);
  box-shadow: var(--sh-md);
  cursor: pointer;
  opacity: 0;
  transform: translateY(12px) scale(.9);
  transition: opacity .3s var(--ease), transform .3s var(--ease), background-color .3s var(--ease), color .3s var(--ease);
}
.to-top.is-visible{ opacity: 1; transform: none; }
.to-top:hover{ background: var(--navy); color: #fff; border-color: var(--navy); }

/* ---------------------------------------------------------------------
   19. LIGHTBOX
   ------------------------------------------------------------------- */
.lightbox{
  position: fixed;
  inset: 0;
  z-index: 1500;
  display: grid;
  place-items: center;
  padding: 20px;
}
.lightbox[hidden]{ display: none; }
.lightbox-backdrop{
  position: absolute;
  inset: 0;
  background: rgba(6, 13, 22, .93);
  backdrop-filter: blur(5px);
  animation: fade-in .3s var(--ease);
}
.lightbox-inner{
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1080px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
  animation: lb-in .34s var(--ease);
}
.lightbox-figure{
  margin: 0;
  display: grid;
  place-items: center;
  gap: 12px;
  min-width: 0;
}
.lightbox-figure img{
  max-width: 100%;
  max-height: 74vh;
  width: auto;
  border-radius: var(--r);
  background: linear-gradient(135deg, #dde6ee, #c6d5e2);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .6);
  object-fit: contain;
}
.lightbox-caption{
  text-align: center;
  font-family: var(--font-head);
  font-size: .92rem;
  color: rgba(255, 255, 255, .78);
}
.lightbox-btn{
  display: grid;
  place-items: center;
  width: 48px; height: 48px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 50%;
  background: rgba(255, 255, 255, .08);
  color: #fff;
  cursor: pointer;
  transition: background-color .25s var(--ease), transform .25s var(--ease), border-color .25s var(--ease);
}
.lightbox-btn:hover{
  background: var(--teal);
  border-color: var(--teal);
  transform: scale(1.07);
}
.lightbox-close{
  position: absolute;
  top: -62px; right: 0;
  width: 42px; height: 42px;
}

@keyframes fade-in{ from{ opacity: 0; } to{ opacity: 1; } }
@keyframes lb-in{
  from{ opacity: 0; transform: scale(.96) translateY(10px); }
  to{ opacity: 1; transform: none; }
}

/* ---------------------------------------------------------------------
   20. SCROLL REVEAL
   ------------------------------------------------------------------- */
.reveal{
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .75s var(--ease), transform .75s var(--ease);
}
.reveal.is-visible{ opacity: 1; transform: none; }
.reveal[data-delay="1"]{ transition-delay: .08s; }
.reveal[data-delay="2"]{ transition-delay: .16s; }
.reveal[data-delay="3"]{ transition-delay: .24s; }
.reveal[data-delay="4"]{ transition-delay: .32s; }
.reveal[data-delay="5"]{ transition-delay: .40s; }
.reveal[data-delay="6"]{ transition-delay: .48s; }

/* =====================================================================
   21. RESPONSIVE
   ===================================================================== */

/* --- Large desktop --- */
@media (min-width: 1441px){
  .container{ max-width: 1320px; }
  :root{ --header-h: 86px; }
}

/* --- Small desktop / laptop --- */
@media (max-width: 1200px){
  .nav-list{ gap: 0; }
  .nav-link{ padding: 9px 10px; font-size: .9rem; }
  .nav-link::after{ left: 10px; right: 10px; }
  .site-nav{ gap: 16px; }
  .glass-tag-1{ left: -10px; }
  .glass-tag-2{ right: -6px; }
}

/* --- Tablet landscape / small laptop : switch to hamburger --- */
@media (max-width: 1024px){
  :root{ --header-h: 74px; }

  .nav-toggle{ display: grid; }

  .site-nav{
    position: fixed;
    top: 0; right: 0;
    z-index: 999;
    width: min(330px, 86vw);
    height: 100%;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    padding: calc(var(--header-h) + 18px) 24px 28px;
    background: #fff;
    box-shadow: -18px 0 50px rgba(16, 24, 40, .16);
    transform: translateX(105%);
    transition: transform .38s var(--ease);
    overflow-y: auto;
  }
  .nav-open .site-nav{ transform: none; }

  .nav-list{ flex-direction: column; align-items: stretch; gap: 2px; }
  .nav-link{
    padding: 13px 14px;
    font-size: 1.02rem;
    border-radius: var(--r-sm);
  }
  .nav-link::after{ display: none; }
  .nav-link.is-active{ background: var(--soft); color: var(--navy); }
  .nav-actions{ margin-top: 20px; }
  .nav-quote{ width: 100%; }

  .hero-inner{ grid-template-columns: 1fr; gap: 40px; }
  .hero-media{ max-width: 620px; width: 100%; }
  .glass-tag-1{ left: 12px; top: 14px; }
  .glass-tag-2{ right: 12px; bottom: 18px; }
  .hero-accent-line{ display: none; }

  .about-grid{ grid-template-columns: 1fr; gap: 40px; }
  .about-media{ max-width: 560px; }
  .about-img-sub{ right: 0; }

  .products-grid{ grid-template-columns: repeat(2, 1fr); gap: 22px; }
  .services-grid{ grid-template-columns: repeat(2, 1fr); }
  .why-grid{ grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid{ grid-template-columns: 1fr; max-width: 640px; margin: 0 auto; }

  .gallery-grid{ grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; }
  .g-item-lg{ grid-column: span 2; grid-row: span 1; }
  .g-item-wide{ grid-column: span 2; }

  .contact-grid{ grid-template-columns: 1fr; gap: 40px; }
  .contact-form-wrap{ max-width: 720px; }

  .footer-grid{ grid-template-columns: 1fr 1fr; gap: 30px; }
  .footer-about{ grid-column: 1 / -1; }
}

/* --- Tablet portrait --- */
@media (max-width: 900px){
  .stats{ margin-top: -30px; }
  .stats-grid{ grid-template-columns: repeat(2, 1fr); }
  .stat{ border-bottom: 1px solid var(--line); }
  .stat:nth-child(2n){ border-right: 0; }
  .stat:nth-last-child(-n+2){ border-bottom: 0; }

  .form-row{ grid-template-columns: 1fr; gap: 0; }
}

/* --- Mobile --- */
@media (max-width: 767px){
  :root{ --header-h: 68px; }

  html{ scroll-padding-top: calc(var(--header-h) + 10px); }
  .container{ padding: 0 18px; }
  .section{ padding: 56px 0; }

  .brand-mark{ width: 36px; height: 36px; }
  .brand-name{ font-size: .92rem; }
  .brand-sub{ font-size: .62rem; }

  .hero{ padding-bottom: 52px; }
  .hero-buttons .btn{ flex: 1 1 100%; }
  .hero-photo{ aspect-ratio: 4 / 4.2; border-radius: var(--r-lg); }
  .glass-tag{ padding: 9px 13px; }
  .glass-tag strong{ font-size: .78rem; }
  .glass-tag small{ font-size: .66rem; }
  .hero-trust{ font-size: .76rem; gap: 6px; }

  .stats-grid{ border-radius: var(--r); }
  .stat{ padding: 20px 12px; }
  .stat-label{ font-size: .72rem; letter-spacing: .06em; }

  .about-media{ padding-bottom: 34px; }
  .about-img-sub{ width: 52%; border-width: 5px; }
  .about-badge{ left: 0; padding: 9px 14px 9px 11px; }
  .about-badge-num{ font-size: 1.3rem; }
  .about-badge-txt{ font-size: .64rem; }

  .products-grid{ grid-template-columns: 1fr; }
  .services-grid{ grid-template-columns: 1fr; }
  .why-grid{ grid-template-columns: 1fr; }
  .service-card,
  .why-card{ padding: 24px 22px; }

  /* Process : vertical timeline on mobile */
  .process{ grid-template-columns: 1fr; gap: 0; }
  .process::before{
    top: 30px; bottom: 30px;
    left: 30px; right: auto;
    width: 2px; height: auto;
    background: linear-gradient(180deg, var(--teal), var(--navy));
  }
  .step{ padding: 0 0 30px 78px; text-align: left; }
  .step-num{ left: 0; top: 0; transform: none; width: 60px; height: 60px; }
  .step:hover .step-num{ transform: scale(1.05); }
  .step:last-child{ padding-bottom: 0; }

  .gallery-grid{ grid-template-columns: 1fr; grid-auto-rows: auto; gap: 14px; }
  .g-item{ aspect-ratio: 4 / 3; }
  .g-item-lg,
  .g-item-wide{ grid-column: span 1; grid-row: span 1; }
  .g-caption{
    opacity: 1;
    transform: none;
    font-size: .88rem;
  }
  .g-item::after{ opacity: 1; }

  .contact-card .btn{ margin-left: 0; width: 100%; }
  .contact-form-wrap{ border-radius: var(--r-lg); }

  .footer-grid{ grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom{ flex-direction: column; text-align: center; }

  .wa-float{ right: 16px; bottom: 16px; height: 54px; padding: 0 15px; }
  .to-top{ right: 18px; bottom: 82px; width: 42px; height: 42px; }

  .lightbox{ padding: 14px; }
  .lightbox-inner{ grid-template-columns: 1fr; gap: 12px; }
  .lightbox-prev,
  .lightbox-next{
    position: static;
    justify-self: center;
    order: 2;
  }
  .lightbox-figure{ order: 1; }
  .lightbox-close{ top: 0; right: 0; order: 3; justify-self: end; }
  .lightbox-figure img{ max-height: 58vh; }
}

/* --- Small mobile --- */
@media (max-width: 520px){
  body{ font-size: 15.5px; }
  .container{ padding: 0 16px; }

  .section{ padding: 48px 0; }
  .eyebrow{ font-size: .68rem; letter-spacing: .1em; }

  .hero-title{ font-size: clamp(1.85rem, 1.1rem + 5.4vw, 2.4rem); }
  .hero-text{ font-size: .97rem; }
  .hero-photo{ aspect-ratio: 3 / 3.4; }
  .glass-tag-1{ left: 8px; top: 8px; padding: 7px 11px; }
  .glass-tag-2{ right: 8px; bottom: 10px; padding: 7px 11px; }
  .glass-tag small{ display: none; }

  .stats{ margin-top: -24px; }
  .stat-value{ font-size: 1.6rem; }
  .stat-label{ font-size: .66rem; }

  .product-body{ padding: 20px 20px 22px; }
  .testimonial-card{ padding: 26px 22px; }
  .contact-item{ padding: 12px 10px; }

  .wa-float-label{ display: none; }
  .wa-float{ padding: 0 16px; }

  .lightbox-caption{ font-size: .84rem; }
  .lightbox-btn{ width: 44px; height: 44px; }
}

/* --- Very small mobile (320px) --- */
@media (max-width: 360px){
  .container{ padding: 0 14px; }
  .brand-name{ font-size: .86rem; }
  .brand-sub{ font-size: .58rem; }
  .brand{ gap: 8px; }
  .nav-toggle{ width: 42px; height: 42px; }
  .hero-title{ font-size: 1.7rem; }
  .btn{ padding: 13px 20px; font-size: .88rem; }
  .section-title{ font-size: 1.45rem; }
  .form-row{ grid-template-columns: 1fr; }
  .step{ padding-left: 68px; }
  .process::before{ left: 26px; }
  .step-num{ width: 52px; height: 52px; font-size: .95rem; }
  .about-img-sub{ width: 56%; }
}

/* ---------------------------------------------------------------------
   22. MOTION / PRINT PREFERENCES
   ------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  /* Never autoplay moving footage for visitors who asked for less motion. */
  .hero-bg-video{ display: none; }
  *,
  *::before,
  *::after{
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .reveal{ opacity: 1; transform: none; }
}

@media print{
  .site-header,
  .wa-float,
  .to-top,
  .lightbox,
  .cta{ display: none !important; }
  body{ color: #000; }
}
