/**
 * ABM Service Shortcodes - Main Stylesheet
 * Version: 2.3.1
 * Description: Consolidated styles for all ABM shortcodes
 */

/* ============================================================
   PAGE BACKGROUND FIX - Override theme's black background
   ============================================================ */
body.custom-background,
body.page,
#page-container,
#et-main-area,
#main-content,
.et_pb_section {
  background-color: #ffffff !important;
  background-image: none !important;
}

/* Force readable text colors */
body,
#main-content,
.entry-content,
.et_pb_row {
  color: #333333 !important;
}

/* ============================================================
   REMOVE ALL DIVI BORDERS - Eliminate grey vertical lines
   ============================================================ */
body,
#page-container,
#et-main-area,
#main-content,
#left-area,
.et_pb_section,
.et_pb_row,
.et_pb_column,
.entry-content,
.post,
article,
.container,
#content-area,
.et-l,
.et-l--post,
#et-boc,
.et-db,
.et_builder_inner_content,
#et_builder_outer_content,
.et_pb_module,
.post-content,
#content,
.hfeed {
  border: none !important;
  border-left: none !important;
  border-right: none !important;
  border-top: none !important;
  border-bottom: none !important;
  box-shadow: none !important;
  outline: none !important;
}

/* Additional border removal for Divi sidebar and column gutters */
.et_pb_row_inner,
.et_pb_column_inner,
.et_pb_with_border,
#sidebar,
.et_pb_gutters3 .et_pb_column,
.et_pb_gutters3.et_pb_row .et_pb_column,
#main-content > .container,
#main-content .container:before,
#main-content .container:after,
.et-l:before,
.et-l:after,
#left-area:before,
#left-area:after {
  border: none !important;
  border-left: none !important;
  border-right: none !important;
  box-shadow: none !important;
}

/* Force removal of any pseudo-element borders that create lines */
body *:not(.abm-card):not(.abm-btn):not(.abm-service-grid):before,
body *:not(.abm-card):not(.abm-btn):not(.abm-service-grid):after {
  border-left: none !important;
  border-right: none !important;
}

/* Specific fix for #main-content > div left border line */
#main-content > div,
#main-content > div:before,
#main-content > div:after,
#main-content > div > *:before,
#main-content > div > *:after {
  border: none !important;
  border-left: none !important;
  border-right: none !important;
  box-shadow: none !important;
}

/* Force full-width container without restrictions - ONLY on pages with ABM shortcodes */
body.page:has(.abm-breadcrumbs) #main-content,
body.page:has(.abm-breadcrumbs) #main-content > .container,
body.page:has(.abm-breadcrumbs) #left-area,
body.page:has(.abm-breadcrumbs) .entry-content {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* Fallback for browsers that don't support :has() */
body.abm-location-page #main-content,
body.abm-location-page #main-content > .container,
body.abm-location-page #left-area,
body.abm-location-page .entry-content {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* Ensure shortcode containers use full available width */
.abm-breadcrumbs,
.abm-hero-section,
.abm-location-nav,
.abm-geo-callout,
.abm-local-unique,
.abm-service-grid,
.abm-service-intro,
.abm-service-description,
.abm-nearby-cities,
.abm-regulatory-authority,
.abm-process-steps,
.abm-why-choose-us,
.abm-pricing-note,
.abm-service-faq,
.abm-resource-hub,
.abm-location-search {
  width: 100% !important;
  max-width: 1200px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 20px !important;
  padding-right: 20px !important;
  box-sizing: border-box !important;
}

/* Add consistent vertical spacing between sections */
.abm-breadcrumbs {
  margin-top: 0 !important;
  margin-bottom: 20px !important;
}

.abm-service-grid,
.abm-service-intro,
.abm-service-description,
.abm-nearby-cities,
.abm-location-search,
.abm-regulatory-authority,
.abm-process-steps,
.abm-why-choose-us,
.abm-pricing-note,
.abm-service-faq,
.abm-resource-hub,
.abm-local-unique {
  margin-top: 40px !important;
  margin-bottom: 40px !important;
}

/* ============================================================
   GEO-LOCATION CALLOUT - Sticky top banner
   ============================================================ */
.abm-geo-callout {
  position: sticky;
  top: 0;
  z-index: 99;
  background: linear-gradient(135deg, #003366 0%, #004d99 100%);
  color: #ffffff;
  padding: 0.75rem 1rem;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  font-size: 0.95rem;
  animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.abm-geo-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.abm-geo-icon {
  font-size: 1.2rem;
}

.abm-geo-text {
  font-size: 1rem;
}

.abm-geo-text strong {
  font-weight: 700;
  color: #ffd500;
}

.abm-geo-text a {
  color: #ffd500;
  text-decoration: underline;
}

.abm-geo-text a:hover {
  color: #fff;
}

.abm-geo-phone {
  background: #ffd500;
  color: #003366;
  padding: 0.5rem 1.25rem;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.abm-geo-phone:hover {
  background: #f5b400;
  transform: translateY(-1px);
  box-shadow: 0 3px 8px rgba(0,0,0,0.2);
}

@media (max-width: 640px) {
  .abm-geo-callout {
    padding: 0.6rem 0.75rem;
    font-size: 0.9rem;
  }
  
  .abm-geo-content {
    gap: 0.5rem;
  }
  
  .abm-geo-phone {
    padding: 0.4rem 1rem;
    font-size: 0.9rem;
  }
}

/* ============================================================
   CSS VARIABLES
   ============================================================ */
:root {
  --abm-navy: #003366;
  --abm-gold: #ffd500;
  --abm-gold-dark: #f5b400;
  --abm-border: #e7e7e7;
  --abm-bg: #fafafa;
  --abm-radius: 14px;
}

/* ============================================================
   CONTENT CONTAINER - Border removal only
   ============================================================ */
#main-content .container,
.et_pb_section .entry-content,
article .entry-content,
.post .entry-content,
#main-content,
.container,
#left-area,
#et-boc .et-l,
.et_builder_inner_content {
  border: none !important;
  border-left: none !important;
  border-right: none !important;
}


/* ============================================================
   GRID SYSTEM - Generous spacing for premium feel
   ============================================================ */
.abm-grid {
  display: grid;
  gap: 24px;
}

.abm-grid.cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.abm-grid.cols-2 { grid-template-columns: repeat(2, minmax(180px, 1fr)); }
.abm-grid.cols-3 { grid-template-columns: repeat(3, minmax(200px, 1fr)); }
.abm-grid.cols-4 { grid-template-columns: repeat(4, minmax(220px, 1fr)); }
.abm-grid.cols-5 { grid-template-columns: repeat(5, minmax(180px, 1fr)); }
.abm-grid.cols-6 { grid-template-columns: repeat(6, minmax(160px, 1fr)); }

/* Large tablet breakpoint */
@media (max-width: 1200px) {
  .abm-grid.cols-4,
  .abm-grid.cols-5,
  .abm-grid.cols-6 {
    grid-template-columns: repeat(3, minmax(200px, 1fr));
  }
}

/* Tablet breakpoint */
@media (max-width: 980px) {
  .abm-grid.md-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
  .abm-grid.md-cols-2 { grid-template-columns: repeat(2, minmax(180px, 1fr)); }
  .abm-grid.md-cols-3 { grid-template-columns: repeat(3, minmax(180px, 1fr)); }
  .abm-grid.md-cols-4 { grid-template-columns: repeat(2, minmax(180px, 1fr)); }
  .abm-grid { gap: 18px; }
}

/* Mobile breakpoint */
@media (max-width: 767px) {
  .abm-grid.sm-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
  .abm-grid.sm-cols-2 { grid-template-columns: repeat(2, minmax(150px, 1fr)); }
  .abm-grid.sm-cols-3 { grid-template-columns: repeat(2, minmax(150px, 1fr)); }
  .abm-grid { gap: 16px; }
}

/* Extra small breakpoint */
@media (max-width: 479px) {
  .abm-grid.xs-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
  .abm-grid.xs-cols-2 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
  .abm-grid { gap: 14px; }
  
  .abm-card {
    padding: 1.25rem 1rem;
  }
}


/* ============================================================
   SERVICE GRID CARDS - Premium Design
   ============================================================ */
.abm-svc-grid {
  margin: 2rem 0;
  width: 100% !important;
  max-width: none !important;
}

.abm-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 1.5rem 1.25rem;
  min-height: 120px;
  border: 1px solid #e8e8e8;
  border-radius: 14px;
  text-decoration: none;
  background: #ffffff;
  box-shadow: 0 3px 12px rgba(0, 51, 102, 0.08);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.abm-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--abm-gold) 0%, var(--abm-gold-dark) 100%);
  transform: scaleY(0);
  transition: transform 0.3s ease;
}

.abm-card:hover::before {
  transform: scaleY(1);
}

.abm-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 51, 102, 0.12);
  border-color: var(--abm-gold);
}

.abm-card-top {
  display: flex;
  align-items: center;
  gap: 12px;
}

.abm-icon {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 10px;
  background: linear-gradient(135deg, var(--abm-gold) 0%, var(--abm-gold-dark) 100%);
  border-radius: 12px;
  color: var(--abm-navy);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 8px rgba(255, 213, 0, 0.2);
}

.abm-card:hover .abm-icon {
  background: linear-gradient(135deg, var(--abm-navy) 0%, #004d99 100%);
  color: var(--abm-gold);
  transform: scale(1.15) rotate(-3deg);
  box-shadow: 0 6px 16px rgba(0, 51, 102, 0.3);
}

/* Emoji icon styling inside card */
.abm-icon .abm-emoji-icon {
  font-size: 20px;
  line-height: 1;
  display: inline-block;
}

.abm-icon svg {
  width: 100%;
  height: 100%;
}

.abm-title {
  font-weight: 700;
  font-size: clamp(14.5px, 2vw, 16px);
  line-height: 1.3;
  color: var(--abm-navy);
  transition: color 0.2s ease;
}

.abm-card:hover .abm-title {
  color: #001a33;
}

.abm-sub {
  font-size: clamp(12px, 1.8vw, 13.5px);
  color: #666;
  font-weight: 500;
  line-height: 1.4;
  transition: color 0.2s ease;
}

.abm-card:hover .abm-sub {
  color: #555;
}


/* ============================================================
   TRUST ELEMENTS
   ============================================================ */
.abm-trustline {
  margin: 0.25rem 0 1rem;
  font-weight: 600;
  opacity: 0.9;
}

.abm-trustline strong {
  font-weight: 700;
}

.abm-callline {
  margin: 0.25rem 0 1.25rem;
}

.abm-callline a {
  color: var(--abm-gold-dark);
  font-weight: 800;
  text-decoration: none;
}

.abm-callline a:hover {
  text-decoration: underline;
}


/* ============================================================
   BUTTONS
   ============================================================ */
.abm-btnrow {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.25rem 0 1.5rem;
}

.abm-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  border-radius: 999px;
  border: 2px solid #d5d5d5;
  background: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: clamp(14px, 2vw, 15px);
  color: var(--abm-navy);
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.abm-btn__icon {
  font-size: 18px;
  line-height: 1;
  display: inline-block;
}

.abm-btn__text {
  display: inline-block;
}

.abm-btn:hover {
  background: #f9f9f9;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border-color: #bbb;
}

/* Service type buttons - Luxe micro treatment */
.abm-btn--service {
  background: linear-gradient(135deg, #fefdfb 0%, #faf8f5 100%);
  border: 1px solid #e8dcc8;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.7);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.abm-btn--service:hover {
  background: linear-gradient(135deg, #f4e4c1 0%, #daa520 100%);
  border-color: #c9a05f;
  color: #1a1a1a;
  box-shadow: 0 3px 8px rgba(218, 165, 32, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.4);
  transform: translateY(-1px);
}

.abm-btn.primary {
  background: var(--abm-gold);
  border-color: var(--abm-gold);
  color: #000;
  font-weight: 700;
}

.abm-btn.primary:hover {
  background: var(--abm-gold-dark);
  border-color: var(--abm-gold-dark);
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 6px 16px rgba(255, 213, 0, 0.3);
}

.abm-btn.ghost {
  background: transparent;
  border-color: var(--abm-navy);
  color: var(--abm-navy);
}

.abm-btn.ghost:hover {
  background: var(--abm-navy);
  color: #fff;
  border-color: var(--abm-navy);
}

.abm-pill {
  display: inline-block;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: #f2f2f2;
  font-weight: 700;
  font-size: 0.85rem;
}


/* ============================================================
   DIVIDERS
   ============================================================ */
.abm-divider {
  border: 0;
  border-top: 1px solid var(--abm-border);
  margin: 1.25rem 0;
}


/* ============================================================
   CITY INTRO
   ============================================================ */
.abm-city-intro {
  max-width: 75ch;
  margin: 0.5rem 0 1rem;
  font-size: 1.05rem;
  line-height: 1.55;
}

.abm-city-intro.small {
  font-size: 0.98rem;
}

.abm-city-intro.center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

/* ============================================================
   HERO SECTION - Enhanced top area for location pages
   ============================================================ */
.abm-hero-section {
  background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
  border-left: 4px solid var(--abm-navy, #003366);
  border-radius: 8px;
  padding: 24px 28px;
  margin: 16px 0 24px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.abm-hero-section__title {
  font-size: clamp(24px, 4vw, 32px);
  font-weight: 700;
  color: var(--abm-navy, #003366);
  margin: 0 0 16px;
  line-height: 1.2;
}

.abm-hero-section__location {
  font-size: clamp(16px, 2.5vw, 18px);
  color: #555;
  font-weight: 500;
  margin: 0 0 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.abm-hero-section__location-icon {
  font-size: 20px;
  color: var(--abm-gold, #c9a961);
}

.abm-hero-section__description {
  font-size: clamp(15px, 2vw, 17px);
  line-height: 1.6;
  color: #2c3e50;
  margin: 0;
  max-width: 70ch;
}

.abm-hero-section__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.abm-hero-section__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: rgba(0, 51, 102, 0.08);
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  color: var(--abm-navy, #003366);
  white-space: nowrap;
}

.abm-hero-section__badge-icon {
  font-size: 14px;
}

@media (max-width: 768px) {
  /* Reduce padding on mobile for all shortcode containers */
  .abm-breadcrumbs,
  .abm-hero-section,
  .abm-location-nav,
  .abm-geo-callout,
  .abm-local-unique,
  .abm-service-grid,
  .abm-service-intro,
  .abm-service-description,
  .abm-nearby-cities,
  .abm-regulatory-authority,
  .abm-process-steps,
  .abm-why-choose-us,
  .abm-pricing-note,
  .abm-service-faq,
  .abm-resource-hub,
  .abm-location-search {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
  
  .abm-hero-section {
    padding: 20px 15px;
    margin: 12px 0 20px;
  }
  
  .abm-hero-section__title {
    margin-bottom: 12px;
  }
  
  .abm-hero-section__badges {
    gap: 8px;
    margin-top: 16px;
  }
  
  /* Reduce vertical spacing on mobile */
  .abm-service-grid,
  .abm-service-intro,
  .abm-service-description,
  .abm-nearby-cities,
  .abm-location-search,
  .abm-regulatory-authority,
  .abm-process-steps,
  .abm-why-choose-us,
  .abm-pricing-note,
  .abm-service-faq,
  .abm-resource-hub,
  .abm-local-unique {
    margin-top: 30px !important;
    margin-bottom: 30px !important;
  }
}


/* ============================================================
   NEARBY CITIES - Simple Breadcrumb Navigation
   ============================================================ */
.abm-nearby-nav {
  margin: 0.75rem 0 1.25rem;
  padding: 0;
  font-size: clamp(14px, 2vw, 15px);
  line-height: 1.6;
}

.abm-nearby-label {
  font-weight: 600;
  color: var(--abm-navy);
  margin-right: 0.35rem;
}

.abm-nearby-nav a {
  color: #0066cc;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.abm-nearby-nav a:hover {
  color: var(--abm-gold-dark);
  text-decoration: underline;
}


/* ============================================================
   BREADCRUMBS - Enhanced geo-focused design
   ============================================================ */
/* ============================================================
   BREADCRUMBS - Base Styles
   ============================================================ */
.abm-breadcrumbs {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  padding: 10px 16px;
  margin: 0 0 12px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.03);
}

.abm-breadcrumbs ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin: 0;
  padding: 0;
}

.abm-breadcrumbs li {
  font-size: 14px;
  color: #555;
  display: flex;
  align-items: center;
  font-weight: 500;
}

.abm-breadcrumbs a {
  color: #0066cc;
  text-decoration: none;
  transition: color 0.2s ease;
  padding: 2px 0;
}

.abm-breadcrumbs a:hover {
  color: var(--abm-navy, #003366);
  text-decoration: none;
}

.abm-breadcrumbs li[aria-current="page"] {
  color: #1e293b;
  font-weight: 600;
}

/* ============================================================
   BREADCRUMBS - BioNW Style (Geo Icons)
   ============================================================ */
.abm-breadcrumbs--bionw li + li:before {
  content: '/';
  margin: 0 10px;
  color: #cbd5e1;
  font-weight: 400;
}

/* Home icon for first breadcrumb */
.abm-breadcrumbs--bionw li:first-child a:before {
  content: '🏠';
  margin-right: 6px;
  font-size: 13px;
}

/* Location pin for city breadcrumbs */
.abm-breadcrumbs--bionw li:nth-last-child(2) a:before,
.abm-breadcrumbs--bionw li:nth-last-child(3) a:before {
  content: '📍';
  margin-right: 5px;
  font-size: 12px;
  opacity: 0.7;
}

/* ============================================================
   BREADCRUMBS - ABM Style (Simple Separators, No Numbers)
   ============================================================ */
.abm-breadcrumbs--abm li + li:before {
  content: '/';
  margin: 0 10px;
  color: #cbd5e1;
  font-weight: 400;
}

/* Home icon for first breadcrumb */
.abm-breadcrumbs--abm li:first-child a:before {
  content: '🏠';
  margin-right: 6px;
  font-size: 13px;
}

/* Location pin for city breadcrumbs */
.abm-breadcrumbs--abm li:nth-last-child(2) a:before,
.abm-breadcrumbs--abm li:nth-last-child(3) a:before {
  content: '📍';
  margin-right: 5px;
  font-size: 12px;
  opacity: 0.7;
}

/* ============================================================
   BREADCRUMBS - Mobile
   ============================================================ */
@media (max-width: 640px) {
  .abm-breadcrumbs {
    padding: 8px 12px;
    margin: 0 0 10px;
  }
  
  .abm-breadcrumbs li {
    font-size: 13px;
  }
  
  .abm-breadcrumbs--bionw li + li:before {
    margin: 0 6px;
  }
}

/* ============================================================
   LOCATION NAVIGATION - Enhanced nearby cities nav
   ============================================================ */
.abm-location-nav {
  background: linear-gradient(to bottom, #f8f9fa, #ffffff);
  border: 1px solid #e1e4e8;
  border-radius: 8px;
  padding: 16px 20px;
  margin: 16px 0 24px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.abm-location-nav__heading {
  font-size: 14px;
  font-weight: 600;
  color: #555;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.abm-location-nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.abm-location-nav__item {
  margin: 0;
  padding: 0;
}

.abm-location-nav__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: #ffffff;
  border: 1px solid #d1d5db;
  border-radius: 20px;
  text-decoration: none;
  color: #374151;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.abm-location-nav__link:hover {
  background: var(--abm-navy, #003366);
  color: #ffffff;
  border-color: var(--abm-navy, #003366);
  transform: translateY(-1px);
  box-shadow: 0 2px 6px rgba(0,51,102,0.15);
}

.abm-location-nav__icon {
  font-size: 12px;
  line-height: 1;
}

.abm-location-nav__name {
  line-height: 1;
}

/* Compact variant */
.abm-location-nav--compact {
  padding: 12px 16px;
  margin: 12px 0 16px;
}

.abm-location-nav--compact .abm-location-nav__heading {
  font-size: 13px;
  margin-bottom: 8px;
}

.abm-location-nav--compact .abm-location-nav__list {
  gap: 8px;
}

.abm-location-nav--compact .abm-location-nav__link {
  padding: 6px 12px;
  font-size: 13px;
}

/* Mobile responsive */
@media (max-width: 640px) {
  .abm-location-nav {
    padding: 12px 14px;
    margin: 12px 0 20px;
  }
  
  .abm-location-nav__heading {
    font-size: 13px;
    margin-bottom: 10px;
  }
  
  .abm-location-nav__list {
    gap: 8px;
  }
  
  .abm-location-nav__link {
    padding: 6px 11px;
    font-size: 13px;
  }
  
  .abm-location-nav__icon {
    font-size: 11px;
  }
}


/* ============================================================
   CALLOUT BOXES
   ============================================================ */
.abm-callout {
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 16px;
  padding: 14px 14px 10px;
  background: rgba(0, 0, 0, 0.02);
  margin: 14px 0;
}

.abm-callout__head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 6px;
}

.abm-callout__icon {
  width: 20px;
  height: 20px;
  display: inline-flex;
}

.abm-callout__icon svg {
  width: 20px;
  height: 20px;
}

.abm-callout__body p {
  margin: 0.5rem 0;
}


/* ============================================================
   PROCESS STEPS
   ============================================================ */
.abm-steps__title,
.abm-hoods__title,
.abm-faq__title {
  font-size: clamp(20px, 2.8vw, 28px);
  font-weight: 700;
  color: var(--abm-navy);
  margin: 0 0 1rem;
  letter-spacing: -0.02em;
}

.abm-steps__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 16px;
  counter-reset: step-counter;
  grid-template-columns: repeat(2, 1fr);
}

/* Single column override */
.abm-steps__list.cols-1 {
  grid-template-columns: 1fr;
}

@media (max-width: 767px) {
  .abm-steps__list {
    grid-template-columns: 1fr;
  }
}

.abm-steps__item {
  position: relative;
  padding: 16px 16px 16px 68px;
  background: linear-gradient(135deg, rgba(0, 51, 102, 0.03) 0%, rgba(255, 213, 0, 0.02) 100%);
  border: 1px solid rgba(0, 51, 102, 0.08);
  border-radius: 12px;
  counter-increment: step-counter;
  transition: all 0.25s ease;
  min-height: 70px;
  display: flex;
  align-items: center;
  font-size: 16px;
  font-weight: 600;
  color: var(--abm-navy);
  text-transform: capitalize;
  line-height: 1.4;
}

.abm-steps__item:hover {
  background: linear-gradient(135deg, rgba(0, 51, 102, 0.05) 0%, rgba(255, 213, 0, 0.04) 100%);
  border-color: rgba(0, 51, 102, 0.15);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 51, 102, 0.08);
}

/* Numbered badge */
.abm-steps__item::before {
  content: counter(step-counter);
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--abm-navy) 0%, #004080 100%);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 18px;
  box-shadow: 0 2px 8px rgba(0, 51, 102, 0.25);
  transition: all 0.25s ease;
}

.abm-steps__item:hover::before {
  background: var(--abm-gold);
  color: #000;
  transform: translateY(-50%) scale(1.08);
  box-shadow: 0 4px 12px rgba(255, 213, 0, 0.4);
}


/* ============================================================
   PRICING NOTES
   ============================================================ */
.abm-pricing-note {
  margin: 16px 0 20px;
  padding: 16px 20px;
  background: linear-gradient(135deg, rgba(0, 51, 102, 0.02) 0%, rgba(255, 213, 0, 0.02) 100%);
  border-left: 4px solid var(--abm-gold);
  border-radius: 8px;
  color: #333;
  font-size: 15px;
  line-height: 1.7;
}

.abm-pricing-note a {
  color: var(--abm-navy);
  font-weight: 700;
  text-decoration: none;
  transition: color 0.2s ease;
}

.abm-pricing-note a:hover {
  color: var(--abm-gold-dark);
  text-decoration: underline;
}


/* ============================================================
   INTRO ROWS
   ============================================================ */
.abm-intro-row {
  display: grid;
  gap: 14px;
  margin: 10px 0 18px;
}

.abm-intro-row.cols-1 { grid-template-columns: 1fr; }
.abm-intro-row.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.abm-intro-row.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

@media (max-width: 767px) {
  .abm-intro-row.cols-2,
  .abm-intro-row.cols-3 {
    grid-template-columns: 1fr;
  }
}


/* ============================================================
   NEIGHBORHOODS
   ============================================================ */
.abm-hoods__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.abm-hoods__list.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.abm-hoods__list.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.abm-hoods__list.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

@media (max-width: 767px) {
  .abm-hoods__list.cols-3,
  .abm-hoods__list.cols-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 479px) {
  .abm-hoods__list.cols-2,
  .abm-hoods__list.cols-3,
  .abm-hoods__list.cols-4 {
    grid-template-columns: 1fr;
  }
}

.abm-hoods__list a {
  text-decoration: none;
}

.abm-hoods__list a:hover {
  text-decoration: underline;
}


/* ============================================================
   FAQ
   ============================================================ */
.abm-faq__item {
  border: 1px solid rgba(0, 51, 102, 0.08);
  border-radius: 14px;
  padding: 14px 16px;
  background: #fff;
  margin: 0 0 12px;
  transition: all 0.2s ease;
}

.abm-faq__item:hover {
  border-color: rgba(0, 51, 102, 0.15);
  box-shadow: 0 2px 8px rgba(0, 51, 102, 0.06);
}

.abm-faq__item summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--abm-navy);
  font-size: 16px;
}

.abm-faq__answer p {
  margin: 0.75rem 0 0;
  color: #444;
  line-height: 1.6;
}


/* ============================================================
   BOTTOM SECTION
   ============================================================ */
.abm-more.hidden {
  display: none;
}

.abm-links h3 {
  margin: 0.25rem 0 0.35rem;
  font-size: 1.05rem;
}

.abm-links ul {
  margin: 0;
}

.abm-bottom-grid .abm-links ul li {
  margin: 0.25rem 0;
}

.abm-show-more {
  background: #f6f6f6;
  border: 1px solid #d9d9d9;
  padding: 0.4rem 0.75rem;
  border-radius: 10px;
  cursor: pointer;
  font-size: 0.9rem;
  transition: background 0.2s ease;
}

.abm-show-more:hover {
  background: #ececec;
}


/* ============================================================
   HUB LINKS - Enhanced for Better Accessibility & Visibility
   ============================================================ */
.abm-hub a {
  color: #d97706;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
  position: relative;
}

.abm-hub a:hover {
  color: #b45309;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 2px;
}

.abm-hub a:focus {
  outline: 2px solid #d97706;
  outline-offset: 2px;
  border-radius: 2px;
}

@media (prefers-color-scheme: dark) {
  .abm-hub a {
    color: #fbbf24;
  }
  .abm-hub a:hover {
    color: #fcd34d;
  }
}


/* ============================================================
   EXPECT BLOCK
   ============================================================ */
.abm-expect {
  margin: 2.5rem 0;
  padding: 0;
}

.abm-expect__title {
  font-size: clamp(24px, 4vw, 30px);
  font-weight: 700;
  color: var(--abm-navy);
  margin: 0 0 1.25rem;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.abm-expect .abm-expect-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  margin-top: 2rem;
}

@media (max-width: 767px) {
  .abm-expect .abm-expect-grid {
    gap: 1.25rem;
    grid-template-columns: 1fr;
  }
}

.abm-expect-card {
  position: relative;
  padding: 1.75rem 1.5rem 1.5rem;
  background: linear-gradient(135deg, #ffffff 0%, #fafafa 100%);
  border: 2px solid #e5e5e5;
  border-left: 5px solid var(--abm-gold);
  border-radius: 12px;
  transition: all 0.3s ease;
}

/* Resource Hub specific card styling */
.abm-hub .abm-card {
  padding: 1.5rem 1.25rem;
  min-height: auto;
}

.abm-hub .abm-expect-grid {
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .abm-hub .abm-card {
    padding: 1.75rem 1.5rem;
  }
}

.abm-expect-card:hover {
  border-left-color: var(--abm-navy);
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 51, 102, 0.15);
  background: linear-gradient(135deg, #ffffff 0%, #f8f8f8 100%);
}

.abm-expect-card__icon {
  font-size: 48px;
  line-height: 1;
  margin: 0 0 1rem;
  display: block;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.abm-expect-card h3 {
  font-size: clamp(18px, 2.5vw, 22px);
  font-weight: 700;  
  color: var(--abm-navy);
  margin: 0 0 1rem;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.abm-expect-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.abm-expect-card ul li {
  position: relative;
  padding: 0.5rem 0 0.5rem 2rem;
  margin-bottom: 0.25rem;
  font-size: clamp(15px, 2vw, 16px);
  line-height: 1.65;
  color: #444;
  transition: all 0.2s ease;
  border-radius: 6px;
}

/* Better spacing for resource hub lists */
.abm-hub ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.abm-hub ul li {
  position: relative;
  padding: 0.65rem 0 0.65rem 1.75rem;
  margin-bottom: 0.5rem;
  font-size: clamp(14px, 1.8vw, 15px);
  line-height: 1.6;
  color: #333;
  transition: all 0.2s ease;
  border-radius: 4px;
}

.abm-hub ul li:hover {
  padding-left: 2rem;
  background: rgba(217, 119, 6, 0.05);
}

/* ============================================================
   WHY CHOOSE US SECTION - Always 2 Columns
   ============================================================ */
.abm-why {
  margin: 2.5rem 0;
  padding: 0;
}

.abm-why-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(2, 1fr);
  margin-top: 1.5rem;
}

@media (max-width: 767px) {
  .abm-why-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}

.abm-why-card {
  position: relative;
  padding: 1.75rem 1.5rem;
  background: linear-gradient(135deg, #ffffff 0%, #fafafa 100%);
  border: 2px solid #e5e5e5;
  border-left: 5px solid var(--abm-navy);
  border-radius: 12px;
  transition: all 0.3s ease;
  text-align: left;
}

.abm-why-card:hover {
  border-left-color: var(--abm-gold);
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 51, 102, 0.15);
  background: linear-gradient(135deg, #ffffff 0%, #f8f8f8 100%);
}

.abm-why-card__icon {
  font-size: 42px;
  line-height: 1;
  margin: 0 0 0.75rem;
  display: block;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.abm-why-card h3 {
  font-size: clamp(18px, 2.5vw, 21px);
  font-weight: 700;
  color: var(--abm-navy);
  margin: 0 0 0.75rem;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.abm-why-card p {
  font-size: clamp(15px, 2vw, 16px);
  line-height: 1.65;
  color: #444;
  margin: 0;
}

/* Primary CTAs - Prominent at top */
.abm-btnrow--primary {
  margin: 0 0 2rem;
  justify-content: center;
  gap: 1rem;
}

.abm-btn--primary {
  background: var(--abm-gold);
  border-color: var(--abm-gold);
  color: #000;
  font-weight: 700;
  padding: 0.875rem 1.5rem;
  font-size: clamp(15px, 2.2vw, 17px);
}

.abm-btn--primary:hover {
  background: var(--abm-gold-dark);
  border-color: var(--abm-gold-dark);
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 6px 16px rgba(255, 213, 0, 0.3);
}

.abm-btn--ghost {
  background: transparent;
  border-color: var(--abm-navy);
  color: var(--abm-navy);
  padding: 0.875rem 1.5rem;
  font-size: clamp(15px, 2.2vw, 17px);
}

.abm-btn--ghost:hover {
  background: var(--abm-navy);
  color: #fff;
  border-color: var(--abm-navy);
}

/* All Services Grid */
.abm-all-services {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 2px solid #e5e5e5;
}

.abm-all-services__label {
  font-size: clamp(18px, 2.5vw, 22px);
  font-weight: 700;
  color: var(--abm-navy);
  margin: 0 0 1.5rem;
  text-align: center;
  letter-spacing: -0.01em;
}

.abm-service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  margin: 0;
}

@media (min-width: 640px) {
  .abm-service-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 768px) {
  .abm-service-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .abm-service-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.abm-service-grid .abm-btn {
  justify-content: flex-start;
  width: 100%;
  padding: 0.5rem 0.85rem;
  font-size: clamp(13px, 1.8vw, 14px);
  font-weight: 500;
}

.abm-service-grid .abm-btn__icon {
  font-size: 20px;
  opacity: 0.95;
}

@media (max-width: 640px) {
  .abm-btnrow--primary {
    flex-direction: column;
  }
  
  .abm-btn--primary,
  .abm-btn--ghost {
    justify-content: center;
  }
  
  .abm-service-grid {
    grid-template-columns: 1fr;
  }
}

.abm-hub ul li:before {
  content: '→';
  position: absolute;
  left: 0.25rem;
  top: 0.65rem;
  color: #d97706;
  font-weight: 700;
  font-size: 16px;
  transition: all 0.2s ease;
}

.abm-hub ul li:hover:before {
  left: 0.5rem;
  color: #b45309;
}

.abm-expect-card ul li:hover {
  padding-left: 2.25rem;
  background: rgba(255, 213, 0, 0.05);
}

.abm-expect-card ul li:before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0.5rem;
  color: var(--abm-gold);
  font-weight: 700;
  font-size: 18px;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 213, 0, 0.15);
  border-radius: 50%;
  transition: all 0.2s ease;
}

.abm-expect-card:hover ul li:before {
  background: var(--abm-gold);
  color: #000;
  transform: scale(1.1);
}

/* Mobile adjustments */
@media (max-width: 767px) {
  .abm-expect {
    margin: 2rem 0;
  }
  
  .abm-expect-card {
    padding: 1.75rem 1.5rem 1.5rem;
  }
  
  .abm-expect-card__icon {
    font-size: 42px;
    margin-bottom: 0.75rem;
  }
  
  .abm-expect-card ul li {
    padding: 0.4rem 0 0.4rem 1.75rem;
    font-size: 15px;
  }
  
  .abm-expect-card ul li:hover {
    padding-left: 2rem;
  }
  
  .abm-expect-card ul li:before {
    top: 0.4rem;
    font-size: 16px;
    width: 22px;
    height: 22px;
  }
  
  .abm-btnrow {
    gap: 0.6rem;
  }
  
  .abm-btn {
    padding: 0.65rem 1rem;
    font-size: 14px;
  }
  
  .abm-btn__icon {
    font-size: 16px;
  }
}


/* ============================================================
   RESOURCE HUB - Optimized for users in crisis/distress
   ============================================================ */
.abm-resource-hub {
  margin: 2rem 0;
}

.abm-resource-hub__title {
  font-size: clamp(22px, 3.2vw, 32px);
  font-weight: 700;
  color: var(--abm-navy);
  margin: 0 0 1.5rem;
  text-align: center;
  letter-spacing: -0.02em;
}

/* Grid - 2 columns on desktop, 1 on mobile */
.abm-resource-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .abm-resource-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Resource Cards */
.abm-resource-card {
  background: #fff;
  border: 2px solid rgba(0, 51, 102, 0.1);
  border-radius: 16px;
  padding: 1.5rem;
  transition: all 0.3s ease;
  position: relative;
}

.abm-resource-card:hover {
  border-color: var(--abm-gold);
  box-shadow: 0 4px 16px rgba(0, 51, 102, 0.08);
  transform: translateY(-2px);
}

/* Icon indicators for quick visual scanning */
.abm-resource-card__icon {
  font-size: 36px;
  margin-bottom: 0.75rem;
  line-height: 1;
}

.abm-resource-card__title {
  font-size: clamp(17px, 2.2vw, 20px);
  font-weight: 700;
  color: var(--abm-navy);
  margin: 0 0 0.5rem;
}

.abm-resource-card__desc {
  font-size: 14px;
  color: #555;
  line-height: 1.5;
  margin: 0 0 1rem;
}

/* Links - larger, easier to tap */
.abm-resource-card__links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.abm-resource-card__links li {
  margin: 0 0 0.75rem;
}

.abm-resource-card__links li:last-child {
  margin-bottom: 0;
}

.abm-resource-card__links a {
  display: block;
  padding: 0.65rem 1rem;
  background: rgba(0, 51, 102, 0.03);
  border: 1px solid rgba(0, 51, 102, 0.1);
  border-radius: 10px;
  color: var(--abm-navy);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  line-height: 1.4;
  transition: all 0.2s ease;
}

.abm-resource-card__links a:hover {
  background: var(--abm-gold);
  border-color: var(--abm-gold);
  color: #000;
  transform: translateX(4px);
}

/* Mobile optimization - larger touch targets */
@media (max-width: 767px) {
  .abm-resource-card__links a {
    padding: 0.85rem 1.1rem;
    font-size: 15px;
  }
}

/* CTA Section - High contrast for urgency */
.abm-resource-cta {
  background: linear-gradient(135deg, var(--abm-navy) 0%, #004080 100%);
  color: #fff;
  border-radius: 16px;
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 51, 102, 0.15);
}

.abm-resource-cta__message {
  margin: 0 0 1.5rem;
  font-size: clamp(16px, 2vw, 18px);
  line-height: 1.6;
}

.abm-resource-cta__message strong {
  font-size: clamp(18px, 2.2vw, 20px);
  display: block;
  margin-bottom: 0.5rem;
}

.abm-resource-cta__button {
  display: inline-block;
  background: var(--abm-gold);
  color: #000;
  font-weight: 800;
  padding: 1rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  font-size: clamp(17px, 2.2vw, 20px);
  transition: all 0.25s ease;
  box-shadow: 0 4px 12px rgba(255, 213, 0, 0.3);
}

.abm-resource-cta__button:hover {
  background: var(--abm-gold-dark);
  transform: scale(1.05);
  box-shadow: 0 6px 16px rgba(255, 213, 0, 0.4);
}

/* Mobile - full width button */
@media (max-width: 479px) {
  .abm-resource-cta__button {
    display: block;
    padding: 1.1rem 1.5rem;
  }
}

.abm-resource-cta__footer {
  margin: 1.25rem 0 0;
  font-size: clamp(14px, 1.8vw, 16px);
  opacity: 0.95;
  line-height: 1.5;
}

/* ============================================================
   REGULATORY AUTHORITY / SERVICE INTRO SECTION
   Enhanced visual section for service standards and process
   ============================================================ */
.abm-authority {
  background: linear-gradient(135deg, #f8fafb 0%, #ffffff 100%);
  border: 1px solid #e1e8ed;
  border-left: 4px solid var(--abm-navy, #003366);
  border-radius: 10px;
  padding: 28px 32px;
  margin: 24px 0 32px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.abm-authority__title {
  font-size: clamp(20px, 3.5vw, 26px);
  font-weight: 700;
  color: var(--abm-navy, #003366);
  margin: 0 0 16px;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.abm-authority__intro {
  font-size: clamp(15px, 2.2vw, 17px);
  line-height: 1.7;
  color: #2c3e50;
  margin: 0 0 24px;
  max-width: 75ch;
}

/* Process Steps List with Icon Indicators (not numbers) */
.abm-authority__list {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
}

.abm-authority__list li {
  position: relative;
  padding: 14px 16px 14px 56px;
  margin: 0 0 12px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  font-size: clamp(14px, 2vw, 16px);
  line-height: 1.6;
  color: #374151;
  transition: all 0.2s ease;
}

.abm-authority__list li:last-child {
  margin-bottom: 0;
}

/* Icon Circle (instead of numbers) */
.abm-authority__list li:before {
  content: '✓';
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 18px;
  box-shadow: 0 2px 6px rgba(16, 185, 129, 0.3);
  transition: all 0.2s ease;
}

.abm-authority__list li:hover {
  background: #f9fafb;
  border-color: #10b981;
  transform: translateX(4px);
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.abm-authority__list li:hover:before {
  background: linear-gradient(135deg, var(--abm-gold, #c9a961) 0%, var(--abm-gold-dark, #a88c4e) 100%);
  color: #000;
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 4px 12px rgba(201, 169, 97, 0.4);
}

/* Details/Expandable Section */
.abm-authority__details {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 0;
  margin: 20px 0 0;
  overflow: hidden;
}

.abm-authority__details summary {
  padding: 14px 20px;
  font-size: clamp(14px, 2vw, 16px);
  font-weight: 600;
  color: var(--abm-navy, #003366);
  cursor: pointer;
  user-select: none;
  background: linear-gradient(to right, #f8f9fa, #ffffff);
  border-bottom: 1px solid #e5e7eb;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 10px;
}

.abm-authority__details summary:hover {
  background: linear-gradient(to right, #eef1f4, #f8f9fa);
  color: #004080;
}

.abm-authority__details summary::-webkit-details-marker {
  display: none;
}

.abm-authority__details summary:before {
  content: '▶';
  font-size: 12px;
  transition: transform 0.2s ease;
  color: var(--abm-gold, #c9a961);
}

.abm-authority__details[open] summary:before {
  transform: rotate(90deg);
}

.abm-authority__details p {
  padding: 16px 20px;
  margin: 0;
  font-size: clamp(14px, 2vw, 15px);
  line-height: 1.7;
  color: #4b5563;
}

.abm-authority__ref {
  padding: 12px 20px;
  margin: 0;
  background: #f8f9fa;
  border-top: 1px solid #e5e7eb;
  font-size: 13px;
  color: #6b7280;
  font-style: italic;
}

.abm-authority__ref strong {
  color: #374151;
  font-style: normal;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .abm-authority {
    padding: 20px 20px;
    margin: 20px 0 28px;
  }
  
  .abm-authority__title {
    margin-bottom: 12px;
  }
  
  .abm-authority__list li {
    padding: 12px 14px 12px 50px;
    margin-bottom: 10px;
  }
  
  .abm-authority__list li:before {
    width: 28px;
    height: 28px;
    font-size: 13px;
    left: 12px;
  }
}

/* ============================================================
   WHY FAMILIES CHOOSE US
   Premium 2-column grid with icon indicators
   ============================================================ */

#abm-why-choose {
  margin: 3rem 0;
  padding: 0;
}

.abm-why-choose__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.abm-why-choose__title {
  font-size: clamp(24px, 4vw, 32px);
  font-weight: 700;
  color: var(--abm-navy);
  text-align: center;
  margin: 0 0 1rem;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.abm-why-choose__lead {
  font-size: clamp(16px, 2.5vw, 18px);
  line-height: 1.7;
  color: #444;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 2.5rem;
  padding: 0 1rem;
}

.abm-why-choose__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin: 0;
}

/* Desktop: Always 2 columns for balanced 2×2 layout */
@media (min-width: 768px) {
  .abm-why-choose__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.75rem;
  }
}

.abm-why-choose__card {
  background: #ffffff;
  border: 1px solid rgba(0, 51, 102, 0.1);
  border-radius: 12px;
  padding: 1.5rem 1.5rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  box-shadow: 0 2px 8px rgba(0, 51, 102, 0.08), 
              0 1px 3px rgba(0, 51, 102, 0.06);
  overflow: hidden;
}

.abm-why-choose__card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--abm-navy) 0%, var(--abm-gold) 100%);
  opacity: 1;
  transition: width 0.3s ease;
}

.abm-why-choose__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 32px rgba(0, 51, 102, 0.15), 
              0 4px 12px rgba(0, 51, 102, 0.1);
  border-color: rgba(0, 51, 102, 0.2);
}

.abm-why-choose__card:hover::before {
  width: 6px;
}

.abm-why-choose__icon {
  font-size: 36px;
  line-height: 1;
  margin: 0 0 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, rgba(0, 51, 102, 0.08) 0%, rgba(0, 51, 102, 0.05) 100%);
  border-radius: 50%;
  border: 2px solid rgba(0, 51, 102, 0.1);
  transition: all 0.3s ease;
}

.abm-why-choose__card:hover .abm-why-choose__icon {
  background: linear-gradient(135deg, var(--abm-navy) 0%, #004080 100%);
  border-color: var(--abm-navy);
  transform: scale(1.08) rotate(5deg);
}

.abm-why-choose__card h3 {
  font-size: clamp(18px, 2.5vw, 22px);
  font-weight: 700;
  color: var(--abm-navy);
  margin: 0 0 1rem;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.abm-why-choose__card p {
  font-size: clamp(15px, 2vw, 16px);
  line-height: 1.65;
  color: #444;
  margin: 0;
}

/* Mobile optimization */
@media (max-width: 767px) {
  #abm-why-choose {
    margin: 2rem 0;
  }
  
  .abm-why-choose__lead {
    margin-bottom: 2rem;
  }
  
  .abm-why-choose__grid {
    gap: 1.25rem;
  }
  
  .abm-why-choose__card {
    padding: 1.5rem 1.25rem;
  }
  
  .abm-why-choose__icon {
    width: 56px;
    height: 56px;
    font-size: 32px;
    margin-bottom: 1rem;
  }
}

