/* =========================================================
   SHAURYA OUTSOURCING PRIVATE LIMITED — STYLESHEET (Updated for SOPL Logo)
   ========================================================= */

:root{
  /* Updated Theme Colors to match the provided Logo */
  --navy:        #8C1D18;  /* Changed from Navy to Deep Maroon (Logo Outer Ring) */
  --navy-2:      #A0221C;  /* Lighter Maroon for gradients */
  --navy-3:      #C22A1E;  /* Even Lighter Maroon/Red */
  --ink:         #1A1212;  /* Dark brown/black text */
  --bg:          #FDF6F5;  /* Slightly warm off-white background */
  --bg-alt:      #FBE9E7;  /* Light pinkish-beige for sections */
  --white:       #FFFFFF;
  
  /* Gold/Yellow from the center of the logo */
  --gold:        #FFC20E;  
  --gold-light:  #FFD85C;  
  
  /* Magenta/Pink from the laurel wreath */
  --teal:        #A8115D;  /* Changed from Teal to Magenta/Pink */
  
  --whatsapp:    #25D366;
  --muted:       #7A5A58;  /* Muted brownish text */
  --line:        rgba(140,29,24,0.10); /* Maroon tinted lines */

  --font-display: 'Sora', system-ui, sans-serif;
  --font-body:    'Manrope', system-ui, sans-serif;

  --container: 1180px;
  --radius: 14px;
  --ease: cubic-bezier(.22,.68,.28,1);
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }

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

body{
  margin:0;
  font-family:var(--font-body);
  color:var(--ink);
  background:var(--bg);
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}

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

h1,h2,h3,h4{ font-family:var(--font-display); color:var(--navy); margin:0; line-height:1.15; }

.section-inner{
  max-width:var(--container);
  margin:0 auto;
  padding:0 clamp(1.25rem, 4vw, 2.5rem);
}

.eyebrow{
  font-family:var(--font-body);
  text-transform:uppercase;
  letter-spacing:.14em;
  font-weight:700;
  font-size:.72rem;
  color:var(--gold);
  margin:0 0 .8rem;
}
.eyebrow.center{ text-align:center; }

.section-title{ font-size:clamp(1.7rem, 3.2vw, 2.5rem); font-weight:700; letter-spacing:-.01em; }
.section-title.center{ text-align:center; max-width:720px; margin-inline:auto; }
.section-sub{ color:var(--muted); max-width:560px; margin-top:.9rem; font-size:1.02rem; }
.section-sub.center{ margin-inline:auto; text-align:center; }

/* =============== BUTTONS =============== */
.btn{
  display:inline-flex; align-items:center; gap:.55rem;
  padding:.9rem 1.7rem;
  border-radius:999px;
  font-weight:700;
  font-size:.95rem;
  border:1.5px solid transparent;
  transition:transform .35s var(--ease), box-shadow .35s var(--ease), background .3s, color .3s, border-color .3s;
  white-space:nowrap;
}
.btn-primary{
  background:var(--gold);
  color:var(--navy);
  box-shadow:0 10px 24px -8px rgba(255,194,14,.55);
}
.btn-primary:hover{ transform:translateY(-3px); box-shadow:0 16px 30px -8px rgba(255,194,14,.65); }
.btn-ghost{
  background:transparent;
  border-color:rgba(255,255,255,.35);
  color:var(--white);
}
.btn-ghost:hover{ background:rgba(255,255,255,.1); border-color:rgba(255,255,255,.6); }
.btn-icon{ width:16px; height:16px; fill:currentColor; }
.btn-block{ width:100%; justify-content:center; }

/* =============== PRELOADER =============== */
.preloader{
  position:fixed; inset:0; z-index:9999;
  background:var(--navy);
  display:flex; align-items:center; justify-content:center;
  transition:opacity .6s var(--ease), visibility .6s var(--ease);
}
.preloader.done{ opacity:0; visibility:hidden; }
.preloader-mark{
  width:64px; height:64px; border-radius:18px;
  background:linear-gradient(135deg, var(--gold), var(--gold-light));
  display:flex; align-items:center; justify-content:center;
  font-family:var(--font-display); font-weight:800; font-size:1.6rem; color:var(--navy);
  animation:pulse-scale 1.1s ease-in-out infinite;
}
@keyframes pulse-scale{
  0%,100%{ transform:scale(1); }
  50%{ transform:scale(0.85); }
}

/* =============== SCROLL PROGRESS =============== */
.scroll-progress{
  position:fixed; top:0; left:0; height:3px;
  background:linear-gradient(90deg, var(--gold), var(--teal));
  width:0%; z-index:1001;
  transition:width .1s linear;
}

/* =============== HEADER =============== */
.site-header{
  position:fixed; top:0; left:0; right:0; z-index:900;
  padding:1.1rem 0;
  transition:background .4s var(--ease), padding .4s var(--ease), box-shadow .4s var(--ease);
}
.site-header.scrolled{
  background:rgba(253,246,245,.88);
  backdrop-filter:blur(14px);
  padding:.7rem 0;
  box-shadow:0 8px 30px -18px rgba(140,29,24,.35);
}
.nav-wrap{
  max-width:var(--container); margin:0 auto;
  padding:0 clamp(1.25rem, 4vw, 2.5rem);
  display:flex; align-items:center; justify-content:space-between;
}
.brand{ display:flex; align-items:center; gap:.6rem; }
.brand-mark{
  width:38px; height:38px; border-radius:10px;
  background:var(--navy);
  color:var(--gold-light);
  font-family:var(--font-display); font-weight:800; font-size:.85rem;
  display:flex; align-items:center; justify-content:center;
  flex-shrink:0;
}
.site-header:not(.scrolled) .brand-text{ color:var(--white); }
.brand-text{ font-family:var(--font-display); font-weight:600; font-size:1rem; color:var(--navy); transition:color .4s; }
.brand-text em{ font-style:normal; color:var(--gold); }

.nav-links{ display:flex; align-items:center; gap:1.9rem; }
.nav-link{
  font-weight:600; font-size:.92rem;
  color:var(--white);
  position:relative;
  padding:.3rem 0;
  transition:color .3s;
}
.site-header.scrolled .nav-link{ color:var(--ink); }
.nav-link::after{
  content:''; position:absolute; left:0; bottom:-2px; height:2px; width:0;
  background:var(--gold); transition:width .3s var(--ease);
}
.nav-link:hover::after, .nav-link.active-link::after{ width:100%; }
.nav-link:hover{ color:var(--gold); }
.nav-cta{
  background:var(--gold); color:var(--navy);
  padding:.6rem 1.3rem; border-radius:999px; font-weight:700; font-size:.88rem;
  transition:transform .3s var(--ease);
}
.nav-cta:hover{ transform:translateY(-2px); }

.hamburger{
  display:none; flex-direction:column; gap:5px;
  background:none; border:none; padding:.4rem; z-index:950;
}
.hamburger span{
  width:24px; height:2px; background:var(--white); transition:all .35s var(--ease); border-radius:2px;
}
.site-header.scrolled .hamburger span{ background:var(--ink); }
.hamburger.open span:nth-child(1){ transform:translateY(7px) rotate(45deg); background:var(--ink); }
.hamburger.open span:nth-child(2){ opacity:0; }
.hamburger.open span:nth-child(3){ transform:translateY(-7px) rotate(-45deg); background:var(--ink); }

.mobile-menu{
  position:fixed; inset:0; background:var(--navy); z-index:890;
  display:flex; flex-direction:column; align-items:center; justify-content:center; gap:1.8rem;
  transform:translateY(-100%); transition:transform .5s var(--ease);
}
.mobile-menu.open{ transform:translateY(0); }
.mobile-link{ font-family:var(--font-display); font-size:1.6rem; color:var(--white); font-weight:600; }
.mobile-link:hover{ color:var(--gold-light); }
.mobile-cta{ margin-top:1rem; background:var(--gold); color:var(--navy); padding:.9rem 1.8rem; border-radius:999px; font-weight:700; }

/* =============== HERO =============== */
.hero{
  position:relative;
  min-height:100vh;
  display:flex; flex-direction:column; justify-content:center;
  background:radial-gradient(120% 100% at 15% 0%, var(--navy-3) 0%, var(--navy) 45%, #4A0D0B 100%);
  padding:8rem clamp(1.25rem, 4vw, 2.5rem) 3rem;
  overflow:hidden;
}
.hero-bg{ position:absolute; inset:0; z-index:0; }
.grid-fade{
  position:absolute; inset:0;
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size:52px 52px;
  mask-image:radial-gradient(circle at 30% 30%, black, transparent 75%);
}
.hero-inner{
  position:relative; z-index:1;
  max-width:var(--container); margin:0 auto; width:100%;
  display:grid; grid-template-columns:1.15fr .85fr; gap:3rem; align-items:center;
}
.eyebrow{ }
.hero-copy .eyebrow{ color:var(--gold-light); }
.hero-title{ font-size:clamp(2.3rem, 5vw, 3.6rem); font-weight:800; color:var(--white); letter-spacing:-.02em; }
.hero-title span{ display:block; }
.accent-line{ color:var(--gold-light); }
.hero-sub{ color:rgba(255,255,255,.72); font-size:1.08rem; max-width:520px; margin:1.4rem 0 2rem; }
.hero-actions{ display:flex; gap:1rem; flex-wrap:wrap; }

.hero-visual{ position:relative; }
.network-svg{ width:100%; height:auto; }
.net-lines path{
  fill:none; stroke:rgba(255,216,92,.35); stroke-width:1.5; stroke-dasharray:6 8;
  animation:dash-flow 4s linear infinite;
}
@keyframes dash-flow{ to{ stroke-dashoffset:-140; } }
.net-nodes .node{ fill:var(--navy); stroke:var(--gold-light); stroke-width:2; }
.node-core{ fill:var(--gold); stroke:var(--white); }
.net-pulse{ fill:var(--gold-light); filter:drop-shadow(0 0 6px var(--gold-light)); }
.node-label{ font-family:var(--font-body); font-size:9px; font-weight:700; letter-spacing:.08em; fill:rgba(255,255,255,.55); }
.node-label-core{ fill:var(--gold-light); font-size:10px; }

.hero-stats{
  position:relative; z-index:1;
  max-width:var(--container); margin:3.5rem auto 0; width:100%;
  display:grid; grid-template-columns:repeat(4,1fr);
  border-top:1px solid rgba(255,255,255,.14);
  padding-top:2rem;
}
.stat{ text-align:center; color:var(--white); }
.stat-num, .stat-suffix{ font-family:var(--font-display); font-size:clamp(1.7rem,3vw,2.3rem); font-weight:800; color:var(--gold-light); }
.stat p{ margin:.3rem 0 0; font-size:.85rem; color:rgba(255,255,255,.62); }

.scroll-cue{
  position:absolute; bottom:1.4rem; left:50%; transform:translateX(-50%);
  width:26px; height:42px; border:2px solid rgba(255,255,255,.4); border-radius:14px;
  display:flex; justify-content:center; padding-top:7px; z-index:1;
}
.scroll-cue span{ width:4px; height:8px; background:var(--gold-light); border-radius:2px; animation:cue-drop 1.6s ease-in-out infinite; }
@keyframes cue-drop{
  0%{ opacity:1; transform:translateY(0); }
  70%{ opacity:0; transform:translateY(12px); }
  100%{ opacity:0; transform:translateY(0); }
}

/* =============== INNER PAGE HERO (About/Services/Gallery/Contact) =============== */
.page-hero{
  position:relative;
  padding:9.5rem clamp(1.25rem, 4vw, 2.5rem) 4.5rem;
  background:radial-gradient(120% 140% at 85% 0%, var(--navy-3) 0%, var(--navy) 45%, #4A0D0B 100%);
  overflow:hidden;
}
.page-hero .grid-fade{ position:absolute; inset:0; }
.page-hero-inner{ position:relative; z-index:1; max-width:var(--container); margin:0 auto; }
.breadcrumb{
  display:flex; align-items:center; gap:.5rem;
  font-size:.82rem; font-weight:600; color:rgba(255,255,255,.55);
  margin-bottom:1.1rem;
}
.breadcrumb a{ color:rgba(255,255,255,.75); transition:color .3s; }
.breadcrumb a:hover{ color:var(--gold-light); }
.page-hero-title{
  font-size:clamp(2rem, 4.2vw, 3rem); font-weight:800; color:var(--white); letter-spacing:-.01em;
}
.page-hero-sub{ color:rgba(255,255,255,.7); max-width:560px; margin-top:1rem; font-size:1.02rem; }

/* =============== ABOUT =============== */
.about{ padding:7rem 0; background:var(--white); }
.about-grid{ display:grid; grid-template-columns:.85fr 1.15fr; gap:4rem; align-items:center; }
.about-media{ position:relative; }
.about-media img{ border-radius:var(--radius); width:100%; aspect-ratio:7/8.6; object-fit:cover; box-shadow:0 30px 60px -25px rgba(140,29,24,.4); }
.about-media-tag{
  position:absolute; left:-1.2rem; bottom:-1.2rem;
  background:var(--navy); color:var(--white);
  padding:1.1rem 1.4rem; border-radius:12px;
  box-shadow:0 20px 40px -15px rgba(140,29,24,.5);
  max-width:220px;
}
.about-media-tag strong{ display:block; color:var(--gold-light); font-family:var(--font-display); font-size:1rem; }
.about-media-tag span{ font-size:.78rem; color:rgba(255,255,255,.7); }

.about-copy p{ color:var(--muted); font-size:1rem; }
.about-points{ margin:1.6rem 0 2rem; display:flex; flex-direction:column; gap:.9rem; }
.about-points li{ display:flex; align-items:center; gap:.9rem; font-weight:600; color:var(--ink); }
.point-mark{
  font-family:var(--font-display); font-size:.78rem; font-weight:800; color:var(--gold);
  width:34px; height:34px; border-radius:9px; background:var(--bg-alt);
  display:flex; align-items:center; justify-content:center; flex-shrink:0;
}

/* =============== SERVICES =============== */
.services{ padding:7rem 0; background:var(--bg); }
.services-grid{
  margin-top:3rem;
  display:grid; grid-template-columns:repeat(3, 1fr); gap:1.6rem;
}
.service-card{
  background:var(--white);
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:2rem 1.7rem;
  transition:transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s;
}
.service-card:hover{
  transform:translateY(-8px);
  box-shadow:0 26px 46px -24px rgba(140,29,24,.28);
  border-color:transparent;
}
.service-icon{
  width:54px; height:54px; border-radius:13px;
  background:linear-gradient(135deg, var(--navy), var(--navy-3));
  display:flex; align-items:center; justify-content:center; margin-bottom:1.3rem;
}
.service-icon svg{ width:26px; height:26px; fill:none; stroke:var(--gold-light); stroke-width:2.2; stroke-linecap:round; stroke-linejoin:round; }
.service-card h3{ font-size:1.12rem; margin-bottom:.6rem; }
.service-card p{ color:var(--muted); font-size:.92rem; margin:0; }

/* =============== PROCESS =============== */
.process{ padding:6.5rem 0; background:var(--white); }
.process-track{
  position:relative;
  margin-top:3.5rem;
  display:grid; grid-template-columns:repeat(4,1fr); gap:2rem;
}
.process-line{
  position:absolute; top:22px; left:0; right:0; height:2px; background:var(--line);
}
.process-line-fill{ display:block; height:100%; width:0%; background:var(--gold); transition:width 1.4s var(--ease); }
.process-step{ position:relative; padding-top:3.6rem; text-align:left; }
.step-num{
  position:absolute; top:0; left:0;
  width:46px; height:46px; border-radius:50%;
  background:var(--navy); color:var(--gold-light);
  font-family:var(--font-display); font-weight:800; font-size:.9rem;
  display:flex; align-items:center; justify-content:center;
  border:4px solid var(--white); box-shadow:0 0 0 1px var(--line);
}
.process-step h3{ font-size:1.05rem; margin-bottom:.4rem; }
.process-step p{ color:var(--muted); font-size:.9rem; margin:0; }

/* =============== GALLERY =============== */
.gallery{ padding:7rem 0; background:var(--bg-alt); }
.gallery-grid{
  margin-top:3rem;
  display:grid;
  grid-template-columns:repeat(4, 1fr);
  grid-auto-rows:130px;
  gap:.9rem;
}
.gallery-item{
  position:relative; overflow:hidden; border-radius:12px;
  cursor:pointer;
}
.gallery-item img{
  width:100%; height:100%; object-fit:cover;
  transition:transform .6s var(--ease), filter .5s;
}
.gallery-item:hover img{ transform:scale(1.09); }
.gallery-item::after{
  content:''; position:absolute; inset:0;
  background:linear-gradient(0deg, rgba(140,29,24,.75), transparent 55%);
  opacity:0; transition:opacity .4s;
}
.gallery-item:hover::after{ opacity:1; }
.gallery-caption{
  position:absolute; left:.9rem; bottom:.7rem; color:var(--white); font-size:.78rem; font-weight:600;
  opacity:0; transform:translateY(6px); transition:all .4s var(--ease); z-index:1;
}
.gallery-item:hover .gallery-caption{ opacity:1; transform:translateY(0); }

.gallery-item.tall{ grid-row:span 2; }
.gallery-item.wide{ grid-column:span 2; }

/* =============== CONTACT =============== */
.contact{ padding:7rem 0; background:var(--white); }
.contact-grid{ display:grid; grid-template-columns:.9fr 1.1fr; gap:4rem; }
.contact-list{ display:flex; flex-direction:column; gap:1.4rem; margin:2rem 0; }
.contact-list li{ display:flex; gap:1rem; align-items:flex-start; }
.contact-ic{
  width:42px; height:42px; border-radius:10px; background:var(--bg-alt); flex-shrink:0;
  display:flex; align-items:center; justify-content:center;
}
.contact-ic svg{ width:19px; height:19px; fill:none; stroke:var(--navy); stroke-width:1.8; }
.contact-list strong{ display:block; font-size:.92rem; margin-bottom:.15rem; }
.contact-list p{ margin:0; color:var(--muted); font-size:.92rem; }
.contact-list a:hover{ color:var(--gold); }

.social-row{ display:flex; gap:.7rem; }
.social-ic{
  width:40px; height:40px; border-radius:50%; background:var(--navy);
  display:flex; align-items:center; justify-content:center;
  transition:transform .3s var(--ease), background .3s;
}
.social-ic svg{ width:17px; height:17px; fill:var(--gold-light); }
.social-ic:hover{ transform:translateY(-3px); background:var(--gold); }
.social-ic:hover svg{ fill:var(--navy); }

.contact-form{
  background:var(--bg-alt); border-radius:var(--radius); padding:2.2rem;
  display:flex; flex-direction:column; gap:1.3rem;
  border:1px solid var(--line);
}
.form-row{ display:grid; grid-template-columns:1fr 1fr; gap:1.3rem; }
.field{ position:relative; }
.field input, .field select, .field textarea{
  width:100%; padding:1rem .9rem .5rem;
  border:1.5px solid var(--line); border-radius:10px;
  background:var(--white);
  font-family:var(--font-body); font-size:.95rem; color:var(--ink);
  transition:border-color .3s;
}
.field select{ padding:1rem .9rem; appearance:none; }
.field textarea{ resize:vertical; min-height:100px; }
.field input:focus, .field select:focus, .field textarea:focus{ outline:none; border-color:var(--gold); }
.field label{
  position:absolute; left:.9rem; top:1rem;
  color:var(--muted); font-size:.95rem; pointer-events:none;
  transition:all .2s var(--ease); background:var(--white); padding:0 .2rem;
}
.field input:focus + label,
.field input:not(:placeholder-shown) + label,
.field textarea:focus + label,
.field textarea:not(:placeholder-shown) + label{
  top:-.55rem; font-size:.72rem; color:var(--gold); font-weight:700;
}
.field select:invalid ~ label,
.field select:focus + label,
.field select:valid + label{
  top:-.55rem; font-size:.72rem; color:var(--gold); font-weight:700; background:var(--white);
}
.form-note{ text-align:center; font-size:.88rem; min-height:1.1rem; color:var(--teal); font-weight:600; margin:0; }

/* =============== HOME TEASERS =============== */
.teaser-head{
  display:flex; align-items:flex-end; justify-content:space-between; gap:2rem; flex-wrap:wrap;
  margin-bottom:2.5rem;
}
.teaser-head .section-title{ margin-bottom:0; }
.link-arrow{
  display:inline-flex; align-items:center; gap:.4rem;
  font-weight:700; font-size:.92rem; color:var(--navy);
  white-space:nowrap;
}
.link-arrow svg{ width:16px; height:16px; fill:none; stroke:currentColor; stroke-width:2; transition:transform .3s var(--ease); }
.link-arrow:hover{ color:var(--gold); }
.link-arrow:hover svg{ transform:translateX(4px); }

.services-teaser-grid{
  display:grid; grid-template-columns:repeat(3, 1fr); gap:1.6rem;
}

.gallery-preview-strip{
  display:grid; grid-template-columns:repeat(6, 1fr); gap:.8rem;
}
.gallery-preview-strip .gallery-item{ aspect-ratio:1/1; height:auto; }

.cta-banner{
  background:linear-gradient(120deg, var(--navy) 0%, var(--navy-3) 100%);
  border-radius:20px;
  padding:3.5rem clamp(1.5rem, 5vw, 4rem);
  display:flex; align-items:center; justify-content:space-between; gap:2rem; flex-wrap:wrap;
  position:relative; overflow:hidden;
}
.cta-banner h2{ color:var(--white); font-size:clamp(1.5rem,3vw,2.1rem); max-width:520px; }
.cta-banner p{ color:rgba(255,255,255,.68); margin-top:.6rem; max-width:480px; }

/* =============== FOOTER =============== */
.site-footer{ background:var(--navy); color:rgba(255,255,255,.72); padding:5rem 0 0; }
.footer-grid{ display:grid; grid-template-columns:1.4fr 1fr 1fr 1fr; gap:2.5rem; padding-bottom:3rem; border-bottom:1px solid rgba(255,255,255,.1); }
.footer-brand{ margin-bottom:1rem; }
.footer-grid p{ font-size:.9rem; line-height:1.7; }
.footer-grid h4{ color:var(--white); font-size:.95rem; margin-bottom:1.1rem; }
.footer-grid div > a{ display:block; font-size:.9rem; margin-bottom:.7rem; transition:color .3s; }
.footer-grid div > a:hover{ color:var(--gold-light); }
.footer-bottom{
  max-width:var(--container); margin:0 auto; padding:1.6rem clamp(1.25rem,4vw,2.5rem) 1.8rem;
  display:flex; justify-content:space-between; flex-wrap:wrap; gap:.5rem;
  font-size:.8rem; color:rgba(255,255,255,.45);
}

/* =============== FLOATING BUTTONS =============== */
.fab-stack{
  position:fixed; right:1.4rem; bottom:1.4rem; z-index:850;
  display:flex; flex-direction:column; gap:.9rem;
}
.fab{
  width:58px; height:58px; border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  box-shadow:0 14px 30px -10px rgba(140,29,24,.5);
  transition:transform .3s var(--ease);
  position:relative;
}
.fab:hover{ transform:scale(1.08); }
.fab svg{ width:27px; height:27px; fill:var(--white); }
.fab-whatsapp{ background:var(--whatsapp); }
.fab-call{ background:var(--navy); }
.fab-pulse{
  position:absolute; inset:0; border-radius:50%;
  background:var(--navy); opacity:.5;
  animation:call-pulse 2.2s ease-out infinite;
}
@keyframes call-pulse{
  0%{ transform:scale(1); opacity:.5; }
  100%{ transform:scale(1.7); opacity:0; }
}

/* =============== LIGHTBOX =============== */
.lightbox{
  position:fixed; inset:0; background:rgba(74,13,11,.94); z-index:1200;
  display:flex; align-items:center; justify-content:center;
  opacity:0; visibility:hidden; transition:opacity .35s var(--ease), visibility .35s;
}
.lightbox.open{ opacity:1; visibility:visible; }
.lightbox img{ max-width:88vw; max-height:82vh; border-radius:10px; box-shadow:0 30px 80px rgba(0,0,0,.5); }
.lightbox-close{
  position:absolute; top:1.5rem; right:1.8rem; background:none; border:none;
  color:var(--white); font-size:2.2rem; line-height:1; opacity:.8;
}
.lightbox-close:hover{ opacity:1; }
.lightbox-nav{
  position:absolute; top:50%; transform:translateY(-50%);
  background:rgba(255,255,255,.1); border:none; color:var(--white);
  width:50px; height:50px; border-radius:50%; font-size:1.8rem;
  display:flex; align-items:center; justify-content:center;
  transition:background .3s;
}
.lightbox-nav:hover{ background:rgba(255,255,255,.25); }
.lightbox-prev{ left:1.5rem; }
.lightbox-next{ right:1.5rem; }

/* =============== SCROLL REVEAL =============== */
.reveal-up{
  opacity:0; transform:translateY(28px);
  transition:opacity .8s var(--ease), transform .8s var(--ease);
  transition-delay:calc(var(--d, 0) * 90ms);
}
.reveal-up.in-view{ opacity:1; transform:translateY(0); }

/* =============== RESPONSIVE =============== */
@media (max-width:1024px){
  .hero-inner{ grid-template-columns:1fr; text-align:left; }
  .hero-visual{ max-width:320px; margin-top:1rem; }
  .about-grid, .contact-grid{ grid-template-columns:1fr; gap:3rem; }
  .about-media{ max-width:420px; }
  .services-grid, .services-teaser-grid{ grid-template-columns:repeat(2, 1fr); }
  .process-track{ grid-template-columns:repeat(2, 1fr); row-gap:3rem; }
  .process-line{ display:none; }
  .footer-grid{ grid-template-columns:1fr 1fr; }
  .gallery-preview-strip{ grid-template-columns:repeat(3, 1fr); }
}

@media (max-width:860px){
  .nav-links{ display:none; }
  .hamburger{ display:flex; }
  .hero-stats{ grid-template-columns:repeat(2,1fr); row-gap:1.8rem; }
  .gallery-grid{ grid-template-columns:repeat(3, 1fr); grid-auto-rows:110px; }
}

@media (max-width:640px){
  .hero{ padding-top:7rem; }
  .hero-title{ font-size:2rem; }
  .hero-actions{ flex-direction:column; align-items:stretch; }
  .hero-actions .btn{ justify-content:center; }
  .services-grid, .services-teaser-grid{ grid-template-columns:1fr; }
  .process-track{ grid-template-columns:1fr; }
  .form-row{ grid-template-columns:1fr; }
  .gallery-grid{ grid-template-columns:repeat(2, 1fr); grid-auto-rows:130px; }
  .gallery-item.wide{ grid-column:span 1; }
  .gallery-preview-strip{ grid-template-columns:repeat(2, 1fr); }
  .footer-grid{ grid-template-columns:1fr; }
  .fab{ width:52px; height:52px; }
  .fab svg{ width:24px; height:24px; }
  .about-media-tag{ position:static; margin-top:1rem; max-width:none; }
  .page-hero{ padding-top:7.5rem; }
  .cta-banner{ padding:2.5rem 1.5rem; }
}
