:root {
  --green-dark:  #0d3d1a;
  --green:       #1a5c2a;
  --green-mid:   #236b31;
  --green-light: #2e8b45;
  --gold:        #f5a623;
  --gold-dark:   #d4891a;
  --gold-light:  #ffc04a;
  --white:       #ffffff;
  --off-white:   #f8f9f5;
  --grey-light:  #eef0eb;
  --grey:        #8a9080;
  --text:        #1c2b1e;
  --topbar-h:    36px;
  --nav-h:       72px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Nunito Sans', sans-serif; color: var(--text); background: var(--white); overflow-x: hidden; }
h1,h2,h3,h4 { font-family: 'Barlow Condensed', sans-serif; letter-spacing: 0.02em; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

/* ─── TOP BAR ─── */
.topbar {
  background: var(--green-dark);
  color: rgba(255,255,255,0.75);
  font-size: 0.78rem;
  height: var(--topbar-h);
  display: flex;
  align-items: center;
  position: relative;
  z-index: 1001;
}
.topbar-inner {
  max-width: 1280px; margin: 0 auto; padding: 0 24px;
  width: 100%;
  display: flex; justify-content: space-between; align-items: center; gap: 8px;
}
.topbar a { color: var(--gold-light); transition: color 0.2s; }
.topbar a:hover { color: var(--white); }
.topbar-links { display: flex; gap: 20px; align-items: center; flex-shrink: 0; }
.topbar-portal { font-weight: 700; }

/* ─── NAV ─── */
nav {
  position: fixed;
  top: var(--topbar-h);
  left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  background: var(--green);
  box-shadow: 0 2px 16px rgba(0,0,0,0.25);
  transition: box-shadow 0.3s;
}
nav.scrolled { box-shadow: 0 4px 24px rgba(0,0,0,0.35); }
.nav-inner {
  max-width: 1280px; margin: 0 auto; padding: 0 24px;
  height: 100%;
  display: flex; align-items: center; justify-content: space-between;
}

/* Logo — white, bigger */
.nav-logo { display: flex; align-items: center; }
.nav-logo img {
  height: 54px; width: auto;
  filter: brightness(0) invert(1);
  display: block;
}
.nav-logo-fallback {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.8rem; font-weight: 900;
  color: var(--white);
  letter-spacing: -0.5px;
  display: flex; align-items: center;
}
.nav-logo-fallback em { color: var(--gold); font-style: normal; }

.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav-links a {
  color: rgba(255,255,255,0.88); font-size: 0.88rem; font-weight: 600;
  padding: 8px 14px; border-radius: 4px;
  transition: background 0.2s, color 0.2s;
  text-transform: uppercase; letter-spacing: 0.5px;
}
.nav-links a:hover { background: rgba(255,255,255,0.12); color: var(--white); }
.nav-cta {
  background: var(--gold) !important; color: var(--green-dark) !important;
  border-radius: 6px; font-weight: 700 !important;
  padding: 9px 20px !important;
  transition: background 0.2s, transform 0.15s !important;
}
.nav-cta:hover { background: var(--gold-light) !important; transform: translateY(-1px); }
.has-drop { position: relative; }
.dropdown {
  display: none; position: absolute; top: 100%; left: 0; min-width: 200px;
  background: var(--green-dark); border-top: 3px solid var(--gold);
  border-radius: 0 0 8px 8px; box-shadow: 0 8px 24px rgba(0,0,0,0.3);
  list-style: none; padding: 8px 0;
}
.has-drop:hover .dropdown { display: block; }
.dropdown li a {
  display: block; padding: 9px 18px;
  color: rgba(255,255,255,0.82) !important; font-size: 0.84rem !important;
  text-transform: none !important; letter-spacing: 0 !important;
  border-radius: 0 !important; transition: background 0.15s, color 0.15s;
}
.dropdown li a:hover { background: var(--gold) !important; color: var(--green-dark) !important; }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; }
.hamburger span { width: 24px; height: 2px; background: var(--white); border-radius: 2px; transition: 0.3s; }

/* ─── HERO ─── */
.hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  overflow: hidden;
  margin-top: calc(var(--topbar-h) + var(--nav-h));
}

.hero-slide {
  position: absolute; inset: 0;
  opacity: 0; visibility: hidden;
  transition: opacity 0.9s ease, visibility 0.9s ease;
  display: flex; align-items: center;
}
.hero-slide.active { opacity: 1; visibility: visible; }

.hero-slide-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  transform: scale(1.04);
  transition: transform 8s ease;
}
.hero-slide.active .hero-slide-bg { transform: scale(1); }

.hero-slide-overlay { position: absolute; inset: 0; }

/* Slide backgrounds + colour overlays */
.slide-security  .hero-slide-bg  { background-image: url('https://images.unsplash.com/photo-1558618666-fcd25c85cd64?w=1800&auto=format&fit=crop&q=80'); }
.slide-security  .hero-slide-overlay { background: linear-gradient(110deg,rgba(13,61,26,.92),rgba(26,92,42,.62) 55%,rgba(13,61,26,.35)); }

.slide-cleaning  .hero-slide-bg  { background-image: url('https://images.unsplash.com/photo-1581578731548-c64695cc6952?w=1800&auto=format&fit=crop&q=80'); }
.slide-cleaning  .hero-slide-overlay { background: linear-gradient(110deg,rgba(14,55,90,.92),rgba(0,119,182,.62) 55%,rgba(14,55,90,.35)); }

.slide-hygiene   .hero-slide-bg  { background-image: url('https://images.unsplash.com/photo-1584820927498-cfe5211fd8bf?w=1800&auto=format&fit=crop&q=80'); }
.slide-hygiene   .hero-slide-overlay { background: linear-gradient(110deg,rgba(0,77,100,.92),rgba(0,150,199,.62) 55%,rgba(0,77,100,.35)); }

.slide-landscape .hero-slide-bg  { background-image: url('https://images.unsplash.com/photo-1416879595882-3373a0480b5b?w=1800&auto=format&fit=crop&q=80'); }
.slide-landscape .hero-slide-overlay { background: linear-gradient(110deg,rgba(20,60,10,.92),rgba(46,125,50,.62) 55%,rgba(20,60,10,.35)); }

.slide-pest      .hero-slide-bg  { background-image: url('https://images.unsplash.com/photo-1504307651254-35680f356dfd?w=1800&auto=format&fit=crop&q=80'); }
.slide-pest      .hero-slide-overlay { background: linear-gradient(110deg,rgba(80,20,10,.92),rgba(181,69,27,.62) 55%,rgba(80,20,10,.35)); }

.slide-catering  .hero-slide-bg  { background-image: url('https://images.unsplash.com/photo-1555244162-803834f70033?w=1800&auto=format&fit=crop&q=80'); }
.slide-catering  .hero-slide-overlay { background: linear-gradient(110deg,rgba(60,15,70,.92),rgba(123,45,139,.62) 55%,rgba(60,15,70,.35)); }

.hero-slide-inner {
  position: relative; z-index: 2;
  max-width: 1280px; margin: 0 auto; padding: 0 24px;
  width: 100%;
}
.hero-slide-content {
  max-width: 660px;
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.7s ease 0.3s, transform 0.7s ease 0.3s;
}
.hero-slide.active .hero-slide-content { opacity: 1; transform: translateY(0); }

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(245,166,35,0.2); border: 1px solid rgba(245,166,35,0.5);
  border-radius: 100px; padding: 6px 16px;
  color: var(--gold-light); font-size: 0.78rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 20px;
}
.hero-badge::before { content: '●'; font-size: 0.5rem; animation: pulse 2s infinite; }
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:0.3} }

.hero-title {
  font-size: clamp(3rem, 6vw, 5.2rem);
  font-weight: 900; color: var(--white);
  line-height: 0.95; text-transform: uppercase;
}
.hero-title span {
  display: block;
  -webkit-text-stroke: 2px var(--gold);
  color: transparent;
}
.hero-sub {
  margin-top: 20px; color: rgba(255,255,255,0.80);
  font-size: 1.05rem; line-height: 1.7; max-width: 520px;
}
.hero-actions { display: flex; gap: 14px; margin-top: 32px; flex-wrap: wrap; }

.btn-primary {
  background: var(--gold); color: var(--green-dark);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1rem; font-weight: 800; text-transform: uppercase; letter-spacing: 1px;
  padding: 15px 34px; border-radius: 6px; border: none; cursor: pointer;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 4px 20px rgba(245,166,35,0.45); display: inline-block;
}
.btn-primary:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: 0 8px 28px rgba(245,166,35,0.55); }
.btn-outline {
  background: transparent; color: var(--white);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px;
  padding: 15px 34px; border-radius: 6px; border: 2px solid rgba(255,255,255,0.45);
  cursor: pointer; transition: border-color 0.2s, background 0.2s; display: inline-block;
}
.btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,0.1); }

.hero-stats {
  display: flex; gap: 36px; margin-top: 44px;
  padding-top: 32px; border-top: 1px solid rgba(255,255,255,0.2);
  flex-wrap: wrap;
}
.hero-stat strong {
  display: block; font-family: 'Barlow Condensed', sans-serif;
  font-size: 2.4rem; font-weight: 900; color: var(--gold); line-height: 1;
}
.hero-stat span { color: rgba(255,255,255,0.6); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 1px; }

/* Hero service tabs */
.hero-service-tabs {
  position: absolute; right: 40px; top: 50%; transform: translateY(-50%);
  z-index: 10; display: flex; flex-direction: column; gap: 10px;
}
.hero-tab {
  display: flex; align-items: center; gap: 10px;
  cursor: pointer; padding: 8px 14px; border-radius: 40px;
  background: rgba(0,0,0,0.25); border: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(6px); transition: all 0.2s; white-space: nowrap;
}
.hero-tab:hover { background: rgba(0,0,0,0.45); border-color: rgba(255,255,255,0.3); }
.hero-tab.active { background: var(--gold); border-color: var(--gold); }
.hero-tab.active .hero-tab-label { color: var(--green-dark); }
.hero-tab.active .hero-tab-icon { background: var(--green-dark); }
.hero-tab-icon { width: 28px; height: 28px; border-radius: 50%; background: rgba(255,255,255,0.15); display: flex; align-items: center; justify-content: center; font-size: 0.9rem; flex-shrink: 0; }
.hero-tab-label { font-family: 'Barlow Condensed', sans-serif; font-size: 0.82rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; color: rgba(255,255,255,0.85); }

/* Hero controls */
.hero-controls { position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%); z-index: 10; }
.hero-dots { display: flex; gap: 8px; align-items: center; }
.hero-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,0.35); border: none; cursor: pointer; padding: 0;
  transition: background 0.3s, width 0.3s;
}
.hero-dot.active { background: var(--gold); width: 28px; border-radius: 4px; }
.hero-counter {
  position: absolute; bottom: 44px; right: 40px; z-index: 10;
  font-family: 'Barlow Condensed', sans-serif; font-size: 1rem;
  color: rgba(255,255,255,0.45); letter-spacing: 2px;
}
.hero-counter strong { color: var(--gold); font-size: 1.4rem; }
.hero-progress { position: absolute; bottom: 0; left: 0; right: 0; height: 3px; background: rgba(255,255,255,0.15); z-index: 10; }
.hero-progress-bar { height: 100%; background: var(--gold); width: 0%; }

/* ─── SECTIONS SHARED ─── */
section { padding: 80px 0; }
.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.section-label { display: inline-block; color: var(--gold-dark); font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; padding-bottom: 6px; border-bottom: 2px solid var(--gold); margin-bottom: 12px; }
.section-title { font-size: clamp(2rem, 3.5vw, 3rem); font-weight: 800; text-transform: uppercase; color: var(--green-dark); line-height: 1.05; }
.section-sub { color: var(--grey); font-size: 1rem; line-height: 1.7; max-width: 580px; margin-top: 10px; }
.section-head { margin-bottom: 48px; }
.section-head.center { text-align: center; }
.section-head.center .section-sub { margin-left: auto; margin-right: auto; }

/* ─── DIVISIONS ─── */
.divisions { background: var(--off-white); }
.divisions-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.div-card { background: var(--white); border-radius: 14px; overflow: hidden; border: 1px solid var(--grey-light); transition: transform 0.25s, box-shadow 0.25s; display: flex; flex-direction: column; }
.div-card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(0,0,0,0.1); }
.div-card-top { height: 8px; }
.div-card-body { padding: 28px 24px; flex: 1; display: flex; flex-direction: column; }
.div-icon { width: 56px; height: 56px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.6rem; margin-bottom: 16px; }
.div-card h3 { font-size: 1.35rem; font-weight: 800; text-transform: uppercase; color: var(--green-dark); margin-bottom: 8px; }
.div-card p { color: var(--grey); font-size: 0.88rem; line-height: 1.65; flex: 1; }
.div-card-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 20px; font-size: 0.85rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; transition: gap 0.2s; }
.div-card-link:hover { gap: 10px; }
.div-card-link::after { content: '→'; }

/* Division colour themes */
.div-security  .div-card-top { background: #1a5c2a; } .div-security  .div-icon { background: #e8f5ec; } .div-security  .div-card-link { color: #1a5c2a; }
.div-cleaning  .div-card-top { background: #f5a623; } .div-cleaning  .div-icon { background: #fef6e4; } .div-cleaning  .div-card-link { color: #d4891a; }
.div-hygiene   .div-card-top { background: #0077b6; } .div-hygiene   .div-icon { background: #e0f3ff; } .div-hygiene   .div-card-link { color: #0077b6; }
.div-landscaping .div-card-top { background: #2e7d32; } .div-landscaping .div-icon { background: #e8f5e9; } .div-landscaping .div-card-link { color: #2e7d32; }
.div-pest-control .div-card-top { background: #b5451b; } .div-pest-control .div-icon { background: #fdeee9; } .div-pest-control .div-card-link { color: #b5451b; }
.div-catering  .div-card-top { background: #7b2d8b; } .div-catering  .div-icon { background: #f5eaf8; } .div-catering  .div-card-link { color: #7b2d8b; }

/* ─── WHY US ─── */
.why { background: var(--white); }
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.why-visual { position: relative; background: linear-gradient(135deg, var(--green-dark) 0%, var(--green) 100%); border-radius: 20px; padding: 48px 40px; color: var(--white); overflow: hidden; }
.why-visual::after { content: 'BB'; position: absolute; bottom: 20px; right: 24px; font-family: 'Barlow Condensed', sans-serif; font-size: 8rem; font-weight: 900; color: rgba(255,255,255,0.04); line-height: 1; pointer-events: none; }
.why-stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.why-stat-box { background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.12); border-radius: 12px; padding: 24px 20px; text-align: center; }
.why-stat-box strong { display: block; font-family: 'Barlow Condensed', sans-serif; font-size: 2.8rem; font-weight: 800; color: var(--gold); line-height: 1; }
.why-stat-box span { font-size: 0.78rem; color: rgba(255,255,255,0.65); text-transform: uppercase; letter-spacing: 1px; }
.why-bbb { margin-top: 24px; padding: 18px 20px; background: var(--gold); border-radius: 10px; display: flex; align-items: center; gap: 14px; }
.why-bbb strong { font-family: 'Barlow Condensed', sans-serif; font-size: 1.4rem; color: var(--green-dark); }
.why-bbb span { font-size: 0.78rem; color: var(--green-dark); opacity: 0.8; }
.why-points { list-style: none; display: flex; flex-direction: column; gap: 18px; }
.why-point { display: flex; gap: 16px; align-items: flex-start; }
.why-point-icon { width: 40px; height: 40px; flex-shrink: 0; background: var(--green); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; }
.why-point-text h4 { font-size: 1rem; font-weight: 700; color: var(--green-dark); margin-bottom: 2px; }
.why-point-text p { font-size: 0.85rem; color: var(--grey); line-height: 1.5; }

/* ─── CLIENTS ─── */
.clients-section { background: var(--off-white); }
.clients-intro { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 48px; flex-wrap: wrap; gap: 20px; }
.clients-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.client-card { background: var(--white); border-radius: 12px; padding: 24px; border: 1px solid var(--grey-light); transition: border-color 0.2s, box-shadow 0.2s; }
.client-card:hover { border-color: var(--gold); box-shadow: 0 4px 20px rgba(0,0,0,0.07); }
.client-card-org { font-family: 'Barlow Condensed', sans-serif; font-size: 1rem; font-weight: 700; text-transform: uppercase; color: var(--green-dark); margin-bottom: 6px; }
.client-card-service { font-size: 0.8rem; color: var(--grey); line-height: 1.5; }
.client-card-tag { display: inline-block; margin-top: 12px; padding: 3px 10px; border-radius: 100px; font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; background: var(--green); color: var(--white); }

/* ─── QUOTE SECTION ─── */
.quote-section { background: linear-gradient(135deg, var(--green-dark) 0%, var(--green) 100%); position: relative; overflow: hidden; }
.quote-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.quote-left h2 { font-size: clamp(2rem, 3vw, 2.8rem); color: var(--white); font-weight: 800; text-transform: uppercase; line-height: 1.1; }
.quote-left h2 span { color: var(--gold); }
.quote-left p { color: rgba(255,255,255,0.7); margin-top: 14px; line-height: 1.7; }
.quote-contacts { margin-top: 28px; display: flex; flex-direction: column; gap: 12px; }
.quote-contact-item { display: flex; align-items: center; gap: 12px; color: rgba(255,255,255,0.85); }
.quote-contact-item > span:first-child { width: 36px; height: 36px; background: rgba(255,255,255,0.1); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 1rem; flex-shrink: 0; }
.quote-contact-item a { color: var(--gold-light); }

.quote-form-box { background: var(--white); border-radius: 16px; padding: 36px 32px; }
.quote-form-box h3 { font-size: 1.4rem; font-weight: 800; text-transform: uppercase; color: var(--green-dark); margin-bottom: 24px; }
.form-group { margin-bottom: 14px; }
.form-group label { display: block; font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; color: var(--green); margin-bottom: 6px; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: 11px 14px;
  border: 1px solid var(--grey-light); border-radius: 8px;
  font-family: 'Nunito Sans', sans-serif; font-size: 0.9rem; color: var(--text);
  background: var(--off-white);
  transition: border-color 0.2s, background 0.2s; outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--green); background: var(--white); }
.form-group textarea { resize: vertical; min-height: 90px; }
.form-error { display: block; font-size: 0.78rem; color: #dc2626; margin-top: 4px; }
.has-error input, .has-error select, .has-error textarea { border-color: #fca5a5; background: #fff5f5; }
.form-submit {
  width: 100%; padding: 14px;
  background: var(--gold); color: var(--green-dark);
  font-family: 'Barlow Condensed', sans-serif; font-size: 1.1rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: 1px;
  border: none; border-radius: 8px; cursor: pointer;
  transition: background 0.2s, transform 0.15s; margin-top: 4px;
}
.form-submit:hover { background: var(--gold-light); transform: translateY(-1px); }

/* ─── AFFILIATES ─── */
.affiliates { background: var(--white); padding: 48px 0; }
.affiliates-inner { max-width: 1280px; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; gap: 32px; flex-wrap: wrap; justify-content: center; }
.affiliates-label { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 2px; color: var(--grey); white-space: nowrap; }
.affiliates-divider { width: 1px; height: 40px; background: var(--grey-light); }
.affiliate-logo { display: flex; align-items: center; justify-content: center; padding: 10px 24px; border: 1px solid var(--grey-light); border-radius: 8px; min-width: 120px; font-family: 'Barlow Condensed', sans-serif; font-size: 1rem; font-weight: 700; color: var(--grey); letter-spacing: 1px; text-transform: uppercase; }

/* ─── FOOTER ─── */
footer { background: var(--green-dark); color: rgba(255,255,255,0.75); }
.footer-top { padding: 60px 0; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; }
.footer-logo-wrap { margin-bottom: 14px; }
.footer-logo-img { height: 52px; width: auto; filter: brightness(0) invert(1); }
.footer-logo-fallback { font-family: 'Barlow Condensed', sans-serif; font-size: 1.7rem; font-weight: 900; color: var(--white); }
.footer-logo-fallback em { color: var(--gold); font-style: normal; }
.footer-brand p { font-size: 0.85rem; line-height: 1.7; max-width: 280px; }
.footer-socials { display: flex; gap: 10px; margin-top: 20px; }
.footer-social { width: 36px; height: 36px; background: rgba(255,255,255,0.08); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 0.85rem; color: var(--white); transition: background 0.2s; }
.footer-social:hover { background: var(--gold); color: var(--green-dark); }
.footer-col h4 { font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; color: var(--gold-light); margin-bottom: 16px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a { font-size: 0.85rem; color: rgba(255,255,255,0.65); transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--gold-light); }
.footer-bottom { padding: 20px 0; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; font-size: 0.78rem; color: rgba(255,255,255,0.45); }
.footer-bottom a { color: rgba(255,255,255,0.6); }

/* ─── SCROLL ANIMATIONS ─── */
.fade-up { opacity: 0; transform: translateY(28px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }
.fade-up:nth-child(2) { transition-delay: 0.1s; }
.fade-up:nth-child(3) { transition-delay: 0.2s; }
.fade-up:nth-child(4) { transition-delay: 0.3s; }
.fade-up:nth-child(5) { transition-delay: 0.4s; }
.fade-up:nth-child(6) { transition-delay: 0.5s; }

/* ─── RESPONSIVE ─── */
@media (max-width: 1100px) { .hero-service-tabs { display: none; } }
@media (max-width: 1024px) {
  .divisions-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: 1fr; }
  .quote-inner { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 768px) {
  .nav-links { display: none; flex-direction: column; position: absolute; top: var(--nav-h); left: 0; right: 0; background: var(--green-dark); padding: 16px; gap: 4px; border-top: 3px solid var(--gold); }
  .nav-links.open { display: flex; }
  .hamburger { display: flex; }
  .divisions-grid { grid-template-columns: 1fr; }
  .clients-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .topbar-offices { display: none; }
  .hero-counter { display: none; }
}
@media (max-width: 480px) {
  .clients-grid { grid-template-columns: 1fr; }
  .hero-controls { bottom: 24px; }
  .hero-title { font-size: clamp(2.5rem, 9vw, 3.5rem); }
}
/* ===== BRAND BASANI DJANGO FIXES ===== */

/* Remove white gap between nav and hero */
.home-page .hero {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

.home-page section.hero {
  padding: 0 !important;
}

.home-page nav {
  background: var(--green);
  box-shadow: 0 2px 24px rgba(0,0,0,0.22);
}

.home-page .hero-slide-inner {
  padding-top: calc(var(--topbar-h) + var(--nav-h) + 40px);
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(245,166,35,0.18);
  border: 1px solid rgba(245,166,35,0.75);
  color: var(--gold-light);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1.6px;
  margin-bottom: 22px;
}

/* Premium quote form */
.quote-inner-premium {
  grid-template-columns: 0.9fr 1.1fr;
  align-items: stretch;
}

.quote-benefits {
  margin-top: 30px;
  display: grid;
  gap: 12px;
}

.quote-benefit {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.82);
}

.quote-benefit strong {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--gold);
  color: var(--green-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.quote-benefit span {
  font-size: 0.9rem;
  line-height: 1.35;
}

.quote-form-premium {
  padding: 32px;
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,0.35);
  box-shadow: 0 28px 70px rgba(0,0,0,0.28);
  position: relative;
  overflow: hidden;
}

.quote-form-premium::before {
  content: "";
  position: absolute;
  top: -80px;
  right: -80px;
  width: 180px;
  height: 180px;
  background: rgba(245,166,35,0.14);
  border-radius: 999px;
}

.quote-form-head {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}

.quote-form-head > div:first-child {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: var(--gold);
  color: var(--green-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.quote-form-head h3 {
  margin: 0;
  font-size: 1.45rem;
}

.quote-form-head p {
  margin: 4px 0 0;
  color: var(--grey);
  font-size: 0.88rem;
  line-height: 1.45;
}

.premium-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  position: relative;
  z-index: 1;
}

.premium-form-grid .form-group {
  margin-bottom: 0;
}

.form-span-2 {
  grid-column: span 2;
}

.premium-form-grid textarea {
  min-height: 105px;
}

.premium-form-grid .form-submit {
  margin-top: 4px;
  height: 52px;
}

/* Make Django form fields beautiful */
.quote-form input,
.quote-form select,
.quote-form textarea,
.content-panel input,
.content-panel select,
.content-panel textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--grey-light);
  background: #f8f9f5;
  color: var(--text);
  outline: none;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus,
.content-panel input:focus,
.content-panel select:focus,
.content-panel textarea:focus {
  border-color: var(--gold);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(245,166,35,0.16);
}

/* Fix logo rendering */
.nav-logo-img {
  height: 72px !important;
  width: auto !important;
  max-width: 260px !important;
  object-fit: contain !important;
}

.footer-logo-img {
  height: 52px !important;
  width: auto !important;
  object-fit: contain !important;
}

/* Better hero tabs */
.hero-tab {
  border: none;
}

.hero-tab-icon {
  color: var(--white);
}

/* Mobile */
@media (max-width: 900px) {
  .quote-inner-premium {
    grid-template-columns: 1fr;
  }

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

  .form-span-2 {
    grid-column: span 1;
  }
}

@media (max-width: 768px) {
  .home-page .hero-slide-inner {
    padding-top: calc(var(--nav-h) + 40px);
  }
}


/* ===== BRAND BASANI DJANGO FIXES ===== */

/* Remove white gap between nav and hero */
.home-page .hero {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

.home-page section.hero {
  padding: 0 !important;
}

.home-page nav {
  background: var(--green);
  box-shadow: 0 2px 24px rgba(0,0,0,0.22);
}

.home-page .hero-slide-inner {
  padding-top: calc(var(--topbar-h) + var(--nav-h) + 40px);
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(245,166,35,0.18);
  border: 1px solid rgba(245,166,35,0.75);
  color: var(--gold-light);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1.6px;
  margin-bottom: 22px;
}

/* Premium quote form */
.quote-inner-premium {
  grid-template-columns: 0.9fr 1.1fr;
  align-items: stretch;
}

.quote-benefits {
  margin-top: 30px;
  display: grid;
  gap: 12px;
}

.quote-benefit {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.82);
}

.quote-benefit strong {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--gold);
  color: var(--green-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.quote-benefit span {
  font-size: 0.9rem;
  line-height: 1.35;
}

.quote-form-premium {
  padding: 32px;
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,0.35);
  box-shadow: 0 28px 70px rgba(0,0,0,0.28);
  position: relative;
  overflow: hidden;
}

.quote-form-premium::before {
  content: "";
  position: absolute;
  top: -80px;
  right: -80px;
  width: 180px;
  height: 180px;
  background: rgba(245,166,35,0.14);
  border-radius: 999px;
}

.quote-form-head {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}

.quote-form-head > div:first-child {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: var(--gold);
  color: var(--green-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.quote-form-head h3 {
  margin: 0;
  font-size: 1.45rem;
}

.quote-form-head p {
  margin: 4px 0 0;
  color: var(--grey);
  font-size: 0.88rem;
  line-height: 1.45;
}

.premium-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  position: relative;
  z-index: 1;
}

.premium-form-grid .form-group {
  margin-bottom: 0;
}

.form-span-2 {
  grid-column: span 2;
}

.premium-form-grid textarea {
  min-height: 105px;
}

.premium-form-grid .form-submit {
  margin-top: 4px;
  height: 52px;
}

/* Make Django form fields beautiful */
.quote-form input,
.quote-form select,
.quote-form textarea,
.content-panel input,
.content-panel select,
.content-panel textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--grey-light);
  background: #f8f9f5;
  color: var(--text);
  outline: none;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus,
.content-panel input:focus,
.content-panel select:focus,
.content-panel textarea:focus {
  border-color: var(--gold);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(245,166,35,0.16);
}

/* Fix logo rendering */
.nav-logo-img {
  height: 72px !important;
  width: auto !important;
  max-width: 260px !important;
  object-fit: contain !important;
}

.footer-logo-img {
  height: 52px !important;
  width: auto !important;
  object-fit: contain !important;
}

/* Better hero tabs */
.hero-tab {
  border: none;
}

.hero-tab-icon {
  color: var(--white);
}

/* Mobile */
@media (max-width: 900px) {
  .quote-inner-premium {
    grid-template-columns: 1fr;
  }

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

  .form-span-2 {
    grid-column: span 1;
  }
}

@media (max-width: 768px) {
  .home-page .hero-slide-inner {
    padding-top: calc(var(--nav-h) + 40px);
  }
}


/* =========================================================
   FINAL NAV / MEGA MENU / HERO GAP FIX
   ========================================================= */

/* Force fixed header stack */
.topbar {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  height: var(--topbar-h) !important;
  z-index: 5000 !important;
}

nav#mainNav {
  position: fixed !important;
  top: var(--topbar-h) !important;
  left: 0 !important;
  right: 0 !important;
  height: var(--nav-h) !important;
  z-index: 4999 !important;
  background: var(--green) !important;
  box-shadow: 0 2px 24px rgba(0,0,0,0.22) !important;
}

/* Remove the white gap before hero */
.hero {
  padding: 0 !important;
  margin: 0 !important;
  height: 100vh !important;
  min-height: 680px !important;
  position: relative !important;
  overflow: hidden !important;
}

/* Global section padding must not affect hero */
section.hero {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

/* Put hero content below fixed header, but keep background starting at top */
.hero-slide-inner {
  padding-top: calc(var(--topbar-h) + var(--nav-h) + 72px) !important;
}

/* Make nav inner clean */
.nav-inner {
  position: relative !important;
  z-index: 2 !important;
}

/* Mega parent */
.has-mega {
  position: static !important;
}

/* Hide mega menu by default */
.has-mega .mega-menu {
  position: absolute !important;
  top: var(--nav-h) !important;
  left: 50% !important;
  transform: translateX(-50%) translateY(14px) !important;

  width: min(1080px, calc(100vw - 48px)) !important;

  background:
    radial-gradient(circle at top left, rgba(245,166,35,0.14), transparent 34%),
    linear-gradient(135deg, rgba(13,61,26,0.98), rgba(20,70,31,0.98)) !important;

  border-top: 4px solid var(--gold) !important;
  border-radius: 0 0 22px 22px !important;
  box-shadow: 0 28px 70px rgba(0,0,0,0.36) !important;

  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;

  padding: 22px !important;
  z-index: 99999 !important;

  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease !important;
}

/* Show mega menu on hover or JS click */
.has-mega:hover .mega-menu,
.has-mega.mega-open .mega-menu {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  transform: translateX(-50%) translateY(0) !important;
}

/* Proper card grid */
.mega-menu-inner {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 15px !important;
}

/* Proper cards */
.mega-card {
  display: flex !important;
  gap: 14px !important;
  align-items: flex-start !important;

  padding: 17px !important;
  border-radius: 16px !important;

  background: rgba(255,255,255,0.065) !important;
  border: 1px solid rgba(255,255,255,0.12) !important;

  color: var(--white) !important;
  text-decoration: none !important;

  transition: background 0.2s ease, transform 0.2s ease, border-color 0.2s ease !important;
}

.mega-card:hover {
  background: rgba(245,166,35,0.16) !important;
  border-color: rgba(245,166,35,0.48) !important;
  transform: translateY(-3px) !important;
}

.mega-card-featured {
  background: rgba(245,166,35,0.18) !important;
  border-color: rgba(245,166,35,0.5) !important;
}

.mega-icon {
  width: 44px !important;
  height: 44px !important;
  min-width: 44px !important;

  border-radius: 14px !important;
  background: var(--gold) !important;
  color: var(--green-dark) !important;

  display: flex !important;
  align-items: center !important;
  justify-content: center !important;

  font-size: 1.25rem !important;
  line-height: 1 !important;
}

.mega-card strong {
  display: block !important;
  color: var(--white) !important;

  font-family: 'Barlow Condensed', sans-serif !important;
  font-size: 1.08rem !important;
  text-transform: uppercase !important;
  letter-spacing: 0.8px !important;

  margin-bottom: 4px !important;
  line-height: 1.1 !important;
}

.mega-card small {
  display: block !important;
  color: rgba(255,255,255,0.68) !important;
  font-size: 0.78rem !important;
  line-height: 1.45 !important;
  text-transform: none !important;
  letter-spacing: normal !important;
}

/* Remove any accidental default list spacing */
.nav-links,
.nav-links li,
.mega-menu,
.mega-menu-inner {
  list-style: none !important;
}

/* Make logo stable */
.nav-logo-img {
  height: 72px !important;
  width: auto !important;
  max-width: 260px !important;
  object-fit: contain !important;
  display: block !important;
}

/* Prevent mega text from pushing nav height */
.nav-links > li {
  display: flex !important;
  align-items: center !important;
}

/* Mobile mega menu */
@media (max-width: 768px) {
  .has-mega {
    position: relative !important;
    width: 100% !important;
  }

  .has-mega .mega-menu {
    position: static !important;
    width: 100% !important;
    transform: none !important;

    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;

    display: none !important;

    box-shadow: none !important;
    border-radius: 14px !important;
    padding: 10px !important;
    margin-top: 8px !important;
  }

  .has-mega.mega-open .mega-menu {
    display: block !important;
    transform: none !important;
  }

  .mega-menu-inner {
    grid-template-columns: 1fr !important;
  }

  .mega-card {
    padding: 12px !important;
  }
}


/* =========================================================
   FINAL QUOTE FORM 2-COLUMN DESIGN
   ========================================================= */

.quote-form form,
.premium-form-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 16px !important;
}

.quote-form .form-row {
  display: contents !important;
}

.quote-form .form-group {
  margin-bottom: 0 !important;
}

.quote-form .form-group:has(textarea),
.quote-form .form-group.form-span-2 {
  grid-column: span 2 !important;
}

.quote-form textarea {
  min-height: 110px !important;
  resize: vertical !important;
}

.quote-form .form-submit {
  grid-column: span 2 !important;
  margin-top: 4px !important;
  height: 54px !important;
}

.quote-form {
  border-radius: 22px !important;
  box-shadow: 0 28px 70px rgba(0,0,0,0.28) !important;
}

.quote-form h3 {
  margin-bottom: 22px !important;
}

@media (max-width: 768px) {
  .quote-form form,
  .premium-form-grid {
    grid-template-columns: 1fr !important;
  }

  .quote-form .form-group:has(textarea),
  .quote-form .form-group.form-span-2,
  .quote-form .form-submit {
    grid-column: span 1 !important;
  }
}


/* =========================================================
   FINAL QUOTE FORM + AFFILIATES POLISH
   ========================================================= */

.quote-inner-premium {
  grid-template-columns: 0.9fr 1.1fr !important;
  align-items: stretch !important;
}

.quote-benefits {
  margin-top: 30px !important;
  display: grid !important;
  gap: 12px !important;
}

.quote-benefit {
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
  padding: 14px 16px !important;
  border-radius: 14px !important;
  background: rgba(255,255,255,0.08) !important;
  border: 1px solid rgba(255,255,255,0.12) !important;
  color: rgba(255,255,255,0.82) !important;
}

.quote-benefit strong {
  width: 40px !important;
  height: 40px !important;
  border-radius: 12px !important;
  background: var(--gold) !important;
  color: var(--green-dark) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-family: 'Barlow Condensed', sans-serif !important;
  font-weight: 900 !important;
  font-size: 1.1rem !important;
  flex-shrink: 0 !important;
}

.quote-benefit span {
  font-size: 0.9rem !important;
  line-height: 1.35 !important;
}

.quote-form-box,
.quote-form-premium {
  background: #ffffff !important;
  padding: 32px !important;
  border-radius: 22px !important;
  box-shadow: 0 28px 70px rgba(0,0,0,0.28) !important;
  position: relative !important;
  overflow: hidden !important;
}

.quote-form-premium::before {
  content: "" !important;
  position: absolute !important;
  top: -80px !important;
  right: -80px !important;
  width: 180px !important;
  height: 180px !important;
  background: rgba(245,166,35,0.14) !important;
  border-radius: 999px !important;
}

.quote-form-head {
  display: flex !important;
  gap: 14px !important;
  align-items: center !important;
  margin-bottom: 24px !important;
  position: relative !important;
  z-index: 1 !important;
}

.quote-form-icon {
  width: 54px !important;
  height: 54px !important;
  border-radius: 16px !important;
  background: var(--gold) !important;
  color: var(--green-dark) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 1.4rem !important;
  flex-shrink: 0 !important;
}

.quote-form-head h3 {
  margin: 0 !important;
  font-size: 1.45rem !important;
  color: var(--green-dark) !important;
}

.quote-form-head p {
  margin: 4px 0 0 !important;
  color: var(--grey) !important;
  font-size: 0.88rem !important;
  line-height: 1.45 !important;
}

.quote-grid-form {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 16px !important;
  position: relative !important;
  z-index: 1 !important;
}

.quote-grid-form .form-group {
  margin-bottom: 0 !important;
}

.form-span-2 {
  grid-column: span 2 !important;
}

.quote-grid-form input,
.quote-grid-form select,
.quote-grid-form textarea {
  width: 100% !important;
  padding: 12px 14px !important;
  border-radius: 10px !important;
  border: 1px solid var(--grey-light) !important;
  background: #f8f9f5 !important;
  color: var(--text) !important;
  outline: none !important;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease !important;
}

.quote-grid-form input:focus,
.quote-grid-form select:focus,
.quote-grid-form textarea:focus {
  border-color: var(--gold) !important;
  background: #ffffff !important;
  box-shadow: 0 0 0 4px rgba(245,166,35,0.16) !important;
}

.quote-grid-form textarea {
  min-height: 105px !important;
  resize: vertical !important;
}

.quote-grid-form .form-submit {
  grid-column: span 2 !important;
  margin-top: 4px !important;
  height: 54px !important;
}

.form-error {
  display: block !important;
  margin-top: 5px !important;
  color: #b00020 !important;
  font-size: 0.78rem !important;
}

/* Affiliates logos */
.affiliates {
  background: #ffffff !important;
  padding: 80px 0 !important;
  overflow: hidden !important;
}

.affiliates-header {
  text-align: center !important;
  max-width: 780px !important;
  margin: 0 auto 38px auto !important;
}

.affiliates-header span {
  display: inline-block !important;
  color: var(--gold-dark) !important;
  font-size: 0.75rem !important;
  font-weight: 900 !important;
  text-transform: uppercase !important;
  letter-spacing: 2px !important;
  padding-bottom: 7px !important;
  border-bottom: 2px solid var(--gold) !important;
  margin-bottom: 13px !important;
}

.affiliates-header h2 {
  font-size: clamp(2rem, 3vw, 2.8rem) !important;
  color: var(--green-dark) !important;
  text-transform: uppercase !important;
  line-height: 1.05 !important;
  font-weight: 900 !important;
}

.affiliates-header p {
  color: var(--grey) !important;
  font-size: 1rem !important;
  line-height: 1.7 !important;
  margin-top: 12px !important;
}

.affiliate-logo-row {
  display: grid !important;
  grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
  gap: 18px !important;
  align-items: center !important;
}

.affiliate-logo-card {
  height: 112px !important;
  background: #ffffff !important;
  border: 1px solid var(--grey-light) !important;
  border-radius: 18px !important;
  padding: 18px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden !important;
  box-shadow: 0 10px 28px rgba(0,0,0,0.035) !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease !important;
}

.affiliate-logo-card:hover {
  transform: translateY(-4px) !important;
  border-color: rgba(245,166,35,0.55) !important;
  box-shadow: 0 18px 42px rgba(0,0,0,0.08) !important;
}

.affiliate-logo-card img {
  display: block !important;
  width: auto !important;
  height: auto !important;
  max-width: 132px !important;
  max-height: 62px !important;
  object-fit: contain !important;
  filter: grayscale(1) contrast(0.9) !important;
  opacity: 0.58 !important;
  transition: opacity 0.2s ease, filter 0.2s ease, transform 0.2s ease !important;
}

.affiliate-logo-card:hover img {
  filter: grayscale(0) contrast(1) !important;
  opacity: 1 !important;
  transform: scale(1.04) !important;
}

.affiliate-note {
  margin: 26px auto 0 auto !important;
  text-align: center !important;
  color: var(--grey) !important;
  font-size: 0.88rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.2px !important;
}

@media (max-width: 1100px) {
  .quote-inner-premium {
    grid-template-columns: 1fr !important;
  }

  .affiliate-logo-row {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 768px) {
  .quote-grid-form {
    grid-template-columns: 1fr !important;
  }

  .form-span-2,
  .quote-grid-form .form-submit {
    grid-column: span 1 !important;
  }

  .affiliate-logo-row {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .affiliate-logo-card {
    height: 100px !important;
  }
}

@media (max-width: 480px) {
  .affiliate-logo-row {
    grid-template-columns: 1fr !important;
  }
}


/* =========================================================
   FINAL QUOTE PAGE + QUICK FORM TWO-COLUMN FIX
   ========================================================= */

.quote-page-section {
  min-height: 100vh !important;
  padding-top: calc(var(--topbar-h) + var(--nav-h) + 70px) !important;
  padding-bottom: 90px !important;
}

.quote-page-head {
  max-width: 920px !important;
  margin-bottom: 32px !important;
}

.quote-page-title {
  font-family: 'Barlow Condensed', sans-serif !important;
  font-size: clamp(2.6rem, 5vw, 4.6rem) !important;
  line-height: 0.95 !important;
  color: #ffffff !important;
  text-transform: uppercase !important;
}

.quote-page-head p {
  color: rgba(255,255,255,0.76) !important;
  font-size: 1.05rem !important;
  line-height: 1.7 !important;
  max-width: 760px !important;
  margin-top: 14px !important;
}

.quote-page-card,
.quote-form-box,
.quote-form-premium {
  background: #ffffff !important;
  border-radius: 24px !important;
  padding: 34px !important;
  box-shadow: 0 28px 70px rgba(0,0,0,0.28) !important;
}

.quote-form-head {
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
  margin-bottom: 26px !important;
}

.quote-form-icon {
  width: 56px !important;
  height: 56px !important;
  border-radius: 16px !important;
  background: var(--gold) !important;
  color: var(--green-dark) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 1.45rem !important;
  flex-shrink: 0 !important;
}

.quote-form-head h3 {
  margin: 0 !important;
  color: var(--green-dark) !important;
  font-size: 1.5rem !important;
  text-transform: uppercase !important;
}

.quote-form-head p {
  margin: 4px 0 0 !important;
  color: var(--grey) !important;
  font-size: 0.9rem !important;
  line-height: 1.45 !important;
}

.quote-grid-form {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 16px !important;
}

.quote-grid-form .form-group {
  margin-bottom: 0 !important;
}

.form-span-2 {
  grid-column: span 2 !important;
}

.quote-grid-form input,
.quote-grid-form select,
.quote-grid-form textarea,
.quote-form-box input,
.quote-form-box select,
.quote-form-box textarea {
  width: 100% !important;
  height: 47px !important;
  padding: 12px 14px !important;
  border-radius: 10px !important;
  border: 1px solid var(--grey-light) !important;
  background: #f8f9f5 !important;
  color: var(--text) !important;
  outline: none !important;
  font-family: inherit !important;
  font-size: 0.92rem !important;
}

.quote-grid-form textarea,
.quote-form-box textarea {
  height: auto !important;
  min-height: 105px !important;
  resize: vertical !important;
}

.quote-grid-form input:focus,
.quote-grid-form select:focus,
.quote-grid-form textarea:focus,
.quote-form-box input:focus,
.quote-form-box select:focus,
.quote-form-box textarea:focus {
  border-color: var(--gold) !important;
  background: #ffffff !important;
  box-shadow: 0 0 0 4px rgba(245,166,35,0.16) !important;
}

.quote-grid-form .form-submit,
.quote-form-box .form-submit {
  grid-column: span 2 !important;
  height: 54px !important;
}

.form-error {
  display: block !important;
  margin-top: 5px !important;
  color: #b00020 !important;
  font-size: 0.78rem !important;
}

@media (max-width: 768px) {
  .quote-grid-form {
    grid-template-columns: 1fr !important;
  }

  .form-span-2,
  .quote-grid-form .form-submit,
  .quote-form-box .form-submit {
    grid-column: span 1 !important;
  }
}


/* =========================================================
   FINAL AFFILIATES LOGO CARDS
   ========================================================= */

.affiliates {
  background: #ffffff !important;
  padding: 80px 0 !important;
  overflow: hidden !important;
}

.affiliates-header {
  text-align: center !important;
  max-width: 780px !important;
  margin: 0 auto 38px auto !important;
}

.affiliates-header span {
  display: inline-block !important;
  color: var(--gold-dark) !important;
  font-size: 0.75rem !important;
  font-weight: 900 !important;
  text-transform: uppercase !important;
  letter-spacing: 2px !important;
  padding-bottom: 7px !important;
  border-bottom: 2px solid var(--gold) !important;
  margin-bottom: 13px !important;
}

.affiliates-header h2 {
  font-size: clamp(2rem, 3vw, 2.8rem) !important;
  color: var(--green-dark) !important;
  text-transform: uppercase !important;
  line-height: 1.05 !important;
  font-weight: 900 !important;
}

.affiliates-header p {
  color: var(--grey) !important;
  font-size: 1rem !important;
  line-height: 1.7 !important;
  margin-top: 12px !important;
}

.affiliate-logo-row {
  display: grid !important;
  grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
  gap: 18px !important;
  align-items: center !important;
}

.affiliate-logo-card {
  height: 112px !important;
  background: #ffffff !important;
  border: 1px solid var(--grey-light) !important;
  border-radius: 18px !important;
  padding: 18px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden !important;
  box-shadow: 0 10px 28px rgba(0,0,0,0.035) !important;
}

.affiliate-logo-card img {
  display: block !important;
  width: auto !important;
  height: auto !important;
  max-width: 132px !important;
  max-height: 62px !important;
  object-fit: contain !important;
  filter: grayscale(1) contrast(0.9) !important;
  opacity: 0.58 !important;
  transition: opacity 0.2s ease, filter 0.2s ease, transform 0.2s ease !important;
}

.affiliate-logo-card:hover img {
  filter: grayscale(0) contrast(1) !important;
  opacity: 1 !important;
  transform: scale(1.04) !important;
}

.affiliate-note {
  margin: 26px auto 0 auto !important;
  text-align: center !important;
  color: var(--grey) !important;
  font-size: 0.88rem !important;
  font-weight: 700 !important;
}

@media (max-width: 1100px) {
  .affiliate-logo-row {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 768px) {
  .affiliate-logo-row {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 480px) {
  .affiliate-logo-row {
    grid-template-columns: 1fr !important;
  }
}

