/* ==========================================================================
   APPOLO HEATING - SERVICE LANDING PAGES (.ap-landing) - Furnaces, Boilers, ...
   Strictly scoped to root class: .ap-landing (wrapper group on the page)
   No global resets on html / body.
   Breakpoints: 768px (Tablet), 1024px (Desktop)
   Max content width: 1280px
   Tokens derived from DESIGN.md
   ========================================================================== */

/* Scoped Design Tokens & Variables */
.ap-landing {
  --ap-font-headline: 'Montserrat', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --ap-font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Brand Colors from DESIGN.md */
  --ap-blue: #00629B;
  --ap-primary-dark: #004976;
  --ap-navy: #0A1B2F;
  --ap-gold: #F2B824;
  --ap-gold-hover: #d9a21b;
  --ap-emergency-red: #D32F2F;
  --ap-bg-surface: #f8f9ff;
  --ap-card-bg: #ffffff;
  --ap-border: #e1e2e8;
  --ap-text-main: #191c20;
  --ap-text-muted: #505f76;
  --ap-text-light: #ffffff;

  /* Radius & Shadows */
  --ap-radius-sm: 0.25rem;
  --ap-radius-md: 0.5rem;
  --ap-radius-lg: 1rem;
  --ap-radius-xl: 1.5rem;
  --ap-radius-pill: 9999px;
  --ap-shadow-card: 0 4px 16px rgba(10, 27, 47, 0.06);
  --ap-shadow-elevated: 0 10px 28px rgba(10, 27, 47, 0.12);

  font-family: var(--ap-font-body);
  color: var(--ap-text-main);
  background-color: var(--ap-bg-surface);
  line-height: 1.5;
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
}

.ap-landing *,
.ap-landing *::before,
.ap-landing *::after {
  box-sizing: border-box;
}

/* Material Symbols sizing helper */
.ap-landing .material-symbols-outlined {
  font-family: Arial, sans-serif;
  font-weight: normal;
  font-style: normal;
  font-size: 20px;
  line-height: 1;
  display: inline-block;
  vertical-align: middle;
  text-transform: none;
  letter-spacing: normal;
  word-wrap: normal;
  white-space: nowrap;
  direction: ltr;
}

/* Container Wrapper */
.ap-landing .ap-container {
  width: 100%;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* --------------------------------------------------------------------------
   1. HERO SECTION & LEAD CAPTURE (2-Column Desktop, Stacked Mobile)
   -------------------------------------------------------------------------- */
.ap-landing .ap-hero-section {
  background: linear-gradient(165deg, #0A1B2F 0%, #004976 60%, #00629B 100%);
  color: var(--ap-text-light);
  padding-top: 3rem;
  padding-bottom: 3.5rem;
  position: relative;
  overflow: hidden;
}

.ap-landing .ap-hero-grid {
  display: flex;
  flex-direction: column;
  gap: 2.25rem;
  align-items: stretch;
}

/* Hero Content (Left on Desktop) */
.ap-landing .ap-hero-content {
  display: flex;
  flex-direction: column;
}

.ap-landing .ap-hero-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 0.35rem 0.85rem;
  border-radius: var(--ap-radius-pill);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #fff;
  align-self: flex-start;
  margin-bottom: 1.25rem;
}

.ap-landing .ap-hero-badge-pill .ap-dot {
  width: 7px;
  height: 7px;
  background-color: var(--ap-gold);
  border-radius: 50%;
  display: inline-block;
}

.ap-landing .ap-hero-badge-pill .ap-gold-txt {
  color: var(--ap-gold);
}

.ap-landing .ap-hero-title {
  font-family: var(--ap-font-headline);
  font-size: 2.125rem;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 1rem 0;
  color: #ffffff;
}

.ap-landing .ap-hero-title span.ap-gold-highlight {
  color: var(--ap-gold);
}

.ap-landing .ap-hero-subtitle {
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.88);
  margin: 0 0 1.75rem 0;
  max-width: 580px;
}

/* Trust Proof Counter Badges */
.ap-landing .ap-trust-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.ap-landing .ap-metric-box {
  background: rgba(10, 27, 47, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--ap-radius-md);
  padding: 0.75rem 0.5rem;
  text-align: center;
  backdrop-filter: blur(4px);
}

.ap-landing .ap-metric-val {
  font-family: var(--ap-font-headline);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--ap-gold);
  display: block;
  line-height: 1.2;
}

.ap-landing .ap-metric-label {
  font-size: 0.6875rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
  letter-spacing: 0.02em;
  display: block;
  margin-top: 0.25rem;
}

/* Hero Emergency Call Strip */
.ap-landing .ap-hero-call-card {
  margin-top: 0.5rem;
  background: linear-gradient(90deg, rgba(211, 47, 47, 0.95), rgba(168, 28, 28, 0.95));
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--ap-radius-lg);
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-decoration: none;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(211, 47, 47, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ap-landing .ap-hero-call-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(211, 47, 47, 0.45);
}

.ap-landing .ap-hero-call-info {
  display: flex;
  flex-direction: column;
}

.ap-landing .ap-hero-call-tag {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
}

.ap-landing .ap-hero-call-num {
  font-family: var(--ap-font-headline);
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.2;
}

.ap-landing .ap-hero-call-action {
  background: #ffffff;
  color: var(--ap-emergency-red);
  font-size: 0.8125rem;
  font-weight: 700;
  padding: 0.4rem 0.9rem;
  border-radius: var(--ap-radius-pill);
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
/* --------------------------------------------------------------------------
   LEAD GENERATION FORM (Embed slot for Fluent Forms)
   -------------------------------------------------------------------------- */
/* Lead form: uses the theme acf/lead-form block (site-standard blue card). */

.ap-landing .ap-btn-submit {
  width: 100%;
  background: var(--ap-gold);
  color: var(--ap-navy);
  font-family: var(--ap-font-headline);
  font-weight: 700;
  font-size: 0.9375rem;
  padding: 0.85rem 1.25rem;
  border: none;
  border-radius: var(--ap-radius-md);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  box-shadow: 0 4px 12px rgba(242, 184, 36, 0.4);
  transition: background-color 0.2s, transform 0.15s, box-shadow 0.2s;
  min-height: 48px; /* Accessible touch target */
}

.ap-landing .ap-btn-submit:hover {
  background-color: var(--ap-gold-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(242, 184, 36, 0.5);
}

/* --------------------------------------------------------------------------
   2. WHY APPOLO EXCLUSIVELY INSTALLS LENNOX® (DEALER PILLARS)
   -------------------------------------------------------------------------- */
.ap-landing .ap-dealer-section {
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
  background-color: #ffffff;
}

.ap-landing .ap-section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 2.5rem auto;
}

.ap-landing .ap-badge-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ap-emergency-red);
  margin-bottom: 0.5rem;
}

.ap-landing .ap-section-title {
  font-family: var(--ap-font-headline);
  font-size: 1.85rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--ap-navy);
  margin: 0 0 0.75rem 0;
}

.ap-landing .ap-section-sub {
  font-size: 0.9375rem;
  color: var(--ap-text-muted);
  line-height: 1.55;
  margin: 0;
}

.ap-landing .ap-pillars-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.ap-landing .ap-pillar-card {
  background: var(--ap-bg-surface);
  border: 1px solid var(--ap-border);
  border-radius: var(--ap-radius-lg);
  padding: 1.25rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.ap-landing .ap-pillar-card:hover {
  transform: translateY(-2px);
  border-color: var(--ap-blue);
  box-shadow: var(--ap-shadow-card);
}

.ap-landing .ap-pillar-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--ap-radius-md);
  background: rgba(0, 98, 155, 0.1);
  color: var(--ap-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ap-landing .ap-pillar-text h4 {
  font-family: var(--ap-font-headline);
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--ap-navy);
  margin: 0 0 0.25rem 0;
}

.ap-landing .ap-pillar-text p {
  font-size: 0.8125rem;
  color: var(--ap-text-muted);
  margin: 0;
  line-height: 1.45;
}

/* --------------------------------------------------------------------------
   3. SIDE-BY-SIDE SPEC COMPARISON TABLE (Merit vs Elite)
   -------------------------------------------------------------------------- */
.ap-landing .ap-comparison-section {
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
  background-color: var(--ap-bg-surface);
  border-top: 1px solid var(--ap-border);
  border-bottom: 1px solid var(--ap-border);
}

.ap-landing .ap-table-wrapper {
  background: #ffffff;
  border-radius: var(--ap-radius-xl);
  border: 1px solid var(--ap-border);
  overflow: hidden;
  box-shadow: var(--ap-shadow-card);
}

.ap-landing .ap-comp-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.ap-landing .ap-comp-table th,
.ap-landing .ap-comp-table td {
  padding: 0.875rem 1rem;
  border-bottom: 1px solid #eceef3;
  font-size: 0.875rem;
}

.ap-landing .ap-comp-table thead th {
  padding: 1.25rem 1rem;
  border-bottom: 2px solid var(--ap-border);
}

.ap-landing .ap-comp-table thead th.ap-col-merit {
  background: #f8f9ff;
  color: var(--ap-navy);
  width: 35%;
}

.ap-landing .ap-comp-table thead th.ap-col-elite {
  background: #eef5fc;
  color: var(--ap-blue);
  width: 35%;
  position: relative;
}

.ap-landing .ap-comp-table thead th.ap-col-spec {
  width: 30%;
  color: var(--ap-text-muted);
  font-weight: 600;
}

.ap-landing .ap-top-choice-tag {
  display: inline-block;
  background: var(--ap-gold);
  color: var(--ap-navy);
  font-size: 0.625rem;
  font-weight: 700;
  padding: 0.15rem 0.45rem;
  border-radius: var(--ap-radius-sm);
  margin-left: 0.35rem;
  vertical-align: middle;
  text-transform: uppercase;
}

.ap-landing .ap-series-name {
  font-family: var(--ap-font-headline);
  font-size: 1.05rem;
  font-weight: 700;
  display: block;
}

.ap-landing .ap-series-tagline {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--ap-text-muted);
  display: block;
  margin-top: 0.15rem;
}

.ap-landing .ap-comp-table tbody tr:last-child td {
  border-bottom: none;
}

.ap-landing .ap-comp-table tbody tr:hover td {
  background-color: #fafbfe;
}

.ap-landing .ap-spec-label {
  font-weight: 600;
  color: var(--ap-navy);
}

.ap-landing .ap-table-cta {
  padding: 1rem;
  text-align: center;
  background: #f8f9ff;
  border-top: 1px solid var(--ap-border);
}

.ap-landing .ap-table-cta-link {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--ap-blue);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.ap-landing .ap-table-cta-link:hover {
  text-decoration: underline;
}

/* --------------------------------------------------------------------------
   4. PRODUCT MODEL SHOWCASES (Elite & Merit Product Cards)
   -------------------------------------------------------------------------- */
.ap-landing .ap-products-section {
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
  background-color: #ffffff;
}

.ap-landing .ap-tier-block {
  margin-bottom: 3.5rem;
}

.ap-landing .ap-tier-header {
  display: flex;
  flex-direction: column;
  margin-bottom: 1.5rem;
  border-bottom: 2px solid var(--ap-border);
  padding-bottom: 0.75rem;
}

.ap-landing .ap-tier-badge {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ap-blue);
}

.ap-landing .ap-tier-title-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.ap-landing .ap-tier-title {
  font-family: var(--ap-font-headline);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--ap-navy);
  margin: 0;
}

.ap-landing .ap-tier-efficiency {
  font-size: 0.8125rem;
  font-weight: 700;
  color: #0b8043;
}

.ap-landing .ap-tier-desc {
  font-size: 0.875rem;
  color: var(--ap-text-muted);
  margin-top: 0.4rem;
  line-height: 1.5;
}

/* Product Model Grid (Stacked on mobile, 2 or 3 col on tablet/desktop) */
.ap-landing .ap-product-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.ap-landing .ap-product-card {
  background: #ffffff;
  border: 1px solid var(--ap-border);
  border-radius: var(--ap-radius-xl);
  overflow: hidden;
  box-shadow: var(--ap-shadow-card);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.ap-landing .ap-product-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--ap-shadow-elevated);
  border-color: var(--ap-blue);
}

.ap-landing .ap-card-top {
  padding: 1.25rem 1.25rem 0.75rem 1.25rem;
  display: flex;
  gap: 1rem;
  align-items: center;
  background: #fafbfe;
  border-bottom: 1px solid #edf0f5;
}

.ap-landing .ap-product-img-box {
  width: 90px;
  height: 90px;
  background: #ffffff;
  border: 1px solid var(--ap-border);
  border-radius: var(--ap-radius-md);
  padding: 0.35rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ap-landing .ap-product-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}

.ap-landing .ap-product-header-info {
  flex: 1;
}

.ap-landing .ap-model-pill {
  display: inline-block;
  background: #d32f2f;
  color: #ffffff;
  font-size: 0.625rem;
  font-weight: 700;
  padding: 0.15rem 0.5rem;
  border-radius: var(--ap-radius-sm);
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}

.ap-landing .ap-model-pill.ap-pill-merit {
  background: #00629b;
}

.ap-landing .ap-product-title {
  font-family: var(--ap-font-headline);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--ap-navy);
  margin: 0 0 0.25rem 0;
  line-height: 1.25;
}

.ap-landing .ap-product-type {
  font-size: 0.75rem;
  color: var(--ap-text-muted);
  line-height: 1.35;
  margin: 0;
}

.ap-landing .ap-card-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.ap-landing .ap-feature-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.ap-landing .ap-feature-item {
  font-size: 0.8125rem;
  color: var(--ap-text-main);
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  line-height: 1.4;
}

.ap-landing .ap-feature-item .material-symbols-outlined {
  color: var(--ap-blue);
  font-size: 17px;
  margin-top: 1px;
  flex-shrink: 0;
}

.ap-landing .ap-btn-model-inquire {
  margin-top: auto;
  background: var(--ap-blue);
  color: #ffffff;
  text-decoration: none;
  font-family: var(--ap-font-headline);
  font-size: 0.8125rem;
  font-weight: 700;
  padding: 0.75rem 1rem;
  border-radius: var(--ap-radius-md);
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  transition: background-color 0.2s, transform 0.15s;
  min-height: 44px; /* Accessible touch target */
}

.ap-landing .ap-btn-model-inquire:hover {
  background-color: var(--ap-primary-dark);
}

.ap-landing .ap-btn-model-inquire.ap-btn-dark {
  background: var(--ap-navy);
}

.ap-landing .ap-btn-model-inquire.ap-btn-dark:hover {
  background: #152d4a;
}

/* --------------------------------------------------------------------------
   5. COMPLETE FURNACE CARE & 21-POINT SAFETY (MAINTENANCE)
   -------------------------------------------------------------------------- */
.ap-landing .ap-care-section {
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
  background-color: var(--ap-bg-surface);
}

.ap-landing .ap-care-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.ap-landing .ap-care-card {
  background: #ffffff;
  border: 1px solid var(--ap-border);
  border-radius: var(--ap-radius-xl);
  padding: 1.5rem;
  box-shadow: var(--ap-shadow-card);
}

.ap-landing .ap-care-card-header {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1rem;
}

.ap-landing .ap-care-icon-box {
  width: 44px;
  height: 44px;
  border-radius: var(--ap-radius-md);
  background: rgba(0, 98, 155, 0.1);
  color: var(--ap-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ap-landing .ap-care-icon-box.ap-icon-gold {
  background: rgba(242, 184, 36, 0.2);
  color: #9c6c00;
}

.ap-landing .ap-care-icon-box.ap-icon-red {
  background: rgba(211, 47, 47, 0.12);
  color: var(--ap-emergency-red);
}

.ap-landing .ap-care-card-title {
  font-family: var(--ap-font-headline);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ap-navy);
  margin: 0;
  line-height: 1.25;
}

.ap-landing .ap-care-card-sub {
  font-size: 0.75rem;
  color: var(--ap-text-muted);
  display: block;
}

.ap-landing .ap-care-body-text {
  font-size: 0.875rem;
  color: var(--ap-text-muted);
  line-height: 1.55;
  margin: 0 0 1rem 0;
}

.ap-landing .ap-checklist-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.4rem;
  background: var(--ap-bg-surface);
  padding: 0.85rem;
  border-radius: var(--ap-radius-md);
  border: 1px solid var(--ap-border);
  margin-bottom: 1rem;
}

.ap-landing .ap-check-item {
  font-size: 0.75rem;
  color: var(--ap-navy);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.ap-landing .ap-check-item .material-symbols-outlined {
  color: #0b8043;
  font-size: 16px;
}

.ap-landing .ap-btn-emergency {
  width: 100%;
  background: var(--ap-emergency-red);
  color: #ffffff;
  text-decoration: none;
  font-family: var(--ap-font-headline);
  font-size: 0.875rem;
  font-weight: 700;
  padding: 0.75rem 1rem;
  border-radius: var(--ap-radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 46px;
  transition: background-color 0.2s;
}

.ap-landing .ap-btn-emergency:hover {
  background: #b51c1c;
}

/* --------------------------------------------------------------------------
   6. PRIORITY CUSTOMER AGREEMENT (VIP CLUB BANNER)
   -------------------------------------------------------------------------- */
.ap-landing .ap-vip-section {
  padding-top: 3rem;
  padding-bottom: 3rem;
  background: linear-gradient(135deg, #0A1B2F 0%, #004976 100%);
  color: #ffffff;
}

.ap-landing .ap-vip-card {
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--ap-radius-xl);
  padding: 2rem 1.5rem;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(8px);
}

.ap-landing .ap-vip-eyebrow {
  display: inline-block;
  background: var(--ap-gold);
  color: var(--ap-navy);
  font-size: 0.6875rem;
  font-weight: 800;
  padding: 0.2rem 0.6rem;
  border-radius: var(--ap-radius-pill);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}

.ap-landing .ap-vip-title {
  font-family: var(--ap-font-headline);
  font-size: 1.6rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 0.5rem 0;
  line-height: 1.25;
}

.ap-landing .ap-vip-sub {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.85);
  margin: 0 0 1.75rem 0;
  line-height: 1.5;
  max-width: 650px;
}

.ap-landing .ap-vip-benefits {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.ap-landing .ap-vip-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}

.ap-landing .ap-vip-item .material-symbols-outlined {
  color: var(--ap-gold);
  font-size: 24px;
  flex-shrink: 0;
  margin-top: 2px;
}

.ap-landing .ap-vip-item h5 {
  font-family: var(--ap-font-headline);
  font-size: 0.9375rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 0.25rem 0;
}

.ap-landing .ap-vip-item p {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.75);
  margin: 0;
  line-height: 1.4;
}

.ap-landing .ap-btn-vip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--ap-gold);
  color: var(--ap-navy);
  font-family: var(--ap-font-headline);
  font-size: 0.9375rem;
  font-weight: 700;
  padding: 0.85rem 1.5rem;
  border-radius: var(--ap-radius-md);
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(242, 184, 36, 0.4);
  min-height: 48px;
  transition: background-color 0.2s, transform 0.15s;
}

.ap-landing .ap-btn-vip:hover {
  background: var(--ap-gold-hover);
  transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   7. 3 REGIONAL NEW YORK HUBS (FAST LOCAL DISPATCH)
   -------------------------------------------------------------------------- */
.ap-landing .ap-branches-section {
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
  background-color: #ffffff;
}

.ap-landing .ap-branch-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.ap-landing .ap-branch-card {
  background: var(--ap-bg-surface);
  border: 1px solid var(--ap-border);
  border-radius: var(--ap-radius-xl);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.2s, border-color 0.2s;
}

.ap-landing .ap-branch-card:hover {
  transform: translateY(-2px);
  border-color: var(--ap-blue);
}

.ap-landing .ap-branch-tag {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--ap-blue);
  letter-spacing: 0.05em;
  display: block;
  margin-bottom: 0.25rem;
}

.ap-landing .ap-branch-name {
  font-family: var(--ap-font-headline);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ap-navy);
  margin: 0 0 0.35rem 0;
}

.ap-landing .ap-branch-addr {
  font-size: 0.8125rem;
  color: var(--ap-text-muted);
  line-height: 1.45;
  margin: 0 0 1.25rem 0;
}

.ap-landing .ap-branch-call-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  background: #ffffff;
  border: 1px solid var(--ap-border);
  border-radius: var(--ap-radius-md);
  text-decoration: none;
  color: var(--ap-navy);
  font-family: var(--ap-font-headline);
  font-weight: 700;
  font-size: 0.9375rem;
  min-height: 46px;
  transition: background-color 0.2s, border-color 0.2s;
}

.ap-landing .ap-branch-call-btn:hover {
  background: #f0f7fd;
  border-color: var(--ap-blue);
  color: var(--ap-blue);
}

.ap-landing .ap-branch-call-btn span.ap-tap-lbl {
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--ap-text-muted);
}

/* --------------------------------------------------------------------------
   8. FREQUENTLY ASKED QUESTIONS (ACCORDIONS)
   -------------------------------------------------------------------------- */
.ap-landing .ap-faq-section {
  padding-top: 3.5rem;
  padding-bottom: 4rem;
  background-color: var(--ap-bg-surface);
  border-top: 1px solid var(--ap-border);
}

.ap-landing .ap-faq-accordion {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.ap-landing .ap-faq-item {
  background: #ffffff;
  border: 1px solid var(--ap-border);
  border-radius: var(--ap-radius-lg);
  overflow: hidden;
  transition: border-color 0.2s;
}

.ap-landing .ap-faq-item:hover {
  border-color: #cbd5e1;
}

.ap-landing .ap-faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 1.15rem 1.25rem;
  font-family: var(--ap-font-headline);
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--ap-navy);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  min-height: 48px;
}

.ap-landing .ap-faq-question:focus {
  outline: none;
  background-color: #fafbfe;
}

.ap-landing .ap-faq-icon {
  color: var(--ap-blue);
  transition: transform 0.25s ease;
  font-size: 22px;
}

.ap-landing .ap-faq-item.is-open .ap-faq-icon {
  transform: rotate(180deg);
}

.ap-landing .ap-faq-answer {
  display: none;
  padding: 0 1.25rem 1.25rem 1.25rem;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--ap-text-muted);
  border-top: 1px solid #f1f3f7;
}

.ap-landing .ap-faq-item.is-open .ap-faq-answer {
  display: block;
}

/* Bottom Closing CTA */
.ap-landing .ap-bottom-cta {
  text-align: center;
  margin-top: 3rem;
  padding: 2.5rem 1.5rem;
  background: linear-gradient(135deg, #004976 0%, #00629B 100%);
  border-radius: var(--ap-radius-xl);
  color: #ffffff;
}

.ap-landing .ap-bottom-cta h3 {
  font-family: var(--ap-font-headline);
  font-size: 1.45rem;
  font-weight: 700;
  margin: 0 0 0.5rem 0;
}

.ap-landing .ap-bottom-cta p {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 540px;
  margin: 0 auto 1.5rem auto;
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES (TABLET: >=768px & DESKTOP: >=1024px)
   ========================================================================== */

/* Tablet (>= 768px) */
@media (min-width: 768px) {
  .ap-landing .ap-hero-title {
    font-size: 2.5rem;
  }
  .ap-landing .ap-pillars-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .ap-landing .ap-product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .ap-landing .ap-care-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .ap-landing .ap-care-card.ap-care-full {
    grid-column: span 2;
  }
  .ap-landing .ap-checklist-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .ap-landing .ap-vip-benefits {
    grid-template-columns: repeat(3, 1fr);
  }
  .ap-landing .ap-branch-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Desktop (>= 1024px) */
@media (min-width: 1024px) {
  .ap-landing .ap-hero-section {
    padding-top: 4.5rem;
    padding-bottom: 5rem;
  }
  /* 2-Column Hero: Marketing Left, Form Right */
  .ap-landing .ap-hero-grid {
    flex-direction: row;
    align-items: center;
    gap: 3.5rem;
  }
  .ap-landing .ap-hero-content {
    flex: 1.15;
  }
  .ap-landing .ap-hero-form-col {
    flex: 0.85;
    max-width: 500px;
  }
  .ap-landing .ap-hero-title {
    font-size: 3rem;
    line-height: 1.1;
  }
  .ap-landing .ap-pillars-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  /* Elite 3-col grid, Merit 2-col */
  .ap-landing .ap-tier-elite .ap-product-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .ap-landing .ap-tier-merit .ap-product-grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 900px;
    margin: 0 auto;
  }
  .ap-landing .ap-care-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .ap-landing .ap-care-card.ap-care-full {
    grid-column: span 1;
  }
}

/* Extracted inline presentation */
.ap-landing .ap-inline-1 { opacity: 0.4; }
.ap-landing .ap-inline-2 { font-size: 16px; }
.ap-landing .ap-inline-3 { color: var(--ap-blue); }
.ap-landing .ap-inline-4 { color: var(--ap-navy); }
.ap-landing .ap-inline-5 { display: inline-flex; width: auto; padding: 0.9rem 2rem; }

/* WordPress integration and accessibility */
.ap-landing { width:100%; max-width:none; margin-block:0; }
.ap-landing > *, .ap-landing .wp-block-group > .wp-block-group { margin-block-start:0; margin-block-end:0; }
.ap-landing .ap-hero-content, .ap-landing .ap-hero-form-col { min-width:0; }
.ap-landing .ap-hero-badge-pill { flex-wrap:wrap; }
.ap-landing .ap-hero-call-card { gap:0.75rem; flex-wrap:wrap; }
.ap-landing .ap-product-header-info { min-width:0; }
.ap-landing .ap-tier-title-row { flex-wrap:wrap; }
.ap-landing .ap-metric-val { font-size:clamp(.85rem,3.3vw,1.25rem); overflow-wrap:anywhere; }
.ap-landing a { text-decoration:none; }
.ap-landing .ap-bottom-cta h3 { color:#fff; }
.ap-landing :where(a,summary,input,select,textarea,button):focus-visible { outline:3px solid #b47700; outline-offset:3px; }
.ap-landing .ap-faq-question { list-style:none; }
.ap-landing .ap-faq-question::-webkit-details-marker { display:none; }
.ap-landing .ap-faq-answer { display:block; }
.ap-landing .ap-faq-item[open] .ap-faq-icon { transform:rotate(180deg); }
.ap-landing #furnace-quote-form { scroll-margin-top:120px; }
.ap-landing .ap-table-wrapper { overflow-x:auto; }
.ap-landing .ap-table-wrapper:focus-visible { outline:3px solid #b47700; }
@media(max-width:767px) {
 .ap-landing .ap-container { padding-inline:1rem; }
 .ap-landing .ap-check-item { overflow-wrap:anywhere; }
}
@media(prefers-reduced-motion:reduce) { .ap-landing * { transition:none; scroll-behavior:auto; } }
.ap-landing #quote-form { scroll-margin-top:120px; }

/* Block editor canvas: ACF blocks and Group inner-blocks add wrapper elements
   the front end doesn't have, so re-create the hero's two-column flex row. */
@media (min-width: 1024px) {
  .editor-styles-wrapper .ap-landing .ap-hero-grid > .block-editor-inner-blocks > .block-editor-block-list__layout {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 3.5rem;
  }
  .editor-styles-wrapper .ap-landing .ap-hero-grid [data-type="acf/landing-hero"] { flex: 1.15; min-width: 0; }
  .editor-styles-wrapper .ap-landing .ap-hero-grid .ap-hero-form-col { flex: 0.85; max-width: 500px; }
}

/* Core Button blocks used inside the VIP card and the bottom CTA (pattern uses
   native blocks, not raw <a class="ap-btn-*">): style the button link like the
   gold CTA. */
.ap-landing .ap-vip-card .wp-block-buttons,
.ap-landing .ap-bottom-cta .wp-block-buttons { margin: 0; }
.ap-landing .ap-bottom-cta .wp-block-buttons { justify-content: center; }
.ap-landing .ap-vip-card .wp-block-button__link,
.ap-landing .ap-bottom-cta .wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--ap-gold);
  color: var(--ap-navy);
  font-family: var(--ap-font-headline);
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.3;
  padding: 0.85rem 1.5rem;
  border-radius: var(--ap-radius-md);
  box-shadow: 0 4px 14px rgba(242, 184, 36, 0.4);
  min-height: 48px;
  transition: background-color 0.2s, transform 0.15s;
}
.ap-landing .ap-vip-card .wp-block-button__link:hover,
.ap-landing .ap-bottom-cta .wp-block-button__link:hover { background: var(--ap-gold-hover); transform: translateY(-2px); }
.ap-landing .ap-vip-item p.material-symbols-outlined { margin-top: 2px; }
.ap-landing .ap-vip-item > .wp-block-group { min-width: 0; }
.ap-landing .ap-bottom-cta-section { padding: 0 0 3.5rem; background: #ffffff; }
.ap-landing .ap-bottom-cta-section .ap-bottom-cta { margin-top: 0; }

/* Block editor: restore the flex/grid rows that Group inner-blocks wrappers break. */
.editor-styles-wrapper .ap-landing .ap-vip-item > .block-editor-inner-blocks > .block-editor-block-list__layout {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}
@media (min-width: 768px) {
  .editor-styles-wrapper .ap-landing .ap-vip-benefits > .block-editor-inner-blocks > .block-editor-block-list__layout {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }
}

/* Branch cards built from core blocks: the phone link is a plain paragraph link; the "Tap to Call" label is CSS. */
.ap-landing .ap-branch-card p { margin-top: 0; }
.ap-landing p.ap-branch-tag { margin-bottom: 0.25rem; }
.ap-landing p.ap-badge-eyebrow { margin-top: 0; }
.ap-landing .ap-branch-card h4.ap-branch-name { margin-top: 0; }
.ap-landing p.ap-branch-call { margin: 0; }
.ap-landing p.ap-branch-call a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.75rem 1rem; background: #ffffff; border: 1px solid var(--ap-border);
  border-radius: var(--ap-radius-md); text-decoration: none; color: var(--ap-navy);
  font-family: var(--ap-font-headline); font-weight: 700; font-size: 0.9375rem; min-height: 46px;
  transition: background-color 0.2s, border-color 0.2s;
}
.ap-landing p.ap-branch-call a:hover { background: #f0f7fd; border-color: var(--ap-blue); color: var(--ap-blue); }
.ap-landing p.ap-branch-call a::after { content: "Tap to Call"; font-size: 0.6875rem; font-weight: 600; color: var(--ap-text-muted); }

/* The shared FAQ block's chevron is a real icon-font glyph; the landing helper above sets Arial. */
.ap-landing .faq__chevron { font-family: 'Material Symbols Outlined'; font-size: 24px; }
/* Buttons that follow the VIP benefit row, and a bottom CTA that continues the FAQ surface. */
.ap-landing .ap-vip-card .wp-block-buttons { margin-top: 1.75rem; }
.ap-landing .ap-bottom-cta-section { background: var(--ap-bg-surface); padding-top: 0; }
.ap-landing .ap-branches-section .ap-section-header { margin-bottom: 0; padding-bottom: 2.5rem; }
