/* ==========================================================================
   5Star Plumbing Express — Corporate Site Stylesheet
   ========================================================================== */

:root{
  --navy-900:#0a2c47;
  --navy-800:#0b3d63;
  --navy-700:#124f7d;
  --blue-500:#1a86c4;
  --blue-300:#3fb6e8;
  --gold-500:#f5a623;
  --gold-300:#ffd15c;
  --red-600:#d64545;
  --ink:#1c2b36;
  --slate-600:#4a5c6a;
  --slate-400:#8098a8;
  --slate-200:#e4ecf1;
  --slate-100:#f3f7fa;
  --white:#ffffff;
  --shadow-sm:0 2px 8px rgba(10,44,71,.08);
  --shadow-md:0 10px 30px rgba(10,44,71,.12);
  --shadow-lg:0 24px 60px rgba(10,44,71,.20);
  --radius:14px;
  --radius-sm:8px;
  --maxw:1200px;
  --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(--ink);
  background:var(--white);
  line-height:1.65;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
h1,h2,h3,h4,h5{
  font-family:var(--ff-head);
  color:var(--navy-900);
  line-height:1.2;
  margin:0 0 .6em;
}
h1{ font-size:clamp(2.1rem,4.5vw,3.4rem); font-weight:800; }
h2{ font-size:clamp(1.7rem,3.2vw,2.4rem); font-weight:800; }
h3{ font-size:1.3rem; font-weight:700; }
p{ margin:0 0 1em; color:var(--slate-600); }
a{ color:var(--blue-500); text-decoration:none; }
img{ max-width:100%; display:block; }
ul{ margin:0; padding:0; list-style:none; }
.container{ max-width:var(--maxw); margin:0 auto; padding:0 24px; }
section{ padding:88px 0; }
.section-tight{ padding:56px 0; }
.bg-slate{ background:var(--slate-100); }
.bg-navy{ background:linear-gradient(135deg,var(--navy-900),var(--navy-800)); color:var(--white); }
.bg-navy h2, .bg-navy h3{ color:var(--white); }
.bg-navy p{ color:#c7d7e2; }

/* ---------- Eyebrow / kicker ---------- */
.kicker{
  display:inline-flex; align-items:center; gap:8px;
  color:var(--gold-500); font-weight:700; letter-spacing:2px;
  text-transform:uppercase; font-size:.8rem; margin-bottom:14px;
}
.kicker::before{ content:""; width:28px; height:3px; background:var(--gold-500); display:inline-block; border-radius:2px; }
.center{ text-align:center; }
.section-head{ max-width:720px; margin:0 auto 48px; }
.section-head.left{ margin:0 0 48px; }

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:10px;
  padding:15px 30px; border-radius:50px; font-weight:700; font-size:.98rem;
  cursor:pointer; border:2px solid transparent; transition:transform .2s ease,box-shadow .2s ease,background .2s ease,color .2s ease;
  white-space:nowrap;
}
.btn:active{ transform:translateY(1px); }
.btn-primary{ background:linear-gradient(135deg,var(--gold-300),var(--gold-500)); color:var(--navy-900); box-shadow:var(--shadow-md); }
.btn-primary:hover{ transform:translateY(-3px); box-shadow:var(--shadow-lg); }
.btn-outline{ background:transparent; border-color:rgba(255,255,255,.55); color:var(--white); }
.btn-outline:hover{ background:rgba(255,255,255,.12); transform:translateY(-3px); }
.btn-navy{ background:var(--navy-800); color:var(--white); }
.btn-navy:hover{ background:var(--navy-900); transform:translateY(-3px); box-shadow:var(--shadow-md); }
.btn-block{ width:100%; }
.btn-sm{ padding:10px 20px; font-size:.85rem; }

/* ---------- Top utility bar ---------- */
.topbar{
  background:var(--navy-900); color:#cfe0ec; font-size:.85rem;
  padding:8px 0;
}
.topbar .container{ display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:8px; }
.topbar a{ color:#cfe0ec; }
.topbar .topbar-left{ display:flex; gap:22px; flex-wrap:wrap; }
.topbar .topbar-left span, .topbar .topbar-left a{ display:inline-flex; align-items:center; gap:6px; }
.topbar .badge-24{ background:var(--red-600); color:#fff; padding:2px 10px; border-radius:20px; font-weight:700; font-size:.72rem; letter-spacing:.5px; }
.topbar .social a{ margin-left:14px; opacity:.85; }
.topbar .social a:hover{ opacity:1; color:var(--gold-300); }

/* ---------- Header / Nav ---------- */
header.site-header{
  position:sticky; top:0; z-index:900; background:rgba(255,255,255,.97);
  backdrop-filter:blur(6px); box-shadow:var(--shadow-sm);
}
.nav-wrap{ display:flex; align-items:center; justify-content:space-between; padding:12px 0; gap:20px; }
.brand{ display:flex; align-items:center; gap:12px; }
.brand img{ height:52px; width:auto; }
.brand-text{ display:none; }
nav.main-nav{ display:flex; align-items:center; gap:4px; }
nav.main-nav a{
  color:var(--navy-900); font-weight:600; padding:10px 16px; border-radius:8px;
  font-size:.96rem; position:relative; transition:color .2s, background .2s;
}
nav.main-nav a:hover, nav.main-nav a.active{ color:var(--blue-500); background:var(--slate-100); }
nav.main-nav .dropdown{ position:relative; }
nav.main-nav .dropdown-menu{
  position:absolute; top:calc(100% + 8px); left:0; background:var(--white); min-width:270px;
  border-radius:var(--radius-sm); box-shadow:var(--shadow-lg); padding:10px; opacity:0; visibility:hidden;
  transform:translateY(8px); transition:all .2s ease; border:1px solid var(--slate-200);
}
nav.main-nav .dropdown:hover .dropdown-menu, nav.main-nav .dropdown:focus-within .dropdown-menu{
  opacity:1; visibility:visible; transform:translateY(0);
}
nav.main-nav .dropdown-menu a{ display:block; padding:10px 12px; font-weight:500; border-radius:6px; }
nav.main-nav .dropdown-menu a:hover{ background:var(--slate-100); }
.header-cta{ display:flex; align-items:center; gap:14px; }
.header-phone{ display:flex; align-items:center; gap:10px; }
.header-phone .icon-circle{
  width:42px; height:42px; border-radius:50%; background:var(--gold-500); color:var(--navy-900);
  display:flex; align-items:center; justify-content:center; flex-shrink:0;
}
.header-phone .label{ font-size:.72rem; color:var(--slate-400); text-transform:uppercase; letter-spacing:1px; }
.header-phone .num{ font-weight:800; color:var(--navy-900); font-size:1.05rem; }
.nav-toggle{ display:none; background:none; border:none; cursor:pointer; padding:6px; }
.nav-toggle span{ display:block; width:26px; height:3px; background:var(--navy-900); margin:5px 0; border-radius:2px; transition:.25s; }

/* ---------- Hero ---------- */
.hero{
  position:relative; color:var(--white); padding:120px 0 100px;
  background:linear-gradient(120deg,rgba(10,44,71,.94),rgba(11,61,99,.88)), url('../images/gallery-tankless-install.jpg') center/cover no-repeat;
  overflow:hidden;
}
.hero::after{
  content:""; position:absolute; inset:auto -10% -30% auto; width:60%; height:140%;
  background:radial-gradient(circle,rgba(245,166,35,.18),transparent 60%); pointer-events:none;
}
.hero-grid{ display:grid; grid-template-columns:1.1fr .9fr; gap:50px; align-items:center; position:relative; z-index:2; }
.hero-badges{ display:flex; gap:14px; flex-wrap:wrap; margin:26px 0 34px; }
.hero-badge{
  display:flex; align-items:center; gap:10px; background:rgba(255,255,255,.1); border:1px solid rgba(255,255,255,.22);
  padding:10px 16px; border-radius:50px; font-size:.86rem; font-weight:600; backdrop-filter:blur(4px);
}
.hero-badge svg{ flex-shrink:0; }
.hero-actions{ display:flex; gap:16px; flex-wrap:wrap; }
.hero-stars{ display:flex; gap:4px; color:var(--gold-500); margin-bottom:16px; }
.hero p.lead{ font-size:1.15rem; color:#dbe8f1; max-width:540px; }
.hero-panel{
  background:rgba(255,255,255,.08); border:1px solid rgba(255,255,255,.2); border-radius:var(--radius);
  padding:30px; backdrop-filter:blur(6px);
}
.hero-panel h3{ color:var(--white); }
.hero-stat-grid{ display:grid; grid-template-columns:1fr 1fr; gap:18px; margin-top:20px; }
.hero-stat{ text-align:center; background:rgba(255,255,255,.07); border-radius:var(--radius-sm); padding:18px 8px; }
.hero-stat .num{ font-family:var(--ff-head); font-size:1.9rem; font-weight:800; color:var(--gold-300); }
.hero-stat .lbl{ font-size:.78rem; color:#c7d7e2; text-transform:uppercase; letter-spacing:1px; }

/* ---------- Breadcrumb / Page hero (inner pages) ---------- */
.page-hero{
  background:linear-gradient(120deg,rgba(10,44,71,.93),rgba(11,61,99,.85)), var(--hero-img,url('../images/gallery-exterior-piping.jpg')) center/cover no-repeat;
  color:var(--white); padding:74px 0 60px; text-align:center;
}
.page-hero h1{ color:var(--white); margin-bottom:10px; }
.breadcrumb{ display:flex; gap:8px; justify-content:center; font-size:.9rem; color:#cfe0ec; }
.breadcrumb a{ color:#cfe0ec; }
.breadcrumb a:hover{ color:var(--gold-300); }

/* ---------- Trust strip ---------- */
.trust-strip{ background:var(--slate-100); padding:26px 0; border-top:1px solid var(--slate-200); border-bottom:1px solid var(--slate-200); }
.trust-strip .container{ display:flex; flex-wrap:wrap; gap:28px; align-items:center; justify-content:space-between; }
.trust-item{ display:flex; align-items:center; gap:10px; font-weight:700; color:var(--navy-800); font-size:.92rem; }
.trust-item svg{ color:var(--gold-500); flex-shrink:0; }

/* ---------- Cards: services ---------- */
.grid{ display:grid; gap:28px; }
.grid-5{ grid-template-columns:repeat(5,1fr); }
.grid-3{ grid-template-columns:repeat(3,1fr); }
.grid-2{ grid-template-columns:repeat(2,1fr); }
.card{
  background:var(--white); border-radius:var(--radius); box-shadow:var(--shadow-sm); border:1px solid var(--slate-200);
  overflow:hidden; transition:transform .25s ease,box-shadow .25s ease; display:flex; flex-direction:column;
}
.card:hover{ transform:translateY(-6px); box-shadow:var(--shadow-lg); border-color:transparent; }
.service-card{ padding:34px 26px; text-align:left; position:relative; }
.service-card .num{
  position:absolute; top:18px; right:22px; font-family:var(--ff-head); font-weight:800; font-size:2.1rem;
  color:var(--slate-200);
}
.service-icon{
  width:64px; height:64px; border-radius:16px; display:flex; align-items:center; justify-content:center;
  background:linear-gradient(135deg,var(--navy-800),var(--blue-500)); color:var(--white); margin-bottom:20px;
}
.service-card h3{ margin-bottom:10px; }
.service-card p{ font-size:.95rem; }
.service-card .more{ font-weight:700; display:inline-flex; align-items:center; gap:6px; margin-top:10px; }
.service-card .more svg{ transition:transform .2s; }
.service-card:hover .more svg{ transform:translateX(4px); }

/* ---------- Why us / icon list ---------- */
.feature{ display:flex; gap:18px; }
.feature .fi{
  width:52px; height:52px; border-radius:14px; background:var(--slate-100); color:var(--blue-500);
  display:flex; align-items:center; justify-content:center; flex-shrink:0;
}
.feature h4{ margin:0 0 6px; font-family:var(--ff-head); color:var(--navy-900); font-size:1.05rem; }
.feature p{ margin:0; font-size:.93rem; }

/* ---------- Process steps ---------- */
.steps{ display:grid; grid-template-columns:repeat(4,1fr); gap:24px; counter-reset:step; }
.step{ position:relative; padding:28px 22px; background:var(--white); border-radius:var(--radius); border:1px solid var(--slate-200); }
.step::before{
  counter-increment:step; content:counter(step); font-family:var(--ff-head); font-weight:800; font-size:1.6rem;
  color:var(--white); background:linear-gradient(135deg,var(--gold-300),var(--gold-500)); width:46px; height:46px;
  border-radius:50%; display:flex; align-items:center; justify-content:center; margin-bottom:16px;
}

/* ---------- Gallery ---------- */
.gallery-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:18px; }
.gallery-item{
  position:relative; border-radius:var(--radius-sm); overflow:hidden; cursor:zoom-in; aspect-ratio:3/4;
  box-shadow:var(--shadow-sm);
}
.gallery-item img{ width:100%; height:100%; object-fit:cover; transition:transform .4s ease; }
.gallery-item:hover img{ transform:scale(1.08); }
.gallery-item .overlay{
  position:absolute; inset:0; background:linear-gradient(0deg,rgba(10,44,71,.85),transparent 55%);
  display:flex; align-items:flex-end; padding:16px; opacity:0; transition:opacity .3s;
}
.gallery-item:hover .overlay{ opacity:1; }
.gallery-item .overlay span{ color:#fff; font-weight:700; font-size:.9rem; }
.gallery-item.tall{ grid-row:span 2; }

/* Lightbox */
.lightbox{
  position:fixed; inset:0; background:rgba(6,20,32,.92); display:none; align-items:center; justify-content:center;
  z-index:2000; padding:30px;
}
.lightbox.open{ display:flex; }
.lightbox img{ max-width:min(90vw,900px); max-height:82vh; border-radius:10px; box-shadow:0 30px 80px rgba(0,0,0,.5); }
.lightbox-close, .lightbox-prev, .lightbox-next{
  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;
}
.lightbox-close{ top:24px; right:24px; }
.lightbox-prev{ left:24px; top:50%; transform:translateY(-50%); }
.lightbox-next{ right:24px; top:50%; transform:translateY(-50%); }
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover{ background:var(--gold-500); border-color:var(--gold-500); color:var(--navy-900); }
.lightbox-caption{ position:absolute; bottom:24px; left:0; right:0; text-align:center; color:#cfe0ec; font-size:.9rem; }

/* ---------- Testimonials ---------- */
.testi-card{ padding:30px; }
.testi-stars{ color:var(--gold-500); display:flex; gap:3px; margin-bottom:14px; }
.testi-quote{ font-style:italic; color:var(--ink); font-size:1rem; }
.testi-person{ display:flex; align-items:center; gap:12px; margin-top:20px; }
.testi-avatar{
  width:46px; height:46px; border-radius:50%; background:linear-gradient(135deg,var(--navy-800),var(--blue-500));
  color:#fff; display:flex; align-items:center; justify-content:center; font-weight:800; font-family:var(--ff-head);
}
.testi-name{ font-weight:700; color:var(--navy-900); font-size:.94rem; }
.testi-loc{ font-size:.8rem; color:var(--slate-400); }

/* ---------- CTA band ---------- */
.cta-band{
  background:linear-gradient(120deg,var(--navy-900),var(--navy-700));
  color:#fff; border-radius:var(--radius); padding:50px 44px; display:flex; align-items:center; justify-content:space-between;
  gap:30px; flex-wrap:wrap; position:relative; overflow:hidden;
}
.cta-band::before{
  content:""; position:absolute; right:-60px; top:-60px; width:220px; height:220px; border-radius:50%;
  background:radial-gradient(circle,rgba(245,166,35,.25),transparent 65%);
}
.cta-band h2, .cta-band p{ color:#fff; margin-bottom:6px; position:relative; z-index:1; }
.cta-band .cta-actions{ display:flex; gap:14px; flex-wrap:wrap; position:relative; z-index:1; }

/* ---------- FAQ Accordion ---------- */
.accordion-item{ border-bottom:1px solid var(--slate-200); }
.accordion-item:first-child{ border-top:1px solid var(--slate-200); }
.accordion-trigger{
  width:100%; text-align:left; background:none; border:none; padding:22px 4px; display:flex; align-items:center;
  justify-content:space-between; cursor:pointer; font-family:var(--ff-head); font-weight:700; color:var(--navy-900);
  font-size:1.02rem; gap:16px;
}
.accordion-trigger .chev{ transition:transform .25s; flex-shrink:0; color:var(--blue-500); }
.accordion-item.open .accordion-trigger .chev{ transform:rotate(180deg); }
.accordion-panel{ max-height:0; overflow:hidden; transition:max-height .3s ease; }
.accordion-panel p{ padding:0 4px 22px; margin:0; }

/* ---------- Forms ---------- */
.form-grid{ display:grid; grid-template-columns:1fr 1fr; gap:18px; }
.form-field{ display:flex; flex-direction:column; gap:6px; margin-bottom:18px; }
.form-field.full{ grid-column:1/-1; }
label{ font-weight:600; font-size:.88rem; color:var(--navy-800); }
input, select, textarea{
  font-family:var(--ff-body); padding:13px 14px; border:1.5px solid var(--slate-200); border-radius:var(--radius-sm);
  font-size:.96rem; color:var(--ink); background:var(--white); transition:border-color .2s, box-shadow .2s;
}
input:focus, select:focus, textarea:focus{
  outline:none; border-color:var(--blue-500); box-shadow:0 0 0 4px rgba(26,134,196,.14);
}
textarea{ resize:vertical; min-height:120px; }
.field-error{ color:var(--red-600); font-size:.8rem; display:none; }
.form-field.invalid input, .form-field.invalid select, .form-field.invalid textarea{ border-color:var(--red-600); }
.form-field.invalid .field-error{ display:block; }
.form-note{ font-size:.8rem; color:var(--slate-400); }
.form-success{
  display:none; background:#e8f7ee; border:1.5px solid #34a566; color:#1c6b3f; padding:18px 20px; border-radius:var(--radius-sm);
  font-weight:600; align-items:center; gap:12px;
}
.form-success.show{ display:flex; }

/* ---------- Contact info cards ---------- */
.info-card{ display:flex; gap:16px; align-items:flex-start; padding:22px; }
.info-card .fi{ width:48px; height:48px; border-radius:12px; background:var(--navy-800); color:#fff; display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.info-card h4{ margin:0 0 6px; }
.info-card p{ margin:0; font-size:.92rem; }

/* ---------- Map ---------- */
.map-frame{ border-radius:var(--radius); overflow:hidden; box-shadow:var(--shadow-md); border:0; width:100%; height:100%; min-height:340px; }

/* ---------- Service detail pages ---------- */
.detail-hero{ display:grid; grid-template-columns:1.1fr .9fr; gap:44px; align-items:center; }
.detail-hero img{ border-radius:var(--radius); box-shadow:var(--shadow-lg); }
.check-list li{ display:flex; gap:12px; padding:9px 0; font-weight:600; color:var(--navy-800); }
.check-list li svg{ color:var(--gold-500); flex-shrink:0; margin-top:2px; }
.related-services{ display:flex; flex-wrap:wrap; gap:10px; }
.pill{
  display:inline-flex; align-items:center; padding:9px 18px; border-radius:50px; background:var(--slate-100);
  color:var(--navy-800); font-weight:600; font-size:.88rem; border:1px solid var(--slate-200);
}
.pill:hover{ background:var(--navy-800); color:#fff; }

/* ---------- Footer ---------- */
footer.site-footer{ background:var(--navy-900); color:#c7d7e2; 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,.1); }
.footer-grid h4{ color:#fff; font-family:var(--ff-head); margin-bottom:18px; font-size:1rem; }
.footer-grid a{ color:#c7d7e2; }
.footer-grid a:hover{ color:var(--gold-300); }
.footer-grid li{ margin-bottom:10px; font-size:.92rem; }
.footer-brand img{ height:50px; margin-bottom:16px; }
.footer-brand p{ color:#9fb6c6; font-size:.9rem; }
.footer-social{ display:flex; gap:10px; margin-top:16px; }
.footer-social a{
  width:38px; height:38px; border-radius:50%; background:rgba(255,255,255,.08); display:flex; align-items:center;
  justify-content:center; transition:background .2s;
}
.footer-social a:hover{ background:var(--gold-500); color:var(--navy-900); }
.footer-bottom{ display:flex; justify-content:space-between; align-items:center; padding:22px 0; font-size:.82rem; color:#8ba4b6; flex-wrap:wrap; gap:10px; }
.footer-bottom a{ color:#8ba4b6; }

/* ---------- Sticky mobile call bar ---------- */
.mobile-callbar{
  display:none; position:fixed; bottom:0; left:0; right:0; z-index:950; background:var(--navy-900);
  box-shadow:0 -6px 20px rgba(0,0,0,.2);
}
.mobile-callbar .row{ display:grid; grid-template-columns:1fr 1fr; }
.mobile-callbar a{
  display:flex; align-items:center; justify-content:center; gap:8px; padding:16px 8px; color:#fff; font-weight:700; font-size:.92rem;
}
.mobile-callbar a.call{ background:var(--gold-500); color:var(--navy-900); }

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

/* ---------- Reveal-on-scroll ---------- */
/* Progressive enhancement: content is fully visible by default so it never
   depends on JavaScript running. Only when the early <head> script confirms
   JS is active (html.js) does the fade/slide-in animation apply, and even
   then a JS-side safety timer guarantees everything reveals regardless. */
.reveal{ opacity:1; transform:none; }
html.js .reveal{ opacity:0; transform:translateY(24px); transition:opacity .6s ease, transform .6s ease; }
html.js .reveal.in{ opacity:1; transform:translateY(0); }
.reveal.d1{ transition-delay:.08s; }
.reveal.d2{ transition-delay:.16s; }
.reveal.d3{ transition-delay:.24s; }
.reveal.d4{ transition-delay:.32s; }
.reveal.d5{ transition-delay:.4s; }
@media (prefers-reduced-motion: reduce){
  html.js .reveal{ opacity:1; transform:none; transition:none; }
}

/* ---------- Badges / stats strip ---------- */
.stats-strip{ display:grid; grid-template-columns:repeat(4,1fr); gap:24px; text-align:center; }
.stats-strip .num{ font-family:var(--ff-head); font-size:2.6rem; font-weight:800; color:var(--gold-500); }
.stats-strip .lbl{ font-size:.85rem; color:var(--slate-600); text-transform:uppercase; letter-spacing:1px; font-weight:700; }

/* ---------- Areas served ---------- */
.area-tags{ display:flex; flex-wrap:wrap; gap:10px; }

/* ---------- Utility ---------- */
.mt-0{ margin-top:0; } .mb-0{ margin-bottom:0; }
.text-gold{ color:var(--gold-500); }
.flex{ display:flex; } .items-center{ align-items:center; } .gap-10{ gap:10px; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width:1080px){
  .grid-5{ grid-template-columns:repeat(3,1fr); }
  .steps{ grid-template-columns:repeat(2,1fr); }
  .stats-strip{ grid-template-columns:repeat(2,1fr); }
  .footer-grid{ grid-template-columns:1fr 1fr; }
}
@media (max-width:920px){
  nav.main-nav{
    position:fixed; top:0; right:0; height:100vh; width:300px; background:#fff; flex-direction:column;
    align-items:flex-start; padding:90px 26px 26px; box-shadow:-10px 0 40px rgba(0,0,0,.15);
    transform:translateX(100%); transition:transform .3s ease; overflow-y:auto;
  }
  nav.main-nav.open{ transform:translateX(0); }
  nav.main-nav a{ width:100%; }
  nav.main-nav .dropdown-menu{ position:static; opacity:1; visibility:visible; transform:none; box-shadow:none; display:none; margin-left:10px; border:none; padding:0; }
  nav.main-nav .dropdown.open .dropdown-menu{ display:block; }
  .nav-toggle{ display:block; }
  .header-phone .label{ display:none; }
  .hero-grid{ grid-template-columns:1fr; }
  .detail-hero{ grid-template-columns:1fr; }
  .gallery-grid{ grid-template-columns:repeat(2,1fr); }
  .gallery-item.tall{ grid-row:span 1; }
  body{ padding-bottom:64px; }
  .mobile-callbar{ display:block; }
}
@media (max-width:760px){
  .grid-5, .grid-3, .grid-2{ grid-template-columns:1fr; }
  .steps{ grid-template-columns:1fr; }
  .stats-strip{ grid-template-columns:1fr 1fr; }
  .footer-grid{ grid-template-columns:1fr; }
  .form-grid{ grid-template-columns:1fr; }
  .cta-band{ flex-direction:column; text-align:center; justify-content:center; }
  section{ padding:60px 0; }
  .topbar .topbar-left span:nth-child(2){ display:none; }
}
