/* ============================================================
   APEX SEALANTS — Harry Allen trading as Apex Sealants
   Design tokens
   ============================================================ */

:root{
  --navy-deep:   #061420;
  --navy:        #0A2233;
  --navy-soft:   #0F2E44;
  --blue:        #1A90E0;
  --blue-bright: #66C6FF;
  --red:         #E7242B;
  --white:       #F6FAFD;
  --ink:         #EAF3FA;
  --ink-dim:     rgba(234,243,250,0.68);
  --ink-faint:   rgba(234,243,250,0.42);
  --line:        rgba(102,198,255,0.16);

  --font-display: 'Poppins', 'Segoe UI', Arial, sans-serif;
  --font-mono: ui-monospace, 'SF Mono', 'Cascadia Code', Menlo, Consolas, monospace;

  --container: 1180px;
  --radius: 14px;
  --radius-sm: 8px;

  --ease: cubic-bezier(.22,.85,.32,1);
}

*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *, *::before, *::after{ animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}

/* ---------------- Preloader ---------------- */
.preloader{
  position: fixed; inset:0; z-index: 9999;
  background: var(--navy-deep);
  display:flex; flex-direction:column; align-items:center; justify-content:center;
  transition: opacity .6s var(--ease), visibility .6s var(--ease);
}
.preloader__mark{
  font-family: var(--font-display); font-weight:800;
  font-size: clamp(2rem, 8vw, 3.2rem);
  letter-spacing: 0.06em;
  color: var(--ink);
  opacity:0;
  transform: translateY(14px);
  animation: preloaderMark .7s var(--ease) forwards .1s;
}
.preloader__mark em{
  font-style:normal;
  background: linear-gradient(90deg, var(--blue-bright), var(--blue));
  -webkit-background-clip:text; background-clip:text; color:transparent;
}
.preloader__sub{
  font-family: var(--font-mono); font-size:0.72rem; letter-spacing:0.32em; text-transform:uppercase;
  color: var(--ink-faint); margin-top:10px;
  opacity:0; animation: preloaderMark .6s var(--ease) forwards .3s;
}
@keyframes preloaderMark{ to{ opacity:1; transform:translateY(0); } }
.preloader__bar{
  width: 200px; height:2px; margin-top:34px;
  background: rgba(255,255,255,0.1);
  border-radius:2px; overflow:hidden;
}
.preloader__bar::after{
  content:""; display:block; height:100%; width:100%;
  background: linear-gradient(90deg, var(--blue-bright), var(--blue));
  transform: scaleX(0); transform-origin:left;
  animation: preloaderFill 1s var(--ease) forwards .15s;
}
@keyframes preloaderFill{ to{ transform: scaleX(1); } }
.preloader.is-done{ opacity:0; visibility:hidden; pointer-events:none; }
@media (prefers-reduced-motion: reduce){
  .preloader{ display:none; }
}

/* ---------------- Cursor spotlight ---------------- */
.cursor-glow{
  position:fixed; top:0; left:0;
  width:380px; height:380px;
  border-radius:50%;
  background: radial-gradient(circle, rgba(102,198,255,0.055), rgba(102,198,255,0.018) 45%, transparent 70%);
  pointer-events:none;
  z-index: 4;
  mix-blend-mode: screen;
  opacity:0;
  transition: opacity .4s ease;
  will-change: transform;
}
.cursor-glow.is-active{ opacity:1; }
@media (hover: none), (pointer: coarse), (prefers-reduced-motion: reduce){
  .cursor-glow{ display:none; }
}

body{
  margin:0;
  background: var(--navy-deep);
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img{ max-width:100%; display:block; }
a{ color: inherit; text-decoration:none; }
ul{ margin:0; padding:0; list-style:none; }
button{ font-family: inherit; }

h1,h2,h3,h4{
  font-family: var(--font-display);
  margin:0 0 0.5em;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--white);
}

.container{
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

.eyebrow{
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue-bright);
  display:inline-flex;
  align-items:center;
  gap:10px;
  margin-bottom: 14px;
}
.eyebrow::before{
  content:"";
  width: 22px; height: 1px;
  background: var(--blue-bright);
  box-shadow: 0 0 6px var(--blue-bright);
}

.section{ position: relative; padding: 96px 0; }
.section--tight{ padding: 64px 0; }
@media (max-width: 720px){
  .section{ padding: 64px 0; }
  .section--tight{ padding: 44px 0; }
}

.section-head{ max-width: 640px; margin-bottom: 48px; }
.section-head p{ color: var(--ink-dim); font-size: 1.02rem; }
.section-head__tagline{
  color: var(--blue-bright) !important;
  font-style: italic;
  font-weight: 500;
  font-size: 1.1rem !important;
  margin-bottom: 4px;
}
.section-head h2{ font-size: clamp(1.7rem, 3.4vw, 2.5rem); }

/* ---------------- Buttons ---------------- */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding: 15px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), border-color .25s var(--ease);
  white-space: nowrap;
}
.btn:active{ transform: scale(0.97); }
.btn:focus-visible{ outline: 2px solid var(--blue-bright); outline-offset: 3px; }

.btn--primary{
  background: linear-gradient(180deg, var(--blue-bright), var(--blue));
  color: var(--navy-deep);
  box-shadow: 0 0 0 1px rgba(102,198,255,0.35), 0 8px 28px rgba(26,144,224,0.35);
  position: relative;
  overflow: hidden;
}
.btn--primary::after{
  content:"";
  position:absolute;
  top:0; left:-60%;
  width: 40%; height:100%;
  background: linear-gradient(115deg, transparent, rgba(255,255,255,0.55), transparent);
  transform: skewX(-20deg);
  transition: left .65s var(--ease);
}
.btn--primary:hover::after{ left: 130%; }
.btn--primary:hover{ box-shadow: 0 0 0 1px rgba(102,198,255,0.6), 0 10px 34px rgba(102,198,255,0.5); transform: translateY(-2px); }

.btn--ghost{
  background: rgba(255,255,255,0.02);
  color: var(--ink);
  border-color: rgba(234,243,250,0.28);
}
.btn--ghost:hover{ background: rgba(102,198,255,0.12); border-color: var(--blue-bright); color: var(--ink); transform: translateY(-2px); box-shadow: 0 8px 28px rgba(102,198,255,0.25); }

.btn--red{
  background: linear-gradient(180deg, #ff3b42, var(--red));
  color: #fff;
  box-shadow: 0 8px 22px rgba(231,36,43,0.45);
}

.btn--block{ width:100%; }
.btn--sm{ padding: 10px 18px; font-size: 0.85rem; }

/* ---------------- Signature: the bead ---------------- */
.bead-rail{
  position: fixed;
  top: 0; left: 0;
  width: 3px;
  height: 100%;
  z-index: 60;
  background: rgba(255,255,255,0.06);
  pointer-events: none;
}
.bead-rail__fill{
  width: 100%;
  height: 0%;
  background: linear-gradient(180deg, var(--blue-bright), var(--blue));
  box-shadow: 0 0 10px var(--blue-bright), 0 0 22px rgba(102,198,255,0.6);
  border-radius: 0 0 4px 4px;
  transition: height .08s linear;
}
.bead-rail__nozzle{
  position: absolute;
  left: 50%;
  width: 12px; height: 12px;
  background: var(--blue-bright);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 8px 3px rgba(102,198,255,0.85);
  transition: top .08s linear;
}
@media (max-width: 720px){ .bead-rail{ display:none; } }

/* ---------------- Header ---------------- */
.site-header{
  position: fixed;
  top:0; left:0; right:0;
  z-index: 50;
  padding: 16px 0;
  background: linear-gradient(180deg, rgba(6,20,32,0.92), rgba(6,20,32,0.55) 80%, transparent);
  backdrop-filter: blur(6px);
  transition: background .3s var(--ease), padding .3s var(--ease), border-color .3s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled{
  background: rgba(6,20,32,0.86);
  border-bottom: 1px solid var(--line);
  padding: 12px 0;
}
.site-header .container{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 20px;
}

.logo{ display:flex; align-items:center; gap:10px; }
.logo__img{ height: 52px; width: auto; display:block; }

.nav-desktop{
  display:flex;
  align-items:center;
  gap: 30px;
}
.nav-desktop a{
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink-dim);
  transition: color .2s;
  position:relative;
}
.nav-desktop a:hover{ color: var(--blue-bright); }

.header-actions{ display:flex; align-items:center; gap:14px; }
.header-call{
  display:flex;
  align-items:center;
  gap:8px;
  font-family: var(--font-mono);
  font-size: 0.88rem;
  color: var(--ink);
}
.header-call svg{ width:16px; height:16px; color: var(--blue-bright); }

@media (max-width: 860px){
  .nav-desktop{ display:none; }
  .header-call span.tel-text{ display:none; }
}

/* ---------------- Hero ---------------- */
.hero{
  position: relative;
  min-height: 100svh;
  display:flex;
  align-items: flex-end;
  padding-top: 120px;
  overflow:hidden;
}
.hero__bg{
  position:absolute; inset:0;
  z-index:0;
}
.hero__bg img{
  width:100%; height:100%;
  object-fit: cover;
  object-position: center 30%;
  transform: scale(1.3) translateY(var(--parallax-y, 0px));
  will-change: transform;
}
@media (prefers-reduced-motion: reduce){
  .hero__bg img{ transform:none; }
}
.hero__scrim{
  position:absolute; inset:0;
  background:
    linear-gradient(180deg, rgba(6,15,24,0.55) 0%, rgba(6,15,24,0.35) 30%, rgba(6,14,22,0.75) 78%, var(--navy-deep) 100%),
    linear-gradient(90deg, rgba(6,15,24,0.75) 0%, rgba(6,15,24,0.15) 55%);
}
.hero__glow{
  position:absolute;
  left: -10%; top: 8%;
  width: 55%; height: 55%;
  background: radial-gradient(circle, rgba(102,198,255,0.28), transparent 65%);
  filter: blur(10px);
  pointer-events:none;
}
.hero__content{
  position: relative;
  z-index: 2;
  padding-bottom: 88px;
  max-width: 760px;
}
.hero__content > *{
  opacity:0;
  transform: translateY(22px);
  animation: heroRise .85s var(--ease) forwards;
}
.hero__content > *:nth-child(1){ animation-delay: .05s; }
.hero__content > *:nth-child(2){ animation-delay: .16s; }
.hero__content > *:nth-child(3){ animation-delay: .27s; }
.hero__content > *:nth-child(4){ animation-delay: .38s; }
.hero__content > *:nth-child(5){ animation-delay: .48s; }
@keyframes heroRise{
  to{ opacity:1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce){
  .hero__content > *{ opacity:1; transform:none; animation:none; }
}
.hero__badge{
  display:inline-flex; align-items:center; gap:8px;
  font-family: var(--font-mono);
  font-size: 12px; letter-spacing:0.14em; text-transform:uppercase;
  color: var(--blue-bright);
  border: 1px solid rgba(102,198,255,0.35);
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(102,198,255,0.06);
  margin-bottom: 26px;
}
.hero__badge .dot{ width:6px; height:6px; border-radius:50%; background: var(--blue-bright); box-shadow: 0 0 8px var(--blue-bright); }

.hero h1{
  font-size: clamp(2.4rem, 6vw, 4.1rem);
  line-height: 1.04;
  font-weight: 700;
  margin-bottom: 22px;
  text-wrap: balance;
}
.hero h1 em{
  font-style: normal;
  background: linear-gradient(90deg, var(--blue-bright), var(--blue));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero p.lead{
  font-size: clamp(1rem, 1.6vw, 1.18rem);
  color: var(--ink-dim);
  max-width: 540px;
  margin-bottom: 34px;
}
.hero__ctas{ display:flex; gap: 14px; flex-wrap:wrap; margin-bottom: 40px; }

.hero__subnote{
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.03em;
  color: var(--ink-faint);
}

@media (max-width: 720px){
  .hero{ padding-top: 100px; align-items:flex-end; }
  .hero__content{ padding-bottom: 56px; }
}

/* ---------------- Trust strip ---------------- */
.trust{
  position: relative;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--navy);
  padding: 26px 0;
}
.trust .container{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.marquee{
  position:relative;
  overflow:hidden;
  width:100%;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track{
  display:flex;
  align-items:center;
  gap: 10px;
  width: max-content;
  animation: marqueeScroll 26s linear infinite;
}
.marquee:hover .marquee__track{ animation-play-state: paused; }
@keyframes marqueeScroll{
  from{ transform: translateX(0); }
  to{ transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce){
  .marquee__track{ animation:none; }
}
.chip{
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.06em;
  color: var(--ink-dim);
  border: 1px solid var(--line);
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.02);
  white-space: nowrap;
  flex: none;
}
.trust__note{
  display:flex; gap:22px; flex-wrap:wrap;
  font-size: 0.86rem;
  color: var(--ink-dim);
}
.trust__note strong{ color: var(--white); font-weight:600; }

/* ---------------- Services ---------------- */
.services-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 980px){ .services-grid{ grid-template-columns: repeat(2,1fr); } }
@media (max-width: 640px){ .services-grid{ grid-template-columns: 1fr; } }

.service-card{
  position:relative;
  border-radius: var(--radius);
  overflow:hidden;
  background: var(--navy);
  border: 1px solid var(--line);
  transition: transform .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease);
}
.service-card:hover{
  transform: translateY(-6px);
  border-color: rgba(102,198,255,0.5);
  box-shadow: 0 18px 40px rgba(0,0,0,0.4), 0 0 0 1px rgba(102,198,255,0.15);
}
.service-card__media{ height: 190px; overflow:hidden; }
.service-card__media img{ width:100%; height:100%; object-fit:cover; object-position: center center; transition: transform .6s var(--ease); }
.service-card__media--top img{ object-position: center 25%; }
.service-card:hover .service-card__media img{ transform: scale(1.06); }
.service-card__body{ padding: 22px 22px 26px; }
.service-card__body h3{ font-size: 1.12rem; margin-bottom:8px; }
.service-card__body p{ color: var(--ink-dim); font-size: 0.92rem; margin:0; }
.service-card__num{
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--blue-bright);
  letter-spacing: 0.1em;
  margin-bottom: 10px;
  display:block;
}

/* ---------------- Before / After ---------------- */
.ba-section{ background: var(--navy); border-top:1px solid var(--line); border-bottom:1px solid var(--line); }
.ba-grid{
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
@media (max-width: 720px){ .ba-grid{ grid-template-columns: 1fr; max-width:460px; margin:0 auto; } }

.ba-card{ }
.ba-card__label{
  display:flex; align-items:center; justify-content: space-between;
  margin-bottom: 12px;
}
.ba-card__label h4{ margin:0; font-size: 1rem; color: var(--white); }
.ba-card__hint{
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--ink-faint);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.ba-slider{
  position: relative;
  aspect-ratio: 3/4;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  touch-action: pan-y;
  cursor: ew-resize;
  user-select: none;
  box-shadow: 0 20px 50px rgba(0,0,0,0.4);
}
.ba-slider img{
  position:absolute; inset:0;
  width:100%; height:100%; object-fit: cover;
  pointer-events: none;
  -webkit-user-drag: none;
}
.ba-slider__after{ z-index:1; }
.ba-slider__before{
  z-index:2;
  clip-path: inset(0 50% 0 0);
}
.ba-tag{
  position:absolute; top:12px;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  padding: 5px 10px;
  border-radius: 999px;
  z-index: 4;
  backdrop-filter: blur(4px);
}
.ba-tag--before{ left:12px; background: rgba(231,36,43,0.28); color:#ffd9d9; border:1px solid rgba(231,36,43,0.5); }
.ba-tag--after{ right:12px; background: rgba(102,198,255,0.22); color: var(--blue-bright); border:1px solid rgba(102,198,255,0.5); }

.ba-slider__handle{
  position:absolute; top:0; bottom:0;
  left:50%;
  width: 0;
  z-index: 3;
  transform: translateX(-50%);
  pointer-events:none;
}
.ba-slider__line{
  position:absolute; top:0; bottom:0; left:0;
  width: 2px;
  background: var(--blue-bright);
  box-shadow: 0 0 10px var(--blue-bright);
  transform: translateX(-50%);
}
.ba-slider__grip{
  position:absolute; top:50%; left:0;
  width: 42px; height:42px;
  transform: translate(-50%,-50%);
  border-radius:50%;
  background: rgba(6,20,32,0.85);
  border: 2px solid var(--blue-bright);
  display:flex; align-items:center; justify-content:center;
  box-shadow: 0 0 16px rgba(102,198,255,0.7);
}
.ba-slider__grip svg{ width:18px; height:18px; color: var(--blue-bright); }

/* ---------------- Gallery ---------------- */
.gallery-filters{
  display:flex; gap:10px; flex-wrap:wrap;
  margin-bottom: 34px;
}
.filter-btn{
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink-dim);
  cursor:pointer;
  transition: all .25s var(--ease);
}
.filter-btn:hover{ border-color: var(--blue-bright); color: var(--blue-bright); }
.filter-btn.is-active{
  background: var(--blue-bright);
  border-color: var(--blue-bright);
  color: var(--navy-deep);
  font-weight: 600;
}

.gallery-grid{
  column-count: 3;
  column-gap: 16px;
}
@media (max-width: 980px){ .gallery-grid{ column-count: 2; } }
@media (max-width: 560px){ .gallery-grid{ column-count: 2; column-gap: 10px; } }

.gallery-item{
  break-inside: avoid;
  margin-bottom: 16px;
  border-radius: var(--radius-sm);
  overflow:hidden;
  position:relative;
  border: 1px solid var(--line);
  cursor: zoom-in;
}
@media (max-width: 560px){ .gallery-item{ margin-bottom: 10px; } }
.gallery-item img{ width:100%; display:block; transition: transform .5s var(--ease); }
.gallery-item:hover img{ transform: scale(1.05); }
.gallery-item.is-hidden{ display:none; }

/* Lightbox */
.lightbox{
  position: fixed; inset:0; z-index: 200;
  background: rgba(4,10,16,0.94);
  display:flex; align-items:center; justify-content:center;
  padding: 30px;
  opacity:0; pointer-events:none;
  transition: opacity .25s;
}
.lightbox.is-open{ opacity:1; pointer-events:all; }
.lightbox img{ max-width: 92vw; max-height: 86vh; border-radius: 10px; box-shadow: 0 30px 80px rgba(0,0,0,0.6); }
.lightbox__close{
  position:absolute; top:22px; right:22px;
  width:44px; height:44px; border-radius:50%;
  background: rgba(255,255,255,0.06);
  border:1px solid var(--line);
  color: var(--ink);
  display:flex; align-items:center; justify-content:center;
  cursor:pointer; font-size:20px;
}

/* ---------------- Process ---------------- */
.process-list{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
@media (max-width: 900px){ .process-list{ grid-template-columns: repeat(2,1fr); } }
@media (max-width: 560px){ .process-list{ grid-template-columns: 1fr; } }

.process-step{
  border-left: 2px solid var(--line);
  padding-left: 20px;
  padding-right: 8px;
  padding-bottom: 4px;
  position:relative;
  transition: transform .4s var(--ease), border-color .4s var(--ease);
}
.process-step::before{
  content:"";
  position:absolute; left:-2px; top:0;
  width:2px; height:0;
  background: linear-gradient(180deg, var(--blue-bright), var(--blue));
  transition: height .6s var(--ease);
  transition-delay: .15s;
}
.process-step.is-visible::before{ height:100%; }
.process-step:hover{
  transform: translateX(4px);
  border-color: rgba(102,198,255,0.5);
}
.process-step__num{
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--blue-bright);
  display:block;
  margin-bottom: 10px;
  transform: scale(0.6);
  opacity: 0;
  transition: transform .5s var(--ease), opacity .5s var(--ease), text-shadow .3s ease;
  transform-origin: left center;
}
.process-step.is-visible .process-step__num{ transform: scale(1); opacity:1; }
.process-step:hover .process-step__num{ text-shadow: 0 0 14px rgba(102,198,255,0.7); }
.process-step h4{
  font-size: 1.02rem; margin-bottom:8px;
  transition: color .3s ease;
}
.process-step:hover h4{ color: var(--blue-bright); }
.process-step p{ color: var(--ink-dim); font-size: 0.9rem; margin:0; }
@media (prefers-reduced-motion: reduce){
  .process-step::before{ height:100%; transition:none; }
  .process-step__num{ transform:none; opacity:1; }
}

/* ---------------- Instagram ---------------- */
.insta-section{ background: var(--navy); }
.insta-head{
  display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:16px;
  margin-bottom: 28px;
}
.insta-head h2{ margin:0; font-size: clamp(1.5rem,3vw,2rem); }
.insta-handle{
  display:inline-flex; align-items:center; gap:9px;
  font-family: var(--font-mono);
  color: var(--ink);
  font-size: 0.9rem;
  font-weight:600;
  padding: 9px 18px 9px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,0.03);
  transition: transform .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease), background .3s var(--ease);
}
.insta-handle:hover{
  transform: translateY(-3px) scale(1.02);
  border-color: rgba(200,55,171,0.5);
  box-shadow: 0 12px 30px rgba(0,0,0,0.35);
  background: rgba(200,55,171,0.08);
  color: var(--ink);
}
.insta-grid{
  display:grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
}
@media (max-width: 900px){ .insta-grid{ grid-template-columns: repeat(3,1fr); } }
.insta-tile{
  position:relative;
  aspect-ratio: 1/1;
  overflow:hidden;
  border-radius: 8px;
  border: 1px solid var(--line);
}
.insta-tile img{ width:100%; height:100%; object-fit:cover; transition: transform .4s var(--ease); }
.insta-tile:hover img{ transform: scale(1.08); }
.insta-tile__overlay{
  position:absolute; inset:0;
  background: rgba(6,15,24,0.55);
  display:flex; align-items:center; justify-content:center;
  opacity:0; transition: opacity .25s;
}
.insta-tile:hover .insta-tile__overlay{ opacity:1; }
.insta-tile__overlay svg{ width:22px; height:22px; color:#fff; }

/* ---------------- Testimonials ---------------- */
.reviews-grid{
  display:grid;
  grid-template-columns: repeat(3,1fr);
  gap: 22px;
  margin-top: 8px;
}
@media (max-width: 900px){ .reviews-grid{ grid-template-columns: 1fr; } }
.review-card{
  background: var(--navy);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
  transition: transform .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease);
}
.review-card:hover{
  transform: translateY(-6px);
  border-color: rgba(102,198,255,0.5);
  box-shadow: 0 18px 40px rgba(0,0,0,0.4), 0 0 0 1px rgba(102,198,255,0.15);
}
.review-card__stars{ display:flex; gap:4px; margin-bottom: 14px; }
.review-card__stars svg{ width:16px; height:16px; color: #FFC107; opacity:0; transform: scale(0.4); transition: opacity .35s var(--ease), transform .35s var(--ease); }
.review-card.is-visible .review-card__stars svg{ opacity:1; transform: scale(1); }
.review-card__stars svg:nth-child(1){ transition-delay: .15s; }
.review-card__stars svg:nth-child(2){ transition-delay: .22s; }
.review-card__stars svg:nth-child(3){ transition-delay: .29s; }
.review-card__stars svg:nth-child(4){ transition-delay: .36s; }
.review-card__stars svg:nth-child(5){ transition-delay: .43s; }
@media (prefers-reduced-motion: reduce){ .review-card__stars svg{ opacity:1; transform:none; transition:none; } }
.review-card__text{ color: var(--ink-dim); font-size: 0.92rem; line-height:1.6; margin-bottom: 16px; }
.review-card__name{ font-family: var(--font-mono); font-size: 0.72rem; letter-spacing:0.04em; color: var(--ink-faint); text-transform: uppercase; }

.google-badge{
  display:inline-flex;
  align-items:center;
  gap:10px;
  margin: 34px auto 0;
  padding: 12px 22px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,0.03);
  color: var(--ink);
  font-size: 0.88rem;
  font-weight:600;
  transition: transform .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease), background .3s var(--ease);
}
.google-badge:hover{
  transform: translateY(-3px);
  border-color: rgba(102,198,255,0.5);
  box-shadow: 0 12px 30px rgba(0,0,0,0.35);
  background: rgba(102,198,255,0.08);
  color: var(--ink);
}
.testimonials-section{ text-align:center; }
.testimonials-section .section-head{ margin-left:auto; margin-right:auto; }
.testimonials-section .reviews-grid{ text-align:left; }
.testimonials-note{ margin-top:12px; font-size:0.76rem; color: var(--ink-faint); }
.reviews-widget-wrap{ max-width: 1040px; margin: 0 auto; }

/* ---------------- Quote Form ---------------- */
.quote-section{ position:relative; }
.quote-wrap{
  display:grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 50px;
  align-items: flex-start;
}
@media (max-width: 900px){ .quote-wrap{ grid-template-columns: 1fr; gap: 34px; } }

.quote-info h2{ font-size: clamp(1.7rem,3.4vw,2.4rem); }
.quote-info p{ color: var(--ink-dim); margin-bottom: 26px; }
.quote-info__list{ display:flex; flex-direction:column; gap:16px; }
.quote-info__list li{ display:flex; gap:12px; align-items:flex-start; font-size:0.92rem; color: var(--ink-dim); }
.quote-info__list svg{ flex:none; width:18px; height:18px; color: var(--blue-bright); margin-top:2px; transition: transform .3s var(--ease); }
.quote-info__list li:hover svg{ transform: scale(1.2) rotate(-6deg); }

.quote-card{
  background: var(--navy);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: 0 30px 70px rgba(0,0,0,0.35);
}
.form-row{ display:grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width:560px){ .form-row{ grid-template-columns: 1fr; } }

.field{ margin-bottom: 18px; }
.field label{
  display:block;
  font-size: 0.78rem;
  font-family: var(--font-mono);
  letter-spacing: 0.05em;
  color: var(--ink-faint);
  margin-bottom: 7px;
  text-transform: uppercase;
}
.field input, .field select, .field textarea{
  width:100%;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 0.94rem;
  transition: border-color .2s, box-shadow .2s;
}
.field input::placeholder, .field textarea::placeholder{ color: var(--ink-faint); }
.field input:focus, .field select:focus, .field textarea:focus{
  outline:none;
  border-color: var(--blue-bright);
  box-shadow: 0 0 0 3px rgba(102,198,255,0.18);
}
.field textarea{ resize: vertical; min-height: 110px; }
.field select{ appearance:none; background-color: var(--navy); color: var(--white); background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2366C6FF' stroke-width='2'><path d='M6 9l6 6 6-6'/></svg>"), linear-gradient(rgba(255,255,255,0.03), rgba(255,255,255,0.03)); background-repeat:no-repeat, repeat; background-position: right 14px center, 0 0; }
.field select option{ background-color: var(--navy); color: var(--white); }

.form-note{ font-size: 0.78rem; color: var(--ink-faint); margin-top: 14px; }
.form-success{
  display:none;
  margin-top:16px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  background: rgba(102,198,255,0.1);
  border: 1px solid rgba(102,198,255,0.35);
  color: var(--blue-bright);
  font-size: 0.86rem;
}
.form-success.is-visible{ display:block; }

/* ---------------- Footer ---------------- */
.site-footer{
  background: var(--navy-deep);
  border-top: 1px solid var(--line);
  padding: 60px 0 30px;
}
.footer-top{
  display:grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
@media (max-width: 780px){ .footer-top{ grid-template-columns: 1fr; gap: 30px; } }

.footer-brand p{ color: var(--ink-dim); font-size: 0.9rem; max-width: 340px; margin-top: 14px; }
.footer-col h5{
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue-bright);
  margin-bottom: 16px;
}
.footer-col ul{ display:flex; flex-direction:column; gap:11px; }
.footer-col a, .footer-col li{ color: var(--ink-dim); font-size: 0.9rem; }
.footer-col a:hover{ color: var(--blue-bright); }

.footer-bottom{
  border-top: 1px solid var(--line);
  padding-top: 24px;
  display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap: 12px;
  font-size: 0.78rem;
  color: var(--ink-faint);
}

/* ---------------- Sticky mobile call bar ---------------- */
.sticky-call{
  position: fixed;
  left: 14px; right: 14px; bottom: 14px;
  z-index: 90;
  display:none;
  align-items:center;
  justify-content: space-between;
  gap: 10px;
  background: linear-gradient(90deg, var(--red), #ff4b52);
  border-radius: 999px;
  padding: 8px 8px 8px 20px;
  box-shadow: 0 14px 34px rgba(231,36,43,0.45);
  transform: translateY(120%);
  transition: transform .35s var(--ease);
  animation: stickyPulse 3.2s ease-in-out infinite;
}
.sticky-call.is-visible{ transform: translateY(0); }
@keyframes stickyPulse{
  0%, 100% { box-shadow: 0 14px 34px rgba(231,36,43,0.45); }
  50% { box-shadow: 0 14px 34px rgba(231,36,43,0.45), 0 0 0 8px rgba(231,36,43,0.12); }
}
@media (prefers-reduced-motion: reduce){ .sticky-call{ animation:none; } }
.sticky-call__text{ color:#fff; font-weight:600; font-size:0.92rem; }
.sticky-call__text small{ display:block; font-weight:400; font-size:0.68rem; opacity:0.85; font-family: var(--font-mono); }
.sticky-call__btn{
  background:#fff; color: var(--red);
  border-radius:999px; padding:11px 18px;
  display:flex; align-items:center; gap:8px;
  font-weight:700; font-size:0.88rem;
  white-space:nowrap;
}
.sticky-call__btn svg{ width:16px; height:16px; }

@media (max-width: 720px){
  .sticky-call{ display:flex; }
}

/* ---------------- Reveal-on-scroll ---------------- */
.reveal{
  opacity: 0;
  transform: translateY(28px) scale(0.97);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal.is-visible{ opacity:1; transform: translateY(0) scale(1); }
.reveal-stagger > *{ transition-delay: calc(var(--i, 0) * 70ms); }

/* ---------------- Split-text word reveal (headings) ---------------- */
.split-word{
  display:inline-block;
  overflow:hidden;
  vertical-align:top;
}
.split-word > span{
  display:inline-block;
  transform: translateY(115%);
  transition: transform .8s var(--ease);
  transition-delay: calc(var(--w, 0) * 55ms);
}
.split-word.is-visible > span{ transform: translateY(0); }
@media (prefers-reduced-motion: reduce){
  .split-word > span{ transform:none; transition:none; }
}

/* ---------------- Image curtain-wipe reveal ---------------- */
.wipe-reveal{
  position:relative;
  overflow:hidden;
}
.wipe-reveal::after{
  content:"";
  position:absolute; inset:0;
  background: var(--blue);
  transform-origin: right;
  transform: scaleX(0);
  z-index:2;
  pointer-events:none;
}
.wipe-reveal img{ opacity:0; }
.wipe-reveal.is-visible::after{
  animation: wipeCurtain 1s var(--ease) forwards;
}
.wipe-reveal.is-visible img{
  animation: wipeImgIn .1s linear forwards .45s;
}
@keyframes wipeCurtain{
  0%{ transform: scaleX(0); transform-origin:left; }
  50%{ transform: scaleX(1); transform-origin:left; }
  50.1%{ transform: scaleX(1); transform-origin:right; }
  100%{ transform: scaleX(0); transform-origin:right; }
}
@keyframes wipeImgIn{ to{ opacity:1; } }
@media (prefers-reduced-motion: reduce){
  .wipe-reveal::after{ display:none; }
  .wipe-reveal img{ opacity:1; animation:none; }
}

/* ---------------- Card tilt (fine-pointer devices) ---------------- */
@media (hover: hover) and (pointer: fine){
  .service-card, .gallery-item, .review-card{ transform-style: preserve-3d; }
  .tilt-active{ transition: none !important; }
}

@media (prefers-reduced-motion: reduce){
  .reveal{ opacity:1; transform:none; }
}

/* ---------------- Misc ---------------- */
.skip-link{
  position:absolute; left:-999px; top:auto;
  background: var(--blue-bright); color: var(--navy-deep);
  padding: 10px 16px; border-radius: 8px; z-index: 300;
  font-weight:600;
}
.skip-link:focus{ left: 16px; top: 16px; }

::selection{ background: var(--blue-bright); color: var(--navy-deep); }

.text-red{ color: var(--red); }
.text-blue{ color: var(--blue-bright); }
