/* ==========================================================================
   5Star Plumbing Rapid — Site Stylesheet
   Palette: Navy #0a2540 / Deep Navy #071527 / Red #e2231a / Gold #ffb100
   ========================================================================== */

:root{
  --navy: #0a2540;
  --navy-deep: #071527;
  --navy-light: #12335c;
  --red: #e2231a;
  --red-dark: #b81811;
  --gold: #ffb400;
  --gold-light: #ffd166;
  --white: #ffffff;
  --off-white: #f5f7fa;
  --gray-100: #eef1f6;
  --gray-300: #cfd6e2;
  --gray-500: #6b7789;
  --gray-700: #37424f;
  --shadow-sm: 0 2px 8px rgba(7,21,39,.08);
  --shadow-md: 0 8px 24px rgba(7,21,39,.14);
  --shadow-lg: 0 20px 50px rgba(7,21,39,.22);
  --radius: 14px;
  --radius-sm: 8px;
  --container: 1180px;
  --ff-head: 'Poppins', 'Segoe UI', Arial, sans-serif;
  --ff-body: 'Inter', 'Segoe UI', Arial, sans-serif;
}

*,*::before,*::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin:0;
  font-family: var(--ff-body);
  color: var(--gray-700);
  background: var(--white);
  line-height:1.65;
  -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; }
h1,h2,h3,h4{ font-family: var(--ff-head); color: var(--navy); margin:0 0 .5em; line-height:1.2; font-weight:700; }
p{ margin:0 0 1em; }
.container{ max-width: var(--container); margin:0 auto; padding:0 24px; }
section{ position:relative; }
.sr-only{ position:absolute; width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0; }

/* ---------- Utility ---------- */
.eyebrow{
  display:inline-flex; align-items:center; gap:8px;
  font-family: var(--ff-head); font-weight:700; font-size:.78rem;
  letter-spacing:.14em; text-transform:uppercase; color: var(--red);
  margin-bottom:14px;
}
.eyebrow::before{ content:''; width:28px; height:3px; background: var(--gold); border-radius:2px; }
.section-head{ max-width:680px; margin:0 auto 48px; text-align:center; }
.section-head h2{ font-size: clamp(1.7rem, 3.2vw, 2.5rem); }
.section-head p{ color: var(--gray-500); font-size:1.05rem; }
.section-head.left{ margin:0 0 40px; text-align:left; }
.pad{ padding: 88px 0; }
.pad-sm{ padding: 56px 0; }
.bg-off{ background: var(--off-white); }
.bg-navy{ background: linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%); color:#dbe4f2; }
.bg-navy h2, .bg-navy h3{ color:#fff; }
.text-center{ text-align:center; }

/* diagonal divider */
.diagonal-top{ clip-path: polygon(0 0,100% 0,100% 100%,0 100%); }
.wave-divider{ display:block; width:100%; height:60px; margin-top:-2px; }

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:10px;
  font-family: var(--ff-head); font-weight:600; font-size:.95rem;
  padding:15px 30px; border-radius:50px; border:2px solid transparent;
  cursor:pointer; transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
  white-space:nowrap;
}
.btn:hover{ transform: translateY(-3px); }
.btn-red{ background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%); color:#fff; box-shadow: 0 10px 24px rgba(226,35,26,.35); }
.btn-red:hover{ box-shadow: 0 16px 32px rgba(226,35,26,.45); }
.btn-gold{ background: linear-gradient(135deg, var(--gold) 0%, #f39200 100%); color: var(--navy-deep); box-shadow: 0 10px 24px rgba(255,180,0,.35); }
.btn-outline{ background: transparent; border-color: rgba(255,255,255,.55); color:#fff; }
.btn-outline:hover{ background: rgba(255,255,255,.12); border-color:#fff; }
.btn-outline-navy{ background:transparent; border-color: var(--navy); color: var(--navy); }
.btn-outline-navy:hover{ background: var(--navy); color:#fff; }
.btn-block{ width:100%; }
.btn-sm{ padding:10px 20px; font-size:.85rem; }
.btn-group{ display:flex; flex-wrap:wrap; gap:14px; }

/* ---------- Top bar ---------- */
.topbar{
  background: var(--navy-deep); color:#c7d2e3; font-size:.82rem;
}
.topbar .container{ display:flex; align-items:center; justify-content:space-between; padding:8px 24px; gap:16px; flex-wrap:wrap; }
.topbar-left{ display:flex; gap:22px; flex-wrap:wrap; }
.topbar a{ color:#c7d2e3; transition:color .15s; }
.topbar a:hover{ color: var(--gold); }
.topbar-item{ display:inline-flex; align-items:center; gap:6px; }
.topbar-item svg{ width:14px; height:14px; flex:none; }
.stars-mini{ display:inline-flex; gap:2px; color: var(--gold); }
.stars-mini svg{ width:12px; height:12px; }

/* ---------- Header / Nav ---------- */
.site-header{
  position:sticky; top:0; z-index:1000; background:#fff;
  box-shadow: 0 2px 14px rgba(7,21,39,.08);
  transition: box-shadow .2s ease;
}
.site-header.scrolled{ box-shadow: 0 6px 22px rgba(7,21,39,.14); }
.nav-wrap{ display:flex; align-items:center; justify-content:space-between; padding:14px 24px; gap:24px; }
.brand{ display:flex; align-items:center; gap:12px; flex:none; }
.brand .logo-mark{ width:52px; height:52px; flex:none; }
.brand-text{ display:flex; flex-direction:column; line-height:1.1; }
.brand-text .b1{ font-family: var(--ff-head); font-weight:800; font-size:1.28rem; color:var(--navy); letter-spacing:-.01em; }
.brand-text .b1 span{ color: var(--red); }
.brand-text .b2{ font-family: var(--ff-head); font-weight:600; font-size:.62rem; letter-spacing:.16em; text-transform:uppercase; color: var(--gray-500); margin-top:2px; }

.main-nav{ display:flex; align-items:center; gap:2px; }
.main-nav > ul{ display:flex; align-items:center; gap:2px; }
.main-nav a.nav-link{
  display:flex; align-items:center; gap:6px; padding:12px 16px; font-family: var(--ff-head);
  font-weight:600; font-size:.94rem; color: var(--navy); border-radius:8px; transition: color .15s, background .15s;
}
.main-nav a.nav-link:hover, .main-nav .has-dropdown:hover > a.nav-link, .main-nav a.nav-link.active{ color: var(--red); background: var(--off-white); }
.main-nav .has-dropdown{ position:relative; }
.main-nav .caret{ width:9px; height:9px; transition: transform .18s; }
.main-nav .has-dropdown:hover .caret{ transform: rotate(180deg); }
.dropdown{
  position:absolute; top:100%; left:0; min-width:280px; background:#fff; border-radius:12px;
  box-shadow: var(--shadow-lg); padding:10px; opacity:0; visibility:hidden; transform: translateY(8px);
  transition: opacity .18s, transform .18s, visibility .18s; border-top:3px solid var(--red);
}
.has-dropdown:hover .dropdown{ opacity:1; visibility:visible; transform: translateY(0); }
.dropdown a{ display:flex; align-items:center; gap:12px; padding:11px 12px; border-radius:8px; font-size:.9rem; font-weight:600; color: var(--navy); }
.dropdown a:hover{ background: var(--off-white); color: var(--red); }
.dropdown a svg{ width:20px; height:20px; flex:none; color: var(--red); }
.dropdown .dd-all{ margin-top:4px; padding-top:12px; border-top:1px solid var(--gray-100); font-size:.82rem; color:var(--red); justify-content:center; }

.nav-cta{ display:flex; align-items:center; gap:14px; flex:none; }
.nav-cta .call-btn{ display:flex; flex-direction:column; align-items:flex-end; line-height:1.15; }
.nav-cta .call-btn .lbl{ font-size:.7rem; color: var(--gray-500); font-weight:600; text-transform:uppercase; letter-spacing:.06em; }
.nav-cta .call-btn .num{ font-family: var(--ff-head); font-weight:800; color: var(--navy); font-size:1.02rem; }
.nav-cta .call-btn:hover .num{ color: var(--red); }

.hamburger{ display:none; flex-direction:column; gap:5px; background:none; border:none; cursor:pointer; padding:8px; }
.hamburger span{ width:26px; height:3px; background: var(--navy); border-radius:2px; transition: all .25s; }
.hamburger.open span:nth-child(1){ transform: translateY(8px) rotate(45deg); }
.hamburger.open span:nth-child(2){ opacity:0; }
.hamburger.open span:nth-child(3){ transform: translateY(-8px) rotate(-45deg); }

/* ---------- Mobile nav ---------- */
@media (max-width: 980px){
  .main-nav{ position:fixed; inset:0 0 0 auto; width:min(340px,86vw); height:100vh; background:#fff;
    flex-direction:column; align-items:stretch; padding:90px 20px 30px; transform: translateX(100%);
    transition: transform .3s ease; box-shadow: -10px 0 40px rgba(0,0,0,.18); overflow-y:auto; z-index:999; }
  .main-nav.open{ transform: translateX(0); }
  .main-nav > ul{ flex-direction:column; align-items:stretch; gap:4px; }
  .main-nav a.nav-link{ padding:14px 12px; font-size:1.05rem; justify-content:space-between; }
  .dropdown{ position:static; opacity:1; visibility:visible; transform:none; box-shadow:none; display:none;
    border-top:none; border-left:2px solid var(--gray-100); margin:0 0 6px 12px; padding:4px 0 4px 10px; }
  .has-dropdown.open .dropdown{ display:block; }
  .has-dropdown.open .caret{ transform: rotate(180deg); }
  .nav-cta .call-btn .lbl{ display:none; }
  .hamburger{ display:flex; }
  .nav-overlay{ position:fixed; inset:0; background:rgba(7,21,39,.5); opacity:0; visibility:hidden; transition:.25s; z-index:998; }
  .nav-overlay.open{ opacity:1; visibility:visible; }
}
@media (min-width: 981px){ .nav-overlay{ display:none; } }

/* ---------- Hero ---------- */
.hero{
  position:relative; color:#fff; overflow:hidden;
  background: radial-gradient(1200px 600px at 85% -10%, rgba(226,35,26,.35), transparent 60%),
              linear-gradient(150deg, var(--navy) 0%, var(--navy-deep) 65%);
  padding: 90px 0 110px;
}
.hero::after{
  content:''; position:absolute; inset:0; opacity:.10; pointer-events:none;
  background-image: repeating-linear-gradient(45deg, #fff 0 2px, transparent 2px 34px);
}
.hero .container{ position:relative; z-index:2; display:grid; grid-template-columns: 1.1fr .9fr; gap:48px; align-items:center; }
.hero-badge{ display:inline-flex; align-items:center; gap:8px; background: rgba(255,180,0,.14); border:1px solid rgba(255,180,0,.4);
  color: var(--gold-light); padding:8px 16px; border-radius:50px; font-weight:700; font-size:.8rem; letter-spacing:.06em; text-transform:uppercase; margin-bottom:22px; }
.hero-badge svg{ width:16px; height:16px; }
.hero h1{ color:#fff; font-size: clamp(2.2rem, 4.4vw, 3.4rem); margin-bottom:20px; }
.hero h1 .hl{ color: var(--gold); position:relative; }
.hero p.lead{ font-size:1.14rem; color:#c7d2e3; max-width:520px; margin-bottom:30px; }
.hero-stats{ display:flex; gap:34px; margin-top:42px; flex-wrap:wrap; }
.hero-stats .stat b{ display:block; font-family: var(--ff-head); font-size:1.9rem; color: var(--gold); font-weight:800; }
.hero-stats .stat span{ font-size:.82rem; color:#a9b6cc; text-transform:uppercase; letter-spacing:.06em; }
.hero-visual{ position:relative; }
.hero-card{
  background: #fff; border-radius: var(--radius); padding:26px; box-shadow: var(--shadow-lg); color: var(--gray-700);
  transform: rotate(1.5deg);
}
.hero-card img{ border-radius:10px; margin-bottom:16px; aspect-ratio:4/3; object-fit:cover; }
.hero-card .hc-title{ font-family: var(--ff-head); font-weight:700; color: var(--navy); margin-bottom:4px; }
.hero-card .hc-badge{ position:absolute; top:-18px; right:-18px; background: var(--red); color:#fff; border-radius:50%;
  width:96px; height:96px; display:flex; flex-direction:column; align-items:center; justify-content:center;
  box-shadow: var(--shadow-md); transform: rotate(8deg); text-align:center; }
.hero-card .hc-badge b{ font-size:1.5rem; font-family: var(--ff-head); line-height:1; }
.hero-card .hc-badge span{ font-size:.6rem; text-transform:uppercase; letter-spacing:.04em; }
.hero-emergency{ position:absolute; bottom:-22px; left:-22px; background: var(--navy); color:#fff; border-radius:14px; padding:16px 20px;
  box-shadow: var(--shadow-md); display:flex; align-items:center; gap:12px; }
.hero-emergency svg{ width:30px; height:30px; color: var(--gold); flex:none; }
.hero-emergency b{ display:block; font-family:var(--ff-head); font-size:.95rem; }
.hero-emergency span{ font-size:.76rem; color:#a9b6cc; }

@media (max-width: 900px){
  .hero .container{ grid-template-columns:1fr; }
  .hero-visual{ margin-top:60px; max-width:420px; }
}

/* ---------- Page (interior) hero ---------- */
.page-hero{
  position:relative; color:#fff; padding:70px 0 60px;
  background: linear-gradient(150deg, var(--navy) 0%, var(--navy-deep) 70%);
  overflow:hidden;
}
.page-hero::after{ content:''; position:absolute; inset:0; opacity:.08;
  background-image: repeating-linear-gradient(45deg, #fff 0 2px, transparent 2px 34px); }
.page-hero .container{ position:relative; z-index:2; }
.breadcrumb{ display:flex; gap:8px; align-items:center; font-size:.85rem; color:#a9b6cc; margin-bottom:16px; flex-wrap:wrap; }
.breadcrumb a{ color:#c7d2e3; } .breadcrumb a:hover{ color: var(--gold); }
.breadcrumb svg{ width:12px; height:12px; }
.page-hero h1{ color:#fff; font-size: clamp(1.9rem,4vw,2.9rem); margin-bottom:14px; max-width:760px; }
.page-hero p{ color:#c7d2e3; max-width:640px; font-size:1.05rem; margin-bottom:0; }
.page-hero.with-photo{ padding:0; }
.page-hero.with-photo .split{ display:grid; grid-template-columns:1.1fr .9fr; min-height:420px; }
.page-hero.with-photo .split-text{ padding:70px 48px 70px 24px; display:flex; flex-direction:column; justify-content:center; }
.page-hero.with-photo .split-img{ position:relative; }
.page-hero.with-photo .split-img img{ width:100%; height:100%; object-fit:cover; min-height:320px; }
.page-hero.with-photo .split-img::before{ content:''; position:absolute; inset:0; background: linear-gradient(90deg, var(--navy-deep) 0%, transparent 18%); }
@media (max-width:900px){ .page-hero.with-photo .split{ grid-template-columns:1fr; } .page-hero.with-photo .split-text{ padding:56px 24px 32px; } .page-hero.with-photo .split-img{ min-height:240px; } }

/* ---------- Trust strip ---------- */
.trust-strip{ background: var(--off-white); padding:26px 0; border-bottom:1px solid var(--gray-100); border-top:1px solid var(--gray-100); }
.trust-strip .container{ display:flex; flex-wrap:wrap; justify-content:space-between; gap:20px; align-items:center; }
.trust-item{ display:flex; align-items:center; gap:10px; font-family: var(--ff-head); font-weight:600; font-size:.88rem; color: var(--navy); }
.trust-item svg{ width:24px; height:24px; color: var(--red); flex:none; }

/* ---------- Service cards ---------- */
.grid-5{ display:grid; grid-template-columns: repeat(3,1fr); gap:26px; }
.grid-2{ display:grid; grid-template-columns: repeat(2,1fr); gap:26px; }
.grid-3{ display:grid; grid-template-columns: repeat(3,1fr); gap:26px; }
.grid-4{ display:grid; grid-template-columns: repeat(4,1fr); gap:22px; }
@media (max-width:980px){ .grid-5,.grid-3{ grid-template-columns: repeat(2,1fr); } .grid-4{ grid-template-columns: repeat(2,1fr); } }
@media (max-width:640px){ .grid-5,.grid-3,.grid-2,.grid-4{ grid-template-columns: 1fr; } }

.service-card{
  background:#fff; border-radius: var(--radius); padding:34px 28px; box-shadow: var(--shadow-sm);
  border:1px solid var(--gray-100); transition: transform .22s ease, box-shadow .22s ease, border-color .22s;
  position:relative; overflow:hidden;
}
.service-card::before{ content:''; position:absolute; top:0; left:0; right:0; height:4px;
  background: linear-gradient(90deg, var(--red), var(--gold)); transform: scaleX(0); transform-origin:left; transition: transform .25s; }
.service-card:hover{ transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color:transparent; }
.service-card:hover::before{ transform: scaleX(1); }
.service-card .sc-icon{ width:60px; height:60px; border-radius:16px; background: linear-gradient(135deg,var(--navy),var(--navy-light));
  display:flex; align-items:center; justify-content:center; margin-bottom:22px; }
.service-card .sc-icon svg{ width:30px; height:30px; color: var(--gold); }
.service-card h3{ font-size:1.2rem; margin-bottom:10px; }
.service-card p{ color: var(--gray-500); font-size:.94rem; margin-bottom:18px; }
.service-card .sc-link{ display:inline-flex; align-items:center; gap:8px; font-family: var(--ff-head); font-weight:700; font-size:.88rem; color: var(--red); }
.service-card .sc-link svg{ width:16px; height:16px; transition: transform .2s; }
.service-card:hover .sc-link svg{ transform: translateX(5px); }
.service-card .sc-num{ position:absolute; top:18px; right:22px; font-family: var(--ff-head); font-weight:800; font-size:2.4rem; color: var(--gray-100); }

/* ---------- Why choose us ---------- */
.feature-row{ display:flex; gap:18px; align-items:flex-start; margin-bottom:28px; }
.feature-row .fi{ width:50px; height:50px; border-radius:12px; background: rgba(226,35,26,.1); display:flex; align-items:center;
  justify-content:center; flex:none; }
.feature-row .fi svg{ width:24px; height:24px; color: var(--red); }
.feature-row h4{ margin-bottom:4px; font-size:1.05rem; }
.feature-row p{ color: var(--gray-500); font-size:.92rem; margin-bottom:0; }
.bg-navy .feature-row .fi{ background: rgba(255,180,0,.14); }
.bg-navy .feature-row .fi svg{ color: var(--gold); }
.bg-navy .feature-row h4{ color:#fff; }
.bg-navy .feature-row p{ color:#a9b6cc; }

.split-media{ display:grid; grid-template-columns: .95fr 1.05fr; gap:56px; align-items:center; }
@media (max-width:900px){ .split-media{ grid-template-columns:1fr; gap:36px; } }
.split-media img{ border-radius: var(--radius); box-shadow: var(--shadow-md); }
.media-frame{ position:relative; }
.media-frame::before{ content:''; position:absolute; inset:16px -16px -16px 16px; border:4px solid var(--gold); border-radius: var(--radius); z-index:-1; }
.media-frame img{ position:relative; z-index:1; }

/* ---------- Stats band ---------- */
.stats-band{ background: linear-gradient(150deg,var(--navy) 0%, var(--navy-deep) 100%); padding:56px 0; }
.stats-grid{ display:grid; grid-template-columns: repeat(4,1fr); gap:20px; text-align:center; }
.stats-grid .stat b{ display:block; font-family: var(--ff-head); font-size:2.6rem; font-weight:800; color: var(--gold); }
.stats-grid .stat span{ color:#a9b6cc; font-size:.86rem; text-transform:uppercase; letter-spacing:.06em; }
@media (max-width:760px){ .stats-grid{ grid-template-columns: repeat(2,1fr); gap:32px; } }

/* ---------- Testimonials ---------- */
.testi-card{ background:#fff; border-radius: var(--radius); padding:30px; box-shadow: var(--shadow-sm); border:1px solid var(--gray-100); height:100%; }
.testi-stars{ display:flex; gap:3px; color: var(--gold); margin-bottom:14px; }
.testi-stars svg{ width:17px; height:17px; }
.testi-card p{ color: var(--gray-700); font-size:.98rem; font-style:italic; }
.testi-who{ display:flex; align-items:center; gap:12px; margin-top:16px; }
.testi-avatar{ width:44px; height:44px; border-radius:50%; background: linear-gradient(135deg,var(--red),var(--red-dark));
  color:#fff; display:flex; align-items:center; justify-content:center; font-family: var(--ff-head); font-weight:700; flex:none; }
.testi-who b{ display:block; font-family: var(--ff-head); font-size:.92rem; color: var(--navy); }
.testi-who span{ font-size:.78rem; color: var(--gray-500); }

/* ---------- Process steps ---------- */
.steps{ display:grid; grid-template-columns: repeat(4,1fr); gap:26px; counter-reset: step; }
@media (max-width:900px){ .steps{ grid-template-columns: repeat(2,1fr); } }
@media (max-width:560px){ .steps{ grid-template-columns: 1fr; } }
.step{ position:relative; padding-top:8px; }
.step .step-num{ width:52px; height:52px; border-radius:50%; background: var(--red); color:#fff; font-family: var(--ff-head);
  font-weight:800; font-size:1.3rem; display:flex; align-items:center; justify-content:center; margin-bottom:18px; box-shadow: var(--shadow-sm); }
.step h4{ font-size:1.02rem; margin-bottom:8px; }
.step p{ color: var(--gray-500); font-size:.9rem; }

/* ---------- Gallery ---------- */
.gallery-grid{ display:grid; grid-template-columns: repeat(3,1fr); gap:22px; }
@media (max-width:900px){ .gallery-grid{ grid-template-columns: repeat(2,1fr); } }
@media (max-width:560px){ .gallery-grid{ grid-template-columns: 1fr; } }
.gallery-item{ position:relative; border-radius: var(--radius); overflow:hidden; cursor:zoom-in; box-shadow: var(--shadow-sm); background:var(--navy); }
.gallery-item img{ width:100%; aspect-ratio:4/5; object-fit:cover; transition: transform .4s ease; }
.gallery-item:hover img{ transform: scale(1.08); }
.gallery-cap{ position:absolute; inset:auto 0 0 0; padding:18px 18px 16px; color:#fff;
  background: linear-gradient(0deg, rgba(7,21,39,.92) 0%, transparent 100%); }
.gallery-cap b{ display:block; font-family: var(--ff-head); font-size:.95rem; }
.gallery-cap span{ font-size:.76rem; color: var(--gold-light); }
.gallery-zoom{ position:absolute; top:14px; right:14px; width:36px; height:36px; border-radius:50%; background: rgba(255,255,255,.92);
  display:flex; align-items:center; justify-content:center; color: var(--navy); }
.gallery-zoom svg{ width:18px; height:18px; }

.lightbox{ position:fixed; inset:0; background: rgba(4,10,20,.92); z-index:3000; display:flex; align-items:center; justify-content:center;
  opacity:0; visibility:hidden; transition: opacity .25s; padding:40px 20px; }
.lightbox.open{ opacity:1; visibility:visible; }
.lightbox img{ max-width:min(900px,92vw); max-height:80vh; border-radius:10px; box-shadow:0 30px 80px rgba(0,0,0,.5); }
.lightbox-cap{ position:absolute; bottom:28px; left:0; right:0; text-align:center; color:#fff; font-family: var(--ff-head); font-size:.95rem; }
.lightbox-close, .lightbox-nav{ position:absolute; background: rgba(255,255,255,.12); border:1px solid rgba(255,255,255,.3); color:#fff;
  width:46px; height:46px; border-radius:50%; display:flex; align-items:center; justify-content:center; cursor:pointer; transition: background .2s; }
.lightbox-close:hover, .lightbox-nav:hover{ background: rgba(255,255,255,.25); }
.lightbox-close{ top:22px; right:22px; }
.lightbox-nav svg, .lightbox-close svg{ width:20px; height:20px; }
.lightbox-prev{ left:18px; top:50%; transform: translateY(-50%); }
.lightbox-next{ right:18px; top:50%; transform: translateY(-50%); }
@media (max-width:640px){ .lightbox-prev,.lightbox-next{ width:38px; height:38px; } }

/* ---------- FAQ accordion ---------- */
.faq-item{ border:1px solid var(--gray-100); border-radius:12px; margin-bottom:12px; overflow:hidden; background:#fff; }
.faq-q{ display:flex; align-items:center; justify-content:space-between; gap:16px; padding:19px 22px; cursor:pointer;
  font-family: var(--ff-head); font-weight:700; color: var(--navy); font-size:1rem; }
.faq-q svg{ width:20px; height:20px; flex:none; color: var(--red); transition: transform .25s; }
.faq-item.open .faq-q svg{ transform: rotate(45deg); }
.faq-a{ max-height:0; overflow:hidden; transition: max-height .3s ease; }
.faq-item.open .faq-a{ max-height:400px; }
.faq-a-in{ padding:0 22px 20px; color: var(--gray-500); font-size:.94rem; }

/* ---------- Service area list ---------- */
.area-chip-list{ display:flex; flex-wrap:wrap; gap:12px; }
.area-chip{ display:flex; align-items:center; gap:8px; background: var(--off-white); border:1px solid var(--gray-100);
  padding:10px 18px; border-radius:50px; font-family: var(--ff-head); font-weight:600; font-size:.88rem; color: var(--navy); }
.area-chip svg{ width:15px; height:15px; color: var(--red); }

/* ---------- CTA band ---------- */
.cta-band{ background: linear-gradient(120deg, var(--red) 0%, var(--red-dark) 100%); color:#fff; padding:60px 0; position:relative; overflow:hidden; }
.cta-band::after{ content:''; position:absolute; inset:0; opacity:.12;
  background-image: repeating-linear-gradient(45deg, #fff 0 2px, transparent 2px 34px); }
.cta-band .container{ position:relative; z-index:2; display:flex; align-items:center; justify-content:space-between; gap:26px; flex-wrap:wrap; }
.cta-band h2{ color:#fff; margin-bottom:8px; font-size:clamp(1.4rem,2.6vw,2rem); }
.cta-band p{ color:#ffe3e1; margin-bottom:0; }

/* ---------- Forms ---------- */
.form-card{ background:#fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); padding:38px; border:1px solid var(--gray-100); }
.form-row{ display:grid; grid-template-columns:1fr 1fr; gap:18px; }
@media (max-width:600px){ .form-row{ grid-template-columns:1fr; } }
.field{ margin-bottom:18px; }
.field label{ display:block; font-family: var(--ff-head); font-weight:600; font-size:.86rem; color: var(--navy); margin-bottom:7px; }
.field input, .field select, .field textarea{
  width:100%; padding:13px 15px; border:1.5px solid var(--gray-300); border-radius:10px; font-family: var(--ff-body);
  font-size:.95rem; color: var(--gray-700); background:#fbfcfe; transition: border-color .18s, box-shadow .18s;
}
.field input:focus, .field select:focus, .field textarea:focus{ outline:none; border-color: var(--red); box-shadow: 0 0 0 4px rgba(226,35,26,.1); background:#fff; }
.field textarea{ resize:vertical; min-height:120px; }
.field.checky{ display:flex; align-items:flex-start; gap:10px; }
.field.checky input{ width:auto; margin-top:4px; }
.field.checky label{ font-weight:400; font-size:.82rem; color: var(--gray-500); }
.form-msg{ display:none; padding:14px 16px; border-radius:10px; font-size:.9rem; font-weight:600; margin-bottom:18px; }
.form-msg.show{ display:block; }
.form-msg.ok{ background:#e7f7ec; color:#1c7c3f; border:1px solid #b7e6c4; }
.hp-field{ position:absolute; left:-9999px; opacity:0; }

/* ---------- Contact info cards ---------- */
.info-card{ display:flex; gap:16px; align-items:flex-start; padding:22px 0; border-bottom:1px solid var(--gray-100); }
.info-card:last-child{ border-bottom:none; }
.info-card .ic{ width:48px; height:48px; border-radius:12px; background: rgba(226,35,26,.1); display:flex; align-items:center;
  justify-content:center; flex:none; }
.info-card .ic svg{ width:22px; height:22px; color: var(--red); }
.info-card h4{ font-size:.98rem; margin-bottom:4px; }
.info-card p, .info-card a{ color: var(--gray-500); font-size:.92rem; margin-bottom:0; }
.info-card a:hover{ color: var(--red); }
.map-wrap{ border-radius: var(--radius); overflow:hidden; box-shadow: var(--shadow-md); border:1px solid var(--gray-100); }
.map-wrap iframe{ width:100%; height:340px; border:0; display:block; }

/* ---------- About / values ---------- */
.value-card{ text-align:center; padding:30px 20px; }
.value-card .vc-icon{ width:66px; height:66px; border-radius:50%; background: linear-gradient(135deg,var(--navy),var(--navy-light));
  display:flex; align-items:center; justify-content:center; margin:0 auto 18px; }
.value-card .vc-icon svg{ width:30px; height:30px; color: var(--gold); }

.badge-row{ display:flex; flex-wrap:wrap; gap:16px; margin-top:10px; }
.badge-chip{ display:flex; align-items:center; gap:10px; background:#fff; border:1px solid var(--gray-100); box-shadow: var(--shadow-sm);
  padding:12px 18px; border-radius:12px; font-family: var(--ff-head); font-weight:700; font-size:.84rem; color: var(--navy); }
.badge-chip svg{ width:20px; height:20px; color: var(--red); }

/* ---------- Service detail page ---------- */
.service-detail{ display:grid; grid-template-columns: 1.6fr 1fr; gap:56px; align-items:start; }
@media (max-width:960px){ .service-detail{ grid-template-columns:1fr; } }
.check-list li{ display:flex; gap:12px; align-items:flex-start; margin-bottom:14px; }
.check-list svg{ width:22px; height:22px; color: var(--red); flex:none; margin-top:1px; }
.check-list b{ color: var(--navy); }
.sidebar-card{ background: var(--off-white); border-radius: var(--radius); padding:28px; margin-bottom:22px; border:1px solid var(--gray-100); }
.sidebar-card h4{ font-size:1.02rem; margin-bottom:16px; display:flex; align-items:center; gap:10px; }
.sidebar-card h4 svg{ width:20px; height:20px; color: var(--red); }
.sidebar-links a{ display:flex; align-items:center; justify-content:space-between; padding:11px 4px; border-bottom:1px solid var(--gray-300); font-weight:600; font-size:.9rem; color: var(--navy); }
.sidebar-links a:last-child{ border-bottom:none; }
.sidebar-links a:hover{ color: var(--red); }
.sidebar-links a.active{ color: var(--red); }
.sidebar-emg{ background: var(--navy); color:#fff; border-radius: var(--radius); padding:26px; text-align:center; }
.sidebar-emg svg{ width:34px; height:34px; color: var(--gold); margin-bottom:10px; }
.sidebar-emg .num{ font-family: var(--ff-head); font-weight:800; font-size:1.4rem; color:#fff; display:block; margin:8px 0 14px; }

/* ---------- Footer ---------- */
.site-footer{ background: var(--navy-deep); color:#a9b6cc; padding-top:70px; }
.footer-grid{ display:grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap:40px; padding-bottom:50px; border-bottom:1px solid rgba(255,255,255,.08); }
@media (max-width:900px){ .footer-grid{ grid-template-columns: 1fr 1fr; } }
@media (max-width:560px){ .footer-grid{ grid-template-columns: 1fr; } }
.footer-brand{ display:flex; align-items:center; gap:12px; margin-bottom:16px; }
.footer-brand .logo-mark{ width:46px; height:46px; }
.footer-brand .b1{ font-family: var(--ff-head); font-weight:800; color:#fff; font-size:1.15rem; }
.footer-brand .b1 span{ color: var(--red); }
.site-footer p{ font-size:.88rem; }
.footer-col h5{ color:#fff; font-family: var(--ff-head); font-size:.92rem; text-transform:uppercase; letter-spacing:.06em; margin-bottom:20px; }
.footer-col ul li{ margin-bottom:11px; }
.footer-col a{ font-size:.9rem; color:#a9b6cc; transition: color .15s, padding-left .15s; }
.footer-col a:hover{ color: var(--gold); padding-left:4px; }
.footer-contact li{ display:flex; gap:10px; align-items:flex-start; margin-bottom:14px; }
.footer-contact svg{ width:17px; height:17px; color: var(--red); flex:none; margin-top:2px; }
.footer-social{ display:flex; gap:10px; margin-top:18px; }
.footer-social a{ width:38px; height:38px; border-radius:50%; background: rgba(255,255,255,.08); display:flex; align-items:center; justify-content:center; }
.footer-social a:hover{ background: var(--red); }
.footer-social svg{ width:17px; height:17px; color:#fff; }
.footer-bottom{ padding:22px 0; display:flex; justify-content:space-between; align-items:center; gap:16px; flex-wrap:wrap; font-size:.82rem; }
.footer-bottom a:hover{ color: var(--gold); }

/* ---------- Floating call button (mobile) ---------- */
.float-call{ position:fixed; bottom:20px; right:20px; z-index:900; width:60px; height:60px; border-radius:50%;
  background: linear-gradient(135deg, var(--red), var(--red-dark)); color:#fff; display:none; align-items:center; justify-content:center;
  box-shadow: 0 12px 30px rgba(226,35,26,.5); animation: pulse 2.2s infinite; }
.float-call svg{ width:26px; height:26px; }
@keyframes pulse{ 0%{ box-shadow: 0 0 0 0 rgba(226,35,26,.55);} 70%{ box-shadow: 0 0 0 16px rgba(226,35,26,0);} 100%{ box-shadow: 0 0 0 0 rgba(226,35,26,0);} }
@media (max-width:760px){ .float-call{ display:flex; } }

/* ---------- Back to top ---------- */
.back-top{ position:fixed; bottom:20px; left:20px; z-index:900; width:46px; height:46px; border-radius:50%; background: var(--navy);
  color:#fff; display:flex; align-items:center; justify-content:center; box-shadow: var(--shadow-md); opacity:0; visibility:hidden;
  transform: translateY(10px); transition: all .25s; cursor:pointer; border:none; }
.back-top.show{ opacity:1; visibility:visible; transform:none; }
.back-top svg{ width:20px; height:20px; }

/* ---------- Reveal animations ----------
   Progressive enhancement: content is fully visible by default (no-JS,
   crawlers, JS errors all see everything). Only once script.js confirms it
   is running does it add .js-anim to <html>, which is what actually hides
   .reveal items prior to their scroll-triggered .in class. */
.reveal{ transition: opacity .7s ease, transform .7s ease; }
html.js-anim .reveal{ opacity:0; transform: translateY(28px); }
html.js-anim .reveal.in{ opacity:1; transform:none; }
@media (prefers-reduced-motion: reduce){
  html.js-anim .reveal{ opacity:1; transform:none; transition:none; }
}
.reveal-stagger .reveal:nth-child(1){ transition-delay:.03s; }
.reveal-stagger .reveal:nth-child(2){ transition-delay:.11s; }
.reveal-stagger .reveal:nth-child(3){ transition-delay:.19s; }
.reveal-stagger .reveal:nth-child(4){ transition-delay:.27s; }
.reveal-stagger .reveal:nth-child(5){ transition-delay:.35s; }
.reveal-stagger .reveal:nth-child(6){ transition-delay:.43s; }

/* ---------- 404 ---------- */
.error-page{ min-height:56vh; display:flex; align-items:center; justify-content:center; text-align:center; padding:90px 24px; }
.error-page .big{ font-family: var(--ff-head); font-weight:800; font-size:clamp(4rem,14vw,8rem); color: var(--navy); line-height:1;
  background: linear-gradient(135deg,var(--navy),var(--red)); -webkit-background-clip:text; background-clip:text; color:transparent; }

/* ---------- Misc responsive ---------- */
@media (max-width:1080px){
  .grid-5{ grid-template-columns: repeat(2,1fr); }
}
@media (max-width:760px){
  .pad{ padding:60px 0; }
  .stats-grid{ gap:26px; }
  .footer-bottom{ flex-direction:column; text-align:center; }
  .service-detail{ gap:36px; }
}
