:root {
  --blue: #1983b1;
  --blue-dark: #172d68;
  --blue-bright: #2970e1;
  --cyan: #0082b0;
  --ink: #26313f;
  --muted: #66707c;
  --line: #dce5ee;
  --paper: #ffffff;
  --soft: #f3f7fb;
  --shadow: 0 18px 45px rgba(23, 45, 104, 0.13);
  --max: 1180px;
}

/* Contacto compacto en teléfonos. */
@media (max-width: 640px) {
  .contact-panel-section,
  .contact-hub {
    padding: 28px 0;
  }

  .contact-panel-section .form-panel-grid {
    gap: 12px;
  }

  .contact-panel-section .form-intro-card {
    padding: 16px 17px;
    border-radius: 14px;
  }

  .contact-panel-section .form-intro-card .eyebrow {
    margin-bottom: 5px;
    font-size: 12px;
  }

  .contact-panel-section .form-intro-card h2 {
    margin-bottom: 5px;
    font-size: 24px;
  }

  .contact-panel-section .form-intro-card > p {
    margin: 0;
    font-size: 14px;
    line-height: 1.35;
  }

  .contact-panel-section .form-intro-card ul {
    display: none;
  }

  .contact-panel-section .form-card {
    padding: 16px;
    border-radius: 14px;
  }

  .contact-panel-section .quote-form {
    gap: 9px;
  }

  .contact-panel-section .quote-form label {
    gap: 3px;
    font-size: 14px;
  }

  .contact-panel-section .quote-form input {
    height: 43px;
    padding: 8px 10px;
  }

  .contact-panel-section .quote-form textarea {
    min-height: 72px;
    padding: 9px 10px;
  }

  .contact-panel-section .quote-form small {
    font-size: 11px;
  }

  .contact-panel-section .quote-form .button {
    min-height: 43px;
    margin-top: 2px;
  }

  .contact-hub .services-heading {
    margin-bottom: 18px;
  }

  .contact-hub .services-heading > p:last-child {
    margin-top: 7px;
    font-size: 14px;
    line-height: 1.35;
  }

  .contact-method-grid {
    gap: 10px;
  }

  .contact-method {
    padding: 16px;
    border-radius: 14px;
  }

  .contact-method__top {
    position: absolute;
    top: 14px;
    right: 14px;
    margin: 0;
  }

  .contact-method__top img {
    width: 44px;
    height: 44px;
    padding: 10px;
    border-radius: 12px;
  }

  .contact-method__kicker,
  .contact-method .contact-method__content h3 {
    max-width: calc(100% - 58px);
  }

  .contact-method .contact-method__content h3 {
    margin-bottom: 6px;
    font-size: 20px;
  }

  .contact-method .contact-method__content > p {
    font-size: 14px;
    line-height: 1.4;
  }

  .contact-method__details {
    display: none;
  }

  .contact-method .contact-method__action {
    min-height: 42px;
    margin-top: 12px;
    padding: 8px 12px;
    font-size: 14px;
  }
}

/* Acceso y portal de agentes. */
body.modal-open {
  overflow: hidden;
}

.agent-modal {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: none;
  place-items: center;
  padding: 20px;
}

.agent-modal.is-open {
  display: grid;
}

.agent-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 17, 41, 0.74);
  backdrop-filter: blur(8px);
}

.agent-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(440px, 100%);
  padding: 34px;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 28px 80px rgba(0, 13, 38, 0.34);
}

.agent-modal__dialog > img {
  width: 180px;
  margin-bottom: 20px;
}

.agent-modal__dialog h2 {
  color: var(--blue-dark);
  font-size: 31px;
}

.agent-modal__dialog > p:not(.eyebrow) {
  margin: 10px 0 20px;
  color: var(--muted);
}

.agent-modal__dialog form {
  display: grid;
  gap: 15px;
}

.agent-modal__dialog label {
  display: grid;
  gap: 6px;
  color: var(--ink);
  font-weight: 800;
}

.agent-modal__dialog input {
  width: 100%;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 10px 12px;
  color: var(--ink);
  font: inherit;
}

.agent-modal__dialog form .button {
  width: 100%;
}

.agent-modal__dialog > small {
  display: block;
  margin-top: 18px;
  padding: 10px;
  border-radius: 8px;
  color: #526477;
  background: #edf5fb;
  text-align: center;
}

.agent-modal__error {
  margin: 0;
  color: #b42318;
  font-size: 14px;
  font-weight: 700;
}

.agent-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  color: #4e6074;
  background: #edf3f8;
  font-size: 24px;
  cursor: pointer;
}

.agent-logout {
  border: 0;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.agent-portal-hero {
  padding: 150px 0 70px;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(2, 29, 66, 0.97), rgba(7, 53, 104, 0.78)),
    url("assets/images/AdobeStock_298940362-scaled.jpeg") center / cover;
}

.agent-portal-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 70px;
  align-items: center;
}

.agent-portal-hero .eyebrow {
  color: #65c8f1;
}

.agent-portal-hero h1 {
  max-width: 750px;
  font-size: clamp(44px, 5vw, 68px);
  text-transform: none;
}

.agent-portal-hero__grid > div > p:last-child {
  max-width: 590px;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 19px;
}

.agent-support {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 18px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
  background: rgba(2, 28, 64, 0.44);
  backdrop-filter: blur(10px);
}

.agent-support > span {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: #1688ee;
  font-size: 30px;
}

.agent-support h2 {
  color: #fff;
  font-size: 22px;
}

.agent-support p {
  margin: 9px 0 16px;
  color: rgba(255, 255, 255, 0.78);
}

.agent-tools {
  padding: 48px 0 64px;
  background: #f8fafc;
}

.agent-portal .agent-tools {
  min-height: 100vh;
  padding-top: 148px;
}

.agent-section-title {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 24px;
}

.agent-section-title span {
  color: #1688ee;
  font-size: 28px;
}

.agent-section-title > img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  filter: drop-shadow(0 5px 9px rgba(10, 72, 130, 0.16));
}

.agent-section-title h2 {
  color: #102c5d;
  font-size: 26px;
  text-transform: none;
}

.agent-tool-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.agent-tool-card {
  display: flex;
  min-height: 225px;
  flex-direction: column;
  align-items: center;
  padding: 24px 16px;
  border: 1px solid #dce5ee;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 10px 25px rgba(12, 42, 82, 0.08);
  text-align: center;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.agent-tool-card:hover,
.agent-tool-card:focus-visible {
  transform: translateY(-5px);
  border-color: #1688ee;
  box-shadow: 0 18px 34px rgba(12, 67, 130, 0.18);
  outline: none;
}

.agent-tool-card img {
  width: 130px;
  height: 62px;
  margin-bottom: 12px;
  object-fit: contain;
}

.agent-tool-card--asegurasync img {
  width: 104px;
  height: 104px;
  margin-bottom: 8px;
  border-radius: 16px;
}

.agent-tool-card--name strong {
  display: grid;
  height: 74px;
  place-items: center;
  color: #126fc4;
  font-size: 62px;
}

.agent-smart-logo {
  position: relative;
  display: grid;
  width: 100%;
  height: 74px;
  place-items: center;
  margin-bottom: 12px;
  overflow: hidden;
  border: 1px solid rgba(181, 255, 225, 0.48);
  border-radius: 12px;
  background:
    linear-gradient(115deg, transparent 22%, rgba(255, 255, 255, 0.22) 42%, transparent 62%),
    linear-gradient(145deg, #063f3c 0%, #0b806b 52%, #075249 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.24), 0 7px 16px rgba(5, 79, 68, 0.2);
}

.agent-smart-logo img {
  width: 90%;
  height: auto;
  max-height: 48px;
  margin: 0;
  object-fit: contain;
  filter: drop-shadow(0 2px 3px rgba(0, 22, 19, 0.4));
}

.agent-tool-card h3 {
  margin-top: auto;
  color: #102c5d;
  font-size: 19px;
  text-transform: none;
}

.agent-tool-card p {
  margin: 7px 0 0;
  color: var(--muted);
}

.agent-admin-panel {
  margin-top: 24px;
  padding: 28px;
  border: 1px solid #d7e2ee;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(12, 42, 82, 0.08);
}

.form-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
}

.form-submit-status {
  grid-column: 1 / -1;
  margin: 4px 0 0;
  padding: 11px 14px;
  border-radius: 10px;
  font-weight: 700;
}

.form-submit-status.is-success { background: #e8f8ee; color: #17643a; }
.form-submit-status.is-error { background: #fff0f0; color: #a22323; }

.agent-inbox {
  margin-top: 24px;
  padding: 22px 24px 24px;
  border: 1px solid #d9e4f0;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(10, 42, 84, .08);
}

.agent-inbox__filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 16px;
}

.agent-inbox__filters button,
.inquiry-card__actions button {
  border: 1px solid #cbd9e8;
  border-radius: 999px;
  background: #f7fafe;
  color: #12396a;
  padding: 6px 12px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.agent-inbox__filters button.is-active { background: #148fc2; border-color: #148fc2; color: #fff; }
.agent-inbox__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; align-items: stretch; }

.inquiry-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  box-sizing: border-box;
  border: 1px solid #dbe5ef;
  border-left: 4px solid #aab9c9;
  border-radius: 14px;
  padding: 14px 16px;
  background: #fbfdff;
}

.inquiry-card.is-new { border-left-color: #16a6e0; background: #f6fcff; }
.inquiry-card__heading { display: flex; justify-content: space-between; gap: 12px; color: #637287; font-size: .78rem; }
.inquiry-type { color: #078dc5; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }
.inquiry-card h3 { margin: 5px 0 0; color: #092e62; font-size: 1.08rem; }
.inquiry-card__contact { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: .9rem; }
.inquiry-card__contact a { color: #137faf; font-weight: 700; }
.inquiry-card dl { display: flex; flex-wrap: wrap; gap: 4px 22px; margin: 9px 0 5px; }
.inquiry-card dl div { display: grid; }
.inquiry-card dt { color: #6a7788; font-size: .82rem; font-weight: 700; }
.inquiry-card dd { margin: 0; color: #172f50; font-weight: 700; }
.inquiry-card__message { margin: 8px 0 0; white-space: pre-wrap; color: #43536a; font-size: .92rem; line-height: 1.35; }
.inquiry-card__actions { display: flex; flex-wrap: wrap; gap: 7px; margin-top: auto; padding-top: 10px; }
.inquiry-card__actions .is-danger { color: #a52525; background: #fff5f5; border-color: #f0caca; }
.agent-inbox__empty { text-align: center; color: #64748b; padding: 26px; }

.agent-inbox__tools {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-top: 14px;
}

.agent-inbox__tools details {
  position: relative;
  flex: 1;
  max-width: 560px;
  border: 1px solid #d4e0ec;
  border-radius: 12px;
  background: #f8fbff;
}

.agent-inbox__tools summary {
  cursor: pointer;
  padding: 9px 13px;
  color: #12396a;
  font-weight: 800;
}

.agent-inbox__tools form {
  display: grid;
  grid-template-columns: minmax(190px, 1fr) auto;
  align-items: end;
  gap: 9px 12px;
  padding: 2px 13px 13px;
}

.agent-inbox__tools form label { display: grid; gap: 4px; color: #526176; font-size: .82rem; font-weight: 700; }
.agent-inbox__tools form input[type="email"] { width: 100%; box-sizing: border-box; border: 1px solid #c9d7e6; border-radius: 8px; padding: 8px 10px; font: inherit; }
.agent-inbox__tools form .inbox-check { grid-column: 1 / -1; display: flex; align-items: center; }
.agent-inbox__tools form button,
.inbox-export { border: 0; border-radius: 999px; background: #148fc2; color: #fff; padding: 8px 14px; font: inherit; font-weight: 800; text-decoration: none; cursor: pointer; white-space: nowrap; }
.agent-inbox__tools form p { grid-column: 1 / -1; margin: 0; padding: 7px 9px; border-radius: 7px; font-size: .84rem; }
.agent-inbox__tools form p.is-success { background: #e8f8ee; color: #17643a; }
.agent-inbox__tools form p.is-error { background: #fff0f0; color: #a22323; }

@media (max-width: 760px) {
  .agent-inbox { padding: 18px 14px; }
  .agent-inbox__list { grid-template-columns: 1fr; }
  .inquiry-card__heading { align-items: flex-start; }
  .inquiry-card__heading time { text-align: right; }
  .agent-inbox__tools { display: grid; }
  .agent-inbox__tools details { max-width: none; }
  .agent-inbox__tools form { grid-template-columns: 1fr; }
  .inbox-export { justify-self: start; }
}

.agent-admin-panel__heading {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: start;
  margin-bottom: 22px;
}

.agent-admin-panel__heading h2 {
  color: #102c5d;
  font-size: 28px;
  text-transform: none;
}

.agent-admin-panel__heading p:not(.eyebrow) {
  margin: 7px 0 0;
  color: var(--muted);
}

.agent-admin-panel__heading > span {
  padding: 8px 12px;
  border-radius: 999px;
  color: #14643b;
  background: #e8f7ee;
  font-size: 13px;
  font-weight: 800;
}

.agent-add-user {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr)) auto;
  gap: 12px;
  align-items: end;
  padding: 18px;
  border-radius: 12px;
  background: #f2f7fc;
}

.agent-add-user label {
  display: grid;
  gap: 5px;
  color: #26384e;
  font-size: 14px;
  font-weight: 800;
}

.agent-add-user input {
  width: 100%;
  height: 43px;
  border: 1px solid #ccdae8;
  border-radius: 8px;
  padding: 8px 10px;
  color: var(--ink);
  background: #fff;
  font: inherit;
}

.agent-add-user .button {
  height: 43px;
  white-space: nowrap;
}

.agent-add-user .agent-modal__error {
  grid-column: 1 / -1;
}

.agent-user-list {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.agent-user-row {
  display: grid;
  grid-template-columns: minmax(200px, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 14px 16px;
  border: 1px solid #e0e8f0;
  border-radius: 10px;
}

.agent-user-row > div:first-child {
  display: grid;
}

.agent-user-row strong {
  color: #102c5d;
}

.agent-user-row span {
  color: var(--muted);
  font-size: 13px;
}

.agent-user-row small {
  color: #607187;
  font-size: 12px;
}

.agent-forgot-link {
  justify-self: center;
  color: var(--blue);
  font-size: 14px;
  font-weight: 800;
}

.agent-privacy-link {
  justify-self: center;
  color: var(--muted);
  font-size: 12px;
  text-decoration: underline;
}

.privacy-consent {
  display: grid !important;
  grid-template-columns: 20px 1fr;
  gap: 8px !important;
  align-items: start;
  font-size: 13px !important;
  line-height: 1.35;
}

.privacy-consent input {
  width: 18px !important;
  height: 18px !important;
  margin-top: 1px;
}

.privacy-consent a { color: var(--blue); text-decoration: underline; }

.privacy-page { margin: 0; color: var(--ink); background: #eef5fb; }
.privacy-header { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 16px clamp(18px,5vw,64px); background: #fff; box-shadow: 0 8px 24px rgba(12,42,82,.1); }
.privacy-header img { width: 190px; }
.privacy-document { width: min(880px,calc(100% - 32px)); margin: 38px auto; padding: clamp(24px,5vw,54px); border-radius: 20px; background: #fff; box-shadow: 0 20px 55px rgba(12,42,82,.1); }
.privacy-document h1 { color: var(--blue-dark); font-size: clamp(32px,5vw,48px); text-transform: none; }
.privacy-document h2 { margin-top: 30px; color: var(--blue-dark); font-size: 24px; text-transform: none; }
.privacy-document p, .privacy-document li { color: #405168; }
.privacy-document a { color: var(--blue); text-decoration: underline; }

.agent-modal__dialog .agent-remember {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 9px;
  align-items: start;
  font-size: 14px;
  cursor: pointer;
}

.agent-modal__dialog .agent-remember input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
}

.agent-modal__dialog .agent-remember small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
}

.auth-page {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 24px;
  background: linear-gradient(145deg, #031a40, #0a4d86);
}

.auth-card {
  width: min(520px, 100%);
  padding: 32px;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 26px 70px rgba(0, 15, 45, 0.35);
}

.auth-card > img { width: 210px; margin-bottom: 22px; }
.auth-card h1 { color: var(--blue-dark); font-size: 32px; }
.auth-card > p { margin: 10px 0 20px; color: var(--muted); }
.auth-card form { display: grid; gap: 15px; }
.auth-card label { display: grid; gap: 6px; color: var(--ink); font-weight: 800; }
.auth-card input { width: 100%; height: 48px; border: 1px solid var(--line); border-radius: 9px; padding: 10px 12px; font: inherit; }
.auth-card .button { width: fit-content; border: 0; }
.auth-notice, .auth-error { padding: 12px; border-radius: 9px; }
.auth-notice { color: #176437 !important; background: #e9f8ef; }
.auth-error { color: #a22323 !important; background: #fff0f0; }
.auth-back { display: inline-block; margin-top: 18px; color: var(--blue); font-weight: 800; }

.agent-user-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  justify-content: flex-end;
}

.agent-user-actions button,
.agent-user-locked {
  border: 0;
  border-radius: 8px;
  padding: 8px 10px;
  color: #134f8c;
  background: #eaf3fc;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
}

.agent-user-actions button {
  cursor: pointer;
}

.agent-user-actions .is-danger {
  color: #a52a21;
  background: #fdecea;
}

.agent-user-actions .agent-user-locked {
  color: #14643b;
  background: #e8f7ee;
}

.agent-tool-pending {
  display: block;
  width: 100%;
  margin-top: auto;
  padding: 9px 12px;
  border-radius: 999px;
  color: #66788c;
  background: #edf2f7;
  font-size: 13px;
  font-weight: 800;
}

.agent-tool-access {
  display: flex;
  width: 100%;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: auto;
  padding: 9px 12px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, #07336d, #0753a8);
  font-size: 14px;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.agent-tool-access:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(7, 51, 109, 0.24);
}

.agent-mail-card {
  display: grid;
  grid-template-columns: 58px 1fr auto;
  gap: 20px;
  align-items: center;
  margin-top: 20px;
  padding: 24px 28px;
  border: 1px solid #dce5ee;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 10px 25px rgba(12, 42, 82, 0.07);
}

.agent-mail-card > span {
  display: grid;
  width: 56px;
  height: 56px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: #1688ee;
  font-size: 25px;
}

.agent-mail-card h3,
.agent-trust-bar h3 {
  color: #102c5d;
  text-transform: none;
}

.agent-mail-card p,
.agent-trust-bar p {
  margin: 3px 0 0;
  color: var(--muted);
}

.agent-trust-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 22px;
  padding: 22px 28px;
  border-radius: 14px;
  background: #edf5fc;
}

.agent-trust-bar article {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 14px;
  align-items: center;
  padding: 0 26px;
  border-right: 1px solid #ccdae8;
}

.agent-trust-bar article:last-child {
  border-right: 0;
}

.agent-trust-bar article > span {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 50%;
  color: #126fc4;
  background: #dbeafa;
  font-size: 22px;
  font-weight: 900;
}

@media (max-width: 1100px) {
  .agent-tool-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .agent-modal__dialog {
    padding: 28px 22px 22px;
  }

  .agent-portal .agent-tools {
    padding-top: 108px;
  }

  .agent-portal-hero {
    padding: 112px 0 42px;
  }

  .agent-portal-hero__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .agent-portal-hero h1 {
    font-size: 40px;
  }

  .agent-support {
    grid-template-columns: 48px 1fr;
    padding: 20px;
  }

  .agent-support > span {
    width: 46px;
    height: 46px;
  }

  .agent-tool-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .agent-tool-card {
    min-height: 190px;
    padding: 18px 10px;
  }

  .agent-tool-card img {
    width: 100px;
    height: 58px;
  }

  .agent-tool-card--asegurasync img {
    width: 82px;
    height: 82px;
  }

  .agent-tool-card h3 {
    font-size: 16px;
  }

  .agent-mail-card {
    grid-template-columns: 46px 1fr;
    padding: 18px;
  }

  .agent-mail-card > span {
    width: 44px;
    height: 44px;
  }

  .agent-mail-card .button {
    grid-column: 1 / -1;
    width: 100%;
  }

  .agent-admin-panel {
    padding: 18px;
  }

  .agent-admin-panel__heading {
    display: grid;
  }

  .agent-admin-panel__heading > span {
    width: fit-content;
  }

  .agent-add-user {
    grid-template-columns: 1fr;
  }

  .agent-add-user .button,
  .agent-add-user .agent-modal__error {
    grid-column: auto;
  }

  .agent-user-row {
    grid-template-columns: 1fr;
  }

  .agent-user-actions {
    justify-content: flex-start;
  }

  .agent-trust-bar {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .agent-trust-bar article {
    padding: 0 0 16px;
    border-right: 0;
    border-bottom: 1px solid #ccdae8;
  }

  .agent-trust-bar article:last-child {
    padding-bottom: 0;
    border-bottom: 0;
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Catamaran", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  background: var(--paper);
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.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;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 5vw, 62px);
  color: rgba(255, 255, 255, 0.92);
  transition: background 0.25s ease, box-shadow 0.25s ease, padding 0.25s ease;
}

.site-header.is-scrolled,
.site-header.is-open,
.site-header.site-header--solid {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 8px 28px rgba(23, 45, 104, 0.12);
}

.brand {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  padding: 8px 18px 8px 12px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 12px 28px rgba(7, 22, 38, 0.16);
  backdrop-filter: blur(12px);
}

.brand img {
  width: 175px;
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 28px);
  font-weight: 700;
}

.site-nav a {
  padding: 8px 0;
}

.site-nav a:hover {
  color: var(--blue-bright);
}

.site-nav a.is-current:not(.agent-login) {
  position: relative;
  color: var(--blue);
}

.site-nav a.is-current:not(.agent-login)::after {
  position: absolute;
  right: 0;
  bottom: 1px;
  left: 0;
  height: 3px;
  border-radius: 999px;
  background: var(--blue-bright);
  content: "";
}

.site-header:not(.site-header--solid):not(.is-scrolled):not(.is-open) .site-nav a.is-current:not(.agent-login) {
  color: #fff;
}

.agent-login {
  color: #fff;
  background: var(--blue);
  border-radius: 999px;
  padding: 10px 18px !important;
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 4px;
  background: var(--blue);
  cursor: pointer;
}

.menu-button span:not(.sr-only) {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: #fff;
}

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  align-items: end;
  padding: clamp(120px, 16vh, 180px) clamp(22px, 7vw, 90px) clamp(62px, 12vh, 118px);
  color: #fff;
  background-image: linear-gradient(270deg, rgba(41, 112, 225, 0) 0%, rgba(16, 25, 34, 0.78) 100%), url("assets/images/Depositphotos_36839649_l-2015-3.png");
  background-position: center;
  background-size: cover;
}

.hero__content {
  width: min(760px, 100%);
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--blue);
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow,
.hero p {
  color: #fff;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1 {
  max-width: 760px;
  font-size: clamp(46px, 8vw, 82px);
}

h2 {
  font-size: clamp(34px, 4.2vw, 52px);
}

h3 {
  font-size: 24px;
}

.hero p:not(.eyebrow) {
  margin: 18px 0 26px;
  font-size: 21px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 0;
  border-radius: 999px;
  padding: 11px 22px;
  color: #fff;
  background: var(--blue);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
  background: var(--blue-bright);
}

.button--primary {
  color: #071926;
  background: #37b7d9;
}

.button--whatsapp {
  background: #22b05f;
}

.button--whatsapp:hover {
  background: #16864a;
}

.section-shell {
  width: min(var(--max), calc(100% - 44px));
  margin-inline: auto;
}

.about {
  padding: 0 0 86px;
  background: linear-gradient(180deg, #fff 0%, #f7fbff 100%);
}

.about__hero {
  min-height: 430px;
  color: #fff;
  background: linear-gradient(135deg, #051a34 0%, #0b3263 100%);
}

.about__hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  min-height: 430px;
  align-items: stretch;
}

.about__intro {
  display: grid;
  align-content: center;
  justify-items: start;
  padding: 70px 56px 86px 0;
}

.about__intro .eyebrow {
  color: #5db5de;
}

.about__intro h2 {
  color: #fff;
  font-size: clamp(44px, 5vw, 70px);
}

.about__intro p:not(.eyebrow) {
  max-width: 430px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 23px;
  line-height: 1.45;
}

.about__hero-grid > img {
  width: calc(100% + 54px);
  height: 100%;
  min-height: 430px;
  object-fit: cover;
  object-position: center;
}

.about-card {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(320px, 0.82fr);
  gap: 44px;
  margin-top: -72px;
  padding: 42px 48px;
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.about-card__main {
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 28px;
  padding-right: 42px;
  border-right: 1px solid var(--line);
}

.about-card__icon,
.about-card__features article > img {
  width: 74px;
  height: 74px;
  object-fit: contain;
  filter: drop-shadow(0 10px 16px rgba(5, 26, 52, 0.2));
}

.about-card h3 {
  color: #051a34;
  font-size: clamp(28px, 3vw, 42px);
}

.about-card h3 span {
  display: block;
  color: var(--blue);
}

.about-card h3::after {
  content: "";
  display: block;
  width: 72px;
  height: 4px;
  margin: 22px 0 30px;
  border-radius: 999px;
  background: #051a34;
}

.about-card p {
  color: var(--muted);
}

.about-card__features {
  display: grid;
  gap: 28px;
}

.about-card__features article {
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 20px;
  align-items: start;
}

.about-card__features h4 {
  margin: 0 0 6px;
  color: #051a34;
  font-size: 20px;
  line-height: 1.2;
  text-transform: uppercase;
}

.about-card__features p {
  margin: 0;
}

.insurance {
  padding: 74px 0 78px;
  background: linear-gradient(180deg, #fff 0%, #f7fbff 100%);
}

.section-heading {
  max-width: 670px;
  margin-bottom: 40px;
}

.section-heading p {
  color: var(--muted);
}

.insurance-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
}

.insurance-grid--home {
  overflow: visible;
}

.insurance-grid--home.is-animating {
  overflow: hidden;
}

.insurance-grid--home .insurance-card[hidden] {
  display: none;
}

.insurance-grid--home .insurance-card {
  transition: opacity 0.24s ease, transform 0.24s ease;
}

.insurance-grid--home .insurance-card.is-hiding {
  opacity: 0;
  transform: translateY(-10px);
}

.service-icon-grid--home {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.service-icon-grid--home .service-tile {
  min-height: 262px;
}

.center-action {
  margin-top: 46px;
  text-align: center;
}

.team {
  position: relative;
  padding: 78px 0;
  color: #fff;
  background-image: linear-gradient(270deg, rgba(25, 131, 177, 0.24) 0%, rgba(25, 131, 177, 0.96) 100%), url("assets/images/AdobeStock_303448308-scaled.jpeg");
  background-position: center;
  background-size: cover;
  background-attachment: fixed;
}

.team-anchor {
  position: absolute;
  top: -112px;
  left: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

.team__grid {
  display: grid;
  grid-template-columns: 0.8fr 1.8fr;
  gap: 50px;
  align-items: start;
}

.team__intro {
  position: sticky;
  top: 120px;
}

.team-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 34px 42px;
}

.member {
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 18px;
  align-items: start;
}

.member img {
  width: 86px;
  height: 86px;
  border-radius: 50%;
  object-fit: cover;
  opacity: 0.9;
}

.member h3 {
  font-size: 18px;
  text-transform: none;
}

.member p,
.member span {
  display: block;
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  line-height: 1.35;
}

.member .member-phones {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2px 6px;
  margin-top: 4px;
}

.member .member-phones > span {
  display: inline;
  white-space: nowrap;
}

.member .member-phone {
  margin: 0;
  padding: 0;
  border-radius: 0;
  color: rgba(255, 255, 255, 0.92);
  background: transparent;
  font-size: inherit;
  font-weight: 700;
  line-height: inherit;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.5);
  text-underline-offset: 3px;
  white-space: nowrap;
}

.member .member-phone:hover,
.member .member-phone:focus-visible {
  color: #fff;
  background: transparent;
  text-decoration-color: #fff;
}

.member a {
  display: inline-flex;
  margin-top: 10px;
  border-radius: 8px;
  padding: 7px 12px;
  color: #fff;
  background: rgba(73, 79, 88, 0.9);
  font-size: 14px;
  font-weight: 700;
}

.member a:hover {
  background: var(--blue-bright);
}

.partners {
  padding: 48px 0 72px;
  background: var(--paper);
}

.partners__heading {
  margin-bottom: 28px;
  text-align: center;
}

.partners__heading h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.15;
}

.partners__heading p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.35;
}

.partners__logos {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  align-items: center;
}

.partners__logos img {
  width: 100%;
  max-height: 92px;
  object-fit: contain;
  margin: auto;
}

.footer__top {
  padding: 54px 0 38px;
  color: rgba(255, 255, 255, 0.84);
  background-color: #06182d;
  background-image: linear-gradient(rgba(3, 18, 35, 0.92), rgba(4, 23, 44, 0.96)), url("assets/images/bg01-free-img.jpg");
  background-position: center;
  background-size: cover;
}

.footer-feature-grid {
  display: grid;
  grid-template-columns: 1.25fr repeat(2, 1fr);
  gap: 22px;
  align-items: stretch;
}

.footer-feature {
  min-height: 220px;
  padding: 28px;
  border: 1px solid rgba(54, 130, 231, 0.34);
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(14, 41, 76, 0.84), rgba(6, 23, 45, 0.72));
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(10px);
}

.footer-feature--brand img {
  width: min(230px, 100%);
  border-radius: 999px;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.96);
}

.footer-feature p,
.footer-link-grid p {
  color: rgba(255, 255, 255, 0.76);
}

.footer-feature ul,
.footer-link-grid ul {
  padding: 0;
  margin: 20px 0 0;
  list-style: none;
}

.footer-feature li,
.footer-link-grid li {
  margin: 10px 0;
  color: rgba(255, 255, 255, 0.78);
}

.footer-feature li::before,
.footer-link-grid li::before {
  content: "›";
  margin-right: 12px;
  color: var(--blue);
  font-weight: 900;
}

.footer-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 24px;
  border: 2px solid currentColor;
  border-radius: 50%;
  color: var(--blue);
  font-size: 24px;
  font-weight: 900;
}

.footer-kicker {
  display: block;
  margin-bottom: 8px;
  color: var(--blue);
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.footer-feature h3,
.footer-link-grid h3 {
  margin: 0 0 18px;
  color: #fff;
  font-size: 23px;
  line-height: 1.2;
}

.footer-feature h3::after,
.footer-link-grid h3::after {
  content: "";
  display: block;
  width: 58px;
  height: 3px;
  margin-top: 18px;
  background: var(--blue);
}

.footer-outline-link,
.footer-whatsapp-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  margin-top: 8px;
  padding: 14px 18px;
  border-radius: 8px;
  font-weight: 900;
}

.footer-outline-link {
  border: 1px solid var(--blue);
  color: #fff;
  background: rgba(4, 25, 50, 0.38);
}

.footer-whatsapp-button {
  color: #fff;
  background: #22bd62;
  box-shadow: 0 14px 28px rgba(18, 147, 75, 0.22);
}

.footer__bottom {
  padding: 0;
  color: rgba(255, 255, 255, 0.68);
  background: #04172d;
  border-top: 1px solid rgba(54, 130, 231, 0.26);
}

.footer-link-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1.1fr 1.05fr;
  gap: 34px;
  padding: 32px 20px 28px;
}

.footer-link-grid section {
  min-width: 0;
}

.footer-link-grid h3 {
  color: var(--blue);
  font-size: 18px;
  text-transform: uppercase;
}

.footer-link-grid a {
  color: rgba(255, 255, 255, 0.82);
}

.footer-contact-list li::before {
  content: "";
  margin: 0;
}

.footer-trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.footer-trust-list span {
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  font-weight: 800;
}

.footer-socials {
  display: flex;
  gap: 12px;
  margin-bottom: 18px;
}

.footer-socials a {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(54, 130, 231, 0.62);
  border-radius: 50%;
  color: var(--blue);
  font-weight: 900;
}

.footer-review {
  padding: 16px;
  border: 1px solid var(--blue);
  border-radius: 8px;
  background: rgba(8, 34, 66, 0.78);
}

.footer-review strong {
  display: block;
  margin-bottom: 8px;
  color: #ffc83d;
  font-size: 20px;
  letter-spacing: 2px;
}

.footer-review p,
.footer-legal p {
  margin: 0;
}

.footer-legal {
  padding: 18px 20px;
  text-align: center;
  border-top: 1px solid rgba(54, 130, 231, 0.2);
}

.footer-legal a {
  color: var(--blue);
}

.footer-help {
  display: grid;
  grid-template-columns: 150px 1fr auto;
  gap: 24px;
  align-items: center;
  margin-bottom: 28px;
  padding: 16px 24px;
  border: 1px solid rgba(54, 130, 231, 0.48);
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(18, 50, 88, 0.9), rgba(7, 25, 48, 0.88));
}

.footer-help__icon {
  width: 150px;
  height: 112px;
  border-radius: 8px;
  object-fit: contain;
  object-position: center;
}

.footer-help h3 {
  margin: 0 0 6px;
  color: #fff;
  font-size: 24px;
  line-height: 1.15;
}

.footer-help p {
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
}

.footer-help__actions {
  display: flex;
  gap: 12px;
}

.footer-help__actions .footer-whatsapp-button,
.footer-help__actions .footer-outline-link {
  width: auto;
  min-width: 150px;
  margin: 0;
}

.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 30;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  color: #fff;
  background: #22b05f;
  box-shadow: 0 14px 32px rgba(12, 70, 38, 0.28);
  font-weight: 800;
}

.whatsapp-float img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.page-hero {
  padding: 170px 0 80px;
  color: #fff;
  background-image: linear-gradient(270deg, rgba(25, 131, 177, 0.35), rgba(23, 45, 104, 0.92)), url("assets/images/Depositphotos_36839649_l-2015-3.png");
  background-position: center;
  background-size: cover;
}

.page-hero p {
  max-width: 720px;
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 20px;
}

.services-hero {
  position: relative;
  overflow: hidden;
  padding: 132px 0 58px;
  color: #fff;
  background:
    radial-gradient(circle at 10% 28%, rgba(45, 153, 203, 0.3), transparent 28%),
    linear-gradient(105deg, #081d3c 0%, #123b69 54%, #eaf3fb 54%, #fff 100%);
}

.services-hero::after {
  content: "";
  position: absolute;
  left: -4%;
  right: -4%;
  bottom: -44px;
  height: 92px;
  border-radius: 50% 50% 0 0;
  background: #fff;
}

.services-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  gap: 34px;
  align-items: center;
}

.services-hero__content {
  max-width: 560px;
  padding-bottom: 28px;
}

.services-hero .eyebrow {
  color: #d7effa;
  font-size: 22px;
}

.services-hero h1 {
  max-width: 600px;
  font-size: clamp(42px, 5.5vw, 70px);
}

.services-hero h1 span {
  color: #4bd384;
}

.services-hero__content > p:not(.eyebrow) {
  margin: 18px 0 26px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 20px;
}

.services-hero__visual {
  position: relative;
  min-height: 360px;
}

.services-hero__photo {
  position: absolute;
  display: block;
  border: 8px solid rgba(255, 255, 255, 0.92);
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 22px 54px rgba(4, 23, 45, 0.2);
}

.services-hero__photo--home {
  top: 2px;
  right: 80px;
  width: min(460px, 72%);
  aspect-ratio: 16 / 9;
}

.services-hero__photo--auto {
  right: 0;
  bottom: 10px;
  width: min(430px, 68%);
  aspect-ratio: 16 / 10;
}

.services-hero__badge {
  position: absolute;
  left: 14px;
  bottom: 28px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 999px;
  padding: 10px 16px;
  color: #0a2547;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 14px 32px rgba(4, 23, 45, 0.16);
  font-weight: 900;
}

.services-catalog {
  padding: 26px 0 46px;
  background: #fff;
}

.services-heading {
  max-width: 760px;
  margin-bottom: 26px;
}

.service-icon-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.service-tile {
  display: grid;
  grid-template-rows: auto auto 1fr auto auto;
  min-width: 0;
  min-height: 268px;
  padding: 22px 18px 18px;
  border: 1px solid rgba(220, 229, 238, 0.78);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 16px 34px rgba(23, 45, 104, 0.08);
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.service-tile:hover {
  transform: translateY(-3px);
  border-color: rgba(25, 131, 177, 0.28);
  box-shadow: 0 20px 42px rgba(23, 45, 104, 0.13);
}

.service-tile img {
  width: 96px;
  height: 96px;
  margin: 0 auto 14px;
  border-radius: 50%;
  object-fit: cover;
  background: #eaf5fb;
  box-shadow: inset 0 0 0 8px rgba(25, 131, 177, 0.08);
}

.service-tile h3 {
  overflow-wrap: anywhere;
  color: var(--blue-dark);
  font-size: 19px;
  line-height: 1.18;
}

.service-tile > p {
  margin: 12px 0 16px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.45;
}

.service-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: fit-content;
  margin: 0 auto;
  border: 0;
  padding: 6px 8px;
  color: var(--blue);
  background: transparent;
  font: inherit;
  font-size: 15px;
  font-weight: 900;
  cursor: pointer;
}

.service-more::after {
  content: ">";
  line-height: 1;
  transition: transform 0.2s ease;
}

.service-more[aria-expanded="true"]::after {
  transform: rotate(90deg);
}

.service-detail {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  text-align: left;
}

.service-detail p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.45;
}
.services-benefits {
  margin-top: 34px;
  border: 1px solid rgba(220, 229, 238, 0.95);
  border-radius: 8px;
  padding: 28px;
  background: linear-gradient(135deg, #f4faff 0%, #ffffff 48%, #eef7ff 100%);
  box-shadow: 0 18px 42px rgba(23, 45, 104, 0.1);
}

.services-benefits > h2 {
  margin-bottom: 22px;
  color: var(--ink);
  font-size: 26px;
  text-align: center;
}

.services-benefits__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.services-benefits article {
  display: grid;
  grid-template-columns: 74px 1fr;
  column-gap: 14px;
  align-items: center;
  min-height: 104px;
  border: 1px solid rgba(220, 229, 238, 0.76);
  border-radius: 8px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.82);
}

.services-benefits span {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  box-shadow: 0 10px 22px rgba(23, 45, 104, 0.1);
}

.services-benefits span {
  display: grid;
  place-items: center;
  justify-self: center;
  border: 1px solid rgba(25, 131, 177, 0.28);
  color: #1a9c5e;
  background: #fff;
  font-weight: 900;
}

.services-benefits article > img {
  justify-self: center;
  width: 74px;
  height: 74px;
  object-fit: contain;
  background: transparent;
}

.services-benefits h3 {
  margin: 0 0 4px;
  color: var(--blue-dark);
  font-size: 17px;
  text-transform: none;
}

.services-benefits p {
  grid-column: 2;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.35;
}

.inner-hero {
  position: relative;
  overflow: hidden;
  padding: 132px 0 62px;
  color: #fff;
  background:
    radial-gradient(circle at 12% 26%, rgba(55, 183, 217, 0.28), transparent 28%),
    linear-gradient(105deg, #081d3c 0%, #123b69 56%, #eef6fb 56%, #fff 100%);
}

.inner-hero::after {
  content: "";
  position: absolute;
  left: -4%;
  right: -4%;
  bottom: -48px;
  height: 94px;
  border-radius: 50% 50% 0 0;
  background: #fff;
}

.inner-hero--contact {
  background:
    radial-gradient(circle at 10% 30%, rgba(34, 176, 95, 0.26), transparent 28%),
    linear-gradient(105deg, #071b36 0%, #123b69 56%, #edf8f2 56%, #fff 100%);
}

.inner-hero--quote {
  background:
    radial-gradient(circle at 10% 30%, rgba(55, 183, 217, 0.24), transparent 28%),
    linear-gradient(105deg, #081d3c 0%, #153c62 56%, #eef6fb 56%, #fff 100%);
}

.inner-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 0.9fr);
  gap: 44px;
  align-items: center;
}

.inner-hero__content {
  max-width: 610px;
}

.inner-hero .eyebrow {
  color: #d7effa;
  font-size: 22px;
}

.inner-hero h1 {
  max-width: 680px;
  font-size: clamp(42px, 5.3vw, 68px);
}

.inner-hero__content > p:not(.eyebrow) {
  margin: 18px 0 26px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 20px;
}

.inner-hero__visual {
  position: relative;
  min-height: 360px;
}

.inner-hero__visual img {
  position: absolute;
  inset: 20px 0 auto auto;
  width: min(500px, 96%);
  aspect-ratio: 4 / 3;
  border: 8px solid rgba(255, 255, 255, 0.94);
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 22px 54px rgba(4, 23, 45, 0.2);
}

.inner-hero--contact .inner-hero__visual img {
  object-fit: contain;
  padding: 24px;
  background: #fff;
}

.inner-hero__stat {
  position: absolute;
  left: 0;
  bottom: 26px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: center;
  width: min(300px, 88%);
  border: 1px solid rgba(255, 255, 255, 0.84);
  border-radius: 8px;
  padding: 16px;
  color: #0a2547;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 14px 32px rgba(4, 23, 45, 0.16);
}

.inner-hero__stat strong {
  color: var(--blue);
  font-size: 34px;
  line-height: 1;
}

.inner-hero__stat span {
  color: var(--ink);
  font-weight: 900;
  line-height: 1.2;
}

/* Encabezado de contacto. */
.inner-hero--contact {
  min-height: 720px;
  padding: 154px 0 74px;
  background:
    radial-gradient(circle at 28% 42%, rgba(0, 116, 230, 0.24), transparent 32%),
    linear-gradient(120deg, #031a40 0%, #062b61 64%, #071d43 100%);
}

.inner-hero--contact::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: 0;
  right: -5%;
  bottom: 0;
  width: 48%;
  border-radius: 52% 0 0 58%;
  background: radial-gradient(circle at 44% 44%, #fff 0%, #edf6ff 58%, #dcecff 100%);
}

.inner-hero--contact::after {
  display: none;
}

.inner-hero--contact .inner-hero__grid {
  grid-template-columns: minmax(0, 1.05fr) minmax(400px, 0.8fr);
  gap: 32px;
}

.inner-hero--contact .inner-hero__content {
  max-width: 720px;
}

.inner-hero--contact .eyebrow {
  display: inline-block;
  margin-bottom: 22px;
  padding-bottom: 8px;
  border-bottom: 3px solid #20a8f3;
  color: #48c1ff;
  font-size: 20px;
}

.inner-hero--contact h1 {
  font-size: clamp(48px, 5.5vw, 78px);
  line-height: 0.98;
}

.inner-hero--contact h1 span {
  display: block;
  margin-top: 12px;
  color: #24a9f3;
}

.inner-hero--contact .inner-hero__content > p:not(.eyebrow) {
  max-width: 650px;
  margin: 30px 0 28px;
  font-size: 21px;
  line-height: 1.55;
}

.inner-hero--contact .hero-actions .button {
  min-width: 210px;
  min-height: 54px;
  border-radius: 12px;
  font-size: 17px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
}

.inner-hero--contact .button--primary {
  color: #fff;
  background: linear-gradient(135deg, #1688ee, #0752c9);
}

.contact-hero-benefits {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 700px;
  margin-top: 46px;
}

.contact-hero-benefits > div {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 12px;
  align-items: center;
  padding: 0 20px;
  border-right: 1px solid rgba(72, 193, 255, 0.46);
}

.contact-hero-benefits > div:first-child {
  padding-left: 0;
}

.contact-hero-benefits > div:last-child {
  border-right: 0;
}

.contact-hero-benefits img {
  display: block;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 5px 16px rgba(1, 19, 48, 0.35);
}

.contact-hero-benefits span {
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.2;
}

.contact-hero-benefits small {
  display: block;
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
  font-weight: 500;
}

.inner-hero--contact .inner-hero__visual {
  min-height: 530px;
}

.inner-hero--contact .inner-hero__visual img {
  inset: -30px 0 auto auto;
  width: min(440px, 94%);
  height: 570px;
  padding: 0;
  border: 0;
  border-radius: 0;
  object-fit: cover;
  object-position: center;
  background: transparent;
  box-shadow: none;
}

.inner-hero--contact .inner-hero__stat {
  left: -20px;
  bottom: 8px;
  min-width: 340px;
  padding: 18px 24px;
  border-radius: 16px;
}

.inner-hero--contact .inner-hero__stat span small {
  display: block;
  margin-top: 4px;
  color: #59708c;
  font-size: 14px;
  font-weight: 500;
}

/* Encabezado de Nosotros. */
.inner-hero--about {
  min-height: 760px;
  padding: 148px 0 156px;
  background:
    radial-gradient(circle at 24% 30%, rgba(18, 111, 205, 0.24), transparent 34%),
    linear-gradient(125deg, #031b41 0%, #052c61 56%, #08366d 100%);
}

.inner-hero--about::before {
  display: none;
}

.inner-hero--about::after {
  display: none;
}

.inner-hero--about .inner-hero__grid {
  grid-template-columns: minmax(0, 0.88fr) minmax(460px, 1.12fr);
  gap: 40px;
  min-height: 470px;
}

.inner-hero--about .inner-hero__content {
  max-width: 610px;
}

.inner-hero--about .eyebrow {
  display: inline-block;
  margin-bottom: 24px;
  padding-bottom: 8px;
  border-bottom: 3px solid #20a8f3;
  color: #48c1ff;
  font-size: 19px;
}

.inner-hero--about h1 {
  font-size: clamp(52px, 5.7vw, 78px);
  line-height: 1.02;
}

.inner-hero--about h1 span {
  display: block;
  color: #24a9f3;
}

.inner-hero--about .inner-hero__content > p:not(.eyebrow) {
  max-width: 570px;
  margin: 28px 0;
  font-size: 20px;
  line-height: 1.55;
}

.inner-hero--about .hero-actions .button {
  min-width: 200px;
  min-height: 52px;
  border-radius: 12px;
  font-size: 17px;
}

.inner-hero--about .button--primary {
  color: #fff;
  border: 1px solid #35aff2;
  background: rgba(7, 37, 77, 0.34);
}

.inner-hero--about .inner-hero__visual {
  position: absolute;
  z-index: -1;
  top: -148px;
  right: calc((100vw - min(var(--max), calc(100vw - 44px))) / -2);
  bottom: -156px;
  width: 60vw;
  min-height: 0;
  overflow: hidden;
  clip-path: ellipse(72% 105% at 85% 50%);
}

.inner-hero--about .inner-hero__visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(3, 27, 65, 0.82) 0%, rgba(4, 40, 84, 0.42) 34%, rgba(4, 40, 84, 0.08) 62%, transparent 76%);
  pointer-events: none;
}

.inner-hero--about .inner-hero__visual img {
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  border-radius: 0;
  object-fit: cover;
  object-position: center;
  box-shadow: none;
}

.inner-hero--about .inner-hero__stat {
  z-index: 2;
  left: 21%;
  bottom: 144px;
  min-width: 360px;
  padding: 20px 26px;
  border-radius: 18px;
}

.inner-hero--about .inner-hero__stat span small {
  display: block;
  margin-top: 5px;
  color: #58708e;
  font-size: 13px;
  font-weight: 500;
}

.about-hero-benefits {
  position: absolute;
  z-index: 3;
  right: 3.5%;
  bottom: 28px;
  left: 3.5%;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding: 25px 28px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 20px 50px rgba(2, 20, 48, 0.2);
}

.about-hero-benefits article {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 14px;
  align-items: center;
  padding: 0 22px;
  border-right: 1px solid #d7e2ee;
}

.about-hero-benefits article:last-child {
  border-right: 0;
}

.about-hero-benefits img {
  width: 62px;
  height: 62px;
  padding: 5px;
  border-radius: 14px;
  object-fit: contain;
  background: #eef7ff;
  filter: grayscale(1) sepia(0.75) saturate(3.2) hue-rotate(165deg) contrast(1.05);
}

.about-hero-benefits h3 {
  color: #092759;
  font-size: 17px;
  line-height: 1.18;
  text-transform: uppercase;
}

.about-hero-benefits p {
  margin: 7px 0 0;
  color: #4f6177;
  font-size: 13px;
  line-height: 1.35;
}

.story-section,
.contact-hub,
.form-panel-section {
  padding: 68px 0;
  background: #fff;
}

.story-grid,
.form-panel-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 34px;
  align-items: start;
}

.story-copy,
.form-intro-card {
  border: 1px solid rgba(220, 229, 238, 0.86);
  border-radius: 8px;
  padding: 34px;
  background: linear-gradient(135deg, #f5f9fd, #fff);
  box-shadow: 0 16px 34px rgba(23, 45, 104, 0.08);
}

.story-copy h2,
.form-intro-card h2 {
  color: var(--blue-dark);
}

.story-copy p,
.form-intro-card p {
  color: var(--muted);
}

.story-card-grid,
.contact-method-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.story-card,
.contact-method {
  min-height: 210px;
  border: 1px solid rgba(220, 229, 238, 0.86);
  border-radius: 8px;
  padding: 24px;
  background: #fff;
  box-shadow: 0 14px 30px rgba(23, 45, 104, 0.08);
}

.story-card span {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 18px;
  border-radius: 50%;
  color: #fff;
  background: var(--blue);
  font-weight: 900;
}

.story-card img {
  width: 82px;
  height: 82px;
  margin-bottom: 16px;
  object-fit: contain;
}

.story-card h3,
.contact-method h3 {
  color: var(--blue-dark);
  font-size: 21px;
}

.story-card p,
.contact-method p,
.contact-method span {
  color: var(--muted);
}

.about-benefits {
  width: min(var(--max), calc(100% - 44px));
  margin: 0 auto 30px;
}

.about-benefits .section-shell {
  width: 100%;
}

.about-benefits h2 {
  margin-bottom: 18px;
  color: var(--ink);
  font-size: 24px;
  text-align: center;
}

.contact-hub {
  position: relative;
  overflow: hidden;
  padding: 76px 0 82px;
  background:
    radial-gradient(circle at 8% 18%, rgba(55, 183, 217, 0.2), transparent 25%),
    linear-gradient(135deg, #071b3d 0%, #12366f 100%);
}

.contact-hub::after {
  content: "";
  position: absolute;
  right: -120px;
  bottom: -180px;
  width: 420px;
  height: 420px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
}

.contact-hub .section-shell {
  position: relative;
  z-index: 1;
}

.contact-hub .services-heading {
  max-width: 720px;
  margin-bottom: 38px;
}

.contact-hub .services-heading .eyebrow {
  color: #62c5e2;
}

.contact-hub .services-heading h2 {
  color: #fff;
}

.contact-hub .services-heading > p:last-child {
  margin: 14px auto 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 18px;
}

.contact-method-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}

.contact-method {
  position: relative;
  display: flex;
  min-height: 0;
  flex-direction: column;
  align-items: stretch;
  padding: 28px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  text-align: left;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 24px 55px rgba(0, 8, 28, 0.25);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.contact-method:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 65px rgba(0, 8, 28, 0.34);
}

.contact-method__top {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-bottom: 25px;
}

.contact-method__top img {
  width: 58px;
  height: 58px;
  margin: 0;
  border-radius: 16px;
  object-fit: contain;
  padding: 13px;
  background: linear-gradient(135deg, #e7f7fc, #edf3ff);
}

.contact-method__content {
  display: flex;
  flex: 1;
  flex-direction: column;
}

.contact-method__kicker {
  margin: 0 0 5px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-method .contact-method__content h3 {
  margin-bottom: 12px;
  color: var(--blue-dark);
  font-size: 24px;
  text-transform: none;
}

.contact-method .contact-method__content > p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.contact-method__details {
  display: grid;
  gap: 7px;
  padding: 0;
  margin: 20px 0 0;
  list-style: none;
}

.contact-method__details li {
  position: relative;
  padding-left: 20px;
  color: #4f6073;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
}

.contact-method__details li::before {
  content: "✓";
  position: absolute;
  top: 0;
  left: 0;
  color: var(--blue);
  font-weight: 900;
}

.contact-method__actions {
  display: grid;
  gap: 8px;
}

.contact-method .contact-method__action {
  display: flex;
  min-height: 46px;
  align-items: center;
  justify-content: space-between;
  margin-top: 22px;
  padding: 11px 15px;
  border-radius: 10px;
  color: #fff;
  background: var(--blue);
  font-size: 15px;
  font-weight: 800;
}

.contact-method__actions .contact-method__action {
  margin-top: 0;
}

.contact-method .contact-method__action--secondary {
  color: var(--blue-dark);
  background: #edf5fb;
}

.contact-method .contact-method__status {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  padding: 10px 13px;
  border-radius: 999px;
  color: #24613e;
  background: #e9f8ef;
  font-size: 14px;
  font-weight: 800;
}

.contact-method__status i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22b05f;
}

.form-panel-section {
  background: linear-gradient(135deg, #eef7ff, #f9fbfe);
}

.quote-panel-section {
  padding-top: 72px;
}

.form-intro-card {
  position: sticky;
  top: 116px;
}

.form-intro-card ul {
  padding: 0;
  margin: 24px 0 0;
  list-style: none;
}

.form-intro-card li {
  display: flex;
  gap: 12px;
  margin: 12px 0;
  color: var(--ink);
  font-weight: 800;
}

.form-intro-card li::before {
  content: "✓";
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  border-radius: 50%;
  color: #fff;
  background: #22b05f;
  font-size: 13px;
}

.page-section {
  padding: 78px 0;
  background: #fff;
}

.page-section--soft {
  background: var(--soft);
}

.content-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.content-grid--services {
  row-gap: 54px;
}

.service-card,
.info-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(23, 45, 104, 0.08);
}

.service-card img {
  width: 100%;
  aspect-ratio: 390 / 500;
  object-fit: cover;
  margin-bottom: 20px;
}

.service-card p,
.info-card p {
  color: var(--muted);
}

.info-card--wide {
  padding: 44px;
}

.page-section--about-real {
  background-image: url("assets/images/AdobeStock_298940362-scaled.jpeg");
  background-position: bottom right;
  background-size: cover;
}

.about-photo-block {
  min-height: 420px;
}

.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 42px;
  align-items: start;
}

.contact-list {
  display: grid;
  gap: 18px;
}

.contact-list a,
.contact-list span {
  display: block;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font-weight: 700;
}

.section-heading--center {
  margin-inline: auto;
  text-align: center;
}

.contact-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  text-align: center;
}

.contact-card {
  padding: 34px 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(23, 45, 104, 0.08);
}

.contact-card img {
  width: 64px;
  height: 64px;
  margin: 0 auto 18px;
}

.contact-card p,
.contact-card a {
  color: var(--muted);
}

.page-section--form {
  background-image: linear-gradient(rgba(243, 247, 251, 0.9), rgba(243, 247, 251, 0.9)), url("assets/images/bg01-free-img.jpg");
  background-position: center;
  background-size: cover;
}

.form-card {
  padding: 34px;
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.quote-form {
  display: grid;
  gap: 16px;
}

.quote-form label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-weight: 700;
}

.quote-form label span {
  color: #c83737;
}

.quote-form small {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.quote-form input,
.quote-form select,
.quote-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px 14px;
  color: var(--ink);
  font: inherit;
  background: #fff;
}

.quote-form textarea {
  min-height: 130px;
  resize: vertical;
}

/* Formulario de cotizacion: compacto en pantallas amplias. */
.quote-panel-section {
  padding: 54px 0;
}

.quote-panel-section .form-panel-grid {
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
  gap: 28px;
}

.quote-panel-section .form-card {
  padding: 26px;
}

.quote-panel-section .quote-form {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 16px;
}

.quote-panel-section .quote-form label {
  gap: 4px;
  align-content: start;
  font-size: 15px;
  line-height: 1.3;
}

.quote-panel-section .quote-form .form-label-text {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  min-height: 20px;
  color: var(--ink);
}

.quote-panel-section .quote-form input,
.quote-panel-section .quote-form select,
.quote-panel-section .quote-form textarea {
  padding: 9px 11px;
  font-size: 16px;
}

.quote-panel-section .quote-form input,
.quote-panel-section .quote-form select {
  height: 48px;
}

.quote-panel-section .quote-form small {
  font-size: 12px;
  line-height: 1.25;
}

.quote-panel-section .quote-form label:nth-of-type(7),
.quote-panel-section .quote-form label:nth-of-type(8),
.quote-panel-section .quote-form .button {
  grid-column: 1 / -1;
}

.quote-panel-section .quote-form textarea {
  min-height: 88px;
}

.quote-panel-section .quote-form .button {
  width: fit-content;
  min-width: 180px;
  margin-top: 2px;
}

/* Formulario de contacto: mismas proporciones que la cotizacion. */
.contact-panel-section {
  padding: 54px 0;
}

.contact-panel-section .form-panel-grid {
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
  gap: 28px;
}

.contact-panel-section .form-card {
  padding: 26px;
}

.contact-panel-section .quote-form {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 16px;
}

.contact-panel-section .quote-form label {
  gap: 4px;
  align-content: start;
  font-size: 15px;
  line-height: 1.3;
}

.contact-panel-section .quote-form .form-label-text {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  min-height: 20px;
  color: var(--ink);
}

.contact-panel-section .quote-form input,
.contact-panel-section .quote-form textarea {
  padding: 9px 11px;
  font-size: 16px;
}

.contact-panel-section .quote-form input {
  height: 48px;
}

.contact-panel-section .quote-form small {
  font-size: 12px;
  line-height: 1.25;
}

.contact-panel-section .quote-form label:nth-of-type(3),
.contact-panel-section .quote-form label:nth-of-type(4),
.contact-panel-section .quote-form .button {
  grid-column: 1 / -1;
}

.contact-panel-section .quote-form textarea {
  min-height: 100px;
}

.contact-panel-section .quote-form .button {
  width: fit-content;
  min-width: 180px;
  margin-top: 2px;
}

@media (max-width: 980px) {
  .site-header {
    padding: 14px 20px;
  }

  .menu-button {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 20px 22px;
    color: var(--ink);
    background: #fff;
    box-shadow: 0 18px 34px rgba(23, 45, 104, 0.13);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 12px 0;
  }

  .site-nav a.is-current:not(.agent-login) {
    padding: 10px 12px;
    border-radius: 10px;
    background: rgba(22, 136, 238, 0.12);
  }

  .site-nav a.is-current:not(.agent-login)::after {
    display: none;
  }

  .agent-login {
    width: max-content;
    margin-top: 8px;
  }

  .team {
    background-attachment: scroll;
  }

  .about__hero-grid,
  .team__grid {
    grid-template-columns: 1fr;
  }

  .about__hero,
  .about__hero-grid {
    min-height: auto;
  }

  .about__intro {
    padding: 64px 0 34px;
  }

  .about__hero-grid > img {
    width: 100%;
    min-height: 280px;
  }

  .about-card {
    grid-template-columns: 1fr;
    gap: 32px;
    margin-top: -34px;
  }

  .about-card__main {
    grid-template-columns: 74px 1fr;
    padding-right: 0;
    padding-bottom: 30px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .insurance-grid,
  .team-list,
  .content-grid,
  .split-grid,
  .contact-card-grid {
    grid-template-columns: 1fr;
  }

  .service-icon-grid--home {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px 16px;
  }

  .services-hero {
    padding: 118px 0 50px;
    background: linear-gradient(160deg, #081d3c 0%, #123b69 64%, #f3f8fc 64%, #fff 100%);
  }

  .services-hero__grid {
    grid-template-columns: 1fr;
  }

  .services-hero__content {
    max-width: 640px;
    padding-bottom: 0;
  }

  .services-hero__visual {
    min-height: 300px;
  }

  .services-hero__photo--home {
    right: auto;
    left: 0;
    width: 68%;
  }

  .services-hero__photo--auto {
    width: 70%;
  }

  .service-icon-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .services-benefits__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .inner-hero {
    padding: 118px 0 52px;
    background: linear-gradient(160deg, #081d3c 0%, #123b69 64%, #f3f8fc 64%, #fff 100%);
  }

  .inner-hero__grid,
  .story-grid,
  .form-panel-grid {
    grid-template-columns: 1fr;
  }

  .quote-panel-section .form-panel-grid {
    grid-template-columns: 1fr;
  }

  .contact-panel-section .form-panel-grid {
    grid-template-columns: 1fr;
  }

  .inner-hero__visual {
    min-height: 300px;
  }

  .inner-hero__visual img {
    left: 0;
    right: auto;
    width: min(520px, 88%);
  }

  .inner-hero__stat {
    left: auto;
    right: 0;
  }

  .contact-method-grid {
    grid-template-columns: 1fr;
  }

  .contact-method {
    min-height: 0;
  }

  .form-intro-card {
    position: static;
  }

  .team__intro {
    position: static;
  }

  .partners__logos {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-feature-grid,
  .footer-link-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-feature--brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .contact-panel-section .quote-form {
    grid-template-columns: 1fr;
  }

  .contact-panel-section .quote-form label:nth-of-type(3),
  .contact-panel-section .quote-form label:nth-of-type(4),
  .contact-panel-section .quote-form .button {
    grid-column: auto;
  }

  .contact-panel-section .quote-form .button {
    width: 100%;
  }

  .quote-panel-section .quote-form {
    grid-template-columns: 1fr;
  }

  .quote-panel-section .quote-form label:nth-of-type(7),
  .quote-panel-section .quote-form label:nth-of-type(8),
  .quote-panel-section .quote-form .button {
    grid-column: auto;
  }

  .quote-panel-section .quote-form .button {
    width: 100%;
  }

  body {
    font-size: 16px;
  }

  .section-shell {
    width: calc(100vw - 44px);
  }

  .brand img {
    width: 150px;
  }

  .hero {
    min-height: 100vh;
    min-height: 100svh;
    padding: 142px 22px 54px;
  }

  h1 {
    font-size: 42px;
  }

  .services-hero {
    padding: 112px 0 34px;
  }

  .services-hero::after {
    bottom: -58px;
  }

  .services-hero .eyebrow {
    font-size: 16px;
  }

  .services-hero h1 {
    max-width: calc(100vw - 44px);
    font-size: 35px;
  }

  .services-hero h1 span {
    display: block;
  }

  .services-hero__content > p:not(.eyebrow) {
    max-width: calc(100vw - 44px);
    font-size: 17px;
  }

  .services-hero .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    width: min(100%, 260px);
  }

  .services-hero .button {
    width: 100%;
  }

  .services-hero__visual {
    width: calc(100vw - 44px);
    min-height: 226px;
  }

  .services-hero__photo {
    border-width: 5px;
  }

  .services-hero__photo--home {
    width: 76%;
  }

  .services-hero__photo--auto {
    width: 76%;
    bottom: 8px;
  }

  .services-hero__badge {
    left: 0;
    bottom: 8px;
    padding: 8px 12px;
    font-size: 13px;
  }

  .services-catalog {
    padding-top: 18px;
  }

  .services-heading h2 {
    max-width: 330px;
    margin-inline: auto;
    font-size: 28px;
  }

  .inner-hero {
    padding: 110px 0 36px;
  }

  .inner-hero::after {
    bottom: -58px;
  }

  .inner-hero .eyebrow {
    font-size: 16px;
  }

  .inner-hero h1 {
    max-width: calc(100vw - 44px);
    font-size: 35px;
  }

  .inner-hero__content > p:not(.eyebrow) {
    max-width: calc(100vw - 44px);
    font-size: 17px;
  }

  .inner-hero .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    width: min(100%, 260px);
  }

  .inner-hero .button {
    width: 100%;
  }

  .inner-hero__visual {
    width: calc(100vw - 44px);
    min-height: 228px;
  }

  .inner-hero__visual img {
    border-width: 5px;
    width: 86%;
  }

  .inner-hero__stat {
    width: min(250px, 82%);
    padding: 12px;
  }

  .inner-hero__stat strong {
    font-size: 26px;
  }

  .story-section,
  .contact-hub,
  .form-panel-section {
    padding: 46px 0;
  }

  .story-copy,
  .form-intro-card,
  .story-card,
  .contact-method,
  .form-card {
    padding: 22px;
  }

  .story-card img {
    width: 68px;
    height: 68px;
    margin-bottom: 12px;
  }

  .story-card-grid {
    grid-template-columns: 1fr;
  }

  .contact-method {
    min-height: auto;
  }

  .about-benefits {
    width: calc(100vw - 44px);
  }

  .service-icon-grid,
  .services-benefits__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }

  .service-tile {
    min-height: auto;
    padding: 16px 12px;
  }

  .service-tile img {
    width: 72px;
    height: 72px;
    margin-bottom: 12px;
  }

  .service-tile h3 {
    font-size: 15px;
    line-height: 1.12;
  }

  .service-tile > p {
    margin: 9px 0 12px;
    font-size: 13px;
    line-height: 1.32;
  }

  .service-more {
    font-size: 13px;
  }

  .services-benefits {
    padding: 18px 14px;
  }

  .services-benefits > h2 {
    font-size: 21px;
  }

  .services-benefits article {
    grid-template-columns: 52px 1fr;
    min-height: auto;
    padding: 12px 10px;
  }

  .services-benefits article > img {
    width: 52px;
    height: 52px;
  }

  .services-benefits h3 {
    font-size: 14px;
  }

  .services-benefits p {
    font-size: 12px;
    line-height: 1.28;
  }

  .about,
  .insurance,
  .team {
    padding-block: 58px;
  }

  .about {
    padding: 0 0 42px;
    background: #f7fbff;
  }

  .about__hero {
    overflow: visible;
    background: #051a34;
  }

  .about__hero-grid {
    position: relative;
    display: grid;
    width: 100%;
  }

  .about__intro {
    width: 100%;
    padding: 24px 22px 22px;
    background: linear-gradient(135deg, #051a34 0%, #0b3263 100%);
  }

  .about__intro .eyebrow {
    margin-bottom: 2px;
    color: var(--blue);
    font-size: 15px;
  }

  .about__intro h2 {
    font-size: 34px;
    text-shadow: 0 4px 14px rgba(0, 0, 0, 0.24);
  }

  .about__tagline {
    position: absolute;
    z-index: 2;
    left: 22px;
    right: 22px;
    bottom: -42px;
    max-width: none !important;
    margin: 0 !important;
    border-radius: 8px;
    padding: 18px 22px;
    color: #fff !important;
    background: rgba(5, 26, 52, 0.94);
    box-shadow: 0 18px 40px rgba(5, 26, 52, 0.24);
    font-size: 20px !important;
    font-weight: 800;
    line-height: 1.22 !important;
  }

  .about__tagline::after {
    content: "";
    display: block;
    width: 48px;
    height: 3px;
    margin-top: 10px;
    border-radius: 999px;
    background: var(--blue);
  }

  .about__hero-grid > img {
    height: 260px;
    min-height: 260px;
    object-position: center;
  }

  .service-icon-grid--home {
    width: min(100%, 460px);
    margin-inline: auto;
  }

  .about-card {
    width: calc(100% - 34px);
    margin-top: 68px;
    padding: 48px 22px 24px;
    border-radius: 8px;
  }

  .about-card__main {
    grid-template-columns: 1fr;
    gap: 14px;
    padding-bottom: 22px;
  }

  .about-card__main > div:last-child {
    display: grid;
  }

  .about-card__icon {
    margin-bottom: 4px;
  }

  .about-card__icon,
  .about-card__features article > img {
    width: 48px;
    height: 48px;
  }

  .about-card h3 {
    font-size: 24px;
  }

  .about-card h3::after {
    width: 54px;
    height: 3px;
    margin: 14px 0 18px;
  }

  .about-card p {
    margin: 0 0 12px;
    font-size: 15px;
    line-height: 1.42;
  }

  .about-card__features {
    gap: 0;
  }

  .about-card__features article {
    grid-template-columns: 48px 1fr;
    gap: 14px;
    padding-top: 16px;
    border-top: 1px solid var(--line);
  }

  .about-card__features h4 {
    font-size: 17px;
  }

  .about-card__features p {
    margin: 0;
  }

  .partners {
    padding: 36px 0 48px;
  }

  .partners__heading {
    margin-bottom: 22px;
  }

  .partners__heading h2 {
    font-size: 24px;
  }

  .partners__heading p {
    font-size: 13px;
  }

  .brand {
    padding: 7px 13px 7px 9px;
  }

  .footer__top {
    padding: 22px 0 14px;
  }

  .footer-feature-grid,
  .footer-link-grid {
    grid-template-columns: 1fr;
  }

  .footer-feature-grid {
    gap: 10px;
  }

  .footer-feature {
    min-height: auto;
    padding: 14px;
  }

  .footer-feature--brand {
    padding: 0 12px 2px;
    text-align: center;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .footer-feature--brand img {
    width: min(230px, 78%);
    padding: 0;
    background: transparent;
  }

  .footer-feature--brand p {
    max-width: 300px;
    margin: 8px auto 0;
    font-size: 14px;
    line-height: 1.35;
  }

  .footer-feature--brand ul {
    display: none;
  }

  .footer-feature:not(.footer-feature--brand) {
    display: grid;
    grid-template-columns: 38px 1fr;
    column-gap: 10px;
    align-items: start;
  }

  .footer-feature:not(.footer-feature--brand) .footer-icon {
    grid-row: 1 / span 4;
    margin: 0;
  }

  .footer-feature p {
    margin: 0 0 3px;
    font-size: 14px;
    line-height: 1.35;
  }

  .footer-feature:not(.footer-feature--brand) p:not(.footer-kicker):last-child {
    display: none;
  }

  .footer-feature h3,
  .footer-link-grid h3 {
    margin-bottom: 8px;
  }

  .footer-feature h3::after,
  .footer-link-grid h3::after {
    display: none;
  }

  .footer-outline-link {
    width: fit-content;
    max-width: 100%;
    padding: 8px 12px;
    font-size: 13px;
  }

  .footer-link-grid {
    gap: 14px;
    padding: 16px 22px 12px;
  }

  .footer-contact-col,
  .footer-review {
    display: none;
  }

  .footer-services-col ul {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 6px;
    margin-top: 10px;
  }

  .footer-services-col li {
    margin: 0;
    text-align: center;
  }

  .footer-services-col li::before {
    display: none;
  }

  .footer-services-col a {
    display: grid;
    gap: 4px;
    justify-items: center;
    color: #fff;
    font-size: 12px;
  }

  .footer-services-col a::before {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border: 1px solid rgba(54, 130, 231, 0.68);
    border-radius: 50%;
    color: var(--blue);
    font-weight: 900;
  }

  .footer-services-col li:nth-child(1) a::before {
    content: "A";
  }

  .footer-services-col li:nth-child(2) a::before {
    content: "V";
  }

  .footer-services-col li:nth-child(3) a::before {
    content: "G";
  }

  .footer-services-col li:nth-child(4) a::before {
    content: "H";
  }

  .footer-services-col li:nth-child(5) a::before {
    content: "E";
  }

  .footer-about-col {
    padding-top: 12px;
    border-top: 1px solid rgba(54, 130, 231, 0.26);
  }

  .footer-about-col p {
    font-size: 14px;
    line-height: 1.35;
  }

  .footer-trust-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    margin-top: 10px;
  }

  .footer-trust-list span {
    padding-left: 7px;
    border-left: 1px solid rgba(54, 130, 231, 0.28);
    color: var(--blue);
    font-size: 11px;
    text-transform: uppercase;
  }

  .footer-social-col {
    display: grid;
    justify-items: center;
    padding-top: 2px;
  }

  .footer-social-col h3 {
    display: none;
  }

  .footer-socials {
    margin: 0;
    gap: 8px;
  }

  .footer-socials a {
    width: 34px;
    height: 34px;
    font-size: 13px;
  }

  .footer-help {
    grid-template-columns: 78px 1fr;
    gap: 10px;
    margin-bottom: 12px;
    padding: 10px;
    min-height: auto;
  }

  .footer-icon {
    width: 36px;
    height: 36px;
    margin-bottom: 0;
    font-size: 16px;
  }

  .footer-feature h3 {
    font-size: 17px;
  }

  .footer-help__icon {
    width: 78px;
    height: 64px;
    border-radius: 8px;
  }

  .footer-help h3 {
    font-size: 16px;
    margin-bottom: 3px;
  }

  .footer-help p {
    font-size: 13px;
    line-height: 1.3;
  }

  .footer-help__actions {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .footer-help__actions .footer-whatsapp-button,
  .footer-help__actions .footer-outline-link {
    min-width: 0;
    width: 100%;
    padding: 9px 10px;
    font-size: 13px;
  }

  .footer-legal {
    padding: 10px 20px 12px;
    font-size: 13px;
  }

  .member {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 0;
    padding: 14px 8px 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    background: rgba(5, 45, 78, 0.24);
    text-align: center;
  }

  .team__intro {
    position: static;
    text-align: center;
  }

  .team__intro h2 {
    margin-bottom: 6px;
  }

  .member > div {
    display: flex;
    width: 100%;
    flex: 1;
    flex-direction: column;
    align-items: center;
  }

  .member img {
    width: 72px;
    height: 72px;
    margin: auto;
  }

  .team-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .member h3 {
    min-height: 2.3em;
    margin-top: 9px;
    font-size: 15px;
    line-height: 1.15;
  }

  .member p {
    min-height: 2.7em;
    font-size: 13px;
    line-height: 1.25;
  }

  .member .member-phones {
    display: grid;
    justify-items: center;
    gap: 1px;
    min-height: 3.8em;
    margin-top: 7px;
    font-size: 12px;
  }

  .member .member-phone-label,
  .member .member-phone-separator {
    display: none;
  }

  .member .member-contact {
    align-self: center;
    margin-top: auto;
    padding: 7px 11px;
    font-size: 12px;
  }
}

@media (max-width: 980px) {
  .inner-hero--contact {
    min-height: auto;
    padding: 126px 0 64px;
    background:
      radial-gradient(circle at 28% 28%, rgba(0, 116, 230, 0.24), transparent 34%),
      linear-gradient(145deg, #031a40, #07366e);
  }

  .inner-hero--contact::before {
    display: none;
  }

  .inner-hero--contact .inner-hero__grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .inner-hero--contact .inner-hero__visual {
    width: min(600px, 100%);
    min-height: 430px;
    margin-inline: auto;
    border-radius: 40px;
    background: linear-gradient(135deg, #f7fbff, #ddecfb);
  }

  .inner-hero--contact .inner-hero__visual img {
    inset: -20px 50% auto auto;
    width: min(380px, 76%);
    height: 450px;
    transform: translateX(50%);
  }

  .inner-hero--contact .inner-hero__stat {
    left: 50%;
    right: auto;
    bottom: 16px;
    transform: translateX(-50%);
  }
}

@media (max-width: 640px) {
  .inner-hero--contact {
    padding: 112px 0 44px;
  }

  .inner-hero--contact h1 {
    font-size: 42px;
  }

  .inner-hero--contact .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .inner-hero--contact .hero-actions .button {
    width: 100%;
    min-width: 0;
  }

  .contact-hero-benefits {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 34px;
  }

  .contact-hero-benefits > div,
  .contact-hero-benefits > div:first-child {
    padding: 0;
    border-right: 0;
  }

  .inner-hero--contact .inner-hero__visual {
    min-height: 360px;
    border-radius: 28px;
  }

  .inner-hero--contact .inner-hero__visual img {
    width: 80%;
    height: 360px;
  }

  .inner-hero--contact .inner-hero__stat {
    min-width: min(310px, calc(100% - 24px));
    padding: 14px 18px;
  }
}

@media (max-width: 980px) {
  .inner-hero--about {
    min-height: auto;
    padding: 126px 0 40px;
    background: linear-gradient(145deg, #031b41, #07366e);
  }

  .inner-hero--about::before {
    display: none;
  }

  .inner-hero--about .inner-hero__grid {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .inner-hero--about .inner-hero__visual {
    position: relative;
    z-index: 0;
    top: auto;
    right: auto;
    bottom: auto;
    width: 100%;
    min-height: 430px;
    border-radius: 34px;
    overflow: hidden;
    clip-path: none;
  }

  .inner-hero--about .inner-hero__visual img {
    inset: 0;
    width: 100%;
    height: 430px;
    border-radius: 34px;
  }

  .inner-hero--about .inner-hero__stat {
    left: 24px;
    right: auto;
    bottom: 22px;
  }

  .about-hero-benefits {
    position: relative;
    right: auto;
    bottom: auto;
    left: auto;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px 0;
    width: min(var(--max), calc(100% - 44px));
    margin: 28px auto 0;
  }

  .about-hero-benefits article:nth-child(2) {
    border-right: 0;
  }
}

@media (max-width: 640px) {
  .inner-hero--about {
    padding: 112px 0 32px;
  }

  .inner-hero--about h1 {
    font-size: 42px;
  }

  .inner-hero--about .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .inner-hero--about .hero-actions .button {
    width: 100%;
    min-width: 0;
  }

  .inner-hero--about .inner-hero__visual,
  .inner-hero--about .inner-hero__visual img {
    min-height: 340px;
    height: 340px;
  }

  .inner-hero--about .inner-hero__stat {
    left: 12px;
    bottom: 12px;
    min-width: min(320px, calc(100% - 24px));
  }

  .about-hero-benefits {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
    padding: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .about-hero-benefits article,
  .about-hero-benefits article:nth-child(2) {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 8px;
    align-items: start;
    min-height: 0;
    padding: 12px 10px;
    border: 0;
    border-radius: 13px;
    background: #fff;
    box-shadow: 0 8px 18px rgba(2, 20, 48, 0.12);
  }

  .about-hero-benefits article:last-child {
    border: 0;
  }

  .about-hero-benefits article:nth-child(odd) {
    border-right: 0;
  }

  .about-hero-benefits article:nth-child(-n + 2) {
    border-bottom: 0;
  }

  .about-hero-benefits img {
    width: 42px;
    height: 42px;
    padding: 3px;
    border-radius: 10px;
  }

  .about-hero-benefits h3 {
    font-size: 13px;
    line-height: 1.18;
  }

  .about-hero-benefits p {
    margin-top: 5px;
    font-size: 11px;
    line-height: 1.28;
  }

  .story-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .story-card {
    min-height: 230px;
    padding: 16px 14px;
  }

  .story-card img {
    width: 54px;
    height: 54px;
    margin-bottom: 10px;
  }

  .story-card h3 {
    font-size: 17px;
    line-height: 1.18;
  }

  .story-card p {
    margin-bottom: 0;
    font-size: 13px;
    line-height: 1.4;
  }
}

@media (max-width: 640px) {
  .inner-hero--contact,
  .inner-hero--about {
    padding-top: 98px;
  }

  .inner-hero--contact {
    padding-bottom: 24px;
  }

  .inner-hero--about {
    padding-bottom: 20px;
  }

  .inner-hero--contact .eyebrow,
  .inner-hero--about .eyebrow {
    margin-bottom: 14px;
    padding-bottom: 5px;
    font-size: 14px;
  }

  .inner-hero--contact h1,
  .inner-hero--about h1 {
    font-size: 36px;
    line-height: 1;
  }

  .inner-hero--contact h1 span,
  .inner-hero--about h1 span {
    margin-top: 7px;
  }

  .inner-hero--contact .inner-hero__content > p:not(.eyebrow),
  .inner-hero--about .inner-hero__content > p:not(.eyebrow) {
    margin: 16px 0 18px;
    font-size: 16px;
    line-height: 1.4;
  }

  .inner-hero--contact .hero-actions,
  .inner-hero--about .hero-actions {
    gap: 9px;
  }

  .inner-hero--contact .hero-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .inner-hero--contact .hero-actions .button,
  .inner-hero--about .hero-actions .button {
    min-height: 44px;
    padding: 8px 14px;
    font-size: 15px;
  }

  .inner-hero--contact .hero-actions .button {
    padding-inline: 8px;
    font-size: 13px;
    white-space: nowrap;
  }

  .contact-hero-benefits {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    margin-top: 22px;
  }

  .contact-hero-benefits > div,
  .contact-hero-benefits > div:first-child {
    display: grid;
    grid-template-columns: 46px 1fr;
    gap: 7px;
    align-items: center;
  }

  .contact-hero-benefits img {
    width: 46px;
    height: 46px;
  }

  .contact-hero-benefits span {
    font-size: 13px;
    line-height: 1.15;
  }

  .contact-hero-benefits small {
    margin-top: 2px;
    font-size: 11px;
  }

  .inner-hero--contact .inner-hero__grid,
  .inner-hero--about .inner-hero__grid {
    gap: 24px;
  }

  .inner-hero--contact .inner-hero__visual {
    min-height: 0;
    height: auto;
    aspect-ratio: 3 / 2;
    border-radius: 24px;
    background: radial-gradient(circle at 50% 42%, #fff 0%, #edf6ff 62%, #dceaf8 100%);
  }

  .inner-hero--contact .inner-hero__visual img {
    inset: 0;
    width: 100%;
    max-width: none;
    min-height: 0;
    height: 100%;
    object-fit: contain;
    transform: none;
    border-radius: 24px;
  }

  .inner-hero--about .inner-hero__visual,
  .inner-hero--about .inner-hero__visual img {
    min-height: 250px;
    height: 250px;
  }

  .inner-hero--contact .inner-hero__stat,
  .inner-hero--about .inner-hero__stat {
    min-width: min(280px, calc(100% - 20px));
    padding: 11px 14px;
  }

  .inner-hero--contact .inner-hero__stat {
    display: none;
  }

  .inner-hero--contact .inner-hero__stat strong,
  .inner-hero--about .inner-hero__stat strong {
    font-size: 25px;
  }

  .inner-hero--contact .inner-hero__stat span,
  .inner-hero--about .inner-hero__stat span {
    font-size: 13px;
  }

  .inner-hero--contact .inner-hero__stat span small,
  .inner-hero--about .inner-hero__stat span small {
    font-size: 11px;
  }
}

@media (max-width: 640px) {
  .contact-panel-section,
  .contact-hub { padding: 28px 0; }
  .contact-panel-section .form-panel-grid { gap: 12px; }
  .contact-panel-section .form-intro-card { padding: 16px 17px; border-radius: 14px; }
  .contact-panel-section .form-intro-card .eyebrow { margin-bottom: 5px; font-size: 12px; }
  .contact-panel-section .form-intro-card h2 { margin-bottom: 5px; font-size: 24px; }
  .contact-panel-section .form-intro-card > p { margin: 0; font-size: 14px; line-height: 1.35; }
  .contact-panel-section .form-intro-card ul { display: none; }
  .contact-panel-section .form-card { padding: 16px; border-radius: 14px; }
  .contact-panel-section .quote-form { gap: 9px; }
  .contact-panel-section .quote-form label { gap: 3px; font-size: 14px; }
  .contact-panel-section .quote-form input { height: 43px; padding: 8px 10px; }
  .contact-panel-section .quote-form textarea { min-height: 72px; padding: 9px 10px; }
  .contact-panel-section .quote-form small { font-size: 11px; }
  .contact-panel-section .quote-form .button { min-height: 43px; margin-top: 2px; }
  .contact-hub .services-heading { margin-bottom: 18px; }
  .contact-hub .services-heading > p:last-child { margin-top: 7px; font-size: 14px; line-height: 1.35; }
  .contact-method-grid { gap: 10px; }
  .contact-method { padding: 16px; border-radius: 14px; }
  .contact-method__top { position: absolute; top: 14px; right: 14px; margin: 0; }
  .contact-method__top img { width: 44px; height: 44px; padding: 10px; border-radius: 12px; }
  .contact-method__kicker,
  .contact-method .contact-method__content h3 { max-width: calc(100% - 58px); }
  .contact-method .contact-method__content h3 { margin-bottom: 6px; font-size: 20px; }
  .contact-method .contact-method__content > p { font-size: 14px; line-height: 1.4; }
  .contact-method__details { display: none; }
  .contact-method .contact-method__action { min-height: 42px; margin-top: 12px; padding: 8px 12px; font-size: 14px; }
}

/* Pie de página móvil: marca centrada, datos en pareja e iconos de seguros. */
@media (max-width: 640px) {
  .partners {
    padding: 22px 0 28px;
  }

  .partners__heading {
    margin-bottom: 13px;
  }

  .partners__heading h2 {
    font-size: 20px;
  }

  .partners__heading p {
    margin-top: 5px;
    font-size: 12px;
  }

  .partners__logos {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 10px 7px;
  }

  .partners__logos img {
    grid-column: span 2;
    max-height: 58px;
  }

  .partners__logos img:nth-child(4) {
    grid-column: 2 / span 2;
  }

  .partners__logos img:nth-child(5) {
    grid-column: 4 / span 2;
  }

  .footer-feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
  }

  .footer-feature--brand {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-feature--brand img {
    display: block;
    margin-inline: auto;
  }

  .footer-feature--brand p {
    margin-inline: auto;
    text-align: center;
  }

  .footer-feature:not(.footer-feature--brand) {
    grid-template-columns: 32px minmax(0, 1fr);
    gap: 0 7px;
    padding: 12px 10px;
  }

  .footer-feature:not(.footer-feature--brand) .footer-icon {
    width: 32px;
    height: 32px;
    font-size: 13px;
  }

  .footer-feature:not(.footer-feature--brand) .footer-kicker {
    font-size: 10px;
  }

  .footer-feature:not(.footer-feature--brand) h3 {
    font-size: 14px;
    line-height: 1.15;
  }

  .footer-feature:not(.footer-feature--brand) p {
    font-size: 11px;
    line-height: 1.3;
  }

  .footer-feature:not(.footer-feature--brand) .footer-outline-link {
    min-width: 0;
    max-width: 100%;
    padding: 7px 8px;
    overflow-wrap: anywhere;
    font-size: 10px;
    text-align: center;
  }

  .footer-services-col a::before {
    content: "" !important;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 0;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
  }

  .footer-services-col li:nth-child(1) a::before { background-image: url("assets/images/footer-auto.png"); }
  .footer-services-col li:nth-child(2) a::before { background-image: url("assets/images/footer-vida.png"); }
  .footer-services-col li:nth-child(3) a::before { background-image: url("assets/images/footer-gmm.png"); }
  .footer-services-col li:nth-child(4) a::before { background-image: url("assets/images/footer-hogar.png"); }
  .footer-services-col li:nth-child(5) a::before { background-image: url("assets/images/footer-empresas.png"); }
}
