/* ============ Vivasafe Insurance ============ */
:root {
  --navy-900: #131c36;
  --navy-800: #1b2747;
  --navy-700: #212f54;
  --navy-600: #2d3f6e;
  --blue-500: #4f86d6;
  --blue-400: #6b9bdb;
  --blue-200: #c9daf3;
  --blue-100: #e8f0fb;
  --blue-50:  #f5f8fd;
  --sand-100: #f6efe6;
  --sand-50:  #fbf8f3;
  --ink:      #111a2e;
  --text:     #3c4559;
  --muted:    #6a7386;
  --line:     #e3e8f0;
  --white:    #ffffff;
  --wa:       #25d366;
  --gold:     #f5b83d;

  --font-body: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Fraunces", Georgia, serif;

  --radius-sm: 12px;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow-sm: 0 1px 2px rgba(17, 26, 46, .05), 0 4px 12px rgba(17, 26, 46, .05);
  --shadow:    0 14px 34px -14px rgba(17, 26, 46, .25);
  --shadow-lg: 0 30px 70px -24px rgba(17, 26, 46, .35);
  --ease: cubic-bezier(.2, .7, .2, 1);

  --container: 1180px;
  --gutter: clamp(16px, 4vw, 32px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { color: var(--ink); line-height: 1.15; margin: 0 0 .5em; }
h1, h2 { font-family: var(--font-display); font-weight: 600; letter-spacing: -.015em; }
h1 em, h2 em { font-style: italic; font-weight: 500; color: var(--blue-500); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.12rem; font-weight: 700; }
p { margin: 0 0 1em; }
svg { width: 1em; height: 1em; flex-shrink: 0; }
button { font: inherit; }

[hidden] { display: none !important; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.eyebrow {
  display: inline-block; margin: 0 0 12px;
  font-size: .76rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--blue-500);
}
.eyebrow--light { color: var(--blue-200); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: 14px 24px; border-radius: 999px; border: 1.5px solid transparent;
  font: 600 .96rem/1.1 var(--font-body); cursor: pointer; white-space: nowrap;
  transition: transform .2s var(--ease), box-shadow .2s, background .2s, color .2s, border-color .2s;
}
.btn svg { width: 1.15em; height: 1.15em; transition: transform .2s var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn:hover svg:last-child { transform: translateX(3px); }
.btn:active { transform: translateY(0); }
.btn--sm { padding: 10px 18px; font-size: .88rem; }
.btn--lg { padding: 17px 30px; font-size: 1.02rem; }
.btn--block { width: 100%; }
.btn--primary { background: var(--navy-700); color: var(--white); box-shadow: 0 10px 22px -10px rgba(33, 47, 84, .7); }
.btn--primary:hover { background: var(--navy-600); }
.btn--outline { background: var(--white); color: var(--navy-700); border-color: var(--line); }
.btn--outline:hover { border-color: var(--navy-700); }
.btn--light { background: var(--white); color: var(--navy-800); }
.btn--light:hover { background: var(--blue-100); }
.btn--wa { background: var(--wa); color: #053a1c; }
.btn--wa:hover { background: #1fc15d; }
.btn--text { background: transparent; color: var(--muted); padding-left: 6px; padding-right: 6px; }
.btn--text:hover { color: var(--navy-700); transform: none; }
.btn--text:hover svg:last-child { transform: none; }
:focus-visible { outline: 3px solid var(--blue-400); outline-offset: 3px; }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--blue-500); }
.link-arrow svg { width: 18px; height: 18px; transition: transform .2s; }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Top bar ---------- */
.topbar { background: var(--navy-900); color: #c3cde3; font-size: .82rem; }
.topbar__inner { display: flex; align-items: center; gap: 26px; min-height: 38px; }
.topbar__item { display: inline-flex; align-items: center; gap: 8px; }
.topbar__item svg { color: var(--blue-400); }
a.topbar__item:hover { color: var(--white); }
.topbar__lang-note { margin-left: auto; color: var(--blue-200); font-weight: 600; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .9);
  backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .25s, box-shadow .25s;
}
.header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 8px 24px -18px rgba(17, 26, 46, .4); }
.header__inner { display: flex; align-items: center; gap: 24px; min-height: 74px; }

.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--navy-700); }
.brand__icon { width: 40px; height: 40px; color: var(--blue-400); }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name {
  font-weight: 700; font-size: 1.32rem; letter-spacing: .04em;
  background: linear-gradient(90deg, var(--navy-700) 35%, var(--blue-400) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.brand__sub { font-size: .7rem; letter-spacing: .32em; text-transform: uppercase; color: var(--blue-500); margin-top: 4px; }

.nav { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.nav > a:not(.btn) {
  position: relative; padding: 9px 14px; border-radius: 999px;
  font-weight: 500; color: var(--text); transition: background .2s, color .2s;
}
.nav > a:not(.btn):hover { background: var(--blue-50); color: var(--navy-700); }
.nav > a.is-active { color: var(--navy-700); font-weight: 700; background: var(--blue-100); }
.nav__quote { display: none; }

.header__actions { display: flex; align-items: center; gap: 12px; }
.lang { display: inline-flex; background: var(--blue-50); border: 1px solid var(--line); border-radius: 999px; padding: 3px; }
.lang a {
  font: 700 .72rem/1 var(--font-body); letter-spacing: .06em; color: var(--muted);
  padding: 7px 10px; border-radius: 999px; transition: background .2s, color .2s;
}
.lang a[aria-current="true"] { background: var(--navy-700); color: var(--white); }

.menu-toggle { display: none; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; padding: 10px; }
.menu-toggle span { display: block; height: 2px; background: var(--navy-700); border-radius: 2px; margin: 5px 0; transition: transform .25s, opacity .25s; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Home hero ---------- */
.home-hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(700px 420px at 90% 20%, rgba(107, 155, 219, .22), transparent 70%),
    radial-gradient(600px 400px at 0% 90%, rgba(246, 239, 230, .9), transparent 70%),
    linear-gradient(180deg, var(--blue-50), var(--white));
}
.home-hero__inner {
  display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(32px, 5vw, 64px); align-items: center;
  padding-top: clamp(40px, 6vw, 72px); padding-bottom: clamp(110px, 12vw, 150px);
}
.hello {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 22px;
  padding: 6px 16px 6px 6px; border-radius: 999px; background: var(--white);
  box-shadow: var(--shadow-sm); font-weight: 600; font-size: .9rem; color: var(--navy-700);
}
.hello img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; }
.home-hero h1 { font-size: clamp(2.5rem, 5.6vw, 4.3rem); margin-bottom: 20px; }
.rotator { display: block; color: var(--blue-500); font-style: italic; font-weight: 500; position: relative; min-height: 1.15em; }
.rotator__word { display: inline-block; position: relative; transition: opacity .35s var(--ease), transform .35s var(--ease); }
.rotator__word::after {
  content: ""; position: absolute; left: 2%; right: 2%; bottom: -.04em; height: .16em;
  background: var(--blue-200); border-radius: 99px; z-index: -1; opacity: .7;
}
.rotator.is-out .rotator__word { opacity: 0; transform: translateY(-.35em); }
.rotator.is-in .rotator__word { opacity: 0; transform: translateY(.35em); transition: none; }
.home-hero__lead { font-size: 1.12rem; max-width: 32em; }
.home-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

.home-hero__visual { position: relative; justify-self: center; width: min(100%, 440px); }
.home-hero__visual::before {
  content: ""; position: absolute; inset: 8% -6% -4% 6%;
  background: linear-gradient(160deg, var(--blue-200), var(--sand-100));
  border-radius: 240px 240px 36px 36px; transform: rotate(4deg);
}
.home-hero__photo { position: relative; border-radius: 240px 240px 32px 32px; overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4 / 5; }
.home-hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 12%; }

.float-card {
  position: absolute; display: flex; align-items: center; gap: 10px;
  padding: 12px 16px; border-radius: 16px; background: var(--white);
  box-shadow: var(--shadow); font-size: .84rem; font-weight: 600; color: var(--ink); line-height: 1.25;
  animation: float 6s ease-in-out infinite;
}
.float-card--reviews { top: 12%; left: -14%; flex-direction: column; align-items: flex-start; gap: 4px; }
.float-card__stars { display: flex; gap: 2px; color: var(--gold); }
.float-card__stars svg { width: 15px; height: 15px; }
.float-card--years { right: -10%; top: 46%; animation-delay: -2s; flex-direction: column; align-items: flex-start; gap: 0; max-width: 130px; }
.float-card--years strong { font-family: var(--font-display); font-size: 2rem; color: var(--navy-700); line-height: 1; }
.float-card--years > span { font-size: .78rem; color: var(--muted); }
.float-card--license { bottom: 8%; left: -10%; max-width: 230px; animation-delay: -4s; }
.float-card__icon { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--blue-100); color: var(--navy-700); flex-shrink: 0; }
.float-card__icon svg { width: 20px; height: 20px; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* ---------- Insurance picker ---------- */
.picker { position: relative; margin-top: clamp(-90px, -8vw, -70px); z-index: 2; }
.picker__box { background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: clamp(24px, 3.5vw, 40px); }
.picker__head { text-align: center; margin-bottom: 26px; }
.picker__head h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-bottom: 4px; }
.picker__head p { color: var(--muted); margin: 0; }
.picker__grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.pick {
  position: relative; display: flex; flex-direction: column; gap: 6px;
  padding: 22px 18px 20px; border-radius: var(--radius); border: 1.5px solid var(--line); background: var(--white);
  transition: transform .25s var(--ease), border-color .25s, box-shadow .25s, background .25s;
}
.pick__icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 8px;
  background: var(--blue-100); color: var(--navy-700); transition: background .25s, color .25s, transform .25s var(--ease);
}
.pick__icon svg { width: 28px; height: 28px; }
.pick__name { font-weight: 700; color: var(--ink); font-size: 1.04rem; }
.pick__text { font-size: .84rem; color: var(--muted); line-height: 1.45; }
.pick__go {
  position: absolute; top: 18px; right: 16px; width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center; background: var(--blue-50); color: var(--navy-700);
  opacity: 0; transform: translateX(-6px); transition: opacity .25s, transform .25s var(--ease);
}
.pick__go svg { width: 16px; height: 16px; }
.pick:hover { transform: translateY(-6px); border-color: var(--blue-400); box-shadow: var(--shadow); }
.pick:hover .pick__icon { background: var(--navy-700); color: var(--white); transform: rotate(-6deg); }
.pick:hover .pick__go { opacity: 1; transform: none; }

/* ---------- Sections ---------- */
.section { padding: clamp(70px, 9vw, 110px) 0; }
.section--tight { padding-top: clamp(40px, 5vw, 60px); }
.section--tint { background: var(--blue-50); }
.section--navy {
  background:
    radial-gradient(700px 400px at 100% 0%, rgba(107, 155, 219, .25), transparent 70%),
    var(--navy-800);
  color: #c9d3e8;
}
.section__head { max-width: 700px; margin: 0 auto clamp(36px, 5vw, 56px); text-align: center; }
.section__head--light h2 { color: var(--white); }
.center-action { text-align: center; margin-top: 44px; }

/* Features */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.feature { padding: 30px 26px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); transition: transform .25s var(--ease), box-shadow .25s; }
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feature__icon {
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 18px;
  background: linear-gradient(135deg, var(--blue-100), var(--sand-100)); color: var(--navy-700);
}
.feature__icon svg { width: 26px; height: 26px; }
.feature p { color: var(--muted); font-size: .95rem; margin: 0; }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: step; }
.step { position: relative; padding: 34px 28px 30px; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.step__num {
  display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 18px;
  border-radius: 14px; background: var(--navy-700); color: var(--white);
  font-family: var(--font-display); font-size: 1.4rem; font-weight: 600;
}
.step:not(:last-child)::after {
  content: ""; position: absolute; top: 58px; right: -22px; width: 22px; height: 2px;
  background: repeating-linear-gradient(90deg, var(--blue-400) 0 6px, transparent 6px 10px);
}
.step p { color: var(--muted); margin: 0; }

/* Reviews slider */
.slider { max-width: 820px; margin: 0 auto; }
.slider__track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; gap: 24px; }
.slider__track::-webkit-scrollbar { display: none; }
.slider__slide { flex: 0 0 100%; scroll-snap-align: center; }
.review {
  position: relative; margin: 0; padding: clamp(28px, 4vw, 44px);
  border-radius: var(--radius-lg); background: rgba(255, 255, 255, .06); border: 1px solid rgba(201, 218, 243, .16);
}
.review__mark { position: absolute; top: 24px; right: 28px; width: 56px; height: 56px; color: rgba(107, 155, 219, .25); }
.review__stars { display: flex; gap: 3px; color: var(--gold); margin-bottom: 18px; }
.review__stars svg { width: 18px; height: 18px; }
.review blockquote { margin: 0 0 26px; color: #eef2fa; font-size: clamp(1.02rem, 1.6vw, 1.2rem); line-height: 1.7; }
.review figcaption { display: flex; align-items: center; gap: 14px; }
.review__avatar { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--blue-400); color: var(--navy-900); font-weight: 700; }
.review figcaption strong { display: block; color: var(--white); }
.review figcaption small { color: var(--blue-200); }
.slider__dots { display: flex; justify-content: center; gap: 10px; margin-top: 26px; }
.slider__dots button { width: 10px; height: 10px; padding: 0; border: 0; border-radius: 99px; background: rgba(201, 218, 243, .35); cursor: pointer; transition: width .3s var(--ease), background .3s; }
.slider__dots button[aria-selected="true"] { width: 30px; background: var(--blue-400); }

/* FAQ */
.faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.faq-wrap__head { position: sticky; top: 110px; }
.faq { display: grid; gap: 12px; }
.faq__item { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); transition: box-shadow .25s, border-color .25s; }
.faq__item[open] { box-shadow: var(--shadow-sm); border-color: var(--blue-200); }
.faq__item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 20px 22px; cursor: pointer; list-style: none; font-weight: 700; color: var(--ink);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__icon { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0; background: var(--blue-50); color: var(--navy-700); transition: transform .3s var(--ease), background .3s, color .3s; }
.faq__icon svg { width: 16px; height: 16px; }
.faq__item[open] .faq__icon { transform: rotate(45deg); background: var(--navy-700); color: var(--white); }
.faq__answer { padding: 0 22px 20px; color: var(--muted); }
.faq__answer p { margin: 0; }

/* CTA band */
.cta-band { padding: 0 0 clamp(70px, 9vw, 100px); }
.section--tint + .cta-band, .section--navy + .cta-band { padding-top: clamp(70px, 9vw, 100px); }
.cta-band__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap;
  padding: clamp(32px, 5vw, 52px); border-radius: var(--radius-lg);
  background:
    radial-gradient(500px 300px at 100% 0%, rgba(107, 155, 219, .45), transparent 70%),
    linear-gradient(135deg, var(--navy-700), var(--navy-900));
  color: #c9d3e8;
}
.cta-band__inner h2 { color: var(--white); margin-bottom: 6px; }
.cta-band__inner p { margin: 0; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Inner page hero ---------- */
.page-hero {
  background:
    radial-gradient(600px 300px at 85% 0%, rgba(107, 155, 219, .2), transparent 70%),
    linear-gradient(180deg, var(--blue-50), var(--white));
  padding: clamp(48px, 7vw, 84px) 0 clamp(20px, 3vw, 30px);
  text-align: center;
}
.page-hero__inner { max-width: 780px; }
.page-hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.4rem); }
.page-hero__lead { font-size: 1.1rem; color: var(--muted); max-width: 36em; margin: 0 auto; }

/* ---------- Tabs (insurance page) ---------- */
.tabs__list {
  display: flex; gap: 8px; justify-content: center; flex-wrap: wrap;
  padding: 8px; margin: 0 auto 32px; width: fit-content; max-width: 100%;
  background: var(--blue-50); border: 1px solid var(--line); border-radius: 999px;
}
.tabs__tab {
  display: inline-flex; align-items: center; gap: 8px; padding: 11px 20px;
  border: 0; border-radius: 999px; background: transparent; cursor: pointer;
  font-weight: 600; color: var(--text); transition: background .25s, color .25s, box-shadow .25s;
}
.tabs__tab svg { width: 20px; height: 20px; }
.tabs__tab:hover { color: var(--navy-700); background: var(--white); }
.tabs__tab[aria-selected="true"] { background: var(--navy-700); color: var(--white); box-shadow: 0 8px 18px -8px rgba(33, 47, 84, .7); }
.tabs__panel { animation: panel-in .45s var(--ease); }
@keyframes panel-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

.ins-detail { display: grid; grid-template-columns: 1.4fr .9fr; gap: 28px; align-items: start; }
.ins-detail__main { padding: clamp(28px, 4vw, 44px); border-radius: var(--radius-lg); border: 1px solid var(--line); }
.ins-detail__icon { width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; margin-bottom: 18px; background: var(--blue-100); color: var(--navy-700); }
.ins-detail__icon svg { width: 34px; height: 34px; }
.ins-detail__lead { font-size: 1.08rem; margin-bottom: 28px; }
.checklist { list-style: none; margin: 14px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 20px; }
.checklist li { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; color: var(--ink); }
.checklist svg { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: var(--blue-100); color: var(--navy-700); fill: currentColor; margin-top: 1px; }
.ins-detail__side {
  position: sticky; top: 100px; display: grid; gap: 12px;
  padding: 28px; border-radius: var(--radius-lg); background: linear-gradient(160deg, var(--blue-50), var(--sand-50));
  border: 1px solid var(--line);
}
.pill-list { list-style: none; padding: 0; margin: 0 0 10px; display: flex; flex-wrap: wrap; gap: 8px; }
.pill-list li { padding: 8px 14px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); font-size: .88rem; font-weight: 500; }

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: minmax(0, 440px) 1fr; gap: clamp(40px, 7vw, 90px); align-items: start; }
.about__photo { position: relative; margin: 0; position: sticky; top: 110px; }
.about__photo::before { content: ""; position: absolute; inset: 26px -18px -18px 26px; border-radius: var(--radius-lg); background: linear-gradient(160deg, var(--blue-200), var(--sand-100)); z-index: -1; }
.about__photo img { border-radius: var(--radius-lg); aspect-ratio: 1 / 1.1; object-fit: cover; object-position: 50% 26%; width: 100%; height: auto; box-shadow: var(--shadow); }
.about__copy { padding-top: 12px; }
.about__badge {
  position: absolute; left: -22px; bottom: 34px; display: flex; align-items: center; gap: 14px; max-width: 250px;
  padding: 16px 20px; background: var(--navy-700); color: #d6deef; border-radius: var(--radius); box-shadow: var(--shadow);
  font-size: .86rem; line-height: 1.35;
}
.about__badge strong { font-family: var(--font-display); font-size: 2.2rem; color: var(--white); line-height: 1; }
.about__lead { font-size: 1.15rem; color: var(--ink); }
.about__sign { font-family: var(--font-display); font-style: italic; font-size: 1.8rem; color: var(--navy-700); margin: 26px 0 0; }
.about__role { color: var(--muted); font-size: .9rem; }
.about__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 10px; }

.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.value { padding: 32px 28px; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.value p { color: var(--muted); margin: 0; }
.big-quote { max-width: 820px; margin: clamp(48px, 6vw, 72px) auto 0; text-align: center; }
.big-quote svg { width: 48px; height: 48px; color: var(--blue-200); margin: 0 auto 12px; }
.big-quote p { font-family: var(--font-display); font-style: italic; font-size: clamp(1.35rem, 2.6vw, 1.9rem); line-height: 1.4; color: var(--navy-700); margin: 0; }

/* ---------- Contact ---------- */
.contact-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.contact-card {
  display: flex; flex-direction: column; gap: 4px; padding: 28px 24px;
  border-radius: var(--radius); border: 1.5px solid var(--line); background: var(--white);
  transition: transform .25s var(--ease), box-shadow .25s, border-color .25s;
}
.contact-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--blue-200); }
.contact-card__icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 14px; background: var(--blue-100); color: var(--navy-700); transition: transform .25s var(--ease); }
.contact-card:hover .contact-card__icon { transform: scale(1.08) rotate(-6deg); }
.contact-card__icon svg { width: 26px; height: 26px; }
.contact-card--whatsapp .contact-card__icon { background: #dcf8e6; color: #12884a; }
.contact-card__title { font-weight: 700; color: var(--ink); font-size: 1.08rem; }
.contact-card__text { color: var(--muted); font-size: .9rem; }
.contact-card__value { margin-top: 10px; font-weight: 700; color: var(--blue-500); font-size: .92rem; word-break: break-word; }

.office {
  display: grid; grid-template-columns: .9fr 1.1fr; margin-top: 40px; overflow: hidden;
  border-radius: var(--radius-lg); background: var(--blue-50); border: 1px solid var(--line);
}
.office__info { padding: clamp(28px, 4vw, 48px); }
.office__address { display: flex; gap: 12px; align-items: flex-start; font-weight: 700; color: var(--ink); font-size: 1.08rem; }
.office__address svg { width: 22px; height: 22px; color: var(--blue-500); margin-top: 3px; }
.office__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.office__map { min-height: 380px; }
.office__map iframe { width: 100%; height: 100%; min-height: 380px; border: 0; display: block; }

/* ---------- Quote wizard ---------- */
.quote-page {
  background:
    radial-gradient(700px 400px at 100% 0%, rgba(107, 155, 219, .18), transparent 70%),
    linear-gradient(180deg, var(--blue-50), var(--white) 70%);
  padding: clamp(40px, 6vw, 72px) 0 clamp(70px, 9vw, 100px);
}
.quote-page__inner { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.quote-page__intro { position: sticky; top: 110px; }
.quote-page__intro h1 { font-size: clamp(2.1rem, 4vw, 3.1rem); }
.quote-page__intro > p { font-size: 1.08rem; }
.quote-help { display: flex; gap: 16px; margin-top: 30px; padding: 20px; border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow-sm); }
.quote-help img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.quote-help strong { color: var(--ink); }
.quote-help p { font-size: .92rem; color: var(--muted); margin: 4px 0 12px; }
.quote-help__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-link { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; background: var(--blue-50); color: var(--navy-700); font-weight: 600; font-size: .86rem; }
.chip-link svg { width: 16px; height: 16px; }
.chip-link:hover { background: var(--blue-100); }
.chip-link--wa { background: #dcf8e6; color: #0f7a41; }
.chip-link--wa:hover { background: #c6f2d6; }

.wizard { background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: clamp(24px, 4vw, 44px); }
.wizard__progress { height: 6px; border-radius: 99px; background: var(--blue-100); overflow: hidden; }
.wizard__bar { display: block; height: 100%; width: 33.3%; border-radius: inherit; background: linear-gradient(90deg, var(--blue-400), var(--navy-700)); transition: width .5s var(--ease); }
.wizard__count { margin: 10px 0 24px; font-size: .82rem; font-weight: 600; color: var(--muted); }
.wizard__form fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.wizard__step { display: none; }
.wizard__step.is-active { display: block; animation: panel-in .45s var(--ease); }
.wizard__title { font-family: var(--font-display); font-size: clamp(1.5rem, 2.6vw, 1.9rem); font-weight: 600; color: var(--ink); line-height: 1.2; padding: 0; margin-bottom: 4px; }
.wizard__sub { color: var(--muted); margin-bottom: 24px; }
.wizard__error { margin: 14px 0 0; color: #b42318; font-weight: 600; font-size: .9rem; }
.wizard__error:empty { display: none; }

.type-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.type-option { flex: 0 1 calc((100% - 24px) / 3); min-width: 0; }
.type-option input, .chip input { position: absolute; opacity: 0; pointer-events: none; }
.type-option__box {
  position: relative; display: flex; flex-direction: column; align-items: center; gap: 10px;
  padding: 24px 14px; border-radius: var(--radius); border: 1.5px solid var(--line); cursor: pointer; text-align: center;
  transition: border-color .2s, background .2s, transform .2s var(--ease), box-shadow .2s;
}
.type-option__box:hover { border-color: var(--blue-400); transform: translateY(-3px); }
.type-option__icon { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: var(--blue-100); color: var(--navy-700); transition: background .2s, color .2s; }
.type-option__icon svg { width: 30px; height: 30px; }
.type-option__name { font-weight: 700; color: var(--ink); }
.type-option__check {
  position: absolute; top: 10px; right: 10px; width: 24px; height: 24px; border-radius: 50%;
  display: grid; place-items: center; background: var(--navy-700); color: var(--white);
  transform: scale(0); transition: transform .25s var(--ease);
}
.type-option__check svg { width: 14px; height: 14px; fill: currentColor; }
.type-option input:checked + .type-option__box { border-color: var(--navy-700); background: var(--blue-50); box-shadow: 0 0 0 4px rgba(107, 155, 219, .18); }
.type-option input:checked + .type-option__box .type-option__icon { background: var(--navy-700); color: var(--white); }
.type-option input:checked + .type-option__box .type-option__check { transform: scale(1); }
.type-option input:focus-visible + .type-option__box { outline: 3px solid var(--blue-400); outline-offset: 2px; }

.question { margin-bottom: 24px; }
.question__label { font-weight: 700; color: var(--ink); margin-bottom: 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip span {
  display: inline-block; padding: 11px 18px; border-radius: 999px; border: 1.5px solid var(--line);
  font-weight: 600; font-size: .94rem; color: var(--text); cursor: pointer; background: var(--white);
  transition: border-color .2s, background .2s, color .2s, transform .15s;
}
.chip span:hover { border-color: var(--blue-400); }
.chip input:checked + span { background: var(--navy-700); border-color: var(--navy-700); color: var(--white); transform: scale(1.03); }
.chip input:focus-visible + span { outline: 3px solid var(--blue-400); outline-offset: 2px; }
.chips--sm .chip span { padding: 9px 14px; font-size: .88rem; }
.question.is-invalid .chip span { border-color: #e8a5a0; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 7px; font-size: .86rem; font-weight: 600; color: var(--ink); align-content: start; }
.field--full { grid-column: 1 / -1; }
.field input, .field textarea {
  width: 100%; font: 500 1rem var(--font-body); color: var(--ink);
  padding: 13px 15px; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  background: var(--blue-50); transition: border-color .2s, background .2s, box-shadow .2s; resize: vertical;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blue-400); background: var(--white); box-shadow: 0 0 0 4px rgba(107, 155, 219, .18); }
.field.is-invalid input { border-color: #d64545; background: #fff6f6; }

.wizard__nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--line); }
.wizard__nav [data-next], .wizard__nav [data-submit] { margin-left: auto; }
.wizard__privacy { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 18px 0 0; font-size: .84rem; color: var(--muted); }
.wizard__privacy svg { width: 18px; height: 18px; color: var(--blue-500); }
.wizard.is-sending [data-submit] { opacity: .7; pointer-events: none; }

.wizard__done { text-align: center; padding: 20px 0; animation: panel-in .5s var(--ease); }
.wizard__done-icon {
  width: 84px; height: 84px; margin: 0 auto 20px; border-radius: 50%; display: grid; place-items: center;
  background: #dcf8e6; color: #12884a; animation: pop .6s var(--ease);
}
.wizard__done-icon svg { width: 42px; height: 42px; fill: currentColor; }
.wizard__done p { color: var(--muted); max-width: 30em; margin: 0 auto 24px; }
.wizard__done-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
@keyframes pop { 0% { transform: scale(.4); opacity: 0; } 60% { transform: scale(1.12); opacity: 1; } 100% { transform: scale(1); } }

/* ---------- Footer ---------- */
.footer { background: var(--navy-900); color: #9eabc6; padding: 64px 0 0; font-size: .92rem; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 36px; }
.brand--footer { color: var(--white); margin-bottom: 16px; }
.brand--footer .brand__name { background: none; color: var(--white); }
.brand--footer .brand__sub { color: var(--blue-400); }
.footer__brand p { max-width: 30em; }
.footer__title { font-family: var(--font-body); font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--white); margin-bottom: 16px; }
.footer__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer__list a:hover { color: var(--white); }
.footer__list--icons li { display: flex; gap: 10px; align-items: flex-start; }
.footer__list--icons svg { width: 16px; height: 16px; margin-top: 4px; color: var(--blue-400); }
.footer__list--icons a { word-break: break-word; }
.footer__bottom { margin-top: 48px; padding-top: 22px; padding-bottom: 26px; border-top: 1px solid rgba(201, 218, 243, .12); font-size: .84rem; }
.footer__bottom p { margin: 0; }

/* ---------- Floating WhatsApp ---------- */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 60;
  display: inline-flex; align-items: center; gap: 10px; height: 58px; padding: 0 20px 0 16px; border-radius: 999px;
  background: var(--wa); color: var(--white); box-shadow: 0 12px 28px -8px rgba(18, 140, 70, .6);
  transition: transform .2s var(--ease);
}
.wa-float svg { width: 28px; height: 28px; }
.wa-float__label { font-weight: 700; font-size: .95rem; }
.wa-float:hover { transform: translateY(-3px) scale(1.03); }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: inherit; animation: wa-pulse 2.8s infinite; }
@keyframes wa-pulse { 0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, .5); } 70%, 100% { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); } }

/* ---------- Reveal on scroll ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }

/* ============ Interactive effects ============ */

/* Smooth page-to-page transitions (browsers that support it) */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out .25s ease both; }
::view-transition-new(root) { animation: vt-in .4s var(--ease) both; }
@keyframes vt-out { to { opacity: 0; transform: translateY(-8px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(12px); } }

/* Reading progress */
.scroll-progress {
  position: fixed; top: 0; left: 0; z-index: 100; height: 3px; width: 100%;
  background: linear-gradient(90deg, var(--blue-400), var(--navy-700));
  transform-origin: left; transform: scaleX(0);
}

/* Animated background blobs in the home hero */
.blobs { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.blobs span { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; animation: blob 18s ease-in-out infinite; }
.blobs span:nth-child(1) { width: 420px; height: 420px; background: #cfe0f7; top: -120px; left: 30%; }
.blobs span:nth-child(2) { width: 360px; height: 360px; background: #f3e6d6; bottom: -80px; left: -60px; animation-delay: -6s; }
.blobs span:nth-child(3) { width: 300px; height: 300px; background: #dbe7fa; top: 30%; right: -60px; animation-delay: -12s; }
@keyframes blob {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(40px, -30px) scale(1.08); }
  66% { transform: translate(-30px, 20px) scale(.95); }
}
.home-hero__inner { position: relative; }

/* Mouse parallax in the hero (JS sets --mx / --my between -1 and 1) */
.home-hero__visual { --mx: 0; --my: 0; }
.home-hero__photo { transform: translate(calc(var(--mx) * -8px), calc(var(--my) * -8px)); transition: transform .3s ease-out; }
.float-card { translate: calc(var(--mx) * 18px) calc(var(--my) * 14px); transition: translate .3s ease-out; }
.float-card--years { translate: calc(var(--mx) * -22px) calc(var(--my) * -16px); }

/* 3D tilt + spotlight that follows the cursor (JS sets --rx, --ry, --px, --py) */
[data-tilt] { --rx: 0deg; --ry: 0deg; --px: 50%; --py: 50%; position: relative; transform-style: preserve-3d; }
[data-tilt].is-tilting { transform: perspective(800px) rotateX(var(--rx)) rotateY(var(--ry)) translateY(-6px); transition: transform .08s linear, box-shadow .25s, border-color .25s; }
[data-tilt]::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(260px circle at var(--px) var(--py), rgba(107, 155, 219, .16), transparent 60%);
  opacity: 0; transition: opacity .3s;
}
[data-tilt]:hover::after { opacity: 1; }

/* Button ripple */
.btn, .chip span, .tabs__tab { position: relative; overflow: hidden; }
.ripple {
  position: absolute; border-radius: 50%; pointer-events: none;
  background: rgba(255, 255, 255, .45); transform: scale(0); animation: ripple .6s ease-out forwards;
}
.btn--outline .ripple, .btn--light .ripple, .chip .ripple { background: rgba(33, 47, 84, .15); }
@keyframes ripple { to { transform: scale(2.6); opacity: 0; } }

/* Words appearing one by one in section titles */
.split-word { display: inline-block; opacity: 0; transform: translateY(.45em) rotate(2deg); transition: opacity .5s var(--ease), transform .6s var(--ease); }
.is-split.is-visible .split-word { opacity: 1; transform: none; }

/* Moving band */
.marquee { overflow: hidden; padding: 26px 0; margin-top: clamp(40px, 6vw, 70px); border-block: 1px solid var(--line); background: var(--sand-50); }
.marquee__track { display: flex; width: max-content; gap: 48px; animation: marquee 32s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item { display: inline-flex; align-items: center; gap: 12px; font-family: var(--font-display); font-size: clamp(1.15rem, 2vw, 1.5rem); color: var(--navy-700); white-space: nowrap; }
.marquee__item svg { width: 26px; height: 26px; color: var(--blue-400); }
.marquee__item::after { content: "✦"; margin-left: 36px; color: var(--blue-200); font-size: .9em; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Back to top */
.to-top {
  position: fixed; right: 26px; bottom: 92px; z-index: 59; width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid var(--line); background: var(--white); color: var(--navy-700); cursor: pointer; box-shadow: var(--shadow);
  display: grid; place-items: center; opacity: 0; transform: translateY(12px); pointer-events: none;
  transition: opacity .3s, transform .3s var(--ease), background .2s, color .2s;
}
.to-top svg { width: 20px; height: 20px; transform: rotate(-90deg); }
.to-top.is-shown { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--navy-700); color: var(--white); }

/* FAQ answer slides open */
.faq__answer { animation: faq-open .35s var(--ease); }
@keyframes faq-open { from { opacity: 0; transform: translateY(-6px); } }

/* Confetti on quote success */
.confetti { position: fixed; inset: 0; pointer-events: none; z-index: 120; overflow: hidden; }
.confetti i {
  position: absolute; top: -12px; width: 9px; height: 14px; border-radius: 2px; opacity: .95;
  animation: confetti-fall var(--d, 2.6s) cubic-bezier(.25, .6, .4, 1) forwards;
}
@keyframes confetti-fall {
  to { transform: translate(var(--x, 0), 105vh) rotate(var(--r, 540deg)); opacity: .9; }
}

/* Selected insurance tile gets a little bounce */
.type-option input:checked + .type-option__box { animation: pop-sm .4s var(--ease); }
@keyframes pop-sm { 50% { transform: scale(1.05); } }

/* Underline sweep on nav links */
.nav > a:not(.btn)::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 5px; height: 2px; border-radius: 2px;
  background: var(--blue-400); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.nav > a:not(.btn):hover::after { transform: scaleX(1); }
.nav > a.is-active::after { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .picker__grid { grid-template-columns: repeat(3, 1fr); }
  .features { grid-template-columns: repeat(2, 1fr); }
  .contact-cards { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .float-card--reviews { left: -4%; }
  .float-card--license { left: -4%; }
  .float-card--years { right: -4%; }
}

@media (max-width: 920px) {
  .menu-toggle { display: block; }
  .header__cta { display: none; }
  .header__actions { margin-left: auto; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 4px; margin: 0; padding: 12px var(--gutter) 20px;
    background: var(--white); border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    transform: translateY(-10px); opacity: 0; visibility: hidden; transition: transform .25s, opacity .25s, visibility .25s;
  }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav > a:not(.btn) { padding: 13px 16px; font-size: 1.05rem; border-radius: var(--radius-sm); }
  .nav__quote { display: inline-flex; margin-top: 8px; }

  .home-hero__inner { grid-template-columns: 1fr; text-align: center; }
  .home-hero__lead { margin-left: auto; margin-right: auto; }
  .home-hero__actions { justify-content: center; }
  .home-hero__visual { width: min(82%, 380px); }
  .faq-wrap, .about, .ins-detail, .office, .quote-page__inner { grid-template-columns: 1fr; }
  .faq-wrap__head, .ins-detail__side, .quote-page__intro { position: static; }
  .about__photo { position: relative; top: auto; width: 100%; max-width: 420px; margin: 0 auto; }
  .steps { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
  .step:not(:last-child)::after { top: auto; bottom: -22px; right: auto; left: 52px; width: 2px; height: 22px; background: repeating-linear-gradient(180deg, var(--blue-400) 0 6px, transparent 6px 10px); }
  .values { grid-template-columns: 1fr; }
  .quote-help { display: none; }
  .quote-page__intro { text-align: center; }
}

@media (max-width: 640px) {
  .topbar__hide-sm { display: none; }
  .picker__grid { grid-template-columns: 1fr 1fr; }
  .pick { padding: 18px 14px; }
  .pick__text { display: none; }
  .pick:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .features, .contact-cards { grid-template-columns: 1fr; }
  .checklist { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .home-hero__actions .btn, .cta-band__actions .btn { flex: 1 1 100%; }
  .float-card { font-size: .76rem; padding: 10px 12px; }
  .float-card--reviews { left: -8%; top: 6%; }
  .float-card--years { right: -8%; }
  .float-card--license { left: -8%; max-width: 190px; }
  .tabs__list { border-radius: var(--radius); width: 100%; }
  .tabs__tab { flex: 1 1 auto; justify-content: center; padding: 10px 12px; }
  .about__badge { left: 12px; bottom: 14px; }
  .wa-float { width: 58px; padding: 0; justify-content: center; }
  .wa-float__label { display: none; }
  .type-option { flex-basis: calc((100% - 12px) / 2); }
  .brand__icon { width: 34px; height: 34px; }
  .brand__name { font-size: 1.12rem; }
  .lang a { padding: 7px 8px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}
