/* ===================================================================
   Assistance Hub USA — Global Stylesheet
   Palette pulled from logo: deep navy + warm gold, on clean white
=================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,600;9..144,700&family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
  --navy: #16365c;
  --navy-deep: #0f2742;
  --navy-soft: #1f4a7a;
  --gold: #c79a3b;
  --gold-light: #e0bd62;
  --gold-soft: #f4ead0;
  --teal: #2f6f8f;
  --ink: #1a2433;
  --slate: #56657a;
  --mist: #f5f7fa;
  --cloud: #eef2f7;
  --line: #dde4ec;
  --white: #ffffff;
  --green: #2e8b57;

  --shadow-sm: 0 1px 3px rgba(15, 39, 66, 0.08);
  --shadow-md: 0 8px 24px rgba(15, 39, 66, 0.10);
  --shadow-lg: 0 24px 60px rgba(15, 39, 66, 0.16);
  --radius: 14px;
  --radius-lg: 22px;
  --maxw: 1180px;
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Outfit', system-ui, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.15; color: var(--navy); letter-spacing: -0.01em; }

a { color: var(--navy-soft); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--gold); }

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

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.section { padding: 92px 0; }
.section-sm { padding: 60px 0; }

.eyebrow {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}

.lead { font-size: 1.22rem; color: var(--slate); max-width: 640px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  padding: 15px 30px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn-gold { background: var(--gold); color: var(--navy-deep); box-shadow: 0 8px 20px rgba(199,154,59,.35); }
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(199,154,59,.45); color: var(--navy-deep); background: var(--gold-light); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { transform: translateY(-2px); background: var(--navy-deep); color: #fff; box-shadow: var(--shadow-md); }
.btn-ghost { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.45); }
.btn-ghost:hover { background: rgba(255,255,255,.12); color: #fff; border-color: #fff; }
.btn-block { width: 100%; justify-content: center; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 78px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 46px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 30px; list-style: none; }
.nav-links a { color: var(--ink); font-weight: 500; font-size: .98rem; position: relative; }
.nav-links a::after {
  content: ''; position: absolute; left: 0; bottom: -6px; height: 2px; width: 0;
  background: var(--gold); transition: width .25s ease;
}
.nav-links a:hover::after { width: 100%; }
.nav-cta { display: flex; align-items: center; gap: 14px; }

/* dropdown */
.dropdown { position: relative; }
.dropdown-menu {
  position: absolute; top: calc(100% + 18px); left: 50%; transform: translateX(-50%) translateY(8px);
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); padding: 12px; min-width: 480px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 4px;
  opacity: 0; visibility: hidden; transition: all .22s ease;
}
.dropdown:hover .dropdown-menu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.dropdown-menu a {
  padding: 11px 14px; border-radius: 9px; font-size: .94rem; font-weight: 500; color: var(--ink);
  display: flex; align-items: center; gap: 10px;
}
.dropdown-menu a:hover { background: var(--mist); color: var(--navy); }
.dropdown-menu a span { color: var(--gold); font-size: 1.05rem; }

.menu-toggle { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 5px; }
.menu-toggle span { width: 26px; height: 2.5px; background: var(--navy); border-radius: 2px; transition: .3s; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 55%, var(--navy-soft) 100%);
  color: #fff;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(circle at 85% 15%, rgba(199,154,59,.22), transparent 42%),
                    radial-gradient(circle at 10% 90%, rgba(47,111,143,.28), transparent 45%);
}
.hero::after {
  content: ''; position: absolute; inset: 0; opacity: .05;
  background-image: linear-gradient(rgba(255,255,255,.5) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.5) 1px, transparent 1px);
  background-size: 46px 46px;
}
.hero .container { position: relative; z-index: 2; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; padding: 96px 0; }
.hero h1 { color: #fff; font-size: clamp(2.5rem, 5vw, 4rem); margin-bottom: 22px; }
.hero h1 .accent { color: var(--gold-light); font-style: italic; }
.hero p { font-size: 1.2rem; color: rgba(255,255,255,.85); max-width: 540px; margin-bottom: 34px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-trust { display: flex; gap: 32px; margin-top: 46px; flex-wrap: wrap; }
.hero-trust .t-num { font-family: var(--font-display); font-size: 2rem; color: var(--gold-light); font-weight: 600; }
.hero-trust .t-label { font-size: .9rem; color: rgba(255,255,255,.7); }

/* ---------- Form card ---------- */
.form-card {
  background: #fff; border-radius: var(--radius-lg); padding: 34px;
  box-shadow: var(--shadow-lg); color: var(--ink);
}
.form-card h3 { font-size: 1.5rem; margin-bottom: 6px; }
.form-card .form-sub { color: var(--slate); font-size: .96rem; margin-bottom: 22px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { margin-bottom: 14px; }
.field label { display: block; font-size: .82rem; font-weight: 600; color: var(--navy); margin-bottom: 6px; }
.field input, .field select {
  width: 100%; padding: 13px 15px; border: 1.5px solid var(--line); border-radius: 10px;
  font-family: var(--font-body); font-size: .98rem; color: var(--ink); background: var(--mist);
  transition: border .2s ease, box-shadow .2s ease;
}
.field input:focus, .field select:focus {
  outline: none; border-color: var(--gold); background: #fff;
  box-shadow: 0 0 0 3px rgba(199,154,59,.15);
}
.field input.error, .field select.error { border-color: #d6453d; background: #fdf3f2; }
.err-msg { color: #d6453d; font-size: .78rem; margin-top: 4px; display: none; }
.field.invalid .err-msg { display: block; }
.form-note { font-size: .78rem; color: var(--slate); margin-top: 12px; text-align: center; line-height: 1.5; }
.form-success {
  display: none; text-align: center; padding: 30px 10px;
}
.form-success .check {
  width: 64px; height: 64px; border-radius: 50%; background: var(--green); color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 2rem; margin: 0 auto 18px;
}
.form-success h3 { color: var(--green); }

/* ---------- Trust bar ---------- */
.trust-bar { background: var(--navy-deep); color: #fff; padding: 22px 0; }
.trust-bar .container { display: flex; justify-content: center; align-items: center; gap: 48px; flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: 10px; font-size: .95rem; color: rgba(255,255,255,.88); font-weight: 500; }
.trust-item .ico { color: var(--gold-light); font-size: 1.25rem; }

/* ---------- Section headers ---------- */
.sec-head { text-align: center; max-width: 680px; margin: 0 auto 56px; }
.sec-head h2 { font-size: clamp(2rem, 3.5vw, 2.8rem); margin-bottom: 16px; }
.sec-head p { color: var(--slate); font-size: 1.1rem; }

/* ---------- Service grid ---------- */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.service-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px 28px; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  position: relative; overflow: hidden;
}
.service-card::before {
  content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light)); transform: scaleX(0); transform-origin: left; transition: transform .3s ease;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.service-card:hover::before { transform: scaleX(1); }
.service-card .s-icon {
  width: 58px; height: 58px; border-radius: 14px; display: flex; align-items: center; justify-content: center;
  background: var(--gold-soft); color: var(--navy); font-size: 1.7rem; margin-bottom: 20px;
}
.service-card h3 { font-size: 1.3rem; margin-bottom: 10px; }
.service-card p { color: var(--slate); font-size: .97rem; margin-bottom: 18px; }
.service-card .s-link { font-weight: 600; color: var(--navy); font-size: .95rem; display: inline-flex; align-items: center; gap: 6px; }
.service-card:hover .s-link { color: var(--gold); }
.service-card .s-link span { transition: transform .2s ease; }
.service-card:hover .s-link span { transform: translateX(4px); }

/* ---------- Steps / How it works ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.step { text-align: center; padding: 0 14px; }
.step .num {
  width: 64px; height: 64px; border-radius: 50%; margin: 0 auto 20px;
  display: flex; align-items: center; justify-content: center;
  background: var(--navy); color: var(--gold-light); font-family: var(--font-display); font-size: 1.6rem; font-weight: 600;
  position: relative;
}
.step h3 { font-size: 1.25rem; margin-bottom: 8px; }
.step p { color: var(--slate); font-size: .97rem; }

/* ---------- Why / features ---------- */
.feature-split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.feature-list { list-style: none; margin-top: 28px; }
.feature-list li { display: flex; gap: 16px; margin-bottom: 24px; }
.feature-list .f-ico {
  flex-shrink: 0; width: 44px; height: 44px; border-radius: 12px; background: var(--gold-soft);
  color: var(--navy); display: flex; align-items: center; justify-content: center; font-size: 1.3rem;
}
.feature-list h4 { font-size: 1.1rem; margin-bottom: 3px; font-family: var(--font-body); font-weight: 700; color: var(--ink); }
.feature-list p { color: var(--slate); font-size: .95rem; }
.feature-visual {
  background: linear-gradient(135deg, var(--navy), var(--navy-soft)); border-radius: var(--radius-lg);
  padding: 48px; color: #fff; position: relative; overflow: hidden; min-height: 380px;
  display: flex; flex-direction: column; justify-content: center;
}
.feature-visual::before {
  content: ''; position: absolute; top: -40px; right: -40px; width: 220px; height: 220px;
  border-radius: 50%; background: radial-gradient(circle, rgba(199,154,59,.3), transparent 70%);
}
.feature-visual .big-stat { font-family: var(--font-display); font-size: 3.4rem; color: var(--gold-light); line-height: 1; }
.feature-visual .stat-sub { color: rgba(255,255,255,.8); margin-bottom: 30px; }
.feature-visual blockquote { font-size: 1.3rem; line-height: 1.5; font-family: var(--font-display); font-style: italic; }
.feature-visual cite { display: block; margin-top: 18px; font-style: normal; color: var(--gold-light); font-size: .95rem; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--gold), var(--gold-light)); text-align: center; color: var(--navy-deep);
  border-radius: var(--radius-lg); padding: 64px 40px; position: relative; overflow: hidden;
}
.cta-band h2 { color: var(--navy-deep); font-size: clamp(1.8rem, 3vw, 2.6rem); margin-bottom: 14px; }
.cta-band p { color: rgba(15,39,66,.8); font-size: 1.15rem; margin-bottom: 30px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: rgba(255,255,255,.75); padding: 70px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 44px; margin-bottom: 50px; }
.footer-logo-chip { display: inline-block; background: #fff; padding: 12px 16px; border-radius: 12px; margin-bottom: 18px; }
.footer-logo-chip img { height: 48px; display: block; }
.footer-brand p { font-size: .95rem; line-height: 1.7; max-width: 320px; }
.footer-col h4 { color: #fff; font-family: var(--font-body); font-size: 1rem; font-weight: 700; margin-bottom: 18px; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 11px; }
.footer-col a { color: rgba(255,255,255,.72); font-size: .94rem; }
.footer-col a:hover { color: var(--gold-light); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12); padding-top: 26px;
  display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap;
  font-size: .86rem; color: rgba(255,255,255,.55);
}
.footer-bottom a { color: rgba(255,255,255,.6); }

/* ---------- Service page hero ---------- */
.svc-hero {
  background: linear-gradient(135deg, var(--navy-deep), var(--navy)); color: #fff; position: relative; overflow: hidden;
}
.svc-hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 90% 20%, rgba(199,154,59,.2), transparent 45%);
}
.svc-hero .container { position: relative; z-index: 2; }
.svc-hero-grid { display: grid; grid-template-columns: 1fr .82fr; gap: 56px; align-items: start; padding: 70px 0 80px; }
.svc-hero h1 { color: #fff; font-size: clamp(2.2rem, 4.2vw, 3.4rem); margin-bottom: 18px; }
.svc-hero .lead { color: rgba(255,255,255,.85); }
.breadcrumb { font-size: .85rem; color: rgba(255,255,255,.6); margin-bottom: 22px; }
.breadcrumb a { color: var(--gold-light); }
.svc-benefits { list-style: none; margin-top: 30px; display: grid; gap: 14px; }
.svc-benefits li { display: flex; gap: 12px; align-items: flex-start; color: rgba(255,255,255,.9); font-size: 1.02rem; }
.svc-benefits .ck { color: var(--gold-light); font-weight: 700; flex-shrink: 0; }

/* content sections on service pages */
.svc-body { padding: 80px 0; }
.svc-body-grid { display: grid; grid-template-columns: 1fr; gap: 50px; max-width: 820px; }
.svc-body h2 { font-size: 2rem; margin: 0 0 16px; }
.svc-body h3 { font-size: 1.35rem; margin: 26px 0 10px; }
.svc-body p { color: var(--slate); margin-bottom: 16px; }
.svc-body ul { color: var(--slate); margin: 0 0 18px 22px; }
.svc-body li { margin-bottom: 8px; }

.info-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin: 36px 0; }
.info-card { background: var(--mist); border-radius: var(--radius); padding: 26px; border: 1px solid var(--line); }
.info-card .ic-ico { font-size: 1.8rem; margin-bottom: 12px; }
.info-card h4 { font-family: var(--font-body); font-weight: 700; color: var(--ink); margin-bottom: 6px; }
.info-card p { font-size: .92rem; margin: 0; }

.faq { margin-top: 20px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; text-align: left; background: none; border: none; cursor: pointer;
  padding: 20px 0; font-family: var(--font-body); font-weight: 600; font-size: 1.08rem; color: var(--navy);
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq-q .tog { font-size: 1.4rem; color: var(--gold); transition: transform .25s ease; flex-shrink: 0; }
.faq-item.open .faq-q .tog { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; color: var(--slate); }
.faq-item.open .faq-a { max-height: 320px; }
.faq-a p { padding: 0 0 20px; margin: 0; }

/* sticky form on service pages */
.svc-form-wrap { position: sticky; top: 100px; }

/* page section tint */
.tint { background: var(--mist); }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-grid, .svc-hero-grid, .feature-split { grid-template-columns: 1fr; }
  .services-grid, .info-cards { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .svc-form-wrap { position: static; }
}
@media (max-width: 760px) {
  .nav-links { display: none; }
  .menu-toggle { display: flex; }
  .nav-links.open {
    display: flex; position: absolute; top: 78px; left: 0; right: 0; flex-direction: column;
    background: #fff; padding: 20px 24px; gap: 16px; box-shadow: var(--shadow-md); border-bottom: 1px solid var(--line);
  }
  .dropdown-menu { position: static; transform: none; min-width: auto; grid-template-columns: 1fr; box-shadow: none; border: none; padding: 0 0 0 14px; opacity: 1; visibility: visible; }
  .dropdown:hover .dropdown-menu { transform: none; }
  .steps, .services-grid, .info-cards { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  .hero-grid { padding: 60px 0; }
}
