/* âââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
   AGENARYS LIST FLORIDA â Global Styles v2.1
   Elegant. Rounded. Sophisticated. Easy to manage.
âââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ */

:root {
  --afl-navy:   #1B3A5C;
  --afl-deep:   #0f2439;
  --afl-blue:   #2F6F9F;
  --afl-green:  #16A34A;
  --afl-light:  #F5F7FA;
  --afl-body:   #1F2937;
  --afl-white:  #FFFFFF;
  --afl-off:    #F8FAFC;
  --afl-border: #E2E8F0;
  --afl-gold:   #C49A1A;
  --font-head:  'DM Serif Display', Georgia, serif;
  --font-body:  'DM Sans', system-ui, sans-serif;
  --radius-sm:  8px;
  --radius-md:  14px;
  --radius-lg:  24px;
  --radius-xl:  32px;
  --shadow-sm:  0 2px 8px rgba(15,36,57,0.07);
  --shadow-md:  0 4px 20px rgba(15,36,57,0.10);
  --shadow-lg:  0 8px 40px rgba(15,36,57,0.14);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.625;
  color: var(--afl-body);
  background: var(--afl-white);
  padding-top: 68px;
}
h1,h2,h3,h4,h5,h6 {
  font-family: var(--font-head);
  letter-spacing: -0.025em;
  line-height: 1.2;
  color: var(--afl-deep);
}

/* ââ HIDE THE DEFAULT TT25 NAV ââ */
.wp-block-template-part header,
.site-header,
header.wp-block-template-part,
.wp-site-blocks > header,
nav.wp-block-navigation,
.wp-block-navigation {
  display: none !important;
}

/* ââ MAIN NAV ââ */
.acd-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--afl-deep);
  border-bottom: 1px solid rgba(47,111,159,0.25);
  height: 68px;
  display: flex;
  align-items: center;
  backdrop-filter: blur(12px);
}
.acd-nav-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 28px;
}

/* Logo */
.acd-logo-link {
  text-decoration: none;
  display: flex;
  flex-direction: column;
  line-height: 1;
  flex-shrink: 0;
}
.acd-logo-text {
  font-family: var(--font-head);
  font-size: 19px;
  color: var(--afl-white);
  letter-spacing: -0.02em;
}
.acd-logo-accent { color: var(--afl-green); }
.acd-logo-sub {
  font-size: 9px;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-top: 2px;
}

/* Nav Links */
.acd-nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
}
.acd-nav-link {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  transition: all 0.2s;
  white-space: nowrap;
}
.acd-nav-link:hover {
  color: var(--afl-white);
  background: rgba(255,255,255,0.07);
}

/* Ask Aria â green accent */
.acd-aria-link {
  color: var(--afl-green) !important;
  border: 1px solid rgba(22,163,74,0.3);
  gap: 6px;
}
.acd-aria-link:hover {
  background: rgba(22,163,74,0.1) !important;
  border-color: rgba(22,163,74,0.6);
}
.acd-aria-icon {
  font-size: 10px;
  animation: ariaPulse 2.2s ease-in-out infinite;
  display: inline-block;
}
@keyframes ariaPulse {
  0%,100%{opacity:1;transform:scale(1)}
  50%{opacity:0.45;transform:scale(0.8)}
}

/* Claim CTA */
.acd-nav-cta {
  background: var(--afl-green) !important;
  color: white !important;
  font-weight: 600 !important;
}
.acd-nav-cta:hover { background: #15803d !important; }

/* Right side controls */
.acd-nav-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.acd-county-wrap { position: relative; }
.acd-county-select {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.13);
  color: rgba(255,255,255,0.8);
  font-family: var(--font-body);
  font-size: 12px;
  padding: 7px 28px 7px 12px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  outline: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='rgba(255,255,255,0.4)'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  min-width: 165px;
  transition: border-color 0.2s;
}
.acd-county-select:hover, .acd-county-select:focus {
  border-color: rgba(47,111,159,0.5);
  background-color: rgba(255,255,255,0.09);
}
.acd-county-select option { background: var(--afl-deep); color: white; }

/* Lang toggle */
.afl-lang-toggle {
  display: flex;
  align-items: center;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-sm);
  overflow: hidden;
  flex-shrink: 0;
}
.afl-lang-btn {
  background: transparent;
  border: none;
  color: rgba(255,255,255,0.5);
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 6px 11px;
  cursor: pointer;
  transition: all 0.2s;
}
.afl-lang-btn:hover { color: rgba(255,255,255,0.85); }
.afl-lang-btn.afl-lang-active { background: var(--afl-green); color: white; }

/* âââââââââââââââââââââââââââââââ
   SEARCH HERO â Elegant & Rounded
âââââââââââââââââââââââââââââââ */
.acd-search-wrap {
  background: linear-gradient(160deg, var(--afl-deep) 0%, var(--afl-navy) 50%, #1a4a7a 100%);
  padding: 72px 24px 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
  /* NO hard box â this is now the full-width hero band */
  border-radius: 0;
  margin: 0;
}
/* Decorative glow orbs */
.acd-search-wrap::before {
  content: '';
  position: absolute;
  top: -60px; left: 50%;
  transform: translateX(-50%);
  width: 600px; height: 400px;
  background: radial-gradient(ellipse, rgba(22,163,74,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.acd-search-wrap::after {
  content: '';
  position: absolute;
  bottom: -40px; right: 10%;
  width: 300px; height: 300px;
  background: radial-gradient(ellipse, rgba(47,111,159,0.15) 0%, transparent 70%);
  pointer-events: none;
}

.acd-search-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(22,163,74,0.12);
  border: 1px solid rgba(22,163,74,0.25);
  color: #4ade80;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 20px;
}

.acd-search-title {
  font-family: var(--font-head);
  font-size: clamp(28px, 4.5vw, 52px);
  color: #ffffff !important;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
  position: relative;
}
.acd-search-sub {
  color: rgba(255,255,255,0.72) !important;
  font-size: 16px;
  margin-bottom: 40px;
  position: relative;
}

/* Search card â glass morphism, fully rounded */
.acd-search-card {
  background: rgba(255,255,255,0.07);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.13);
  border-radius: var(--radius-xl);
  padding: 28px 28px 24px;
  max-width: 660px;
  margin: 0 auto;
  position: relative;
  box-shadow: 0 8px 40px rgba(0,0,0,0.25), inset 0 1px 0 rgba(255,255,255,0.08);
}
.acd-search-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}
.acd-select {
  flex: 1;
  min-width: 190px;
  padding: 13px 16px;
  border: 1.5px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.08);
  color: white;
  font-family: var(--font-body);
  font-size: 14px;
  outline: none;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  appearance: none;
}
.acd-select:hover, .acd-select:focus {
  border-color: rgba(22,163,74,0.5);
  background: rgba(255,255,255,0.11);
}
.acd-select option { background: var(--afl-deep); color: white; }
.acd-search-btn {
  padding: 13px 28px;
  background: var(--afl-green);
  color: white;
  border: none;
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  white-space: nowrap;
  box-shadow: 0 4px 16px rgba(22,163,74,0.35);
}
.acd-search-btn:hover {
  background: #15803d;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(22,163,74,0.4);
}
.acd-search-hint {
  margin-top: 12px;
  font-size: 12px;
  color: rgba(255,255,255,0.38);
}

/* âââââââââââââââââââââââââââ
   HOME FEATURES SECTION
âââââââââââââââââââââââââââ */
.afl-home-features {
  padding: 72px 24px;
  background: var(--afl-off);
}
.afl-features-inner {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}
.afl-section-tag {
  display: inline-block;
  background: rgba(27,58,92,0.08);
  border: 1px solid rgba(27,58,92,0.12);
  color: var(--afl-navy);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 16px;
}
.afl-section-title {
  font-size: clamp(26px,3.5vw,40px);
  color: var(--afl-deep);
  margin-bottom: 10px;
}
.afl-section-sub {
  color: #6B7280;
  font-size: 16px;
  margin-bottom: 48px;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}
.afl-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}
.afl-feat-card {
  background: white;
  border: 1px solid var(--afl-border);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.afl-feat-card:hover {
  border-color: rgba(47,111,159,0.25);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.afl-feat-icon {
  font-size: 32px;
  margin-bottom: 14px;
  display: block;
}
.afl-feat-title {
  font-family: var(--font-head);
  font-size: 18px;
  color: var(--afl-deep);
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}
.afl-feat-desc {
  font-size: 14px;
  color: #6B7280;
  line-height: 1.6;
}

/* âââââââââââââââââââââââââââ
   BUSINESS PROFILE PAGE
âââââââââââââââââââââââââââ */
.abp-wrap {
  max-width: 960px;
  margin: 0 auto;
  padding: 40px 24px 96px;
}
.abp-header {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  padding: 32px;
  background: white;
  border: 1px solid var(--afl-border);
  border-radius: var(--radius-lg);
  margin-bottom: 28px;
  box-shadow: var(--shadow-sm);
}
.abp-logo {
  width: 88px;
  height: 88px;
  border-radius: var(--radius-md);
  object-fit: cover;
  border: 1px solid var(--afl-border);
  flex-shrink: 0;
  background: var(--afl-off);
}
.abp-logo-placeholder {
  width: 88px;
  height: 88px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--afl-navy), var(--afl-blue));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  flex-shrink: 0;
}
.abp-info { flex: 1; min-width: 0; }
.abp-name {
  font-family: var(--font-head);
  font-size: clamp(22px,3vw,32px);
  color: var(--afl-deep);
  margin-bottom: 6px;
}
.abp-meta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13px;
  color: #6B7280;
  margin-bottom: 12px;
}
.abp-meta span {
  display: flex;
  align-items: center;
  gap: 5px;
}
.abp-badge-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

/* Contact bar */
.abp-contact-bar {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.abp-contact-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: var(--radius-md);
  text-decoration: none;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  transition: all 0.2s;
  flex: 1;
  min-width: 140px;
  justify-content: center;
}
.abp-btn-call {
  background: var(--afl-green);
  color: white;
  box-shadow: 0 3px 12px rgba(22,163,74,0.3);
}
.abp-btn-call:hover { background: #15803d; transform: translateY(-1px); }
.abp-btn-web {
  background: var(--afl-navy);
  color: white;
  box-shadow: 0 3px 12px rgba(27,58,92,0.25);
}
.abp-btn-web:hover { background: #0f2439; transform: translateY(-1px); }
.abp-btn-dir {
  background: var(--afl-off);
  color: var(--afl-navy);
  border: 1px solid var(--afl-border);
}
.abp-btn-dir:hover { background: #EFF6FF; border-color: rgba(47,111,159,0.3); }

/* About section */
.abp-section {
  background: white;
  border: 1px solid var(--afl-border);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
}
.abp-section-title {
  font-family: var(--font-head);
  font-size: 18px;
  color: var(--afl-deep);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--afl-border);
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Menu items */
.abp-menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 12px;
}
.abp-menu-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  background: var(--afl-off);
  border-radius: var(--radius-md);
  border: 1px solid var(--afl-border);
  transition: border-color 0.2s;
}
.abp-menu-item:hover { border-color: rgba(47,111,159,0.25); }
.abp-menu-name { font-weight: 600; font-size: 14px; color: var(--afl-deep); }
.abp-menu-desc { font-size: 12px; color: #6B7280; margin-top: 2px; }
.abp-menu-price {
  font-weight: 700;
  color: var(--afl-green);
  font-size: 14px;
  white-space: nowrap;
  flex-shrink: 0;
}

/* Hours */
.abp-hours-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 8px;
}
.abp-hours-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 14px;
  background: var(--afl-off);
  border-radius: var(--radius-sm);
  font-size: 13px;
}
.abp-hours-day { font-weight: 600; color: var(--afl-deep); }
.abp-hours-time { color: #6B7280; }
.abp-hours-closed { color: #EF4444; }

/* Unverified banner */
.abp-unverified {
  background: linear-gradient(135deg, #FEF9EC, #FFF7ED);
  border: 1px solid #FCD34D;
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.abp-claim-btn {
  background: var(--afl-green);
  color: white;
  padding: 10px 20px;
  border-radius: var(--radius-md);
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  transition: background 0.2s;
}
.abp-claim-btn:hover { background: #15803d; }

/* âââââââââââââââââââââââââââ
   ARIA PAGE
âââââââââââââââââââââââââââ */
.aria-page-wrap { max-width: 960px; margin: 0 auto; padding: 48px 24px; }
.aria-hero { text-align: center; padding: 56px 0 44px; }
.aria-badge {
  display: inline-block;
  background: rgba(22,163,74,0.08);
  border: 1px solid rgba(22,163,74,0.22);
  color: var(--afl-green);
  font-size: 11px; font-weight: 700; letter-spacing: 0.12em;
  padding: 5px 14px; border-radius: 100px; margin-bottom: 18px;
}
.aria-title { font-family: var(--font-head); font-size: clamp(28px,4.5vw,48px); color: var(--afl-deep); margin-bottom: 14px; }
.aria-sub { font-size: 17px; color: #4B5563; max-width: 580px; margin: 0 auto; line-height: 1.7; }
.aria-chat-wrap {
  background: white; border: 1px solid var(--afl-border);
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-md); margin-bottom: 44px;
}
.aria-chat-messages {
  min-height: 200px; max-height: 380px; overflow-y: auto;
  padding: 24px; background: var(--afl-off);
  display: flex; flex-direction: column; gap: 14px;
}
.aria-msg { display: flex; gap: 10px; align-items: flex-start; }
.aria-msg-user { flex-direction: row-reverse; }
.aria-msg-user .aria-bubble { background: var(--afl-navy); color: white; }
.aria-msg-bot .aria-bubble { background: white; }
.aria-avatar {
  width: 34px; height: 34px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--afl-navy), var(--afl-blue));
  border-radius: 50%; display: flex; align-items: center;
  justify-content: center; color: var(--afl-green); font-size: 13px;
}
.aria-bubble {
  padding: 11px 15px; border-radius: var(--radius-md);
  font-size: 14px; line-height: 1.6; max-width: 75%;
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}
.aria-chat-input-row { display: flex; border-top: 1px solid var(--afl-border); }
.aria-input { flex: 1; padding: 15px 18px; border: none; font-family: var(--font-body); font-size: 14px; outline: none; background: white; }
.aria-send-btn { padding: 15px 22px; background: var(--afl-green); color: white; border: none; font-family: var(--font-body); font-size: 14px; font-weight: 600; cursor: pointer; transition: background 0.2s; }
.aria-send-btn:hover { background: #15803d; }
.aria-features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px,1fr)); gap: 20px; }
.aria-feature-card {
  background: var(--afl-off); border: 1px solid var(--afl-border);
  border-radius: var(--radius-lg); padding: 28px 22px; text-align: center;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.aria-feature-card:hover { border-color: rgba(47,111,159,0.3); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.aria-feature-icon { font-size: 26px; margin-bottom: 12px; }
.aria-feature-card h3 { font-family: var(--font-head); font-size: 17px; color: var(--afl-deep); margin-bottom: 7px; }
.aria-feature-card p { font-size: 13px; color: #6B7280; line-height: 1.6; }

/* âââââââââââââââââââââââââââ
   DIRECTORY PAGE
âââââââââââââââââââââââââââ */
.acd-directory-wrap { max-width: 1200px; margin: 0 auto; padding: 40px 24px 96px; }
.acd-dir-hero {
  text-align: center; padding: 44px 0 36px;
  border-bottom: 1px solid var(--afl-border); margin-bottom: 36px;
}
.acd-county-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(27,58,92,0.06); border: 1px solid rgba(27,58,92,0.12);
  color: var(--afl-navy); font-size: 11px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 5px 12px; border-radius: 100px; margin-bottom: 14px;
}
.acd-dir-title { font-size: clamp(24px,3.5vw,40px); color: var(--afl-deep); margin-bottom: 8px; }
.acd-niche-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px,1fr)); gap: 14px; }
.acd-niche-card {
  background: white; border: 1px solid var(--afl-border);
  border-radius: var(--radius-md); padding: 18px 16px;
  text-decoration: none; display: flex; align-items: center;
  gap: 10px; font-size: 13px; font-weight: 500; color: var(--afl-body);
  transition: all 0.2s;
}
.acd-niche-card:hover {
  border-color: rgba(47,111,159,0.3);
  background: rgba(47,111,159,0.02);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
.acd-niche-icon { font-size: 18px; }

/* âââââââââââââââââââââââââââ
   BADGES
âââââââââââââââââââââââââââ */
.badge-standard  { background: rgba(139,157,195,0.12); color: #64748B; border: 1px solid rgba(139,157,195,0.25); padding: 3px 10px; border-radius: 100px; font-size: 11px; font-weight: 700; display: inline-flex; align-items: center; gap: 4px; }
.badge-preferred { background: rgba(47,111,159,0.1); color: var(--afl-blue); border: 1px solid rgba(47,111,159,0.2); padding: 3px 10px; border-radius: 100px; font-size: 11px; font-weight: 700; display: inline-flex; align-items: center; gap: 4px; }
.badge-elite     { background: linear-gradient(90deg,#7B5E00,#C49A1A,#7B5E00); background-size: 200%; color: white; border: none; padding: 3px 10px; border-radius: 100px; font-size: 11px; font-weight: 700; animation: shimmer 3s linear infinite; display: inline-flex; align-items: center; gap: 4px; }
@keyframes shimmer { 0%{background-position:0%} 100%{background-position:200%} }

/* Listing cards */
.acd-listing-card {
  background: rgba(255,255,255,0.75);
  backdrop-filter: blur(12px);
  border: 1px solid var(--afl-border);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 18px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.acd-listing-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.acd-unverified-banner {
  background: linear-gradient(135deg,#FEF2F2,#FFF7ED);
  border: 1px solid #FCA5A5; border-radius: var(--radius-md);
  padding: 12px 16px; margin-bottom: 18px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 14px; flex-wrap: wrap;
}
.acd-claim-btn {
  background: var(--afl-green); color: white;
  padding: 7px 14px; border-radius: var(--radius-sm);
  text-decoration: none; font-size: 12px; font-weight: 700;
}

/* Responsive */
@media (max-width: 900px) {
  .acd-nav-links { display: none; }
}
@media (max-width: 640px) {
  body { padding-top: 60px; }
  .acd-nav { height: 60px; }
  .acd-county-select { min-width: 120px; font-size: 11px; }
  .acd-search-card { padding: 20px 16px; border-radius: var(--radius-lg); }
  .acd-search-row { flex-direction: column; }
  .abp-header { flex-direction: column; }
}


/* ── HOME CTA SECTION ── */
.afl-home-cta, .afl-cta-outer {
  background: linear-gradient(135deg, #1B3A5C 0%, #0f2439 100%) !important;
  padding: 60px 32px;
  text-align: center;
  border-radius: var(--radius-lg);
  max-width: 100%; box-sizing: border-box;
  margin: 40px auto !important; margin-left: auto !important; margin-right: auto !important;
  box-shadow: 0 20px 60px rgba(15,36,57,0.4);
}
.afl-home-cta-inner, .afl-cta-inner {
  max-width: 540px;
  margin: 0 auto;
}
.afl-cta-title {
  font-family: var(--font-head);
  font-size: clamp(24px, 3.5vw, 38px);
  font-weight: 700;
  color: #ffffff !important;
  letter-spacing: -0.025em;
  margin: 0 0 16px;
  line-height: 1.2;
}
.afl-cta-sub {
  color: rgba(255,255,255,0.8) !important;
  font-size: 16px;
  line-height: 1.6;
  margin: 0 0 28px;
}
.afl-cta-btn {
  display: inline-block;
  background: var(--afl-green);
  color: #ffffff !important;
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 700;
  padding: 14px 32px;
  border-radius: 50px;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(22,163,74,0.3);
  letter-spacing: 0.02em;
}
.afl-cta-btn:hover {
  background: #15803d;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(22,163,74,0.4);
}

/* ── FIX WHITE GAP ABOVE HERO ── */
.wp-site-blocks { padding-top: 0 !important; }
.wp-block-post-content.alignfull { margin-top: 0 !important; padding-top: 0 !important; }
.entry-content.alignfull { margin-top: 0 !important; }
.is-layout-flow > * + * { margin-block-start: 0 !important; }
.wp-block-group.alignfull { padding: 0 !important; }


/* ============================================================
   ARIA / ANGELA AI GUIDE CARD
   ============================================================ */

.afl-hero-two-col {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 40px;
  align-items: start;
  max-width: 1200px;
  margin: 0 auto;
}
@media (max-width: 960px) {
  .afl-hero-two-col {
    grid-template-columns: 1fr;
  }
}

.afl-aria-card {
  background: linear-gradient(145deg, rgba(27,58,92,0.08) 0%, rgba(22,163,74,0.06) 100%);
  border: 1px solid rgba(27,58,92,0.15);
  border-radius: 24px;
  padding: 32px;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(8px);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.afl-aria-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(27,58,92,0.12);
}
.afl-aria-card::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(22,163,74,0.15) 0%, transparent 70%);
  pointer-events: none;
}
.afl-aria-avatar {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, #1B3A5C 0%, #2F6F9F 100%);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  position: relative;
}
.afl-aria-avatar::after {
  content: '';
  position: absolute;
  top: -3px;
  right: -3px;
  width: 14px;
  height: 14px;
  background: #16A34A;
  border-radius: 50%;
  border: 2px solid #fff;
}
.afl-aria-avatar svg {
  width: 30px;
  height: 30px;
  fill: white;
}
.afl-aria-name {
  font-family: 'DM Serif Display', serif;
  font-size: 1.6rem;
  color: #ffffff !important;
  margin: 0 0 2px;
  line-height: 1.2;
}
.afl-aria-role {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #4ade80 !important;
  margin-bottom: 16px;
}
.afl-aria-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(74,222,128,0.15);
  border: 1px solid rgba(74,222,128,0.35);
  color: #4ade80 !important;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: 20px;
  margin-bottom: 16px;
}
.afl-aria-desc {
  font-size: 0.92rem;
  color: rgba(255,255,255,0.82) !important;
  line-height: 1.65;
  margin-bottom: 24px;
  font-style: italic;
}
.afl-aria-btn {
  display: inline-block;
  background: linear-gradient(135deg, #16A34A 0%, #15803d 100%);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 12px 24px;
  border-radius: 50px;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  border: none;
  cursor: pointer;
}
.afl-aria-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(22,163,74,0.35);
}
.afl-aria-verified {
  margin-top: 16px;
  font-size: 0.7rem;
  color: #94a3b8;
  font-weight: 600;
  text-align: center;
}

/* ============================================================
   MEMBERSHIP TIERS SECTION
   ============================================================ */

.afl-tiers-section {
  padding: 88px 24px;
  background: linear-gradient(180deg, #fff 0%, #f0f7ff 100%);
}
.afl-tiers-inner {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}
.afl-tiers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
  align-items: stretch;
}
@media (max-width: 860px) {
  .afl-tiers-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
  }
}
.afl-tier-card {
  background: #fff;
  border-radius: 24px;
  padding: 40px 32px;
  text-align: left;
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 24px rgba(27,58,92,0.08);
}
.afl-tier-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(27,58,92,0.14);
}

/* Elite card */
.afl-tier-card.tier-elite {
  border-color: #16A34A;
  background: linear-gradient(160deg, #f0fdf4 0%, #fff 60%);
}
.afl-tier-card.tier-elite::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, #15803d, #16A34A, #4ade80, #16A34A, #15803d);
  background-size: 200% auto;
  animation: goldShimmer 3s linear infinite;
}
@keyframes goldShimmer {
  to { background-position: 200% center; }
}

/* Preferred card */
.afl-tier-card.tier-preferred {
  border-color: #2F6F9F;
  background: linear-gradient(160deg, #f0f7ff 0%, #fff 60%);
}
.afl-tier-card.tier-preferred::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, #1B3A5C, #2F6F9F, #1B3A5C);
}

/* Standard card */
.afl-tier-card.tier-standard {
  border-color: #e2e8f0;
}
.afl-tier-card.tier-standard::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, #94a3b8, #cbd5e1, #94a3b8);
}

.afl-tier-badge {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 20px;
}
.tier-elite .afl-tier-badge {
  background: linear-gradient(90deg, #15803d, #16A34A);
  color: #fff;
}
.tier-preferred .afl-tier-badge {
  background: linear-gradient(90deg, #1B3A5C, #2F6F9F);
  color: #fff;
}
.tier-standard .afl-tier-badge {
  background: #e2e8f0;
  color: #64748b;
}

.afl-tier-name {
  font-family: 'DM Serif Display', serif;
  font-size: 1.7rem;
  color: #1B3A5C;
  margin: 0 0 4px;
}
.afl-tier-price {
  font-size: 2.2rem;
  font-weight: 800;
  color: #1B3A5C;
  line-height: 1;
  margin-bottom: 24px;
}
.tier-elite .afl-tier-price { color: #16A34A; }
.tier-preferred .afl-tier-price { color: #2F6F9F; }
.tier-standard .afl-tier-price { color: #64748b; }

.afl-tier-features {
  list-style: none;
  margin: 0 0 32px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.afl-tier-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  color: #334155;
  line-height: 1.4;
}
.afl-tier-features li::before {
  content: '✓';
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 800;
  margin-top: 1px;
}
.tier-elite .afl-tier-features li::before {
  background: rgba(22,163,74,0.12);
  color: #16A34A;
}
.tier-preferred .afl-tier-features li::before {
  background: rgba(47,111,159,0.12);
  color: #2F6F9F;
}
.tier-standard .afl-tier-features li::before {
  background: rgba(148,163,184,0.15);
  color: #64748b;
}

.afl-tier-cta {
  display: block;
  text-align: center;
  padding: 14px 24px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  cursor: pointer;
  border: none;
}
.tier-elite .afl-tier-cta {
  background: linear-gradient(135deg, #15803d, #16A34A);
  color: #fff;
}
.tier-elite .afl-tier-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(22,163,74,0.35);
}
.tier-preferred .afl-tier-cta {
  background: linear-gradient(135deg, #1B3A5C, #2F6F9F);
  color: #fff;
}
.tier-preferred .afl-tier-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(27,58,92,0.3);
}
.tier-standard .afl-tier-cta {
  background: transparent;
  border: 2px solid #cbd5e1;
  color: #64748b;
}
.tier-standard .afl-tier-cta:hover {
  background: #f8fafc;
  border-color: #94a3b8;
}

/* Elite featured ribbon */
.afl-tier-ribbon {
  position: absolute;
  top: 20px;
  right: -28px;
  background: #16A34A;
  color: #fff;
  font-size: 0.6rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 5px 36px;
  transform: rotate(45deg);
  transform-origin: center;
}

/* ============================================================
   UPGRADED FEATURES GRID — Glass cards
   ============================================================ */

.afl-features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 48px;
}
@media (max-width: 860px) {
  .afl-features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 500px) {
  .afl-features-grid {
    grid-template-columns: 1fr;
  }
}
.afl-feat-card-v2 {
  background: #fff;
  border: 1px solid rgba(27,58,92,0.1);
  border-radius: 20px;
  padding: 28px 24px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  position: relative;
  overflow: hidden;
}
.afl-feat-card-v2:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(27,58,92,0.1);
  border-color: rgba(22,163,74,0.25);
}
.afl-feat-card-v2::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, #16A34A, transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.afl-feat-card-v2:hover::after {
  opacity: 1;
}
.afl-feat-icon-v2 {
  font-size: 2.4rem;
  margin-bottom: 16px;
  display: block;
}
.afl-feat-title-v2 {
  font-family: 'DM Serif Display', serif;
  font-size: 1.1rem;
  color: #1B3A5C;
  margin-bottom: 8px;
}
.afl-feat-desc-v2 {
  font-size: 0.82rem;
  color: #64748b;
  line-height: 1.55;
}


/* ============================================================
   STANDALONE ARIA CARD SECTION (below hero)
   ============================================================ */

.afl-aria-card-wrap {
  background: linear-gradient(135deg, #0f2439 0%, #1B3A5C 50%, #0f2439 100%);
  padding: 64px 24px;
  position: relative;
  overflow: hidden;
}
.afl-aria-card-wrap::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(22,163,74,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.afl-aria-card-wrap::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(47,111,159,0.15) 0%, transparent 70%);
  pointer-events: none;
}
.afl-aria-card-wrap .afl-aria-card {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 32px;
  align-items: center;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 28px;
  padding: 40px 48px;
  position: relative;
  z-index: 1;
}
@media (max-width: 760px) {
  .afl-aria-card-wrap .afl-aria-card {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 32px 24px;
  }
  .afl-aria-card-wrap .afl-aria-avatar {
    margin: 0 auto;
  }
}
.afl-aria-card-wrap .afl-aria-avatar {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #16A34A 0%, #15803d 100%);
  border-radius: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 12px 32px rgba(22,163,74,0.3);
}
.afl-aria-card-wrap .afl-aria-avatar svg {
  width: 38px;
  height: 38px;
}
.afl-aria-card-wrap .afl-aria-tag {
  background: rgba(22,163,74,0.15);
  border-color: rgba(22,163,74,0.3);
  color: #4ade80;
  margin-bottom: 8px;
}
.afl-aria-card-wrap .afl-aria-name {
  color: #fff;
  font-size: 2rem;
  margin: 0 0 4px;
}
.afl-aria-card-wrap .afl-aria-role {
  color: #4ade80;
  margin-bottom: 10px;
}
.afl-aria-card-wrap .afl-aria-desc {
  color: rgba(255,255,255,0.75);
  font-style: normal;
  font-size: 0.95rem;
  margin-bottom: 0;
}
.afl-aria-card-wrap .afl-aria-btn {
  background: linear-gradient(135deg, #16A34A 0%, #15803d 100%);
  white-space: nowrap;
  flex-shrink: 0;
  padding: 14px 28px;
  font-size: 0.88rem;
}
.afl-aria-card-wrap .afl-aria-verified {
  color: rgba(255,255,255,0.4);
  display: none;
}

/* ---- Also upgrade the home section heading styles ---- */
.afl-section-h2 {
  font-family: 'DM Serif Display', serif;
  font-size: 2.2rem;
  color: #1B3A5C;
  margin: 12px 0 16px;
  line-height: 1.2;
}
.afl-section-sub {
  font-size: 1rem;
  color: #64748b;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.65;
}


/* ============================================================
   FULL-BLEED OVERRIDE — Break out of TT25 content constraint
   ============================================================ */

/* Override TT25's is-layout-constrained 645px restriction for our sections */
.entry-content.is-layout-constrained > .acd-search-wrap,
.entry-content.is-layout-constrained > .afl-aria-card-wrap,
.entry-content.is-layout-constrained > .afl-home-features,
.entry-content.is-layout-constrained > .afl-tiers-section,
.entry-content.is-layout-constrained > .afl-home-cta,
.wp-block-post-content.is-layout-constrained > .acd-search-wrap,
.wp-block-post-content.is-layout-constrained > .afl-aria-card-wrap,
.wp-block-post-content.is-layout-constrained > .afl-home-features,
.wp-block-post-content.is-layout-constrained > .afl-tiers-section,
.wp-block-post-content.is-layout-constrained > .afl-home-cta {
  max-width: none !important;
  width: calc(100vw) !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  box-sizing: border-box;
}


/* ============================================================
   HOME PAGE TOP GAP FIX — Remove TT25 padding before first section
   ============================================================ */

/* Remove top padding on home page before the hero section */
.home .wp-block-group.is-layout-constrained,
.home main.wp-block-group,
.page-id-13 .wp-block-group.is-layout-constrained,
.page-id-13 main.wp-block-group {
  padding-top: 0 !important;
  margin-top: 0 !important;
}
.home .entry-content,
.page-id-13 .entry-content {
  padding-top: 0 !important;
  margin-top: 0 !important;
}
/* Ensure hero is flush to nav */
.home .acd-search-wrap:first-child,
.page-id-13 .acd-search-wrap {
  margin-top: 0 !important;
}


/* ═══════════════════════════════════════════
   CONTACT PAGE  (act- prefix)
═══════════════════════════════════════════ */

/* ── Hero ── */
.act-hero {
  background: linear-gradient(160deg, #0f2439 0%, #1B3A5C 60%, rgba(47,111,159,.3) 100%);
  padding: 5rem 2rem 0;
  position: relative;
  overflow: hidden;
  width: calc(100vw) !important;
  max-width: none !important;
  margin-left: calc(50% - 50vw) !important;
}
.act-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(47,111,159,.25) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(15,168,138,.15) 0%, transparent 40%),
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: auto, auto, 60px 60px, 60px 60px;
  pointer-events: none;
}
.act-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
}
.act-hero-label {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 30px;
  padding: .3rem 1rem;
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(255,255,255,.55);
  margin-bottom: 1.5rem;
}
.act-hero-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #16A34A;
  animation: afl-pulse 1.8s ease-in-out infinite;
  flex-shrink: 0;
}
.act-hero-h1 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(2.2rem, 4.5vw, 4rem);
  color: #ffffff !important;
  margin-bottom: 1.25rem;
  max-width: 640px;
  line-height: 1.15;
}
.act-hero-sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,.68) !important;
  max-width: 520px;
  line-height: 1.8;
  font-weight: 300;
  margin-bottom: 3rem;
}
.act-hero-wave {
  display: block;
  width: 100%;
  height: 60px;
  position: relative;
  z-index: 1;
}

/* ── Body ── */
.act-body {
  background: #F5F7FA;
  padding: 0 2rem 6rem;
  width: calc(100vw) !important;
  max-width: none !important;
  margin-left: calc(50% - 50vw) !important;
}
.act-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 4rem;
  align-items: start;
  padding-top: 4rem;
}

/* ── Left column ── */
.act-left-h2 {
  font-family: 'DM Serif Display', serif;
  font-size: 1.875rem;
  color: #1B3A5C;
  margin-bottom: .875rem;
}
.act-left-sub {
  font-size: .9rem;
  color: #4B5563;
  line-height: 1.85;
  font-weight: 300;
  margin-bottom: 2.5rem;
  max-width: 360px;
}
.act-info-list {
  display: flex;
  flex-direction: column;
  gap: .875rem;
  margin-bottom: 2.5rem;
}
.act-info-item {
  background: #fff;
  border: 1px solid #E5E7EB;
  border-radius: 12px;
  padding: 1.125rem 1.375rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: all .2s;
}
.act-info-item:hover {
  border-color: rgba(47,111,159,.3);
  box-shadow: 0 4px 16px rgba(27,58,92,.08);
  transform: translateX(3px);
}
.act-info-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(27,58,92,.06);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.act-info-icon svg {
  width: 17px;
  height: 17px;
  stroke: #1B3A5C;
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.act-info-label {
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #9CA3AF;
  margin-bottom: 3px;
}
.act-info-value {
  font-size: .9rem;
  font-weight: 600;
  color: #1B3A5C;
}
.act-info-value a {
  color: #1B3A5C;
  transition: color .15s;
}
.act-info-value a:hover { color: #2F6F9F; }

/* ── Agent Card ── */
.act-agent-card {
  background: linear-gradient(135deg, #0f2439 0%, #1e4470 100%);
  border-radius: 16px;
  padding: 1.75rem;
  position: relative;
  overflow: hidden;
}
.act-agent-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(0deg, transparent, transparent 29px, rgba(255,255,255,.03) 30px),
    repeating-linear-gradient(90deg, transparent, transparent 29px, rgba(255,255,255,.03) 30px);
  pointer-events: none;
}
.act-agent-label {
  position: relative;
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(255,255,255,.38);
  margin-bottom: .75rem;
}
.act-agent-name {
  position: relative;
  font-family: 'DM Serif Display', serif;
  font-size: 1.75rem;
  color: #ffffff !important;
  margin-bottom: .35rem;
}
.act-agent-live {
  position: relative;
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-bottom: .875rem;
}
.act-agent-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #16A34A;
  animation: afl-pulse 1.8s ease-in-out infinite;
  flex-shrink: 0;
}
.act-agent-live span:last-child {
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.42) !important;
}
.act-agent-desc {
  position: relative;
  font-size: .82rem;
  color: rgba(255,255,255,.58) !important;
  line-height: 1.75;
  font-weight: 300;
  margin-bottom: 1.25rem;
}
.act-agent-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: #16A34A;
  color: #fff;
  padding: .7rem 1.25rem;
  border-radius: 8px;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .05em;
  transition: background .2s;
  text-decoration: none;
}
.act-agent-btn:hover { background: #15803D; color: #fff; }
.act-agent-btn svg {
  width: 14px;
  height: 14px;
  stroke: #fff;
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ── Form Card ── */
.act-form-card {
  background: #fff;
  border: 1px solid #E5E7EB;
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: 0 8px 40px rgba(27,58,92,.1);
}
.act-form-title {
  font-family: 'DM Serif Display', serif;
  font-size: 1.5rem;
  color: #1B3A5C;
  margin-bottom: .375rem;
}
.act-form-sub {
  font-size: .83rem;
  color: #4B5563;
  margin-bottom: 2rem;
  font-weight: 300;
  line-height: 1.7;
}
.act-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.125rem;
  margin-bottom: 1.125rem;
}
.act-form-group {
  display: flex;
  flex-direction: column;
  gap: .4rem;
  margin-bottom: 1.125rem;
}
.act-form-label {
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #1B3A5C;
}
.act-form-input,
.act-form-select,
.act-form-textarea {
  width: 100%;
  padding: .8rem 1rem;
  border: 1.5px solid #E5E7EB;
  border-radius: 10px;
  font-family: 'DM Sans', sans-serif;
  font-size: .875rem;
  color: #1F2937;
  background: #F5F7FA;
  outline: none;
  transition: all .2s;
  -webkit-appearance: none;
  appearance: none;
}
.act-form-select {
  padding-right: 2.5rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236B7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-color: #F5F7FA;
  cursor: pointer;
}
.act-form-textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.65;
}
.act-form-input:focus,
.act-form-select:focus,
.act-form-textarea:focus {
  border-color: #2F6F9F;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(47,111,159,.08);
}
.act-form-input::placeholder,
.act-form-textarea::placeholder { color: #9CA3AF; font-weight: 300; }
.act-form-submit {
  width: 100%;
  padding: .9rem;
  background: #16A34A;
  color: #fff;
  border: none;
  border-radius: 10px;
  font-family: 'DM Sans', sans-serif;
  font-size: .875rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all .2s;
  margin-top: 1.375rem;
}
.act-form-submit:hover {
  background: #15803D;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(22,163,74,.3);
}
.act-form-note {
  font-size: .7rem;
  color: #9CA3AF;
  text-align: center;
  margin-top: .75rem;
  line-height: 1.6;
}

/* ── Success ── */
.act-success {
  text-align: center;
  padding: 2.5rem 1rem;
}
.act-success-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #16A34A;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
}
.act-success-icon svg {
  width: 24px;
  height: 24px;
  stroke: #fff;
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.act-success h3 {
  font-family: 'DM Serif Display', serif;
  font-size: 1.375rem;
  color: #1B3A5C;
  margin-bottom: .5rem;
}
.act-success p {
  font-size: .875rem;
  color: #4B5563;
  line-height: 1.75;
  font-weight: 300;
}

/* ── Footer ── */
.act-footer {
  background: #0f2439;
  color: rgba(255,255,255,.85);
  padding: 4rem 2rem 2rem;
  width: calc(100vw) !important;
  max-width: none !important;
  margin-left: calc(50% - 50vw) !important;
}
.act-footer-grid {
  max-width: 1100px;
  margin: 0 auto 2.5rem;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
}
.act-footer-brand-name {
  font-family: 'DM Serif Display', serif;
  font-size: 1.4rem;
  color: #fff;
  margin-bottom: .3rem;
}
.act-footer-accent { color: #16A34A; }
.act-footer-brand-sub {
  font-size: .68rem;
  color: rgba(255,255,255,.3);
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: .875rem;
}
.act-footer-desc {
  font-size: .83rem;
  color: rgba(255,255,255,.45) !important;
  line-height: 1.75;
  max-width: 260px;
  margin-bottom: 1.1rem;
  font-weight: 300;
}
.act-footer-contact a {
  display: block;
  font-size: .83rem;
  color: rgba(255,255,255,.45);
  margin-bottom: .35rem;
  transition: color .2s;
  text-decoration: none;
}
.act-footer-contact a:hover { color: #16A34A; }
.act-footer-col h4 {
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(255,255,255,.32);
  margin-bottom: 1rem;
  font-family: 'DM Sans', sans-serif;
}
.act-footer-col a {
  display: block;
  font-size: .83rem;
  color: rgba(255,255,255,.5);
  margin-bottom: .5rem;
  transition: color .2s;
  text-decoration: none;
}
.act-footer-col a:hover { color: #fff; }
.act-footer-bottom {
  max-width: 1100px;
  margin: 0 auto;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,.08);
  font-size: .72rem;
  color: rgba(255,255,255,.32);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: .75rem;
}
.act-footer-platform { font-size: .72rem; color: rgba(255,255,255,.28); }
.act-footer-blue { color: #3B82F6; }

/* ── Responsive ── */
@media (max-width: 900px) {
  .act-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .act-footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
@media (max-width: 600px) {
  .act-form-row { grid-template-columns: 1fr; }
  .act-hero { padding: 4rem 1.5rem 0; }
  .act-body { padding: 0 1.5rem 4rem; }
  .act-footer-grid { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════════════════
   LEGAL PAGES — AI Disclosure & Algorithmic Accountability
   Prefix: act-legal-
   ═══════════════════════════════════════════════════════════ */

/* ── Legal Body ── */
.act-legal-body {
  background: #F5F7FA;
  padding: 48px 0 80px;
  width: calc(100vw) !important;
  max-width: none !important;
  margin-left: calc(50% - 50vw) !important;
  box-sizing: border-box;
}

.act-legal-inner {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
}

/* ── Legal Card ── */
.act-legal-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 48px 52px;
  box-shadow: 0 4px 24px rgba(27,58,92,0.08);
  border: 1px solid rgba(27,58,92,0.07);
}

@media(max-width:640px){
  .act-legal-card { padding: 28px 20px; }
}

/* ── Effective Date ── */
.act-legal-effective {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  color: #16A34A;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 28px;
}

/* ── Intro / Sub ── */
.act-legal-intro {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.08rem;
  line-height: 1.7;
  color: #1B3A5C;
  margin: 0 0 20px;
  font-weight: 400;
}

.act-legal-sub {
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  color: #334e68;
  margin: 0 0 16px;
  font-weight: 500;
}

.act-legal-note {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  line-height: 1.65;
  color: #334e68;
  margin: 20px 0 28px;
  padding: 16px 20px;
  background: rgba(22,163,74,0.06);
  border-left: 3px solid #16A34A;
  border-radius: 0 8px 8px 0;
}

/* ── List ── */
.act-legal-list {
  margin: 0 0 24px 0;
  padding: 0 0 0 0;
  list-style: none;
}

.act-legal-list li {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.97rem;
  line-height: 1.65;
  color: #1B3A5C;
  padding: 10px 0 10px 28px;
  position: relative;
  border-bottom: 1px solid rgba(27,58,92,0.06);
}

.act-legal-list li:last-child { border-bottom: none; }

.act-legal-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  background: #16A34A;
  border-radius: 50%;
}

/* ── Sections ── */
.act-legal-section {
  margin: 0 0 32px;
  padding: 0 0 32px;
  border-bottom: 1px solid rgba(27,58,92,0.08);
}

.act-legal-section:last-of-type {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.act-legal-h2 {
  font-family: 'DM Serif Display', serif !important;
  font-size: 1.25rem !important;
  color: #1B3A5C !important;
  margin: 0 0 14px !important;
  font-weight: 400 !important;
}

.act-legal-section p {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.97rem;
  line-height: 1.72;
  color: #334e68;
  margin: 0;
}

/* ── Email Link ── */
.act-legal-email-link {
  display: inline-block;
  margin-top: 10px;
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: #2F6F9F;
  text-decoration: none;
  border-bottom: 2px solid rgba(47,111,159,0.3);
  transition: border-color 0.2s, color 0.2s;
}
.act-legal-email-link:hover {
  color: #16A34A;
  border-color: #16A34A;
}

/* ── Reference Link Block ── */
.act-legal-link-block {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(27,58,92,0.08);
}

.act-legal-link-block p {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.92rem;
  color: #627282;
  margin: 0 0 10px;
}

.act-legal-ref-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.97rem;
  font-weight: 600;
  color: #2F6F9F;
  text-decoration: none;
  padding: 10px 20px;
  border: 2px solid rgba(47,111,159,0.3);
  border-radius: 8px;
  transition: all 0.2s;
}
.act-legal-ref-link:hover {
  background: #2F6F9F;
  color: #fff;
  border-color: #2F6F9F;
}

/* =============================================================
   AGENARYS LIST FLORIDA - BUG FIXES v2.2
   ============================================================= */

/* 1. HERO: Force white text on dark navy background */
[style*="background-color:#0a1628"] h1,
[style*="background-color:#0a1628"] h2,
[style*="background-color:#0a1628"] .wp-block-heading {
  color: #ffffff !important;
}
[style*="background-color:#0a1628"] p:not([style*="22c55e"]) {
  color: #ffffff !important;
}

/* 2. HIDE cookie re-consent floating circle */
.cookieadmin_re_consent {
  display: none !important;
}

/* 3. CTA green section - fix button overlap */
.wp-block-group[style*="background:#f0fdf4"] {
  overflow: visible !important;
  padding-bottom: 50px !important;
}
.wp-block-group[style*="background:#f0fdf4"] p {
  margin-bottom: 20px !important;
}
.wp-block-group[style*="background:#f0fdf4"] .wp-block-buttons {
  margin-top: 12px !important;
}

/* 4. FOOTER: Brighter readable text */
.act-footer-desc {
  color: rgba(255,255,255,0.85) !important;
}
.act-footer-contact a {
  color: rgba(255,255,255,0.80) !important;
}
.act-footer-link {
  color: rgba(255,255,255,0.80) !important;
}
.act-footer-heading {
  color: rgba(255,255,255,0.95) !important;
}
.act-footer-legal,
.act-footer-legal a {
  color: rgba(255,255,255,0.80) !important;
}
.act-footer-platform {
  color: rgba(255,255,255,0.70) !important;
}

/* 5. FOOTER BRAND NAME: DM Serif Display like header logo */
.act-footer-brand-name {
  font-family: 'DM Serif Display', Georgia, serif !important;
  font-size: 1.5rem !important;
  font-weight: 400 !important;
  color: #ffffff !important;
}
.act-footer-brand-name .act-footer-accent {
  color: #16A34A !important;
  font-family: 'DM Serif Display', Georgia, serif !important;
}

/* 6. ABOUT PAGE - Elite pricing card: orange to green */
.wp-block-column[style*="border:2px solid #f59e0b"] {
  border: 2px solid #16A34A !important;
}
.wp-block-column[style*="f59e0b"] a.wp-block-button__link {
  background: #16A34A !important;
}

/* 7. PRICING CARDS: Fix layout so buttons dont cover text */
.wp-block-column[style*="border:2px solid"] {
  overflow: visible !important;
}
.wp-block-column[style*="border:2px solid"] .wp-block-button__link {
  position: relative !important;
  margin-top: 12px !important;
}

/* 8. GENERAL: Dark sections with navy bg have white text */
[style*="background-color:#0f2439"] p,
[style*="background:#0f2439"] p {
  color: rgba(255,255,255,0.85) !important;
}

/* End fixes v2.2 */

/* ═══════════════════════════════════════════════════════════
   CRITICAL FIX v2.3: HERO TEXT WHITE ON DARK BACKGROUNDS
   Must override h1...h6 { color: var(--agr-deep-navy) !important }
   ═══════════════════════════════════════════════════════════ */

/* Force white text on dark hero sections - ultra specific selectors */
body [style*="background-color:#0a1628"] h1.wp-block-heading,
body [style*="background-color:#0a1628"] h1,
body .wp-block-group[style*="background-color:#0a1628"] h1 {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

body [style*="background-color:#0a1628"] p:not([style*="22c55e"]):not([style*="color:#22c55e"]) {
  color: #ffffff !important;
}

/* Also target by specific hex value in multiple formats */
body div[style*="#0a1628"] h1,
body div[style*="#0a1628"] .wp-block-heading,
body div[style*="#0a1628"] h2 {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

body div[style*="#0a1628"] p {
  color: rgba(255,255,255,0.92) !important;
}

/* Fix the specific element that has has-white-color class */
.has-text-color.has-white-color {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

/* Also handle has-navy-background-color sections */
.has-navy-background-color h1,
.has-navy-background-color h2,
.has-navy-background-color p {
  color: #ffffff !important;
}

/* End v2.3 */
