/* ============================================================
   Blue Ox HVAC — Global Stylesheet
   ============================================================ */

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

:root {
  --navy:      #0A1628;
  --navy-mid:  #0D1E38;
  --white:     #FFFFFF;
  --blue:      #0057B8;
  --blue-hover:#0046A0;
  --charcoal:  #1C1C1E;
  --grey-bg:   #F5F5F7;
  --grey-card: #E8E8ED;
  --grey-text: #6E6E73;
  --border:    rgba(255,255,255,0.12);
  --font:      -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --radius:    12px;
  --shadow:    0 4px 24px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.14);
}

html { scroll-behavior: smooth; }

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

/* ── Typography ─────────────────────────────────────────── */
h1, h2, h3, h4 { font-weight: 700; line-height: 1.2; letter-spacing: -0.02em; }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); }
p  { color: var(--grey-text); line-height: 1.75; }

a { text-decoration: none; color: inherit; }

/* ── Layout Helpers ─────────────────────────────────────── */
.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.section    { padding: 96px 0; }
.section-sm { padding: 64px 0; }
.section-dark { background: var(--navy); color: var(--white); }
.section-grey { background: var(--grey-bg); }

.section-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 12px;
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
}
.section-header h2 { margin-bottom: 14px; }
.section-header p  { font-size: 1.05rem; }

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}
.btn-primary:hover {
  background: var(--blue-hover);
  border-color: var(--blue-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0,87,184,0.35);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.6);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--white);
  transform: translateY(-1px);
}
.btn-dark {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.btn-dark:hover {
  background: var(--navy-mid);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(10,22,40,0.35);
}

/* ── Navigation ─────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(10, 22, 40, 0.75);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}
.navbar.scrolled {
  background: rgba(10, 22, 40, 0.95);
}
.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 92px;
}
.navbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}
/* Logos are injected by main.js (markup generated from "Blue Ox Logo Final.svg",
   the single source of truth). The SVG is one locked unit — scale via width
   only, never reposition internal elements. */
.site-logo,
.footer-logo { display: block; line-height: 0; }
.site-logo svg {
  width: 150px;
  height: auto;
  display: block;
  opacity: 1;
}
.footer-logo svg {
  width: 130px;
  height: auto;
  display: block;
  opacity: 1;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}
.nav-links a {
  color: rgba(255,255,255,0.82);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 6px;
  transition: var(--transition);
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
  background: rgba(255,255,255,0.1);
}
.nav-cta { margin-left: 8px; padding: 8px 18px !important; font-size: 0.88rem !important; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Hero ────────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  background: var(--navy);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 92px;
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  display: block;
}
.hero-video-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 22, 40, 0.65);
  z-index: 1;
}
/* Ensure all existing hero layers sit above the video + overlay */
.hero-bg          { z-index: 2; }
.hero-grid-lines  { z-index: 3; }
.hero .container  { position: relative; z-index: 4; }

/* Mobile: pause/hide video to avoid performance drain */
@media (max-width: 768px) {
  .hero-video { display: none; }
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 60% 40%, rgba(0,87,184,0.22) 0%, transparent 70%),
    radial-gradient(ellipse 50% 40% at 10% 80%, rgba(0,87,184,0.12) 0%, transparent 60%);
}
.hero-grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
}
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0,87,184,0.2);
  border: 1px solid rgba(0,87,184,0.4);
  color: #4DA3FF;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 28px;
}
.hero-tag::before {
  content: '';
  width: 6px; height: 6px;
  background: #4DA3FF;
  border-radius: 50%;
}
.hero h1 {
  color: var(--white);
  margin-bottom: 24px;
  line-height: 1.1;
}
.hero h1 span { color: #4DA3FF; }
.hero p {
  color: rgba(255,255,255,0.72);
  font-size: clamp(1rem, 2vw, 1.18rem);
  max-width: 580px;
  margin-bottom: 40px;
}
.hero-buttons { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 64px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.1);
  flex-wrap: wrap;
}
.stat-item { }
.stat-num {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.03em;
}
.stat-num span { color: var(--blue); }
.stat-label {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 2px;
}

/* ── Page Hero (inner pages) ─────────────────────────────── */
.page-hero {
  background: var(--navy);
  padding: 164px 0 80px;
  position: relative;
  overflow: hidden;
}
.page-hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 80% at 70% 50%, rgba(0,87,184,0.18) 0%, transparent 70%);
}
.page-hero .hero-grid-lines { opacity: 0.5; }
.page-hero-content { position: relative; z-index: 1; }
.page-hero h1 { color: var(--white); margin-bottom: 16px; }
.page-hero p  { color: rgba(255,255,255,0.68); font-size: 1.1rem; max-width: 540px; }

/* ── Cards ───────────────────────────────────────────────── */
.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.card-icon {
  width: 52px; height: 52px;
  background: rgba(0,87,184,0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.card-icon svg { width: 26px; height: 26px; stroke: var(--blue); fill: none; stroke-width: 1.8; }

/* ── Feature Grid ─────────────────────────────────────────── */
.feature-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* ── Product Cards ───────────────────────────────────────── */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.product-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid rgba(0,0,0,0.06);
}
.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}
.product-img {
  height: 200px;
  background: var(--grey-card);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 10px;
  position: relative;
  overflow: hidden;
}
.product-img::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #E8E8ED 0%, #D8D8DD 100%);
}
.product-img svg {
  position: relative;
  z-index: 1;
  width: 48px; height: 48px;
  stroke: #9999A8;
  fill: none;
  stroke-width: 1.5;
}
.product-img-label {
  position: relative;
  z-index: 1;
  font-size: 0.75rem;
  color: #9999A8;
  font-weight: 500;
}
.product-tag {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.tag-industrial { background: rgba(0,87,184,0.1); color: var(--blue); }
.tag-commercial  { background: rgba(0,150,100,0.1); color: #008055; }

.product-body { padding: 20px 22px 24px; }
.product-body h3 { font-size: 1rem; margin-bottom: 8px; color: var(--charcoal); }
.product-specs {
  display: flex;
  gap: 12px;
  margin: 12px 0 14px;
  flex-wrap: wrap;
}
.spec-item {
  font-size: 0.78rem;
  color: var(--grey-text);
  background: var(--grey-bg);
  padding: 4px 10px;
  border-radius: 6px;
}
.spec-item strong { color: var(--charcoal); font-weight: 600; }
.product-body .btn { margin-top: 4px; padding: 9px 18px; font-size: 0.85rem; }

/* ── Real Product Cards (image + view details) ───────────── */
.product-card { cursor: pointer; display: flex; flex-direction: column; }
.product-img-real {
  height: 260px;
  width: 100%;
  overflow: hidden;
  background: var(--grey-card);
}
.product-img-real img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.product-card:hover .product-img-real img { transform: scale(1.05); }
.product-card .product-body { display: flex; flex-direction: column; flex: 1; }
.product-card h3 { color: var(--navy); }
.product-card-desc { font-size: 0.88rem; color: var(--grey-text); margin: 8px 0 18px; flex: 1; }
.product-view-btn {
  width: 100%;
  justify-content: center;
  margin-top: auto !important;
  padding: 12px !important;
  font-size: 0.9rem !important;
}

/* ── Category Filter Bar ─────────────────────────────────── */
.filter-bar {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 44px;
}
.filter-pill {
  padding: 10px 24px;
  border-radius: 100px;
  font-family: var(--font);
  font-size: 0.9rem;
  font-weight: 600;
  background: var(--white);
  color: var(--navy);
  border: 1.5px solid var(--navy);
  cursor: pointer;
  transition: var(--transition);
}
.filter-pill:hover { background: rgba(10,22,40,0.06); }
.filter-pill.active {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
/* Filter hide/show transition */
.product-card { transition: var(--transition), opacity 0.3s ease; }
.product-card.filtered-out {
  opacity: 0;
  transform: scale(0.96);
  pointer-events: none;
  position: absolute;
  visibility: hidden;
}

/* ── Product Detail Modal ────────────────────────────────── */
.product-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity 0.25s ease;
  overflow-y: auto;
}
.product-modal[hidden] { display: none; }
.product-modal.open { opacity: 1; }

.product-modal-panel {
  position: relative;
  display: flex;
  width: 100%;
  max-width: 1040px;
  max-height: calc(100vh - 48px);
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 70px rgba(0,0,0,0.5);
  transform: scale(0.95);
  opacity: 0;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.product-modal.open .product-modal-panel { transform: scale(1); opacity: 1; }

.product-modal-close {
  position: absolute;
  top: 16px; right: 16px;
  z-index: 5;
  width: 38px; height: 38px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.9);
  color: var(--navy);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
  transition: var(--transition);
}
.product-modal-close:hover { background: var(--white); transform: rotate(90deg); }

/* Left media panel */
.modal-media {
  width: 55%;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: var(--grey-bg);
}
.modal-media-stage {
  position: relative;
  height: 420px;
  background: var(--navy);
  border-radius: 12px;
  overflow: hidden;
}
.modal-media-img,
.modal-media-video-wrap {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transition: opacity 0.3s ease;
}
.modal-media-img { object-fit: contain; opacity: 1; }
.modal-media-video-wrap { opacity: 0; pointer-events: none; }
.modal-media-video-wrap video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: var(--navy);
  display: block;
}
.modal-media.show-video .modal-media-img { opacity: 0; pointer-events: none; }
.modal-media.show-video .modal-media-video-wrap { opacity: 1; pointer-events: auto; }

.modal-thumbs { display: flex; gap: 12px; }
.modal-thumb {
  position: relative;
  width: 84px; height: 64px;
  border-radius: 8px;
  border: 2px solid transparent;
  background: var(--navy);
  cursor: pointer;
  overflow: hidden;
  padding: 0;
  transition: var(--transition);
}
.modal-thumb.active { border-color: var(--navy); }
.modal-thumb-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.modal-thumb-icon {
  position: absolute;
  bottom: 4px; right: 4px;
  width: 20px; height: 20px;
  background: rgba(10,22,40,0.7);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.modal-thumb-icon svg { width: 13px; height: 13px; }
.modal-thumb-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.modal-thumb-play svg { width: 26px; height: 26px; }

/* Right details panel */
.modal-details {
  width: 45%;
  padding: 40px 36px;
  overflow-y: auto;
}
.modal-product-name { color: var(--navy); margin: 14px 0; font-size: 1.7rem; }
.modal-divider { border: none; border-top: 1px solid rgba(0,0,0,0.1); margin: 20px 0; }
.modal-description { font-size: 0.95rem; color: var(--grey-text); line-height: 1.7; }
.modal-highlights h4 { font-size: 1rem; color: var(--navy); margin-bottom: 14px; }
.modal-highlights ul { list-style: none; }
.modal-highlights li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--charcoal);
  margin-bottom: 10px;
}
.modal-highlights li::before {
  content: '\2726';
  color: var(--blue);
  font-size: 0.95rem;
  line-height: 1.5;
  flex-shrink: 0;
}
.modal-interested { font-weight: 600; color: var(--navy); margin-bottom: 14px; }
.modal-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.modal-actions .btn { flex: 1; justify-content: center; min-width: 140px; }
.modal-whatsapp {
  background: #25D366;
  color: var(--white);
  border-color: #25D366;
}
.modal-whatsapp:hover {
  background: #1DA851;
  border-color: #1DA851;
  transform: translateY(-1px);
}
.modal-response-note { font-size: 0.82rem; color: var(--grey-text); text-align: center; margin-top: 16px; }

@media (max-width: 768px) {
  .product-modal-panel { flex-direction: column; max-height: calc(100vh - 48px); overflow-y: auto; }
  .modal-media, .modal-details { width: 100%; }
  .modal-media-stage { height: 280px; }
  .modal-details { padding: 28px 22px; }
}

/* ── Alternating Advantage Blocks ────────────────────────── */
.advantage-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 72px 0;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.advantage-block:last-child { border-bottom: none; }
.advantage-block.reverse .advantage-text { order: 2; }
.advantage-block.reverse .advantage-visual { order: 1; }

.advantage-num {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--blue);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.advantage-text h3 { font-size: 1.7rem; margin-bottom: 16px; color: var(--charcoal); }
.advantage-text p  { font-size: 1rem; color: var(--grey-text); }

.advantage-visual {
  background: var(--grey-bg);
  border-radius: 16px;
  height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 14px;
  border: 1px solid rgba(0,0,0,0.06);
}
.advantage-visual svg {
  width: 64px; height: 64px;
  stroke: var(--blue);
  fill: none;
  stroke-width: 1.4;
  opacity: 0.7;
}

/* ── Application Tiles ───────────────────────────────────── */
.app-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.app-tile {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 24px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid rgba(0,0,0,0.05);
}
.app-tile:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.app-tile svg {
  width: 40px; height: 40px;
  stroke: var(--blue);
  fill: none;
  stroke-width: 1.8;
  margin-bottom: 16px;
}
.app-tile h4 { font-size: 0.95rem; margin-bottom: 8px; color: var(--charcoal); }
.app-tile p  { font-size: 0.85rem; }

/* ── CTA Banner ──────────────────────────────────────────── */
.cta-banner {
  background: var(--navy);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 100% at 50% 50%, rgba(0,87,184,0.25) 0%, transparent 70%);
}
.cta-banner .container { position: relative; z-index: 1; }
.cta-banner h2 { color: var(--white); margin-bottom: 14px; }
.cta-banner p  { color: rgba(255,255,255,0.65); font-size: 1.05rem; margin-bottom: 32px; max-width: 520px; margin-left: auto; margin-right: auto; }

/* ── Values / Story sections ─────────────────────────────── */
.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.story-img {
  background: var(--grey-bg);
  border-radius: 16px;
  height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 12px;
  border: 1px solid rgba(0,0,0,0.06);
}
.story-img svg { width: 56px; height: 56px; stroke: #B0B0B8; fill: none; stroke-width: 1.5; }
.story-img span { font-size: 0.82rem; color: #B0B0B8; font-weight: 500; }
.story-text h2 { margin-bottom: 20px; }
.story-text p  { margin-bottom: 16px; font-size: 1rem; }

.mission-panel {
  background: var(--navy);
  border-radius: 20px;
  padding: 64px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.mission-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 80% at 50% 50%, rgba(0,87,184,0.3) 0%, transparent 70%);
}
.mission-panel > * { position: relative; z-index: 1; }
.mission-panel h2 { color: var(--white); margin-bottom: 20px; }
.mission-panel p  { color: rgba(255,255,255,0.72); font-size: 1.08rem; max-width: 600px; margin: 0 auto; }

/* ── Who We Are Strip ────────────────────────────────────── */
.who-text { max-width: 680px; margin: 0 auto 48px; text-align: center; font-size: 1.05rem; }

/* ── Contact Page ────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: start;
}
.form-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(0,0,0,0.06);
}
.form-card h3 { margin-bottom: 28px; font-size: 1.3rem; }

.form-group { margin-bottom: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 7px;
}
.form-group label span { color: var(--blue); }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid #D1D1D6;
  border-radius: 8px;
  font-family: var(--font);
  font-size: 0.92rem;
  color: var(--charcoal);
  background: var(--white);
  transition: border-color var(--transition);
  outline: none;
  -webkit-appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(0,87,184,0.12);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-group select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236E6E73' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; cursor: pointer; }

.contact-info-card {
  background: var(--navy);
  border-radius: var(--radius);
  padding: 40px;
  color: var(--white);
}
.contact-info-card h3 { color: var(--white); margin-bottom: 28px; font-size: 1.3rem; }
.contact-item {
  display: flex;
  gap: 14px;
  margin-bottom: 24px;
  align-items: flex-start;
}
.contact-item:last-child { margin-bottom: 0; }
.contact-item-icon {
  width: 40px; height: 40px;
  background: rgba(255,255,255,0.08);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.contact-item-icon svg { width: 18px; height: 18px; stroke: #4DA3FF; fill: none; stroke-width: 2; }
.contact-item-text strong {
  display: block;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.5);
  margin-bottom: 4px;
}
.contact-item-text span {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.88);
  line-height: 1.5;
}
.whatsapp-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(37,211,102,0.15);
  border: 1px solid rgba(37,211,102,0.3);
  color: #25D366;
  padding: 10px 16px;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  margin-top: 8px;
  transition: var(--transition);
}
.whatsapp-link:hover { background: rgba(37,211,102,0.25); }
.whatsapp-link svg { width: 18px; height: 18px; fill: #25D366; }

/* ── Footer ──────────────────────────────────────────────── */
.footer {
  background: #060E1C;
  color: rgba(255,255,255,0.75);
  padding: 72px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.4fr;
  gap: 48px;
  padding-bottom: 56px;
}
.footer-brand { }
.footer-brand .navbar-brand { margin-bottom: 14px; color: var(--white); }
.footer-brand p { font-size: 0.9rem; color: rgba(255,255,255,0.5); max-width: 280px; line-height: 1.7; }

.footer h4 {
  color: var(--white);
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
}
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a {
  color: rgba(255,255,255,0.55);
  font-size: 0.9rem;
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--white); }

.footer-contact-item {
  display: flex;
  gap: 10px;
  margin-bottom: 14px;
  align-items: flex-start;
}
.footer-contact-item svg {
  width: 16px; height: 16px;
  stroke: var(--blue);
  fill: none;
  stroke-width: 2;
  flex-shrink: 0;
  margin-top: 3px;
}
.footer-contact-item span { font-size: 0.88rem; color: rgba(255,255,255,0.55); line-height: 1.6; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.footer-bottom p { font-size: 0.83rem; color: rgba(255,255,255,0.35); }
.footer-bottom span { font-size: 0.83rem; color: rgba(255,255,255,0.25); }

/* ── Scroll Animations ───────────────────────────────────── */
.fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-in-left {
  opacity: 0;
  transform: translateX(-32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-in-left.visible { opacity: 1; transform: translateX(0); }
.fade-in-right {
  opacity: 0;
  transform: translateX(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-in-right.visible { opacity: 1; transform: translateX(0); }

.delay-1 { transition-delay: 0.1s !important; }
.delay-2 { transition-delay: 0.2s !important; }
.delay-3 { transition-delay: 0.3s !important; }
.delay-4 { transition-delay: 0.4s !important; }
.delay-5 { transition-delay: 0.5s !important; }
.delay-6 { transition-delay: 0.6s !important; }

/* ── Mobile Menu ─────────────────────────────────────────── */
@media (max-width: 768px) {
  .hamburger { display: flex; }

  /* Slightly tighter navbar + logo on small screens */
  .navbar-inner { height: 76px; }
  .site-logo svg { width: 120px; }
  .hero { padding-top: 76px; }
  .page-hero { padding: 130px 0 72px; }

  .nav-links {
    display: none;
    position: fixed;
    top: 76px; left: 0; right: 0;
    background: rgba(10, 22, 40, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 16px 20px;
    border-bottom: 1px solid var(--border);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 13px 16px; border-radius: 8px; font-size: 1rem; }
  .nav-cta { margin-left: 0 !important; margin-top: 8px; text-align: center; justify-content: center; }

  /* Layout */
  .feature-grid-3 { grid-template-columns: 1fr; }
  .feature-grid-4 { grid-template-columns: 1fr 1fr; }
  .product-grid   { grid-template-columns: 1fr; }
  .app-grid       { grid-template-columns: 1fr 1fr; }
  .story-grid     { grid-template-columns: 1fr; }
  .story-img      { height: 220px; }
  .contact-grid   { grid-template-columns: 1fr; }
  .footer-grid    { grid-template-columns: 1fr; gap: 36px; }
  .form-row       { grid-template-columns: 1fr; }

  .advantage-block { grid-template-columns: 1fr; gap: 32px; }
  .advantage-block.reverse .advantage-text { order: 1; }
  .advantage-block.reverse .advantage-visual { order: 2; }

  .mission-panel { padding: 40px 24px; }
  .hero-stats { gap: 24px; }
  .hero-buttons { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .feature-grid-4 { grid-template-columns: 1fr; }
  .app-grid       { grid-template-columns: 1fr; }
  .section        { padding: 64px 0; }
  .form-card, .contact-info-card { padding: 28px 20px; }
}

/* ============================================================
   CINEMATIC BRAND SPLASH (homepage intro)
   ============================================================ */

/* Lock page scroll while splash is active */
body.splash-lock { overflow: hidden; height: 100vh; }

.splash {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #0A1628;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transition: opacity 400ms ease;
}
.splash.splash-fade { opacity: 0; }
.splash.splash-gone { display: none; }

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

.splash-logo {
  width: 520px;
  max-width: 86vw;
  height: auto;
  overflow: visible;               /* don't clip the dropping wordmark */
  transform-origin: center center;
  will-change: transform;
}
@media (max-width: 768px) {
  .splash-logo { width: 320px; }
}

/* ── Entrance states (toggled to .in by JS in sequence) ──── */

/* STEP 1 — Wordmark drops in (translateY -80 → 0, 700ms) */
.bo-wordmark-wrap {
  opacity: 0;
  transform: translateY(-80px);
  transition: opacity 700ms cubic-bezier(0.22, 1, 0.36, 1),
              transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
}
.bo-wordmark-wrap.in { opacity: 1; transform: translateY(0); }

/* STEP 2 — Fan blades spin (started by JS adding .bo-spinning) */
/* The fan is the "O" in the wordmark, so it drops in WITH the wordmark;
   only the rotation is gated to start at 700ms. */
.fan-spin { transform-box: fill-box; transform-origin: 50% 50%; }
.bo-fan.bo-spinning { animation: bo-fan-spin 1.8s linear infinite; }
@keyframes bo-fan-spin { to { transform: rotate(360deg); } }

/* STEP 3 — Silver line draws top→bottom (dashoffset 94 → 0, 400ms) */
.bo-line {
  stroke-dasharray: 94;
  stroke-dashoffset: 94;
  transition: stroke-dashoffset 400ms ease-in-out;
}
.bo-line.in { stroke-dashoffset: 0; }

/* STEP 4 — Ox slides in from the LEFT with overshoot (translateX -60 → 0, 800ms).
   Entering from the left means it never crosses the wordmark or HVAC box,
   so no element overlap is possible during the sequence. */
.bo-ox-wrap {
  opacity: 0;
  transform: translateX(-60px);
  transition: opacity 800ms cubic-bezier(0.34, 1.56, 0.64, 1),
              transform 800ms cubic-bezier(0.34, 1.56, 0.64, 1);
}
.bo-ox-wrap.in { opacity: 1; transform: translateX(0); }

/* STEP 5 — HVAC box fades up (translateY 10 → 0, 500ms) */
.bo-hvac-wrap {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 500ms ease-out, transform 500ms ease-out;
}
.bo-hvac-wrap.in { opacity: 1; transform: translateY(0); }

/* STEP 6 — Scroll prompt */
.splash-prompt {
  position: absolute;
  bottom: 42px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0;
  transition: opacity 600ms ease;
  pointer-events: none;
}
.splash-prompt.in { opacity: 0.5; }
.splash-chevron {
  display: block;
  animation: bo-float 1.2s ease-in-out infinite alternate;
}
@keyframes bo-float { from { transform: translateY(0); } to { transform: translateY(-6px); } }
.splash-prompt-text {
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #B8C2CE;
}

/* Skip button */
.splash-skip {
  position: absolute;
  top: 24px;
  right: 28px;
  background: none;
  border: none;
  color: #FFFFFF;
  opacity: 0.4;
  font-family: var(--font);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: opacity 0.25s ease;
  z-index: 2;
}
.splash-skip:hover { opacity: 0.85; }

/* Phase 3 — flying logo handoff to navbar */
.splash-logo.bo-flying {
  transition: transform 700ms cubic-bezier(0.76, 0, 0.24, 1);
}
