/* ================================================
   ABSOLUTE WINDOW CO — Main Stylesheet
   ================================================ */

/* ── 1. Variables ─────────────────────────────── */
:root {
  --navy:        #0a1628;
  --navy-mid:    #112040;
  --navy-light:  #1a3060;
  --gold:        #c9a84c;
  --gold-light:  #dfc06a;
  --gold-pale:   #fdf8ec;
  --white:       #ffffff;
  --off-white:   #f9fafb;
  --gray-100:    #f3f4f6;
  --gray-200:    #e5e7eb;
  --gray-400:    #9ca3af;
  --gray-600:    #4b5563;
  --text:        #111827;
  --text-light:  #6b7280;

  --shadow-sm:  0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.05);
  --shadow:     0 4px 12px rgba(0,0,0,.10);
  --shadow-lg:  0 20px 40px rgba(0,0,0,.15);

  --max-w:      1280px;
  --nav-h:      80px;
  --r:          8px;
  --r-lg:       16px;
  --ease:       all 0.3s cubic-bezier(.4,0,.2,1);
}

/* ── 2. Reset & Base ──────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a  { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }

/* ── 3. Typography ────────────────────────────── */
h1,h2,h3,h4,h5,h6 {
  font-family: 'Montserrat', 'Segoe UI', system-ui, sans-serif;
  font-weight: 700;
  line-height: 1.2;
  color: var(--navy);
}
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.5rem); }
h4 { font-size: 1.125rem; }

p { color: var(--text-light); line-height: 1.8; }

/* ── 4. Layout Utilities ──────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: 2rem;
}

.section { padding: 5rem 0; }
.section--gray { background: var(--off-white); }
.section--navy { background: var(--navy); }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }

.flex-center { display: flex; align-items: center; justify-content: center; }
.text-center { text-align: center; }

/* ── 5. Buttons ───────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .875rem 2rem;
  border-radius: var(--r);
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: .02em;
  transition: var(--ease);
  white-space: nowrap;
}

.btn-primary {
  background: var(--gold);
  color: var(--navy);
}
.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(201,168,76,.35);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,.6);
}
.btn-outline:hover {
  background: rgba(255,255,255,.1);
  border-color: var(--white);
}

.btn-navy {
  background: var(--navy);
  color: var(--white);
}
.btn-navy:hover {
  background: var(--navy-mid);
  transform: translateY(-2px);
}

.btn-lg { padding: 1rem 2.5rem; font-size: 1rem; }

/* ── 6. Section Headings ──────────────────────── */
.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}
.section-header .eyebrow {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .75rem;
}
.section-header h2 { margin-bottom: 1rem; }
.section-header p  { max-width: 600px; margin-inline: auto; }
.section-header .gold-line {
  display: block;
  width: 50px;
  height: 3px;
  background: var(--gold);
  border-radius: 2px;
  margin: 1rem auto 0;
}

/* White variant */
.section-header--white h2,
.section-header--white .eyebrow { color: var(--white); }
.section-header--white p { color: rgba(255,255,255,.7); }

/* ── 7. Navigation ────────────────────────────── */
#nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: var(--ease);
}

#nav.transparent { background: transparent; }
#nav.solid {
  background: var(--white);
  box-shadow: 0 2px 20px rgba(0,0,0,.1);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: 2rem;
}

/* Logo */
.logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
  gap: 2px;
}
.logo-line1 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: .08em;
  color: var(--white);
  transition: var(--ease);
}
.logo-line2 {
  font-family: 'Montserrat', sans-serif;
  font-size: .65rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
}
#nav.solid .logo-line1 { color: var(--navy); }

.logo-accent {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--gold);
  border-radius: 1px;
  margin-right: 6px;
  transform: rotate(45deg);
  vertical-align: middle;
  margin-bottom: 2px;
}

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav-links a {
  font-family: 'Montserrat', sans-serif;
  font-size: .875rem;
  font-weight: 600;
  letter-spacing: .02em;
  color: rgba(255,255,255,.9);
  transition: var(--ease);
  position: relative;
  white-space: nowrap;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--gold);
  border-radius: 1px;
  transition: var(--ease);
}
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }
.nav-links a:hover { color: var(--white); }

#nav.solid .nav-links a { color: var(--navy); }
#nav.solid .nav-links a:hover { color: var(--gold); }

/* Products dropdown */
.nav-dropdown { position: relative; }

.nav-dropdown > a {
  display: flex;
  align-items: center;
  gap: .3rem;
}
.nav-dropdown > a i { font-size: .7rem; transition: var(--ease); }
.nav-dropdown:hover > a i { transform: rotate(180deg); }

.dropdown-menu {
  position: absolute;
  top: calc(100% + 1rem);
  left: 50%;
  transform: translateX(-50%);
  background: var(--white);
  border-radius: var(--r);
  box-shadow: var(--shadow-lg);
  padding: .75rem;
  min-width: 220px;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(-8px);
  transition: var(--ease);
  border-top: 3px solid var(--gold);
}
.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.dropdown-menu a {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .65rem 1rem;
  border-radius: var(--r);
  color: var(--navy) !important;
  font-size: .875rem;
  transition: var(--ease);
}
.dropdown-menu a::after { display: none; }
.dropdown-menu a:hover { background: var(--gold-pale); color: var(--gold) !important; }
.dropdown-menu a i { width: 18px; color: var(--gold); font-size: .9rem; }

/* Nav right */
.nav-right {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}
.nav-phone {
  display: flex;
  align-items: center;
  gap: .4rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: .9rem;
  color: rgba(255,255,255,.9);
  transition: var(--ease);
  white-space: nowrap;
}
.nav-phone i { color: var(--gold); }
#nav.solid .nav-phone { color: var(--navy); }

/* Header CTA — scoped to nav only so page CTAs are unaffected */
#nav .nav-right .btn-primary {
  padding: 1rem 2.25rem;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: .03em;
  box-shadow: 0 4px 14px rgba(201,168,76,.28);
}
#nav .nav-right .btn-primary:hover {
  box-shadow: 0 10px 24px rgba(201,168,76,.45);
  transform: translateY(-2px);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  cursor: pointer;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--ease);
}
#nav.solid .hamburger span { background: var(--navy); }

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--navy);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  transform: translateX(100%);
  transition: transform .35s ease;
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu a {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  transition: var(--ease);
}
.mobile-menu a:hover { color: var(--gold); }
.mobile-menu .mobile-phone {
  color: var(--gold);
  font-size: 1.1rem;
  margin-top: 1rem;
}
.mobile-close {
  position: absolute;
  top: 1.5rem; right: 2rem;
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
  background: none;
  border: none;
}

/* ── 8. Hero ──────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/Absolute_Front.webp');
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
  transition: transform 8s ease;
}
.hero-bg.loaded { transform: scale(1); }
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(10,22,40,.85) 0%,
    rgba(10,22,40,.6) 60%,
    rgba(10,22,40,.4) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 750px;
  padding: var(--nav-h) 2rem 4rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(201,168,76,.15);
  border: 1px solid rgba(201,168,76,.4);
  color: var(--gold-light);
  border-radius: 100px;
  padding: .4rem 1rem;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.hero-badge i { font-size: .75rem; }

.hero-content h1 {
  color: var(--white);
  margin-bottom: 1.25rem;
  text-shadow: 0 2px 20px rgba(0,0,0,.3);
}

.hero-content h1 em {
  font-style: normal;
  color: var(--gold);
}

.hero-content > p {
  color: rgba(255,255,255,.8);
  font-size: 1.1rem;
  max-width: 580px;
  margin-bottom: 2.5rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: .4rem;
  color: rgba(255,255,255,.7);
  font-size: .85rem;
}
.trust-item i { color: var(--gold); }

/* Page Hero (sub-pages) */
.page-hero {
  position: relative;
  height: 420px;
  display: flex;
  align-items: flex-end;
  padding-bottom: 3.5rem;
  overflow: hidden;
}
.page-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,22,40,.9) 0%, rgba(10,22,40,.4) 100%);
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero-breadcrumb {
  display: flex;
  align-items: center;
  gap: .5rem;
  color: rgba(255,255,255,.6);
  font-size: .85rem;
  margin-bottom: .75rem;
}
.page-hero-breadcrumb a { color: var(--gold); }
.page-hero-breadcrumb i { font-size: .65rem; }
.page-hero h1 { color: var(--white); }
.page-hero p { color: rgba(255,255,255,.75); max-width: 550px; margin-top: .75rem; }

/* ── 9. Stats Bar ─────────────────────────────── */
.stats-bar {
  background: var(--navy-mid);
  border-top: 1px solid rgba(201,168,76,.2);
  border-bottom: 1px solid rgba(201,168,76,.2);
}
.stats-bar .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  divide-y: 0;
}
.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2.25rem 1.5rem;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,.07);
  transition: var(--ease);
}
.stat-item:last-child { border-right: none; }
.stat-item:hover { background: rgba(255,255,255,.03); }
.stat-number {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
  margin-bottom: .35rem;
}
.stat-label {
  font-size: .85rem;
  color: rgba(255,255,255,.6);
  letter-spacing: .04em;
}

/* ── 10. Product Cards ────────────────────────── */
.products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5px;
  background: var(--gray-200);
}

.product-card {
  position: relative;
  height: 420px;
  overflow: hidden;
  cursor: pointer;
}
.product-card:hover .product-card-img { transform: scale(1.06); }
.product-card:hover .product-card-overlay {
  background: linear-gradient(to top, rgba(10,22,40,.95) 0%, rgba(10,22,40,.3) 100%);
}
.product-card:hover .product-card-arrow { transform: translateX(6px); opacity: 1; }

.product-card-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform .6s cubic-bezier(.4,0,.2,1);
}
.product-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,22,40,.88) 0%, rgba(10,22,40,.1) 60%);
  transition: var(--ease);
}
.product-card-content {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 2rem;
  z-index: 1;
}
.product-card-tag {
  display: inline-block;
  background: var(--gold);
  color: var(--navy);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .25rem .7rem;
  border-radius: 100px;
  margin-bottom: .75rem;
}
.product-card h3 { color: var(--white); font-size: 1.6rem; margin-bottom: .5rem; }
.product-card p { color: rgba(255,255,255,.75); font-size: .9rem; margin-bottom: 1rem; }
.product-card-arrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  color: var(--gold);
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: .9rem;
  opacity: .8;
  transition: var(--ease);
}

/* ── 11. Why Choose Us ────────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.feature-card {
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  transition: var(--ease);
}
.feature-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-4px);
  border-color: var(--gold);
}
.feature-icon {
  width: 56px;
  height: 56px;
  background: var(--gold-pale);
  border-radius: var(--r);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--gold);
  font-size: 1.4rem;
  transition: var(--ease);
}
.feature-card:hover .feature-icon {
  background: var(--gold);
  color: var(--navy);
}
.feature-card h4 { color: var(--navy); margin-bottom: .5rem; }
.feature-card p  { font-size: .9rem; }

/* ── 12. Split Section ────────────────────────── */
.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 520px;
}
.split-image {
  background-size: cover;
  background-position: center;
  min-height: 400px;
}
.split-content {
  background: var(--navy);
  padding: 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.split-content .eyebrow { color: var(--gold); font-family: 'Montserrat', sans-serif; font-size: .8rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; margin-bottom: .75rem; }
.split-content h2 { color: var(--white); margin-bottom: 1.5rem; }

.check-list { display: flex; flex-direction: column; gap: .9rem; margin-bottom: 2rem; }
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  color: rgba(255,255,255,.8);
  font-size: .95rem;
}
.check-list li i { color: var(--gold); margin-top: .2rem; flex-shrink: 0; }
.section .check-list li { color: var(--navy); }

/* ── 13. Gallery Grid ─────────────────────────── */
.gallery-preview {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 260px);
  gap: .5rem;
}
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--r);
  cursor: pointer;
}
.gallery-item:first-child {
  grid-row: span 2;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10,22,40,.0);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--ease);
}
.gallery-item:hover .gallery-item-overlay { background: rgba(10,22,40,.5); }
.gallery-item-overlay i {
  color: var(--white);
  font-size: 2rem;
  opacity: 0;
  transition: var(--ease);
}
.gallery-item:hover .gallery-item-overlay i { opacity: 1; }

/* Full gallery grid */
.gallery-full {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.gallery-full .gallery-item {
  height: 280px;
}

/* ── 14. Testimonials ─────────────────────────── */
.testimonial-card {
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  transition: var(--ease);
}
.testimonial-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.stars { display: flex; gap: .2rem; margin-bottom: 1rem; }
.stars i { color: var(--gold); font-size: .9rem; }
.testimonial-card blockquote {
  color: var(--text);
  font-style: italic;
  line-height: 1.7;
  margin-bottom: 1.25rem;
  font-size: .95rem;
}
.testimonial-author { display: flex; align-items: center; gap: .75rem; }
.author-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--gold-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: .9rem;
}
.author-info strong { display: block; color: var(--navy); font-size: .9rem; }
.author-info span { color: var(--text-light); font-size: .8rem; }

/* ── 15. CTA Banner ───────────────────────────── */
.cta-banner {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%; right: -20%;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,168,76,.08) 0%, transparent 70%);
}
.cta-banner .container { position: relative; text-align: center; }
.cta-banner h2 { color: var(--white); margin-bottom: 1rem; }
.cta-banner p { color: rgba(255,255,255,.7); max-width: 550px; margin-inline: auto; margin-bottom: 2.5rem; font-size: 1.05rem; }
.cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ── 16. Accreditations Strip ─────────────────── */
.accred-strip {
  background: var(--off-white);
  padding: 2rem 0;
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
}
.accred-strip .container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}
.accred-item {
  display: flex;
  align-items: center;
  gap: .6rem;
  color: var(--text-light);
  font-size: .85rem;
  font-weight: 500;
}
.accred-item i { color: var(--gold); font-size: 1.2rem; }
.accred-item strong { color: var(--navy); }

/* ── 17. Contact / Quote Form ─────────────────── */
.contact-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 4rem;
  align-items: start;
}

.form-card {
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-200);
}

.form-group {
  margin-bottom: 1.5rem;
}
.form-group label {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: .85rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: .5rem;
}
.form-group label .req { color: var(--gold); }
.form-control {
  width: 100%;
  padding: .8rem 1rem;
  border: 2px solid var(--gray-200);
  border-radius: var(--r);
  font-family: 'Inter', sans-serif;
  font-size: .95rem;
  color: var(--text);
  background: var(--white);
  transition: var(--ease);
  outline: none;
}
.form-control:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(201,168,76,.12);
}
.form-control::placeholder { color: var(--gray-400); }
textarea.form-control { resize: vertical; min-height: 120px; }
select.form-control { cursor: pointer; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.form-submit {
  width: 100%;
  padding: 1rem;
  background: var(--gold);
  color: var(--navy);
  border: none;
  border-radius: var(--r);
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--ease);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
}
.form-submit:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(201,168,76,.3);
}

.contact-info-card {
  background: var(--navy);
  border-radius: var(--r-lg);
  padding: 2.5rem;
  position: sticky;
  top: calc(var(--nav-h) + 2rem);
}
.contact-info-card h3 { color: var(--white); margin-bottom: 1.75rem; }
.contact-detail {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.contact-detail-icon {
  width: 40px;
  height: 40px;
  background: rgba(201,168,76,.15);
  border-radius: var(--r);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  flex-shrink: 0;
}
.contact-detail-text strong {
  display: block;
  color: var(--white);
  font-size: .9rem;
  margin-bottom: .2rem;
}
.contact-detail-text span {
  color: rgba(255,255,255,.6);
  font-size: .85rem;
}

.contact-certass {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,.1);
  display: flex;
  align-items: center;
  gap: 1rem;
}
.certass-badge {
  width: 56px;
  height: 56px;
  background: var(--gold);
  border-radius: var(--r);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: .7rem;
  color: var(--navy);
  text-align: center;
  line-height: 1.2;
  flex-shrink: 0;
}
.contact-certass p { color: rgba(255,255,255,.6); font-size: .8rem; }
.contact-certass strong { color: var(--white); }

/* ── 18. Product Page Specifics ───────────────── */
.product-specs {
  background: var(--off-white);
  border-radius: var(--r-lg);
  padding: 2rem;
  margin-top: 2rem;
}
.product-specs h4 { color: var(--navy); margin-bottom: 1.25rem; }
.spec-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: .75rem 0;
  border-bottom: 1px solid var(--gray-200);
  font-size: .9rem;
}
.spec-row:last-child { border-bottom: none; }
.spec-row span:first-child { color: var(--text-light); }
.spec-row span:last-child { font-weight: 600; color: var(--navy); }

.style-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.style-card {
  border: 2px solid var(--gray-200);
  border-radius: var(--r);
  overflow: hidden;
  text-align: center;
  transition: var(--ease);
  cursor: pointer;
}
.style-card:hover { border-color: var(--gold); transform: translateY(-2px); }
.style-card img { width: 100%; height: 160px; object-fit: cover; }
.style-card p {
  padding: .75rem;
  font-size: .85rem;
  font-weight: 600;
  color: var(--navy);
  font-family: 'Montserrat', sans-serif;
}

/* ── 19. About Page ───────────────────────────── */
.team-card {
  text-align: center;
}
.team-card img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: var(--r-lg);
  margin-bottom: 1.25rem;
}
.team-card h4 { color: var(--navy); margin-bottom: .25rem; }
.team-card span { color: var(--gold); font-size: .85rem; font-weight: 600; }
.team-card p { font-size: .85rem; margin-top: .5rem; }

.timeline {
  position: relative;
  padding-left: 2rem;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 2px;
  background: var(--gold);
  border-radius: 2px;
}
.timeline-item {
  position: relative;
  padding-bottom: 2.5rem;
}
.timeline-item::before {
  content: '';
  position: absolute;
  left: -2.4rem;
  top: .35rem;
  width: 12px; height: 12px;
  background: var(--gold);
  border-radius: 50%;
  border: 3px solid var(--white);
  box-shadow: 0 0 0 2px var(--gold);
}
.timeline-item h4 { color: var(--navy); margin-bottom: .35rem; }
.timeline-year {
  display: inline-block;
  background: var(--gold-pale);
  color: var(--gold);
  font-size: .75rem;
  font-weight: 700;
  padding: .2rem .6rem;
  border-radius: 100px;
  margin-bottom: .5rem;
  font-family: 'Montserrat', sans-serif;
}

/* ── 20. Footer ───────────────────────────────── */
footer {
  background: var(--navy);
  color: rgba(255,255,255,.7);
}
.footer-main {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  padding: 4rem 0 3rem;
}
.footer-brand .logo-line1 { color: var(--white); }
.footer-brand > p {
  color: rgba(255,255,255,.55);
  font-size: .9rem;
  margin: 1rem 0 1.5rem;
  max-width: 280px;
}
.footer-certass-row {
  display: flex;
  align-items: center;
  gap: .75rem;
  background: rgba(201,168,76,.08);
  border: 1px solid rgba(201,168,76,.2);
  border-radius: var(--r);
  padding: .75rem 1rem;
}
.footer-certass-badge {
  background: var(--gold);
  color: var(--navy);
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: .65rem;
  padding: .4rem .5rem;
  border-radius: 4px;
  line-height: 1.2;
  text-align: center;
}
.footer-certass-row span { color: rgba(255,255,255,.7); font-size: .8rem; }
.footer-cert-multi { flex-wrap: wrap; gap: .5rem; }

.footer-col h5 {
  color: var(--white);
  font-family: 'Montserrat', sans-serif;
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  padding-bottom: .75rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-col ul li { margin-bottom: .6rem; }
.footer-col ul li a {
  color: rgba(255,255,255,.55);
  font-size: .9rem;
  transition: var(--ease);
  display: flex;
  align-items: center;
  gap: .4rem;
}
.footer-col ul li a:hover { color: var(--gold); padding-left: 4px; }
.footer-col ul li a i { font-size: .75rem; color: var(--gold); }

.footer-contact-item {
  display: flex;
  gap: .75rem;
  margin-bottom: 1rem;
  align-items: flex-start;
}
.footer-contact-item i { color: var(--gold); margin-top: .2rem; font-size: .9rem; }
.footer-contact-item span { color: rgba(255,255,255,.6); font-size: .875rem; line-height: 1.5; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.07);
  padding: 1.5rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-bottom p { font-size: .8rem; color: rgba(255,255,255,.4); }
.footer-bottom a { color: rgba(255,255,255,.4); transition: var(--ease); }
.footer-bottom a:hover { color: var(--gold); }
.footer-legal { display: flex; gap: 1.5rem; }

/* ── 21. Scroll Animations ────────────────────── */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .6s ease, transform .6s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-up:nth-child(2) { transition-delay: .1s; }
.fade-up:nth-child(3) { transition-delay: .2s; }
.fade-up:nth-child(4) { transition-delay: .3s; }

/* ── 22. Responsive ───────────────────────────── */
@media (max-width: 1100px) {
  .footer-main { grid-template-columns: 1fr 1fr; }
  .style-grid { grid-template-columns: repeat(2, 1fr); }

  /* Nav collapses to hamburger earlier so narrow laptops/tablets don't crush the desktop nav */
  .nav-links, .nav-phone { display: none; }
  .hamburger { display: flex; }
  .mobile-menu { display: flex; }
}

@media (max-width: 900px) {
  .products-grid { grid-template-columns: 1fr; }
  .product-card { height: 340px; }

  .features-grid { grid-template-columns: repeat(2, 1fr); }

  .gallery-preview {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }
  .gallery-preview .gallery-item:first-child { grid-row: span 1; }

  .contact-layout { grid-template-columns: 1fr; }
  .contact-info-card { position: static; }

  .split-section { grid-template-columns: 1fr; }
  .split-content { padding: 3rem 2rem; }

  .stats-bar .container { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }

  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  :root { --nav-h: 65px; }
  .section { padding: 3.5rem 0; }
  .container { padding-inline: 1.25rem; }

  .hero-content > p { font-size: 1rem; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }

  .features-grid { grid-template-columns: 1fr; }

  .gallery-preview { grid-template-columns: 1fr; }
  .gallery-full { grid-template-columns: repeat(2, 1fr); }

  .footer-main { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .stats-bar .container { grid-template-columns: repeat(2, 1fr); }

  .form-row { grid-template-columns: 1fr; }

  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }

  .page-hero { height: 300px; }

  .cta-actions { flex-direction: column; align-items: center; }
}

/* ── 23. Mobile Polish & Inline-Style Overrides ────
   These rules fix mobile layout issues caused by inline
   grid/height styles on service, area and about pages.
   Uses !important only where inline styles need overriding. */

/* Hamburger — larger tap target + visible backdrop on transparent nav */
@media (max-width: 1100px) {
  .hamburger {
    padding: 10px 8px;
    border-radius: var(--r);
    transition: background .25s ease;
  }
  .hamburger span { height: 3px; width: 26px; }
  #nav.transparent .hamburger {
    background: rgba(10,22,40,.55);
    border: 1px solid rgba(255,255,255,.15);
  }
  #nav.transparent .hamburger span { background: var(--white); }
}

/* Intro two-column grids on service + about pages
   (inline style="display:grid; grid-template-columns:1fr 1fr") */
@media (max-width: 900px) {
  section .container > div[style*="grid-template-columns:1fr 1fr"],
  section .container > div[style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important;
    gap: 2.5rem !important;
  }
}

/* Area-page feature grids forced to 2-col via inline style — stack on phones */
@media (max-width: 640px) {
  .features-grid[style*="grid-template-columns:1fr 1fr"],
  .features-grid[style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }
}

/* Fixed-height hero-adjacent images on service + about pages */
@media (max-width: 900px) {
  img[style*="height:460px"],
  img[style*="height:500px"],
  img[style*="height: 460px"],
  img[style*="height: 500px"] {
    height: 340px !important;
  }
}
@media (max-width: 480px) {
  img[style*="height:460px"],
  img[style*="height:500px"],
  img[style*="height: 460px"],
  img[style*="height: 500px"] {
    height: 240px !important;
  }
}

/* Page hero tidy-up on phones */
@media (max-width: 640px) {
  .page-hero h1 { font-size: 1.9rem; }
  .page-hero p { font-size: .9rem; }
}

/* Stats bar — tighter on narrow screens */
@media (max-width: 640px) {
  .stat-item { padding: 1.4rem 0.75rem; }
  .stat-number { font-size: 1.85rem; }
  .stat-label { font-size: .72rem; letter-spacing: .02em; }
}
@media (max-width: 420px) {
  .stats-bar .container { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.07); }
  .stat-item:nth-child(2n) { border-right: none; }
}

/* Product cards — smaller on phones so hero isn't a wall of images */
@media (max-width: 640px) {
  .product-card { height: 280px; }
  .product-card h3 { font-size: 1.3rem; }
  .product-card-content { padding: 1.5rem; }
}

/* Form card & contact info padding relief */
@media (max-width: 640px) {
  .form-card { padding: 1.5rem; }
  .contact-info-card { padding: 1.5rem; }
}

/* Split section ('Proud to be CERTASS Registered' etc.) image height on mobile */
@media (max-width: 900px) {
  .split-image { min-height: 260px; }
  .split-content { padding: 3rem 1.5rem; }
}

/* CTA banner tighter copy on phones */
@media (max-width: 640px) {
  .cta-banner h2 { font-size: 1.6rem; }
  .cta-banner p { font-size: .95rem; }
}

/* Hide the whole nav-right on mobile so Logo + Hamburger have room to breathe.
   The mobile menu already includes "Contact" and the phone number. */
@media (max-width: 1100px) {
  #nav .nav-right { display: none; }
}

/* Homepage "Areas We Cover" — hardcoded 3-col grid collapses to 2-col on phones */
@media (max-width: 640px) {
  section .container > div[style*="grid-template-columns:repeat(3,1fr)"] {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

/* Defensive: prevent any element from forcing horizontal overflow on mobile */
@media (max-width: 640px) {
  img, iframe, video { max-width: 100%; height: auto; }
}

/* Mobile menu overflow fix — menu has 20+ links which overflow the viewport.
   Default CSS centers them vertically with no scroll, so top and bottom get
   clipped. Override: top-align, allow scrolling, pin the close button. */
@media (max-width: 1100px) {
  .mobile-menu {
    justify-content: flex-start;
    padding: 5rem 2rem 3rem;
    gap: 1.25rem;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
  }
  .mobile-menu a {
    font-size: 1.2rem;
    text-align: center;
  }
  .mobile-menu .mobile-phone {
    margin-top: 1.5rem;
    padding-bottom: 1rem;
  }
  /* Pin close button to the viewport so it stays reachable while the menu scrolls */
  .mobile-close {
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 1001;
    font-size: 1.6rem;
    padding: .5rem .75rem;
    background: rgba(255,255,255,.08);
    border-radius: var(--r);
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s ease;
  }
  .mobile-menu.open ~ .mobile-close,
  .mobile-menu.open .mobile-close {
    opacity: 1;
    pointer-events: auto;
  }
}

/* ── Downloads Page ───────────────────────────── */
.download-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.download-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-lg);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  box-shadow: var(--shadow-sm);
  transition: var(--ease);
}

.download-card:hover {
  box-shadow: var(--shadow);
  border-color: var(--gold);
  transform: translateY(-2px);
}

.download-card-icon {
  width: 52px;
  height: 52px;
  background: var(--gold-pale);
  border-radius: var(--r);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.download-card-icon i {
  font-size: 1.4rem;
  color: var(--gold);
}

.download-card-body { flex: 1; }

.download-card-body h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: .4rem;
}

.download-card-body p {
  font-size: .875rem;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: .75rem;
}

.download-card-meta {
  display: flex;
  gap: 1rem;
  font-size: .8rem;
  color: var(--text-light);
}

.download-card-meta i { color: var(--gold); margin-right: .3rem; }

.download-btn {
  width: 100%;
  text-align: center;
  justify-content: center;
}

.download-section-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  margin-top: 3rem;
  margin-bottom: 0;
  display: flex;
  align-items: center;
  gap: .6rem;
}
.download-section-title i {
  color: var(--gold);
  font-size: 1.1rem;
}
.download-section-title:first-of-type {
  margin-top: 0;
}

/* ── Supplier Cards ──────────────────────────── */
.supplier-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}
.supplier-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-lg);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: var(--ease);
}
.supplier-card:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}
.supplier-card-logo {
  width: 90px;
  height: 90px;
  margin: 0 auto 1.25rem;
  background: var(--navy);
  border-radius: var(--r-lg);
  display: flex;
  align-items: center;
  justify-content: center;
}
.supplier-logo-text {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: .7rem;
  color: var(--gold);
  letter-spacing: .12em;
  text-transform: uppercase;
  line-height: 1.4;
  text-align: center;
}
.supplier-logo-text small {
  font-size: .55rem;
  font-weight: 600;
  color: rgba(255,255,255,.6);
  letter-spacing: .08em;
  display: block;
}
.supplier-card h4 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: .5rem;
}
.supplier-card p {
  font-size: .875rem;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 1rem;
}
.supplier-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  justify-content: center;
  list-style: none;
  padding: 0;
  margin: 0;
}
.supplier-tags li {
  background: var(--gold-pale);
  color: var(--gold);
  font-size: .75rem;
  font-weight: 600;
  padding: .25rem .7rem;
  border-radius: 100px;
  font-family: 'Montserrat', sans-serif;
}

@media (max-width: 1100px) {
  .supplier-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .supplier-grid { grid-template-columns: 1fr; }
}
