/* ============================================================
   CENTURION INSURANCE — COMPONENT LAYER (ci-*)
   Lifted verbatim from the Centurion Insurance Design System
   (styles.css, v1.0, Oct 2026): reset, components and section
   patterns, plus the refinements that apply outside the docs.
   Load after tokens.css. Page-specific rules live in landing.css.
   ============================================================ */

/* ============================================================
   0. RESET + BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 24px; }
body {
  margin: 0;
  font-family: var(--ci-font-body);
  font-size: var(--ci-fs-body);
  line-height: var(--ci-lh-body);
  color: var(--ci-body);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3, h4, h5 {
  font-family: var(--ci-font-display);
  color: var(--ci-heading);
  font-weight: 400;
  line-height: var(--ci-lh-head);
  letter-spacing: var(--ci-ls-head);
  margin: 0 0 .5em;
}
h1 { font-size: var(--ci-fs-h1); line-height: var(--ci-lh-tight); }
h2 { font-size: var(--ci-fs-h2); }
h3 { font-size: var(--ci-fs-h3); font-weight: 700; letter-spacing: 0; }
h4 { font-size: var(--ci-fs-h4); font-weight: 700; letter-spacing: 0; }
h1 b, h2 b, h1 strong, h2 strong { font-weight: 700; }
p { margin: 0 0 1em; }
a { color: var(--ci-teal); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--ci-ink); }
strong, b { font-weight: 700; }
code, kbd {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: .86em;
  background: var(--ci-teal-11);
  color: var(--ci-ink);
  padding: .1em .38em;
  border-radius: 5px;
}
hr { border: 0; border-top: 1px solid var(--ci-border); margin: 32px 0; }
:focus-visible { outline: 3px solid var(--ci-focus); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--ci-teal-9); color: var(--ci-ink); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ============================================================
   1. CENTURION COMPONENT LIBRARY  (ci-*)
   ============================================================ */

/* ---------- 1.1 Type helpers ---------- */
.ci-display { font-family: var(--ci-font-display); }
.ci-eyebrow {
  display: inline-block;
  font-family: var(--ci-font-display);
  font-weight: 700;
  font-size: var(--ci-fs-sm);
  letter-spacing: var(--ci-ls-eyebrow);
  text-transform: uppercase;
  color: var(--ci-teal);
  line-height: 1.3;
}
.ci-on-dark .ci-eyebrow, .ci-eyebrow--on-dark { color: var(--ci-aqua); }
.ci-title { font-family: var(--ci-font-display); font-weight: 400; color: var(--ci-teal); font-size: var(--ci-fs-h2); line-height: var(--ci-lh-head); letter-spacing: var(--ci-ls-head); margin: 0 0 .4em; }
.ci-title b { font-weight: 700; }
.ci-title--ink { color: var(--ci-ink); }
.ci-title--cream { color: var(--ci-cream); }
.ci-title--center { text-align: center; }
.ci-plus { color: var(--ci-orange); font-weight: 700; padding: 0 .12em; }
.ci-lead { font-size: var(--ci-fs-lead); line-height: 1.45; color: var(--ci-teal); }
.ci-lead b { color: var(--ci-ink); }
.ci-fine { font-size: var(--ci-fs-xs); line-height: 1.45; color: var(--ci-teal); }
.ci-fine a { color: inherit; }

/* ---------- 1.2 Buttons ---------- */
.ci-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 38px;
  padding: 10px 18px;
  border: 0; border-radius: var(--ci-r-pill);
  font-family: var(--ci-font-display);
  font-size: 1rem; line-height: 1; font-weight: 400;
  letter-spacing: var(--ci-ls-btn);
  text-decoration: none; white-space: nowrap;
  cursor: pointer;
  transition: background-color var(--ci-dur), color var(--ci-dur), box-shadow var(--ci-dur), transform var(--ci-dur);
}
.ci-btn:hover { transform: translateY(-1px); }
.ci-btn:active { transform: translateY(0); }
.ci-btn img { width: 16px; height: 16px; }
.ci-btn--primary { background: var(--ci-orange); color: #fff; }
.ci-btn--primary:hover { background: var(--ci-action-hover); color: #fff; box-shadow: 0 6px 18px rgba(254, 153, 37, .35); }
.ci-btn--primary-aa { background: var(--ci-orange); color: var(--ci-ink); font-weight: 700; }
.ci-btn--primary-aa:hover { background: var(--ci-orange-2); color: var(--ci-ink); box-shadow: 0 6px 18px rgba(254, 153, 37, .35); }
.ci-btn--ink { background: var(--ci-ink); color: var(--ci-cream); font-weight: 700; }
.ci-btn--ink:hover { background: var(--ci-deep); color: var(--ci-cream); }
.ci-btn--cream { background: var(--ci-cream); color: var(--ci-orange-text); }
.ci-btn--cream:hover { background: #fff; color: var(--ci-orange-text); }
.ci-btn--outline { background: transparent; color: var(--ci-teal); box-shadow: inset 0 0 0 1.5px var(--ci-teal); }
.ci-btn--outline:hover { background: var(--ci-teal-11); color: var(--ci-ink); }
.ci-btn--outline-cream { background: transparent; color: var(--ci-cream); box-shadow: inset 0 0 0 1.5px var(--ci-cream); }
.ci-btn--outline-cream:hover { background: rgba(254, 249, 236, .12); color: #fff; }
.ci-btn--lg { min-height: 48px; padding: 15px 28px; font-size: 1.125rem; }
.ci-btn--sm { min-height: 30px; padding: 7px 14px; font-size: .875rem; }
.ci-btn--block { display: flex; width: 100%; }
.ci-btn[disabled], .ci-btn.is-disabled { background: #E3E8EA; color: #6B7F86; box-shadow: none; cursor: not-allowed; transform: none; }
.ci-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--ci-font-body); font-weight: 700;
  font-size: var(--ci-fs-label); letter-spacing: .04em; text-transform: uppercase;
  color: var(--ci-orange-text); text-decoration: none;
}
.ci-link:hover { color: var(--ci-ink); }
.ci-link::after { content: ""; width: 14px; height: 14px; background: url("./assets/svg/ui/arrow-right-teal.svg") center/contain no-repeat; transition: transform var(--ci-dur); }
.ci-link:hover::after { transform: translateX(3px); }
.ci-btnrow { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* ---------- 1.3 Form controls ---------- */
.ci-field { display: grid; gap: 6px; }
.ci-label { font-family: var(--ci-font-display); font-weight: 700; font-size: var(--ci-fs-sm); color: var(--ci-ink); }
.ci-input, .ci-select, .ci-textarea {
  width: 100%;
  min-height: 40px;
  padding: 8px 16px;
  border: 1px solid var(--ci-input-border);
  border-radius: var(--ci-r-pill);
  background: #fff;
  font-family: var(--ci-font-display);
  font-size: var(--ci-fs-sm);
  line-height: 20px;
  color: var(--ci-ink);
  transition: border-color var(--ci-dur), box-shadow var(--ci-dur);
  appearance: none;
}
.ci-textarea { border-radius: 18px; min-height: 110px; resize: vertical; padding: 12px 16px; }
.ci-input::placeholder, .ci-textarea::placeholder { color: var(--ci-teal-3); opacity: 1; }
.ci-input:hover, .ci-select:hover, .ci-textarea:hover { border-color: var(--ci-teal); }
.ci-input:focus, .ci-select:focus, .ci-textarea:focus { outline: none; border-color: var(--ci-teal); box-shadow: 0 0 0 3px rgba(0, 181, 196, .25); }
.ci-select { padding-right: 44px; background: #fff url("./assets/svg/ui/chevron-down-ink.svg") right 14px center / 20px no-repeat; cursor: pointer; }
.ci-input.is-invalid, .ci-select.is-invalid { border-color: var(--ci-error); box-shadow: 0 0 0 3px rgba(180, 35, 24, .12); }
.ci-input.is-valid { border-color: var(--ci-success); }
.ci-help { font-size: var(--ci-fs-xs); color: var(--ci-teal); }
.ci-help--error { color: var(--ci-error); font-weight: 600; }
.ci-input[disabled] { background: #F2F6F7; border-color: #C9D6DA; color: #6B7F86; cursor: not-allowed; }
.ci-check { display: flex; gap: 10px; align-items: flex-start; font-size: var(--ci-fs-xs); line-height: 1.45; color: var(--ci-teal-3); color: var(--ci-teal); }
.ci-check input { flex: none; width: 16px; height: 16px; margin: 2px 0 0; accent-color: var(--ci-teal); }
.ci-radio { display: inline-flex; gap: 8px; align-items: center; font-family: var(--ci-font-display); font-weight: 700; font-size: var(--ci-fs-sm); color: var(--ci-ink); cursor: pointer; }
.ci-radio input { width: 16px; height: 16px; margin: 0; accent-color: var(--ci-teal); }
.ci-segment { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; background: var(--ci-teal-11); border-radius: var(--ci-r-pill); }
.ci-segment label { position: relative; }
.ci-segment input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.ci-segment span { display: block; padding: 8px 16px; border-radius: var(--ci-r-pill); font-family: var(--ci-font-display); font-weight: 700; font-size: var(--ci-fs-sm); color: var(--ci-teal); transition: background-color var(--ci-dur), color var(--ci-dur); }
.ci-segment input:checked + span { background: var(--ci-teal); color: #fff; }
.ci-segment input:focus-visible + span { outline: 3px solid var(--ci-focus); outline-offset: 2px; }
.ci-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.ci-form-grid .ci-span { grid-column: 1 / -1; }
.ci-newsletter { display: flex; max-width: 400px; }
.ci-newsletter input { flex: 1; min-width: 0; height: 50px; padding: 12px 16px; border: 1px solid #fff; border-radius: 10px 0 0 10px; font: 400 14px/22px var(--ci-font-body); color: #333; }
.ci-newsletter input:focus { outline: none; box-shadow: inset 0 0 0 2px var(--ci-aqua); }
.ci-newsletter button { flex: none; width: 55px; height: 50px; border: 0; border-radius: 0 10px 10px 0; background: var(--ci-teal-3) url("./assets/svg/ui/chevron-right-white.svg") center / 8px no-repeat; cursor: pointer; transition: background-color var(--ci-dur); }
.ci-newsletter button:hover { background-color: var(--ci-teal); }

/* ---------- 1.4 Tags, chips, badges ---------- */
.ci-tag { display: inline-block; padding: 6px 12px; border-radius: var(--ci-r-xs); background: var(--ci-teal-5); color: var(--ci-ink); font-family: var(--ci-font-display); font-weight: 700; font-size: var(--ci-fs-sm); line-height: 1.2; }
.ci-tag--ink { background: var(--ci-ink); color: var(--ci-cream); font-weight: 400; }
.ci-tag--stack { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 0; }
.ci-tag--stack > span { padding: 6px 12px; }
.ci-tag--stack > span:first-child { background: var(--ci-teal-5); color: var(--ci-ink); font-weight: 700; }
.ci-tag--stack > span:last-child { background: var(--ci-ink); color: var(--ci-cream); font-weight: 400; font-size: .8125rem; }
.ci-chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: var(--ci-r-pill); font-size: var(--ci-fs-sm); font-weight: 600; background: var(--ci-teal-11); color: var(--ci-ink); line-height: 1.3; }
.ci-chip--orange { background: var(--ci-orange-9); color: #6B3A00; }
.ci-chip--ink { background: var(--ci-ink); color: var(--ci-cream); }
.ci-chip--outline { background: transparent; box-shadow: inset 0 0 0 1px rgba(254, 249, 236, .4); color: var(--ci-cream); }
.ci-chip--success { background: #DDF3E8; color: #0B5E3D; }
.ci-chip--error { background: #FBE4E2; color: #8F1C13; }

/* ---------- 1.5 Header / nav ---------- */
.ci-nav { display: flex; align-items: center; gap: 24px; min-height: 82px; padding: 20px; background: #fff; }
.ci-nav__logo { width: 150px; flex: none; }
.ci-nav__links { display: flex; gap: 6px; margin: 0 auto 0 12px; padding: 0; list-style: none; }
.ci-nav__links a { display: inline-flex; align-items: center; gap: 4px; padding: 5px 10px; font-size: 15px; letter-spacing: .25px; color: var(--ci-teal); text-decoration: none; border-radius: 6px; transition: color var(--ci-dur); }
.ci-nav__links a:hover { color: var(--ci-ink); }
.ci-nav__links .has-menu::after { content: ""; width: 16px; height: 16px; background: url("./assets/svg/ui/chevron-down-ink.svg") center/contain no-repeat; }
.ci-nav__actions { display: flex; align-items: center; gap: 12px; }
.ci-nav__search { width: 22px; height: 22px; }
.ci-menu { min-width: 230px; padding: 8px; background: #fff; border-radius: var(--ci-r-md); box-shadow: var(--ci-shadow-menu), 0 0 0 1px var(--ci-border); }
.ci-menu a { display: block; padding: 10px 12px; border-radius: 8px; font-size: var(--ci-fs-sm); color: var(--ci-ink); text-decoration: none; }
.ci-menu a:hover { background: var(--ci-teal-11); color: var(--ci-teal); }

/* ---------- 1.6 Cards ---------- */
.ci-card { background: #fff; border-radius: var(--ci-r-sm); box-shadow: var(--ci-shadow-soft); padding: 24px; }
/* Product tile — "Seguros + Productos" */
.ci-tile {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
  width: 100%; max-width: 193px; aspect-ratio: 193 / 198;
  padding: 15px;
  border: 5px solid var(--ci-teal-10);
  border-radius: var(--ci-r-sm);
  background: var(--ci-teal-10);
  text-align: center; text-decoration: none;
  transition: transform var(--ci-dur-slow) var(--ci-ease), box-shadow var(--ci-dur-slow) var(--ci-ease);
}
.ci-tile img { width: 64%; height: auto; }
.ci-tile span { font-family: var(--ci-font-display); font-weight: 700; font-size: var(--ci-fs-sm); letter-spacing: .5px; color: var(--ci-deep); line-height: 1.2; }
.ci-tile:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(0, 0, 0, .18); }
.ci-tiles { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; }
.ci-tiles .ci-tile { flex: 0 1 170px; }
/* Blog card */
.ci-post { display: flex; flex-direction: column; text-decoration: none; border-radius: var(--ci-r-sm); overflow: hidden; background: var(--ci-teal-10); transition: transform var(--ci-dur-slow) var(--ci-ease), box-shadow var(--ci-dur-slow) var(--ci-ease); }
.ci-post__img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; border-radius: var(--ci-r-sm) var(--ci-r-sm) 0 0; }
.ci-post__body { padding: 18px 20px 20px; text-align: center; display: grid; gap: 10px; justify-items: center; }
.ci-post__title { font-family: var(--ci-font-display); font-weight: 700; font-size: var(--ci-fs-h3); line-height: 1.2; color: var(--ci-teal); margin: 0; }
.ci-post:hover { transform: translateY(-4px); box-shadow: var(--ci-shadow-soft); }
/* Contact card */
.ci-contact { position: relative; min-height: 132px; padding: 16px 18px 18px; border-radius: var(--ci-r-sm); background: var(--ci-teal-11); overflow: hidden; }
.ci-contact__title { font-family: var(--ci-font-display); font-size: 1.25rem; color: var(--ci-teal); margin: 0 0 10px; letter-spacing: .01em; }
.ci-contact__label { display: block; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ci-teal); }
.ci-contact__value { display: block; font-size: var(--ci-fs-sm); color: var(--ci-ink); font-weight: 600; margin-bottom: 8px; }
.ci-contact__icon { position: absolute; right: 14px; bottom: 12px; width: 34px; height: 34px; }
/* Coverage card */
.ci-coverage { padding: 22px 24px 24px; border-radius: var(--ci-r-sm); background: var(--ci-teal-11); }
.ci-coverage__head { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; }
.ci-coverage__icon { flex: none; width: 54px; height: 54px; padding: 8px; border-radius: var(--ci-r-sm); background: #fff; box-shadow: var(--ci-shadow-soft); }
.ci-coverage__title { font-family: var(--ci-font-display); font-size: 1.375rem; color: var(--ci-teal); margin: 0; }
.ci-checklist { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 22px; }
.ci-checklist li { position: relative; padding-left: 24px; font-size: var(--ci-fs-sm); line-height: 1.4; color: var(--ci-ink); }
.ci-checklist li::before { content: ""; position: absolute; left: 0; top: 1px; width: 16px; height: 16px; background: url("./assets/svg/ui/check-teal.svg") center/contain no-repeat; }
.ci-checklist--one { grid-template-columns: 1fr; }
/* Alliance card */
.ci-alliance { display: flex; align-items: center; justify-content: center; min-height: 95px; padding: 20px; border-radius: var(--ci-r-lg); background: var(--ci-hurricane-mist); }
.ci-alliance img { max-height: 55px; width: auto; }
/* Value box — "Los seguros no tienen que ser complicados" */
.ci-valuebox { position: relative; padding: 44px 64px 32px; border: 3px solid var(--ci-teal-9); border-radius: var(--ci-r-sm); background: var(--ci-teal-10); text-align: center; }
.ci-valuebox p { font-size: 1.25rem; color: var(--ci-ink); margin: 0 0 6px; letter-spacing: .02em; }
.ci-valuebox p b { color: var(--ci-teal); }
.ci-valuebox img { width: 40px; margin: 18px auto 0; }

/* ---------- 1.7 Stats, steps, testimonials ---------- */
.ci-stat { text-align: center; color: var(--ci-teal); font-family: var(--ci-font-display); line-height: 1; }
.ci-stat__num { display: block; font-size: var(--ci-fs-stat); }
.ci-stat__label { display: block; font-weight: 700; font-size: 1.5rem; margin-top: 4px; line-height: 1.2; }
.ci-stat__sub { display: block; font-family: var(--ci-font-body); font-size: var(--ci-fs-sm); color: var(--ci-ink); margin-top: 6px; line-height: 1.3; }
.ci-stat--orange { color: var(--ci-orange); }
.ci-stat--orange .ci-stat__sub { color: var(--ci-orange-text); font-style: italic; }
.ci-step { text-align: center; }
.ci-step__label { font-family: var(--ci-font-display); font-weight: 400; font-size: 1rem; letter-spacing: .04em; color: var(--ci-aqua); display: block; }
.ci-step__title { font-family: var(--ci-font-display); font-size: 1.5rem; color: var(--ci-cream); margin: 2px 0 16px; }
.ci-step__img { width: 150px; aspect-ratio: 1; margin: 0 auto; border-radius: 50%; border: 4px solid var(--ci-aqua); object-fit: cover; }
.ci-bubble { display: inline-block; max-width: 300px; padding: 1.4em 2.1em; border-radius: 999px; background: #fff; box-shadow: var(--ci-shadow-bubble); font-size: var(--ci-fs-sm); line-height: 1.3; color: #000; }
.ci-bubble cite { display: block; font-style: normal; font-weight: 700; margin-top: 2px; }
.ci-portrait { width: 120px; aspect-ratio: 1; border-radius: 50%; object-fit: cover; }
.ci-dot { display: inline-block; width: 18px; height: 18px; border-radius: 50%; background: #4FB3C7; }

/* ---------- 1.8 Page banner (inner pages) ---------- */
.ci-banner { display: flex; align-items: center; gap: 22px; padding: 22px 26px; border-radius: var(--ci-r-sm); background: var(--ci-teal); color: var(--ci-cream); position: relative; overflow: hidden; }
.ci-banner__icon { flex: none; width: 70px; height: 70px; padding: 8px; border-radius: var(--ci-r-sm); background: var(--ci-teal-10); }
.ci-banner h1, .ci-banner__title { font-family: var(--ci-font-display); color: #fff; font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.375rem); margin: 0 0 4px; line-height: 1.1; }
.ci-banner p { margin: 0; letter-spacing: .04em; color: var(--ci-cream); }
.ci-banner__tag { position: absolute; top: 18px; right: 24px; font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ci-cream); }

/* ---------- 1.9 Social, WhatsApp, back-to-top ---------- */
.ci-social { display: flex; gap: 12px; }
.ci-social a { display: grid; place-items: center; width: 46px; height: 46px; border-radius: var(--ci-r-sm); background: var(--ci-deep); transition: background-color var(--ci-dur); }
.ci-social a:hover { background: var(--ci-teal); }
.ci-social img { width: 46px; height: 46px; }
.ci-wa { position: relative; display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: var(--ci-orange-9); box-shadow: 0 6px 20px rgba(0, 65, 85, .18); }
.ci-wa img { width: 34px; height: 34px; }
.ci-wa::before { content: ""; position: absolute; top: 2px; left: 4px; width: 12px; height: 12px; border-radius: 50%; background: var(--ci-whatsapp); box-shadow: 0 0 0 2px #fff; }

/* ---------- 1.10 Alerts & feedback ---------- */
.ci-alert { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: var(--ci-r-sm); font-size: var(--ci-fs-sm); line-height: 1.45; }
.ci-alert img { flex: none; width: 20px; height: 20px; margin-top: 1px; }
.ci-alert b { display: block; font-family: var(--ci-font-display); font-size: 1rem; margin-bottom: 2px; }
.ci-alert--info { background: var(--ci-teal-11); color: var(--ci-ink); }
.ci-alert--warn { background: var(--ci-orange-9); color: #5A3000; }
.ci-alert--success { background: #DDF3E8; color: #0B4A31; }
.ci-alert--error { background: #FBE4E2; color: #7A170F; }
.ci-progress { display: flex; gap: 6px; }
.ci-progress span { flex: 1; height: 6px; border-radius: 6px; background: var(--ci-teal-11); }
.ci-progress span.is-done { background: var(--ci-teal); }
.ci-progress span.is-current { background: var(--ci-orange); }

/* ============================================================
   2. SECTION PATTERNS  (ci-band-*)
   Full-width bands, as assembled on centurion-insurance.com.
   ============================================================ */
.ci-container { width: 100%; max-width: var(--ci-container); margin: 0 auto; padding: 0 var(--ci-gutter); }
.ci-band { position: relative; padding: var(--ci-section-y) 0; overflow: hidden; }
.ci-band--white { background: #fff; }
.ci-band--ink { background: var(--ci-ink); color: var(--ci-cream); }
.ci-band--deep { background: var(--ci-deep); color: var(--ci-cream); }
.ci-band--lagoon { background: var(--ci-teal-9); }
.ci-band--sand { background: var(--ci-sand); border-block: 1px solid var(--ci-orange-9); padding: 25px 0; }
.ci-band--prefooter { background: var(--ci-prefooter); color: var(--ci-cream); }
.ci-band--dawn { background: var(--ci-grad-dawn); }
.ci-band__arc { position: absolute; pointer-events: none; user-select: none; }

/* A. Hero */
.ci-hero { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: 520px; background: var(--ci-grad-cream); overflow: hidden; }
.ci-hero__form { position: relative; z-index: 2; align-self: center; padding: 40px clamp(20px, 4vw, 56px); max-width: 560px; }
/* The C: one vector traced from the live hero artwork. It starts at the arc, so it
   sits at the left edge of the visual column at full height; the right side bleeds. */
.ci-hero__visual { position: relative; background: url("./assets/svg/graphics/c-hero.svg") left center / auto 100% no-repeat; }
.ci-hero__tagline { position: absolute; z-index: 2; top: 12%; right: 8%; width: 46%; }
.ci-hero__photo { position: absolute; z-index: 1; bottom: 0; right: 4%; width: 82%; }

/* B. Seasonal alert (hurricane) */
.ci-alertband { display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: center; }
.ci-alertband__img { width: 150px; aspect-ratio: 1; object-fit: cover; border-radius: var(--ci-r-sm); }
.ci-alertband h2 { color: var(--ci-aqua); font-weight: 400; margin: 6px 0 8px; }
.ci-alertband p { color: var(--ci-teal-9); font-family: var(--ci-font-display); font-size: 1.125rem; margin: 0 0 16px; }

/* G. Steps band */
.ci-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }

/* H. Stats band */
.ci-stats { display: grid; grid-template-columns: auto repeat(4, 1fr); gap: 20px; align-items: center; }
.ci-stats__why { padding-right: 24px; border-right: 1px solid var(--ci-orange-6); text-align: center; font-family: var(--ci-font-display); font-size: 1.375rem; line-height: 1.05; color: var(--ci-teal); }
.ci-stats__why b { display: block; font-size: 2.25rem; }

/* I. CTA band */
.ci-cta { position: relative; z-index: 1; text-align: center; }
.ci-cta h2 { color: var(--ci-cream); font-weight: 400; margin-bottom: 10px; }
.ci-cta p { font-family: var(--ci-font-display); font-size: 1.125rem; letter-spacing: .08em; margin: 0 0 26px; color: var(--ci-cream); }
.ci-cta .ci-btnrow { justify-content: center; }

/* K. Footer */
.ci-footer { background: var(--ci-ink); color: var(--ci-cream); padding: 50px 0 20px; font-size: var(--ci-fs-sm); }
.ci-footer__grid { display: grid; grid-template-columns: 170px 1fr 1fr auto; gap: 40px; align-items: start; }
.ci-footer__logo { width: 150px; }
.ci-footer h4 { color: var(--ci-cream); font-size: 1.125rem; letter-spacing: .06em; margin-bottom: 14px; }
.ci-footer a { color: var(--ci-cream); text-decoration: none; }
.ci-footer a:hover { text-decoration: underline; }
.ci-footer__links { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ci-footer__legal { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 36px; padding-top: 14px; border-top: 1px solid rgba(254, 249, 236, .25); font-size: 11px; letter-spacing: .08em; }
.ci-footer .ci-check { color: var(--ci-cream); }

/* ============================================================
   3. REFINEMENTS  (from the components + patterns chapters)
   ============================================================ */
/* ---- ci-nav: menu button ---- */
.ci-nav { flex-wrap: nowrap; }
.ci-nav__actions > a[aria-label] { display: grid; place-items: center; }
.ci-nav__burger { display: none; position: relative; flex: none; width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--ci-ink); cursor: pointer; }
.ci-nav__burger span, .ci-nav__burger span::before, .ci-nav__burger span::after { position: absolute; left: 12px; width: 16px; height: 2px; border-radius: 2px; background: var(--ci-cream); content: ""; }
.ci-nav__burger span { top: 19px; }
.ci-nav__burger span::before { left: 0; top: -5px; }
.ci-nav__burger span::after { left: 0; top: 5px; }
.ci-nav__links a { white-space: nowrap; }
@media (max-width: 1240px) {
  .ci-nav { gap: 14px; }
  .ci-nav__links { margin-left: 0; gap: 0; }
  .ci-nav__links a { padding: 5px 7px; font-size: 14px; }
}
@media (max-width: 991px) {
  .ci-nav { justify-content: space-between; }
  .ci-nav__burger { display: block; }
  .ci-nav__search { display: none; }
}
@media (max-width: 479px) {
  .ci-nav__actions .ci-btn--primary { padding: 7px 12px; }
}

/* ---- contact card ---- */
.ci-contact__value { overflow-wrap: anywhere; position: relative; z-index: 1; }

/* ---- stats + steps ---- */
.ci-stat__label--light { font-weight: 400; font-size: 1.25rem; line-height: 1.15; }
.ci-step__title { font-weight: 400; }

/* ---- ci-panel: the white working surface ---- */
.ci-panel { display: grid; gap: 16px; padding: 28px; border-radius: var(--ci-r-lg); background: #fff; box-shadow: var(--ci-shadow-soft); }
.ci-panel > .ci-title { margin: 0; font-size: 1.5rem; }
.ci-done { justify-items: center; text-align: center; }
.ci-done img { width: 56px; height: 56px; }
.ci-done p { margin: 0; font-size: var(--ci-fs-sm); color: var(--ci-ink); max-width: 32ch; }

/* ---- the hidden attribute always wins over component display ---- */
.ci-alert[hidden], .ci-panel[hidden] { display: none; }

/* ---- shared band helpers ---- */
.ci-title--aqua { color: var(--ci-aqua); }
.ci-title--tracked { letter-spacing: 2px; }
.ci-narrow { max-width: 900px; }
.ci-center { display: flex; justify-content: center; }
.ci-subtitle { margin: -4px 0 30px; text-align: center; font-family: var(--ci-font-display); font-weight: 700; font-size: 1.125rem; color: var(--ci-ink); }
.ci-band .ci-container { position: relative; z-index: 1; }

/* ---- A · Hero ---- */
.ci-hero { min-height: 540px; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); }
.ci-hero__form { display: grid; gap: 14px; }
.ci-hero__form .ci-lead { margin: 0 0 6px; }
.ci-hero__visual { min-height: 540px; overflow: hidden; }
.ci-hero__tagline { top: 9%; right: 7%; width: min(44%, 300px); }
.ci-hero__photo { bottom: 0; right: 2%; width: 90%; max-width: 600px; }
@media (max-width: 991px) { .ci-hero__visual { min-height: 380px; } }
@media (max-width: 767px) {
  .ci-hero__visual { min-height: 340px; }
}

/* ---- C · Seguros + Productos arc ---- */
.ci-products__arc { left: 0; top: 0; height: 100%; width: auto; }

/* ---- G · Stats ---- */
.ci-stats__why { margin: 0; }
@media (max-width: 1000px) {
  .ci-stats { grid-template-columns: repeat(4, 1fr); }
  .ci-stats__why { grid-column: 1 / -1; border-right: 0; border-bottom: 1px solid var(--ci-orange-6); padding: 0 0 16px; }
  .ci-stats__why b { display: inline; }
}
@media (max-width: 600px) { .ci-stats { grid-template-columns: 1fr 1fr; row-gap: 26px; } }

/* ---- H · Steps ---- */
.ci-band--ink .ci-title--center { margin-bottom: 30px; }
@media (max-width: 640px) { .ci-steps { grid-template-columns: 1fr; } }

/* ---- I · Pre-footer CTA ---- */
.ci-cta__arc { left: 5%; top: -10%; height: 120%; width: auto; }
.ci-cta p b { font-weight: 700; }

/* ---- K · Footer ---- */
.ci-footer__legal a { color: inherit; }
@media (max-width: 860px) { .ci-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .ci-footer__grid { grid-template-columns: 1fr; } }

/* ---- motion ---- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
