/* ============================================================
   Andersen Mobile Notary Services — site stylesheet
   Refined navy/blue palette on warm whites
   Single source of truth for all pages.
   ============================================================ */

:root{
  --bg:           #f7f8fb;
  --surface:      #ffffff;
  --text:         #0f172a;
  --muted:        #475569;
  --brand:        #1e3a8a;
  --brand-2:      #1e40af;
  --accent:       #2563eb;
  --accent-soft:  #eef4ff;
  --good:         #047857;
  --warn:         #b45309;
  --border:       #e2e8f0;
  --border-strong:#cbd5e1;
  --card:         #f8fafc;
  --shadow-sm:    0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow:       0 6px 20px rgba(15, 23, 42, 0.06);
  --shadow-lg:    0 16px 40px rgba(15, 23, 42, 0.08);
  --radius-sm:    8px;
  --radius:       12px;
  --radius-lg:    16px;
  --maxw:         1140px;
  --font-sans:    "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*{ box-sizing: border-box; }

html{ scroll-behavior: smooth; }

body{
  margin: 0;
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a{ color: var(--accent); text-decoration: none; }
a:hover{ text-decoration: underline; }

img{ max-width: 100%; height: auto; display: block; }

.container{ width: min(var(--maxw), calc(100% - 32px)); margin: 0 auto; }

/* ----- Skip link ----- */
.skip-link{
  position: absolute; left: -9999px; top: auto;
  width: 1px; height: 1px; overflow: hidden;
}
.skip-link:focus{
  left: 16px; top: 16px; width: auto; height: auto;
  padding: 10px 14px; background: #fff;
  border: 2px solid var(--accent);
  border-radius: var(--radius-sm); z-index: 9999;
}

/* ============================================================
   HEADER
   ============================================================ */
header.site-header{
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border);
}
.header-row{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
}
.brand-mark{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--brand);
  font-size: 17px;
}
.brand-mark:hover{ text-decoration: none; }
.brand-mark .mark-dot{
  width: 28px; height: 28px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--brand) 0%, var(--accent) 100%);
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 900; font-size: 14px;
}
nav.primary{
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
  flex: 1;
  margin-left: 16px;
}
nav.primary a{
  color: var(--text);
  font-weight: 600;
  padding: 9px 12px;
  border-radius: 10px;
  border: 1px solid transparent;
  line-height: 1;
  font-size: 15px;
}
nav.primary a:hover{
  background: var(--card);
  text-decoration: none;
}
nav.primary a[aria-current="page"]{
  background: var(--card);
  border-color: var(--border);
}
nav.primary a.cta{
  background: var(--brand);
  color: #fff;
  border-color: transparent;
  margin-left: 6px;
}
nav.primary a.cta:hover{
  background: var(--brand-2);
}
.nav-toggle{
  display: none;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 9px 12px;
  font-weight: 700;
  color: var(--text);
  cursor: pointer;
}

/* ============================================================
   HEADER SEARCH (Google Programmable Search Engine entry point)
   ============================================================ */
.header-search{
  display: flex;
  align-items: center;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  background: #fff;
  padding: 4px 4px 4px 14px;
  margin-left: 6px;
  width: 220px;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.header-search:focus-within{
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.14);
}
.header-search input[type="search"]{
  flex: 1;
  border: 0;
  outline: none;
  font-size: 14px;
  background: transparent;
  padding: 6px 6px 6px 0;
  color: var(--text);
  min-width: 0;
  line-height: 1;
}
.header-search input[type="search"]::placeholder{
  color: var(--muted);
}
.header-search button{
  background: var(--brand);
  color: #fff;
  border: 0;
  border-radius: 999px;
  width: 30px;
  height: 30px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background-color .15s ease;
}
.header-search button:hover{
  background: var(--brand-2);
}
.header-search svg{
  width: 14px;
  height: 14px;
}

/* ============================================================
   SEARCH RESULTS PAGE (PSE-styled overrides)
   ============================================================ */
.search-page-wrap .gcse-search,
.search-page-wrap .gsc-control-cse{
  background: transparent !important;
  border: none !important;
  font-family: var(--font-sans) !important;
  padding: 0 !important;
}
.search-page-wrap .gsc-input-box{
  border-radius: 10px !important;
  border-color: var(--border-strong) !important;
}
.search-page-wrap .gsc-search-button-v2{
  border-radius: 10px !important;
  background: var(--brand) !important;
  border-color: var(--brand) !important;
  padding: 10px 14px !important;
}
.search-page-wrap .gsc-search-button-v2:hover{
  background: var(--brand-2) !important;
  border-color: var(--brand-2) !important;
}
.search-page-wrap .gs-title,
.search-page-wrap .gs-title b{
  color: var(--brand) !important;
  text-decoration: none !important;
}
.search-page-wrap .gs-snippet{
  color: var(--muted) !important;
  font-size: 14.5px !important;
  line-height: 1.55 !important;
}
.search-page-wrap .gsc-result-info,
.search-page-wrap .gsc-tabsArea{
  color: var(--muted) !important;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 10px;
  font-weight: 700;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  font-size: 15px;
  transition: transform .04s ease, background-color .15s ease, border-color .15s ease;
}
.btn:active{ transform: translateY(1px); }
.btn-primary{ background: var(--brand); color: #fff; }
.btn-primary:hover{ background: var(--brand-2); text-decoration: none; }
.btn-accent{ background: var(--accent); color: #fff; }
.btn-accent:hover{ background: var(--brand-2); text-decoration: none; }
.btn-outline{
  background: #fff;
  border-color: var(--border-strong);
  color: var(--text);
}
.btn-outline:hover{ background: var(--card); text-decoration: none; }
.btn-ghost{
  background: transparent;
  color: var(--text);
}
.btn-ghost:hover{ background: var(--card); text-decoration: none; }
.btn-block{ width: 100%; }

/* ============================================================
   MAIN / SECTIONS
   ============================================================ */
main{ padding: 28px 0 88px; }

.section{ margin-top: 56px; }
.section-head{
  max-width: 720px;
  margin: 0 auto 28px;
  text-align: center;
}
.section-eyebrow{
  display: inline-block;
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}
.section h2{
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: clamp(24px, 2.6vw, 34px);
  line-height: 1.2;
  letter-spacing: -0.02em;
  font-weight: 800;
}
.section-sub{
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

/* ============================================================
   BREADCRUMBS
   ============================================================ */
.breadcrumbs{
  margin: 12px 0 4px;
  font-size: 13.5px;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}
.breadcrumbs ol{
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}
.breadcrumbs li{
  display: inline-flex;
  align-items: center;
}
.breadcrumbs li + li::before{
  content: "›";
  margin: 0 8px 0 0;
  color: var(--border-strong);
  font-weight: 700;
}
.breadcrumbs a{
  color: var(--muted);
  text-decoration: none;
}
.breadcrumbs a:hover{
  color: var(--brand);
  text-decoration: underline;
}
.breadcrumbs [aria-current="page"]{
  color: var(--text);
  font-weight: 600;
}

/* ============================================================
   PAGE HEAD (interior pages)
   ============================================================ */
.page-head{
  margin-top: 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}
.kicker{
  display: inline-block;
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0 0 8px;
}
h1{
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.15;
  letter-spacing: -0.025em;
  font-weight: 800;
}
h1 .accent{ color: var(--brand); }
.subhead{
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 16px;
  max-width: 680px;
}
.cta-row{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 6px;
}

/* ============================================================
   HERO (home page)
   ============================================================ */
.hero{
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 28px;
  align-items: stretch;
  margin-top: 8px;
}
.hero-content{
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 8px 0;
}
.eyebrow{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 14px;
}
.eyebrow::before{
  content: "";
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--good);
  box-shadow: 0 0 0 3px rgba(4, 120, 87, 0.18);
}
.hero h1{
  font-size: clamp(30px, 3.8vw, 48px);
}
.hero-sub{
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 17px;
  max-width: 540px;
}
.hero-sub strong{ color: var(--text); }
.hero-cta{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}
.hero-trust{
  display: grid;
  grid-template-columns: repeat(2, auto);
  gap: 10px 22px;
  margin-top: 10px;
  align-items: start;
}
.trust-item{
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--muted);
  font-weight: 500;
}
.trust-item svg{ flex-shrink: 0; }
.trust-item strong{ color: var(--text); }

/* Hero portrait card */
.hero-portrait{
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(135deg, var(--card) 0%, #eaf0fb 100%);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  min-height: 460px;
}
.hero-portrait img{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  z-index: 1;
}
.hero-portrait-placeholder{
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--muted);
  text-align: center;
  padding: 24px;
  background:
    repeating-linear-gradient(45deg, rgba(30, 58, 138, 0.04) 0 12px, transparent 12px 24px),
    linear-gradient(135deg, var(--card) 0%, #eaf0fb 100%);
  z-index: 0;
}
.hero-portrait-placeholder .ico{
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow);
  color: var(--brand);
  font-size: 26px;
  font-weight: 800;
}
.hero-portrait-placeholder .lbl{
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.02em;
  max-width: 260px;
}
.hero-floating-card{
  position: absolute;
  left: 16px;
  bottom: 16px;
  right: 16px;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 16px;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 14px;
  z-index: 2;
}
.hero-floating-card .stars{
  display: inline-flex;
  gap: 2px;
  color: #f59e0b;
  font-size: 16px;
  letter-spacing: 1px;
}
.hero-floating-card .quote{
  flex: 1;
  font-size: 13.5px;
  color: var(--text);
  line-height: 1.45;
}
.hero-floating-card .quote strong{ font-weight: 700; }
.hero-floating-card .quote .who{
  display: block;
  color: var(--muted);
  font-size: 12px;
  margin-top: 3px;
}

/* ============================================================
   VALUE GRID (4 cards)
   ============================================================ */
.value-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.value-card{
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 20px;
  box-shadow: var(--shadow-sm);
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.value-card:hover{
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  border-color: var(--border-strong);
}
.value-card .ico-wrap{
  width: 44px; height: 44px;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--brand);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.value-card h3{
  margin: 0 0 6px;
  font-size: 17px;
  letter-spacing: -0.01em;
  font-weight: 700;
}
.value-card p{
  margin: 0;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.55;
}

/* ============================================================
   SPLIT 2 / PANEL
   ============================================================ */
.split-2{
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 22px;
  align-items: start;
}
.split-2.sidebar-first{
  grid-template-columns: 0.85fr 1.15fr;
}
.panel{
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}
.panel h2{
  margin: 0 0 14px;
  font-size: 20px;
  letter-spacing: -0.01em;
  font-weight: 700;
}
.panel h3{
  margin: 0 0 12px;
  font-size: 18px;
  letter-spacing: -0.01em;
  font-weight: 700;
}
.panel-soft{
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px;
}

.panel-note{
  margin-top: 14px;
  padding: 12px 14px;
  background: var(--accent-soft);
  border-left: 4px solid var(--accent);
  border-radius: 8px;
  color: var(--text);
  font-size: 14px;
}
.panel-note strong{ color: var(--brand); }
.panel-note a{ font-weight: 700; }

/* Pricing rows */
.price-row{
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 0;
  border-top: 1px dashed var(--border);
}
.price-row:first-of-type{ border-top: none; padding-top: 4px; }
.price-label{
  color: var(--text);
  font-weight: 600;
  font-size: 15px;
}
.price-help{
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 13.5px;
}
.price-value{
  font-weight: 800;
  font-size: 18px;
  color: var(--brand);
  white-space: nowrap;
}

/* Services list */
.svc-list{
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}
.svc-list a{
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
  color: var(--text);
  font-weight: 600;
  transition: border-color .15s ease, background-color .15s ease;
}
.svc-list a:hover{
  background: var(--card);
  border-color: var(--border-strong);
  text-decoration: none;
}
.svc-list a.is-current{
  background: var(--accent-soft);
  border-color: var(--accent);
  color: var(--brand);
}
.svc-list a .arrow{
  color: var(--muted);
  transition: transform .15s ease, color .15s ease;
}
.svc-list a:hover .arrow{
  transform: translateX(2px);
  color: var(--accent);
}

/* Generic feature cards (2-col, used on services page) */
.feat-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 4px;
}
.feat-card{
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: var(--shadow-sm);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.feat-card:hover{
  border-color: var(--border-strong);
  box-shadow: var(--shadow);
}
.feat-card h3{
  margin: 0;
  font-size: 17px;
  letter-spacing: -0.01em;
  font-weight: 700;
}
.feat-card p{
  margin: 0;
  color: var(--muted);
  font-size: 14.5px;
}
.feat-card .actions{
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 6px;
}
.feat-card .actions .btn{ padding: 9px 14px; font-size: 14px; }

/* Badges */
.badges{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 0 16px;
}
.badge{
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  border: 1px solid var(--border);
  color: var(--brand);
  font-weight: 600;
  font-size: 13px;
}

/* Bullets */
.bullets{
  margin: 0;
  padding-left: 22px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}
.bullets li{ margin: 6px 0; }
.bullets li strong{ color: var(--text); }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonial-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.testimonial{
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.testimonial .stars{
  color: #f59e0b;
  letter-spacing: 2px;
  font-size: 16px;
}
.testimonial p.quote{
  margin: 0;
  color: var(--text);
  font-size: 15px;
  line-height: 1.6;
}
.testimonial .who{
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
}
.testimonial .avatar{
  width: 36px; height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand) 0%, var(--accent) 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
}
.testimonial .who-name{
  font-weight: 700;
  font-size: 14px;
  color: var(--text);
}
.testimonial .who-meta{
  font-size: 12.5px;
  color: var(--muted);
}

/* ============================================================
   FORMS
   ============================================================ */
.form-wrap{
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}
form.form-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 10px;
}
label{
  display: block;
  font-weight: 600;
  font-size: 13.5px;
  margin: 0 0 6px;
  color: var(--text);
}
input, select, textarea{
  width: 100%;
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  padding: 11px 12px;
  font-size: 15px;
  font-family: inherit;
  color: var(--text);
  background: #fff;
  outline: none;
  transition: border-color .15s ease, box-shadow .15s ease;
}
input:focus, select:focus, textarea:focus{
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.14);
}
textarea{ min-height: 96px; resize: vertical; }
.full{ grid-column: 1 / -1; }
.help{ margin: 6px 0 0; color: var(--muted); font-size: 13px; }

/* ============================================================
   FAQ
   ============================================================ */
.faq-list{
  max-width: 820px;
  margin: 0 auto;
}
.faq-item{
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 10px;
  overflow: hidden;
  transition: border-color .15s ease;
}
.faq-item[open]{
  border-color: var(--border-strong);
  box-shadow: var(--shadow-sm);
}
.faq-item summary{
  cursor: pointer;
  padding: 16px 20px;
  font-weight: 600;
  font-size: 15.5px;
  color: var(--text);
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.faq-item summary::-webkit-details-marker{ display: none; }
.faq-item summary::after{
  content: "+";
  color: var(--accent);
  font-weight: 800;
  font-size: 22px;
  line-height: 1;
  flex-shrink: 0;
  transition: transform .15s ease;
}
.faq-item[open] summary::after{ content: "−"; }
.faq-body{
  padding: 0 20px 18px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}
.faq-body p{ margin: 0 0 10px; }
.faq-body p:last-child{ margin-bottom: 0; }

/* ============================================================
   COMPLIANCE / FEE TABLE
   ============================================================ */
.compliance{
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
}
.lang-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 10px;
  margin-bottom: 22px;
}
.lang-card{
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
}
.lang-card .flag-label{
  font-size: 12.5px;
  color: var(--muted);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 6px;
}
.lang-card p{
  margin: 0;
  font-size: 14.5px;
  color: var(--text);
  line-height: 1.55;
}
.fee-table{
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  font-size: 14px;
}
.fee-table th, .fee-table td{
  text-align: left;
  padding: 11px 14px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
.fee-table th{
  background: var(--card);
  font-weight: 700;
  color: var(--text);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.fee-table tr:last-child td{ border-bottom: none; }

/* ============================================================
   STEPS / PROCESS
   ============================================================ */
.steps{
  display: grid;
  gap: 14px;
  margin: 4px 0 12px;
}
.step-item{
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 14px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.step-num{
  background: var(--brand);
  color: #fff;
  width: 32px; height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  flex-shrink: 0;
  font-size: 15px;
}
.step-item p{ margin: 0; font-size: 14.5px; color: var(--muted); }
.step-item p strong{ color: var(--text); }

/* ============================================================
   ZONES (collapsible)
   ============================================================ */
.zone{
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  margin-bottom: 8px;
  overflow: hidden;
}
.zone summary{
  cursor: pointer;
  padding: 14px 16px;
  font-weight: 700;
  font-size: 15px;
  color: var(--text);
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.zone summary::-webkit-details-marker{ display: none; }
.zone summary::after{
  content: "+";
  color: var(--accent);
  font-weight: 800;
  font-size: 22px;
  line-height: 1;
}
.zone[open] summary::after{ content: "−"; }
.zone summary .zone-fee{
  color: var(--brand);
  font-weight: 700;
}
.zone-body{
  padding: 0 16px 14px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

/* ============================================================
   MAP
   ============================================================ */
.map-wrap{
  margin-top: 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  aspect-ratio: 16 / 9;
  box-shadow: var(--shadow-sm);
}
.map-wrap iframe{ width: 100%; height: 100%; border: 0; display: block; }

/* ============================================================
   LANGUAGE TOGGLE (English ⇄ Español)
   ============================================================ */
.lang-toggle{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--brand);
  color: #fff !important;
  border: 1px solid var(--brand);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none !important;
  margin-left: 6px;
  line-height: 1;
  transition: background-color .15s ease, border-color .15s ease;
}
.lang-toggle:hover{
  background: var(--brand-2);
  border-color: var(--brand-2);
  text-decoration: none !important;
}
.lang-toggle svg{ width: 14px; height: 14px; flex-shrink: 0; }

@media (max-width: 980px){
  nav.primary.is-open .lang-toggle{
    width: 100%;
    justify-content: center;
    padding: 14px;
    font-size: 15px;
  }
}

/* Spanish-page statutory disclaimer banner (legally required per CA Gov Code §8219.5(a)) */
.statutory-disclaimer{
  background: #fef3c7;
  border-bottom: 2px solid #b45309;
  padding: 12px 16px;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  color: #78350f;
  line-height: 1.5;
  letter-spacing: 0.01em;
}
.statutory-disclaimer p{ margin: 0; }

/* ============================================================
   QUOTE CALCULATOR WIDGET
   ============================================================ */
.quote-calc{
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}
.quote-calc-compact{
  padding: 18px;
}
.quote-calc h3{
  margin: 0 0 6px;
  font-size: 19px;
  letter-spacing: -0.01em;
  font-weight: 700;
}
.quote-calc .qc-sub{
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 14.5px;
}
.qc-form{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 0;
}
.qc-form .qc-full{ grid-column: 1 / -1; }
.qc-form label{
  display: block;
  font-weight: 600;
  font-size: 13px;
  margin: 0 0 6px;
  color: var(--text);
}
.qc-form input[type="text"],
.qc-form input[type="number"],
.qc-form select{
  width: 100%;
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 15px;
  font-family: inherit;
  color: var(--text);
  background: #fff;
  outline: none;
}
.qc-form input:focus,
.qc-form select:focus{
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.14);
}
.quote-calc .qc-checkbox{
  display: flex !important;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  font-size: 14px;
  color: var(--text);
  cursor: pointer;
  padding: 4px 0;
  margin: 0;
}
.quote-calc .qc-checkbox > input[type="checkbox"]{
  width: 16px !important;
  height: 16px;
  margin: 0;
  cursor: pointer;
  flex-shrink: 0;
  accent-color: var(--brand);
}
.qc-form .qc-submit{
  background: var(--brand);
  color: #fff;
  border: 0;
  border-radius: 10px;
  padding: 11px 18px;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  transition: background-color .15s ease;
  width: 100%;
}
.qc-form .qc-submit:hover{ background: var(--brand-2); }

.qc-result{
  display: none;
  margin-top: 16px;
  padding: 16px 18px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.qc-result-row{
  display: flex !important;
  justify-content: space-between !important;
  align-items: baseline;
  gap: 12px;
  padding: 7px 0;
  font-size: 14.5px;
  color: var(--text);
}
.qc-result-row > span{ flex: 1; }
.qc-result-row strong{
  font-weight: 700;
  color: var(--brand);
}
.qc-result-row.qc-total{
  margin-top: 6px;
  padding-top: 12px;
  border-top: 1px dashed var(--border-strong);
  font-size: 16px;
}
.qc-result-row.qc-total strong{
  font-size: 22px;
  color: var(--good);
}
.qc-result-note{
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.5;
}
.qc-result-warn{
  margin: 0;
  padding: 10px 12px;
  background: #fffbeb;
  border-left: 3px solid #b45309;
  border-radius: 6px;
  color: #78350f;
  font-size: 13.5px;
  line-height: 1.5;
}
.qc-result-warn code{
  background: #fff;
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 12.5px;
}
.qc-result-notes{
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed var(--border);
}
.qc-result-notes p{
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.5;
}
.qc-result-notes p:last-child{ margin-bottom: 0; }
.qc-result-notes code{
  background: #fff;
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 12px;
  border: 1px solid var(--border);
}

.qc-actions{
  display: none;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}
.qc-actions a{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 16px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 14.5px;
  text-decoration: none;
  transition: background-color .15s ease;
}
.qc-actions a.qc-call{
  background: var(--brand);
  color: #fff;
}
.qc-actions a.qc-call:hover{ background: var(--brand-2); text-decoration: none; }
.qc-actions a.qc-sms{
  background: #fff;
  border: 1px solid var(--border-strong);
  color: var(--text);
}
.qc-actions a.qc-sms:hover{ background: var(--card); text-decoration: none; }

/* Compact variant — single column on home page */
.quote-calc-compact .qc-form{
  grid-template-columns: 1fr;
  gap: 10px;
}
.quote-calc-compact .qc-result-notes{ display: none; }

@media (max-width: 540px){
  .qc-form{ grid-template-columns: 1fr; }
}

/* ============================================================
   DOCUMENT CHECKLIST WIDGET
   Picker grid + dynamic checklist output
   ============================================================ */
.doc-checklist{
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}
.dc-grid{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 0;
}
.dc-card{
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  text-align: left;
  padding: 14px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  cursor: pointer;
  font-family: inherit;
  transition: border-color .15s ease, background-color .15s ease, transform .04s ease;
}
.dc-card:hover{
  background: var(--card);
  border-color: var(--border-strong);
}
.dc-card.is-active{
  background: var(--accent-soft);
  border-color: var(--accent);
}
.dc-card strong{
  font-size: 15px;
  color: var(--text);
  letter-spacing: -0.01em;
  font-weight: 700;
}
.dc-card.is-active strong{ color: var(--brand); }
.dc-card span{
  font-size: 13px;
  color: var(--muted);
  line-height: 1.4;
}

.dc-output{
  display: none;
  margin-top: 22px;
  padding: 22px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.dc-checklist-header{
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px dashed var(--border-strong);
}
.dc-checklist-header h3{
  margin: 0 0 4px;
  font-size: 22px;
  letter-spacing: -0.01em;
  font-weight: 800;
  color: var(--brand);
}
.dc-checklist-desc{
  margin: 0;
  color: var(--muted);
  font-size: 14.5px;
}
.dc-section-title{
  margin: 18px 0 10px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent);
  font-weight: 700;
}
.dc-list{
  list-style: none;
  padding: 0;
  margin: 0;
}
.dc-list li{
  position: relative;
  padding: 8px 0 8px 28px;
  border-bottom: 1px dashed var(--border);
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--text);
}
.dc-list li:last-child{ border-bottom: 0; }
.dc-list li::before{
  content: "";
  position: absolute;
  left: 0;
  top: 13px;
  width: 16px;
  height: 16px;
  border: 2px solid var(--brand);
  border-radius: 4px;
  background: #fff;
}
.dc-list li::after{
  content: "✓";
  position: absolute;
  left: 3px;
  top: 7px;
  color: var(--brand);
  font-weight: 900;
  font-size: 14px;
}
.dc-notes{
  margin: 0;
  padding: 14px 16px;
  background: var(--accent-soft);
  border-left: 4px solid var(--accent);
  border-radius: 8px;
}
.dc-notes p{
  margin: 0 0 10px;
  font-size: 13.5px;
  color: var(--text);
  line-height: 1.55;
}
.dc-notes p:last-child{ margin-bottom: 0; }
.dc-cta-row{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px dashed var(--border-strong);
}

@media (max-width: 540px){
  .dc-grid{ grid-template-columns: 1fr; }
}

/* ============================================================
   QUICK CTA (gradient sidebar card)
   ============================================================ */
.quick-cta{
  background: linear-gradient(135deg, var(--brand) 0%, var(--accent) 100%);
  border-radius: var(--radius);
  padding: 18px;
  color: #fff;
  box-shadow: var(--shadow);
}
.quick-cta h3{
  color: #fff;
  margin: 0 0 6px;
  font-size: 17px;
  letter-spacing: -0.01em;
  font-weight: 700;
}
.quick-cta p{
  margin: 0 0 12px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 14px;
  line-height: 1.5;
}
.quick-cta-btns{
  display: grid;
  gap: 8px;
}
.quick-cta-btns a{
  background: #fff;
  color: var(--brand);
  padding: 10px 14px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 14.5px;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: transform .04s ease, background-color .15s ease;
}
.quick-cta-btns a:hover{
  background: var(--card);
  text-decoration: none;
}
.quick-cta-btns a.outline{
  background: transparent;
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  color: #fff;
}
.quick-cta-btns a.outline:hover{
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.85);
}
.quick-cta-btns svg{ width: 14px; height: 14px; flex-shrink: 0; }
.sidebar-stack{
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* ============================================================
   LOGO ROW (associations)
   ============================================================ */
.logo-row{
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 14px;
}
.logo-row a{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 12px 16px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .15s ease;
}
.logo-row a:hover{ box-shadow: var(--shadow); }
.logo-row img{ display: block; height: auto; }

/* ============================================================
   FOOTER
   ============================================================ */
footer{
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 48px 0 100px;
  margin-top: 64px;
}
.footer-grid{
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 28px;
  align-items: start;
}
.footer-title{
  font-weight: 800;
  margin: 0 0 10px;
  font-size: 15px;
  color: var(--text);
}
.footer-text{
  margin: 0 0 6px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}
.footer-text strong{ color: var(--text); }
.footer-text a{ color: var(--text); font-weight: 600; }
.footer-text a:hover{ color: var(--accent); }
.footer-links{
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.footer-links a{
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
}
.footer-links a:hover{ color: var(--accent); }
.footer-bottom{
  margin-top: 32px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  color: var(--muted);
  font-size: 13px;
}

/* ============================================================
   MOBILE STICKY CTA
   ============================================================ */
.cta-bar{
  display: none;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 1100;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--border);
  padding: 10px 12px;
  box-shadow: 0 -4px 16px rgba(15, 23, 42, 0.05);
}
.cta-bar-row{
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 980px){
  .hero{ grid-template-columns: 1fr; }
  .hero-portrait{ min-height: 320px; }
  .value-grid{ grid-template-columns: repeat(2, 1fr); }
  .split-2{ grid-template-columns: 1fr; }
  .split-2.sidebar-first{ grid-template-columns: 1fr; }
  .feat-grid{ grid-template-columns: 1fr; }
  .testimonial-grid{ grid-template-columns: 1fr; }
  .footer-grid{ grid-template-columns: 1fr 1fr; }
  .cta-bar{ display: block; }
  main{ padding-bottom: 110px; }

  nav.primary{ display: none; }
  nav.primary.is-open{
    display: flex;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    padding: 12px;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    box-shadow: var(--shadow);
  }
  nav.primary.is-open a{ width: 100%; padding: 12px 14px; }
  nav.primary.is-open .header-search{ width: 100%; margin: 8px 0 4px; }
  .nav-toggle{ display: inline-flex; }
}
@media (max-width: 540px){
  form.form-grid{ grid-template-columns: 1fr; }
  .lang-grid{ grid-template-columns: 1fr; }
  .footer-grid{ grid-template-columns: 1fr; }
  .value-grid{ grid-template-columns: 1fr; }
  h1{ font-size: 30px; }
  .page-head{ padding: 22px; }
}

/* ============================================================
   PAYMENT METHODS
   Responsive row of branded pills showing accepted payment options.
   ============================================================ */
.payment-methods{
  margin: 28px 0;
  padding: 24px 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  text-align: center;
}
.payment-methods .payment-title{
  margin: 0 0 14px;
  font-size: 18px;
  font-weight: 700;
  color: var(--brand);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.payment-methods .payment-sub{
  margin: 0 0 18px;
  font-size: 13.5px;
  color: var(--muted);
}
.payment-list{
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}
.payment-pill{
  display: inline-flex;
  align-items: center;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 600;
  white-space: nowrap;
  border: 1.5px solid currentColor;
  background: #fff;
  transition: transform 0.15s ease;
}
.payment-pill:hover{ transform: translateY(-1px); }
.payment-pill.cash       { color: #047857; }
.payment-pill.cashapp    { color: #00C244; }
.payment-pill.zelle      { color: #6D1ED4; }
.payment-pill.applepay   { color: #0f172a; }
.payment-pill.googlepay  { color: #1a73e8; }
.payment-pill.taptopay   { color: #475569; }
.payment-pill.paypal     { color: #003087; }
.payment-pill.venmo      { color: #008CFF; }
.payment-pill.check      { color: #475569; }
.payment-pill.ach        { color: #475569; }
.payment-pill.mastercard { color: #C73927; }
.payment-pill.amex       { color: #1F72CD; }
.payment-pill.discover   { color: #E76F00; }
.payment-pill.visa       { color: #1A1F71; }

@media (max-width: 640px){
  .payment-methods{ padding: 20px 14px; }
  .payment-pill{ font-size: 12.5px; padding: 6px 11px; }
}

/* ============================================================
   PAYMENT METHODS
   Responsive row of branded pills showing accepted payment options.
   Used on services, contact, discounts, homepage, and in some footers.
   ============================================================ */
.payment-methods{
  margin: 28px 0;
  padding: 24px 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  text-align: center;
}
.payment-methods .payment-title{
  margin: 0 0 14px;
  font-size: 18px;
  font-weight: 700;
  color: var(--brand);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.payment-methods .payment-sub{
  margin: 0 0 18px;
  font-size: 13.5px;
  color: var(--muted);
}
.payment-list{
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}
.payment-pill{
  display: inline-flex;
  align-items: center;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 600;
  white-space: nowrap;
  border: 1.5px solid currentColor;
  background: #fff;
  transition: transform 0.15s ease;
}
.payment-pill:hover{ transform: translateY(-1px); }
/* Brand-tinted pills */
.payment-pill.cash       { color: #047857; }
.payment-pill.cashapp    { color: #00C244; }
.payment-pill.zelle      { color: #6D1ED4; }
.payment-pill.applepay   { color: #0f172a; }
.payment-pill.googlepay  { color: #1a73e8; }
.payment-pill.taptopay   { color: #475569; }
.payment-pill.paypal     { color: #003087; }
.payment-pill.venmo      { color: #008CFF; }
.payment-pill.check      { color: #475569; }
.payment-pill.ach        { color: #475569; }
.payment-pill.mastercard { color: #C73927; }
.payment-pill.amex       { color: #1F72CD; }
.payment-pill.discover   { color: #E76F00; }
.payment-pill.visa       { color: #1A1F71; }

/* Compact variant for footer use */
.payment-methods.compact{
  padding: 14px 16px;
  margin: 0 0 16px;
}
.payment-methods.compact .payment-title{
  font-size: 14px;
  margin-bottom: 10px;
}
.payment-methods.compact .payment-pill{
  font-size: 12px;
  padding: 5px 10px;
  border-width: 1px;
}

@media (max-width: 640px){
  .payment-methods{ padding: 20px 14px; }
  .payment-pill{ font-size: 12.5px; padding: 6px 11px; }
}

/* ============================================================
   COMPLIANCE BANNER
   Compact bilingual statement + collapsible CA statutory fee table.
   ============================================================ */
.compliance-banner{
  margin: 28px 0;
  background: linear-gradient(135deg, #fbfcfe 0%, #f4f7fc 100%);
  border: 1px solid var(--border);
  border-left: 5px solid var(--brand);
  border-radius: var(--radius-lg);
  padding: 22px 24px;
  box-shadow: var(--shadow-sm);
}
.compliance-banner__header{
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.compliance-banner__badge{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  flex-shrink: 0;
}
.compliance-banner__eyebrow{
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--brand);
}
.compliance-banner__statements{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 10px;
}
.compliance-banner__lang{
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 14px;
}
.compliance-banner__lang-label{
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--muted);
  background: var(--accent-soft);
  padding: 3px 8px;
  border-radius: 999px;
  margin-bottom: 6px;
}
.compliance-banner__statement{
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--text);
  font-weight: 600;
}
.compliance-banner__details{
  margin-top: 6px;
  border-top: 1px dashed var(--border);
  padding-top: 12px;
}
.compliance-banner__details > summary{
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 0;
}
.compliance-banner__details > summary::-webkit-details-marker{ display: none; }
.compliance-banner__details > summary::after{
  content: "▾";
  font-size: 12px;
  transition: transform 0.2s ease;
}
.compliance-banner__details[open] > summary::after{ transform: rotate(180deg); }
.compliance-banner__details > summary:hover{ text-decoration: underline; }
.compliance-banner__fee-table{
  margin-top: 12px;
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.compliance-banner__fee-table th,
.compliance-banner__fee-table td{
  text-align: left;
  padding: 8px 10px;
  border-bottom: 1px solid var(--border);
}
.compliance-banner__fee-table th{
  background: var(--accent-soft);
  color: var(--brand);
  font-weight: 700;
  font-size: 13px;
}
.compliance-banner__fee-table tr:last-child td{ border-bottom: none; }
.compliance-banner__fee-table td:last-child{
  text-align: right;
  font-weight: 600;
  white-space: nowrap;
  color: var(--good);
}
.compliance-banner__footer{
  margin-top: 8px;
  font-size: 12.5px;
  color: var(--muted);
  font-style: italic;
}

@media (max-width: 720px){
  .compliance-banner{ padding: 18px 16px; }
  .compliance-banner__statements{ grid-template-columns: 1fr; gap: 10px; }
  .compliance-banner__statement{ font-size: 13.5px; }
  .compliance-banner__fee-table{ font-size: 13px; }
  .compliance-banner__fee-table th,
  .compliance-banner__fee-table td{ padding: 7px 8px; }
}

/* ============================================================
   COMPACT (ICON-ONLY) SEARCH FORM
   Magnifying glass shows by default; clicking it expands the input.
   Used in the header nav.
   ============================================================ */
.header-search.compact{
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
}
.header-search.compact .header-search-icon{
  background: transparent;
  border: 1px solid var(--border-strong);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--brand);
  transition: background 0.15s ease, color 0.15s ease;
  padding: 0;
}
.header-search.compact .header-search-icon:hover,
.header-search.compact.is-open .header-search-icon{
  background: var(--accent-soft);
  color: var(--accent);
}
.header-search.compact .header-search-icon svg{ width: 16px; height: 16px; }
.header-search.compact input[type="search"]{
  width: 0;
  padding: 0;
  border: 0;
  font-size: 14px;
  opacity: 0;
  transition: width 0.2s ease, padding 0.2s ease, opacity 0.15s ease, border-width 0.15s ease;
  border-radius: var(--radius-sm);
  background: #fff;
}
.header-search.compact.is-open input[type="search"]{
  width: 200px;
  padding: 7px 12px;
  border: 1px solid var(--border-strong);
  opacity: 1;
  margin-left: 4px;
}
.header-search.compact button[type="submit"]{ display: none; }

/* Compact language toggle — small circular button with just "ES" or "EN" */
.lang-toggle.compact{
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid var(--brand) !important;
  border-radius: 50% !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px !important;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--brand) !important;
  background: #fff !important;
  text-decoration: none !important;
  transition: background 0.15s ease, color 0.15s ease;
  margin-left: auto !important;
  line-height: 1;
}
.lang-toggle.compact:hover{
  background: var(--brand) !important;
  color: #fff !important;
  border-color: var(--brand) !important;
  text-decoration: none !important;
}
.lang-toggle.compact svg{ display: none; }
