/* ================================================================
   AAH Shared Page Architecture — Hero, CTA, Section Layout
   Applied to ALL pages for consistent full-bleed behavior.
   ================================================================ */

/* ════════════════════════════════════════════════════════════════════
   CRITICAL: Elementor container overrides (all pages)
   ════════════════════════════════════════════════════════════════════ */

/* ── Remove margins/padding from Elementor wrappers ──────────────── */
.elementor .e-con-inner {
  max-width: 100% !important;
  width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
}

.elementor .e-con.e-parent {
  margin: 0 !important;
  padding: 0 !important;
}

.elementor-widget-container {
  margin: 0 !important;
  padding: 0 !important;
}

/* ── Prevent horizontal scroll on all pages ──────────────────────── */
html, body {
  overflow-x: hidden;
}

/* ════════════════════════════════════════════════════════════════════
   Hero System — Consistent across all pages
   ════════════════════════════════════════════════════════════════════ */

/* ── Shared hero base styles ──────────────────────────────────────── */
.hero-about,
.hero-svc,
.hero-contact {
  background: var(--ink);
  color: #fff;
  padding: 150px 0 120px;
  position: relative;
  overflow: hidden;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  width: 100%;
  max-width: none;
}

.hero-about::before,
.hero-svc::before,
.hero-contact::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-about::before {
  background-image: radial-gradient(circle at 80% 20%, rgba(198,161,91,.15), transparent 55%);
}

.hero-svc::before {
  background-image: radial-gradient(circle at 20% 30%, rgba(198,161,91,.16), transparent 55%);
}

.hero-contact::before {
  background-image: radial-gradient(circle at 60% 30%, rgba(198,161,91,.16), transparent 55%);
}

.hero-about--has-bg::before,
.hero-svc--has-bg::before,
.hero-contact--has-bg::before {
  background-image: none;
}

/* ── Hero content container ───────────────────────────────────────── */
.hero-about .wrap,
.hero-svc .wrap,
.hero-contact .wrap {
  position: relative;
  z-index: 1;
  max-width: 960px;
}

/* ── Hero typography ──────────────────────────────────────────────── */
.hero-about .eyebrow,
.hero-svc .eyebrow,
.hero-contact .eyebrow { color: var(--gold); }

.hero-about h1,
.hero-svc h1,
.hero-contact h1 { color: #fff; margin-top: 0; }

.hero-about h1 em,
.hero-svc h1 em,
.hero-contact h1 em {
  font-style: italic;
  color: var(--gold-pale);
}

.hero-about p.lede,
.hero-svc p.lede,
.hero-contact p.lede {
  color: #c9d2df;
  font-size: 1.2rem;
  margin-top: 26px;
  max-width: 60ch;
}

/* ════════════════════════════════════════════════════════════════════
   CTA System — Consistent across all pages
   ════════════════════════════════════════════════════════════════════ */

.cta-band {
  background: var(--ink);
  color: #fff;
  padding: 90px 0;
  text-align: center;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  width: 100%;
  max-width: none;
  overflow: hidden;
}

.cta-band--has-bg {
  position: relative;
  background-size: cover;
  background-position: center;
}

.cta-band h2 { color: #fff; }
.cta-band h2 em { color: var(--gold-pale); font-style: italic; }
.cta-band .lede { color: var(--muted-navy); margin: 20px auto 32px; }
.cta-band .btn { margin-top: 8px; }

/* ════════════════════════════════════════════════════════════════════
   Section Layout Modes
   ════════════════════════════════════════════════════════════════════ */

.section-transparent {
  background: transparent !important;
}

.section-full-bleed {
  width: 100%;
  max-width: none;
  overflow: hidden;
}

.section-full-bleed > .wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 40px;
}

.section-custom > .wrap {
  margin: 0 auto;
}

.section-align-left { text-align: left; }
.section-align-left > .wrap { margin: 0 auto 0 0; }

.section-align-right { text-align: right; }
.section-align-right > .wrap { margin: 0 0 0 auto; }

/* ════════════════════════════════════════════════════════════════════
   Reveal Animations (shared)
   ════════════════════════════════════════════════════════════════════ */

.aah-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s cubic-bezier(.22,.61,.36,1), transform .7s cubic-bezier(.22,.61,.36,1);
}

.aah-revealed {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .aah-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ════════════════════════════════════════════════════════════════════
   Responsive — All pages
   ════════════════════════════════════════════════════════════════════ */

@media (max-width: 900px) {
  .hero-about,
  .hero-svc,
  .hero-contact {
    padding: 120px 0 90px;
  }
}

@media (max-width: 600px) {
  .hero-about,
  .hero-svc,
  .hero-contact {
    padding: 100px 0 70px;
  }
}
