/* ── Global box-sizing and overflow guard (must be first) ── */
* { box-sizing: border-box; }
html, body { overflow-x: hidden; max-width: 100%; }

/* ============================================
   MOSTRO 360 — Main Stylesheet
   ============================================ */

/* --- CSS Variables --- */
:root {
  --bg: #0A0A0A;
  --bg-card: #111318;
  --bg-card-2: #222222;
  --gold: #F5A800;
  --gold-dark: #D4900A;
  --red: #E03A00;
  --white: #FFFFFF;
  --gray: #999999;
  --border: rgba(255,255,255,0.08);
  --gradient: linear-gradient(90deg, #E03A00, #F5A800, #FFD700);
  --font-head: 'Barlow Condensed', sans-serif;
  --font-body: 'Barlow Condensed', sans-serif;
  --radius: 8px;
  --transition: 0.3s ease;

  /* Type scale */
  --text-hero:    clamp(3.2rem, 7vw, 6rem);
  --text-h1:      clamp(2.6rem, 5vw, 4.5rem);
  --text-h2:      clamp(2rem, 4vw, 3.5rem);
  --text-h3:      clamp(1.4rem, 2.8vw, 2rem);
  --text-body-lg: 1.25rem;
  --text-body:    1.125rem;
  --text-small:   0.95rem;
  --text-caption: 0.75rem;

  /* Line heights */
  --lh-display: 0.95;
  --lh-heading: 1.05;
  --lh-body:    1.6;

  /* Letter spacing */
  --ls-display: 0.04em;
  --ls-eyebrow: 0.2em;
  --ls-mono:    0.1em;
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body { background: var(--bg); color: var(--white); font-family: var(--font-body); font-size: 20px; line-height: 1.8; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: var(--gold); text-decoration: none; transition: opacity var(--transition); }
a:hover { opacity: 0.85; }
ul { list-style: none; }

/* --- Typography --- */
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.15; font-weight: 800; text-transform: uppercase; letter-spacing: 0.02em; }
h1 { font-size: clamp(3.25rem, 7vw, 5rem); }
h2 { font-size: clamp(2.5rem, 5vw, 3.5rem); }
h3 { font-size: clamp(1.5rem, 2.5vw, 2rem); }
h4 { font-size: 1.25rem; }
p { color: #FFFFFF; }

/* --- Container --- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* --- Buttons --- */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: var(--gradient);
  color: #000;
}
.btn-primary:hover { opacity: 0.9; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(245,168,0,0.3); }
.btn-outline {
  background: transparent;
  color: var(--gold);
  border: 2px solid var(--gold);
}
.btn-outline:hover { background: var(--gold); color: #000; }
.btn-danger { background: var(--red); color: var(--white); }
.btn-lg { padding: 18px 36px; font-size: 1.15rem; }
.btn-sm { padding: 10px 20px; font-size: 0.9rem; }

/* --- Navbar --- */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(10,10,10,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: all var(--transition);
}
.navbar.scrolled { box-shadow: 0 4px 20px rgba(0,0,0,0.5); }
.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 72px;
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-logo img { max-height: 50px; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-left: auto;
  height: 100%;
}
.nav-links a {
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  opacity: 0.85;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  height: 100%;
  white-space: nowrap;
}
.nav-links a:hover { opacity: 1; color: var(--gold); }
.nav-dropdown { position: relative; display: flex; align-items: center; height: 100%; }
.nav-dropdown-toggle {
  line-height: 1;
  display: inline-flex;
  align-items: center;
  height: 100%;
  padding: 0;
  margin: 0;
  background: none;
  border: none;
  cursor: pointer;
  vertical-align: middle;
  white-space: nowrap;
}
.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: #1A1A1A;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  min-width: 220px;
  padding: 8px 0;
  box-shadow: 0 12px 40px rgba(0,0,0,0.5);
  z-index: 1001;
}

.nav-dropdown.active .nav-dropdown-menu {
  display: block;
}
.nav-dropdown-menu a {
  display: block;
  padding: 10px 20px;
  color: var(--white);
  font-size: 0.9rem;
  opacity: 0.85;
  border-bottom: 1px solid var(--border);
}
.nav-dropdown-menu a:last-child { border-bottom: none; }
.nav-dropdown-menu a:hover { background: var(--bg-card-2); color: var(--gold); opacity: 1; }
.nav-cta { margin-left: 1rem; }
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  margin-left: auto;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}

/* --- Hero --- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 80px 24px 80px;
  background: var(--bg);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(245,168,0,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -20%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(224,58,0,0.05) 0%, transparent 70%);
  pointer-events: none;
}
.hero-content { max-width: 800px; margin: 0 auto; text-align: center; position: relative; z-index: 1; }
.hero-eyebrow {
  display: inline-block;
  background: rgba(245,168,0,0.1);
  border: 1px solid rgba(245,168,0,0.3);
  color: var(--gold);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 8px 20px;
  border-radius: 100px;
  margin-bottom: 1.5rem;
}
.hero-title { color: var(--white); margin-bottom: 1.5rem; }
.hero-title .highlight { background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero-sub { font-size: 1.35rem; color: rgba(255,255,255,0.75); max-width: 600px; margin: 0 auto 2.5rem; }
.hero-ctas { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* --- Scarcity Bar --- */
.scarcity-bar {
  background: var(--gold);
  color: #000;
  text-align: center;
  padding: 14px 24px;
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.scarcity-bar a { color: #000; text-decoration: underline; }

/* --- Sections --- */
.section { padding: 80px 24px; }
.section-dark { background: var(--bg-card); }
.section-cta { background: linear-gradient(135deg, #0A0A0A 0%, #1a0a00 100%); text-align: center; padding-top: 48px; }
.section-cta .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.section-cta .section-sub {
  text-align: center;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}
.section-label {
  display: inline-block;
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #F5C200;
  margin-bottom: 12px;
}
.section-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2rem, 4vw, 3.5rem);
  letter-spacing: 0.04em;
  line-height: 0.95;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 24px;
}
.section-sub {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(1.125rem, 2vw, 1.35rem);
  font-weight: 400;
  line-height: 1.8;
  color: var(--color-ghost, #E8EAF0);
  max-width: 680px;
  margin-bottom: 48px;
}
.text-center { text-align: center; }
.text-danger { color: var(--red); font-weight: 600; }

/* --- Checklist --- */
.checklist { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem; margin-top: 2rem; }
.check-item { display: flex; align-items: flex-start; gap: 1rem; padding: 1.25rem; background: var(--bg-card); border-radius: var(--radius); border-left: 3px solid var(--gold); }
.check-icon { color: var(--gold); font-size: 1.2rem; font-weight: 700; flex-shrink: 0; margin-top: 2px; }
.check-item p { font-size: 1.25rem; line-height: 1.8; }

/* --- Comparison Table --- */
.table-wrap { overflow-x: auto; margin-top: 2rem; border-radius: var(--radius); border: 1px solid var(--border); }
.compare-table, .pricing-table { width: 100%; border-collapse: collapse; }
.compare-table th, .pricing-table th {
  background: var(--bg-card-2);
  color: var(--white);
  font-family: var(--font-head);
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 16px 20px;
  text-align: left;
  border-bottom: 2px solid var(--border);
}
.compare-table td, .pricing-table td { padding: 14px 20px; border-bottom: 1px solid var(--border); font-family: 'Barlow Condensed', sans-serif; font-size: 1.125rem; font-weight: 400; line-height: 1.8; color: var(--color-ghost, #E8EAF0); }
.compare-table tr:last-child td, .pricing-table tr:last-child td { border-bottom: none; }
.compare-table tr:hover td { background: rgba(255,255,255,0.02); }
.col-highlight { background: rgba(245,168,0,0.06) !important; color: var(--gold) !important; font-weight: 500; }
.pricing-table .col-highlight { font-size: 1rem; }
.compare-table th.col-highlight { background: rgba(245,168,0,0.15) !important; color: var(--gold) !important; }

/* --- Pillars Grid --- */
.pillars-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; margin-top: 3rem; align-items: stretch; }
.pillar-card {
  background: var(--bg-card);
  border: 1px solid rgba(232,125,0,0.25);
  border-radius: var(--radius);
  padding: 2rem;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.pillar-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gradient);
  opacity: 0;
  transition: opacity var(--transition);
}
.pillar-card:hover { border-color: rgba(245,168,0,0.3); transform: translateY(-4px); }
.pillar-card:hover::before { opacity: 1; }
.pillar-number { font-family: var(--font-head); font-size: 3rem; font-weight: 800; color: rgba(245,168,0,0.15); line-height: 1; margin-bottom: 0.5rem; }
.pillar-card h3 { font-family: 'Rajdhani', sans-serif; font-weight: 600; font-size: 1.1rem; text-transform: uppercase; letter-spacing: 0.06em; color: #fff; margin-bottom: 1rem; }
.pillar-card p { font-family: 'Barlow Condensed', sans-serif; font-size: 1.125rem; font-weight: 400; line-height: 1.8; color: var(--color-ghost, #E8EAF0); margin-bottom: 1.5rem; }
.pillar-card .btn { margin-top: auto; }

/* --- Shield Grid --- */
.shield-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1rem; margin-top: 2rem; }
.shield-item { display: flex; align-items: flex-start; gap: 1rem; padding: 1rem; background: rgba(245,168,0,0.05); border-radius: var(--radius); border: 1px solid rgba(245,168,0,0.15); }
.shield-item p { font-size: 1.25rem; line-height: 1.8; }

/* --- Pricing Compare --- */
.pricing-compare { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 2.5rem; }
.pricing-compare-item { padding: 1.5rem 2rem; border-radius: var(--radius); text-align: center; }
.pricing-compare-item h4 { font-size: 1.3rem; margin-bottom: 0.5rem; }
.pricing-compare-item.bad { background: rgba(224,58,0,0.08); border: 1px solid rgba(224,58,0,0.2); }
.pricing-compare-item.bad h4 { color: var(--red); }
.pricing-compare-item.good { background: rgba(245,168,0,0.08); border: 1px solid rgba(245,168,0,0.2); }
.pricing-compare-item.good h4 { color: var(--gold); }
.pricing-tagline { text-align: center; font-size: 1.25rem; color: rgba(255,255,255,0.7); margin-top: 1.5rem; }

/* --- About Teaser --- */
.about-teaser { display: grid; grid-template-columns: 300px 1fr; gap: 4rem; align-items: center; }
.about-photo { border-radius: var(--radius); overflow: hidden; background: var(--bg-card-2); min-height: 350px; display: flex; align-items: center; justify-content: center; }
.about-content h2 { margin-bottom: 0.25rem; }
.about-title { color: var(--gold); font-weight: 600; margin-bottom: 1rem; }
.about-creds { color: var(--gray); font-size: 0.9rem; margin: 1rem 0; }
.about-motto { font-style: italic; color: var(--gold); margin-bottom: 1.5rem; font-size: 1.1rem; }

/* --- FAQ --- */
.faq-list { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 1px; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-question {
  width: 100%;
  background: none;
  border: none;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 1.5rem;
  font-weight: 500;
  text-align: left;
  padding: 1.5rem 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.faq-question::after { content: '+'; color: var(--gold); font-size: 1.4rem; flex-shrink: 0; }
.faq-item.open .faq-question::after { content: '\2212'; }
.faq-answer { display: none; overflow: hidden; }
.faq-item.open .faq-answer { display: block; }
.faq-answer p { padding-bottom: 1.5rem; color: rgba(255,255,255,0.7); line-height: 1.8; font-size: 1.125rem; }

/* --- CTA fine-print disclaimer --- */
.cta-disclaimer {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.7rem;
  color: rgba(232,234,240,0.25);
  text-align: center;
  margin-top: 24px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.5;
}

/* --- Scarcity Badge --- */
.scarcity-badge {
  display: inline-block;
  background: rgba(245,168,0,0.1);
  border: 1px solid rgba(245,168,0,0.3);
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 8px 20px;
  border-radius: 100px;
  margin-bottom: 1.5rem;
}

/* --- Disclaimer --- */
.disclaimer { font-size: 0.78rem; color: rgba(255,255,255,0.35); margin-top: 1.5rem; line-height: 1.6; max-width: 800px; margin-left: auto; margin-right: auto; }

/* --- Footer --- */
.footer { background: #050505; border-top: 1px solid var(--border); padding: 60px 24px 32px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
.footer-brand p { color: rgba(255,255,255,0.55); font-size: 0.9rem; }
.footer-links h4 { color: var(--gold); font-family: var(--font-head); font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 1rem; }
.footer-links a { display: block; color: rgba(255,255,255,0.55); font-size: 0.9rem; margin-bottom: 0.5rem; }
.footer-links a:hover { color: var(--gold); }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 2rem; }
.footer-bottom p { color: rgba(255,255,255,0.35); font-size: 0.8rem; margin-bottom: 0.5rem; }

/* --- Breadcrumb --- */
.breadcrumb { padding: 100px 24px 0; }
.breadcrumb-list { display: flex; gap: 0.5rem; align-items: center; list-style: none; }
.breadcrumb-list li { font-size: 0.85rem; color: rgba(255,255,255,0.4); }
.breadcrumb-list li a { color: var(--gold); }
.breadcrumb-list li:not(:last-child)::after { content: '›'; margin-left: 0.5rem; }

/* --- Pillar Hero --- */
.pillar-hero { padding: 80px 24px 80px; background: var(--bg); border-bottom: 3px solid var(--gold); }
.pillar-hero h1 { font-size: clamp(2.2rem, 4.5vw, 3.8rem); line-height: 1.05; }
.pillar-hero ~ .section h2 { font-size: clamp(1.8rem, 3.5vw, 3rem); line-height: 1.1; }
.pillar-hero .danger-box {
  display: inline-block;
  background: rgba(224,58,0,0.1);
  border: 1px solid rgba(224,58,0,0.3);
  color: var(--red);
  padding: 12px 24px;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 2rem;
}

/* --- Animations --- */
[data-animate] { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease, transform 0.6s ease; }
[data-animate="fade-left"] { transform: translateX(-30px); }
[data-animate="fade-right"] { transform: translateX(30px); }
[data-animate="fade-scale"] { transform: scale(0.95); }
[data-animate].animated { opacity: 1; transform: none; }

/* --- Responsive --- */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .about-teaser { grid-template-columns: 1fr; }
  .about-photo { min-height: 250px; }
}

@media (max-width: 768px) {
  /* Hide nav and CTA by default on mobile */
  .nav-links, .nav-cta { display: none; }

  /* Full-screen overlay menu */
  .nav-links.open {
    display: flex !important;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #0A0A0A;
    z-index: 99999;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 80px 24px 24px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    box-sizing: border-box;
    gap: 0;
    border-bottom: none;
  }

  /* Direct link rows */
  .nav-links.open > a {
    display: block;
    width: 100%;
    padding: 18px 0;
    font-size: 20px;
    color: #FFFFFF;
    text-decoration: none;
    border-bottom: 1px solid rgba(245,194,0,0.13);
    box-sizing: border-box;
    opacity: 1;
    white-space: normal;
    height: auto;
  }

  /* Hamburger visible + X transform */
  .hamburger { display: flex; }
  .hamburger[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .hamburger[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
  }
  .hamburger[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .hero { padding: 80px 24px 60px; }
  .hero-ctas { flex-direction: column; align-items: center; }
  .section { padding: 80px 24px; }
  .pricing-compare { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .pillars-grid { grid-template-columns: 1fr; }
  .checklist { grid-template-columns: 1fr; }
  .shield-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .btn-lg { padding: 16px 24px; font-size: 1rem; width: 100%; text-align: center; }
  .scarcity-bar { font-size: 0.85rem; }
}
/* ── MOSTRO Proof Section ── */
.proof-section {
  background: var(--color-obsidian, #0A0A0A);
  padding: 96px 24px;
  position: relative;
}
.proof-container { max-width: 1200px; margin: 0 auto; }
.proof-eyebrow {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--color-amber, #E87D00);
  margin-bottom: 12px;
}
.proof-headline {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2rem, 4vw, 3.5rem);
  letter-spacing: 0.04em;
  line-height: 0.95;
  color: #fff;
  margin-bottom: 24px;
  text-transform: uppercase;
}
.proof-headline-gold { color: var(--color-gold, #F5C200); }
.proof-subhead {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  font-weight: 400;
  color: var(--color-ghost, #E8EAF0);
  max-width: 680px;
  line-height: 1.65;
  margin-bottom: 48px;
}
.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}
@media (max-width: 900px) { .proof-grid { grid-template-columns: 1fr; } }
.proof-card {
  background: var(--color-forge, #111318);
  border: 1px solid #1A0800;
  transition: border-color 0.3s ease;
}
.proof-card:hover { border-color: var(--color-amber, #E87D00); }
.proof-thumb {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #0A0A0A;
  border: none;
  cursor: pointer;
  padding: 0;
}
.proof-thumb-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.7;
  transition: opacity 0.4s ease, transform 0.5s ease;
}
.proof-thumb:hover .proof-thumb-img { opacity: 0.9; transform: scale(1.05); }
.proof-thumb-veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, #0A0A0A 0%, rgba(10,10,10,0.35) 50%, transparent 100%);
  pointer-events: none;
}
.proof-industry-tag {
  position: absolute;
  top: 12px; left: 12px;
  background: rgba(10,10,10,0.85);
  border: 1px solid rgba(232,125,0,0.6);
  color: var(--color-amber, #E87D00);
  font-family: 'Space Mono', monospace;
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 4px 8px;
  pointer-events: none;
}
.proof-standard-tag {
  position: absolute;
  top: 12px; right: 12px;
  background: rgba(10,10,10,0.85);
  border: 1px solid rgba(245,194,0,0.4);
  color: var(--color-gold, #F5C200);
  font-family: 'Space Mono', monospace;
  font-size: 0.6rem;
  letter-spacing: 0.08em;
  padding: 4px 8px;
  pointer-events: none;
}
.proof-play-btn {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.proof-play-btn::before {
  content: '';
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--color-amber, #E87D00);
  box-shadow: 0 0 40px rgba(232,125,0,0.45);
  transition: background 0.3s ease, transform 0.3s ease;
}
.proof-thumb:hover .proof-play-btn::before {
  background: var(--color-gold, #F5C200);
  transform: scale(1.1);
}
.proof-play-btn svg { position: absolute; }
.proof-card-body { padding: 24px; }
.proof-quote {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-ghost, #E8EAF0);
  line-height: 1.45;
  margin-bottom: 16px;
}
.proof-attribution { border-top: 1px solid #1A0800; padding-top: 14px; }
.proof-name {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #fff;
  margin-bottom: 2px;
}
.proof-title-firm {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 500;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-amber, #E87D00);
  margin-bottom: 2px;
}
.proof-location {
  font-family: 'Space Mono', monospace;
  font-size: 0.65rem;
  color: rgba(232,234,240,0.5);
}
.proof-coming-bar {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  background: var(--color-forge, #111318);
  border-left: 2px solid var(--color-amber, #E87D00);
  padding: 20px 24px;
  max-width: 720px;
}
.proof-coming-label {
  font-family: 'Space Mono', monospace;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--color-gold, #F5C200);
  white-space: nowrap;
  padding-top: 2px;
  flex-shrink: 0;
}
.proof-coming-text {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1rem;
  color: rgba(232,234,240,0.8);
  line-height: 1.4;
}
.proof-coming-text strong { color: #fff; font-weight: 600; }
.proof-modal {
  position: fixed;
  inset: 0;
  z-index: 9000;
  background: rgba(10,10,10,0.95);
  backdrop-filter: blur(4px);
  display: none !important;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.proof-modal.is-open {
  display: flex !important;
}
.proof-modal-close {
  position: absolute;
  top: 20px; right: 20px;
  width: 44px; height: 44px;
  background: transparent;
  border: 1px solid rgba(232,234,240,0.2);
  color: var(--color-ghost, #E8EAF0);
  font-family: 'Space Mono', monospace;
  font-size: 1.4rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.proof-modal-close:hover {
  border-color: var(--color-gold, #F5C200);
  color: var(--color-gold, #F5C200);
}
.proof-modal-frame {
  position: relative;
  width: 100%;
  max-width: 1024px;
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(232,125,0,0.25);
}
.proof-modal-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  border: none;
}

/* ── AI Platform Two-Column ── */
.ai-platform-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.ai-platform-visual { display: flex; justify-content: flex-end; }
.ai-platform-img-wrap { width: 100%; max-width: 480px; }
.ai-platform-img {
  width: 100%;
  height: auto;
  display: block;
  border: 1px solid var(--color-amber, #E87D00);
  box-shadow: 0 0 48px rgba(232,125,0,0.15);
}
.ai-platform-caption {
  font-family: 'Space Mono', monospace;
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-gold, #F5C200);
  text-align: center;
  margin-top: 12px;
}
@media (max-width: 768px) {
  .ai-platform-cols { grid-template-columns: 1fr; gap: 32px; }
  .ai-platform-visual { justify-content: center; }
  .ai-platform-img-wrap { max-width: 100%; }
}

/* ── About / Founder Block ── */
.about-eyebrow {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--color-amber, #E87D00);
  margin-bottom: 12px;
}
.about-headline {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2rem, 4vw, 3.5rem);
  letter-spacing: 0.04em;
  line-height: 0.95;
  color: #fff;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.about-headline-gold { color: var(--color-gold, #F5C200); }
.about-body { max-width: 640px; }
.about-body p {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--color-ghost, #E8EAF0);
  line-height: 1.7;
  margin-bottom: 20px;
}
.about-link {
  display: inline-block;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-amber, #E87D00);
  text-decoration: none;
  border-bottom: 1px solid var(--color-amber, #E87D00);
  padding-bottom: 2px;
  margin-top: 4px;
  margin-bottom: 40px;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.about-link:hover {
  color: var(--color-gold, #F5C200);
  border-color: var(--color-gold, #F5C200);
}
.about-credentials {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 4px;
  font-family: 'Space Mono', monospace;
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(232,234,240,0.5);
  border-top: 1px solid #1A0800;
  padding-top: 20px;
  max-width: 640px;
}
.about-cred-dot {
  color: var(--color-amber, #E87D00);
  font-size: 0.7rem;
}

/* ── Google Reviews Section ── */
.reviews-section {
  background: var(--color-forge, #111318);
  padding: 96px 24px;
}
.reviews-container { max-width: 1200px; margin: 0 auto; }
.reviews-eyebrow {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--color-amber, #E87D00);
  margin-bottom: 12px;
}
.reviews-headline {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2rem, 4vw, 3.5rem);
  letter-spacing: 0.04em;
  line-height: 0.95;
  color: #fff;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.reviews-headline-gold { color: var(--color-gold, #F5C200); }
.reviews-subhead {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1rem;
  color: rgba(232,234,240,0.6);
  margin-bottom: 48px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.reviews-google-logo {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Space Mono', monospace;
  font-size: 0.65rem;
  color: var(--color-gold, #F5C200);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.reviews-grid {
  display: none;
}
@media (max-width: 1024px) {
  .reviews-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .reviews-grid { grid-template-columns: 1fr; }
}
.review-card {
  background: var(--color-obsidian, #0A0A0A);
  border: 1px solid #1A0800;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: border-color 0.3s ease;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}
.review-card:hover { border-color: var(--color-amber, #E87D00); }
.review-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.review-stars {
  display: flex;
  gap: 2px;
}
.review-star {
  color: #F5C200;
  font-size: 1.1rem;
}
.review-google-badge {
  display: flex;
  align-items: center;
  gap: 4px;
  font-family: 'Space Mono', monospace;
  font-size: 0.55rem;
  color: rgba(232,234,240,0.35);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.review-google-g {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #4285F4;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.5rem;
  font-weight: 700;
  color: #fff;
  font-family: 'Rajdhani', sans-serif;
  flex-shrink: 0;
}
.review-text {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.1rem;
  font-weight: 500;
  color: #FFFFFF;
  line-height: 1.6;
  flex: 1;
}
.review-author {
  display: flex;
  align-items: center;
  gap: 10px;
  border-top: 1px solid #1A0800;
  padding-top: 14px;
  margin-top: auto;
}
.review-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--color-amber, #E87D00);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 0.85rem;
  color: #0A0A0A;
  flex-shrink: 0;
}
.review-name {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #fff;
}
.review-date {
  font-family: 'Space Mono', monospace;
  font-size: 0.55rem;
  color: rgba(232,234,240,0.35);
  margin-top: 1px;
}
.reviews-cta-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  border-top: 1px solid #1A0800;
  padding-top: 28px;
}
.reviews-aggregate {
  display: flex;
  align-items: center;
  gap: 12px;
}
.reviews-aggregate-score {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 3rem;
  color: var(--color-gold, #F5C200);
  line-height: 1;
}
.reviews-aggregate-detail {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.reviews-aggregate-stars { display: flex; gap: 2px; }
.reviews-aggregate-count {
  font-family: 'Space Mono', monospace;
  font-size: 0.6rem;
  color: rgba(232,234,240,0.5);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.reviews-see-all {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-amber, #E87D00);
  text-decoration: none;
  border: 1px solid var(--color-amber, #E87D00);
  padding: 10px 20px;
  transition: all 0.2s ease;
}
.reviews-see-all:hover {
  background: var(--color-amber, #E87D00);
  color: #0A0A0A;
}

/* ── Dennis founder photo ── */
.dennis-visual {
  display: flex;
  justify-content: center;
  align-items: flex-start;
}
.dennis-img-wrap {
  width: 100%;
  max-width: 480px;
  position: relative;
}
.dennis-img {
  width: 100%;
  height: auto;
  display: block;
  border: 1px solid var(--color-amber, #E87D00);
  box-shadow: 0 0 60px rgba(232,125,0,0.15);
}
.dennis-img-caption {
  font-family: 'Space Mono', monospace;
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-gold, #F5C200);
  text-align: center;
  margin-top: 12px;
  padding: 0;
  position: static;
  background: none;
}
@media (max-width: 768px) {
  .dennis-visual {
    justify-content: center;
    margin-bottom: 32px;
  }
  .dennis-img-wrap {
    max-width: 100%;
  }
}

/* ── Reviews Carousel ── */
.reviews-carousel-wrap {
  position: relative;
  width: 100%;
  overflow: hidden;
  margin-bottom: 40px;
}
.reviews-track {
  display: flex;
  flex-wrap: nowrap;
  gap: 20px;
  transition: transform 0.5s ease;
  will-change: transform;
  align-items: stretch;
}
.reviews-track .review-card {
  min-width: calc(33.333% - 14px);
  max-width: calc(33.333% - 14px);
  flex-shrink: 0;
  flex-grow: 0;
  box-sizing: border-box;
}
@media (max-width: 1024px) {
  .reviews-track .review-card {
    min-width: calc(50% - 10px);
    max-width: calc(50% - 10px);
  }
}
@media (max-width: 640px) {
  .reviews-track .review-card {
    min-width: 100%;
    max-width: 100%;
  }
}
.reviews-carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 28px;
}
.reviews-prev,
.reviews-next {
  background: transparent;
  border: 1px solid var(--color-amber, #E87D00);
  color: var(--color-amber, #E87D00);
  width: 40px;
  height: 40px;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  flex-shrink: 0;
}
.reviews-prev:hover,
.reviews-next:hover {
  background: var(--color-amber, #E87D00);
  color: #0A0A0A;
}
.reviews-dots {
  display: flex;
  gap: 6px;
  align-items: center;
}
.reviews-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(232,234,240,0.2);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all 0.2s ease;
}
.reviews-dot.active {
  background: var(--color-amber, #E87D00);
  width: 20px;
  border-radius: 3px;
}

/* ── Pain Section ── */
.pain-section {
  background: #0A0A0A;
  padding: 0;
}

.pain-cols {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 0;
  max-width: 1400px;
  margin: 0 auto;
  padding: 80px 40px;
  align-items: start;
}

.pain-col-left {
  padding-right: 48px;
}

.pain-eyebrow {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--color-amber, #E87D00);
  margin-bottom: 12px;
}

.pain-headline {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2rem, 4vw, 3.5rem);
  letter-spacing: 0.04em;
  line-height: 1;
  color: #fff;
  text-transform: uppercase;
  margin-bottom: 40px;
}

.pain-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
}

.pain-card {
  background: #111318;
  border: 1px solid #1A0800;
  padding: 24px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  transition: border-color 0.3s ease;
}

.pain-card:hover {
  border-color: var(--color-amber, #E87D00);
}

.pain-arrow {
  color: var(--color-amber, #E87D00);
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 2px;
  font-weight: 700;
}

.pain-card p {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--color-ghost, #E8EAF0);
  line-height: 1.6;
  margin: 0;
}

.pain-col-right {
  position: sticky;
  top: 100px;
  align-self: start;
}

.pain-img-wrap {
  width: 100%;
}

.pain-side-img {
  width: 100%;
  height: 580px;
  object-fit: cover;
  object-position: center top;
  display: block;
  border: 1px solid var(--color-amber, #E87D00);
  box-shadow: 0 0 60px rgba(232,125,0,0.15);
}

.pain-side-caption {
  font-family: 'Space Mono', monospace;
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(245,194,0,0.5);
  text-align: center;
  margin-top: 10px;
}

.pain-cta-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 32px;
  background: #111318;
  border-top: 1px solid var(--color-amber, #E87D00);
  border-bottom: 1px solid var(--color-amber, #E87D00);
  padding: 32px 40px;
  text-align: center;
}

.pain-cta-text {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.8rem);
  color: #fff;
  letter-spacing: 0.04em;
  line-height: 1;
  margin: 0;
}

.pain-cta-gold {
  color: var(--color-gold, #F5C200);
}

.pain-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #0A0A0A;
  background: var(--color-amber, #E87D00);
  padding: 16px 32px;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s ease;
  flex-shrink: 0;
}

.pain-cta-btn:hover {
  background: var(--color-gold, #F5C200);
}

@media (max-width: 1024px) {
  .pain-cols {
    grid-template-columns: 1fr;
    padding: 60px 24px;
    gap: 40px;
  }
  .pain-col-left {
    padding-right: 0;
  }
  .pain-col-right {
    position: static;
    max-width: 480px;
    margin: 0 auto;
  }
  .pain-side-img {
    height: 320px;
  }
  .pain-cta-bar {
    flex-direction: column;
    text-align: center;
    padding: 28px 24px;
  }
}

@media (max-width: 640px) {
  .pain-grid {
    grid-template-columns: 1fr;
  }
}

/* MOSTRO LO Academy proof bar */
.academy-proof-bar {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  background: var(--color-forge, #111318);
  border: 1px solid var(--color-amber, #E87D00);
  border-left: 4px solid var(--color-gold, #F5C200);
  padding: 28px 32px;
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}
.academy-proof-icon {
  font-size: 2rem;
  flex-shrink: 0;
  line-height: 1;
  margin-top: 2px;
}
.academy-proof-headline {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.1rem;
  letter-spacing: 0.15em;
  color: var(--color-gold, #F5C200);
  margin-bottom: 8px;
}
.academy-proof-body {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1rem;
  font-weight: 400;
  color: var(--color-ghost, #E8EAF0);
  line-height: 1.6;
  margin: 0;
}
@media (max-width: 640px) {
  .academy-proof-bar {
    flex-direction: column;
    gap: 12px;
    padding: 20px;
  }
}

/* ── Pricing comparison stat bar ── */
.compare-stat-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  border: 1px solid #1A0800;
  margin-top: 32px;
  margin-bottom: 20px;
  background: #111318;
}
.compare-stat {
  flex: 1;
  text-align: center;
  padding: 24px 20px;
}
.compare-stat-number {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.8rem;
  color: var(--color-gold, #F5C200);
  line-height: 1;
  margin-bottom: 6px;
}
.compare-stat-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(232,234,240,0.6);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0;
}
.compare-stat-divider {
  width: 1px;
  height: 60px;
  background: #1A0800;
  flex-shrink: 0;
}
@media (max-width: 640px) {
  .compare-stat-bar {
    flex-direction: column;
  }
  .compare-stat-divider {
    width: 60px;
    height: 1px;
  }
}

/* ── Homes Banner ── */
.homes-banner {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #0A0A0A;
}

.homes-banner-img-wrap {
  position: relative;
  width: 100%;
}

.homes-banner-img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  object-position: center;
  display: block;
  filter: brightness(0.65);
}

.homes-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(10,10,10,0.85) 0%,
    rgba(10,10,10,0.4) 50%,
    rgba(10,10,10,0.7) 100%
  );
  pointer-events: none;
}

.homes-banner-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 24px;
  z-index: 2;
}

.homes-banner-eyebrow {
  font-family: 'Space Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--color-amber, #E87D00);
  margin-bottom: 16px;
  opacity: 0.9;
}

.homes-banner-headline {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(3rem, 7vw, 6rem);
  letter-spacing: 0.04em;
  line-height: 0.95;
  color: #fff;
  text-transform: uppercase;
  margin-bottom: 20px;
  text-shadow: 0 2px 40px rgba(0,0,0,0.8);
}

.homes-banner-gold {
  color: var(--color-gold, #F5C200);
}

.homes-banner-sub {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(1rem, 2vw, 1.3rem);
  font-weight: 400;
  color: var(--color-ghost, #E8EAF0);
  line-height: 1.6;
  max-width: 560px;
  opacity: 0.85;
}

@media (max-width: 768px) {
  .homes-banner-img {
    height: 420px;
    object-position: center;
  }
  .homes-banner-headline {
    font-size: clamp(2.4rem, 8vw, 3.5rem);
  }
}

/* ── Mobile Responsive Fixes ── */

/* 1. Mobile nav dropdown: inline expand driven by .active on container */
@media (max-width: 768px) {
  /* Override desktop height:100% on the dropdown container */
  .nav-links.open .nav-dropdown {
    width: 100%;
    height: auto !important;
    flex-direction: column;
    align-items: flex-start;
    border-bottom: 1px solid rgba(245,194,0,0.13);
  }
  .nav-links.open .nav-dropdown-toggle {
    display: flex !important;
    align-items: center;
    height: auto !important;
    width: 100%;
    justify-content: space-between;
    padding: 18px 0;
    font-size: 20px;
    color: #FFFFFF;
    opacity: 1;
    box-sizing: border-box;
    white-space: normal;
  }
  /* Submenu hidden by default on mobile — kill all desktop decoration */
  .nav-links.open .nav-dropdown-menu {
    position: static !important;
    display: none;
    transform: none !important;
    left: auto !important;
    top: auto !important;
    min-width: 0 !important;
    width: 100% !important;
    background: transparent !important;
    border: none !important;
    border-left: 3px solid #F5C200 !important;
    border-radius: 0 !important;
    padding: 0 0 0 16px !important;
    box-shadow: none !important;
    margin-top: 0 !important;
    z-index: auto !important;
  }
  /* Show submenu when parent has .active */
  .nav-links.open .nav-dropdown.active .nav-dropdown-menu {
    display: block !important;
  }
  /* Override desktop .nav-links a height:100% and inline-flex for sub-items */
  .nav-links.open .nav-dropdown-menu a {
    display: block !important;
    height: auto !important;
    min-height: unset !important;
    padding: 14px 0 !important;
    font-size: 16px !important;
    color: #E8EAF0 !important;
    line-height: 1.3 !important;
    border-bottom: 1px solid rgba(245,194,0,0.08) !important;
    white-space: normal !important;
    box-sizing: border-box !important;
  }
  .nav-links.open .nav-dropdown-menu a:last-child {
    border-bottom: none !important;
  }
}

/* 2. GHL form iframe container: clamp to viewport width */
#ghl-form {
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}
#ghl-form > div {
  max-width: 100% !important;
  box-sizing: border-box;
}
#ghl-form iframe {
  width: 100% !important;
  max-width: 100% !important;
  height: 1100px !important;
}

/* 3. Contact page two-column layout: stack on mobile */
@media (max-width: 768px) {
  .contact-layout-grid {
    grid-template-columns: 1fr !important;
    gap: 2rem;
  }
}

/* 4. Broad mobile override — catches all inline and class-based grids,
      forces containers to full width, reduces section padding */
@media (max-width: 768px) {
  .grid,
  [style*="grid-template-columns"] {
    grid-template-columns: 1fr !important;
  }

  .container {
    padding: 1rem !important;
    width: 100% !important;
  }

  section {
    padding: 2rem 1rem !important;
  }

  /* Force ALL grid/flex children to respect column bounds —
     the CSS Grid min-width:auto default is what causes content
     to overflow 1fr columns even after grid collapses */
  [style*="grid-template-columns"] > *,
  .contact-layout-grid > *,
  .hero-content > * {
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
  }
}

/* Hero terminal right column: same fix at the 900px breakpoint
   where hero-two-col collapses (wider than the 768px media query) */
@media (max-width: 900px) {
  .hero-content.hero-two-col > div {
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
  }
  /* Truncate the nowrap title bar text instead of clipping whole widget */
  .hero-content.hero-two-col > div span[style*="white-space:nowrap"],
  .hero-content.hero-two-col > div span[style*="white-space: nowrap"] {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 200px;
    display: inline-block;
  }
}

/* ── Credibility logo bar: mobile sizing ── */
@media (max-width: 768px) {
  .trust-logo-bar img {
    height: 28px !important;
    max-height: 28px !important;
  }
}

/* ── Hero + heading mobile fix — 480px (iOS Safari small screens) ── */
@media (max-width: 480px) {
  .section-label,
  .hero-eyebrow,
  [class*="eyebrow"],
  [class*="label"] {
    font-size: 10px !important;
    letter-spacing: 0.06em !important;
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: unset !important;
    word-break: break-word !important;
    max-width: 100% !important;
    padding: 0 16px !important;
  }

  h1, h2, h3 {
    font-size: clamp(12px, 5vw, 28px) !important;
    white-space: normal !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
    max-width: 100% !important;
    padding: 0 16px !important;
  }

  /* Scope to the hero SECTION only — [class*="hero"] was too broad
     and matched .hero-eyebrow, overriding overflow:visible above */
  .hero {
    overflow: hidden !important;
    max-width: 100vw !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
}

/* ── Eyebrow visibility — explicit override for iOS render issues ── */
.hero-eyebrow,
.section-label,
[class*="eyebrow"],
[class*="apex"],
[class*="florida"] {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  overflow: visible !important;
  position: relative !important;
  z-index: 1 !important;
  max-width: 100% !important;
  width: 100% !important;
}

/* ── Chrome Android / WebKit fixes ── */

/* GPU compositing layer — prevents Chrome Android from dropping fixed elements */
.nav-links {
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}

.nav-links.open {
  display: -webkit-flex !important;
  display: flex !important;
  -webkit-flex-direction: column !important;
  flex-direction: column !important;
}

@media (max-width: 768px) {
  /* Explicit fixed positioning with webkit prefix for older Chrome builds */
  .nav-links {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    width: 100vw !important;
    height: 100% !important;
    height: 100vh !important;
    height: -webkit-fill-available !important;
  }

  /* Freeze page scroll in Chrome when nav is open */
  body.nav-open {
    position: fixed !important;
    width: 100% !important;
    overflow: hidden !important;
  }
}

/* Force Chrome to render eyebrow text on its own compositing layer */
.hero-eyebrow,
.section-label {
  -webkit-transform: translateZ(0) !important;
  transform: translateZ(0) !important;
  will-change: auto !important;
  backface-visibility: visible !important;
  -webkit-backface-visibility: visible !important;
}
