:root {
  --ink: #192642;
  --muted: #64708a;
  --lav: #afa0df;
  --blue: #a9b9e8;
  --sky: #91c9df;
  --teal: #78cfc5;
  --paper: #f7f8fc;
  --white: #fff;
  --line: #e7e8f4;
  --grad: linear-gradient(110deg, var(--lav), var(--blue) 52%, var(--sky));
  --shadow: 0 18px 45px rgba(63, 65, 119, 0.12);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: Manrope, Arial, sans-serif;
}
a {
  color: inherit;
  text-decoration: none;
}
.site-header {
  height: 86px;
  padding: 0 clamp(20px, 5vw, 76px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.94);
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
  border-bottom: 1px solid #eff0f8;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand-mark {
  width: 52px;
  height: 46px;
}
.brand-word {
  font-weight: 800;
  font-size: 27px;
  letter-spacing: -1.4px;
  line-height: 0.9;
}
.brand-word span {
  display: block;
  text-align: center;
  font-size: 11px;
  letter-spacing: 3px;
  font-weight: 600;
  margin-top: 7px;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(15px, 2.2vw, 34px);
  font-size: 13px;
  font-weight: 700;
}
.main-nav > a:not(.nav-cta):hover,
.footer a:hover {
  color: #795bd0;
}
.nav-cta,
.button {
  border: 0;
  border-radius: 999px;
  padding: 14px 22px;
  font:
    700 14px Manrope,
    sans-serif;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  cursor: pointer;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}
.nav-cta,
.button-primary {
  background: linear-gradient(105deg, #8951d7, #6d79dc 60%, #55c7c6);
  color: white;
  box-shadow: 0 9px 22px #9d91df55;
}
.nav-cta:hover,
.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 25px #7772ba44;
}
.menu-toggle {
  display: none;
  background: none;
  border: 0;
  font-size: 25px;
  color: var(--ink);
}
.hero {
  min-height: 520px;
  padding: 58px clamp(22px, 6vw, 92px) 85px;
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  align-items: center;
  gap: 30px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 7% 45%, #e6dcff 0, transparent 42%),
    linear-gradient(115deg, #fbfaff, #f4f7ff 58%, #e9faff);
}
.hero:after {
  content: "";
  position: absolute;
  width: 460px;
  height: 460px;
  border: 1px solid #b9a8ee55;
  border-radius: 50%;
  right: -180px;
  bottom: -260px;
  box-shadow:
    0 0 0 35px #b9a8ee12,
    0 0 0 75px #91c9df12;
  pointer-events: none;
}
.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 570px;
}

.hero-free-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 0 18px;
  padding: 12px 20px;
  border: 1px solid #ffffffcc;
  border-radius: 999px;
  background: linear-gradient(105deg, #7654cf 0%, #8e79df 42%, #42b8c7 100%);
  color: #fff;
  font-size: clamp(14px, 1.5vw, 18px);
  font-weight: 950;
  letter-spacing: 1.4px;
  text-shadow: 0 1px 3px #26305b55;
  box-shadow:
    0 9px 24px #6f61c955,
    0 0 0 5px #a99be522;
  transform: rotate(-1deg);
}

.eyebrow,
.section-kicker {
  font-size: 10px;
  letter-spacing: 2.2px;
  font-weight: 800;
  color: #8065c9;
}
.hero h1 {
  font-size: clamp(38px, 4.2vw, 60px);
  line-height: 1.07;
  letter-spacing: -2.8px;
  margin: 18px 0;
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(100deg, #8057d0, #5caecb);
  background-clip: text;
  color: transparent;
}
.hero-copy > p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
  max-width: 470px;
}
.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  color: #475675;
  font-size: 11px;
  font-weight: 700;
  margin: 25px 0;
}
.hero-visual {
  height: 390px;
  position: relative;
  border-radius: 34px 110px 34px 110px;
  overflow: hidden;
  box-shadow: var(--shadow);
  z-index: 2;
  background: var(--grad);
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.9s ease;
}
.hero-slide.is-active {
  opacity: 1;
}
.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  animation: slowzoom 7s ease-in-out infinite alternate;
}
.hero-slide:after {
  content: "";
  position: absolute;
  inset: 35% 0 0;
  background: linear-gradient(transparent, rgba(17, 29, 54, 0.58));
}
.slide-caption {
  position: absolute;
  z-index: 2;
  bottom: 28px;
  left: 30px;
  color: #fff;
  font-size: 17px;
  font-weight: 800;
}
.slide-arrow {
  position: absolute;
  z-index: 4;
  top: 48%;
  border: 0;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  background: #fff;
  color: #7657d0;
  font-size: 28px;
  cursor: pointer;
  box-shadow: var(--shadow);
}
.slide-arrow.prev {
  left: 15px;
}
.slide-arrow.next {
  right: 15px;
}
.slide-dots {
  position: absolute;
  z-index: 4;
  bottom: 12px;
  right: 28px;
  display: flex;
  gap: 7px;
}
.dot {
  width: 8px;
  height: 8px;
  border: 0;
  border-radius: 20px;
  background: #ffffff90;
  padding: 0;
  cursor: pointer;
}
.dot.active {
  width: 23px;
  background: #fff;
}
.hero-glow {
  position: absolute;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: #b5a1f1;
  filter: blur(90px);
  opacity: 0.3;
  left: 42%;
  bottom: -180px;
}
.quote-wrap {
  position: relative;
  z-index: 5;
  margin: -42px auto 0;
  width: min(1120px, 90%);
  background: #fff;
  border: 1px solid #efeff8;
  border-radius: 23px;
  padding: 25px 30px;
  box-shadow: var(--shadow);
}
.quote-heading {
  display: flex;
  gap: 15px;
  align-items: center;
  margin-bottom: 20px;
}
.quote-icon {
  width: 45px;
  height: 45px;
  border-radius: 15px;
  background: linear-gradient(135deg, #eee8ff, #e1f7fa);
  display: grid;
  place-items: center;
  color: #805bd3;
  font-size: 28px;
}
.quote-heading h2 {
  font-size: 19px;
  margin: 5px 0 4px;
}
.quote-free-badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  background: linear-gradient(100deg, #efe7ff, #ddf8f5);
  color: #5941a5;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 1.1px;
  box-shadow: 0 4px 12px #9d91df25;
}
.quote-heading p,
.form-bottom p,
.form-note {
  font-size: 11px;
  color: var(--muted);
  margin: 0;
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.form-grid label {
  font-size: 10px;
  font-weight: 800;
  color: #4c5872;
}
.form-grid input,
.form-grid select {
  width: 100%;
  display: block;
  margin-top: 7px;
  border: 1px solid #dfe2f0;
  border-radius: 10px;
  padding: 13px 11px;
  font: 500 12px Manrope;
  color: var(--ink);
  background: #fff;
  min-height: 44px;
  outline: none;
}
.form-grid input:focus,
.form-grid select:focus {
  border-color: #9a83df;
  box-shadow: 0 0 0 3px #afa0df30;
}
.form-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-top: 17px;
}
.form-note {
  margin-top: 12px;
  font-size: 10px;
}
.section {
  padding: 86px clamp(22px, 7vw, 105px);
}
.insurers {
  text-align: center;
  padding-bottom: 40px;
}
.section h2,
.coverage-intro h2,
.fleet-copy h2,
.why-section h2,
.contact-band h2 {
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.16;
  letter-spacing: -1.5px;
  margin: 12px 0;
}
.section-intro {
  max-width: 640px;
  margin: 0 auto 30px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}
.logo-window {
  overflow: hidden;
  padding: 12px 0;
  mask-image: linear-gradient(
    90deg,
    transparent,
    #000 7%,
    #000 93%,
    transparent
  );
}
.logo-track {
  display: flex;
  align-items: center;
  gap: 20px;
  width: max-content;
  animation: marquee 27s linear infinite;
}
.logo-track span {
  min-width: 145px;
  padding: 19px 22px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: white;
  box-shadow: 0 7px 20px #242d4a0b;
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.6px;
  color: #3c4c75;
}
.logo-window:hover .logo-track {
  animation-play-state: paused;
}
.tiny-note {
  font-size: 10px;
  color: #8991a5;
  line-height: 1.6;
}
.vehicle-section {
  background: linear-gradient(180deg, #fbfaff, #f6f9ff);
}
.vehicle-section {
  text-align: center;
}
.vehicle-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 17px;
  margin-top: 35px;
  text-align: left;
}
.vehicle-card {
  border-radius: 20px;
  overflow: hidden;
  background: white;
  box-shadow: 0 10px 28px #25345b10;
  transition:
    transform 0.25s,
    box-shadow 0.25s;
}
.vehicle-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}
.vehicle-card img {
  width: 100%;
  height: 175px;
  object-fit: cover;
  display: block;
}
.vehicle-card div {
  padding: 18px;
}
.vehicle-card h3 {
  font-size: 17px;
  margin: 0 0 7px;
}
.vehicle-card p {
  font-size: 11px;
  line-height: 1.65;
  color: var(--muted);
  min-height: 37px;
  margin: 0 0 14px;
}
.vehicle-card a,
.text-link {
  font-size: 11px;
  font-weight: 800;
  color: #795bd0;
}
.coverage-section {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 45px;
  align-items: start;
}
.coverage-intro p,
.fleet-copy p,
.why-section > div > p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}
.coverage-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 13px;
}
.coverage-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: #fff;
  min-height: 175px;
}
.coverage-card.featured {
  background: linear-gradient(135deg, #f0eaff, #e9f8fb);
  border-color: #d8d2f2;
}
.coverage-number {
  font-size: 10px;
  color: #8c70d3;
  font-weight: 800;
}
.coverage-card h3 {
  font-size: 16px;
  margin: 13px 0 8px;
}
.coverage-card p {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.7;
  margin: 0;
}
.coverage-disclaimer {
  grid-column: 2;
  margin-top: -30px;
}
.fleet-section {
  margin: 0 clamp(22px, 7vw, 105px) 75px;
  border-radius: 28px;
  background: linear-gradient(110deg, #262f57, #4c5486 55%, #74bfc8);
  color: white;
  padding: 48px clamp(25px, 5vw, 65px);
  display: grid;
  grid-template-columns: 0.45fr 1fr;
  gap: 35px;
  overflow: hidden;
  position: relative;
}
.fleet-section:before {
  content: "";
  position: absolute;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: linear-gradient(135deg, #b7a5ed, #73cbd1);
  opacity: 0.23;
  left: -100px;
  top: -170px;
}
.fleet-visual {
  position: relative;
  min-height: 230px;
  border-radius: 18px;
  background: linear-gradient(140deg, #a99be2, #79c9d0);
  overflow: hidden;
}
.fleet-visual:after {
  content: "";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 130px;
  font-weight: 800;
  color: #ffffff35;
}
.fleet-visual span {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 92px;
  font-weight: 800;
  letter-spacing: -8px;
  color: #ffffffbb;
}
.fleet-visual small {
  position: absolute;
  bottom: 20px;
  left: 0;
  right: 0;
  text-align: center;
  letter-spacing: 4px;
  font-size: 10px;
  font-weight: 800;
  color: #fff;
}
.fleet-copy {
  position: relative;
}
.fleet-copy .section-kicker {
  color: #cfc5ff;
}
.fleet-copy h2 {
  max-width: 620px;
}
.fleet-copy p {
  color: #e1e5f5;
}
.fleet-copy ul {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  padding-left: 17px;
  font-size: 11px;
  color: #f0f3ff;
}
.button-light {
  background: #fff;
  color: #283354;
  margin-top: 10px;
}
.why-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}
.why-list article {
  display: flex;
  gap: 18px;
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
}
.why-list article > b {
  font-size: 13px;
  color: #8c70d3;
}
.why-list h3 {
  font-size: 14px;
  margin: 0 0 5px;
}
.why-list p {
  font-size: 11px;
  color: var(--muted);
  margin: 0;
}
.contact-band {
  margin: 0 clamp(22px, 7vw, 105px) 70px;
  padding: 35px 42px;
  border-radius: 23px;
  background: var(--grad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.contact-band h2 {
  margin: 8px 0;
  font-size: 29px;
}
.contact-band p {
  font-size: 12px;
  color: #394967;
  margin: 0;
}
.contact-band .section-kicker {
  color: #514b85;
}
.footer {
  padding: 40px clamp(22px, 7vw, 105px);
  background: #192642;
  color: #fff;
  text-align: center;
}
.brand-footer {
  justify-content: center;
}
.brand-footer .brand-word {
  font-size: 24px;
}
.brand-footer .brand-word span {
  color: #c8c9e7;
}
.footer > p {
  font-size: 11px;
  color: #c4cbe0;
}
.footer > div {
  display: flex;
  justify-content: center;
  gap: 25px;
  margin: 20px 0;
  font-size: 11px;
}
.footer small {
  display: block;
  color: #9ea9c2;
  font-size: 9px;
  line-height: 1.6;
}
@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}
@keyframes slowzoom {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.08);
  }
}
@media (max-width: 900px) {
  .main-nav {
    gap: 12px;
    font-size: 11px;
  }
  .hero {
    grid-template-columns: 1fr 1fr;
    padding-top: 40px;
  }
  .hero-visual {
    height: 330px;
  }
  .form-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .vehicle-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .coverage-section {
    grid-template-columns: 1fr;
  }
  .coverage-disclaimer {
    grid-column: 1;
    margin-top: 0;
  }
  .fleet-section {
    grid-template-columns: 0.3fr 1fr;
  }
  .fleet-visual {
    min-height: 260px;
  }
}
@media (max-width: 650px) {
  .site-header {
    height: 72px;
  }
  .brand-mark {
    width: 42px;
  }
  .brand-word {
    font-size: 23px;
  }
  .menu-toggle {
    display: block;
  }
  .main-nav {
    display: none;
    position: absolute;
    top: 71px;
    left: 0;
    right: 0;
    background: white;
    padding: 20px;
    box-shadow: var(--shadow);
    flex-direction: column;
    align-items: stretch;
  }
  .main-nav.open {
    display: flex;
  }
  .main-nav a {
    padding: 9px;
  }
  .hero {
    grid-template-columns: 1fr;
    padding: 43px 22px 65px;
    gap: 25px;
  }
  .hero h1 {
    font-size: 42px;
  }
  .hero-free-badge {
    margin-bottom: 15px;
    padding: 10px 16px;
    font-size: 14px;
  }
  .hero-visual {
    height: 270px;
    border-radius: 24px 65px 24px 65px;
  }
  .quote-wrap {
    margin-top: -28px;
    padding: 20px;
    width: 92%;
  }
  .form-grid {
    grid-template-columns: 1fr 1fr;
  }
  .form-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
  .form-bottom .button {
    width: 100%;
  }
  .section {
    padding: 65px 22px;
  }
  .vehicle-grid {
    gap: 11px;
  }
  .vehicle-card img {
    height: 125px;
  }
  .vehicle-card div {
    padding: 13px;
  }
  .vehicle-card h3 {
    font-size: 14px;
  }
  .vehicle-card p {
    font-size: 10px;
    min-height: 55px;
  }
  .coverage-grid {
    grid-template-columns: 1fr;
  }
  .fleet-section {
    margin: 0 18px 55px;
    padding: 30px 23px;
    grid-template-columns: 1fr;
  }
  .fleet-visual {
    min-height: 100px;
  }
  .why-section {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .contact-band {
    margin: 0 18px 50px;
    padding: 28px 24px;
    align-items: flex-start;
    flex-direction: column;
  }
  .contact-band h2 {
    font-size: 25px;
  }
  .contact-band .button {
    width: 100%;
  }
  .footer > div {
    gap: 15px;
    flex-wrap: wrap;
  }
  .logo-track span {
    min-width: 120px;
    padding: 16px;
    font-size: 16px;
  }
}
@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;
  }
}

.form-grid select {
  cursor: pointer;
}
.form-grid select:disabled {
  cursor: not-allowed;
  background: #f3f4f8;
  color: #8991a5;
}

/* Logotipos de aseguradoras proporcionados para LIVENTIA */
.logo-track {
  gap: 18px;
  align-items: center;
}
.insurer-logo {
  width: 172px;
  height: 104px;
  flex: 0 0 172px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 13px 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 7px 20px #242d4a0b;
}
.insurer-logo img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 142px;
  max-height: 76px;
  object-fit: contain;
}
.insurer-logo img[alt="AXA"],
.insurer-logo[aria-hidden="true"] img[src$="axa.png"] {
  max-width: 76px;
  max-height: 76px;
}
@media (max-width: 650px) {
  .insurer-logo {
    width: 145px;
    height: 88px;
    flex-basis: 145px;
    padding: 10px 13px;
  }
  .insurer-logo img {
    max-width: 120px;
    max-height: 64px;
  }
  .insurer-logo img[alt="AXA"],
  .insurer-logo[aria-hidden="true"] img[src$="axa.png"] {
    max-width: 64px;
    max-height: 64px;
  }
}


/* Formulario: consentimiento, estado y captura de prospectos */
.hidden-field { display:none !important; }
.privacy-consent {
  display:flex; align-items:flex-start; gap:10px; margin:18px 0;
  color:var(--muted); font-size:12px; line-height:1.6;
}
.privacy-consent input { flex:0 0 auto; margin-top:3px; accent-color:#8b79d8; }
.privacy-consent a { color:#7865c7; font-weight:800; text-decoration:underline; }
#formStatus { min-height:18px; margin-top:10px; }
#quoteForm button:disabled { opacity:.65; cursor:wait; }


/* Validación accesible del formulario LIVENTIA */
.form-grid input.field-invalid,
.form-grid select.field-invalid,
.privacy-consent input.field-invalid {
  background-color: #fffbea !important;
  border-color: #e8c96b !important;
  box-shadow: 0 0 0 3px rgba(232, 201, 107, .20) !important;
}
.form-grid input.field-invalid:focus,
.form-grid select.field-invalid:focus {
  outline: none;
}
.form-toast {
  position: fixed;
  z-index: 9999;
  left: 50%;
  bottom: 24px;
  transform: translate(-50%, 14px);
  max-width: min(92vw, 560px);
  margin: 0;
  padding: 13px 19px;
  border: 1px solid #e8c96b;
  border-radius: 14px;
  background: #fffbea;
  color: #66521b;
  box-shadow: 0 12px 35px rgba(25, 38, 66, .18);
  font: 700 13px/1.5 Manrope, sans-serif;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
}
.form-toast[hidden] { display: none; }
.form-toast.is-visible {
  display: block;
  opacity: 1;
  transform: translate(-50%, 0);
}
