﻿:root {
  --bg: #eef1f7;
  --panel: #f4f4f4;
  --card: #ffffff;
  --ink: #121212;
  --muted: #5f6271;
  --line: rgba(11, 0, 76, 0.14);
  --brand: #0b004c;
  --brand-dark: #06002f;
  --brand-blue: #4965d3;
  --brand-coral: #ff8690;
  --accent: #4965d3;
  --shadow: 0 28px 70px rgba(11, 0, 76, 0.12);
}

body {
  font-family: "Montserrat", "Segoe UI", Arial, sans-serif;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.1), transparent 22%),
    radial-gradient(circle at top right, rgba(255, 134, 144, 0.24), transparent 20%),
    linear-gradient(180deg, #5f78df 0%, #4965d3 34%, #2f47ac 70%, #0b004c 100%);
}

.hero,
.form-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at top right, rgba(255, 134, 144, 0.12), transparent 18%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0.08) 100%);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 26px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.section-frame::before,
.section-frame::after {
  content: "";
  position: absolute;
  width: 72px;
  height: 72px;
  border-style: solid;
  border-color: var(--brand);
  pointer-events: none;
}

.section-frame::before {
  top: 22px;
  left: 22px;
  border-width: 4px 0 0 4px;
}

.section-frame::after {
  right: 22px;
  bottom: 22px;
  border-width: 0 4px 4px 0;
}

.hero-topline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  width: 100%;
  margin: 0 auto;
  flex-wrap: wrap;
  text-align: center;
}

.hero .hero-copy {
  margin: 0 auto;
  text-align: center;
}

.brand-lockup {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 220px;
  padding: 15px 26px;
  color: var(--brand);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand-lockup::before,
.brand-lockup::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.brand-lockup::before {
  border-top: 3px solid var(--brand);
  border-bottom: 3px solid var(--brand);
  clip-path: polygon(
    0 0,
    18px 0,
    18px 100%,
    0 100%,
    0 0,
    100% 0,
    100% 100%,
    calc(100% - 18px) 100%,
    calc(100% - 18px) 0,
    100% 0
  );
}

.brand-logo {
  display: block;
  width: min(170px, 100%);
  max-width: 100%;
  height: auto;
}

.brand-separator {
  color: #ffd6de;
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1;
  text-transform: lowercase;
}

.brand-logo-circular {
  width: min(64px, 100%);
}

.eyebrow {
  padding: 10px 16px;
  background: rgba(255, 134, 144, 0.18);
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}

h1,
.form-copy h2,
.modal-section h4,
.modal-title {
  color: #ffffff;
}

h1 {
  margin-top: 24px;
  max-width: 800px;
  font-size: clamp(2.5rem, 5vw, 4.8rem);
  line-height: 0.94;
  letter-spacing: -0.05em;
}

.hero-copy p,
.form-copy p,
.modal-subtitle {
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.7;
}

.coverage-card {
  min-height: 430px;
  max-width: 360px;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  margin: 0 auto;
  padding: 24px 22px 18px;
  border-radius: 28px;
  overflow: hidden;
  isolation: isolate;
  box-shadow: 0 18px 40px rgba(11, 0, 76, 0.16);
}

.coverage-card::before,
.coverage-card::after {
  content: "";
  position: absolute;
  inset: 0;
}

.coverage-card::before {
  z-index: -3;
}

.coverage-card::after {
  z-index: -2;
}

.coverage-card-dark {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.08);
}

.coverage-card-light {
  color: var(--brand);
}

.coverage-card-dark::before {
  background:
    radial-gradient(circle at 50% 18%, rgba(255, 255, 255, 0.24) 0%, transparent 20%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, rgba(198, 0, 43, 0.12) 30%, rgba(102, 0, 24, 0.54) 100%),
    linear-gradient(160deg, #fff7f8 0%, #ffd5dd 24%, #f2496f 52%, #c6002b 100%);
}

.coverage-card-light::before {
  background:
    radial-gradient(circle at 50% 18%, rgba(255, 255, 255, 0.24) 0%, transparent 20%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, rgba(128, 0, 176, 0.12) 28%, rgba(55, 0, 96, 0.56) 100%),
    linear-gradient(160deg, #f9eaff 0%, #e7b2ff 24%, #bf35e1 56%, #8b00b8 100%);
}

.coverage-card-dark::after,
.coverage-card-light::after {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02) 0%, rgba(0, 0, 0, 0.18) 68%, rgba(0, 0, 0, 0.34) 100%);
}

.carrier-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  width: 100%;
  max-width: 290px;
  margin-bottom: 18px;
  transition: transform 0.45s ease, filter 0.45s ease;
}

.carrier-wordmark {
  display: flex;
  flex-direction: column;
  text-align: left;
  line-height: 0.95;
}

.carrier-wordmark strong {
  font-size: clamp(1.7rem, 2.4vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -0.04em;
}

.carrier-wordmark span {
  margin-top: 8px;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.carrier-wordmark-stack {
  gap: 4px;
}

.carrier-wordmark-stack strong {
  line-height: 0.88;
}

.carrier-mark {
  position: relative;
  flex: 0 0 auto;
}

.carrier-mark-lasegunda {
  width: 64px;
  height: 64px;
}

.carrier-mark-lasegunda::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 18px 18px 18px 22px;
  background: currentColor;
}

.ls-block {
  position: absolute;
  background: #ffffff;
  z-index: 1;
}

.ls-top {
  top: 14px;
  left: 18px;
  width: 34px;
  height: 10px;
  border-radius: 0 8px 8px 0;
}

.ls-top::before {
  content: "";
  position: absolute;
  top: 0;
  left: -10px;
  width: 10px;
  height: 32px;
  background: #ffffff;
  border-radius: 8px 0 0 8px;
}

.ls-top::after {
  content: "";
  position: absolute;
  top: 10px;
  right: -4px;
  width: 14px;
  height: 10px;
  background: #ffffff;
  border-radius: 0 8px 8px 0;
}

.ls-bottom {
  left: 18px;
  bottom: 14px;
  width: 30px;
  height: 10px;
  border-radius: 0 8px 8px 0;
}

.ls-bottom::before {
  content: "";
  position: absolute;
  top: -18px;
  left: 20px;
  width: 10px;
  height: 28px;
  background: #ffffff;
  border-radius: 8px;
}

.carrier-mark-sancor {
  width: 74px;
  height: 74px;
  border-radius: 50%;
  background: currentColor;
}

.sancor-top,
.sancor-bottom {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 18px solid transparent;
  border-right: 18px solid transparent;
}

.sancor-top {
  top: 14px;
  border-bottom: 32px solid #ffffff;
}

.sancor-bottom {
  bottom: 14px;
  border-top: 32px solid #ffffff;
}

.carrier-logo-lasegunda {
  color: #c6002b;
}

.carrier-logo-lasegunda .carrier-wordmark strong,
.carrier-logo-lasegunda .carrier-wordmark span {
  color: #c6002b;
}

.carrier-logo-sancor {
  color: #9900c8;
}

.carrier-logo-sancor .carrier-wordmark strong {
  color: #9900c8;
}

.coverage-card h2 {
  margin-top: 0;
  font-size: clamp(1.15rem, 1.8vw, 1.4rem);
  line-height: 1.05;
  color: rgba(255, 255, 255, 0.92);
}

.coverage-card .price {
  margin-top: 10px;
  font-size: clamp(2.1rem, 3.6vw, 3rem);
  font-weight: 800;
  line-height: 0.95;
  transition: transform 0.45s ease, text-shadow 0.45s ease, letter-spacing 0.45s ease;
}

.price span {
  display: block;
  margin-top: 6px;
  font-size: 0.88rem;
  color: inherit;
  opacity: 0.72;
}

.details-button,
.submit-button,
.accept-button {
  border-radius: 16px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.details-button {
  background: linear-gradient(180deg, #ff9aa4 0%, #ff8690 100%);
  color: var(--brand);
  box-shadow: 0 12px 24px rgba(255, 134, 144, 0.24);
}

.coverage-card .details-button {
  margin-top: 16px;
  min-height: 48px;
  width: auto;
  min-width: 230px;
  max-width: 100%;
  padding: 13px 18px;
}

.coverage-card-dark .details-button {
  background: linear-gradient(180deg, #ff9aa4 0%, #ff8690 100%);
  color: var(--brand);
}

.coverage-card-light .details-button {
  background: linear-gradient(180deg, #ff9aa4 0%, #ff8690 100%);
  color: var(--brand);
}

.coverage-card-light h2,
.coverage-card-light .price,
.coverage-card-light .price span {
  color: #ffffff;
}

.coverage-card:hover .carrier-logo {
  transform: translateY(-8px) scale(1.05);
  filter: drop-shadow(0 10px 16px rgba(0, 0, 0, 0.18));
}

.coverage-card:hover .price {
  transform: translateY(-6px) scale(1.08);
  text-shadow: 0 12px 22px rgba(0, 0, 0, 0.22);
  letter-spacing: -0.03em;
}

label span {
  font-weight: 600;
  color: #ffffff;
}

input,
select,
textarea {
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.96);
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(73, 101, 211, 0.68);
  box-shadow: 0 0 0 4px rgba(73, 101, 211, 0.12);
}

.submit-button,
.accept-button {
  background: linear-gradient(180deg, #ff9aa4 0%, #ff8690 100%);
  color: var(--brand);
  box-shadow: 0 14px 28px rgba(255, 134, 144, 0.24);
}

.form-feedback {
  font-weight: 600;
  color: #ffd6de;
}

.modal-backdrop {
  background: rgba(11, 0, 76, 0.66);
}

.modal-dialog {
  border-radius: 24px;
  background: #ffffff;
  border: 1px solid rgba(11, 0, 76, 0.12);
  box-shadow: 0 30px 80px rgba(11, 0, 76, 0.32);
}

.close-button {
  background: rgba(11, 0, 76, 0.08);
  color: var(--brand);
}

.modal-body {
  padding: 20px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(73, 101, 211, 0.06), rgba(11, 0, 76, 0.02));
  border: 1px solid rgba(73, 101, 211, 0.12);
}

.consent-box input {
  accent-color: var(--brand);
}

.modal .consent-box span {
  display: block;
  color: var(--ink);
  font-weight: 500;
  line-height: 1.45;
}

@media (max-width: 960px) {
  .page-shell {
    width: min(100% - 24px, 1120px);
    padding: 28px 0 44px;
  }

  .hero,
  .form-section {
    padding: 28px 22px;
  }

  h1 {
    font-size: clamp(2.1rem, 8vw, 3.5rem);
    line-height: 1;
  }

  .cards-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .cards-grid {
    gap: 18px;
    margin-top: 28px;
  }

  .coverage-card {
    max-width: 100%;
  }
}

@media (max-width: 820px) {
  .brand-logo {
    width: min(130px, 100%);
  }

  .brand-separator {
    font-size: 1.1rem;
  }

  .brand-logo-circular {
    width: min(52px, 100%);
  }

  .coverage-card {
    min-height: 390px;
    max-width: 100%;
    padding: 22px 18px 16px;
    border-radius: 24px;
  }

  .carrier-logo {
    max-width: 100%;
    gap: 14px;
  }

  .carrier-wordmark strong {
    font-size: 1.5rem;
  }

  .carrier-mark-lasegunda {
    width: 56px;
    height: 56px;
  }

  .carrier-mark-sancor {
    width: 62px;
    height: 62px;
  }

  .coverage-card .details-button {
    min-width: 200px;
  }

  .section-frame::before,
  .section-frame::after {
    width: 46px;
    height: 46px;
  }
}

@media (max-width: 640px) {
  .page-shell {
    width: min(100% - 16px, 1120px);
    padding: 16px 0 32px;
  }

  .hero,
  .form-section,
  .modal-dialog {
    padding: 20px 16px;
    border-radius: 20px;
  }

  .hero-topline {
    gap: 10px;
  }

  .brand-logo {
    width: min(116px, 100%);
  }

  .brand-separator {
    font-size: 0.95rem;
  }

  .brand-logo-circular {
    width: min(46px, 100%);
  }

  .section-frame::before,
  .section-frame::after {
    width: 32px;
    height: 32px;
  }

  .section-frame::before {
    border-width: 3px 0 0 3px;
    top: 16px;
    left: 16px;
  }

  .section-frame::after {
    border-width: 0 3px 3px 0;
    right: 16px;
    bottom: 16px;
  }

  h1 {
    margin-top: 18px;
    font-size: clamp(1.8rem, 10vw, 2.7rem);
    letter-spacing: -0.04em;
  }

  .hero-copy p,
  .form-copy p {
    font-size: 0.95rem;
    line-height: 1.55;
  }

  .form-copy h2 {
    font-size: clamp(1.7rem, 8vw, 2.4rem);
  }

  .coverage-card {
    min-height: 350px;
    padding: 18px 14px 14px;
    border-radius: 20px;
  }

  .carrier-logo {
    gap: 12px;
    max-width: 100%;
    margin-bottom: 14px;
  }

  .carrier-wordmark strong {
    font-size: 1.28rem;
  }

  .carrier-wordmark span {
    font-size: 0.7rem;
    letter-spacing: 0.18em;
  }

  .carrier-mark-lasegunda {
    width: 48px;
    height: 48px;
  }

  .ls-top {
    top: 10px;
    left: 14px;
    width: 24px;
    height: 7px;
  }

  .ls-top::before {
    left: -7px;
    width: 7px;
    height: 22px;
  }

  .ls-top::after {
    top: 7px;
    right: -3px;
    width: 10px;
    height: 7px;
  }

  .ls-bottom {
    left: 14px;
    bottom: 10px;
    width: 22px;
    height: 7px;
  }

  .ls-bottom::before {
    top: -13px;
    left: 15px;
    width: 7px;
    height: 20px;
  }

  .carrier-mark-sancor {
    width: 54px;
    height: 54px;
  }

  .sancor-top,
  .sancor-bottom {
    border-left-width: 12px;
    border-right-width: 12px;
  }

  .sancor-top {
    top: 10px;
    border-bottom-width: 24px;
  }

  .sancor-bottom {
    bottom: 10px;
    border-top-width: 24px;
  }

  .coverage-card h2 {
    font-size: 1.05rem;
  }

  .coverage-card .price {
    font-size: clamp(1.8rem, 8vw, 2.5rem);
  }

  .price span {
    font-size: 0.78rem;
  }

  .coverage-card .details-button,
  .submit-button,
  .accept-button {
    width: 100%;
    min-width: 0;
    padding: 12px 14px;
    font-size: 0.95rem;
  }

  label span {
    font-size: 0.9rem;
  }

  input,
  select,
  textarea {
    min-height: 50px;
    padding: 0 14px;
    font-size: 16px;
  }

  textarea {
    min-height: 110px;
    padding: 14px;
  }

  .modal {
    padding: 12px;
  }

  .modal-dialog {
    width: 100%;
    max-height: calc(100vh - 24px);
    padding: 18px 14px;
  }

  .modal-body {
    margin-top: 18px;
    padding: 16px 14px;
    border-radius: 14px;
  }
}

@media (max-width: 420px) {
  .page-shell {
    width: calc(100% - 12px);
  }

  .hero,
  .form-section,
  .modal-dialog {
    padding: 18px 12px;
    border-radius: 18px;
  }

  .hero-topline {
    gap: 8px;
  }

  .brand-logo {
    width: min(104px, 100%);
  }

  .brand-logo-circular {
    width: min(40px, 100%);
  }

  .brand-separator {
    font-size: 0.9rem;
  }

  .eyebrow {
    padding: 8px 12px;
    font-size: 0.68rem;
  }

  .coverage-card {
    min-height: 330px;
  }

  .coverage-card .details-button,
  .submit-button,
  .accept-button {
    font-size: 0.9rem;
  }
}
