/* Kaiser Insurance Online — redesign prototype
   Tiny Byte Studio */

:root {
  --blue:      #0071bc;   /* Kaiser-family medical blue */
  --blue-dark: #0a3d62;   /* deep navy for headings */
  --blue-800:  #0057a6;
  --sky:       #eaf3fb;   /* tint background */
  --sky-2:     #d9ecf9;
  --teal:      #17a2b8;
  --ink:       #16232e;
  --body:      #48586a;
  --muted:     #7688a0;
  --line:      #e2ebf3;
  --white:     #ffffff;
  --radius:    16px;
  --radius-sm: 10px;
  --shadow:    0 10px 30px rgba(10,61,98,.10);
  --shadow-lg: 0 24px 60px rgba(10,61,98,.16);
  --maxw:      1160px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--body);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-family: 'Sora', 'Inter', sans-serif; color: var(--ink); line-height: 1.15; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 4.4vw, 3.35rem); letter-spacing: -.02em; font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); letter-spacing: -.01em; font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 600; }
p { margin: 0 0 1rem; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }

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

/* ---- Prototype banner ---- */
.proto-banner {
  background: linear-gradient(90deg, var(--blue-dark), var(--blue));
  color: #fff; font-size: .82rem; text-align: center;
  padding: 8px 40px 8px 16px; position: relative;
}
.proto-banner strong { font-weight: 700; }
.proto-banner__close {
  position: absolute; right: 10px; top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,.18); border: 0; color: #fff;
  width: 24px; height: 24px; border-radius: 6px; cursor: pointer; font-size: 15px; line-height: 1;
}
.proto-banner__close:hover { background: rgba(255,255,255,.32); }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font-weight: 600; font-size: .95rem; padding: .8em 1.4em; border-radius: 999px;
  border: 1.5px solid transparent; cursor: pointer; transition: .18s ease; text-align: center;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn--primary { background: var(--blue); color: #fff; box-shadow: 0 6px 18px rgba(0,113,188,.32); }
.btn--primary:hover { background: var(--blue-800); }
.btn--outline { border-color: var(--blue); color: var(--blue); background: #fff; }
.btn--outline:hover { background: var(--sky); }
.btn--ghost { color: var(--ink); background: transparent; border-color: var(--line); }
.btn--ghost:hover { border-color: var(--blue); color: var(--blue); }
.btn--white { background: #fff; color: var(--blue-dark); }
.btn--ghost-light { color: #fff; border-color: rgba(255,255,255,.5); }
.btn--ghost-light:hover { background: rgba(255,255,255,.12); }
.btn--lg { padding: .95em 1.7em; font-size: 1.02rem; }
.btn--sm { padding: .55em 1em; font-size: .88rem; }
.btn--block { width: 100%; }

/* ---- Header ---- */
.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.92);
  backdrop-filter: saturate(180%) blur(10px); border-bottom: 1px solid var(--line);
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand:hover { text-decoration: none; }
.brand__mark { display: inline-flex; }
.brand__text { font-family: 'Sora', sans-serif; font-weight: 500; font-size: 1.15rem; color: var(--blue-dark); line-height: 1; letter-spacing: -.01em; }
.brand__text strong { font-weight: 800; color: var(--blue); }
.brand__text small { display: block; font-size: .62rem; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-top: 3px; }

.main-nav { display: flex; align-items: center; gap: 8px; }
.main-nav > a:not(.btn) { color: var(--ink); font-weight: 500; font-size: .95rem; padding: 8px 12px; border-radius: 8px; }
.main-nav > a:not(.btn):hover { color: var(--blue); background: var(--sky); text-decoration: none; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: .2s; }

/* ---- Hero ---- */
.hero {
  background:
    radial-gradient(1000px 480px at 88% -10%, var(--sky-2), transparent 60%),
    linear-gradient(180deg, #f7fbff, #ffffff);
  padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(2rem, 5vw, 4rem);
}
.hero__inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .74rem; font-weight: 700; color: var(--blue); margin: 0 0 .8rem; }
.eyebrow--center { text-align: center; }
.hero__lead { font-size: 1.12rem; color: var(--body); max-width: 34ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 1.6rem 0 1.2rem; }
.hero__phone { display: flex; align-items: center; gap: 10px; color: var(--blue-dark); font-weight: 500; font-size: .95rem; }
.hero__phone svg { color: var(--blue); }

/* ---- Quote card ---- */
.quote-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 28px; }
.quote-card h2 { font-size: 1.4rem; margin-bottom: .2rem; }
.quote-card__sub { font-size: .92rem; color: var(--muted); margin-bottom: 1.2rem; }
.quote-form .field { margin-bottom: 14px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.quote-form label { display: block; font-size: .8rem; font-weight: 600; color: var(--blue-dark); margin-bottom: 5px; }
.quote-form input, .quote-form select {
  width: 100%; padding: .7em .85em; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  font: inherit; font-size: .95rem; color: var(--ink); background: #fff; transition: border-color .15s;
}
.quote-form input:focus, .quote-form select:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0,113,188,.12); }
.quote-form__fine { font-size: .76rem; color: var(--muted); text-align: center; margin: .8rem 0 0; }
.quote-form__done { background: #e7f6ec; color: #1c7c3f; border-radius: var(--radius-sm); padding: .7em; text-align: center; font-weight: 600; font-size: .9rem; margin: .8rem 0 0; }

/* ---- Trust bar ---- */
.trustbar { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.trustbar__inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; padding: 22px 24px; }
.trust { text-align: center; padding: 4px 8px; }
.trust strong { display: block; font-family: 'Sora', sans-serif; font-size: 1.15rem; color: var(--blue); }
.trust span { font-size: .82rem; color: var(--muted); }

/* ---- Sections ---- */
.section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.section--tint { background: linear-gradient(180deg, #f6fbff, #eef6fd); }
.section__head { max-width: 640px; margin: 0 auto 2.6rem; text-align: center; }
.section__lead { color: var(--body); font-size: 1.05rem; }

/* ---- Cards ---- */
.cards { display: grid; gap: 22px; }
.cards--3 { grid-template-columns: repeat(3, 1fr); }
.plan-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; transition: .2s; }
.plan-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--sky-2); }
.plan-card__icon { width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; background: var(--sky); color: var(--blue); margin-bottom: 16px; }
.plan-card h3 { margin-bottom: .4rem; }
.plan-card p { font-size: .95rem; margin-bottom: 1rem; }
.link-arrow { font-weight: 600; font-size: .92rem; }

/* ---- Split sections ---- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 54px; align-items: center; }
.split--reverse .split__media { order: 2; }
.split__copy h2 { margin-bottom: .6rem; }

.check-list { list-style: none; padding: 0; margin: 1.2rem 0 1.6rem; display: grid; gap: 10px; }
.check-list li { position: relative; padding-left: 30px; color: var(--ink); }
.check-list li::before {
  content: "✓"; position: absolute; left: 0; top: 1px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--blue); color: #fff; font-size: .72rem; font-weight: 700; display: grid; place-items: center;
}

/* stacked media cards (vision/dental) */
.split__media { position: relative; min-height: 260px; }
.stack-card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px 24px; max-width: 320px; }
.stack-card__tag { display: inline-block; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--blue); background: var(--sky); padding: 3px 10px; border-radius: 999px; margin-bottom: 8px; }
.stack-card p { margin: 0; font-family: 'Sora', sans-serif; font-weight: 600; color: var(--ink); }
.stack-card--a { margin: 0 0 -24px 0; z-index: 2; }
.stack-card--b { margin-left: auto; background: var(--blue-dark); border-color: var(--blue-dark); }
.stack-card--b .stack-card__tag { background: rgba(255,255,255,.15); color: #fff; }
.stack-card--b p { color: #fff; }

/* agent card */
.agent-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; max-width: 380px; }
.agent-card__avatar { height: 150px; display: grid; place-items: center; background: linear-gradient(135deg, var(--blue), var(--blue-dark)); color: #fff; font-family: 'Sora', sans-serif; font-weight: 800; font-size: 3rem; letter-spacing: .05em; }
.agent-card__body { padding: 22px 24px 26px; }
.agent-card__body h3 { margin-bottom: 2px; }
.agent-card__role { color: var(--muted); font-size: .9rem; margin-bottom: 14px; }
.agent-card__facts { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.agent-card__facts li { display: flex; justify-content: space-between; font-size: .9rem; border-top: 1px solid var(--line); padding-top: 8px; }
.agent-card__facts span { color: var(--muted); }
.agent-card__facts strong { color: var(--ink); }

.pull-quote { margin: 1.2rem 0 1.6rem; padding: 16px 20px; border-left: 4px solid var(--blue); background: var(--sky); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; font-style: italic; color: var(--ink); }
.pull-quote cite { display: block; margin-top: 8px; font-style: normal; font-weight: 600; font-size: .88rem; color: var(--muted); }
.about-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---- Steps ---- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.step__num { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--blue); color: #fff; font-family: 'Sora', sans-serif; font-weight: 700; margin-bottom: 14px; }
.step h3 { margin-bottom: .35rem; }
.step p { font-size: .93rem; margin: 0; }

/* ---- Service areas ---- */
.area-chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 1.2rem; }
.area-chips span { background: #fff; border: 1.5px solid var(--sky-2); color: var(--blue-dark); font-weight: 600; font-size: .9rem; padding: 8px 16px; border-radius: 999px; }
.muted { color: var(--muted); font-size: .92rem; }
.map-placeholder { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.map-placeholder__note { position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%); background: rgba(10,61,98,.85); color: #fff; font-size: .72rem; padding: 4px 12px; border-radius: 999px; white-space: nowrap; }

/* ---- FAQ ---- */
.faq { display: grid; gap: 12px; }
.faq__item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; }
.faq__q {
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
  font-family: 'Sora', sans-serif; font-weight: 600; font-size: 1rem; color: var(--ink);
  padding: 18px 20px; display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq__icon { position: relative; width: 16px; height: 16px; flex: none; }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; background: var(--blue); border-radius: 2px; transition: .2s; }
.faq__icon::before { top: 7px; left: 0; width: 16px; height: 2px; }
.faq__icon::after { top: 0; left: 7px; width: 2px; height: 16px; }
.faq__item.open .faq__icon::after { transform: scaleY(0); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .28s ease; }
.faq__a p { padding: 0 20px 18px; margin: 0; font-size: .95rem; color: var(--body); }

/* ---- CTA ---- */
.cta { background: linear-gradient(120deg, var(--blue-dark), var(--blue)); color: #fff; padding: clamp(3rem, 6vw, 4.5rem) 0; }
.cta__inner { text-align: center; max-width: 660px; margin: 0 auto; }
.cta h2 { color: #fff; }
.cta p { color: rgba(255,255,255,.9); font-size: 1.08rem; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin: 1.6rem 0 1rem; }
.cta__email { font-size: .95rem; }
.cta__email a { color: #fff; font-weight: 600; text-decoration: underline; }

/* ---- Footer ---- */
.site-footer { background: #0b2233; color: #a9c2d6; padding: 52px 0 26px; }
.site-footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.brand--footer .brand__text { color: #fff; }
.brand--footer .brand__text strong { color: #4aa8e0; }
.footer-brand p { font-size: .9rem; margin: 12px 0; max-width: 30ch; }
.footer-contact a { color: #fff; font-weight: 600; }
.footer-col h4 { color: #fff; font-size: .95rem; margin-bottom: 14px; }
.footer-col a { display: block; color: #a9c2d6; font-size: .9rem; padding: 5px 0; }
.footer-col a:hover { color: #fff; }
.site-footer__fine { border-top: 1px solid rgba(255,255,255,.12); margin-top: 36px; padding-top: 20px; font-size: .78rem; color: #7c99b0; }
.site-footer__fine .disclaimer { max-width: 90ch; }

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .hero__inner, .split, .split--reverse { grid-template-columns: 1fr; gap: 32px; }
  .split--reverse .split__media { order: 0; }
  .cards--3, .steps { grid-template-columns: 1fr; }
  .trustbar__inner { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }

  .main-nav {
    position: fixed; inset: 74px 0 auto 0; background: #fff; flex-direction: column;
    align-items: stretch; padding: 16px 24px 24px; gap: 4px; border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow); transform: translateY(-140%); transition: transform .25s ease; z-index: 40;
  }
  .main-nav.open { transform: translateY(0); }
  .main-nav .btn { width: 100%; margin-top: 6px; }
  .nav-toggle { display: flex; }
}
@media (max-width: 480px) {
  .field-row { grid-template-columns: 1fr; }
  .trustbar__inner, .site-footer__grid { grid-template-columns: 1fr; }
  .hero__actions .btn { width: 100%; }
}
