
:root{
  --primary:#e50a0a;
  --secondary:#FB9F38;
  --light:#F5F8F2;
  --dark:#252C30;

  /* make Bootstrap use your red */
  --bs-primary: var(--primary);
  --bs-primary-rgb: 229,10,10;
  --bs-link-color: var(--primary);
  --bs-link-hover-color: #c40909;
  --bs-focus-ring-color: rgba(229,10,10,.25);

  /* native control accents + caret */
  accent-color: var(--primary);
  caret-color: var(--primary);
}

*{box-sizing:border-box}

body{
  font-family:'Poppins',system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Arial,sans-serif;
  color:var(--dark);
}

.bg-dark{background:#1c1f22!important}
.navbar .navbar-brand{letter-spacing:.2px}
.navbar .nav-link{font-weight:600;opacity:.85}
.navbar .nav-link:hover, .navbar .nav-link.active{opacity:1;color:var(--secondary)!important}

/* Fixed-height navbar; logo anchored to viewport left with overhang */
.navbar{
  overflow: visible;
  --navbar-h: 56px;          
  --logo-left: 40px;         
  --brand-logo-w: 130px;     
  --brand-logo-h: 130px;     
  --brand-overhang: 40px;    
  --brand-gap: 20px;          
}

/* Push all navbar contents right so they don't collide with the fixed logo */
.navbar > .container{
  padding-left: calc(var(--logo-left) + var(--brand-logo-w) + var(--brand-gap));
}

/* Your existing brand block can stay as-is */
.navbar-brand.brand-has-overhang{
  position: relative;
  display: flex;
  align-items: center;
  min-height: var(--navbar-h);
  padding-left: calc(var(--brand-logo-w) + var(--brand-gap));
}

/* ANCHOR THE LOGO TO THE VIEWPORT LEFT */
.brand-logo-abs{
  position: fixed;  /* key change: fixed to viewport, not to the brand container */
  left: calc(env(safe-area-inset-left) + var(--logo-left));
  top: calc(var(--navbar-h) / 2);
  height: var(--brand-logo-h);
  width: auto;
  transform: translateY(calc(-50% + var(--brand-overhang))); /* hangs below the bar */
  filter: drop-shadow(0 8px 18px rgba(0,0,0,.18));
  z-index: 1001;
}

/* Mobile tweaks */
@media (max-width: 420px){
  .navbar{
    --logo-left: 16px;
    --brand-logo-w: 96px;
    --brand-logo-h: 96px;
    --brand-overhang: 8px;
    --brand-gap: 6px;
  }
}

.hero{
  min-height: 85vh;
  background:url('../img/hero.jpg') center/cover no-repeat fixed;
  position:relative;
  padding-top:96px;
}
.hero .overlay{
  position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,.55),rgba(0,0,0,.35));
}
.hero .container{z-index:1}
.tracking-wide{letter-spacing:.12em}

.page-header{
  margin-top:56px;
  background:url('../img/header.jpg') center/cover no-repeat fixed;
  position:relative;
}
.page-header .overlay{position:absolute;inset:0;background:rgba(0,0,0,.5)}
.page-header .container{z-index:1}

.btn-primary{background:var(--primary);border-color:var(--primary)}
.btn-primary:hover{filter:brightness(.95)}
.text-secondary{color:var(--secondary)!important}
.rounded-4{border-radius:1rem}
.rounded-3{border-radius:.75rem}
.shadow-sm{box-shadow:0 .25rem .75rem rgba(0,0,0,.08)!important}

.footer h5,.footer h6{color:#fff}
.footer .opacity-75{color:rgba(255,255,255,.75)!important}

.gallery-grid .polaroid{
  background:#fff;
  border-radius:12px;
  padding:12px 12px 56px; /* bottom space = caption area */
  box-shadow:0 8px 30px rgba(0,0,0,.08);
  position:relative;
}
.polaroid .frame{
  border-radius:8px;
  overflow:hidden;
  background:#f2f2f2;
  aspect-ratio:4/3;          /* consistent tiles */
}
.polaroid img{
  width:100%; height:100%;
  object-fit:cover; display:block;
  transition: transform .25s ease;
}
.polaroid:hover img{ transform:scale(1.03); }
.polaroid .caption{
  position:absolute; left:12px; right:12px; bottom:12px;
  text-align:center; color:#444; font-size:.92rem;
}

/* Section heading accent */
.section-title { position: relative; }
.section-title::after{
  content:""; position:absolute; left:0; bottom:-10px; width:64px; height:4px;
  background: var(--primary); border-radius: 999px;
}

/* Feature list with icons */
.feature-list {
  display: flex;
  flex-direction: column;   /* stack items vertically */
  align-items: center;      /* center items horizontally */
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Icon + text as a centered row */
.feature-item {
  display: inline-flex;     /* shrink to content so centering works nicely */
  gap: .75rem;
  align-items: center;
  margin-bottom: .75rem;
}

.feature-item i {
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--primary);
  margin-top: .15rem;
}

/* “Why choose us” card polish */
.reason-card { border:1px solid rgba(0,0,0,.07); box-shadow: 0 10px 24px rgba(0,0,0,.06); }

/* Subtle hover for cards below */
.card.lift { transition: transform .2s ease, box-shadow .2s ease; }
.card.lift:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(0,0,0,.12); }

/* Lightbox */
.lightbox-stage{
  width:100%;
  height:min(80vh, 100dvh - 140px); /* stay inside viewport */
  display:flex; align-items:center; justify-content:center;
  background:#000;
}
#lightboxImage{
  max-width:100%; max-height:100%;
  width:auto; height:auto; display:block;
}

/* Full-width map sizing */
.map-embed { min-height: 45vh; }            /* desktop */
@media (max-width: 768px){
  .map-embed { min-height: 55vh; }          /* mobile */
}

/* Right-align burger menu links on mobile */
@media (max-width: 768px) {
  .navbar-nav.ms-lg-auto.mb-2.mb-lg-0 {
    text-align: right;
  }
  .navbar-nav.ms-lg-auto.mb-2.mb-lg-0 li {
    display: flex;
    justify-content: flex-end;
  }
  .navbar-nav.ms-lg-auto.mb-2.mb-lg-0 a {
    display: inline-block;
    text-align: right;
  }
}

.map-embed + .text-end { display: none !important; }

.process-flow .step {
  position: relative;
  z-index: 1; /* make the step (icon and text) sit above the line */
}

.process-flow .icon-wrap {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background-color: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  font-size: 1.5rem;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  position: relative;
  z-index: 2; /* ensure icon circle sits above the connecting line */
}

/* Connector line for large screens */
@media (min-width: 992px) {
  .process-flow::before {
    content: "";
    position: absolute;
    top: 35px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: var(--bs-gray-400);
    z-index: 0; /* behind everything */
  }
}

/* Hero video background */
.hero {
  position: relative;
  min-height: 70vh;           /* tweak to taste */
  overflow: hidden;
}

.hero .overlay {
  position: absolute;
  inset: 0;
  /* keep your existing overlay color/gradient if you have one */
  background: rgba(0,0,0,.35);
  z-index: 1;
}

.hero .container {
  position: relative;
  z-index: 2;                 /* above video + overlay */
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;          /* fill without distortion */
  z-index: 0;
  pointer-events: none;       /* clicks go to buttons/links */
}

/* Respect user preferences */
@media (prefers-reduced-motion: reduce) {
  .hero-video { display: none; }
}

.hero .hero-fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero {
  position: relative;
  width: 100%;
  height: 100vh;          /* full viewport height */
  min-height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* Ensure the background video covers everything */
.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

/* Overlay for darkening video if needed */
.hero .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5); /* adjust darkness */
  z-index: 1;
}

/* Ensure content stays above video */
.hero .container {
  position: relative;
  z-index: 2;
}

/* Text selection */
::selection{ background: var(--primary); color:#fff; }
::-moz-selection{ background: var(--primary); color:#fff; }

/* Form focus ring/border */
.form-control:focus,
.form-select:focus{
  border-color: var(--primary);
  /* modern browsers */
  box-shadow: 0 0 0 .25rem color-mix(in srgb, var(--primary) 25%, transparent);
}
/* fallback if color-mix unsupported */
@supports not (color: color-mix(in srgb, red 0%, red 0%)){
  .form-control:focus,
  .form-select:focus{
    box-shadow: 0 0 0 .25rem rgba(229,10,10,.25);
  }
}

/* iOS tap highlight */
a, button { -webkit-tap-highlight-color: rgba(229,10,10,.25); }

/* Optional: outline variant to match your red */
.btn-outline-primary{
  color: var(--primary);
  border-color: var(--primary);
}
.btn-outline-primary:hover{
  background: var(--primary);
  border-color: var(--primary);
  color:#fff;
}

/* Make Bootstrap's "primary-subtle" palette use your red */
:root{
  --bs-primary: var(--primary);
  --bs-primary-rgb: 229,10,10;

  /* override the fixed blue subtle tones */
  --bs-primary-bg-subtle: color-mix(in srgb, var(--primary) 14%, white);
  --bs-primary-border-subtle: color-mix(in srgb, var(--primary) 35%, white);
  --bs-primary-text-emphasis: color-mix(in srgb, var(--primary) 45%, black);
}

/* Fallback if color-mix isn't supported */
@supports not (color: color-mix(in srgb, red 0%, red 0%)){
  :root{
    --bs-primary-bg-subtle: #fde1df;     /* light red */
    --bs-primary-border-subtle: #f5b3ad; /* mid red */
    --bs-primary-text-emphasis: #7a0a0a; /* dark red */
  }
}

/* Accordion: use those variables + red focus */
#faqs .accordion{
  --bs-accordion-active-bg: var(--bs-primary-bg-subtle);
  --bs-accordion-active-color: var(--primary);
  --bs-accordion-btn-focus-border-color: var(--primary);
  --bs-accordion-btn-focus-box-shadow: 0 0 0 .25rem rgba(229,10,10,.25);
}

/* ==== Buttons: make all primary states use your red ==== */
.btn-primary{
  --bs-btn-color: #fff;
  --bs-btn-bg: var(--primary);
  --bs-btn-border-color: var(--primary);
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: color-mix(in srgb, var(--primary) 88%, black);      /* a bit darker */
  --bs-btn-hover-border-color: color-mix(in srgb, var(--primary) 80%, black);
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: color-mix(in srgb, var(--primary) 78%, black);
  --bs-btn-active-border-color: color-mix(in srgb, var(--primary) 70%, black);
  --bs-btn-focus-shadow-rgb: 229,10,10; /* red focus ring */
}
/* Fallback if color-mix not supported */
@supports not (color: color-mix(in srgb, red 0%, red 0%)){
  .btn-primary{
    --bs-btn-hover-bg:#c40909;
    --bs-btn-hover-border-color:#b50909;
    --bs-btn-active-bg:#a40808;
    --bs-btn-active-border-color:#930808;
  }
}

/* Outline variant to match */
.btn-outline-primary{
  --bs-btn-color: var(--primary);
  --bs-btn-border-color: var(--primary);
  --bs-btn-hover-color:#fff;
  --bs-btn-hover-bg: var(--primary);
  --bs-btn-hover-border-color: var(--primary);
  --bs-btn-focus-shadow-rgb: 229,10,10;
}

/* Global button focus ring in red */
.btn:focus-visible{
  box-shadow: 0 0 0 .25rem rgba(229,10,10,.25);
}

/* Make Leaflet text use your site font */
.leaflet-container { font-family: inherit; }

/* Ensure full-bleed section truly touches edges */
#serviceAreaMap { display:block; width:100%; }

/* equal height helper: make col children stretch */
.equal-cols > [class*="col-"]{ display:flex; }
.equal-cols > [class*="col-"] > *{ width:100%; }

/* reveal on view */
.reveal{
  opacity:0;
  transform: translateY(10px) scale(.98);
  transition: transform .45s cubic-bezier(.2,.7,.2,1), opacity .45s ease-out;
  transition-delay: calc(var(--i,0) * .08s);
  will-change: transform, opacity;
}
.reveal.show{
  opacity:1;
  transform:none;
}

.leaflet-container{ font-family: inherit; }

/* Make guard look clickable and keep it above tiles */
#service-area .map-guard{
  z-index: 500;
  cursor: pointer;
}

/* Bigger, on-brand chips */
.badges-lg .badge{
  font-size: .95rem;
  padding: .55rem .75rem;
  border-radius: 999px;
  background: color-mix(in srgb, var(--primary) 8%, white);
  border: 1px solid color-mix(in srgb, var(--primary) 22%, white);
}
.badges-lg .badge .bi{
  font-size: 1.1rem;
  margin-top: -.05rem;
  color: var(--primary);
}

/* Fallback if color-mix unsupported */
@supports not (color: color-mix(in srgb, red 0%, red 0%)){
  .badges-lg .badge{
    background: #fde1df;             /* light red */
    border-color: #f5b3ad;           /* mid red */
  }
  .badges-lg .badge .bi{ color: var(--primary); }
}

/* Star styling + pop-in animation */
#testimonials .t-stars .t-star{
  display:inline-block;
  color: var(--primary);
  font-size: 1.25rem;
  letter-spacing: .05em;
  margin-right: .05rem;

  /* start hidden */
  opacity: 0;
  transform: translateY(6px) scale(.6) rotate(-8deg);
}

#testimonials .t-stars.in .t-star{
  animation: star-pop .38s cubic-bezier(.2,.7,.2,1) forwards;
}
#testimonials .t-stars.in .t-star:nth-child(1){ animation-delay: 0s; }
#testimonials .t-stars.in .t-star:nth-child(2){ animation-delay: .08s; }
#testimonials .t-stars.in .t-star:nth-child(3){ animation-delay: .16s; }
#testimonials .t-stars.in .t-star:nth-child(4){ animation-delay: .24s; }
#testimonials .t-stars.in .t-star:nth-child(5){ animation-delay: .32s; }

@keyframes star-pop{
  0%   { opacity:0; transform: translateY(6px) scale(.6) rotate(-8deg); filter: blur(1px); }
  60%  { opacity:1; transform: translateY(0) scale(1.18) rotate(0); filter: none; }
  100% { opacity:1; transform: translateY(0) scale(1); }
}

/* Accordion chevrons follow text color; rotation handled by Bootstrap */
#faqs .accordion{
  --bs-accordion-btn-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5'%3E%3Cpath d='M2 5l6 6 6-6'/%3E%3C/svg%3E");
  --bs-accordion-btn-active-icon: var(--bs-accordion-btn-icon); /* same icon */
  --bs-accordion-active-color: var(--primary);
  --bs-accordion-active-bg: var(--bs-primary-bg-subtle);
  --bs-accordion-btn-focus-border-color: var(--primary);
  --bs-accordion-btn-focus-box-shadow: 0 0 0 .25rem rgba(229,10,10,.25);
}

#trustCard .t-stars,
#testimonials .t-stars{
  display: inline-flex;
  gap: .28rem;              /* consistent spacing */
  align-items: center;
  vertical-align: middle;
}

#trustCard .t-stars .t-star,
#testimonials .t-stars .t-star{
  position: relative;
  top: -1px;               /* nudge up: try -1px to -3px */
  letter-spacing: 0;       /* kill font kerning effects */
  margin: 0;               /* remove old margin-right */
  width: 1.25rem;          /* equal box for each star */
  text-align: center;
  line-height: 1;
  transform-origin: center;/* keeps the pop animation centered */
}

  /* Pop-in for gallery tiles */
  #homeGallery .g-reveal{
    opacity: 0;
    transform: translateY(14px) scale(.98);
    transition: transform .5s cubic-bezier(.2,.7,.2,1), opacity .5s ease-out;
    transition-delay: calc(var(--i, 0) * .06s);
    will-change: transform, opacity;
  }
  #homeGallery .g-reveal.show{
    opacity: 1;
    transform: none;
  }
  
  /* Make outline-primary use your brand red in all states */
.btn-outline-primary{
  --bs-btn-color: var(--primary);
  --bs-btn-border-color: var(--primary);

  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: var(--primary);
  --bs-btn-hover-border-color: var(--primary);

  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: var(--primary);
  --bs-btn-active-border-color: var(--primary);

  /* Red focus ring instead of Bootstrap blue */
  --bs-btn-focus-shadow-rgb: 229,10,10; /* #e50a0a */
}

/* (Optional) match solid .btn-primary too, so it never flashes blue */
.btn-primary{
  --bs-btn-bg: var(--primary);
  --bs-btn-border-color: var(--primary);
  --bs-btn-hover-bg: color-mix(in srgb, var(--primary) 92%, black);
  --bs-btn-hover-border-color: color-mix(in srgb, var(--primary) 92%, black);
  --bs-btn-active-bg: color-mix(in srgb, var(--primary) 88%, black);
  --bs-btn-active-border-color: color-mix(in srgb, var(--primary) 88%, black);
  --bs-btn-focus-shadow-rgb: 229,10,10;
}

/* Fallback if color-mix() isn't supported */
@supports not (color: color-mix(in srgb, red 0%, red 0%)){
  .btn-primary:hover,
  .btn-primary:active{ background-color:#c40a0a; border-color:#c40a0a; }
}

  /* Gallery pop-in on page load */
  #galleryGrid .g-reveal{
    opacity: 0;
    transform: translateY(14px) scale(.98);
    transition: transform .5s cubic-bezier(.2,.7,.2,1), opacity .5s ease-out;
    transition-delay: calc(var(--i, 0) * .06s);
    will-change: transform, opacity;
  }
  #galleryGrid .g-reveal.show{
    opacity: 1;
    transform: none;
  }

  @media (prefers-reduced-motion: reduce){
    #galleryGrid .g-reveal{ transition: none; opacity: 1; transform: none; }
  }

/* Use the existing .polaroid .frame box */
.polaroid .frame{ position:relative; }
.tile-video{
  width:100%; height:100%; object-fit:cover; display:block;
  pointer-events:none;        /* click goes to the <a> */
}
.play-badge{
  position:absolute; inset:auto; left:50%; top:50%;
  transform:translate(-50%,-50%);
  background:rgba(0,0,0,.55); color:#fff; font-size:1.75rem;
  line-height:1; padding:.5rem .7rem; border-radius:.75rem;
  box-shadow:0 6px 16px rgba(0,0,0,.25);
}
.polaroid:hover .play-badge{ background:rgba(0,0,0,.7); }

.polaroid .frame{ position:relative; }
.tile-video{ width:100%; height:100%; object-fit:cover; display:block; pointer-events:none; }
.play-badge{
  position:absolute; left:50%; top:50%; transform:translate(-50%,-50%);
  background:rgba(0,0,0,.55); color:#fff; font-size:1.75rem;
  padding:.5rem .7rem; border-radius:.75rem; box-shadow:0 6px 16px rgba(0,0,0,.25);
}
.polaroid:hover .play-badge{ background:rgba(0,0,0,.7); }

/* lightbox basics */
.lb-overlay{position:fixed; inset:0; background:rgba(0,0,0,.92); display:grid; place-items:center; z-index:1050}
.lb-content{position:relative; max-width:90vw; max-height:80vh}
.lb-content img,.lb-content video{max-width:100%; max-height:80vh; display:block}
.lb-close{position:absolute; top:12px; right:16px; font-size:32px; background:transparent; border:0; color:#fff; cursor:pointer}
.lb-caption{position:absolute; left:20px; right:20px; bottom:16px; color:#d5d6d7; font-size:.95rem}

/* modal play overlay (gesture-required) */
.lb-play{
  position:absolute; left:50%; top:50%; transform:translate(-50%,-50%);
  background:rgba(0,0,0,.55); color:#fff; font-size:2rem;
  border:0; padding:.7rem 1rem; border-radius:.8rem; cursor:pointer;
}
.lb-play:hover{ background:rgba(0,0,0,.75); }

.video-card{
  display:block; text-decoration:none; color:inherit;
  border-radius:12px; background:#fff; box-shadow:0 8px 30px rgba(0,0,0,.08);
  overflow:hidden; transition:transform .2s ease, box-shadow .2s ease;
}
.video-card:hover{ transform:translateY(-2px); box-shadow:0 12px 28px rgba(0,0,0,.12); }

.video-thumb{ position:relative; aspect-ratio:4/3; background:#111; overflow:hidden; }
.video-thumb img{ width:100%; height:100%; object-fit:cover; display:block; }
.play-badge{
  position:absolute; left:50%; top:50%; transform:translate(-50%,-50%);
  background:rgba(0,0,0,.55); color:#fff; font-size:1.8rem;
  padding:.5rem .75rem; border-radius:.75rem; box-shadow:0 6px 16px rgba(0,0,0,.25);
}
.video-card:hover .play-badge{ background:rgba(0,0,0,.75); }

.video-caption{ padding:.75rem .9rem; font-weight:600; font-size:.95rem; }

#videos .video-card{ max-width: 560px; }       /* tweak: 480–640px if you prefer */
#videos .video-thumb{ aspect-ratio: 16/9; }    /* optional; remove if you want 4:3 */

.section-title.no-underline::after,
.section-title.no-underline.text-center::after,
.section-title.no-underline.text-end::after{
  content: none !important;
  display: none !important;
}

/* Make video tiles match polaroid footprint */
#videos .video-card{ width:100% !important; max-width:none !important; }
#videos .video-thumb{ aspect-ratio:4/3 !important; }
#videos .video-thumb img{ width:100%; height:100%; object-fit:cover; display:block; }

/* Keep play icon centered and scoped */
#videos .video-thumb .play-badge{
  position:absolute; left:50%; top:50%; transform:translate(-50%,-50%);
  background:rgba(0,0,0,.55); color:#fff; font-size:1.35rem;
  line-height:1; padding:.45rem .6rem; border-radius:.75rem;
  box-shadow:0 6px 16px rgba(0,0,0,.25); pointer-events:none; z-index:2;
}
#videos .video-card:hover .play-badge{ background:rgba(0,0,0,.75); }

/* Center the video in the modal (portrait-safe) */
#videoModal .modal-dialog{ max-width:min(1000px,96vw); margin:1rem auto; }
#videoModal .modal-body{ display:grid; place-items:center; background:#000; padding:0; }
#videoModal .modal-video{
  display:block; width:auto; height:auto; max-width:92vw; max-height:82vh; object-fit:contain; margin:0 auto;
}
@supports (max-height:82dvh){ #videoModal .modal-video{ max-height:82dvh; } }

/* Make sure play icon sits correctly on polaroid frames */
.polaroid .frame { position: relative; }
.polaroid .frame .play-badge{
  position:absolute; left:50%; top:50%; transform:translate(-50%,-50%);
  background:rgba(0,0,0,.55); color:#fff; font-size:1.35rem;
  line-height:1; padding:.45rem .6rem; border-radius:.75rem;
  box-shadow:0 6px 16px rgba(0,0,0,.25); pointer-events:none; z-index:2;
}
.polaroid:hover .frame .play-badge{ background:rgba(0,0,0,.75); }

/* Video in modal: rounded, contained, centered */
#videoModal .modal-body{ display:grid; place-items:center; background:#000; }
#videoModal .modal-video{
  display:block; width:auto; height:auto; max-width:92vw; max-height:82vh;
  object-fit:contain; border-radius:12px; outline:1px solid rgba(255,255,255,.06);
}
@supports (max-height:82dvh){ #videoModal .modal-video{ max-height:82dvh; } }

/* Staggered pop-in */
#process-steps .step{
  opacity: 0;
  transform: translateY(12px) scale(0.98);
  will-change: transform, opacity;
}
#process-steps .step.is-in{
  animation: step-pop-in 520ms cubic-bezier(.2,.7,.2,1) forwards;
  animation-delay: calc(var(--idx) * 120ms); /* stagger */
}
@keyframes step-pop-in{
  from { opacity: 0; transform: translateY(12px) scale(0.96); }
  to   { opacity: 1; transform: translateY(0)    scale(1); }
}
/* Respect reduced motion */
@media (prefers-reduced-motion: reduce){
  #process-steps .step{ opacity: 1; transform: none; animation: none !important; }
}

/* gallery reveal */
.gallery-grid .g-reveal {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .35s ease, transform .35s ease;
  /* stagger per index set via --i */
  transition-delay: calc(var(--i, 0) * 70ms);
  will-change: opacity, transform;
}
.gallery-grid .g-reveal.show {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .gallery-grid .g-reveal { transition: none; }
}

.icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--primary) 12%, white);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  transition: all 0.25s ease;
}

.icon-wrap:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}

.contact-link {
  color: var(--primary);
  font-weight: 500;
}

.contact-link:hover {
  text-decoration: underline;
}



