/* ==========================================================================
   Hydrogen Oxygen Machines — "Calm Air · Green" design system (concept 3a)
   Bootstrap 5 + custom. Drop-in replacement for main.css.
   Every class name preserved; retargeted to green / Spectral / Mulish.
   Load fonts once (head.html or here):
   Spectral:wght@300;400;500;600  +  Mulish:wght@300;400;500;600;700
   ========================================================================== */


:root {
  --brand:       #fb4616;   /* sage green — primary accent */
  --brand-2:     #cc380f;   /* darker green — hovers */
  --brand-soft:  #ffe7e0;   /* pale green — icon chips / tints */
  --brand-dark:  #cc380f;   /* darker orange — gradients & hovers */
  --brand-light: #ff6a42;   /* lighter orange — gradients */
  --ink:         #263230;   /* headings */
  --body:        #4e5a56;   /* body text */
  --muted:       #8a928c;
  --paper:       #f4f1ea;   /* warm page background */
  --surface:     #fbf9f4;   /* card / soft-section background */
  --soft:        #fbf9f4;   /* legacy alias → surface */
  --line:        #e6e1d6;   /* warm hairline */
  --navy:        #333333;   /* dark band (product spotlight) only */
  --shadow-sm:   0 2px 12px rgba(38, 50, 48, .05);
  --shadow-md:   0 14px 34px rgba(38, 50, 48, .09);
  --radius:      20px;
}

* { scroll-behavior: smooth; }

body {
  font-family: 'Mulish', system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--body);
  background: var(--paper);
  font-size: 1.02rem;
  line-height: 1.7;
}

h1, h2, h3, h4, h5, .hero-title {
  font-family: 'Spectral', Georgia, "Times New Roman", serif;
  color: var(--ink); font-weight: 400; line-height: 1.18;
}
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-2); }

.eyebrow {
  text-transform: uppercase; letter-spacing: .16em; font-size: .78rem;
  font-weight: 700; color: var(--brand); margin-bottom: .6rem;
  font-family: 'Mulish', sans-serif;
}

/* ---------- Buttons ---------- */
.btn { border-radius: 999px; font-weight: 700; padding: .8rem 1.75rem; }
.btn-primary-brand { background: var(--brand); border: none; color: #fff; }
.btn-primary-brand:hover { color: #fff; filter: brightness(1.06); box-shadow: var(--shadow-md); }
.btn-hero { background: #fff; color: var(--brand); border: none; }
.btn-hero:hover { color: var(--brand-2); box-shadow: var(--shadow-md); }
.btn-outline-brand { border: 1.5px solid #c7cfc9; color: var(--ink); background: transparent; }
.btn-outline-brand:hover { background: var(--brand); border-color: var(--brand); color: #fff; }

/* ---------- Top bar ---------- */
.topbar { background: #333333; color: #d8d8d8; font-size: .85rem; padding: .4rem 0; }

/* ---------- Navbar ---------- */
.site-nav { background: rgba(244,241,234,.94); backdrop-filter: saturate(180%) blur(8px);
  box-shadow: var(--shadow-sm); padding: .7rem 0; }
.site-nav .navbar-brand { font-family: 'Mulish', sans-serif; font-weight: 800; color: var(--ink); letter-spacing: -.01em; }
.site-nav .nav-link { color: var(--ink); font-weight: 600; padding: .4rem .9rem; border-radius: 8px; }
.site-nav .nav-link:hover, .site-nav .nav-link.active { color: var(--brand); }
.lang-toggle { color: var(--muted) !important; }

/* ---------- Hero carousel ---------- */
/* 3a hero = photo carousel with a left-weighted dark overlay + serif headline.
   .hero-slide is now a neutral dark base in case a slide has no image. */
.hero-slide {
  background: var(--navy);
  min-height: 74vh; display: flex; align-items: center;
  padding: 5rem 0; position: relative; overflow: hidden;
}
.hero-slide::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(51,51,51,.72) 0%, rgba(51,51,51,.35) 45%, rgba(51,51,51,0) 72%);
}
.hero-content { position: relative; z-index: 2; max-width: 640px; color: #fff; }
.hero .eyebrow { color: #ffb7a3; }
.hero-title { color: #fff; font-family: 'Spectral', serif; font-size: clamp(2.2rem, 5vw, 3.4rem); font-weight: 400; line-height: 1.06; }
.hero-text { color: #e8e8e8; font-size: 1.15rem; margin: 1.1rem 0 1.8rem; }
.carousel-indicators [data-bs-target] { width: 10px; height: 10px; border-radius: 50%; }

/* ---------- Sections ---------- */
.section { padding: 5rem 0; }
.section-head { max-width: 760px; margin: 0 auto 3rem; }
.features { background: var(--surface); }

/* ---------- Feature cards ---------- */
.feature-card {
  background: var(--surface); border: none; border-radius: var(--radius);
  padding: 2rem 1.9rem; box-shadow: none;
  transition: transform .2s ease, box-shadow .2s ease;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.feature-icon {
  width: 52px; height: 52px; border-radius: 50%; display: flex;
  align-items: center; justify-content: center; margin-bottom: 1.2rem;
  background: var(--brand-soft); color: var(--brand); font-size: 1.3rem;
  font-family: 'Spectral', serif;
}
.feature-title { font-family: 'Spectral', serif; font-size: 1.25rem; margin-bottom: .55rem; }
.feature-desc { color: #5a655f; margin: 0; }

/* ---------- Product highlight ---------- */
.product-highlight { background: var(--paper); }
.lead-text { font-size: 1.2rem; color: var(--body); margin-bottom: 1.6rem; }
.highlight-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.stat {
  background: var(--surface); border: none; border-radius: var(--radius);
  padding: 1.6rem; text-align: center;
}
.stat-num { display: block; font-family: 'Spectral', serif; font-size: 2.4rem; font-weight: 400; color: var(--brand); line-height: 1; }
.stat-label { display: block; margin-top: .5rem; color: var(--muted); font-size: .85rem; letter-spacing: .04em; }

/* ---------- CTA band ---------- */
.cta-band { background: #333333; color: #fff; border-radius: var(--radius); }
.cta-band h2 { color: #fff; }
.cta-sub { color: #e0e0e0; font-size: 1.1rem; max-width: 640px; margin: .5rem auto 1.6rem; }
.cta-icon { font-size: 2.2rem; margin-bottom: .6rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #b9cfd8; padding-top: 3.5rem; }
.site-footer h5, .footer-brand { color: #fff; font-family: 'Spectral', serif; font-weight: 400; }
.footer-brand { font-size: 1.3rem; margin-bottom: .8rem; }
.footer-heading { font-size: 1rem; margin-bottom: 1rem; }
.footer-links a { color: #b9cfd8; display: block; padding: .25rem 0; }
.footer-links a:hover { color: #fff; }
.text-muted-light, .footer-about { color: #90a7ad; }
.footer-about p { margin-bottom: .4rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 3rem; padding: 1.3rem 0; font-size: .9rem; }

/* ==========================================================================
   Product page (AirPlus) — shared building blocks
   ========================================================================== */
.page-single { padding: 2.5rem 0 0; }
.prod-hero { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); }
.prod-hero img { width: 100%; height: auto; display: block; }
.prod-intro { max-width: 860px; margin: 2rem auto 0; }
.badge-list { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; justify-content: center; }
.badge-list li { font-weight: 600; color: var(--ink); }
.badge-list i { color: var(--brand); margin-right: .35rem; }

.block { padding: 3rem 0; border-top: 1px solid var(--line); }
.block-head { max-width: 760px; margin: 0 auto 2rem; }

.spec-table { width: 100%; border-collapse: collapse; }
.spec-table th, .spec-table td { padding: .9rem 1rem; border-bottom: 1px solid var(--line); text-align: left; }
.spec-table th { width: 42%; color: var(--ink); font-weight: 600; background: var(--surface); }

.mode-card, .box {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.9rem; box-shadow: none; height: 100%;
}
.mode-card.is-primary { border-color: rgba(251,70,22,.45); background: linear-gradient(180deg, rgba(251,70,22,.06), transparent); }
.faq-q { font-family: 'Spectral', serif; color: var(--ink); font-weight: 500; margin-top: 1.6rem; }
.faq-a { color: #5a655f; }

@media (max-width: 991.98px) {
  .hero-slide { min-height: 60vh; }
}
@media (max-width: 575px) {
  .hero-slide { min-height: 52vh; padding: 3.5rem 0; }
  .hero-slide::after { background: linear-gradient(180deg, rgba(51,51,51,.15) 0%, rgba(51,51,51,.78) 78%); }
  .highlight-stats { grid-template-columns: 1fr 1fr; }
}

/* ---------- Site shell additions (brand mark + nav CTA) ---------- */
.brand-mark{ width:30px; height:30px; border-radius:50%; background:var(--brand); color:#fff;
  font-family:'Spectral',serif; font-size:.95rem; line-height:1;
  display:inline-flex; align-items:center; justify-content:center; }
.nav-cta{ padding:.5rem 1.15rem !important; }
