/* ── ATMOSPOST — Shared Stylesheet ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --gold: #c9a84c; --gold-light: #e8c97a;
  --dark: #080808; --dark2: #101010; --dark3: #181818;
  --mid: #252525; --text: #e0e0e0; --muted: #888;
}
html { scroll-behavior: smooth; overflow-x: hidden; }
body { background: var(--dark); color: var(--text); font-family: 'Inter', sans-serif; font-weight: 300; line-height: 1.65; overflow-x: hidden; max-width: 100%; }

/* NAV */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100; width: 100%; max-width: 100vw; box-sizing: border-box;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.1rem 4rem;
  background: rgba(8,8,8,0.92); backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(201,168,76,0.12);
}
.nav-logo { font-family: 'Bebas Neue', sans-serif; font-size: 1.4rem; letter-spacing: 5px; color: var(--gold); text-decoration: none; }
.nav-logo span { color: #fff; }
.nav-links { display: flex; gap: 2rem; list-style: none; align-items: center; }
.nav-links a { color: var(--muted); text-decoration: none; font-size: 0.73rem; letter-spacing: 2px; text-transform: uppercase; transition: color 0.2s; }
.nav-links a:hover, .nav-links a.active { color: var(--gold); }
.nav-cta { background: var(--gold) !important; color: #000 !important; padding: 0.45rem 1.3rem; font-weight: 600 !important; }
.nav-cta:hover { background: var(--gold-light) !important; }
.nav-dropdown { position: relative; }
.nav-dropdown-menu {
  display: none; position: absolute; top: 100%; left: 0;
  background: var(--dark2); border: 1px solid var(--mid); min-width: 240px;
  padding: 0.5rem 0; margin-top: 0; z-index: 200;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown.open .nav-dropdown-menu { display: block; }
.nav-dropdown-menu a { display: block; padding: 0.75rem 1.2rem; font-size: 0.73rem; letter-spacing: 1.5px; color: var(--muted) !important; text-decoration: none; }
.nav-dropdown-menu a:hover { color: var(--gold) !important; background: var(--dark3); }

/* BREADCRUMB */
.breadcrumb { background: var(--dark2); border-bottom: 1px solid var(--mid); padding: 1rem 4rem; display: flex; gap: 0.7rem; align-items: center; }
.breadcrumb a { color: var(--muted); text-decoration: none; font-size: 0.72rem; letter-spacing: 1px; }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb span { color: var(--mid); font-size: 0.72rem; }
.breadcrumb .current { color: var(--gold); font-size: 0.72rem; }

/* PAGE HERO */
.page-hero {
  min-height: 55vh; display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 8rem 2rem 4rem; position: relative; overflow: hidden;
}
.page-hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; filter: brightness(0.3) saturate(0.5); }
.page-hero-overlay { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(8,8,8,0.4), rgba(8,8,8,0.85)); }
.page-hero-content { position: relative; z-index: 1; max-width: 800px; }
.page-hero .eyebrow { font-size: 0.65rem; letter-spacing: 5px; text-transform: uppercase; color: var(--gold); margin-bottom: 1rem; }
.page-hero h1 { font-family: 'Bebas Neue', sans-serif; font-size: clamp(2.8rem, 7vw, 5.5rem); letter-spacing: 4px; color: #fff; line-height: 0.95; margin-bottom: 1.2rem; }
.page-hero h1 em { color: var(--gold); font-style: normal; }
.page-hero .lead { font-size: 1rem; color: rgba(224,224,224,0.75); max-width: 560px; margin: 0 auto 2rem; }
.page-hero .tags { display: flex; flex-wrap: wrap; gap: 0.6rem; justify-content: center; }
.page-hero .tag-pill { font-size: 0.62rem; letter-spacing: 2px; text-transform: uppercase; color: var(--gold); border: 1px solid rgba(201,168,76,0.3); background: rgba(201,168,76,0.07); padding: 0.3rem 0.9rem; }

/* SECTIONS */
section { padding: 6rem 4rem; }
.section-label { font-size: 0.65rem; letter-spacing: 5px; text-transform: uppercase; color: var(--gold); margin-bottom: 0.8rem; }
.section-title { font-family: 'Bebas Neue', sans-serif; font-size: clamp(2.2rem, 4.5vw, 3.4rem); letter-spacing: 3px; color: #fff; margin-bottom: 1.2rem; }
.divider { width: 60px; height: 2px; background: var(--gold); margin-bottom: 2rem; }

/* TWO-COL LAYOUT */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: start; }
.two-col.centered { align-items: center; }
.two-col img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; filter: brightness(0.85); }

/* FEATURE LIST */
.feature-list { list-style: none; display: flex; flex-direction: column; gap: 1rem; }
.feature-list li { display: flex; gap: 1rem; align-items: flex-start; font-size: 0.9rem; color: var(--muted); }
.feature-list li::before { content: '◈'; color: var(--gold); flex-shrink: 0; margin-top: 2px; font-size: 0.7rem; }

/* SPEC GRID */
.spec-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--mid); border: 1px solid var(--mid); margin: 3rem 0; }
.spec-cell { background: var(--dark2); padding: 2rem 1.5rem; text-align: center; }
.spec-val { font-family: 'Bebas Neue', sans-serif; font-size: 2.4rem; color: var(--gold); letter-spacing: 2px; line-height: 1; }
.spec-key { font-size: 0.62rem; letter-spacing: 2px; text-transform: uppercase; color: var(--muted); margin-top: 0.4rem; }

/* CTA BANNER */
.cta-banner {
  background: var(--dark2); border: 1px solid var(--mid); padding: 4rem;
  display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap;
}
.cta-banner h2 { font-family: 'Bebas Neue', sans-serif; font-size: 2.4rem; letter-spacing: 3px; color: #fff; }
.cta-banner p { color: var(--muted); font-size: 0.9rem; max-width: 400px; }
.cta-actions { display: flex; gap: 1rem; flex-shrink: 0; flex-wrap: wrap; }

/* BUTTONS */
.btn-primary { display: inline-block; background: var(--gold); color: #000; font-weight: 600; font-size: 0.73rem; letter-spacing: 3px; text-transform: uppercase; text-decoration: none; padding: 0.95rem 2.2rem; transition: background 0.2s, transform 0.15s; border: none; cursor: pointer; }
.btn-primary:hover { background: var(--gold-light); transform: translateY(-2px); }
.btn-outline { display: inline-block; border: 1px solid rgba(201,168,76,0.5); color: var(--gold); font-weight: 400; font-size: 0.73rem; letter-spacing: 3px; text-transform: uppercase; text-decoration: none; padding: 0.95rem 2.2rem; transition: background 0.2s, color 0.2s, border-color 0.2s; }
.btn-outline:hover { background: var(--gold); color: #000; border-color: var(--gold); }

/* FAQ */
.faq-list { display: flex; flex-direction: column; gap: 0; }
.faq-item { border-bottom: 1px solid var(--mid); }
.faq-item:first-child { border-top: 1px solid var(--mid); }
.faq-q { width: 100%; background: none; border: none; color: var(--text); font-family: 'Inter', sans-serif; font-size: 0.92rem; font-weight: 400; text-align: left; padding: 1.3rem 0; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.faq-q:hover { color: var(--gold); }
.faq-arrow { color: var(--gold); font-size: 1.2rem; flex-shrink: 0; transition: transform 0.25s; }
.faq-item.open .faq-arrow { transform: rotate(45deg); }
.faq-a { display: none; color: var(--muted); font-size: 0.88rem; padding-bottom: 1.3rem; line-height: 1.75; }
.faq-item.open .faq-a { display: block; }

/* TAG */
.tag { font-size: 0.6rem; letter-spacing: 2px; text-transform: uppercase; color: var(--gold); background: rgba(201,168,76,0.08); border: 1px solid rgba(201,168,76,0.2); padding: 0.22rem 0.7rem; }

/* RELATED SERVICES */
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.related-card { background: var(--dark2); border: 1px solid var(--mid); padding: 2rem; text-decoration: none; display: block; transition: border-color 0.2s; }
.related-card:hover { border-color: rgba(201,168,76,0.4); }
.related-card .rc-icon { font-size: 1.5rem; margin-bottom: 1rem; }
.related-card h3 { font-family: 'Bebas Neue', sans-serif; font-size: 1.1rem; letter-spacing: 2px; color: #fff; margin-bottom: 0.5rem; }
.related-card p { font-size: 0.82rem; color: var(--muted); }
.related-card .rc-arrow { font-size: 0.72rem; letter-spacing: 2px; color: var(--gold); margin-top: 1rem; display: block; }

/* FOOTER */
footer { background: var(--dark); border-top: 1px solid var(--mid); padding: 3rem 4rem; }
.footer-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 3rem; flex-wrap: wrap; margin-bottom: 2.5rem; padding-bottom: 2.5rem; border-bottom: 1px solid var(--mid); }
.footer-brand .footer-logo { font-family: 'Bebas Neue', sans-serif; font-size: 1.3rem; letter-spacing: 4px; color: var(--gold); }
.footer-brand .footer-logo span { color: #fff; }
.footer-brand p { font-size: 0.8rem; color: var(--muted); margin-top: 0.6rem; max-width: 240px; line-height: 1.6; }
.footer-col h4 { font-size: 0.65rem; letter-spacing: 3px; text-transform: uppercase; color: var(--gold); margin-bottom: 1rem; }
.footer-col a { display: block; font-size: 0.8rem; color: var(--muted); text-decoration: none; margin-bottom: 0.6rem; transition: color 0.2s; }
.footer-col a:hover { color: var(--gold); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
.footer-copy { font-size: 0.72rem; color: var(--muted); }
.footer-schema { font-size: 0.68rem; color: var(--mid); }

/* ══════════════════════════════════════════════════════
   TABLET  (≤ 1024px)
══════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  nav { padding: 1rem 1.5rem; }
  .nav-links { display: none !important; }
  section { padding: 4rem 1.5rem; }
  .breadcrumb { padding: 1rem 1.5rem; flex-wrap: wrap; }
  .two-col { grid-template-columns: 1fr !important; gap: 2.5rem; }
  .two-col img { aspect-ratio: 16/9; }
  .spec-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .related-grid { grid-template-columns: 1fr 1fr !important; }
  .cta-banner { padding: 2.5rem; flex-direction: column; text-align: center; }
  .cta-actions { justify-content: center; }
  footer { padding: 2.5rem 1.5rem; }
  .footer-top { flex-direction: column; gap: 2rem; }
  .page-hero { padding: 7rem 1.5rem 3rem; }
}

/* ══════════════════════════════════════════════════════
   MOBILE  (≤ 600px)
══════════════════════════════════════════════════════ */
@media (max-width: 600px) {
  .spec-grid { grid-template-columns: 1fr 1fr !important; }
  .related-grid { grid-template-columns: 1fr !important; }
  .cta-banner h2 { font-size: 1.8rem; }
  .btn-primary, .btn-outline { padding: 0.85rem 1.5rem; font-size: 0.7rem; }
  .page-hero h1 { font-size: clamp(2rem, 10vw, 3.5rem); }
  .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
}

/* ── FORCE INLINE MULTI-COLUMN GRIDS TO COLLAPSE ON MOBILE ── */
@media (max-width: 640px) {
  [style*="grid-template-columns:repeat(3"],
  [style*="grid-template-columns: repeat(3"],
  [style*="grid-template-columns:repeat(2"],
  [style*="grid-template-columns: repeat(2"],
  [style*="grid-template-columns:1fr 1fr"],
  [style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }
  img { max-width: 100%; height: auto; }
}
