/* ========================================
   Cubika Seguros Ltda — Design System
   ======================================== */

:root {
  --color-ink: #111111;
  --color-muted: #666666;
  --color-subtle: #999999;
  --color-line: #eeeeee;
  --color-surface: #f7f7f7;
  --color-white: #ffffff;
  --color-brand: #ed1c24;
  --color-brand-hot: #ff3038;
  --color-brand-soft: #fff0f0;
  --color-brand-tint: #fff8f8;
  --color-overlay: rgba(0, 0, 0, 0.88);

  --font-sans: "Plus Jakarta Sans", "Segoe UI", sans-serif;

  --space-xs: 0.5rem;
  --space-sm: 0.75rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;

  --radius-sm: 8px;
  --radius-md: 9px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-pill: 999px;

  --container: min(1400px, 92%);
  --header-h: 82px;
  --shadow-dropdown: 0 20px 60px rgba(0, 0, 0, 0.2);
  --shadow-cta: 0 8px 25px rgba(237, 28, 36, 0.25);
  --ease: 0.3s ease;
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  color: var(--color-ink);
  background: var(--color-white);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  max-width: 100%;
}

img,
video,
iframe,
svg {
  max-width: 100%;
  height: auto;
  display: block;
}

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

button {
  font-family: inherit;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: var(--space-md);
  z-index: 10000;
  padding: 0.75rem 1rem;
  background: var(--color-brand);
  color: var(--color-white);
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.875rem;
}

.skip-link:focus {
  top: var(--space-md);
}

.container {
  width: var(--container);
  margin-inline: auto;
}

/* ========================================
   Header
   ======================================== */

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 1000;
  color: var(--color-white);
}

.site-header--solid {
  position: sticky;
  top: 0;
  background: rgba(17, 17, 17, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.site-header--solid .nav-container {
  border-bottom: none;
}

.nav-container {
  width: var(--container);
  margin-inline: auto;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 180px;
}

.logo img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  border-radius: 10px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 2.125rem;
}

.nav-link {
  position: relative;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-white);
  padding: 1.875rem 0;
  transition: color var(--ease);
}

.nav-link:hover,
.nav-link[aria-current="page"] {
  color: var(--color-brand-hot);
}

.nav-link[aria-current="page"]::after {
  content: "";
  position: absolute;
  bottom: 1.2rem;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--color-brand-hot);
  border-radius: 10px;
}

/* Dropdown / mega menu */

.dropdown {
  position: relative;
}

.dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  background: none;
  border: none;
  cursor: pointer;
  font: inherit;
  color: inherit;
}

.arrow {
  font-size: 0.625rem;
  transition: transform var(--ease);
}

.dropdown:hover .arrow,
.dropdown:focus-within .arrow {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: 4.5rem;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  width: 600px;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.98);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-dropdown);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
}

.dropdown:hover .dropdown-menu,
.dropdown:focus-within .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.dropdown-menu::before {
  content: "";
  position: absolute;
  top: -7px;
  left: 50%;
  width: 14px;
  height: 14px;
  background: var(--color-white);
  transform: translateX(-50%) rotate(45deg);
}

.mega-title {
  color: var(--color-ink);
  font-size: 0.8125rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.875rem;
}

.mega-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.mega-column.personal {
  border-right: 1px solid var(--color-line);
  padding-right: 1.5rem;
}

.mega-category {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  margin-bottom: 0.875rem;
}

.mega-icon {
  width: 35px;
  height: 35px;
  display: grid;
  place-items: center;
  background: var(--color-brand-soft);
  color: var(--color-brand);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  flex-shrink: 0;
}

.mega-icon i,
.product-icon i,
.service-main-icon i,
.benefit-icon i,
.benefit-icon-lg i,
.step-icon i {
  line-height: 1;
}

.mega-category strong {
  color: var(--color-ink);
  font-size: 0.875rem;
}

.mega-link {
  display: block;
  color: var(--color-muted);
  font-size: 0.8125rem;
  margin: 0.55rem 0;
  padding-left: 2.8rem;
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.mega-link:hover {
  color: var(--color-brand);
  padding-left: 3.05rem;
}

.view-all {
  display: inline-flex;
  margin-top: 0.5rem;
  margin-left: 2.8rem;
  color: var(--color-brand);
  font-size: 0.75rem;
  font-weight: 700;
}

/* Nav actions */

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.95rem;
}

.search-button,
.mobile-button {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--color-white);
  background: transparent;
  cursor: pointer;
  transition: var(--ease);
}

.search-button:hover {
  background: var(--color-white);
  color: var(--color-ink);
}

.quote-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  background: var(--color-brand);
  color: #ffffff !important;
  padding: 0.85rem 1.45rem;
  border-radius: var(--radius-pill);
  font-size: 0.8125rem;
  font-weight: 700;
  box-shadow: var(--shadow-cta);
  transition: var(--ease);
}

.quote-button:hover {
  background: var(--color-white);
  color: var(--color-brand) !important;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(237, 28, 36, 0.3);
}

.quote-button i {
  color: inherit !important;
}

.mobile-button {
  display: none;
  border-radius: var(--radius-sm);
  font-size: 1.25rem;
}

/* ========================================
   Hero
   ======================================== */

.hero {
  position: relative;
  min-height: min(100vh, 720px);
  display: flex;
  align-items: center;
  background:
    linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.92) 0%,
      rgba(0, 0, 0, 0.78) 38%,
      rgba(0, 0, 0, 0.25) 70%,
      rgba(0, 0, 0, 0.15) 100%
    ),
    url("../assets/header.png") center / cover no-repeat;
}

.hero-content {
  width: var(--container);
  margin-inline: auto;
  padding-top: var(--header-h);
}

.hero-text {
  max-width: 650px;
}

.hero-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--color-brand-hot);
  font-size: 0.8125rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 1.1rem;
}

.hero-brand::before {
  content: "";
  width: 30px;
  height: 2px;
  background: var(--color-brand);
}

.hero h1 {
  color: var(--color-white);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -0.04em;
  margin-bottom: 1.5rem;
}

.hero h1 em {
  font-style: normal;
  color: var(--color-brand);
}

.hero-description {
  max-width: 590px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.0625rem;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.hero-buttons {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  padding: 0.95rem 1.55rem;
  border-radius: var(--radius-pill);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  border: none;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease, filter 0.25s ease;
}

a.btn,
button.btn {
  text-decoration: none;
}

a.btn-primary,
button.btn-primary,
.btn.btn-primary {
  background: var(--color-brand);
  color: #ffffff !important;
  box-shadow: 0 10px 24px rgba(237, 28, 36, 0.28);
}

a.btn-primary:hover,
button.btn-primary:hover,
.btn.btn-primary:hover {
  background: #d41820;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(237, 28, 36, 0.35);
}

a.btn-primary i,
button.btn-primary i,
.btn.btn-primary i {
  color: #ffffff !important;
}

a.btn-secondary,
button.btn-secondary,
.btn.btn-secondary {
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #ffffff !important;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(6px);
}

a.btn-secondary:hover,
button.btn-secondary:hover,
.btn.btn-secondary:hover {
  background: var(--color-white);
  color: var(--color-ink) !important;
  border-color: var(--color-white);
  transform: translateY(-2px);
}

a.btn-secondary:hover i,
button.btn-secondary:hover i {
  color: var(--color-ink) !important;
}

.hero-benefits {
  display: flex;
  gap: 2.2rem;
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  list-style: none;
}

.hero-benefit {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.75rem;
}

.benefit-icon {
  width: 35px;
  height: 35px;
  display: grid;
  place-items: center;
  background: rgba(237, 28, 36, 0.15);
  border: 1px solid rgba(237, 28, 36, 0.4);
  border-radius: var(--radius-sm);
  color: var(--color-brand-hot);
  flex-shrink: 0;
}

/* ========================================
   Responsive
   ======================================== */

@media (max-width: 1100px) {
  .main-nav {
    gap: 1.25rem;
  }

  :root {
    --container: min(1400px, 94%);
  }

  .quote-button {
    padding: 0.7rem 0.95rem;
  }

  .hero {
    min-height: 680px;
  }
}

@media (max-width: 900px) {
  .search-button {
    display: none;
  }

  .mobile-button {
    display: grid;
  }

  .nav-actions {
    gap: 0.5rem;
  }

  .logo {
    min-width: 0;
  }

  /* Home: header en flujo normal en móvil para evitar solapes */
  .site-header:not(.site-header--solid) {
    position: relative;
    background: #111111;
  }

  .site-header--solid {
    position: sticky;
    top: 0;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: calc(100% + 4px);
    left: 3%;
    right: 3%;
    z-index: 1200;
    background: #111111;
    padding: 1rem 1.15rem 1.25rem;
    border-radius: var(--radius-lg);
    flex-direction: column;
    align-items: flex-start;
    gap: 0.15rem;
    box-shadow: var(--shadow-dropdown);
    max-height: min(78vh, 640px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .main-nav.is-open {
    display: flex;
  }

  .nav-link {
    padding: 0.85rem 0;
    width: 100%;
    font-size: 0.9375rem;
  }

  .nav-link[aria-current="page"]::after {
    display: none;
  }

  .dropdown {
    width: 100%;
  }

  .dropdown-toggle {
    width: 100%;
    justify-content: space-between;
  }

  .dropdown-menu {
    position: static;
    transform: none;
    width: 100%;
    margin-top: 0.35rem;
    opacity: 1;
    visibility: visible;
    display: none;
    box-shadow: none;
    border-radius: var(--radius-md);
    padding: 1rem;
  }

  .dropdown-menu::before {
    display: none;
  }

  .dropdown.is-open .dropdown-menu {
    display: block;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .mega-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .mega-column.personal {
    border-right: none;
    border-bottom: 1px solid var(--color-line);
    padding-right: 0;
    padding-bottom: 1.25rem;
  }

  .hero {
    min-height: 640px;
    background-position: 65% center;
  }

  .hero-content {
    padding-top: 2rem;
  }

  .hero-benefits {
    gap: 1.1rem;
    flex-wrap: wrap;
  }

  .page-hero {
    padding: 2.5rem 0 2rem;
  }

  .page-hero-row {
    flex-direction: column;
  }

  .page-grid,
  .catalog-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* ========================================
   Services
   ======================================== */

.services {
  padding: 3.25rem 0 3rem;
  background:
    radial-gradient(
      circle at 10% 10%,
      rgba(237, 28, 36, 0.035),
      transparent 30%
    ),
    var(--color-surface);
}

.section-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-brand);
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.65rem;
}

.section-label::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--color-brand);
}

.services-header {
  max-width: 760px;
  margin-bottom: 1.35rem;
}

.services-header h2 {
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-weight: 800;
  margin-bottom: 0.55rem;
}

.services-header h2 em {
  font-style: normal;
  color: var(--color-brand);
}

.services-intro {
  color: #707070;
  font-size: 0.8125rem;
  line-height: 1.55;
  max-width: 640px;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

.service-card {
  background: var(--color-white);
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #e7e7e7;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.1);
}

.service-image {
  position: relative;
  height: 130px;
  overflow: hidden;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.service-card:hover .service-image img {
  transform: scale(1.045);
}

.service-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.02) 20%,
    rgba(0, 0, 0, 0.72) 100%
  );
  pointer-events: none;
  z-index: 1;
}

.image-decoration {
  position: absolute;
  right: -35px;
  top: -70px;
  width: 180px;
  height: 300px;
  background: rgba(237, 28, 36, 0.72);
  transform: rotate(35deg);
  z-index: 2;
  opacity: 0.85;
  pointer-events: none;
}

.image-decoration-two {
  position: absolute;
  right: 20px;
  top: -80px;
  width: 70px;
  height: 280px;
  background: rgba(255, 255, 255, 0.15);
  transform: rotate(35deg);
  z-index: 3;
  pointer-events: none;
}

.service-badge {
  position: absolute;
  z-index: 5;
  left: 0.9rem;
  bottom: 0.75rem;
  padding: 0.35rem 0.65rem;
  border-radius: 6px;
  background: var(--color-brand);
  color: var(--color-white);
  font-size: 0.5625rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.service-content {
  padding: 0.95rem 1rem 1.05rem;
}

.service-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.45rem;
}

.service-small-label {
  display: block;
  color: var(--color-subtle);
  font-size: 0.5625rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.3rem;
}

.service-content h3 {
  font-size: 1.15rem;
  line-height: 1.1;
  letter-spacing: -0.03em;
  font-weight: 800;
}

.service-main-icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: var(--color-brand-soft);
  color: var(--color-brand);
  font-size: 1rem;
  border: 1px solid #ffe1e1;
}

.service-card.business .service-main-icon {
  background: var(--color-ink);
  color: var(--color-white);
  border-color: var(--color-ink);
}

.service-description {
  color: #707070;
  font-size: 0.6875rem;
  line-height: 1.5;
  margin-bottom: 0.7rem;
}

.products-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.35rem;
}

.product-item {
  min-height: 50px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.45rem;
  border: 1px solid var(--color-line);
  border-radius: 8px;
  background: var(--color-white);
  transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.product-item:hover {
  border-color: var(--color-brand);
  background: var(--color-brand-tint);
  transform: translateX(3px);
}

.product-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: #fafafa;
  color: var(--color-brand);
  font-size: 1.05rem;
  border: 1px solid #f0f0f0;
}

.product-text {
  min-width: 0;
  flex: 1;
}

.product-text strong {
  display: block;
  color: #171717;
  font-size: 0.8125rem;
  line-height: 1.25;
  font-weight: 700;
}

.product-text small {
  display: block;
  color: var(--color-subtle);
  font-size: 0.625rem;
  line-height: 1.35;
  margin-top: 0.2rem;
}

.product-arrow {
  color: var(--color-brand);
  font-size: 0.8rem;
  transition: transform 0.2s ease;
}

.product-item:hover .product-arrow {
  transform: translateX(3px);
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.7rem;
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-pill);
  background: var(--color-brand-soft);
  color: var(--color-brand);
  font-size: 0.625rem;
  font-weight: 800;
  transition: var(--ease);
}

.service-link:hover {
  background: var(--color-brand);
  color: var(--color-white);
}

.service-link span,
.service-link i {
  font-size: 0.75rem;
  transition: transform 0.2s ease;
}

.service-link:hover span,
.service-link:hover i {
  transform: translateX(3px);
}

.services-cta {
  position: relative;
  overflow: hidden;
  margin-top: 0.85rem;
  padding: 0.95rem 1.1rem;
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-radius: 12px;
  background: var(--color-ink);
  color: var(--color-white);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.1);
}

.services-cta::before {
  content: "";
  position: absolute;
  width: 330px;
  height: 250px;
  right: 100px;
  top: -150px;
  background: var(--color-brand);
  opacity: 0.18;
  transform: rotate(25deg);
}

.services-cta::after {
  content: "";
  position: absolute;
  width: 90px;
  height: 250px;
  right: 40px;
  top: -120px;
  background: var(--color-brand);
  opacity: 0.25;
  transform: rotate(25deg);
}

.cta-content {
  position: relative;
  z-index: 2;
}

.cta-content h3 {
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 0.3rem;
}

.cta-content p {
  color: var(--color-subtle);
  font-size: 0.6875rem;
  line-height: 1.5;
}

.cta-button {
  position: relative;
  z-index: 3;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.8rem 1.35rem;
  background: var(--color-brand);
  color: #ffffff !important;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 800;
  box-shadow: 0 8px 20px rgba(237, 28, 36, 0.3);
  transition: var(--ease);
}

.cta-button:hover {
  background: #d41820;
  color: #ffffff !important;
  transform: translateY(-2px);
}

.cta-button i,
.cta-button span {
  color: #ffffff !important;
}

.cta-button span {
  font-size: 1rem;
}

@media (max-width: 1050px) {
  .services-grid {
    grid-template-columns: 1fr;
  }

  .service-image {
    height: 150px;
  }
}

@media (max-width: 700px) {
  .services {
    padding: 2.75rem 0;
  }

  .services-header h2 {
    font-size: 1.7rem;
  }

  .service-image {
    height: 130px;
  }

  .service-content {
    padding: 0.9rem;
  }

  .service-content h3 {
    font-size: 1.1rem;
  }

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

  .services-cta {
    flex-direction: column;
    align-items: flex-start;
  }

  .cta-button {
    width: 100%;
  }
}

@media (max-width: 420px) {
  .services-header h2 {
    font-size: 1.55rem;
  }

  .service-image {
    height: 115px;
  }

  .service-main-icon {
    width: 34px;
    height: 34px;
  }
}

/* ========================================
   Shared section helpers
   ======================================== */

.section-label--center {
  justify-content: center;
}

.section-label--center::after {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--color-brand);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--color-brand);
  font-size: 0.6875rem;
  font-weight: 800;
}

.text-link span {
  transition: transform 0.2s ease;
}

.text-link:hover span {
  transform: translateX(4px);
}

.btn-ghost {
  border: 1px solid #555;
  color: #ffffff !important;
  background: transparent;
  border-radius: var(--radius-pill);
}

.btn-ghost:hover {
  background: var(--color-white);
  color: var(--color-ink) !important;
}

/* ========================================
   Insurers
   ======================================== */

.insurers {
  padding: 3.5rem 0;
  background: var(--color-white);
}

.insurers-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 2rem;
}

.insurers-header h2 {
  font-size: clamp(1.5rem, 2.8vw, 2rem);
  letter-spacing: -0.03em;
  margin: 0.65rem 0;
  font-weight: 800;
}

.insurers-header p {
  color: var(--color-muted);
  font-size: 0.875rem;
  line-height: 1.6;
}

.insurers-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.75rem;
}

.insurer-logo {
  height: 100px;
  border: 1px solid var(--color-line);
  border-radius: 12px;
  display: grid;
  place-items: center;
  padding: 0.75rem;
  background: var(--color-white);
  transition: border-color var(--ease), transform var(--ease), box-shadow var(--ease);
}

.insurer-logo:hover {
  border-color: var(--color-brand);
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.06);
}

.insurer-logo img {
  max-width: 150px;
  max-height: 62px;
  width: auto;
  height: auto;
  object-fit: contain;
  transform: scale(1.12);
}

.insurer-logo--text span {
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: 0.06em;
  color: var(--color-ink);
  text-transform: uppercase;
}

/* ========================================
   Benefits
   ======================================== */

.benefits {
  background: var(--color-surface);
  padding: 4rem 0;
}

.benefits-header {
  max-width: 600px;
  margin-bottom: 2rem;
}

.benefits-header h2 {
  font-size: clamp(1.75rem, 3.2vw, 2.5rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  font-weight: 800;
  margin: 0.65rem 0 0.85rem;
}

.benefits-header h2 em {
  font-style: normal;
  color: var(--color-brand);
}

.benefits-header p {
  color: var(--color-muted);
  font-size: 0.875rem;
  line-height: 1.6;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
}

.benefit-card {
  background: var(--color-white);
  border-radius: 14px;
  padding: 1.25rem;
  border: 1px solid var(--color-line);
  transition: transform var(--ease), box-shadow var(--ease);
}

.benefit-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.07);
}

.benefit-number {
  color: #dddddd;
  font-size: 0.75rem;
  font-weight: 800;
  margin-bottom: 1rem;
  display: block;
}

.benefit-icon-lg {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--color-brand-soft);
  color: var(--color-brand);
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  margin-bottom: 0.85rem;
}

.benefit-card h3 {
  font-size: 1rem;
  margin-bottom: 0.55rem;
  font-weight: 800;
}

.benefit-card p {
  color: var(--color-muted);
  font-size: 0.75rem;
  line-height: 1.6;
  margin-bottom: 0.85rem;
}

/* ========================================
   Process
   ======================================== */

.process {
  padding: 4rem 0;
  background: var(--color-white);
}

.process-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 2.5rem;
}

.process-header h2 {
  font-size: clamp(1.75rem, 3.2vw, 2.35rem);
  letter-spacing: -0.03em;
  font-weight: 800;
  margin: 0.65rem 0;
  line-height: 1.1;
}

.process-header h2 em {
  font-style: normal;
  color: var(--color-brand);
}

.process-header p {
  color: var(--color-muted);
  font-size: 0.875rem;
  line-height: 1.6;
}

.process-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  counter-reset: none;
}

.process-step {
  text-align: center;
  padding: 0.75rem;
  position: relative;
}

.process-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 3.4rem;
  right: -0.5rem;
  width: calc(100% - 4.5rem);
  height: 1px;
  background: #dddddd;
  transform: translateX(50%);
}

.step-number {
  color: var(--color-brand);
  font-size: 0.6875rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
  display: block;
}

.step-icon {
  width: 52px;
  height: 52px;
  background: var(--color-ink);
  color: var(--color-white);
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin: 0 auto 0.85rem;
  font-size: 1rem;
  position: relative;
  z-index: 1;
}

.process-step h3 {
  font-size: 0.9rem;
  margin-bottom: 0.45rem;
  font-weight: 800;
}

.process-step p {
  color: var(--color-muted);
  font-size: 0.75rem;
  line-height: 1.55;
}

/* ========================================
   Blog
   ======================================== */

.blog {
  padding: 4rem 0;
  background: var(--color-surface);
}

.blog-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.blog-header h2 {
  font-size: clamp(1.75rem, 3.2vw, 2.35rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  font-weight: 800;
  margin-top: 0.65rem;
}

.blog-header h2 em {
  font-style: normal;
  color: var(--color-brand);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
}

.blog-card {
  background: var(--color-white);
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--color-line);
  transition: transform var(--ease), box-shadow var(--ease);
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.07);
}

.blog-image {
  display: block;
  height: 160px;
  position: relative;
  overflow: hidden;
}

.blog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.blog-card:hover .blog-image img {
  transform: scale(1.05);
}

.blog-image span {
  position: absolute;
  left: 0.85rem;
  bottom: 0.85rem;
  background: var(--color-brand);
  color: var(--color-white);
  padding: 0.35rem 0.55rem;
  border-radius: 5px;
  font-size: 0.5625rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.blog-content {
  padding: 1.1rem;
}

.blog-kicker {
  color: var(--color-brand);
  font-size: 0.5625rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.45rem;
}

.blog-content h3 {
  font-size: 1rem;
  line-height: 1.3;
  margin-bottom: 0.55rem;
  font-weight: 800;
}

.blog-content h3 a:hover {
  color: var(--color-brand);
}

.blog-content > p {
  color: var(--color-muted);
  font-size: 0.75rem;
  line-height: 1.55;
  margin-bottom: 0.75rem;
}

/* ========================================
   FAQ
   ======================================== */

.faq {
  padding: 4rem 0;
  background: var(--color-white);
}

.faq-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 3rem;
  align-items: start;
}

.faq-intro h2 {
  font-size: clamp(1.75rem, 3.2vw, 2.5rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  font-weight: 800;
  margin: 0.65rem 0;
}

.faq-intro h2 em {
  font-style: normal;
  color: var(--color-brand);
}

.faq-intro > p {
  color: var(--color-muted);
  font-size: 0.875rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.faq-list details {
  border-bottom: 1px solid #e5e5e5;
  padding: 0.9rem 0;
}

.faq-list summary {
  list-style: none;
  cursor: pointer;
  font-size: 0.875rem;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

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

.faq-list summary i {
  color: var(--color-brand);
  font-size: 0.85rem;
  line-height: 1;
  transition: transform 0.2s ease;
}

.faq-list details[open] summary i {
  transform: rotate(45deg);
}

.faq-list details p {
  color: var(--color-muted);
  font-size: 0.8125rem;
  line-height: 1.65;
  padding-top: 0.75rem;
  max-width: 620px;
}

/* ========================================
   Quote form
   ======================================== */

.quote {
  position: relative;
  padding: 4.5rem 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 8% 20%, rgba(237, 28, 36, 0.08), transparent 42%),
    radial-gradient(circle at 92% 80%, rgba(17, 17, 17, 0.05), transparent 40%),
    linear-gradient(180deg, #f4f4f5 0%, #fafafa 100%);
}

.quote-layout {
  display: grid;
  grid-template-columns: 0.95fr 1.15fr;
  gap: 2rem;
  align-items: stretch;
}

.quote-intro {
  position: relative;
  padding: 2rem 1.75rem;
  border-radius: 22px;
  background:
    linear-gradient(155deg, #141414 0%, #1f1f1f 55%, #2a1214 100%);
  color: var(--color-white);
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.18);
}

.quote-intro::before {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  right: -90px;
  top: -110px;
  border-radius: 50%;
  background: var(--color-brand);
  opacity: 0.22;
  filter: blur(10px);
}

.quote-intro::after {
  content: "";
  position: absolute;
  width: 160px;
  height: 220px;
  right: 30px;
  bottom: -80px;
  background: rgba(237, 28, 36, 0.35);
  transform: rotate(28deg);
  border-radius: 20px;
}

.quote-intro > * {
  position: relative;
  z-index: 1;
}

.quote-intro .section-label {
  color: #ff6b70;
}

.quote-intro .section-label::before {
  background: #ff6b70;
}

.quote-intro h2 {
  font-size: clamp(1.85rem, 3.2vw, 2.6rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
  font-weight: 800;
  margin: 0.75rem 0 0.85rem;
}

.quote-intro > p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

.quote-intro > p strong {
  color: var(--color-white);
}

.quote-points {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  margin-bottom: 1.6rem;
}

.quote-point {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.7rem 0.85rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.88);
}

.quote-point i {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: rgba(237, 28, 36, 0.2);
  color: #ff6b70;
  font-size: 0.75rem;
  flex-shrink: 0;
}

.quote-contacts {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.quote-chip {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--color-white);
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.quote-chip i {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.1);
  color: #ff6b70;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.quote-chip span {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  font-size: 0.8125rem;
  font-weight: 700;
  line-height: 1.25;
  word-break: break-word;
}

.quote-chip small {
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.quote-chip:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(237, 28, 36, 0.45);
}

.quote-chip--wa i {
  background: rgba(37, 211, 102, 0.18);
  color: #3ddc78;
}

.quote-chip--static {
  cursor: default;
}

.quote-chip--static:hover {
  transform: none;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.1);
}

.quote-form {
  position: relative;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 22px;
  padding: 1.5rem 1.5rem 1.35rem;
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.08),
    0 1px 0 rgba(255, 255, 255, 0.8) inset;
  overflow: hidden;
}

.quote-form::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(180deg, var(--color-brand), #ff6b70);
}

.quote-form-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #efefef;
}

.quote-form-kicker {
  font-size: 0.625rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-brand);
  margin-bottom: 0.3rem;
}

.quote-form-head h3 {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.quote-form-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  background: #f4f4f5;
  color: #555555;
  font-size: 0.625rem;
  font-weight: 700;
  white-space: nowrap;
}

.quote-form-badge i {
  color: var(--color-brand);
}

.quote-honey {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
}

.quote-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.95rem;
}

.quote-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.quote-field--full {
  grid-column: 1 / -1;
}

.quote-field > span {
  font-size: 0.7rem;
  font-weight: 700;
  color: #3a3a3a;
  letter-spacing: 0.01em;
}

.quote-input {
  position: relative;
  display: flex;
  align-items: center;
}

.quote-input > i {
  position: absolute;
  left: 0.85rem;
  color: #b0b0b0;
  font-size: 0.8rem;
  pointer-events: none;
  z-index: 1;
}

.quote-input input,
.quote-input select,
.quote-input textarea {
  width: 100%;
  border: 1px solid #e6e6e6;
  border-radius: 12px;
  padding: 0.85rem 0.95rem 0.85rem 2.4rem;
  font: inherit;
  font-size: 0.8125rem;
  color: var(--color-ink);
  background: #f7f7f8;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease,
    transform 0.2s ease;
  appearance: none;
}

.quote-input--textarea textarea {
  padding-left: 0.95rem;
  min-height: 110px;
  resize: vertical;
}

.quote-input--select::after {
  content: "\f078";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  right: 0.9rem;
  color: #a0a0a0;
  font-size: 0.7rem;
  pointer-events: none;
}

.quote-input input:hover,
.quote-input select:hover,
.quote-input textarea:hover {
  border-color: #d5d5d5;
  background: #f3f3f4;
}

.quote-input input:focus,
.quote-input select:focus,
.quote-input textarea:focus {
  outline: none;
  border-color: rgba(237, 28, 36, 0.55);
  box-shadow: 0 0 0 4px rgba(237, 28, 36, 0.12);
  background: var(--color-white);
}

.quote-consent {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 0.85rem 0.95rem;
  border-radius: 12px;
  background: #f7f7f8;
  border: 1px solid #ececec;
  font-size: 0.75rem;
  color: var(--color-muted);
  line-height: 1.5;
}

.quote-consent input {
  margin-top: 0.15rem;
  width: 1rem;
  height: 1rem;
  accent-color: var(--color-brand);
  flex-shrink: 0;
}

.quote-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.15rem;
}

.quote-actions .btn {
  font-size: 0.8rem;
  padding: 0.95rem 1.45rem;
  border-radius: var(--radius-pill);
  min-height: 50px;
}

.quote-submit {
  box-shadow: 0 12px 28px rgba(237, 28, 36, 0.32);
  color: #ffffff !important;
}

.quote-actions .btn-primary,
.quote-actions a.btn-primary,
.quote-actions button.btn-primary {
  color: #ffffff !important;
}

.quote-actions .btn-primary i,
.quote-actions a.btn-primary i,
.quote-actions button.btn-primary i {
  color: #ffffff !important;
}

a.btn-whatsapp,
button.btn-whatsapp,
.btn.btn-whatsapp {
  background: linear-gradient(135deg, #25d366, #1ebe57);
  color: #ffffff !important;
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.28);
  border-radius: var(--radius-pill);
}

a.btn-whatsapp:hover,
button.btn-whatsapp:hover,
.btn.btn-whatsapp:hover {
  filter: brightness(1.06);
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(37, 211, 102, 0.38);
  color: #ffffff !important;
}

a.btn-whatsapp i,
button.btn-whatsapp i {
  color: #ffffff !important;
}

.quote-note {
  margin-top: 0.9rem;
  font-size: 0.75rem;
  color: var(--color-brand);
  font-weight: 600;
}

.quote-note--error {
  color: #b00020;
}

.quote-submit:disabled {
  opacity: 0.7;
  cursor: wait;
}

.form-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: grid;
  place-items: center;
  padding: 1.25rem;
}

.form-modal[hidden] {
  display: none;
}

.form-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(3px);
}

.form-modal__panel {
  position: relative;
  z-index: 1;
  width: min(420px, 100%);
  background: var(--color-white);
  border-radius: 20px;
  padding: 2rem 1.5rem 1.5rem;
  text-align: center;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
  animation: form-modal-in 0.28s ease;
}

@keyframes form-modal-in {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.form-modal__close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: #f3f3f3;
  color: #333;
  cursor: pointer;
  display: grid;
  place-items: center;
}

.form-modal__close:hover {
  background: #ebebeb;
}

.form-modal__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #e8f8ee;
  color: #1ebe57;
  font-size: 1.75rem;
}

.form-modal__panel h2 {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 0.5rem;
}

.form-modal__panel p {
  color: var(--color-muted);
  font-size: 0.9375rem;
  line-height: 1.55;
  margin-bottom: 1.35rem;
}

.form-modal__panel .btn {
  width: 100%;
  justify-content: center;
}

.whatsapp-float {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 1200;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(145deg, #2fe574, #1ebe57);
  color: var(--color-white);
  display: grid;
  place-items: center;
  font-size: 1.65rem;
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.4);
  transition: transform var(--ease), box-shadow var(--ease);
}

.whatsapp-float:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 14px 32px rgba(37, 211, 102, 0.5);
}

.footer-contact i {
  color: var(--color-brand);
  width: 0.9rem;
}

@media (max-width: 900px) {
  .quote-layout {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}

@media (max-width: 600px) {
  .quote {
    padding: 3rem 0;
  }

  .quote-intro,
  .quote-form {
    padding: 1.25rem;
    border-radius: 18px;
  }

  .quote-form-head {
    flex-direction: column;
  }

  .quote-fields {
    grid-template-columns: 1fr;
  }

  .quote-actions {
    flex-direction: column;
  }

  .quote-actions .btn {
    width: 100%;
    justify-content: center;
  }
}

/* ========================================
   Footer
   ======================================== */

.site-footer {
  background: #080808;
  color: var(--color-white);
  padding-top: 3.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.15fr 1.25fr 1.15fr;
  gap: 2rem;
  padding-bottom: 2.5rem;
}

.footer-brand img {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  margin-bottom: 0.85rem;
}

.footer-brand p {
  color: #888888;
  font-size: 0.75rem;
  line-height: 1.6;
  max-width: 240px;
}

.footer-disclaimer {
  margin-top: 0.85rem;
  color: #666666 !important;
  font-size: 0.625rem !important;
  line-height: 1.5 !important;
  max-width: 260px;
}

.quote-consent a {
  color: var(--color-brand);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ========================================
   Legal pages
   ======================================== */

.legal-topbar {
  background: #111111;
  padding: 0.85rem 0;
}

.legal-topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.legal-topbar .logo img {
  width: 48px;
  height: 48px;
  border-radius: 10px;
}

.legal-page {
  padding: 3.5rem 0 4rem;
  background: #f7f7f7;
}

.legal-wrap {
  max-width: 820px;
  background: var(--color-white);
  border: 1px solid #e8e8e8;
  border-radius: 18px;
  padding: 2rem 1.75rem;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.04);
}

.legal-wrap h1 {
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 0.5rem 0 0.65rem;
}

.legal-meta {
  color: var(--color-muted);
  font-size: 0.8125rem;
  margin-bottom: 1.25rem;
}

.legal-notice {
  background: #fff5f5;
  border: 1px solid #ffd4d6;
  border-left: 4px solid var(--color-brand);
  border-radius: 12px;
  padding: 1rem 1.1rem;
  font-size: 0.875rem;
  line-height: 1.6;
  color: #444444;
  margin-bottom: 1.75rem;
}

.legal-wrap section {
  margin-bottom: 1.5rem;
}

.legal-wrap h2 {
  font-size: 1.05rem;
  margin-bottom: 0.55rem;
  font-weight: 800;
}

.legal-wrap p,
.legal-wrap li {
  color: #555555;
  font-size: 0.9rem;
  line-height: 1.7;
}

.legal-wrap ul {
  margin: 0.55rem 0 0.75rem 1.15rem;
}

.legal-wrap a {
  color: var(--color-brand);
  font-weight: 600;
}

.legal-wrap a.btn,
.legal-wrap a.btn-primary,
.legal-wrap a.btn-whatsapp,
.about-wrap a.btn,
.about-wrap a.btn-primary,
.about-wrap a.btn-whatsapp,
.page-main a.btn,
.page-main a.btn-primary,
.side-card a.btn,
.side-card a.btn-primary,
.side-card a.btn-whatsapp {
  color: #ffffff !important;
}

.legal-wrap a.btn i,
.about-wrap a.btn i,
.page-main a.btn i,
.side-card a.btn i {
  color: #ffffff !important;
}

.legal-note {
  margin-top: 0.65rem;
  font-size: 0.8rem !important;
  color: #888888 !important;
  font-style: italic;
}

.legal-back {
  margin-top: 2rem;
}

.legal-footer {
  padding-top: 0;
}

.footer-disclaimer-inline {
  color: #666666;
  font-size: 0.625rem;
}

@media (max-width: 600px) {
  .legal-wrap {
    padding: 1.35rem 1.1rem;
  }

  .legal-topbar .quote-button {
    padding: 0.65rem 1rem;
    font-size: 0.75rem;
  }
}

/* ========================================
   Inner pages
   ======================================== */

.inner-header {
  background: #111111;
  color: var(--color-white);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.inner-header-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.inner-header .logo img {
  width: 48px;
  height: 48px;
  border-radius: 10px;
}

.inner-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.inner-nav a {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.inner-nav a:hover,
.inner-nav a.is-active {
  color: #ff6b70;
}

.page-hero {
  background:
    linear-gradient(135deg, #141414 0%, #1f1f1f 60%, #2a1214 100%);
  color: var(--color-white);
  padding: 3.25rem 0 2.75rem;
}

.page-hero .section-label {
  color: #ff6b70;
}

.page-hero .section-label::before {
  background: #ff6b70;
}

.page-hero h1 {
  font-size: clamp(1.85rem, 3.5vw, 2.75rem);
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin: 0.55rem 0 0.75rem;
}

.page-hero p {
  color: rgba(255, 255, 255, 0.72);
  max-width: 640px;
  font-size: 0.95rem;
  line-height: 1.6;
}

.page-hero-row {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.page-hero-icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(237, 28, 36, 0.2);
  color: #ff6b70;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.page-content {
  padding: 2.5rem 0 3.5rem;
  background: #f7f7f7;
}

.page-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 1.25rem;
  align-items: start;
}

.page-main,
.side-card,
.about-wrap {
  background: var(--color-white);
  border: 1px solid #e8e8e8;
  border-radius: 18px;
  padding: 1.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

.page-main h2,
.side-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.65rem;
}

.page-main p,
.side-card p {
  color: var(--color-muted);
  font-size: 0.9rem;
  line-height: 1.65;
  margin-bottom: 1rem;
}

.check-list {
  list-style: none;
  margin: 0 0 1.25rem;
  display: grid;
  gap: 0.55rem;
}

.check-list li {
  position: relative;
  padding-left: 1.5rem;
  color: #444444;
  font-size: 0.9rem;
  line-height: 1.5;
}

.check-list li::before {
  content: "\f00c";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 0.1rem;
  color: var(--color-brand);
  font-size: 0.75rem;
}

.page-side {
  display: grid;
  gap: 1rem;
}

.side-card .btn {
  width: 100%;
  margin-top: 0.5rem;
}

.related-grid {
  display: grid;
  gap: 0.45rem;
  margin-bottom: 0.75rem;
}

.related-card {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.65rem 0.75rem;
  border-radius: 12px;
  border: 1px solid #eeeeee;
  font-size: 0.8rem;
  font-weight: 600;
  color: #333333;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.related-card i {
  color: var(--color-brand);
}

.related-card:hover {
  border-color: var(--color-brand);
  background: #fff8f8;
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.catalog-card {
  background: var(--color-white);
  border: 1px solid #e8e8e8;
  border-radius: 18px;
  padding: 1.25rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.catalog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
}

.catalog-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--color-brand-soft);
  color: var(--color-brand);
  margin-bottom: 0.85rem;
}

.catalog-card h2 {
  font-size: 1.05rem;
  margin-bottom: 0.45rem;
}

.catalog-card p {
  color: var(--color-muted);
  font-size: 0.8rem;
  line-height: 1.55;
  margin-bottom: 0.85rem;
}

.page-cta-row {
  margin-top: 1.5rem;
}

.article-cover {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: 14px;
  margin-bottom: 1.25rem;
}

.sitemap-list {
  list-style: none;
  display: grid;
  gap: 0.45rem;
  margin-top: 1rem;
}

.sitemap-list a {
  display: block;
  padding: 0.65rem 0.85rem;
  border-radius: 10px;
  background: #f7f7f7;
  color: #333333;
  font-size: 0.875rem;
  font-weight: 600;
}

.sitemap-list a:hover {
  background: #fff0f0;
  color: var(--color-brand);
}

@media (max-width: 900px) {
  .inner-nav {
    display: none;
  }

  .page-grid,
  .catalog-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .article-cover {
    height: 180px;
  }
}

.social-links {
  display: flex;
  gap: 0.45rem;
  margin-top: 1rem;
}

.social-links a {
  width: 30px;
  height: 30px;
  border: 1px solid #333333;
  border-radius: 7px;
  display: grid;
  place-items: center;
  color: #aaaaaa;
  font-size: 0.6875rem;
  transition: var(--ease);
}

.social-links a:hover {
  background: var(--color-brand);
  border-color: var(--color-brand);
  color: var(--color-white);
}

.footer-column {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.footer-column h3 {
  font-size: 0.75rem;
  margin-bottom: 0.35rem;
  font-weight: 800;
}

.footer-column a,
.footer-column p {
  color: #777777;
  font-size: 0.6875rem;
  transition: color 0.2s ease;
}

.footer-column a:hover {
  color: var(--color-brand);
}

.footer-contact a,
.footer-contact p {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.footer-contact span {
  color: var(--color-brand);
}

.footer-quote {
  background: var(--color-brand);
  color: #ffffff !important;
  padding: 0.75rem 1.15rem;
  border-radius: var(--radius-pill);
  margin-top: 0.55rem;
  text-align: center;
  font-weight: 700;
  box-shadow: 0 8px 18px rgba(237, 28, 36, 0.25);
  transition: var(--ease);
}

.footer-quote:hover {
  background: #d41820 !important;
  color: #ffffff !important;
  transform: translateY(-2px);
}

.footer-quote i {
  color: #ffffff !important;
}

.footer-column a.footer-quote {
  color: #ffffff !important;
}

.footer-bottom {
  border-top: 1px solid #222222;
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: #555555;
  font-size: 0.625rem;
  padding: 1rem 0;
}

.footer-legal {
  display: flex;
  gap: 1.15rem;
  flex-wrap: wrap;
}

.footer-legal a {
  color: #555555;
}

.footer-legal a:hover {
  color: var(--color-brand);
}

/* ========================================
   Global responsive — all devices
   ======================================== */

@media (max-width: 1200px) {
  .insurers-grid {
    grid-template-columns: repeat(4, 1fr);
  }

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

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

@media (max-width: 1050px) {
  .services-grid {
    grid-template-columns: 1fr;
  }

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

  .footer-brand {
    grid-column: span 2;
  }

  .process-step:not(:last-child)::after {
    display: none;
  }

  .process-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
  }

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

@media (max-width: 800px) {
  .insurers-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .faq-layout,
  .quote-layout,
  .blog-header {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }

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

  .quote-intro,
  .quote-form {
    width: 100%;
  }

  .whatsapp-float {
    right: 1rem;
    bottom: 1rem;
    width: 52px;
    height: 52px;
    font-size: 1.45rem;
  }
}

@media (max-width: 600px) {
  :root {
    --header-h: 68px;
    --container: min(1400px, 92%);
  }

  .logo {
    min-width: 0;
  }

  .logo img {
    width: 44px;
    height: 44px;
  }

  .quote-button {
    display: none;
  }

  .mobile-button,
  .search-button {
    width: 42px;
    height: 42px;
  }

  .hero {
    min-height: 100svh;
    min-height: 100dvh;
    background:
      linear-gradient(180deg, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.88)),
      url("../assets/header.png") 70% center / cover no-repeat;
  }

  .hero-content {
    padding-block: 1.75rem 2rem;
  }

  .hero h1 {
    font-size: clamp(1.85rem, 8vw, 2.4rem);
    letter-spacing: -0.03em;
  }

  .hero-description {
    font-size: 0.9375rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-buttons .btn {
    width: 100%;
  }

  .hero-benefits {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .mega-link,
  .view-all {
    padding-left: 0;
    margin-left: 0;
  }

  .services,
  .insurers,
  .benefits,
  .process,
  .blog,
  .faq,
  .quote,
  .page-content {
    padding-block: 2.75rem;
  }

  .services-grid,
  .insurers-grid,
  .benefits-grid,
  .process-grid,
  .catalog-grid,
  .page-grid,
  .quote-fields {
    grid-template-columns: 1fr;
  }

  .insurer-logo {
    height: 84px;
  }

  .insurer-logo img {
    max-width: 110px;
    max-height: 44px;
    transform: scale(1.05);
  }

  .blog-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.85rem;
  }

  .service-content,
  .page-main,
  .side-card,
  .about-wrap,
  .legal-wrap,
  .quote-form,
  .quote-intro {
    padding: 1.1rem;
    border-radius: 16px;
  }

  .page-hero {
    padding: 2rem 0 1.5rem;
  }

  .page-hero h1,
  .services-header h2,
  .benefits-header h2,
  .process-header h2,
  .blog-header h2,
  .faq-intro h2,
  .quote-intro h2 {
    font-size: clamp(1.55rem, 7vw, 2rem);
  }

  .quote-actions,
  .hero-buttons,
  .final-cta-buttons {
    flex-direction: column;
  }

  .quote-actions .btn,
  .side-card .btn,
  .page-cta-row .btn {
    width: 100%;
    justify-content: center;
  }

  .quote-input input,
  .quote-input select,
  .quote-input textarea {
    font-size: 1rem;
  }

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

  .footer-brand {
    grid-column: auto;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1.15rem 0 1.5rem;
  }

  .footer-legal {
    flex-direction: column;
    gap: 0.45rem;
  }

  .article-cover {
    height: 180px;
  }

  .whatsapp-float {
    right: max(0.85rem, env(safe-area-inset-right));
    bottom: max(0.85rem, env(safe-area-inset-bottom));
  }

  .section-label--center {
    justify-content: flex-start;
  }
}

@media (max-width: 420px) {
  .hero h1 {
    font-size: 1.75rem;
  }

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

  .product-item {
    min-height: 48px;
  }

  .nav-container {
    width: 94%;
  }
}

/* Preferencias de movimiento reducido */
@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;
  }
}
