:root {
  --navy: #0b3154;
  --navy-dark: #08223b;
  --blue: #1494df;
  --blue-dark: #0878bc;
  --blue-soft: #eaf6fd;
  --sky: #f5faff;
  --white: #ffffff;
  --text: #23394d;
  --muted: #687b8c;
  --line: #dce8f0;
  --green: #22b875;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--white);
  font-family: "Manrope", sans-serif;
  line-height: 1.65;
  overflow-x: hidden;
}

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

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

button,
input,
textarea {
  font: inherit;
}

textarea {
  resize: none;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: 74px;
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid rgba(220, 232, 240, 0.9);
  backdrop-filter: blur(14px);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.main-nav {
  display: flex;
  align-items: center;
  gap: 27px;
  color: var(--navy);
  font-size: 14px;
  font-weight: 700;
}

.main-nav > a:not(.nav-cta) {
  position: relative;
}

.main-nav > a:not(.nav-cta)::after {
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 0;
  height: 2px;
  content: "";
  background: var(--blue);
  transition: width 0.25s ease;
}

.main-nav > a:not(.nav-cta):hover::after {
  width: 100%;
}

.nav-cta {
  padding: 10px 18px;
  color: var(--white);
  background: var(--blue);
  border-radius: 5px;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px auto;
  background: var(--navy);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.hero {
  position: relative;
  padding: 48px 0 50px;
  overflow: hidden;
  background:
    radial-gradient(circle at 8% 18%, rgba(20, 148, 223, 0.1), transparent 26%),
    linear-gradient(180deg, #f9fdff 0%, #ffffff 100%);
}

.hero-orbit {
  position: absolute;
  border: 1px solid rgba(20, 148, 223, 0.16);
  border-radius: 50%;
  pointer-events: none;
}

.orbit-one {
  top: -140px;
  right: -130px;
  width: 320px;
  height: 320px;
  animation: drift 9s ease-in-out infinite;
}

.orbit-two {
  bottom: -90px;
  left: -70px;
  width: 180px;
  height: 180px;
  animation: drift 7s ease-in-out infinite reverse;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(390px, 0.92fr);
  gap: 64px;
  align-items: center;
}

.eyebrow,
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.service-block-label {
  font-size: clamp(1.15rem, 1.8vw, 1.55rem);
  letter-spacing: 0.12em;
  line-height: 1.2;
}

.credentials-kicker {
  margin: 12px 0 0;
  color: var(--blue);
  font-size: 17px;
  font-weight: 700;
}

.section-label-3{
      display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: var(--blue);
  font-size: 30px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.hero h1,
.section-heading h2,
.split-heading h2,
.property-copy h2,
.banks-heading h2,
.credentials-grid h2,
.contact-band h2 {
  margin: 14px 0 0;
  color: var(--navy);
  font-size: clamp(2.15rem, 4vw, 4.15rem);
  line-height: 1.05;
  letter-spacing: -0.045em;
}

.hero h1 {
  max-width: 720px;
}

.hero-lead {
  max-width: 640px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 17px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 5px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

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

.button-primary {
  color: var(--white);
  background: var(--blue);
}

.button-primary:hover {
  background: var(--blue-dark);
}

.button-secondary {
  color: var(--navy);
  background: var(--white);
  border-color: var(--line);
}

.button-light {
  color: var(--navy);
  background: var(--white);
}

.button-full {
  width: 100%;
}

.hero-facts {
  display: flex;
  gap: 34px;
  margin-top: 34px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.hero-facts div {
  display: flex;
  flex-direction: column;
}

.hero-facts strong {
  color: var(--navy);
  font-size: 22px;
  line-height: 1.2;
}

.hero-facts span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}

.quote-panel {
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 24px 60px rgba(13, 49, 82, 0.09);
}

.quote-heading > span {
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.quote-heading h2 {
  margin: 6px 0 0;
  color: var(--navy);
  font-size: 26px;
  line-height: 1.2;
}

.quote-heading p {
  margin: 7px 0 20px;
  color: var(--muted);
  font-size: 14px;
}

#quoteForm {
  display: grid;
  gap: 14px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

#quoteForm label > span,
#quoteForm legend {
  display: block;
  margin-bottom: 6px;
  color: var(--navy);
  font-size: 12px;
  font-weight: 800;
}

#quoteForm input,
#quoteForm textarea {
  width: 100%;
  padding: 11px 12px;
  color: var(--text);
  background: #fbfdff;
  border: 1px solid var(--line);
  border-radius: 4px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

#quoteForm input:focus,
#quoteForm textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(20, 148, 223, 0.1);
}

#quoteForm fieldset {
  margin: 0;
  padding: 0;
  border: 0;
}

.choice-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.choice-row label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--text);
  font-size: 13px;
  cursor: pointer;
}

.choice-row input {
  width: 16px !important;
  height: 16px;
  accent-color: var(--blue);
}

.choice-row label > span {
  margin: 0 !important;
  color: var(--text) !important;
  font-weight: 600 !important;
}

.form-status {
  min-height: 18px;
  margin: 0;
  color: #c24545;
  font-size: 12px;
}

.service-strip {
  position: relative;
  z-index: 3;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.service-strip-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.service-strip-grid > a {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 22px 26px;
  border-right: 1px solid var(--line);
  transition: background 0.2s ease;
}

.service-strip-grid > a:last-child {
  border-right: 0;
}

.service-strip-grid > a:hover {
  background: var(--sky);
}

.service-strip-grid > a > i:first-child {
  color: var(--blue);
  font-size: 22px;
}

.service-strip-grid > a > i:last-child {
  color: var(--muted);
  font-size: 13px;
}

.service-strip-grid span {
  display: flex;
  flex-direction: column;
}

.service-strip-grid strong {
  color: var(--navy);
  font-size: 14px;
}

.service-strip-grid small {
  color: var(--muted);
  font-size: 12px;
}

.section {
  padding: 92px 0;
}

.split-heading,
.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.65fr);
  gap: 72px;
  align-items: end;
}

.split-heading h2,
.section-heading h2,
.banks-heading h2,
.credentials-grid h2 {
  font-size: clamp(2rem, 3.2vw, 3.35rem);
}

.split-copy p,
.section-heading > p,
.banks-heading > p,
.credentials-grid > div > p {
  margin:20px 0 14px ;
  color: var(--muted);
}

.isapres {
  overflow: hidden;
  background: var(--sky);
}

.isapre-layout {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 56px;
  margin-top: 50px;
  align-items: start;
}

.benefit-list {
  display: grid;
  gap: 26px;
}

.benefit-list article {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 16px;
  align-items: start;
}

.benefit-list i {
  padding-top: 5px;
  color: var(--blue);
  font-size: 24px;
}

.benefit-list h3,
.insurance-categories h3 {
  margin: 0;
  color: var(--navy);
  font-size: 17px;
}

.benefit-list p,
.insurance-categories p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.plans-summary {
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 7px;
}

.plans-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 22px;
  border-bottom: 1px solid var(--line);
}

.plans-heading div {
  display: flex;
  flex-direction: column;
}

.plans-heading span {
  color: var(--muted);
  font-size: 12px;
}

.plans-heading strong {
  color: var(--navy);
  font-size: 17px;
}

.plans-heading i {
  color: var(--blue);
  font-size: 22px;
}

.plans-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.plans-grid > div {
  display: grid;
  grid-template-columns: 54px 1fr auto;
  gap: 12px;
  align-items: center;
  min-height: 86px;
  padding: 14px 18px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.plans-grid > div:nth-child(even) {
  border-right: 0;
}

.plans-grid > div:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.plans-grid img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  background: var(--white);
}

.plans-grid span {
  display: flex;
  flex-direction: column;
}

.plans-grid b {
  color: var(--navy);
  font-size: 13px;
}

.plans-grid small {
  color: var(--muted);
  font-size: 10px;
}

.plans-grid > div > strong {
  color: var(--blue);
  font-size: 18px;
}

.isapre-marquee {
  margin-top: 64px;
  padding: 26px 0;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #edf7fd;
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 27s linear infinite;
}

.isapre-marquee:hover .marquee-track {
  animation-play-state: paused;
}

.marquee-group {
  display: flex;
  align-items: center;
  gap: 28px;
  padding-right: 28px;
}

.isapre-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 172px;
  height: 86px;
  padding: 12px 18px;
  background: var(--white);
  border-radius: 4px;
  box-shadow: 0 8px 20px rgba(13, 49, 82, 0.05);
}

.isapre-logo img {
  width: 132px;
  min-width: 120px;
  max-height: 58px;
  object-fit: contain;
}

.insurance {
  background: var(--white);
}

.insurance-categories {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 48px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.insurance-categories article {
  padding: 30px 25px;
  border-right: 1px solid var(--line);
}

.insurance-categories article:last-child {
  border-right: 0;
}

.insurance-categories i {
  margin-bottom: 17px;
  color: var(--blue);
  font-size: 25px;
}

.coverage-details {
  margin-top: 28px;
  border-bottom: 1px solid var(--line);
}

.coverage-details summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  color: var(--navy);
  font-weight: 800;
  cursor: pointer;
  list-style: none;
}

.coverage-details summary::-webkit-details-marker {
  display: none;
}

.coverage-details[open] summary i {
  transform: rotate(180deg);
}

.coverage-details summary i {
  transition: transform 0.2s ease;
}

.coverage-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  padding: 8px 0 30px;
}

.coverage-columns h3 {
  margin: 0;
  color: var(--navy);
  font-size: 15px;
}

.coverage-columns p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.insurer-heading {
  margin-top: 58px;
  text-align: center;
}

.insurer-heading p {
  margin: 8px auto 0;
  color: var(--muted);
  font-size: 14px;
}

.insurer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 26px;
}

.insurer {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 92px;
  padding: 18px;
  text-align: center;
  background: #fbfdff;
  border: 1px solid var(--line);
  border-radius: 4px;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.025em;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.insurer:hover {
  transform: translateY(-3px);
  border-color: #badced;
  box-shadow: 0 14px 28px rgba(13, 49, 82, 0.07);
}

.metlife { color: #007cc2; }
.zurich { color: #003399; font-family: Georgia, serif; }
.sura { color: #00a9e0; letter-spacing: 0.08em; }
.mapfre { color: #d71920; letter-spacing: 0.02em; }
.hdi { color: #e6002d; font-style: italic; }
.chubb { color: #111111; letter-spacing: 0.14em; }
.consorcio { color: #164a8a; }
.southbridge { color: #4a3b83; font-size: 17px; }
.zenit { color: #f26b21; font-style: italic; }
.bci-seguros { color: #104f91; }
.liberty { color: #003a70; font-style: italic; }
.cardif { color: #009b77; font-size: 15px; }

.property-section {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.property-bg {
  position: absolute;
  inset: -8%;
  background-image: url("../images/property-unsplash.jpg");
  background-position: center;
  background-size: cover;
  transform: translate3d(0, 0, 0) scale(1.04);
  will-change: transform;
}

.property-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(5, 29, 50, 0.92) 0%, rgba(5, 29, 50, 0.76) 48%, rgba(5, 29, 50, 0.22) 100%);
}

.property-inner {
  position: relative;
  z-index: 2;
}

.property-copy {
  max-width: 720px;
  padding: 95px 0;
}

.section-label-light {
  color: #8dd5ff;
}

.property-copy h2 {
  color: var(--white);
  font-size: clamp(2.2rem, 4vw, 4rem);
}

.property-copy > p {
  max-width: 650px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 17px;
}

.property-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 24px;
  align-items: center;
  margin-top: 30px;
}

.property-actions > span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 13px;
  font-weight: 700;
}

.property-actions > span i {
  color: #7dd7ad;
}

.banks-section {
  background: var(--white);
}

.banks-heading {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.bank-gallery {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 30px 42px;
  align-items: center;
  margin-top: 48px;
}

.bank-gallery img {
  width: 100%;
  max-width: 145px;
  aspect-ratio: 1 / 1;
  margin: 0 auto;
  object-fit: contain;
  background: var(--white);
  mix-blend-mode: multiply;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.bank-gallery img:hover {
  transform: scale(1.05);
}

.credentials {
  background: var(--sky);
}

.credentials-grid {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 80px;
  align-items: center;
}

.credential-list {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.credential-list article {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 16px;
  align-items: center;
  padding: 22px;
  background: var(--white);
}

.credential-list i {
  color: var(--blue);
  font-size: 23px;
}

.credential-list div {
  display: flex;
  flex-direction: column;
}

.credential-list strong {
  color: var(--navy);
  font-size: 14px;
}

.credential-list span {
  color: var(--muted);
  font-size: 12px;
}

.contact-band {
  padding: 52px 0;
  color: var(--white);
  background: var(--navy);
}

.contact-band-inner {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 60px;
  align-items: center;
}

.contact-band span {
  color: #8dd5ff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-band h2 {
  margin-top: 4px;
  color: var(--white);
  font-size: 34px;
}

.contact-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 28px;
}

.contact-links a {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 14px;
}

.contact-links a:last-child {
  grid-column: 1 / -1;
}

.contact-links i {
  width: 20px;
  color: #8dd5ff;
  text-align: center;
}

.site-footer {
  padding: 34px 0;
  color: rgba(255, 255, 255, 0.7);
  background: var(--navy-dark);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 34px;
  align-items: center;
}

.footer-brand img {
  width: 175px;
  filter: brightness(0) invert(1);
}

.footer-brand p {
  margin: 9px 0 0;
  font-size: 12px;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
}

.developer-credit {
  margin: 0;
  font-size: 12px;
}

.developer-credit a {
  color: var(--white);
  font-weight: 800;
}

.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  color: var(--white);
  background: #25d366;
  border-radius: 50%;
  box-shadow: 0 12px 28px rgba(18, 94, 49, 0.28);
  font-size: 25px;
  transition: transform 0.2s ease;
}

.whatsapp-float:hover {
  transform: translateY(-3px) scale(1.03);
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes drift {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(0, 14px, 0); }
}

@media (max-width: 980px) {
  .menu-toggle {
    display: block;
  }

  .main-nav {
    position: fixed;
    top: 74px;
    right: 0;
    left: 0;
    display: grid;
    gap: 0;
    padding: 16px 20px 24px;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 30px rgba(13, 49, 82, 0.08);
    transform: translateY(-130%);
    transition: transform 0.3s ease;
  }

  .main-nav.open {
    transform: translateY(0);
  }

  .main-nav a {
    padding: 13px 0;
  }

  .main-nav > a:not(.nav-cta)::after {
    display: none;
  }

  .nav-cta {
    margin-top: 8px;
    padding: 12px 16px !important;
    text-align: center;
  }

  .menu-toggle.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .menu-toggle.open span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .hero-grid,
  .split-heading,
  .section-heading,
  .isapre-layout,
  .credentials-grid,
  .contact-band-inner {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 38px;
  }

  .split-heading,
  .section-heading,
  .credentials-grid,
  .contact-band-inner {
    gap: 30px;
  }

  .insurance-categories {
    grid-template-columns: 1fr 1fr;
  }

  .insurance-categories article:nth-child(2) {
    border-right: 0;
  }

  .insurance-categories article:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .insurer-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .bank-gallery {
    grid-template-columns: repeat(4, 1fr);
  }

  .property-bg {
    transform: scale(1.04) !important;
  }
}

@media (max-width: 720px) {
  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .section {
    padding: 70px 0;
  }

  .hero {
    padding: 36px 0 40px;
  }

  .hero h1 {
    font-size: clamp(2.1rem, 11vw, 3.2rem);
  }

  .hero-facts {
    gap: 18px;
    justify-content: space-between;
  }

  .hero-facts strong {
    font-size: 18px;
  }

  .quote-panel {
    padding: 22px;
  }

  .form-grid,
  .plans-grid,
  .coverage-columns,
  .contact-links {
    grid-template-columns: 1fr;
  }

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

  .service-strip-grid > a {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .service-strip-grid > a:last-child {
    border-bottom: 0;
  }

  .plans-grid > div,
  .plans-grid > div:nth-child(even),
  .plans-grid > div:nth-last-child(-n + 2) {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .plans-grid > div:last-child {
    border-bottom: 0;
  }

  .insurance-categories,
  .insurer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .insurance-categories article {
    padding: 24px 18px;
  }

  .insurer {
    min-height: 80px;
    font-size: 17px;
  }

  .property-section {
    min-height: 560px;
  }

  .property-copy {
    padding: 72px 0;
  }

  .property-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .bank-gallery {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }

  .contact-links a:last-child {
    grid-column: auto;
  }

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

@media (max-width: 480px) {
  .brand img {
    width: 164px;
  }

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

  .hero-facts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }

  .hero-facts span {
    line-height: 1.35;
  }

  .choice-row {
    gap: 10px 14px;
  }

  .insurance-categories,
  .insurer-grid {
    grid-template-columns: 1fr;
  }

  .insurance-categories article {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .insurance-categories article:last-child {
    border-bottom: 0;
  }

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* Ajustes solicitados agosto 2026 */
.hero-copy .hero-actions {
  margin-bottom: 0;
}

@media (max-width: 767px) {
  .service-block-label {
    font-size: 1.05rem;
  }

  .credentials-kicker {
    font-size: 15px;
  }
}

/* Formulario de contacto AJAX */
.form-hp {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

#quoteForm .button[disabled] {
  cursor: wait;
  opacity: 0.78;
}

#quoteForm .button.is-loading {
  pointer-events: none;
}

.form-status {
  display: none;
  min-height: 0;
  padding: 10px 12px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
}

.form-status:not(:empty) {
  display: block;
}

.form-status.is-error {
  color: #9f2f2f;
  background: #fff1f1;
  border-color: #f1caca;
}

.form-status.is-success {
  color: #17633b;
  background: #eefaf3;
  border-color: #bee6ce;
}

.form-status.is-loading {
  color: #155f8c;
  background: #eef8fd;
  border-color: #c6e5f4;
}
