/* =================================================================
   ASTRA MOBILITY — Main stylesheet
   All block styles use the `am-` prefix to avoid collisions with
   WordPress core, plugins, and other themes.
   ================================================================= */

/* ---------- Design tokens ---------- */
:root {
  --am-ink:       #0F1D46;   /* Brand navy */
  --am-midnight:  #1A2B5C;
  --am-teal:      #008B8B;   /* Brand teal */
  --am-teal-soft: #4DBDBD;
  --am-teal-deep: #006D6D;
  --am-cream:     #FAF6EE;   /* Warm brand cream */
  --am-cream-deep:#F1EAD9;
  --am-white:     #FFFFFF;
  --am-black:     #0A0F1E;

  --am-gray-50:  #F8FAFB;
  --am-gray-100: #EEF0F3;
  --am-gray-200: #DDE1E7;
  --am-gray-500: #6E7684;
  --am-gray-700: #3D4759;
  --am-gray-900: #16233F;

  --am-radius-sm: 8px;
  --am-radius:    12px;
  --am-radius-lg: 20px;

  --am-shadow-sm: 0 2px 8px rgba(15,29,70,0.06);
  --am-shadow:    0 8px 24px rgba(15,29,70,0.10);
  --am-shadow-lg: 0 20px 48px rgba(15,29,70,0.15);

  --am-container: 1240px;
  --am-container-wide: 1440px;

  --am-font-body: 'Mont', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
}

/* ---------- Reset (light) ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--am-font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--am-gray-900);
  background: var(--am-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg { max-width: 100%; height: auto; }
a { color: var(--am-teal); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--am-teal-deep); }
button { font-family: inherit; }
h1, h2, h3, h4, h5, h6 {
  font-family: var(--am-font-body);
  font-weight: 800;
  color: var(--am-ink);
  line-height: 1.15;
  margin: 0 0 1rem 0;
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(2.4rem, 5vw, 3.75rem); font-weight: 900; }
h2 { font-size: clamp(2rem, 4vw, 2.85rem); font-weight: 800; }
h3 { font-size: clamp(1.4rem, 2.4vw, 1.75rem); }
h4 { font-size: 1.15rem; font-weight: 700; }
h5 { font-size: 0.85rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
p  { margin: 0 0 1rem 0; }
em { font-style: italic; color: var(--am-teal); font-weight: 400; }
h1 em, h2 em, h3 em, h4 em { color: var(--am-teal); font-style: italic; font-weight: 400; }
strong { font-weight: 700; }

/* Screen-reader helper */
.screen-reader-text {
  position: absolute !important;
  clip: rect(1px,1px,1px,1px);
  width: 1px; height: 1px;
  overflow: hidden;
}
.am-skip-link {
  position: absolute; top: -100px; left: 0;
  background: var(--am-ink); color: var(--am-cream);
  padding: 12px 24px; z-index: 9999; border-radius: 0 0 8px 0;
}
.am-skip-link:focus { top: 0; }

/* ---------- Container + spacing utilities ---------- */
.am-container {
  width: 92%;
  max-width: var(--am-container);
  margin: 0 auto;
}
.am-py-lg { padding: clamp(56px, 8vw, 100px) 0; }
.am-py-md { padding: clamp(40px, 5vw, 64px) 0; }

.am-bg-cream      { background: var(--am-cream); }
.am-bg-cream-deep { background: var(--am-cream-deep); }

/* Reveal-on-scroll (JS toggles .am-in) */
.am-reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease-out, transform 0.7s ease-out; }
.am-reveal.am-in { opacity: 1; transform: translateY(0); }
/* Show immediately if JS didn't run */
.no-js .am-reveal { opacity: 1; transform: none; }

/* ---------- Eyebrows + prose ---------- */
.am-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--am-teal);
  padding-left: 32px;
  position: relative;
  margin-bottom: 1.5rem;
}
.am-eyebrow::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  width: 22px; height: 2px;
  background: var(--am-teal);
  transform: translateY(-50%);
}
.am-eyebrow-light { color: var(--am-teal-soft); }
.am-eyebrow-light::before { background: var(--am-teal-soft); }

.am-section-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto clamp(40px, 6vw, 64px) auto;
}
.am-section-header .am-eyebrow { margin-bottom: 1rem; }

.am-prose p { color: var(--am-gray-700); margin-bottom: 1.2rem; }
.am-prose p:last-child { margin-bottom: 0; }

/* ---------- Buttons ---------- */
.am-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s, color 0.2s;
  text-decoration: none;
  line-height: 1;
  white-space: nowrap;
}
.am-btn:hover { transform: translateY(-2px); box-shadow: var(--am-shadow); }
.am-btn-full { width: 100%; }

.am-btn-primary { background: var(--am-ink);  color: var(--am-cream); }
.am-btn-primary:hover { background: var(--am-midnight); color: var(--am-cream); }

.am-btn-teal { background: var(--am-teal);  color: var(--am-cream); }
.am-btn-teal:hover { background: var(--am-teal-deep); color: var(--am-cream); }

.am-btn-outline { background: transparent; color: var(--am-ink);
                  border: 1.5px solid var(--am-ink); padding: 12px 26px; }
.am-btn-outline:hover { background: var(--am-ink); color: var(--am-cream); }

.am-btn-ghost { background: transparent; color: var(--am-cream);
                border: 1px solid rgba(250,246,238,0.35); padding: 13px 27px; }
.am-btn-ghost:hover { background: rgba(250,246,238,0.08); color: var(--am-cream); border-color: rgba(250,246,238,0.6); }

.am-btn-ghost-light { background: rgba(250,246,238,0.08); color: var(--am-cream);
                      border: 1px solid rgba(250,246,238,0.3); padding: 13px 27px; }
.am-btn-ghost-light:hover { background: rgba(250,246,238,0.16); color: var(--am-cream); }

.am-btn-arrow::after {
  content: '→';
  transition: transform 0.2s;
}
.am-btn-arrow:hover::after { transform: translateX(4px); }

/* ---------- Topbar ---------- */
.am-topbar {
  background: var(--am-ink);
  color: var(--am-cream);
  font-size: 0.83rem;
  padding: 0;
}
.am-topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
}
.am-topbar-left span { margin-right: 22px; opacity: 0.9; }
.am-topbar-right { display: flex; align-items: center; gap: 10px; }
.am-topbar-phone {
  color: var(--am-teal-soft);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.am-topbar-phone:hover { color: var(--am-cream); }

@media (max-width: 780px) {
  .am-topbar { font-size: 12px; }
  .am-topbar-left span { display: block; margin: 0 0 2px 0; }
  .am-topbar-inner { flex-direction: column; align-items: center; gap: 6px; text-align: center; padding: 8px 0; }
}

/* ---------- Main nav ---------- */
.am-nav {
  background: var(--am-cream);
  border-bottom: 1px solid rgba(15,29,70,0.06);
  position: sticky; top: 0; z-index: 800;
}
.am-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 24px;
}
.am-brand { display: block; line-height: 0; }
.am-brand img { height: 62px; width: auto; display: block; }

.am-primary-nav { flex: 1; display: flex; justify-content: center; }
.am-menu {
  display: flex;
  gap: 2.2rem;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}
.am-menu > li { position: relative; }
.am-menu > li > a {
  color: var(--am-ink);
  font-weight: 600;
  font-size: 0.98rem;
  padding: 8px 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  position: relative;
  text-decoration: none;
}
.am-menu > li > a:hover { color: var(--am-teal); }
.am-menu > li.am-current > a { color: var(--am-ink); }
.am-menu > li.am-current > a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 2px; background: var(--am-teal); border-radius: 2px;
}

/* Caret on parent items */
.am-caret {
  display: inline-block;
  width: 6px; height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  margin-right: 4px;
  transition: transform 0.2s;
}
.am-has-submenu:hover > a .am-caret,
.am-has-submenu:focus-within > a .am-caret {
  transform: rotate(225deg);
}

/* Submenus */
.am-submenu {
  position: absolute;
  top: calc(100% + 4px); left: 0;
  min-width: 260px;
  background: var(--am-white);
  border: 1px solid rgba(15,29,70,0.08);
  border-radius: 12px;
  box-shadow: var(--am-shadow-lg);
  padding: 12px 0;
  margin: 0;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.18s, transform 0.18s, visibility 0.18s;
  z-index: 1000;
}
.am-has-submenu:hover > .am-submenu,
.am-has-submenu:focus-within > .am-submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.am-submenu > li { padding: 0; }
.am-submenu > li > a {
  display: block;
  padding: 10px 20px;
  color: var(--am-ink);
  font-size: 0.9rem;
  font-weight: 500;
  transition: background 0.15s, color 0.15s;
}
.am-submenu > li > a:hover,
.am-submenu > li.am-current > a {
  background: var(--am-cream);
  color: var(--am-teal);
}
/* Third-level nested submenus fly out right */
.am-submenu .am-submenu {
  top: 0;
  left: 100%;
  margin-left: 4px;
}

.am-nav-cta { padding: 12px 22px; font-size: 0.9rem; }

/* Mobile toggle */
.am-menu-toggle {
  display: none;
  width: 44px; height: 44px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 10px;
  gap: 5px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.am-menu-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--am-ink);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.am-menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.am-menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.am-menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile drawer */
.am-mobile-menu {
  display: none;
  background: var(--am-cream);
  border-top: 1px solid rgba(15,29,70,0.08);
  padding: 24px 0;
}
.am-mobile-menu-list {
  list-style: none;
  margin: 0;
  padding: 0 24px;
}
.am-mobile-menu-list li { margin-bottom: 4px; }
.am-mobile-menu-list a {
  display: block;
  padding: 12px 0;
  color: var(--am-ink);
  font-weight: 600;
  font-size: 1.1rem;
  border-bottom: 1px solid rgba(15,29,70,0.06);
}
.am-mobile-menu-list .am-submenu {
  position: static;
  opacity: 1; visibility: visible;
  transform: none;
  box-shadow: none;
  border: none;
  padding: 4px 0 8px 20px;
  background: transparent;
}
.am-mobile-menu-list .am-submenu a { font-size: 0.95rem; padding: 8px 0; }
.am-mobile-menu-cta {
  padding: 16px 24px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

@media (max-width: 900px) {
  .am-primary-nav { display: none; }
  .am-nav-cta { display: none; }
  .am-menu-toggle { display: flex; }
  .am-mobile-menu[hidden] { display: none; }
  .am-mobile-menu { display: block; }
  .am-mobile-menu[hidden] { display: none; }
}

/* ---------- Overlay Hero (big image + text) ---------- */
.am-overlay-hero {
  position: relative;
  min-height: 88vh;
  min-height: 88svh;
  display: flex;
  align-items: center;
  color: var(--am-cream);
  overflow: hidden;
  padding: 100px 0;
  background: var(--am-ink);
}
.am-overlay-hero-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 1;
}
.am-overlay-hero-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(115deg,
    rgba(15,29,70, var(--am-scrim-opacity, 0.55)) 0%,
    rgba(15,29,70, calc(var(--am-scrim-opacity, 0.55) - 0.05)) 60%,
    rgba(15,29,70, calc(var(--am-scrim-opacity, 0.55) - 0.15)) 100%);
  z-index: 2;
}
.am-overlay-hero-inner {
  position: relative;
  z-index: 3;
}
.am-overlay-hero-content { max-width: 780px; }
.am-align-center .am-overlay-hero-content {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.am-overlay-hero h1 {
  color: var(--am-cream);
  font-size: clamp(2.6rem, 5.5vw, 4.5rem);
  font-weight: 900;
  margin-bottom: 1.5rem;
}
.am-overlay-hero h1 em { color: var(--am-teal-soft); }
.am-hero-lead {
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  line-height: 1.65;
  color: rgba(250,246,238,0.9);
  margin-bottom: 2rem;
  max-width: 640px;
}
.am-align-center .am-hero-lead { margin-left: auto; margin-right: auto; }
.am-hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 3rem;
}
.am-align-center .am-hero-ctas { justify-content: center; }
.am-hero-stats {
  display: flex;
  gap: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(250,246,238,0.2);
  flex-wrap: wrap;
}
.am-hero-stat-value {
  font-size: 2.6rem;
  font-weight: 900;
  color: var(--am-teal-soft);
  line-height: 1;
  margin-bottom: 6px;
}
.am-hero-stat-label {
  font-size: 0.85rem;
  color: rgba(250,246,238,0.75);
  letter-spacing: 0.06em;
  max-width: 160px;
}

/* ---------- Page hero (interior) ---------- */
.am-page-hero {
  background: var(--am-cream);
  padding: clamp(64px, 8vw, 110px) 0 clamp(48px, 6vw, 80px) 0;
}
.am-page-hero-inner { max-width: 820px; margin: 0 auto; text-align: center; }
.am-breadcrumb {
  font-size: 0.85rem;
  color: var(--am-gray-500);
  margin-bottom: 1.5rem;
}
.am-breadcrumb a { color: var(--am-gray-500); }
.am-breadcrumb a:hover { color: var(--am-teal); }
.am-page-hero h1 { margin-bottom: 1.25rem; }
.am-page-hero p { font-size: 1.15rem; color: var(--am-gray-700); }

/* ---------- Trust stripe ---------- */
.am-trust-stripe {
  background: var(--am-cream);
  padding: 40px 0;
  border-top: 1px solid rgba(15,29,70,0.06);
  border-bottom: 1px solid rgba(15,29,70,0.06);
}
.am-trust-stripe-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}
.am-trust-item {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--am-teal);
}
.am-trust-item strong {
  display: block;
  color: var(--am-ink);
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 2px;
}
.am-trust-item span {
  display: block;
  color: var(--am-gray-500);
  font-size: 0.82rem;
  line-height: 1.4;
}
@media (max-width: 900px) {
  .am-trust-stripe-inner { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
}
@media (max-width: 500px) {
  .am-trust-stripe-inner { grid-template-columns: 1fr; }
}

/* ---------- Services grid ---------- */
.am-services {}
.am-services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 2rem;
}
@media (max-width: 720px) {
  .am-services-grid { grid-template-columns: 1fr; }
}
.am-service-card {
  background: var(--am-white);
  border-radius: var(--am-radius-lg);
  padding: 2.5rem;
  box-shadow: var(--am-shadow-sm);
  border: 1px solid var(--am-cream-deep);
  transition: transform 0.25s, box-shadow 0.25s;
  display: flex;
  flex-direction: column;
}
.am-service-card:hover { transform: translateY(-6px); box-shadow: var(--am-shadow-lg); }
.am-service-card-icon {
  width: 60px; height: 60px;
  background: linear-gradient(135deg, var(--am-cream-deep), var(--am-cream));
  color: var(--am-teal);
  border-radius: 16px;
  display: grid;
  place-items: center;
  margin-bottom: 1.5rem;
}
.am-service-card-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--am-teal);
  margin-bottom: 0.6rem;
}
.am-service-card h3 { margin-bottom: 1rem; }
.am-service-card p { color: var(--am-gray-700); margin-bottom: 1.5rem; flex-grow: 1; }
.am-service-card-list { list-style: none; margin: 0 0 2rem 0; padding: 0; display: grid; gap: 0.6rem; }
.am-service-card-list li {
  display: flex; align-items: flex-start; gap: 0.6rem;
  font-size: 0.95rem; color: var(--am-gray-700);
}
.am-service-card-list li::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--am-teal);
  border-radius: 50%;
  margin-top: 0.55rem;
  flex-shrink: 0;
}
.am-service-card .am-btn { align-self: flex-start; }
.am-services-footer { text-align: center; margin-top: 3rem; }

/* ---------- Features grid ---------- */
.am-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}
.am-feature {
  padding: 1.5rem;
  border-radius: var(--am-radius);
}
.am-feature-icon {
  width: 52px; height: 52px;
  background: var(--am-cream);
  color: var(--am-teal);
  border-radius: 14px;
  display: grid; place-items: center;
  margin-bottom: 1rem;
}
.am-feature h4 { margin-bottom: 0.6rem; font-size: 1.15rem; }
.am-feature p { color: var(--am-gray-500); font-size: 0.95rem; margin: 0; line-height: 1.6; }

/* ---------- Steps ---------- */
.am-steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}
.am-step {
  padding: 2rem;
  background: var(--am-white);
  border-radius: var(--am-radius-lg);
  box-shadow: var(--am-shadow-sm);
  position: relative;
}
.am-step-num {
  font-size: 3rem;
  font-weight: 900;
  color: var(--am-teal-soft);
  line-height: 1;
  margin-bottom: 1rem;
  font-style: italic;
}
.am-step h4 { margin-bottom: 0.6rem; font-size: 1.2rem; }
.am-step p { color: var(--am-gray-700); margin: 0; }

/* ---------- Testimonials ---------- */
.am-testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}
.am-testimonial {
  background: var(--am-white);
  border-radius: var(--am-radius-lg);
  padding: 2rem;
  box-shadow: var(--am-shadow-sm);
  border: 1px solid var(--am-cream-deep);
  display: flex; flex-direction: column;
}
.am-testimonial-stars { color: #E4B93B; display: flex; gap: 2px; margin-bottom: 1rem; }
.am-testimonial p {
  font-size: 1.05rem;
  color: var(--am-gray-700);
  line-height: 1.7;
  flex-grow: 1;
  margin-bottom: 1.5rem;
  font-weight: 500;
}
.am-testimonial-author { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.am-testimonial-avatar {
  width: 48px; height: 48px;
  background: linear-gradient(135deg, var(--am-teal), var(--am-teal-soft));
  color: var(--am-cream);
  border-radius: 50%;
  display: grid; place-items: center;
  font-weight: 700;
  font-size: 0.9rem;
}
.am-testimonial-author strong { display: block; color: var(--am-ink); font-size: 0.95rem; }
.am-testimonial-author span   { display: block; color: var(--am-gray-500); font-size: 0.82rem; }

/* ---------- FAQ ---------- */
.am-faq-list { max-width: 820px; margin: 0 auto; }
.am-faq-item {
  background: var(--am-white);
  border-radius: var(--am-radius);
  margin-bottom: 12px;
  border: 1px solid rgba(15,29,70,0.08);
  overflow: hidden;
}
.am-faq-item summary {
  padding: 20px 26px;
  cursor: pointer;
  font-weight: 700;
  color: var(--am-ink);
  font-size: 1.05rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  list-style: none;
  transition: background 0.2s;
}
.am-faq-item summary::-webkit-details-marker { display: none; }
.am-faq-item summary:hover { background: var(--am-cream); }
.am-faq-item summary::after {
  content: '+';
  font-size: 1.5rem;
  color: var(--am-teal);
  font-weight: 300;
  transition: transform 0.2s;
  line-height: 1;
}
.am-faq-item[open] summary::after { content: '−'; }
.am-faq-item-body {
  padding: 0 26px 24px;
  color: var(--am-gray-700);
  line-height: 1.7;
}
.am-faq-item-body p:last-child { margin-bottom: 0; }

/* ---------- CTA Banner ---------- */
.am-cta-banner {
  background: var(--am-ink);
  color: var(--am-cream);
  padding: clamp(56px, 8vw, 96px) 0;
  position: relative;
  overflow: hidden;
}
.am-cta-banner::before {
  content: '';
  position: absolute;
  top: -50%; right: -10%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(0,139,139,0.2), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.am-cta-banner-inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 2;
}
.am-cta-banner-text h2 {
  color: var(--am-cream);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  margin-bottom: 0.8rem;
}
.am-cta-banner-text h2 em { color: var(--am-teal-soft); }
.am-cta-banner-text p { color: rgba(250,246,238,0.85); font-size: 1.05rem; margin: 0; }
.am-cta-banner-actions { display: flex; flex-direction: column; gap: 12px; }
.am-cta-banner-actions .am-btn { justify-content: center; }
@media (max-width: 780px) {
  .am-cta-banner-inner { grid-template-columns: 1fr; text-align: center; }
  .am-cta-banner-actions { align-items: stretch; }
}

/* ---------- Story ---------- */
.am-story-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 3rem;
  align-items: flex-start;
}
.am-story-sidebar {
  background: var(--am-cream);
  border-radius: var(--am-radius-lg);
  padding: 2.5rem;
  text-align: center;
}
.am-story-stat-num {
  font-size: 4rem;
  font-weight: 900;
  color: var(--am-teal);
  line-height: 1;
  margin-bottom: 1rem;
  font-style: italic;
}
.am-story-stat-label { color: var(--am-gray-700); font-size: 0.95rem; line-height: 1.5; }
@media (max-width: 900px) { .am-story-grid { grid-template-columns: 1fr; } }

/* ---------- Values ---------- */
.am-values-list { max-width: 900px; margin: 0 auto; }
.am-value {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 2rem;
  padding: 2rem 0;
  border-bottom: 1px solid rgba(15,29,70,0.08);
  align-items: start;
}
.am-value:last-child { border-bottom: none; }
.am-value-num {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--am-teal);
  line-height: 1;
  font-style: italic;
}
.am-value h4 { margin-bottom: 0.5rem; font-size: 1.3rem; }
.am-value p { color: var(--am-gray-700); margin: 0; }
@media (max-width: 600px) {
  .am-value { grid-template-columns: 60px 1fr; gap: 1.2rem; padding: 1.5rem 0; }
  .am-value-num { font-size: 2rem; }
}

/* ---------- Coverage Area ---------- */
.am-coverage-list {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px 32px;
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}
.am-coverage-list li {
  color: var(--am-gray-700);
  padding-left: 20px;
  position: relative;
  font-weight: 500;
}
.am-coverage-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 10px;
  width: 8px; height: 8px;
  background: var(--am-teal);
  border-radius: 50%;
}
.am-coverage-cta { text-align: center; margin-top: 2rem; }

/* ---------- Pricing ---------- */
.am-pricing .am-services-grid { grid-template-columns: repeat(auto-fit, minmax(360px, 1fr)); }

/* ---------- Contact Split ---------- */
.am-contact-grid {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 3rem;
  align-items: start;
}
.am-contact-info-card {
  background: var(--am-ink);
  color: var(--am-cream);
  padding: 2.5rem;
  border-radius: var(--am-radius-lg);
  position: sticky; top: 100px;
}
.am-contact-info-card h3 { color: var(--am-cream); margin-bottom: 1rem; }
.am-contact-lead { color: rgba(250,246,238,0.8); margin-bottom: 2rem; font-size: 0.95rem; line-height: 1.6; }
.am-contact-info-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 1.5rem; }
.am-contact-info-list li { display: flex; align-items: flex-start; gap: 14px; }
.am-contact-info-icon {
  width: 40px; height: 40px;
  background: rgba(77,189,189,0.15);
  color: var(--am-teal-soft);
  border-radius: 10px;
  display: grid; place-items: center;
  flex-shrink: 0;
}
.am-contact-info-list li strong {
  display: block;
  color: var(--am-cream);
  font-size: 0.95rem;
  margin-bottom: 2px;
}
.am-contact-info-list li a,
.am-contact-info-list li span { color: rgba(250,246,238,0.8); font-size: 0.92rem; line-height: 1.5; }
.am-contact-info-list li a:hover { color: var(--am-teal-soft); }
.am-contact-form-wrap {
  background: var(--am-white);
  border-radius: var(--am-radius-lg);
  padding: 2.5rem;
  box-shadow: var(--am-shadow-sm);
  border: 1px solid var(--am-cream-deep);
}
.am-contact-form-fallback h3 { margin-bottom: 1rem; }
.am-form-note {
  color: var(--am-gray-500);
  font-size: 0.85rem;
  margin-top: 1.5rem;
}
@media (max-width: 900px) {
  .am-contact-grid { grid-template-columns: 1fr; }
  .am-contact-info-card { position: static; }
}

/* ---------- Standards Checklist ---------- */
.am-standards-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 16px 32px;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}
.am-standards-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  color: var(--am-gray-700);
  font-weight: 500;
}
.am-standards-list li .am-icon { color: var(--am-teal); flex-shrink: 0; margin-top: 2px; }

/* ---------- PAS Section ---------- */
.am-pas-section { padding: clamp(56px, 8vw, 100px) 0; }
.am-pas-pain      { background: var(--am-cream); }
.am-pas-agitation { background: var(--am-ink); color: var(--am-cream); }
.am-pas-agitation h2 { color: var(--am-cream); }
.am-pas-agitation .am-prose p { color: rgba(250,246,238,0.85); }
.am-pas-solution  { background: var(--am-cream-deep); }
.am-pas-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 3rem;
  align-items: center;
}
.am-consequence-list {
  list-style: none;
  padding: 0;
  margin: 2rem 0 0;
  display: grid;
  gap: 1.2rem;
}
.am-consequence-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: inherit;
  line-height: 1.6;
}
.am-consequence-list li .am-icon { color: var(--am-teal); flex-shrink: 0; margin-top: 3px; }
.am-consequence-list li strong { display: block; font-weight: 700; margin-bottom: 4px; }
.am-pas-visual {
  background: var(--am-white);
  border-radius: var(--am-radius-lg);
  padding: 3rem 2rem;
  text-align: center;
  box-shadow: var(--am-shadow);
  border-top: 4px solid var(--am-teal);
}
.am-pas-agitation .am-pas-visual { background: rgba(255,255,255,0.05); border-top-color: var(--am-teal-soft); }
.am-pas-visual-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(0,139,139,0.1);
  color: var(--am-teal);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.am-dot {
  width: 8px; height: 8px;
  background: var(--am-teal);
  border-radius: 50%;
}
.am-pas-num {
  font-size: 4.5rem;
  font-weight: 900;
  color: var(--am-teal);
  line-height: 1;
  margin-bottom: 0.5rem;
  font-style: italic;
}
.am-pas-agitation .am-pas-num { color: var(--am-teal-soft); }
@media (max-width: 900px) { .am-pas-grid { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.am-footer {
  background: var(--am-ink);
  color: rgba(250,246,238,0.7);
  padding: clamp(64px, 8vw, 96px) 0 32px 0;
}
.am-footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.am-footer-logo { height: 64px; width: auto; margin-bottom: 20px; }
.am-footer-tagline { color: rgba(250,246,238,0.6); font-size: 0.9rem; line-height: 1.6; margin: 0; max-width: 380px; }
.am-footer-col h5 {
  color: var(--am-cream);
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  margin-bottom: 1.2rem;
}
.am-footer-menu, .am-footer-contact {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.am-footer-menu a, .am-footer-contact a,
.am-footer-contact li {
  color: rgba(250,246,238,0.7);
  font-size: 0.9rem;
  text-decoration: none;
  transition: color 0.2s;
}
.am-footer-menu a:hover, .am-footer-contact a:hover { color: var(--am-teal-soft); }

.am-footer-bottom {
  padding-top: 32px;
  border-top: 1px solid rgba(250,246,238,0.12);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.82rem;
  color: rgba(250,246,238,0.5);
}
@media (max-width: 900px) {
  .am-footer-inner { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .am-footer-inner { grid-template-columns: 1fr; }
}

/* ---------- Icon utility ---------- */
.am-icon { display: inline-block; vertical-align: middle; }

/* ---------- WordPress core styles: alignments, block widths ---------- */
.alignwide { width: 100%; }
.alignfull { width: 100%; margin-left: auto; margin-right: auto; }

/* Ensure ACF blocks that render sections fill full width */
.wp-block-acf-am-overlay-hero,
.wp-block-acf-am-cta-banner,
.wp-block-acf-am-trust-stripe,
.wp-block-acf-am-services-grid,
.wp-block-acf-am-features-grid,
.wp-block-acf-am-steps,
.wp-block-acf-am-testimonials,
.wp-block-acf-am-faq-accordion,
.wp-block-acf-am-page-hero,
.wp-block-acf-am-pas-section,
.wp-block-acf-am-coverage-area,
.wp-block-acf-am-pricing-cards,
.wp-block-acf-am-contact-split,
.wp-block-acf-am-standards-checklist,
.wp-block-acf-am-story-text,
.wp-block-acf-am-values-list {
  margin-top: 0;
  margin-bottom: 0;
}
