@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@700&family=Rajdhani:wght@400;500;600;700&family=Inter:wght@300;400;500;600;700;800&display=swap');

/* Cross-page transition (Chrome 126+) */
@view-transition { navigation: auto; }

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

:root {
  --primary: #1e6fc1;
  --bg: #1a1a1a;
  --bg-dark: #111111;
  --bg-card: #242424;
  --bg-footer: #0d0d0d;
  --text: #f2f2f2;
  --text-muted: #888888;
  --text-dim: #777777;
  --text-dimmer: #555555;
  --border: rgba(255,255,255,0.08);
}

html { scroll-behavior: smooth; overflow-x: hidden; }

@keyframes page-enter { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg);
  color: var(--text);
  min-height: 100vh;
  display: flex; flex-direction: column;
  overflow-x: hidden;
  animation: page-enter 0.38s ease both;
}
body.page-exiting {
  opacity: 0;
  transition: opacity 0.22s ease !important;
  animation: none !important;
  pointer-events: none;
}

a { text-decoration: none; color: inherit; }
img { display: block; }

/* ── SCROLL REVEAL ───────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ── NAV ─────────────────────────────────────────────────────── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: rgba(17,17,17,0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255,255,255,0.04);
  transition: background 0.3s;
}
.nav-inner {
  max-width: 1280px; margin: 0 auto;
  padding: 0 2.5rem;
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.nav-links { display: flex; align-items: center; gap: 0; flex-shrink: 0; }
.nav-links a {
  padding: 8px 16px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.85rem; letter-spacing: 0.18em; text-transform: uppercase;
  font-weight: 600; color: #ccc;
  transition: color 0.2s;
  white-space: nowrap;
}
.nav-links a:hover { color: #fff; }
.nav-links a.active { color: var(--primary); }
.btn-quote-nav {
  margin-left: 1rem; padding: 8px 20px;
  background: var(--primary); color: #fff !important;
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.85rem; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 700;
  border-radius: 4px; transition: background 0.3s, box-shadow 0.3s;
  white-space: nowrap;
}
.btn-quote-nav:hover {
  background: rgba(30,111,193,0.85) !important;
  box-shadow: 0 0 20px rgba(30,111,193,0.45);
}
.hamburger { display: none; background: none; border: none; cursor: pointer; padding: 8px; color: #aaa; flex-shrink: 0; }
.hamburger:hover { color: #fff; }
.mobile-menu {
  display: none; flex-direction: column;
  padding: 12px 16px 20px;
  background: rgba(17,17,17,0.97);
  border-top: 1px solid var(--border);
}
.mobile-menu a {
  padding: 10px 8px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.95rem; letter-spacing: 0.15em; text-transform: uppercase; font-weight: 600;
  color: #bbb; transition: color 0.2s;
}
.mobile-menu a:hover { color: #fff; }
.mobile-menu .btn-quote-nav { margin: 10px 0 0; display: inline-block; text-align: center; }
.mobile-menu.open { display: flex; }

/* ── LOGO LOCKUP ─────────────────────────────────────────────── */
.logo-lockup { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo-img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.logo-img-lg { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.logo-text { display: flex; flex-direction: column; align-items: stretch; line-height: 1; }
.logo-text-lg { }

.logo-palmetto {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700; text-transform: uppercase;
  font-size: 28px; letter-spacing: 0.18em; padding-left: 0.18em;
  text-align: center; white-space: nowrap;
  background: linear-gradient(180deg, #e8e8e8 0%, #b0b0b0 40%, #d8d8d8 65%, #888 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.logo-palmetto-lg { font-size: 44px; }

.logo-integrated-row { display: flex; align-items: center; width: 100%; margin: 4px 0; }
.logo-line { height: 1px; background: var(--primary); flex: 1; }
.logo-integrated {
  font-size: 10px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--primary); padding: 0 6px; flex-shrink: 0; white-space: nowrap;
}
.logo-integrated-lg { font-size: 15px; }
.logo-security {
  font-size: 7.5px; letter-spacing: 0.25em; text-transform: uppercase;
  text-align: center; display: block; width: 100%; white-space: nowrap;
  background: linear-gradient(180deg, #ccc 0%, #888 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.logo-security-lg { font-size: 11px; }

/* ── BUTTONS ─────────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px;
  background: var(--primary); color: #fff;
  font-size: 0.9375rem; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 600;
  border-radius: 4px; transition: background 0.3s, box-shadow 0.3s;
}
.btn-primary:hover { background: rgba(30,111,193,0.9); box-shadow: 0 0 25px rgba(30,111,193,0.5); }
.btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px;
  border: 1px solid rgba(255,255,255,0.2); color: #ccc;
  font-size: 0.9375rem; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 600;
  border-radius: 4px; transition: border-color 0.3s, color 0.3s;
}
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }
.btn-outline-primary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 24px;
  border: 1px solid var(--primary); color: var(--primary);
  font-size: 0.875rem; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 600;
  border-radius: 4px; transition: background 0.3s, color 0.3s;
}
.btn-outline-primary:hover { background: var(--primary); color: #fff; }

/* ── HEADINGS / LABELS — Barlow Condensed matches original ──── */
h1, h2, h3 { font-family: 'Barlow Condensed', sans-serif; }
.section-label { font-family: 'Barlow Condensed', sans-serif; }
.page-hero-label { font-family: 'Barlow Condensed', sans-serif; }

/* ── CHROME TEXT ─────────────────────────────────────────────── */
.chrome-text {
  background: linear-gradient(180deg, #e8e8e8 0%, #b0b0b0 30%, #d8d8d8 60%, #888 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.chrome-shimmer {
  background: linear-gradient(90deg, #ccc 0%, #fff 20%, #e8e8e8 40%, #fff 60%, #ccc 80%, #fff 100%);
  background-size: 200% auto;
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  animation: shimmer 4s linear infinite;
}
@keyframes shimmer { 0% { background-position: 200% center; } 100% { background-position: -200% center; } }

/* ── HERO ────────────────────────────────────────────────────── */
.hero {
  position: relative; min-height: 100vh;
  padding-top: 80px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; overflow: hidden; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(17,17,17,0.92) 0%, rgba(17,17,17,0.72) 50%, #111 100%);
}
.hero-glow { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.hero-glow-1 {
  position: absolute; top: -80px; right: -100px;
  width: 700px; height: 180px;
  background: rgba(30,111,193,0.06); border-radius: 50%; filter: blur(60px);
  transform: rotate(-12deg);
}
.hero-glow-2 {
  position: absolute; bottom: 80px; left: -100px;
  width: 550px; height: 140px;
  background: rgba(30,111,193,0.05); border-radius: 50%; filter: blur(60px);
  transform: rotate(-12deg);
}
.hero-lines { position: absolute; inset: 0; pointer-events: none; width: 100%; height: 100%; }
.hero-content {
  position: relative; z-index: 10;
  max-width: 900px; margin: 0 auto; padding: 0 1.5rem; text-align: center;
}
.hero-logo { display: flex; justify-content: center; margin-bottom: 2.5rem; }
.hero h1 {
  font-size: clamp(2.25rem, 7vw, 4.5rem);
  font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase;
  line-height: 1.1; margin-bottom: 1rem;
}
.hero p {
  color: var(--text-muted); font-size: clamp(1rem, 1.5vw, 1.125rem);
  max-width: 640px; margin: 0 auto 2.5rem; line-height: 1.7;
}
.hero-btns { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 16px; }
.scroll-hint {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
  color: #555; animation: bounce 2s infinite;
}
@keyframes bounce {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

/* ── SECTIONS ────────────────────────────────────────────────── */
.section { position: relative; padding: 5rem 1.5rem; overflow: hidden; }
.section-inner { max-width: 1280px; margin: 0 auto; }
.section-label {
  font-size: 0.75rem; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--primary); margin-bottom: 12px; display: block; text-align: center;
}
.section-title {
  font-size: clamp(1.875rem, 4vw, 3rem);
  font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase;
  text-align: center; margin-bottom: 3.5rem;
}
.section-glow {
  position: absolute; top: 0; right: 0;
  width: 500px; height: 500px;
  background: rgba(30,111,193,0.04); border-radius: 50%; filter: blur(120px);
  transform: translate(30%, -50%); pointer-events: none;
}

/* ── SERVICE CARDS (home preview) ────────────────────────────── */
.services-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.service-card {
  position: relative;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 8px; padding: 24px;
  transition: border-color 0.3s; overflow: hidden;
}
.service-card::before {
  content: ''; position: absolute; top: 0; left: 16px; right: 16px; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(30,111,193,0.4), transparent);
  opacity: 0; transition: opacity 0.3s;
}
.service-card:hover { border-color: rgba(30,111,193,0.5); }
.service-card:hover::before { opacity: 1; }
.service-icon {
  width: 44px; height: 44px; border-radius: 8px;
  background: rgba(30,111,193,0.1);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px; transition: background 0.3s;
}
.service-card:hover .service-icon { background: rgba(30,111,193,0.2); }
.service-card h3 {
  font-size: 1.125rem; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase;
  margin-bottom: 8px; color: var(--text);
}
.service-card p { font-size: 0.875rem; color: var(--text-muted); line-height: 1.6; margin-bottom: 16px; }
.learn-more {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--primary); font-weight: 600; transition: color 0.2s;
}
.learn-more:hover { color: rgba(30,111,193,0.8); }
.services-center { text-align: center; margin-top: 3rem; }

/* ── BRANDS MARQUEE ──────────────────────────────────────────── */
.brands-section { padding-bottom: 4rem; }
.brands-marquee-wrap {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent 0%, #000 10%, #000 90%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 10%, #000 90%, transparent 100%);
}
.brands-track {
  display: flex; align-items: center; gap: 14px;
  width: max-content;
  animation: brands-scroll 21.2s linear infinite;
}
.brands-marquee-wrap:hover .brands-track { animation-play-state: paused; }
.brand-tile {
  flex-shrink: 0;
  width: 160px; height: 62px;
  background: #fff; border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
  cursor: default; user-select: none;
}
.brand-tile img {
  width: 100%; height: 100%;
  object-fit: contain;
  display: block;
}
.brand-tile:hover {
  border-color: rgba(30,111,193,0.6);
  box-shadow: 0 0 18px rgba(30,111,193,0.18);
  transform: translateY(-2px);
}
@keyframes brands-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ── DIAGONAL DIVIDER ────────────────────────────────────────── */
.diagonal-divider { position: relative; width: 100%; height: 80px; overflow: hidden; }
.diagonal-divider svg { position: absolute; inset: 0; width: 100%; height: 100%; }

/* ── CTA SECTION ─────────────────────────────────────────────── */
.cta-section {
  position: relative; padding: 5rem 1.5rem; overflow: hidden; text-align: center;
  background: var(--bg-dark);
}
.cta-glow {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 600px; height: 400px;
  background: rgba(30,111,193,0.05); border-radius: 50%; filter: blur(100px);
  pointer-events: none;
}
.cta-inner { position: relative; max-width: 768px; margin: 0 auto; }
.cta-icon {
  width: 56px; height: 56px; border-radius: 50%;
  background: rgba(30,111,193,0.1);
  display: flex; align-items: center; justify-content: center; margin: 0 auto 24px;
}
.cta-section h2 {
  font-size: clamp(1.875rem, 4vw, 3rem);
  font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase; margin-bottom: 16px;
}
.cta-section p { color: var(--text-muted); max-width: 500px; margin: 0 auto 2rem; line-height: 1.7; }

/* ── FOOTER ──────────────────────────────────────────────────── */
footer {
  position: relative; background: var(--bg-footer);
  border-top: 1px solid rgba(255,255,255,0.04); margin-top: auto;
}
footer::before {
  content: ''; display: block; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(30,111,193,0.5), transparent);
}
.footer-inner {
  max-width: 1280px; margin: 0 auto; padding: 3rem 1.5rem;
  display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem;
}
footer p.tagline { font-size: 0.875rem; color: var(--text-dim); line-height: 1.7; margin-top: 20px; }
.footer-col h4 {
  font-size: 0.8125rem; letter-spacing: 0.2em; text-transform: uppercase;
  font-weight: 600; color: #ccc; margin-bottom: 1rem;
}
.footer-col a {
  display: block; font-size: 0.875rem; color: var(--text-dim); margin-bottom: 8px; transition: color 0.2s;
}
.footer-col a:hover { color: var(--primary); }
.footer-contact-item {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.875rem; color: var(--text-dim); margin-bottom: 12px; transition: color 0.2s;
}
a.footer-contact-item:hover { color: var(--primary); }
.footer-bottom {
  max-width: 1280px; margin: 0 auto; padding: 1.5rem 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.04);
}
.footer-bottom p { font-size: 0.75rem; color: var(--text-dimmer); }

/* ── PAGE HERO (inner pages) ──────────────────────────────────── */
.page-hero {
  padding: 13rem 1.5rem 5rem; text-align: center;
  background: var(--bg); position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; top: 0; right: 0;
  width: 400px; height: 400px;
  background: rgba(30,111,193,0.05); border-radius: 50%; filter: blur(100px);
  transform: translate(25%, -25%); pointer-events: none;
}
.page-hero-label {
  font-size: 0.75rem; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--primary); margin-bottom: 14px; display: block;
}
.page-hero h1 {
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 1.25rem;
}
.page-hero p,
.page-hero-desc {
  color: var(--text-muted); max-width: 640px; margin: 0 auto; font-size: 1rem; line-height: 1.7;
}

/* ── SERVICES PAGE ───────────────────────────────────────────── */
.services-page-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.svc-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 8px; overflow: hidden;
  display: flex; flex-direction: column; transition: border-color 0.3s;
}
.svc-card:hover { border-color: rgba(30,111,193,0.5); }
.svc-card-topline {
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  opacity: 0; transition: opacity 0.3s;
}
.svc-card:hover .svc-card-topline { opacity: 1; }
.svc-card-inner { padding: 2rem; display: flex; flex-direction: column; flex: 1; }
.svc-icon {
  width: 48px; height: 48px; border-radius: 8px;
  background: rgba(30,111,193,0.1);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px; flex-shrink: 0; transition: background 0.3s;
}
.svc-card:hover .svc-icon { background: rgba(30,111,193,0.2); }
.svc-card h3 {
  font-size: clamp(1.125rem, 1.5vw, 1.375rem); font-weight: 700;
  letter-spacing: 0.07em; text-transform: uppercase; color: var(--text); margin-bottom: 12px;
}
.svc-card-desc { font-size: 0.875rem; color: var(--text-muted); line-height: 1.65; margin-bottom: 20px; }
.svc-features { list-style: none; margin-bottom: 24px; flex: 1; }
.svc-features li {
  display: flex; align-items: flex-start; gap: 8px;
  font-size: 0.875rem; color: #ccc; margin-bottom: 8px; line-height: 1.4;
}
.svc-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--primary); flex-shrink: 0; margin-top: 5px;
}
.btn-svc-quote {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 20px;
  background: rgba(30,111,193,0.1); color: var(--primary);
  font-size: 0.875rem; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 600;
  border-radius: 4px; transition: background 0.3s, color 0.3s;
  align-self: flex-start; margin-top: auto;
}
.btn-svc-quote:hover { background: var(--primary); color: #fff; }

/* ── CONTACT PAGE ────────────────────────────────────────────── */
.contact-form-wrap { max-width: 672px; margin: 0 auto; padding: 0 1.5rem 5rem; }
.contact-form-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 8px; padding: 2rem;
}
.contact-form-card h3 {
  font-size: 1.125rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--text); margin-bottom: 1.5rem;
}

/* ── GALLERY PAGE ────────────────────────────────────────────── */
.coming-soon-box {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 8px; padding: 5rem 2rem; text-align: center;
  max-width: 560px; margin: 0 auto;
}
.coming-soon-box h2 {
  font-size: 1.75rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  margin-bottom: 12px;
}
.coming-soon-box p { color: var(--text-muted); line-height: 1.7; }

/* ── ABOUT PAGE ──────────────────────────────────────────────── */
.about-body { color: var(--text); line-height: 1.9; font-size: 1rem; max-width: 820px; margin: 0 auto; text-align: center; }
.about-body p { margin-bottom: 1.5rem; }
.about-lead { font-size: 1.0625rem; color: var(--text); font-weight: 400; }

.about-divider {
  display: flex; align-items: center; gap: 20px;
  max-width: 820px; margin: 1rem auto 3rem;
}
.about-divider::before, .about-divider::after {
  content: ''; flex: 1; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(30,111,193,0.35), transparent);
}
.about-divider-label {
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.7rem; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--primary); white-space: nowrap; flex-shrink: 0;
}

.about-pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pillar {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 8px; padding: 28px 24px; text-align: center;
  transition: border-color 0.3s, box-shadow 0.3s; overflow: hidden;
}
.pillar:hover { border-color: rgba(30,111,193,0.45); box-shadow: 0 4px 28px rgba(30,111,193,0.07); }
.pillar-topline {
  height: 2px; margin: -28px -24px 24px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  opacity: 0; transition: opacity 0.3s;
}
.pillar:hover .pillar-topline { opacity: 1; }
.pillar-icon {
  width: 52px; height: 52px; border-radius: 50%;
  background: rgba(30,111,193,0.1);
  display: flex; align-items: center; justify-content: center; margin: 0 auto 16px;
  transition: background 0.3s, box-shadow 0.3s;
}
.pillar:hover .pillar-icon { background: rgba(30,111,193,0.2); box-shadow: 0 0 18px rgba(30,111,193,0.2); }
.pillar h3 {
  font-size: 0.9375rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 10px;
}
.pillar p { font-size: 0.875rem; color: var(--text-muted); line-height: 1.6; }

/* ── CONTACT PAGE ────────────────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 3rem; align-items: start; }
.contact-info h2 {
  font-size: 1.5rem; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; margin-bottom: 1rem;
}
.contact-info > p { color: var(--text-muted); line-height: 1.7; margin-bottom: 2rem; font-size: 0.9375rem; }
.contact-detail { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 1.25rem; }
.contact-detail-icon {
  width: 36px; height: 36px; border-radius: 6px;
  background: rgba(30,111,193,0.1);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 2px;
}
.contact-detail h4 {
  font-size: 0.75rem; letter-spacing: 0.15em; text-transform: uppercase; font-weight: 600;
  color: var(--primary); margin-bottom: 4px;
}
.contact-detail p, .contact-detail a { font-size: 0.9375rem; color: #ccc; }
.contact-detail a:hover { color: var(--primary); }
.contact-form {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 8px; padding: 2rem 2.25rem;
}
.contact-form h3 {
  font-size: 1rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 1.5rem;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block; font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase;
  font-weight: 600; color: #aaa; margin-bottom: 6px;
}
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 10px 14px;
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
  border-radius: 4px; color: var(--text);
  font-family: 'Inter', sans-serif; font-size: 0.9375rem;
  transition: border-color 0.2s; outline: none;
  -webkit-appearance: none; appearance: none;
}
.form-group input::placeholder, .form-group textarea::placeholder { color: #555; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--primary); }
.form-group select option { background: #242424; color: var(--text); }
.form-group textarea { resize: vertical; min-height: 120px; }
.btn-submit {
  width: 100%; padding: 10px 16px;
  background: var(--primary); color: #fff;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.875rem; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 600;
  border: none; border-radius: 4px; cursor: pointer; transition: background 0.3s, box-shadow 0.3s;
  display: flex; align-items: center; justify-content: center; gap: 8px;
}
.btn-submit:hover { background: rgba(30,111,193,0.9); box-shadow: 0 0 20px rgba(30,111,193,0.4); }

/* ── BRAND DETAIL PAGES ──────────────────────────────────────── */
.brand-detail-hero {
  padding: 9rem 1.5rem 4rem;
  background: var(--bg); position: relative; overflow: hidden;
}
.brand-detail-hero::before {
  content: ''; position: absolute; top: 0; right: 0;
  width: 500px; height: 500px;
  background: rgba(30,111,193,0.05); border-radius: 50%; filter: blur(120px);
  transform: translate(30%,-30%); pointer-events: none;
}
.brand-detail-hero-inner {
  max-width: 1280px; margin: 0 auto;
  display: flex; align-items: center; gap: 3rem;
}
.brand-detail-logo {
  flex-shrink: 0; background: #fff;
  border-radius: 12px; border: 1px solid rgba(255,255,255,0.15);
  padding: 22px 36px;
  width: 220px; height: 110px;
  display: flex; align-items: center; justify-content: center;
}
.brand-detail-logo img { max-width: 160px; max-height: 68px; object-fit: contain; }
.brand-detail-intro { flex: 1; }
.brand-detail-intro h1 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase;
  margin-bottom: 1rem; line-height: 1.1;
}
.brand-detail-intro p { color: var(--text-muted); max-width: 660px; font-size: 1rem; line-height: 1.7; }
.brand-back {
  max-width: 1280px; margin: 0 auto; padding: 0.75rem 1.5rem 0;
}
.brand-back a {
  font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase;
  font-weight: 600; color: var(--text-dim); transition: color 0.2s;
}
.brand-back a:hover { color: var(--primary); }

.products-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.product-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 8px; padding: 24px; position: relative; overflow: hidden;
  transition: border-color 0.3s; display: flex; flex-direction: column;
}
.product-card::before {
  content: ''; position: absolute; top: 0; left: 16px; right: 16px; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(30,111,193,0.4), transparent);
  opacity: 0; transition: opacity 0.3s;
}
.product-card:hover { border-color: rgba(30,111,193,0.5); }
.product-card:hover::before { opacity: 1; }
.product-img-wrap {
  margin: -24px -24px 20px -24px; height: 180px;
  background: #fff; border-radius: 8px 8px 0 0;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; flex-shrink: 0;
}
.product-img-wrap img { max-width: 100%; max-height: 100%; object-fit: contain; padding: 12px; }
.product-icon {
  width: 44px; height: 44px; border-radius: 8px;
  background: rgba(30,111,193,0.1);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px; flex-shrink: 0; transition: background 0.3s;
}
.product-card:hover .product-icon { background: rgba(30,111,193,0.2); }
.product-cat {
  font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase;
  font-weight: 600; color: var(--primary); margin-bottom: 6px; display: block;
}
.product-card h3 {
  font-size: 1rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--text); margin-bottom: 8px;
}
.product-card > p { font-size: 0.875rem; color: var(--text-muted); line-height: 1.6; margin-bottom: 16px; flex: 1; }
.product-specs { list-style: none; border-top: 1px solid var(--border); padding-top: 14px; margin-top: auto; }
.product-specs li {
  display: flex; justify-content: space-between; align-items: flex-start;
  padding: 5px 0; border-bottom: 1px solid rgba(255,255,255,0.04);
  font-size: 0.8rem; gap: 8px;
}
.product-specs li:last-child { border-bottom: none; }
.spec-label { color: var(--text-dim); flex-shrink: 0; }
.spec-val { color: var(--text); font-weight: 600; text-align: right; }
.brand-card-link {
  display: inline-flex; align-items: center; gap: 4px; margin-top: 14px;
  font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--primary); font-weight: 600; transition: color 0.2s;
}
.brand-card-link:hover { color: rgba(30,111,193,0.8); }

/* ── BRANDS PAGE ─────────────────────────────────────────────── */

/* Hero stats bar */
.brands-hero-stats {
  display: flex; align-items: center; justify-content: center; gap: 0;
  margin-top: 2.5rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 8px; overflow: hidden;
  max-width: 480px; margin-left: auto; margin-right: auto;
}
.brands-hero-stat {
  flex: 1; padding: 16px 20px; text-align: center;
  display: flex; flex-direction: column; gap: 4px;
}
.brands-hero-stat + .brands-hero-stat { border-left: 1px solid rgba(255,255,255,0.07); }
.brands-hero-stat-num {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.75rem; font-weight: 700; letter-spacing: 0.04em;
  color: var(--primary); line-height: 1;
}
.brands-hero-stat-label {
  font-size: 0.65rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--text-dim); font-weight: 500;
}

/* Category header */
.brands-cat-header {
  display: flex; align-items: center; gap: 1.5rem;
  margin: 2rem 0 2rem;
}
.brands-cat-rule {
  flex: 1; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1));
}
.brands-cat-rule.right {
  background: linear-gradient(90deg, rgba(255,255,255,0.1), transparent);
}
.brands-cat-label { flex-shrink: 0; text-align: center; }
.brands-page-cat-title {
  font-size: clamp(1.375rem, 2.5vw, 2rem);
  font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase;
  line-height: 1.1;
}

/* Card grid */
.brands-page-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

/* Brand card */
.brand-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px; overflow: hidden;
  display: flex; flex-direction: column;
  transition: border-color 0.28s, box-shadow 0.28s, transform 0.28s;
  text-decoration: none; color: inherit; cursor: pointer;
  position: relative;
}
.brand-card::before {
  content: ''; position: absolute; inset: 0; border-radius: 12px; pointer-events: none;
  background: radial-gradient(ellipse at 50% 0%, rgba(30,111,193,0.07) 0%, transparent 70%);
  opacity: 0; transition: opacity 0.3s;
}
.brand-card:hover::before { opacity: 1; }
.brand-card:hover {
  border-color: rgba(30,111,193,0.45);
  box-shadow: 0 10px 48px rgba(0,0,0,0.35), 0 0 0 1px rgba(30,111,193,0.18);
  transform: translateY(-4px);
}

/* Inset logo container */
.brand-card-logo-wrap {
  margin: 14px 14px 0;
  border-radius: 8px;
  background: #fff;
  height: 92px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  position: relative; flex-shrink: 0;
  transition: box-shadow 0.28s;
}
.brand-card:hover .brand-card-logo-wrap {
  box-shadow: 0 4px 20px rgba(0,0,0,0.18);
}
.brand-card-logo-wrap img {
  max-width: 70%; max-height: 52px; object-fit: contain;
  transition: transform 0.3s;
}
.brand-card:hover .brand-card-logo-wrap img { transform: scale(1.04); }

/* Card body */
.brand-card-body { padding: 14px 18px 18px; flex: 1; display: flex; flex-direction: column; }
.brand-card-meta {
  display: flex; align-items: center; justify-content: space-between; margin-bottom: 7px;
}
.brand-cat {
  font-size: 0.65rem; letter-spacing: 0.2em; text-transform: uppercase;
  font-weight: 600; color: var(--primary); display: block;
}
.brand-card-count {
  font-size: 0.63rem; letter-spacing: 0.1em; text-transform: uppercase;
  font-weight: 500; color: var(--text-dimmer);
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.07);
  border-radius: 20px; padding: 2px 8px; white-space: nowrap; flex-shrink: 0;
}
.brand-card h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.5rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase;
  color: var(--text); margin-bottom: 7px; line-height: 1.1;
}
.brand-card p {
  font-size: 0.845rem; color: var(--text-muted); line-height: 1.6; flex: 1;
}
.brand-card-cta {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 14px; padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,0.06);
  font-size: 0.68rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--primary); font-weight: 600;
}
.brand-card-cta svg { transition: transform 0.22s; }
.brand-card:hover .brand-card-cta svg { transform: translateX(5px); }

/* ── RESPONSIVE ──────────────────────────────────────────────── */
@media (max-width: 900px) {
  .services-grid { grid-template-columns: 1fr; }
  .services-page-grid { grid-template-columns: 1fr; }
  .brands-page-grid { grid-template-columns: repeat(2, 1fr); }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .about-pillars { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 1.5rem; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: block; }
  .hero-btns { flex-direction: column; align-items: stretch; }
  .hero-btns a { justify-content: center; }
  .nav-inner { height: 56px; }
  .svc-card-inner { padding: 1.25rem; }

  /* Brand detail hero stacks vertically */
  .brand-detail-hero { padding: 6.5rem 1.25rem 2.5rem; }
  .brand-detail-hero-inner { flex-direction: column; gap: 1.5rem; align-items: flex-start; }
  .brand-detail-logo { width: auto; min-width: 160px; height: auto; padding: 14px 24px; }
  .brand-detail-logo img { max-width: 140px; max-height: 56px; }
  .brand-back { padding: 0; }
  .brand-detail-intro h1 { font-size: clamp(1.875rem, 8vw, 3rem); }
  .brand-detail-intro p { font-size: 0.9375rem; }

  /* Product cards single column on mobile */
  .products-grid { grid-template-columns: 1fr; gap: 16px; }

  /* Product card image shorter on mobile */
  .product-img-wrap { height: 160px; }

  /* Spec table more compact */
  .product-specs li { font-size: 0.775rem; }
}
@media (max-width: 600px) {
  .brands-page-grid { grid-template-columns: 1fr; }
  .section { padding: 3rem 1.25rem; }
  .page-hero { padding: 9rem 1.25rem 3rem; }
  .brand-card-body { padding: 12px 14px 16px; }
  .brands-hero-stats { max-width: 100%; margin-top: 2rem; }
  .brands-hero-stat { padding: 12px 10px; }
  .brands-hero-stat-num { font-size: 1.4rem; }
  .brands-cat-header { gap: 0.75rem; }
  .brands-cat-rule { display: none; }
  .brands-cat-label { text-align: left; }
}

/* ── NO FADE-IN FOR PRODUCT CARDS ON TABLET / MOBILE ────────── */
@media (max-width: 1024px) {
  .products-grid.reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ── ENHANCED MOBILE ─────────────────────────────────────────── */

/* Prevent iOS auto-zoom on input focus (requires ≥16px) */
.form-group input,
.form-group select,
.form-group textarea { font-size: 1rem; }

/* Stop long text from forcing horizontal scroll */
.spec-val { min-width: 0; overflow-wrap: break-word; }
.footer-col a,
.footer-contact-item { overflow-wrap: break-word; word-break: break-word; }
.product-card h3,
.brand-card h3 { overflow-wrap: break-word; }

/* Active link in mobile menu */
.mobile-menu a.active { color: var(--primary); }

/* ── 480px (mid-range phones) ────────────────────────────────── */
@media (max-width: 480px) {
  /* Nav */
  .nav-inner { padding: 0 1rem; }
  .logo-palmetto { font-size: 22px; }
  .logo-img { width: 30px; height: 30px; }
  .logo-lockup { gap: 7px; }

  /* Mobile menu tap targets */
  .mobile-menu { padding: 8px 14px 18px; }
  .mobile-menu a { padding: 13px 6px; font-size: 1rem; }
  .mobile-menu .btn-quote-nav { padding: 12px 20px; font-size: 0.9rem; }

  /* Sections */
  .section { padding: 2.5rem 1rem; }
  .section-title { margin-bottom: 2rem; font-size: clamp(1.5rem, 7vw, 2.5rem); }
  .page-hero { padding: 7.5rem 1rem 2.5rem; }

  /* Hero (index) */
  .hero-content { padding: 0 1rem; }
  .scroll-hint { bottom: 20px; }

  /* Brand detail */
  .brand-detail-hero { padding: 5.5rem 1rem 2rem; }
  .brand-detail-logo { padding: 12px 20px; }
  .brand-detail-intro h1 { font-size: clamp(1.75rem, 9vw, 2.75rem); }
  .brand-detail-intro p { font-size: 0.875rem; }

  /* Product cards — tighter padding, taller image area */
  .product-card { padding: 18px; }
  .product-img-wrap { margin: -18px -18px 16px -18px; height: 200px; }
  .product-card h3 { font-size: 0.9375rem; }

  /* CTA */
  .cta-section { padding: 3rem 1rem; }

  /* Footer */
  .footer-inner { padding: 2rem 1rem; }
  .footer-bottom { padding: 1.25rem 1rem; }

  /* Contact */
  .contact-form { padding: 1.25rem 1rem; }
  .contact-form-card { padding: 1.25rem 1rem; }

  /* Brands page */
  .brands-cat-header { margin: 1.25rem 0; }
  .brands-page-cat-title { font-size: clamp(1.2rem, 6vw, 1.75rem); }
  .brands-hero-stat-num { font-size: 1.3rem; }
}

/* ── 380px (small phones) ────────────────────────────────────── */
@media (max-width: 380px) {
  .logo-palmetto { font-size: 19px; letter-spacing: 0.12em; }
  .logo-img { width: 28px; height: 28px; }
  .nav-inner { padding: 0 0.75rem; }
  .section { padding: 2rem 0.875rem; }
  .product-specs li { font-size: 0.72rem; }
  .spec-label, .spec-val { font-size: 0.72rem; }
  .brand-detail-hero { padding: 5rem 0.875rem 1.75rem; }
}
