:root {
  --navy-950: #061226;
  --navy-900: #071a3d;
  --navy-800: #0b2b61;
  --blue-650: #1268c8;
  --blue-500: #2f92e8;
  --silver-100: #f4f7fb;
  --silver-200: #e5edf7;
  --slate-700: #314156;
  --slate-500: #657386;
  --white: #ffffff;
  --gold-500: #d7a441;
  --green-600: #138a57;
  --shadow: 0 18px 48px rgba(4, 18, 40, .16);
  --radius: 8px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--navy-950);
  background: var(--white);
  line-height: 1.55;
}

body.nav-open {
  overflow: hidden;
}

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

a {
  color: inherit;
}

.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: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 12px clamp(18px, 4vw, 54px);
  background: rgba(255, 255, 255, .94);
  border-bottom: 1px solid rgba(11, 43, 97, .12);
  backdrop-filter: blur(14px);
}

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

.site-nav ul {
  display: flex;
  justify-content: center;
  gap: 28px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.site-nav a {
  color: var(--slate-700);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--blue-650);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-panel,
.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 18px;
  border: 0;
  border-radius: var(--radius);
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.button:disabled {
  opacity: .7;
  cursor: wait;
}

.header-panel {
  color: var(--navy-900);
  background: var(--silver-100);
  border: 1px solid rgba(11, 43, 97, .16);
}

.header-cta {
  color: var(--white);
  background: var(--green-600);
}

.button-primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--blue-650), var(--navy-800));
  box-shadow: 0 12px 26px rgba(18, 104, 200, .22);
}

.button-secondary {
  color: var(--navy-950);
  background: var(--white);
  border: 1px solid rgba(255, 255, 255, .82);
}

.menu-toggle {
  display: none;
}

.hero {
  position: relative;
  min-height: clamp(620px, 82vh, 780px);
  isolation: isolate;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--white);
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-media {
  background-image: url("../img/hero-pla-seguros.jpg");
  background-size: cover;
  background-position: center;
}

.hero-overlay {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(5, 16, 35, .72) 0%, rgba(7, 26, 61, .52) 42%, rgba(7, 26, 61, .14) 100%),
    linear-gradient(0deg, rgba(5, 16, 35, .22), rgba(5, 16, 35, .04));
}

.hero-content {
  width: min(var(--container), calc(100% - 36px));
  margin: 0 auto;
  padding: 96px 0 72px;
  text-shadow: 0 2px 16px rgba(0, 0, 0, .38);
}

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

.hero h1,
.section h2,
.feature-copy h2,
.contact-copy h2 {
  margin: 0;
  line-height: 1.05;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 700px;
  font-size: clamp(42px, 7vw, 78px);
}

.hero-copy {
  max-width: 620px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, .9);
  font-size: 19px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
  text-shadow: none;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(11, 43, 97, .14);
  border-bottom: 1px solid rgba(11, 43, 97, .14);
}

.trust-strip div {
  padding: 24px clamp(18px, 4vw, 54px);
  background: var(--silver-100);
}

.trust-strip strong,
.trust-strip span {
  display: block;
}

.trust-strip strong {
  font-size: 18px;
}

.trust-strip span {
  margin-top: 4px;
  color: var(--slate-500);
}

.section {
  width: min(var(--container), calc(100% - 36px));
  margin: 0 auto;
  padding: 92px 0;
}

.about {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, .95fr);
  gap: 56px;
  align-items: start;
}

.section h2,
.feature-copy h2,
.contact-copy h2 {
  font-size: clamp(32px, 4.5vw, 52px);
}

.section-text p,
.section-heading p,
.feature-copy p,
.contact-copy p {
  color: var(--slate-700);
  font-size: 18px;
}

.about-panel {
  padding: 30px;
  border: 1px solid var(--silver-200);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.about-panel h3 {
  margin: 0 0 16px;
  font-size: 22px;
}

.about-panel ul,
.service-card ul {
  padding-left: 20px;
  margin: 0;
}

.about-panel li + li,
.service-card li + li {
  margin-top: 10px;
}

.services {
  padding-top: 72px;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 36px;
}

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

.service-card {
  display: flex;
  min-height: 430px;
  flex-direction: column;
  padding: 24px;
  border: 1px solid var(--silver-200);
  border-radius: var(--radius);
  background: var(--white);
}

.service-icon {
  display: grid;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  place-items: center;
  color: var(--white);
  background: var(--navy-800);
  border-radius: 50%;
  font-weight: 900;
}

.service-card h3 {
  margin: 0 0 10px;
  font-size: 23px;
}

.service-card p {
  margin: 0 0 18px;
  color: var(--slate-700);
}

.service-card li {
  color: var(--slate-700);
}

.feature-band {
  display: grid;
  grid-template-columns: minmax(260px, 430px) minmax(0, 1fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: center;
  padding: 76px clamp(18px, 6vw, 90px);
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(6, 18, 38, .98), rgba(11, 43, 97, .94)),
    var(--navy-900);
}

.feature-image img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .32);
}

.feature-copy p {
  color: rgba(255, 255, 255, .86);
}

.text-link {
  display: inline-block;
  margin-top: 18px;
  color: var(--gold-500);
  font-weight: 900;
  text-decoration: none;
}

.reviews {
  padding-bottom: 70px;
}

.review-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  max-width: 1040px;
}

.review-grid img {
  width: 100%;
  min-height: 0;
  object-fit: contain;
  padding: 22px;
  border: 1px solid var(--silver-200);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 16px 36px rgba(4, 18, 40, .1);
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(320px, 1.1fr);
  gap: 56px;
  width: min(var(--container), calc(100% - 36px));
  margin: 0 auto 92px;
  padding: 48px;
  border-radius: var(--radius);
  background: var(--silver-100);
}

.phone-link {
  display: inline-block;
  margin-top: 16px;
  color: var(--blue-650);
  font-size: 22px;
  font-weight: 900;
  text-decoration: none;
}

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

.quote-form label,
.quote-form legend {
  color: var(--navy-950);
  font-size: 14px;
  font-weight: 800;
}

.quote-form input,
.quote-form select,
.quote-form textarea {
  width: 100%;
  margin-top: 7px;
  padding: 13px 14px;
  color: var(--navy-950);
  border: 1px solid rgba(49, 65, 86, .22);
  border-radius: var(--radius);
  background: var(--white);
  font: inherit;
}

.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
  outline: 3px solid rgba(47, 146, 232, .24);
  border-color: var(--blue-650);
}

.quote-form fieldset {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  padding: 0;
  margin: 0;
  border: 0;
}

.quote-form legend {
  flex-basis: 100%;
}

.radio-row {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
}

.radio-row input {
  width: auto;
  margin: 0;
}

.form-note {
  margin: -4px 0 0;
  color: var(--slate-500);
  font-size: 13px;
}

.site-footer {
  display: grid;
  gap: 10px;
  justify-items: center;
  padding: 42px 18px;
  color: rgba(255, 255, 255, .86);
  text-align: center;
  background: var(--navy-950);
}

.site-footer img {
  width: 190px;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: var(--gold-500);
  font-weight: 800;
  text-decoration: none;
}

@media (max-width: 1040px) {
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-card {
    min-height: 0;
  }
}

@media (max-width: 820px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .brand img {
    width: 176px;
  }

  .menu-toggle {
    display: grid;
    gap: 5px;
    justify-self: end;
    width: 44px;
    height: 44px;
    padding: 10px;
    border: 1px solid rgba(11, 43, 97, .16);
    border-radius: var(--radius);
    background: var(--white);
  }

  .menu-toggle span:not(.sr-only) {
    width: 100%;
    height: 2px;
    background: var(--navy-900);
  }

  .site-nav {
    display: none;
    grid-column: 1 / -1;
  }

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

  .site-nav ul {
    display: grid;
    gap: 0;
    padding: 10px 0;
  }

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

  .header-actions {
    grid-column: 1 / -1;
    justify-content: stretch;
  }

  .header-actions a {
    flex: 1;
  }

  .hero {
    min-height: 660px;
  }

  .hero-media {
    background-position: 58% center;
  }

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(5, 16, 35, .76) 0%, rgba(7, 26, 61, .62) 55%, rgba(7, 26, 61, .36) 100%);
  }

  .trust-strip,
  .about,
  .feature-band,
  .review-grid,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .contact-section {
    padding: 30px 20px;
  }
}

@media (max-width: 620px) {
  .hero-content {
    padding-top: 70px;
  }

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

  .hero-copy,
  .section-text p,
  .section-heading p,
  .feature-copy p,
  .contact-copy p {
    font-size: 16px;
  }

  .section {
    padding: 64px 0;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

  .feature-band {
    padding-top: 56px;
    padding-bottom: 56px;
  }

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