/* ============================================================
   Walt's Fencing — static site stylesheet
   Palette: deep navy + safety yellow (construction/fencing)
   Fonts: Oswald (display) + Work Sans (body)
   ============================================================ */

:root {
  --navy: #0b2239;
  --navy-2: #12314f;
  --navy-3: #1a4064;
  --blue: #2f7fc1;
  --yellow: #f7b500;
  --yellow-2: #ffcc33;
  --light: #f4f7fa;
  --gray: #6b7a8a;
  --text: #1c2733;
  --white: #ffffff;
  --radius: 10px;
  --shadow: 0 8px 30px rgba(11, 34, 57, 0.12);
  --shadow-lg: 0 16px 45px rgba(11, 34, 57, 0.18);
  --font-head: 'Oswald', sans-serif;
  --font-body: 'Work Sans', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--navy); }

.container { width: min(1180px, 92%); margin: 0 auto; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.15;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.section { padding: 84px 0; }
.section-alt { background: var(--light); }

.section-header { max-width: 720px; margin: 0 auto 52px; text-align: center; }
.section-header .kicker {
  display: inline-block;
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 13px;
  font-weight: 500;
  color: var(--yellow);
  background: rgba(247, 181, 0, 0.12);
  padding: 6px 16px;
  border-radius: 30px;
  margin-bottom: 14px;
}
.section-header h2 { font-size: clamp(28px, 4vw, 42px); margin-bottom: 14px; }
.section-header p { color: var(--gray); font-size: 17px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 14px 30px;
  border-radius: 6px;
  transition: all 0.25s ease;
  cursor: pointer;
  border: none;
}
.btn-yellow { background: var(--yellow); color: var(--navy); }
.btn-yellow:hover { background: var(--yellow-2); color: var(--navy); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(247, 181, 0, 0.35); }
.btn-outline { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,0.85); }
.btn-outline:hover { background: rgba(255,255,255,0.12); color: var(--white); transform: translateY(-2px); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-2); color: var(--white); transform: translateY(-2px); }

/* ---------- Topbar ---------- */
.topbar {
  background: var(--navy);
  color: rgba(255,255,255,0.85);
  font-size: 13.5px;
  padding: 8px 0;
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 6px; }
.topbar a { color: var(--yellow); font-weight: 600; }
.topbar .topbar-right { display: flex; align-items: center; gap: 18px; }
.topbar .tb-badge { color: rgba(255,255,255,0.9); }
.topbar svg { vertical-align: -3px; margin-right: 5px; }

/* Single product page — breathing room above the product title
   (prodttl is unique to the theme-builder single-product template) */
.elementor-element-prodttl { margin-top: 32px !important; }

/* ---------- Product image magnifier (desktop only) ---------- */
.wf-zoom-lens {
  position: fixed;
  width: 260px;
  height: 260px;
  border-radius: 18px;
  border: 3px solid var(--white);
  box-shadow: 0 12px 32px rgba(11, 34, 57, 0.35), 0 0 0 1px rgba(11,34,57,0.08);
  background-repeat: no-repeat;
  pointer-events: none;
  z-index: 9999;
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.18s ease, transform 0.18s ease;
}
.wf-zoom-lens.wf-zoom-on {
  opacity: 1;
  transform: scale(1);
}
.wf-zoom-cursor {
  cursor: zoom-in;
}
/* Touch / small screens: slightly smaller lens that floats above the finger,
   and lock the gallery so a drag magnifies instead of scrolling the page */
@media (hover: none), (pointer: coarse), (max-width: 992px) {
  .wf-zoom-lens { width: 220px; height: 220px; }
  .woocommerce-product-gallery { touch-action: none; }
  .wf-zoom-cursor { cursor: default; }
}

/* ---------- Header ---------- */
.sticky-header { position: sticky; top: 0; z-index: 900; background: var(--white); box-shadow: 0 2px 12px rgba(11,34,57,0.08); }

/* ---------- Elementor chrome cleanup (shared, all pages) ---------- */
/* Kill the WP theme-compat legacy footer ("proudly powered by WordPress") that
   leaks under theme-builder templates (shop / product / 404). Our own footer is
   <footer class="footer"> — no id — so this never touches it. */
#footer, div#footer, #page > #footer { display: none !important; }

/* Zero Elementor container padding — LLM pages are full-bleed (topbar/header/footer
   must sit flush to the viewport edges). Overrides Elementor's default
   .e-con-full / .e-con-inner 10px padding without editing plugin files. */
.e-con-full, .e-con > .e-con-inner {
  padding: 0 !important;
}
.header-main .container { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; }
.logo { display: flex; align-items: center; gap: 12px; }
.logo img { width: 52px; height: 52px; border-radius: 50%; }
.logo-text h1 { font-size: 24px; color: var(--navy); letter-spacing: 1px; }
.logo-text span { display: block; font-family: var(--font-body); font-size: 11.5px; letter-spacing: 2.5px; text-transform: uppercase; color: var(--gray); font-weight: 500; }
.header-cta { display: flex; align-items: center; gap: 18px; }
.header-phone { display: flex; align-items: center; gap: 10px; }
.header-phone .hp-icon {
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(247, 181, 0, 0.15); color: var(--yellow);
  display: flex; align-items: center; justify-content: center;
}
.header-phone .hp-label { font-size: 11.5px; text-transform: uppercase; letter-spacing: 1.5px; color: var(--gray); font-weight: 600; }
.header-phone .hp-number { font-family: var(--font-head); font-size: 21px; font-weight: 600; color: var(--navy); letter-spacing: 0.5px; }

/* ---------- Navbar ---------- */
.navbar { background: var(--navy-2); }
.navbar .container { display: flex; align-items: center; justify-content: space-between; }
.nav-links { display: flex; list-style: none; }
.nav-links li a {
  display: block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 14.5px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255,255,255,0.88);
  padding: 16px 20px;
  transition: color 0.2s, background 0.2s;
  border-bottom: 3px solid transparent;
}
.nav-links li a:hover { color: var(--yellow); background: rgba(255,255,255,0.06); }
.nav-links li.current-menu-item a,
.nav-links li.active a { color: var(--yellow); border-bottom-color: var(--yellow); }
.nav-quote { padding: 10px 0; }
.nav-quote .btn { padding: 10px 22px; font-size: 13.5px; }

.nav-toggle {
  display: none;
  background: none; border: none; cursor: pointer;
  padding: 12px 0;
}
.nav-toggle span {
  display: block; width: 26px; height: 3px;
  background: var(--white); margin: 5px 0;
  border-radius: 2px; transition: 0.3s;
}

/* ---------- Hero (home) ---------- */
.hero {
  position: relative;
  min-height: 640px;
  display: flex; align-items: center;
  background-size: cover; background-position: center;
  color: var(--white);
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(11,34,57,0.92) 0%, rgba(11,34,57,0.72) 45%, rgba(11,34,57,0.25) 100%);
}
.hero .container { position: relative; z-index: 2; padding: 90px 0; }
.hero .kicker {
  display: inline-block;
  font-family: var(--font-head); text-transform: uppercase; letter-spacing: 2.5px;
  font-size: 14px; font-weight: 500; color: var(--yellow);
  background: rgba(247,181,0,0.15); border: 1px solid rgba(247,181,0,0.4);
  padding: 8px 18px; border-radius: 30px; margin-bottom: 22px;
}
.hero h1 {
  font-size: clamp(38px, 6vw, 68px);
  color: var(--white);
  max-width: 720px;
  margin-bottom: 20px;
  text-shadow: 0 4px 24px rgba(0,0,0,0.35);
}
.hero h1 em { font-style: normal; color: var(--yellow); }
.hero p.lead { font-size: 19px; color: rgba(255,255,255,0.92); max-width: 600px; margin-bottom: 34px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 54px; }
.hero-stats { display: flex; gap: 48px; flex-wrap: wrap; }
.hero-stat { }
.hero-stat .num { font-family: var(--font-head); font-size: 40px; font-weight: 600; color: var(--yellow); line-height: 1; }
.hero-stat .lbl { font-size: 13.5px; text-transform: uppercase; letter-spacing: 1.5px; color: rgba(255,255,255,0.8); margin-top: 6px; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative;
  background-size: cover; background-position: center;
  padding: 110px 0 90px;
  color: var(--white);
}
.page-hero::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(11,34,57,0.94), rgba(11,34,57,0.65));
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero .crumb { font-size: 13px; text-transform: uppercase; letter-spacing: 2px; color: var(--yellow); margin-bottom: 10px; font-weight: 600; }
.page-hero h1 { font-size: clamp(34px, 5vw, 52px); color: var(--white); }
.page-hero p { color: rgba(255,255,255,0.9); max-width: 640px; margin-top: 12px; font-size: 17px; }

/* ---------- Trust bar ---------- */
.trust-bar { background: var(--white); border-bottom: 1px solid #e8eef4; }
.trust-bar .container { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; padding: 26px 0; }
.trust-item { display: flex; align-items: center; gap: 14px; padding: 10px 6px; }
.trust-item .ti-icon {
  flex: 0 0 52px; width: 52px; height: 52px;
  border-radius: 12px; background: rgba(247,181,0,0.14); color: var(--yellow);
  display: flex; align-items: center; justify-content: center;
}
.trust-item h4 { font-size: 15.5px; text-transform: uppercase; letter-spacing: 0.8px; margin-bottom: 2px; }
.trust-item p { font-size: 13.5px; color: var(--gray); }

/* ---------- Services grid ---------- */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.service-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex; flex-direction: column;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.service-card .sc-img { height: 210px; background-size: cover; background-position: center; position: relative; }
.service-card .sc-img .sc-tag {
  position: absolute; top: 14px; left: 14px;
  background: var(--yellow); color: var(--navy);
  font-family: var(--font-head); font-size: 12px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 1px;
  padding: 5px 12px; border-radius: 4px;
}
.service-card .sc-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.service-card h3 { font-size: 19px; margin-bottom: 10px; }
.service-card p { font-size: 14.5px; color: var(--gray); margin-bottom: 16px; flex: 1; }
.service-card .sc-link { font-family: var(--font-head); font-size: 13.5px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; color: var(--blue); display: inline-flex; align-items: center; gap: 6px; }
.service-card .sc-link:hover { color: var(--navy); }

/* ---------- Features / why choose ---------- */
.features-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px 40px; }
.feature-item { display: flex; gap: 16px; }
.feature-item .fi-icon {
  flex: 0 0 46px; width: 46px; height: 46px;
  border-radius: 10px; background: var(--navy); color: var(--yellow);
  display: flex; align-items: center; justify-content: center;
}
.feature-item h3 { font-size: 17px; margin-bottom: 6px; }
.feature-item p { font-size: 14.5px; color: var(--gray); }

/* ---------- Split section ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split .split-img { border-radius: var(--radius); box-shadow: var(--shadow-lg); height: 100%; min-height: 380px; background-size: cover; background-position: center; }
.split .kicker {
  display: inline-block; font-family: var(--font-head); text-transform: uppercase;
  letter-spacing: 2px; font-size: 13px; font-weight: 500; color: var(--yellow);
  background: rgba(247,181,0,0.12); padding: 6px 16px; border-radius: 30px; margin-bottom: 14px;
}
.split h2 { font-size: clamp(28px, 3.6vw, 40px); margin-bottom: 16px; }
.split p { color: var(--gray); margin-bottom: 14px; font-size: 15.5px; }
.check-list { list-style: none; margin: 20px 0 26px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; }
.check-list li { position: relative; padding-left: 30px; font-size: 15px; font-weight: 500; color: var(--navy); }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 3px;
  width: 19px; height: 19px; border-radius: 50%;
  background: rgba(247,181,0,0.18); color: var(--yellow);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f7b500' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
  background-size: 12px; background-position: center; background-repeat: no-repeat;
}

/* ---------- Process steps ---------- */
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.step-card {
  background: var(--white); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 30px 26px; text-align: center;
  border-top: 4px solid var(--yellow);
}
.step-card .step-num {
  width: 58px; height: 58px; margin: 0 auto 16px;
  border-radius: 50%; background: var(--navy); color: var(--yellow);
  font-family: var(--font-head); font-size: 26px; font-weight: 600;
  display: flex; align-items: center; justify-content: center;
}
.step-card h3 { font-size: 17px; margin-bottom: 8px; }
.step-card p { font-size: 14px; color: var(--gray); }

/* ---------- Gallery ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.gallery-item {
  position: relative; border-radius: var(--radius); overflow: hidden;
  height: 260px; background-size: cover; background-position: center;
  cursor: pointer;
}
.gallery-item .gi-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(11,34,57,0.85), transparent 55%);
  opacity: 0; transition: opacity 0.3s;
  display: flex; align-items: flex-end; padding: 18px;
}
.gallery-item:hover .gi-overlay { opacity: 1; }
.gallery-item .gi-overlay h4 { color: var(--white); font-size: 16px; }
.gallery-item .gi-overlay span { color: var(--yellow); font-size: 12.5px; text-transform: uppercase; letter-spacing: 1px; }

/* ---------- Testimonials ---------- */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.testi-card {
  background: var(--white); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 30px;
  display: flex; flex-direction: column;
}
.testi-card .stars { color: var(--yellow); font-size: 17px; letter-spacing: 3px; margin-bottom: 14px; }
.testi-card p { font-size: 15px; color: var(--text); font-style: italic; margin-bottom: 18px; flex: 1; }
.testi-card .who { display: flex; align-items: center; gap: 12px; }
.testi-card .who .avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--navy); color: var(--yellow);
  font-family: var(--font-head); font-weight: 600;
  display: flex; align-items: center; justify-content: center; font-size: 17px;
}
.testi-card .who .name { font-weight: 600; color: var(--navy); font-size: 15px; }
.testi-card .who .where { font-size: 13px; color: var(--gray); }

/* ---------- CTA band ---------- */
.cta-band { background: var(--yellow); position: relative; overflow: hidden; }
.cta-band .container { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 52px 0; flex-wrap: wrap; }
.cta-band h2 { color: var(--navy); font-size: clamp(26px, 3.4vw, 38px); }
.cta-band p { color: rgba(11,34,57,0.8); font-size: 16.5px; margin-top: 8px; max-width: 640px; }
.cta-band .btn-navy { box-shadow: 0 10px 26px rgba(11,34,57,0.3); }

/* ---------- Service area ---------- */
.service-area { background: var(--navy); color: rgba(255,255,255,0.85); }
.service-area .section-header h2 { color: var(--white); }
.service-area .section-header p { color: rgba(255,255,255,0.7); }
.area-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; max-width: 900px; margin: 0 auto; }
.area-tags span {
  font-family: var(--font-head); text-transform: uppercase; letter-spacing: 1px; font-size: 13.5px;
  border: 1px solid rgba(255,255,255,0.25); color: rgba(255,255,255,0.9);
  padding: 9px 18px; border-radius: 30px; background: rgba(255,255,255,0.05);
}

/* ---------- FAQ ---------- */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item {
  background: var(--white); border-radius: 10px;
  box-shadow: var(--shadow); margin-bottom: 14px; overflow: hidden;
}
.faq-item .faq-q {
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px 26px; cursor: pointer;
  font-family: var(--font-head); font-weight: 600; font-size: 16.5px;
  text-transform: uppercase; letter-spacing: 0.5px; color: var(--navy);
}
.faq-item .faq-q .arrow { color: var(--yellow); font-size: 20px; transition: transform 0.3s; }
.faq-item.open .faq-q .arrow { transform: rotate(45deg); }
.faq-item .faq-a { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.faq-item .faq-a p { padding: 0 26px 22px; color: var(--gray); font-size: 15px; }
.faq-item.open .faq-a { max-height: 400px; }

/* ---------- Contact page ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; }
.contact-card {
  background: var(--white); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 30px; margin-bottom: 22px;
  display: flex; gap: 18px; align-items: flex-start;
}
.contact-card .cc-icon {
  flex: 0 0 50px; width: 50px; height: 50px; border-radius: 12px;
  background: rgba(247,181,0,0.14); color: var(--yellow);
  display: flex; align-items: center; justify-content: center;
}
.contact-card h3 { font-size: 16.5px; margin-bottom: 4px; }
.contact-card p { font-size: 15px; color: var(--gray); }
.contact-card a { color: var(--navy); font-weight: 600; }
.contact-form {
  background: var(--white); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 36px;
}
.contact-form h3 { font-size: 22px; margin-bottom: 22px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; color: var(--navy); margin-bottom: 6px; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 13px 15px;
  border: 1.5px solid #dbe4ec; border-radius: 8px;
  font-family: var(--font-body); font-size: 15px; color: var(--text);
  background: var(--light); transition: border 0.2s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--yellow); background: var(--white);
}
.form-note { font-size: 13px; color: var(--gray); margin-top: 12px; }
.form-success {
  display: none; margin-top: 16px; padding: 14px 18px;
  background: #e8f7ee; color: #1e7a45; border-radius: 8px; font-size: 14.5px;
}

/* ---------- Footer ---------- */
.footer { background: var(--navy); color: rgba(255,255,255,0.8); }
.footer-top .container { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding: 60px 0 44px; }
.footer h4 {
  color: var(--white); font-size: 16px; letter-spacing: 1px;
  margin-bottom: 18px; position: relative; padding-bottom: 10px;
}
.footer h4::after { content: ""; position: absolute; left: 0; bottom: 0; width: 34px; height: 3px; background: var(--yellow); border-radius: 2px; }
.footer .f-about p { font-size: 14.5px; margin-bottom: 18px; }
.footer .f-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.footer .f-logo img { width: 44px; height: 44px; border-radius: 50%; }
.footer .f-logo span { font-family: var(--font-head); font-size: 20px; color: var(--white); text-transform: uppercase; letter-spacing: 1px; }
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 10px; }
.footer ul li a { color: rgba(255,255,255,0.75); font-size: 14.5px; }
.footer ul li a:hover { color: var(--yellow); }
.footer .f-contact li { display: flex; gap: 10px; font-size: 14.5px; align-items: flex-start; }
.footer .f-contact svg { flex: 0 0 18px; margin-top: 3px; color: var(--yellow); }
.footer .f-contact a { color: var(--yellow); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); }
.footer-bottom .container { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 20px 0; font-size: 13.5px; flex-wrap: wrap; }
.footer-bottom a { color: rgba(255,255,255,0.7); }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ---------- Mobile menu ---------- */
.mobile-menu {
  display: none; position: fixed; inset: 0; z-index: 1001;
  background: var(--navy);
  padding: 90px 30px 30px;
  overflow-y: auto;
}
.mobile-menu.open { display: block; }
.mobile-menu a.mm-close {
  position: absolute; top: 22px; right: 24px;
  color: var(--white); font-size: 34px; line-height: 1;
}
.mobile-menu ul { list-style: none; }
.mobile-menu ul li { border-bottom: 1px solid rgba(255,255,255,0.12); }
.mobile-menu ul li a {
  display: block; padding: 17px 6px;
  font-family: var(--font-head); text-transform: uppercase; letter-spacing: 1.5px;
  font-size: 19px; color: rgba(255,255,255,0.92);
}
.mobile-menu ul li a:hover { color: var(--yellow); }
.mobile-menu .mm-cta { margin-top: 28px; text-align: center; }
.mobile-menu .mm-phone { text-align: center; margin-top: 18px; }
.mobile-menu .mm-phone a { font-family: var(--font-head); font-size: 22px; color: var(--yellow); letter-spacing: 1px; }

/* ---------- Lightbox ---------- */
.lightbox {
  display: none; position: fixed; inset: 0; z-index: 1100;
  background: rgba(11, 34, 57, 0.92);
  align-items: center; justify-content: center; flex-direction: column;
  cursor: zoom-out; padding: 30px;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: min(1000px, 92vw); max-height: 80vh; border-radius: 8px; box-shadow: 0 20px 60px rgba(0,0,0,0.5); }
.lightbox .lb-cap { color: var(--white); font-family: var(--font-head); text-transform: uppercase; letter-spacing: 1.5px; margin-top: 16px; font-size: 15px; }

/* ============================================================
   SHOP PAGE
   ============================================================ */

/* ---------- Shop hero carousel (300px full-width) ---------- */
.shop-hero {
  width: 100%;
  background: var(--navy);
  padding: 18px 0 22px;
}
.shop-carousel {
  position: relative;
  width: min(1180px, 92%);
  margin: 0 auto;
  height: 300px;
}
.slide {
  position: absolute;
  inset: 0;
  border-radius: 20px;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: scale(0.985);
  transition: opacity 0.7s ease, transform 0.7s ease, visibility 0.7s;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
}
.slide.active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
  z-index: 2;
}
.slide-bg {
  position: absolute;
  inset: -4%;
  background-size: cover;
  background-position: center;
  animation: kenburns 14s ease-in-out infinite alternate;
}
@keyframes kenburns {
  0%   { transform: scale(1) translate(0, 0); }
  100% { transform: scale(1.1) translate(-1.5%, 1%); }
}
.slide-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(95deg, rgba(11, 34, 57, 0.9) 0%, rgba(11, 34, 57, 0.66) 38%, rgba(11, 34, 57, 0.34) 62%, rgba(11, 34, 57, 0.66) 100%);
}
.slide-meta {
  position: absolute;
  top: 0;
  right: 0;
  width: 46%;
  height: 100%;
  padding: 26px 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  color: var(--white);
  text-align: left;
  z-index: 3;
  animation: metaIn 0.8s ease both;
}
.slide.active .slide-meta { animation: metaIn 0.8s ease 0.25s both; }
@keyframes metaIn {
  from { opacity: 0; transform: translateX(34px); }
  to   { opacity: 1; transform: translateX(0); }
}
.sm-tag {
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--yellow);
  background: rgba(247, 181, 0, 0.16);
  border: 1px solid rgba(247, 181, 0, 0.45);
  padding: 5px 13px;
  border-radius: 30px;
  margin-bottom: 12px;
}
.slide-meta h2 {
  color: var(--white);
  font-size: clamp(20px, 2.4vw, 30px);
  margin-bottom: 8px;
  line-height: 1.15;
}
.sm-desc { font-size: 14px; color: rgba(255, 255, 255, 0.88); margin-bottom: 12px; max-width: 420px; }
.sm-specs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.sm-specs span {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 4px 11px;
  border-radius: 20px;
}
.sm-price { font-size: 15px; color: rgba(255, 255, 255, 0.92); margin-bottom: 14px; }
.sm-price strong { font-family: var(--font-head); font-size: 24px; color: var(--yellow); letter-spacing: 0.5px; }
.sm-btn { padding: 12px 24px; font-size: 14px; }
.car-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: none;
  background: rgba(11, 34, 57, 0.55);
  color: var(--white);
  font-size: 17px;
  cursor: pointer;
  transition: background 0.25s;
  backdrop-filter: blur(4px);
}
.car-arrow:hover { background: var(--yellow); color: var(--navy); }
.car-prev { left: 14px; }
.car-next { right: 14px; }
.car-dots {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  gap: 8px;
}
.car-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  transition: background 0.25s, transform 0.25s;
}
.car-dot.active { background: var(--yellow); transform: scale(1.3); }

/* ---------- Shop body layout ---------- */
.shop-body { padding: 46px 0 70px; background: var(--light); }
.shop-wrap { display: grid; grid-template-columns: 250px 1fr; gap: 32px; align-items: start; }

/* sidebar */
.shop-sidebar {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px;
  position: sticky;
  top: 140px;
}
.shop-sidebar h3 {
  font-size: 17px;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--yellow);
}
.cat-list { list-style: none; max-height: 420px; overflow-y: auto; }
.cat-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 9px 12px;
  margin-bottom: 4px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.cat-item:hover { background: rgba(247, 181, 0, 0.12); }
.cat-item.active { background: var(--navy); color: var(--white); }
.cat-count {
  font-size: 11.5px;
  font-weight: 700;
  background: rgba(11, 34, 57, 0.08);
  color: var(--navy);
  padding: 2px 9px;
  border-radius: 20px;
}
.cat-item.active .cat-count { background: var(--yellow); color: var(--navy); }
.sidebar-help {
  margin-top: 18px;
  padding: 16px;
  border-radius: 10px;
  background: var(--light);
  border: 1px solid #e3eaf1;
}
.sidebar-help h4 { font-size: 14.5px; margin-bottom: 6px; }
.sidebar-help p { font-size: 13px; color: var(--gray); margin-bottom: 12px; }

/* toolbar */
.shop-toolbar {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 16px 18px;
  margin-bottom: 22px;
}
.tool-search input {
  width: 100%;
  padding: 12px 15px;
  border: 1.5px solid #dbe4ec;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 14.5px;
  background: var(--light);
  margin-bottom: 12px;
}
.tool-search input:focus { outline: none; border-color: var(--yellow); background: var(--white); }
.tool-selects { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.tool-selects select {
  width: 100%;
  padding: 10px 12px;
  border: 1.5px solid #dbe4ec;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 13.5px;
  background: var(--light);
  color: var(--text);
}
.tool-selects select:focus { outline: none; border-color: var(--yellow); }
.tool-result {
  margin-top: 12px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--gray);
}

/* Filter toggle — desktop hidden, mobile shows next to search */
.tool-filter-toggle {
  display: none;
  flex: 0 0 auto;
  align-self: stretch;
  padding: 0 14px;
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--navy);
  background: none;
  border: 1.5px solid var(--navy);
  border-radius: 8px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s, color 0.2s;
}
.tool-filter-toggle:hover { background: var(--navy); color: var(--yellow); }

/* grid */
.shop-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.product-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}
.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.pc-img {
  height: 150px;
  background-size: cover;
  background-position: center;
  position: relative;
}
.pc-color {
  position: absolute;
  top: 10px;
  left: 10px;
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--white);
  padding: 4px 10px;
  border-radius: 4px;
}
.pc-color-black { background: #16191d; }
.pc-color-green { background: #2e7d32; }
.pc-body { padding: 15px 16px 17px; display: flex; flex-direction: column; flex: 1; }
.pc-name { font-size: 15.5px; margin-bottom: 9px; line-height: 1.25; }
.pc-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 11px; }
.chip {
  font-size: 11px;
  font-weight: 600;
  color: var(--navy);
  background: var(--light);
  border: 1px solid #dbe4ec;
  padding: 3px 9px;
  border-radius: 20px;
}
.pc-price {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 12px;
  margin-top: auto;
}
.pc-btn { width: 100%; text-align: center; padding: 11px 14px; font-size: 13.5px; background: var(--yellow); color: var(--navy); }
.pc-btn:hover { background: var(--yellow-2); color: var(--navy); transform: translateY(-1px); box-shadow: 0 6px 16px rgba(247, 181, 0, 0.35); }
.shop-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 20px;
  color: var(--gray);
  font-size: 16px;
  background: var(--white);
  border-radius: var(--radius);
}

/* pager */
.shop-pager { display: flex; justify-content: center; gap: 8px; margin-top: 26px; flex-wrap: wrap; }
.pager-btn {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  border: 1.5px solid #dbe4ec;
  background: var(--white);
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  transition: all 0.2s;
}
.pager-btn:hover { border-color: var(--yellow); }
.pager-btn.active { background: var(--navy); color: var(--white); border-color: var(--navy); }

/* shop responsive */
@media (max-width: 1100px) {
  .shop-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .shop-wrap { grid-template-columns: 1fr; }
  .shop-sidebar { position: static; }
  .cat-list { max-height: 240px; }
  .slide-meta { width: 62%; }
  .shop-hero { padding: 12px 0 16px; }
  .shop-carousel { height: 320px; }

  /* mobile: sticky toolbar, shortened search + collapsible filters */
  .shop-toolbar {
    position: sticky;
    top: var(--wf-sticky-top, 188px);
    z-index: 850;
  }
  .tool-search { display: flex; align-items: stretch; gap: 10px; margin-bottom: 12px; }
  .tool-search input { flex: 1 1 auto; min-width: 0; margin-bottom: 0; }
  .tool-filter-toggle { display: inline-block; }
  .tool-selects { display: none; }
  .shop-toolbar.filters-open .tool-selects {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 640px) {
  .shop-carousel { height: 400px; }
  .slide-meta { width: 100%; padding: 18px 20px; }
  .sm-desc { display: none; }
  .sm-specs { display: none; }
  .slide-meta h2 { font-size: 19px; }
  .tool-selects { grid-template-columns: repeat(2, 1fr); }
  .shop-grid { grid-template-columns: 1fr; }
  .car-arrow { width: 34px; height: 34px; font-size: 14px; }
}

/* ---------- Responsive ---------- */
@media (max-width: 992px) {
  .services-grid, .testi-grid, .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-bar .container { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 34px; }
  .footer-top .container { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .nav-links, .nav-quote { display: none; }
  .nav-toggle { display: block; }
  .navbar .container { justify-content: space-between; }
  .hero { min-height: 560px; }
}

@media (max-width: 640px) {
  .section { padding: 60px 0; }
  .services-grid, .testi-grid, .gallery-grid, .steps-grid, .features-grid { grid-template-columns: 1fr; }
  .trust-bar .container { grid-template-columns: 1fr; }
  .footer-top .container { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .header-cta .btn { display: none; }
  .topbar .tb-badge { display: none; }
  .topbar .container { justify-content: center; }
  .hero-stats { gap: 24px; }
  .hero-stat .num { font-size: 32px; }
  .cta-band .container { justify-content: center; text-align: center; }
  .check-list { grid-template-columns: 1fr; }
}

/* ================= Shop Mega Menu (desktop) ================= */
.shop-mega {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(12px);
  width: min(1180px, 92%);
  background: var(--white);
  border-radius: 14px;
  box-shadow: 0 18px 45px rgba(11, 34, 57, 0.18);
  border: 1px solid #e3e8ee;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
  z-index: 950;
  padding: 22px;
  pointer-events: none;
}
.sticky-header.mega-open .shop-mega,
.shop-mega:hover {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}
.shop-mega-inner {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 22px;
  align-items: stretch;
}
/* Featured product (left) */
.mega-featured {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: 12px;
  overflow: hidden;
  background: var(--navy-2);
  color: #fff;
  text-decoration: none;
  min-height: 100%;
}
.mega-featured img {
  width: 100%;
  height: 170px;
  object-fit: cover;
  display: block;
}
.mega-featured-body {
  padding: 16px 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}
.mega-featured-tag {
  font-family: 'Oswald', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--yellow);
}
.mega-featured-name {
  font-family: 'Oswald', sans-serif;
  font-size: 19px;
  font-weight: 600;
  line-height: 1.25;
}
.mega-featured-price {
  font-size: 14px;
  color: rgba(255,255,255,0.82);
}
.mega-featured-cta {
  margin-top: auto;
  padding-top: 10px;
  font-family: 'Oswald', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--yellow);
}
.mega-featured-cta::after { content: ' \2192'; }
.mega-featured:hover .mega-featured-cta { text-decoration: underline; }
/* Popular grid (right) */
.mega-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.mega-card {
  display: flex;
  flex-direction: column;
  border: 1px solid #e8edf3;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  text-decoration: none;
  color: inherit;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.mega-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 22px rgba(11, 34, 57, 0.12);
  border-color: var(--yellow);
}
.mega-card img {
  width: 100%;
  height: 96px;
  object-fit: cover;
  display: block;
  transition: transform 0.25s ease;
}
.mega-card:hover img { transform: scale(1.05); }
.mega-card-body {
  padding: 10px 12px 12px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex: 1;
}
.mega-card-name {
  font-family: 'Oswald', sans-serif;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.25;
}
.mega-card-meta {
  font-size: 11.5px;
  color: var(--gray);
  line-height: 1.4;
}
.mega-card-price {
  margin-top: auto;
  font-family: 'Oswald', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--yellow);
}
.mega-card-price::before { content: 'From $'; }
/* Hide mega menu on mobile (hamburger handles it) */
@media (max-width: 768px) {
  .shop-mega { display: none !important; }
}
