/* Insured with Niki — insuredwithniki.com */
:root {
  --paper: #fff7ed;
  --surface: #fffdf8;
  --surface-soft: #fce9df;
  --ink: #073f46;
  --muted: #46666a;
  --coral: #d9785c;
  --coral-deep: #aa563f;
  --aqua: #d9efea;
  --teal: #177c78;
  --teal-deep: #0f5a56;
  --sun: #d6a43b;
  --line: #ead9c4;
  --shadow: 0 24px 60px rgba(11, 77, 112, .14);
  --shadow-sm: 0 8px 24px rgba(11, 77, 112, .10);
  --display: "Libre Baskerville", Georgia, serif;
  --body: "Nunito Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius: 18px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--body);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

h1, h2, h3 { font-family: var(--display); line-height: 1.25; color: var(--ink); }

h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); margin-bottom: .6rem; text-align: center; }
.section-sub { text-align: center; color: var(--muted); max-width: 640px; margin: 0 auto 2rem; font-size: 1.05rem; }
.kicker {
  text-align: center; text-transform: uppercase; letter-spacing: .18em;
  font-size: .8rem; font-weight: 800; color: var(--coral-deep); margin-bottom: .4rem;
}

section { padding: 4rem 1.25rem; }
section[id] { scroll-margin-top: 84px; }
main > section:nth-of-type(even) { background: var(--surface); }

.spark { color: var(--sun); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .45rem;
  font-family: var(--body); font-weight: 800; font-size: .95rem;
  padding: .7rem 1.5rem; border-radius: 999px; text-decoration: none;
  border: 2px solid transparent; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-lg { padding: .9rem 2rem; font-size: 1.05rem; }
.btn-primary { background: var(--coral); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--coral-deep); box-shadow: var(--shadow); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--teal); }
.btn-outline:hover { background: var(--aqua); }
.btn-ghost { background: var(--surface); color: var(--ink); border-color: var(--line); padding: .55rem 1.1rem; font-size: .88rem; }
.btn-ghost:hover { border-color: var(--teal); }

/* ---------- Top bar ---------- */
.topbar {
  background: var(--ink); color: #fff7ed; text-align: center;
  font-size: .85rem; font-weight: 700; letter-spacing: .02em; padding: .5rem 1rem;
}
.topbar a { color: var(--sun); text-decoration: none; font-weight: 800; }
.topbar a:hover { text-decoration: underline; }
.topbar .spark { font-size: .7rem; }
.topbar-phone { display: inline-block; white-space: nowrap; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 200;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: .7rem 1.25rem; background: rgba(255, 253, 248, .96);
  backdrop-filter: blur(8px); border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--ink); font-weight: 700; font-size: 1.02rem; }
.brand img { height: 52px; width: auto; flex-shrink: 0; filter: drop-shadow(0 2px 6px rgba(0,0,0,.12)); }
.brand { flex-shrink: 0; }
.brand strong { color: var(--coral-deep); }
.nav-links { display: flex; gap: 1.4rem; }
.nav-links a { color: var(--ink); text-decoration: none; font-weight: 700; font-size: .95rem; }
.nav-links a:hover { color: var(--coral-deep); }
.nav-actions { display: flex; align-items: center; gap: .6rem; }

/* Language toggle */
.lang-toggle { display: flex; background: var(--surface-soft); border-radius: 999px; padding: 3px; border: 1px solid var(--line); }
.lang-toggle button {
  border: 0; background: transparent; font-family: var(--body); font-weight: 800; font-size: .82rem;
  color: var(--muted); padding: .4rem .8rem; border-radius: 999px; cursor: pointer;
}
.lang-toggle button.active { background: var(--teal); color: #fff; box-shadow: var(--shadow-sm); }

/* Translate widget */
.translate-wrap { position: relative; }
.translate-btn { font-size: .85rem; border: 2px solid var(--teal); font-weight: 700; }
.translate-panel {
  position: absolute; right: 0; top: calc(100% + 10px); z-index: 300;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 1rem 1.1rem; min-width: 250px;
}
.translate-panel::before {
  content: ""; position: absolute; top: -7px; right: 26px; width: 12px; height: 12px;
  background: var(--surface); border-left: 1px solid var(--line); border-top: 1px solid var(--line);
  transform: rotate(45deg);
}
.translate-hint { font-size: .85rem; font-weight: 700; color: var(--muted); margin-bottom: .6rem; }

/* Google Translate element styling */
#google_translate_element .goog-te-gadget { font-family: var(--body) !important; font-size: 0; }
#google_translate_element .goog-te-gadget > div { display: flex; align-items: center; gap: .4rem; }
#google_translate_element .goog-te-gadget img { display: none; }
#google_translate_element .goog-te-combo {
  font-family: var(--body); font-size: .92rem; font-weight: 700; color: var(--ink);
  background: var(--paper); border: 2px solid var(--teal); border-radius: 12px;
  padding: .55rem .7rem; max-width: 100%; cursor: pointer;
}
#google_translate_element .goog-te-gadget .goog-te-gadget-simple { border: 0 !important; background: transparent !important; padding: 0 !important; }
/* Hide Google's top banner frame */
.goog-te-banner-frame.skiptranslate { display: none !important; }
body { top: 0 !important; }
#goog-gt-tt, .goog-te-balloon-frame { display: none !important; }
.goog-text-highlight { background: transparent !important; box-shadow: none !important; }

.menu-btn { display: none; background: none; border: 0; font-size: 1.5rem; color: var(--ink); cursor: pointer; }
.mobile-menu { display: none; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 3.5rem 1.25rem 4.5rem; }
.hero::before {
  content: "✦ ✦ ✦"; position: absolute; top: 2rem; right: 6%; color: var(--sun);
  opacity: .35; letter-spacing: 1.2rem; font-size: 1.1rem; pointer-events: none;
}
.hero::after {
  content: "✦"; position: absolute; bottom: 3rem; left: 5%; color: var(--coral);
  opacity: .25; font-size: 1.4rem; pointer-events: none;
}
.hero-inner {
  max-width: 1080px; margin: 0 auto; display: grid; gap: 2.5rem; align-items: center;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
}
.hero-photo { position: relative; justify-self: center; }
.hero-photo img {
  width: min(340px, 72vw); border-radius: 42% 58% 55% 45% / 45% 42% 58% 55%;
  border: 5px solid #fff; box-shadow: var(--shadow); object-fit: cover; aspect-ratio: 3 / 3.6;
  background: var(--aqua);
}
.hero-badge {
  position: absolute; top: 6px; right: 10px; font-size: 2.2rem;
  background: linear-gradient(135deg, #fff, var(--surface-soft)); border-radius: 50%; width: 64px; height: 64px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(0,0,0,.15); border: 2px solid var(--sun);
}
.hero-photo { position: relative; justify-self: center; }
.hero-photo::after {
  content: ""; position: absolute; inset: -8px; border-radius: 42% 58% 55% 45% / 45% 42% 58% 55%;
  border: 2px solid var(--sun); opacity: .35; pointer-events: none;
}
.eyebrow {
  text-transform: uppercase; letter-spacing: .16em; font-size: .8rem; font-weight: 800;
  color: var(--teal); margin-bottom: .5rem;
}
.hero-copy h1 { font-size: clamp(2.1rem, 5vw, 3.2rem); margin-bottom: 1rem; }
.hero-name { color: var(--coral-deep); font-style: italic; }
.lede { font-size: 1.12rem; color: var(--muted); margin-bottom: 1.6rem; max-width: 34rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: .8rem; margin-bottom: 1rem; }
.translate-note { font-size: .88rem; color: var(--muted); text-align: center; margin-bottom: 1.6rem; }
.translate-note strong { color: var(--ink); }
.tagline { font-family: var(--display); font-size: 1.25rem; color: var(--ink); margin-bottom: 1.4rem; }
.trust-chips { list-style: none; display: flex; flex-wrap: wrap; gap: .6rem; }
.trust-chips li {
  display: inline-flex; align-items: center; gap: .45rem;
  background: var(--surface); border: 1px solid var(--line); border-radius: 999px;
  padding: .45rem .95rem; font-size: .85rem; font-weight: 700; color: var(--muted);
}

/* ---------- Language notice ---------- */
.lang-notice { background: var(--aqua); text-align: center; padding: 1rem 1.25rem; font-weight: 700; color: var(--ink); font-size: .95rem; }
.lang-notice p { max-width: 760px; margin: 0 auto; }

/* ---------- Why ---------- */
.why-grid { max-width: 1080px; margin: 0 auto; display: grid; gap: 2.5rem; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; }
.why-note .kicker { text-align: left; }
.why-note h2 { text-align: left; margin: 1.2rem 0 .8rem; }
.why-sub { font-family: var(--display); font-size: 1.2rem; color: var(--coral-deep); margin-bottom: 1rem; }
.why-note > p:last-child { color: var(--muted); }
.promise-card {
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 2rem; border-top: 5px solid var(--coral); position: relative; overflow: hidden;
}
.promise-card::after { content: "✦"; position: absolute; top: .8rem; right: 1.2rem; color: var(--sun); opacity: .5; font-size: 1.3rem; }
.promise-card h3 { font-size: 1.25rem; margin-bottom: 1.1rem; }
.promise-card ul { list-style: none; display: grid; gap: 1.1rem; margin-bottom: 1.3rem; }
.promise-card li { color: var(--muted); font-size: .98rem; }
.promise-card li strong { color: var(--ink); display: block; margin-bottom: .15rem; }
.promise-close { font-style: italic; color: var(--muted); margin-bottom: .8rem; }
.promise-sign { font-family: var(--display); font-size: 1.3rem; color: var(--coral-deep); }

/* ---------- OE banner ---------- */
.oe-banner {
  background: var(--ink);
  color: #fff7ed; text-align: center; padding: 1.4rem 1.25rem;
  border-top: 3px solid var(--sun); border-bottom: 3px solid var(--sun);
}
.oe-announce { font-size: 1.05rem; font-weight: 600; max-width: 42rem; margin: 0 auto; line-height: 1.5; }
.oe-announce .oe-date { color: var(--sun); font-weight: 800; }
.oe-link { color: var(--sun); font-weight: 800; text-decoration: none; border-bottom: 2px solid var(--sun); white-space: nowrap; }
.oe-link:hover { opacity: .85; }

/* ---------- How it works ---------- */
.how-tag { text-align: center; font-family: var(--display); font-size: 1.15rem; color: var(--teal); margin-bottom: 2.2rem; }
.steps { list-style: none; max-width: 980px; margin: 0 auto; display: grid; gap: 1.4rem; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.steps li { background: #fff; border-radius: var(--radius); padding: 1.8rem 1.5rem; box-shadow: var(--shadow-sm); border: 1px solid var(--line); text-align: center; }
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; border-radius: 50%; background: var(--teal); color: #fff;
  font-family: var(--display); font-size: 1.4rem; margin-bottom: 1rem;
}
.steps li:nth-child(2) .step-num { background: var(--coral); }
.steps li:nth-child(3) .step-num { background: var(--sun); }
.steps h3 { font-size: 1.12rem; margin-bottom: .5rem; }
.steps p { color: var(--muted); font-size: .95rem; }

/* ---------- Services ---------- */
.cards { max-width: 1080px; margin: 0 auto; display: grid; gap: 1.4rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card { background: #fff; border-radius: var(--radius); padding: 1.8rem; box-shadow: var(--shadow-sm); border: 1px solid var(--line); transition: transform .15s ease, box-shadow .15s ease; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card-icon { font-size: 2rem; display: block; margin-bottom: .8rem; }
.card h3 { font-size: 1.2rem; margin-bottom: .5rem; }
.card p { color: var(--muted); font-size: .97rem; }

/* ---------- Enroll CTA ---------- */
.enroll { background: linear-gradient(140deg, var(--ink), var(--teal-deep)); color: #fff; text-align: center; }
.enroll h2 { color: #fff; }
.enroll p { color: #e8f4f2; max-width: 560px; margin: 0 auto 1.8rem; font-size: 1.05rem; }

/* ---------- Personal touch ---------- */
.personal-note { font-size: 1rem; color: var(--muted); margin-bottom: 1.5rem; }
.personal-note a { color: var(--coral-deep); font-weight: 800; text-decoration: none; white-space: nowrap; }
.personal-note a:hover { text-decoration: underline; }

.personal-touch { text-align: center; }
.pt-card {
  max-width: 780px; margin: 0 auto; background: #fff; border-radius: var(--radius);
  box-shadow: var(--shadow-sm); border: 1px solid var(--line); border-top: 5px solid var(--sun);
  padding: 2.4rem 2rem 2.2rem; position: relative; overflow: hidden;
}
.pt-card::after { content: "✦"; position: absolute; top: .9rem; right: 1.3rem; color: var(--sun); opacity: .5; font-size: 1.3rem; }
.pt-icon { font-size: 2.2rem; display: block; margin-bottom: .9rem; }
.pt-card h2 { margin-bottom: .7rem; }
.pt-card > p { color: var(--muted); font-size: 1.03rem; max-width: 620px; margin: 0 auto 1.8rem; }
.pt-ctas { display: flex; flex-wrap: wrap; gap: .8rem; justify-content: center; }

/* ---------- FAQ ---------- */
.accordion { max-width: 760px; margin: 0 auto; display: grid; gap: .8rem; }
.accordion details { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 1.1rem 1.3rem; box-shadow: var(--shadow-sm); }
.accordion summary { font-weight: 800; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: "+"; color: var(--coral-deep); font-size: 1.4rem; font-weight: 800; flex-shrink: 0; }
.accordion details[open] summary::after { content: "–"; }
.accordion details p { color: var(--muted); margin-top: .7rem; font-size: .97rem; }

/* ---------- States ---------- */
.states { text-align: center; background: var(--surface); }
.state-list { font-weight: 800; letter-spacing: .06em; color: var(--teal); font-size: 1.05rem; margin: .8rem 0 1rem; }

/* ---------- Contact ---------- */
.contact { text-align: center; }
.contact-ctas { display: flex; flex-wrap: wrap; gap: .8rem; justify-content: center; margin: 1.6rem 0; }
.se-habla { font-weight: 700; color: var(--teal); margin-bottom: 1.8rem; }
.contact-card { display: inline-block; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 1.6rem 2.6rem; }
.contact-name { font-family: var(--display); font-size: 1.5rem; }
.contact-role { color: var(--muted); font-weight: 700; font-size: .95rem; }
.contact-card .tagline { font-size: 1.05rem; margin: .4rem 0 0; }

/* ---------- Closing ---------- */
.closing { text-align: center; background: var(--surface-soft); }
.closing p { max-width: 600px; margin: 0 auto 1.8rem; color: var(--muted); font-size: 1.05rem; }

/* ---------- Footer ---------- */
footer { background: var(--ink); color: #d9efea; padding: 3rem 1.25rem 6rem; }
.foot-inner { max-width: 900px; margin: 0 auto; text-align: center; display: grid; gap: 1.2rem; justify-items: center; }
.foot-brand img { height: 44px; width: auto; margin: 0 auto .4rem; filter: brightness(0) invert(1); }
.foot-brand p { font-weight: 800; letter-spacing: .04em; }
footer .trust-chips li { background: transparent; border-color: rgba(217, 239, 234, .3); color: #d9efea; }
.disclaimer { font-size: .82rem; color: #a9c6c2; max-width: 640px; }
.foot-meta { font-size: .9rem; }
.foot-meta a { color: var(--sun); text-decoration: none; }
.foot-meta a:hover { text-decoration: underline; }
.foot-copy { font-size: .8rem; color: #8fb0ac; }

/* ---------- Mobile bar ---------- */
.mobile-bar {
  display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 200;
  background: rgba(255, 253, 248, .98); border-top: 1px solid var(--line);
  padding: .6rem .8rem calc(.6rem + env(safe-area-inset-bottom));
  grid-template-columns: 1fr 1fr 1.4fr; gap: .6rem;
}
.mobile-bar a {
  display: flex; align-items: center; justify-content: center; gap: .35rem;
  text-decoration: none; font-weight: 800; font-size: .9rem; color: var(--ink);
  background: var(--surface-soft); border-radius: 12px; padding: .7rem .4rem;
}
.mobile-bar a.mbar-cta { background: var(--coral); color: #fff; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .nav { padding: .6rem 1rem; }
  .nav-links { display: none; }
  .menu-btn { display: block; }
  .nav .btn-ghost:not(.translate-btn) { display: none; }
  .nav .translate-wrap { display: none; }
  .mobile-translate { padding: 1rem 1.25rem; border-top: 1px solid var(--line); }
  .mobile-translate .translate-panel { margin-top: .6rem; }
  .mobile-menu {
    display: grid; gap: 0; background: var(--surface); border-bottom: 1px solid var(--line);
    position: sticky; top: 60px; z-index: 190;
  }
  .mobile-menu[hidden] { display: none; }
  .mobile-menu a { padding: 1rem 1.25rem; text-decoration: none; color: var(--ink); font-weight: 700; border-top: 1px solid var(--line); }
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-ctas, .trust-chips { justify-content: center; }
  .lede { margin-left: auto; margin-right: auto; }
  .why-grid { grid-template-columns: 1fr; }
  .why-note .kicker, .why-note h2 { text-align: center; }
  .steps { grid-template-columns: 1fr; max-width: 480px; }
  .cards { grid-template-columns: 1fr; max-width: 520px; }
  .mobile-bar { display: grid; }
  footer { padding-bottom: 7rem; }
  .translate-panel { right: -60px; }
}

@media (max-width: 480px) {
  section { padding: 3rem 1rem; }
  .nav-actions .btn-primary { display: none; }
  .hero-badge { width: 52px; height: 52px; font-size: 1.7rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}

  .menu-share-btn {
    display: block; width: 100%; text-align: left; padding: 1rem 1.25rem;
    background: none; border: none; border-top: 1px solid var(--line);
    font: inherit; font-weight: 700; color: var(--ink); cursor: pointer;
  }

/* ===== Combine draft additions (2026-11-18) ===== */
.btn-xl { font-size: 1.2rem; padding: 1rem 2.4rem; }
.countdown-band { background: var(--aqua); }
.count-grid { display: flex; gap: 1.2rem; justify-content: center; flex-wrap: wrap; margin-bottom: 1.6rem; }
.count-card { background: #fff; border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow-sm); padding: 1.2rem 1.8rem; text-align: center; min-width: 210px; }
.count-num { display: block; font-family: var(--display); font-size: 2.4rem; color: var(--coral-deep); }
.count-label { color: var(--muted); font-size: .95rem; }
.client-login-band { background: var(--paper); }
.duo-band { display: grid; grid-template-columns: 1fr 1fr; }
@media (max-width: 820px) { .duo-band { grid-template-columns: 1fr; } }
.pt-signature { font-family: var(--display); font-size: 1.15rem; color: var(--teal-deep); margin-top: 1rem; }
.lead-form-card { max-width: 560px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 2rem 1.6rem; text-align: left; }
.lead-form-card .field { margin-bottom: 1.1rem; }
.lead-form-card label { display: block; font-weight: 700; margin-bottom: .35rem; font-size: .95rem; }
.lead-form-card input[type="text"], .lead-form-card input[type="tel"], .lead-form-card select { width: 100%; padding: .75rem 1rem; border: 2px solid var(--line); border-radius: .7rem; font-size: 1rem; font-family: inherit; background: var(--surface); }
.lead-form-card .consent-field label { font-weight: 400; font-size: .88rem; color: var(--muted); display: flex; gap: .5rem; align-items: flex-start; }
.lead-form-card .consent-field input { margin-top: .25rem; }

/* Mia visitor helper — shell */
.mia-fab { position: fixed; right: 1rem; bottom: 5.2rem; z-index: 60; background: var(--teal-deep); color: #fff; border: none; border-radius: 999px; padding: .8rem 1.3rem; font-family: var(--body); font-weight: 800; font-size: .95rem; box-shadow: var(--shadow-sm); cursor: pointer; }
.mia-panel { position: fixed; right: 1rem; bottom: 8.6rem; z-index: 61; width: min(92vw, 360px); max-height: 70vh; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.mia-head { background: var(--aqua); padding: .9rem 1.1rem; font-weight: 800; color: var(--ink); display: flex; justify-content: space-between; align-items: center; }
.mia-head button { background: none; border: none; font-size: 1.1rem; cursor: pointer; color: var(--ink); }
.mia-body { padding: 1rem 1.1rem; overflow-y: auto; font-size: .95rem; }
.mia-msg { background: var(--surface); border: 1px solid var(--line); border-radius: .8rem; padding: .7rem .9rem; margin-bottom: .7rem; }
.mia-chips { display: flex; flex-wrap: wrap; gap: .45rem; margin: .6rem 0; }
.mia-chip { background: var(--paper); border: 1.5px solid var(--teal); color: var(--teal-deep); border-radius: 999px; padding: .35rem .8rem; font-size: .85rem; font-weight: 700; cursor: pointer; font-family: var(--body); }
.mia-input-row { display: flex; gap: .5rem; padding: .7rem 1.1rem 1rem; border-top: 1px solid var(--line); }
.mia-input-row input { flex: 1; padding: .6rem .8rem; border: 2px solid var(--line); border-radius: .6rem; font-family: inherit; font-size: .95rem; }
.mia-input-row button { background: var(--coral); color: #fff; border: none; border-radius: .6rem; padding: .6rem 1rem; font-weight: 800; cursor: pointer; font-family: var(--body); }
.mia-handoff a { color: var(--coral-deep); font-weight: 700; }
