:root {
  color-scheme: light;
  --navy: #001b3d;
  --navy-2: #062957;
  --navy-3: #123d73;
  --white: #ffffff;
  --paper: #f3f7fc;
  --text: #102033;
  --muted: #607086;
  --line: #d9e2ee;
  --gold: #e2b44c;
  --ice: #9cc9ed;
  --success: #128c7e;
  --danger: #b42318;
  --shadow: 0 24px 70px rgba(0, 27, 61, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--paper);
  color: var(--text);
  line-height: 1.55;
}

body.nav-open {
  overflow: hidden;
}

a {
  color: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 104px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: linear-gradient(180deg, rgba(0, 27, 61, 0.98), rgba(0, 22, 50, 0.96));
  border-bottom: 1px solid rgba(156, 201, 237, 0.16);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  width: 292px;
  min-width: 238px;
  overflow: hidden;
  text-decoration: none;
}

.brand img {
  width: 100%;
  height: 78px;
  object-fit: contain;
  object-position: left center;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 15px;
  font-weight: 600;
}

.site-nav a {
  padding: 10px 12px;
  border-radius: 8px;
  text-decoration: none;
  transition: background 180ms ease, color 180ms ease;
}

.site-nav a:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: transparent;
  color: var(--white);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  border-radius: 999px;
  background: currentColor;
}

.hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(0, 27, 61, 0.78) 0%, rgba(0, 27, 61, 0.6) 40%, rgba(0, 27, 61, 0.2) 72%, rgba(0, 27, 61, 0.06) 100%),
    linear-gradient(115deg, rgba(0, 27, 61, 0.46) 0%, rgba(6, 41, 87, 0.34) 38%, rgba(156, 201, 237, 0.2) 68%, rgba(226, 180, 76, 0.18) 100%),
    url("../assets/images/hero-insurance-city.png") center right / cover no-repeat;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 88px 88px;
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.1));
}

.hero::after {
  content: "";
  position: absolute;
  right: -8vw;
  top: 10%;
  width: 46vw;
  height: 72%;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.16), transparent 62%),
    linear-gradient(45deg, rgba(226, 180, 76, 0.2), rgba(156, 201, 237, 0.18));
  clip-path: polygon(18% 0, 100% 0, 82% 100%, 0 100%);
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: clamp(28px, 6vw, 76px);
  align-items: center;
  width: min(100% - 40px, 1180px);
  min-height: calc(100vh - 92px);
  margin: 0 auto;
  padding: clamp(58px, 8vw, 104px) 0;
}

.hero__content p {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 18px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 840px;
  margin-bottom: 22px;
  font-size: clamp(42px, 7vw, 78px);
  line-height: 0.98;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.08;
}

h3 {
  margin-bottom: 10px;
  font-size: 20px;
  line-height: 1.2;
}

p {
  color: var(--muted);
}

.hero__actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border: 0;
  border-radius: 8px;
  font: inherit;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button--primary {
  background: var(--gold);
  color: var(--navy);
  box-shadow: 0 14px 28px rgba(201, 154, 63, 0.24);
}

.button--ghost {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.quote-card {
  padding: clamp(24px, 4vw, 36px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(18px);
}

.quote-card h2 {
  font-size: clamp(26px, 3vw, 36px);
}

.quote-card p,
.quote-card li {
  color: rgba(255, 255, 255, 0.76);
}

.quote-card ul {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.quote-card li {
  padding-left: 26px;
  position: relative;
}

.quote-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold);
}

.quote-card__badge {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  font-size: 13px;
  font-weight: 800;
}

.section {
  width: min(100% - 40px, 1180px);
  margin: 0 auto;
  padding: clamp(70px, 9vw, 112px) 0;
}

.section--white {
  width: 100%;
  padding-left: max(20px, calc((100vw - 1180px) / 2));
  padding-right: max(20px, calc((100vw - 1180px) / 2));
  background: var(--white);
}

.section__heading {
  max-width: 780px;
  margin-bottom: 34px;
}

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

.service-card {
  min-height: 230px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 14px 34px rgba(7, 25, 54, 0.06);
}

.service-card span {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.service-card p {
  margin-bottom: 0;
}

.trust-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(30px, 6vw, 76px);
  align-items: start;
}

.trust-copy {
  position: sticky;
  top: 118px;
}

.trust-list {
  display: grid;
  gap: 14px;
}

.trust-list div {
  padding: 28px;
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.trust-list strong {
  display: inline-flex;
  margin-bottom: 14px;
  color: var(--gold);
  font-size: 14px;
}

.about-section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  gap: clamp(26px, 5vw, 58px);
  align-items: start;
}

.about-copy p {
  max-width: 720px;
}

.coverage-panel {
  padding: clamp(24px, 4vw, 34px);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.coverage-panel h3 {
  margin-bottom: 22px;
  color: var(--navy);
  font-size: clamp(24px, 3vw, 34px);
}

.coverage-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.coverage-grid h4 {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 16px;
  text-transform: uppercase;
}

.coverage-grid ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.coverage-grid li {
  position: relative;
  padding-left: 18px;
  color: var(--muted);
  font-weight: 700;
}

.coverage-grid li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ice);
}

.section--form {
  width: 100%;
  padding-left: max(20px, calc((100vw - 1180px) / 2));
  padding-right: max(20px, calc((100vw - 1180px) / 2));
  background: var(--navy);
}

.form-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(360px, 1fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: start;
}

.form-panel__copy {
  color: var(--white);
}

.form-panel__copy p {
  color: rgba(255, 255, 255, 0.72);
}

.offer-form {
  display: grid;
  gap: 18px;
  padding: clamp(22px, 4vw, 34px);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.22);
}

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

label {
  display: grid;
  gap: 8px;
  color: var(--text);
  font-size: 14px;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--text);
  font: inherit;
}

select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--navy) 50%),
    linear-gradient(135deg, var(--navy) 50%, transparent 50%);
  background-position:
    calc(100% - 18px) 20px,
    calc(100% - 12px) 20px;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 38px;
}

textarea {
  min-height: 116px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(201, 154, 63, 0.24);
  border-color: var(--gold);
}

select:disabled {
  color: #8c98a8;
  background: #f2f5f9;
}

.consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--muted);
  font-weight: 600;
}

.consent input {
  width: 18px;
  min-width: 18px;
  height: 18px;
  min-height: 18px;
  margin-top: 3px;
}

.honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  min-height: 24px;
  margin: -4px 0 0;
  font-weight: 800;
}

.form-status.is-success {
  color: var(--success);
}

.form-status.is-error {
  color: var(--danger);
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(320px, 0.78fr) minmax(480px, 1.22fr);
  gap: 24px;
  align-items: stretch;
}

.contact-copy {
  display: grid;
  align-content: start;
  padding: clamp(26px, 4vw, 38px);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.contact-copy h2 {
  font-size: clamp(30px, 3.4vw, 42px);
}

.contact-copy p {
  max-width: none;
}

.contact-address {
  display: grid;
  gap: 3px;
  max-width: 640px;
  margin-top: 22px;
  padding-left: 18px;
  border-left: 4px solid var(--gold);
  color: var(--navy);
  font-style: normal;
  font-weight: 800;
  line-height: 1.55;
}

.contact-address span {
  display: block;
}

.contact-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 18px;
  border-radius: 8px;
  background: var(--navy);
  color: var(--white);
  font-weight: 800;
  text-decoration: none;
}

.contact-actions a:nth-child(2) {
  background: var(--success);
}

.contact-actions a:nth-child(3) {
  background: var(--gold);
  color: var(--navy);
}

.map-frame {
  overflow: hidden;
  min-height: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.map-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 520px;
  border: 0;
}

.site-footer {
  background:
    linear-gradient(180deg, #001b3d 0%, #001632 100%);
  color: var(--white);
  padding: 58px max(20px, calc((100vw - 1180px) / 2)) 28px;
}

.footer__inner {
  display: grid;
  grid-template-columns: minmax(260px, 1.15fr) repeat(3, minmax(160px, 0.7fr));
  gap: clamp(26px, 4vw, 52px);
  align-items: start;
}

.footer-logo {
  display: inline-flex;
  width: 276px;
  overflow: hidden;
}

.footer-logo img {
  width: 100%;
  height: 92px;
  object-fit: contain;
  object-position: left center;
}

.footer__brand p,
.footer__column p {
  max-width: 340px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.72);
}

.footer__column {
  display: grid;
  gap: 10px;
}

.footer__column h2 {
  margin-bottom: 6px;
  color: var(--white);
  font-size: 16px;
  text-transform: uppercase;
}

.footer__column a {
  color: rgba(255, 255, 255, 0.76);
  font-weight: 700;
  text-decoration: none;
}

.footer__column a:hover {
  color: var(--gold);
}

.footer__contact p span {
  display: block;
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-top: 42px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.58);
  font-size: 14px;
}

.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 50;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 158px;
  min-height: 62px;
  padding: 0 22px;
  border-radius: 999px;
  background: #25d366;
  color: #062416;
  box-shadow: 0 16px 34px rgba(37, 211, 102, 0.34);
  font-size: 17px;
  font-weight: 900;
  text-decoration: none;
}

.whatsapp-float svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
  flex: 0 0 auto;
}

@media (max-width: 980px) {
  .hero__inner,
  .trust-section,
  .about-section,
  .form-panel,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .hero__inner {
    min-height: auto;
  }

  .contact-section {
    align-items: stretch;
  }

  .trust-copy {
    position: static;
  }

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

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

@media (max-width: 760px) {
  .site-header {
    min-height: 86px;
  }

  .brand {
    width: 218px;
    min-width: 0;
  }

  .brand img {
    height: 60px;
  }

  .nav-toggle {
    display: inline-block;
  }

  .site-nav {
    position: fixed;
    inset: 86px 0 auto 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 18px 20px 24px;
    background: var(--navy);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

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

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

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

  .hero__inner,
  .section {
    width: min(100% - 32px, 1180px);
  }

  h1 {
    font-size: clamp(38px, 14vw, 56px);
  }

  .hero__actions,
  .contact-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button,
  .contact-actions a {
    width: 100%;
  }

  .map-frame,
  .map-frame iframe {
    min-height: 360px;
  }

  .footer__inner,
  .footer__bottom {
    grid-template-columns: 1fr;
  }

  .footer__inner,
  .footer__bottom {
    display: grid;
  }

  .footer-logo {
    width: 230px;
  }

  .footer-logo img {
    height: 76px;
  }

  .whatsapp-float {
    right: 14px;
    bottom: 14px;
    min-width: 132px;
    min-height: 56px;
    padding: 0 16px;
    font-size: 15px;
  }

  .whatsapp-float svg {
    width: 24px;
    height: 24px;
  }
}
