/* =========================================================
   Seguros Real | Sistema de Diseño
   Versión: 1.0 | 2026
========================================================= */

/* ─── GOOGLE FONTS ─────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Inter:wght@300;400;500;600&display=swap');

/* ─── CSS CUSTOM PROPERTIES ─────────────────────────────── */
:root {
  /* Colors — Brand */
  --navy-900: #080F19;
  --navy-800: #0D1B2A;
  --navy-700: #112236;
  --navy-600: #162840;
  --navy-500: #1E3A50;
  --navy-400: #2A4F6A;

  --gold-400: #E5C46A;
  --gold-500: #C9A84C;
  --gold-600: #A88A35;
  --gold-glow: rgba(201, 168, 76, 0.25);

  /* Colors — UI */
  --white: #FFFFFF;
  --off-white: #F8F9FC;
  --gray-50: #F1F5F9;
  --gray-100: #E2E8F0;
  --gray-200: #CBD5E1;
  --gray-400: #94A3B8;
  --gray-600: #4B5563;
  --gray-800: #1F2937;
  --text-primary: #1A2332;
  --text-secondary: #5B6E82;
  --text-muted: #8898AA;

  /* Typography */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;
  --space-3xl: 8rem;

  /* Layout */
  --container-max: 1240px;
  --container-pad: 1.5rem;

  /* Border Radius */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.10), 0 2px 6px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.14), 0 4px 12px rgba(0, 0, 0, 0.08);
  --shadow-xl: 0 24px 60px rgba(0, 0, 0, 0.18);
  --shadow-gold: 0 8px 32px rgba(201, 168, 76, 0.3);

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 280ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);

  /* Header height */
  --header-h: 76px;
}

/* ─── RESET & BASE ───────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-body);
  color: var(--text-primary);
  background-color: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

ul,
ol {
  list-style: none;
}

button {
  cursor: pointer;
  font-family: inherit;
  border: none;
  background: none;
}

input,
textarea,
select {
  font-family: inherit;
}

/* ─── LAYOUT UTILITIES ───────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

.section {
  padding: var(--space-2xl) 0;
}

.section--dark {
  background-color: var(--navy-800);
  color: var(--white);
}

.section--navy {
  background-color: var(--navy-900);
  color: var(--white);
}

.section--light {
  background-color: var(--off-white);
}

/* ─── TYPOGRAPHY ─────────────────────────────────────────── */
h1,
h2,
h3,
h4,
h5 {
  font-family: var(--font-heading);
  line-height: 1.2;
  font-weight: 700;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-500);
  margin-bottom: 0.75rem;
}

.section-label::before {
  content: '';
  display: block;
  width: 28px;
  height: 2px;
  background: var(--gold-500);
  border-radius: var(--radius-full);
}

.section-title {
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.section-title--white {
  color: var(--white);
}

.section-subtitle {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  max-width: 600px;
  line-height: 1.7;
}

.section-subtitle--white {
  color: rgba(255, 255, 255, 0.72);
}

.text-gold {
  color: var(--gold-500);
}

.text-center {
  text-align: center;
}

/* ─── BUTTONS ────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9375rem;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  transition: var(--transition-base);
  white-space: nowrap;
  border: 2px solid transparent;
  letter-spacing: 0.01em;
}

.btn-primary {
  background: var(--gold-500);
  color: var(--navy-800);
  border-color: var(--gold-500);
}

.btn-primary:hover {
  background: var(--gold-400);
  border-color: var(--gold-400);
  box-shadow: var(--shadow-gold);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.5);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--white);
  transform: translateY(-2px);
}

.btn-outline-gold {
  background: transparent;
  color: var(--gold-500);
  border-color: var(--gold-500);
}

.btn-outline-gold:hover {
  background: var(--gold-glow);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 1rem 2.25rem;
  font-size: 1rem;
}

.btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* ─── TOPBAR ─────────────────────────────────────────────── */
.topbar {
  background: var(--navy-900);
  padding: 0.5rem 0;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.65);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

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

.topbar__links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.topbar__links a {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  color: rgba(255, 255, 255, 0.65);
  transition: color var(--transition-fast);
}

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

.topbar__links svg {
  width: 14px;
  height: 14px;
  color: var(--gold-500);
}

.topbar__emergency {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.8rem;
  color: var(--gold-400);
  padding: 0.25rem 0.875rem;
  border: 1px solid rgba(201, 168, 76, 0.4);
  border-radius: var(--radius-full);
  transition: var(--transition-base);
}

.topbar__emergency:hover {
  background: var(--gold-glow);
  color: var(--gold-400);
}

.topbar__emergency svg {
  width: 13px;
  height: 13px;
}

/* ─── HEADER / NAV ───────────────────────────────────────── */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--navy-800);
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: box-shadow var(--transition-base), background var(--transition-base);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.header.scrolled {
  background: rgba(13, 27, 42, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  width: 100%;
}

.header__logo {
  flex-shrink: 0;
  text-decoration: none;
}

.logo-text {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--white);
  line-height: 1;
  display: flex;
  align-items: center;
  transition: transform var(--transition-fast);
}

.logo-text:hover {
  transform: scale(1.02);
}

.logo-text span {
  color: var(--gold-500);
  background: linear-gradient(135deg, var(--gold-400), var(--gold-600));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

.nav__link {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  padding: 0.5rem 0.875rem;
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
  white-space: nowrap;
}

.nav__link:hover,
.nav__link.active {
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.header__whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  color: #25D366;
  padding: 0.45rem 1rem;
  border: 1.5px solid rgba(37, 211, 102, 0.4);
  border-radius: var(--radius-full);
  transition: var(--transition-base);
}

.header__whatsapp svg {
  width: 16px;
  height: 16px;
}

.header__whatsapp:hover {
  background: rgba(37, 211, 102, 0.08);
  border-color: #25D366;
  transform: translateY(-1px);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
}

.hamburger:hover {
  background: rgba(255, 255, 255, 0.06);
}

.hamburger__bar {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--white);
  border-radius: var(--radius-full);
  transition: var(--transition-base);
  transform-origin: center;
}

.hamburger.open .hamburger__bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.open .hamburger__bar:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.hamburger.open .hamburger__bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Nav Drawer */
.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  width: min(340px, 88vw);
  height: 100vh;
  background: var(--navy-800);
  z-index: 1200;
  padding: 2rem;
  transform: translateX(100%);
  transition: transform var(--transition-slow);
  overflow-y: auto;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
}

.mobile-nav.open {
  transform: translateX(0);
}

.mobile-nav__close {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-bottom: 2rem;
}

.mobile-nav__close button {
  color: var(--white);
  padding: 0.5rem;
}

.mobile-nav__links {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.mobile-nav__link {
  font-family: var(--font-heading);
  font-size: 1.0625rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  padding: 0.875rem 1rem;
  border-radius: var(--radius-md);
  transition: var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.mobile-nav__link:hover,
.mobile-nav__link.active {
  background: rgba(255, 255, 255, 0.06);
  color: var(--gold-400);
}

.mobile-nav__divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
  margin: 1rem 0;
}

.mobile-nav__cta {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1100;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.overlay.visible {
  opacity: 1;
}

/* ─── HERO ───────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h) - 38px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: var(--navy-900);
}

.hero__parallax-container {
  position: absolute;
  top: -25%;
  bottom: -25%;
  left: 0;
  right: 0;
  z-index: 1;
  will-change: transform;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/slide_1.avif');
  background-size: cover;
  background-position: center center;
  transform: scale(1.1);
  transition: transform 8s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero__bg.loaded {
  transform: scale(1);
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg,
      rgba(8, 15, 25, 0.92) 0%,
      rgba(13, 27, 42, 0.82) 45%,
      rgba(13, 27, 42, 0.55) 100%);
  z-index: 2;
}

.hero__content {
  position: relative;
  z-index: 3;
  max-width: 680px;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-400);
  margin-bottom: 1.25rem;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.7s 0.2s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.hero__eyebrow::before {
  content: '';
  display: block;
  width: 36px;
  height: 2px;
  background: var(--gold-500);
  border-radius: var(--radius-full);
}

.hero__title {
  font-family: var(--font-heading);
  font-size: clamp(2.25rem, 5.5vw, 3.75rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 1.5rem;
  opacity: 0;
  transform: translateY(24px);
  animation: fadeUp 0.7s 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.hero__title .highlight {
  color: var(--gold-400);
  position: relative;
}

.hero__desc {
  font-size: 1.0625rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.75;
  margin-bottom: 2.25rem;
  max-width: 560px;
  opacity: 0;
  transform: translateY(24px);
  animation: fadeUp 0.7s 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(24px);
  animation: fadeUp 0.7s 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.hero__scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.45);
  font-family: var(--font-heading);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  z-index: 2;
  animation: bounce 2s infinite;
}

.hero__scroll svg {
  width: 20px;
  height: 20px;
}

/* ─── STATS STRIP ─────────────────────────────────────────── */
.stats {
  background: var(--gold-500);
  padding: 0;
}

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

.stats__item {
  padding: 2rem 1.5rem;
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, 0.2);
  transition: background var(--transition-fast);
}

.stats__item:last-child {
  border-right: none;
}

.stats__item:hover {
  background: rgba(0, 0, 0, 0.06);
}

.stats__number {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 800;
  color: var(--navy-800);
  line-height: 1;
  margin-bottom: 0.375rem;
}

.stats__label {
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 600;
  color: rgba(13, 27, 42, 0.72);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ─── ABOUT / NOSOTROS ───────────────────────────────────── */
.about {
  padding: var(--space-2xl) 0;
  background: var(--white);
}

.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about__img-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.about__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about__img-badge {
  position: absolute;
  bottom: 1.75rem;
  right: -1.5rem;
  background: var(--navy-800);
  color: var(--white);
  padding: 1.25rem 1.75rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  text-align: center;
}

.about__img-badge .badge-number {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--gold-400);
  line-height: 1;
}

.about__img-badge .badge-label {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 0.25rem;
}

.about__body {
  padding-right: 1rem;
}

.about__features {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 2rem;
}

.about__feature {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.about__feature-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: var(--gold-glow);
  border: 1.5px solid rgba(201, 168, 76, 0.3);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-500);
  margin-top: 2px;
}

.about__feature-icon svg {
  width: 18px;
  height: 18px;
}

.about__feature-text h4 {
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.2rem;
}

.about__feature-text p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* ─── SEGUROS / CARDS ─────────────────────────────────────── */
.seguros {
  padding: var(--space-2xl) 0;
  background: var(--off-white);
}

.seguros__header {
  text-align: center;
  margin-bottom: 3.5rem;
}

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

.seguros__header .section-label::before {
  display: none;
}

.seguros__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.seguro-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: var(--shadow-sm);
  border: 1.5px solid var(--gray-100);
  transition: var(--transition-base);
  position: relative;
  overflow: hidden;
  cursor: default;
}

.seguro-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-500), var(--gold-400));
  opacity: 0;
  transition: opacity var(--transition-base);
}

.seguro-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.seguro-card:hover::before {
  opacity: 1;
}

.seguro-card__icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--navy-800), var(--navy-600));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-400);
  margin-bottom: 1.5rem;
  transition: var(--transition-base);
  box-shadow: 0 4px 12px rgba(13, 27, 42, 0.2);
}

.seguro-card__icon svg {
  width: 26px;
  height: 26px;
}

.seguro-card:hover .seguro-card__icon {
  background: linear-gradient(135deg, var(--gold-500), var(--gold-400));
  color: var(--navy-800);
}

.seguro-card__title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.seguro-card__desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

.seguro-card__list {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.seguro-card__list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.seguro-card__list li::before {
  content: '';
  display: block;
  width: 6px;
  height: 6px;
  background: var(--gold-500);
  border-radius: 50%;
  flex-shrink: 0;
}

.seguro-card__footer {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--gray-100);
}

.seguro-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gold-600);
  transition: gap var(--transition-fast), color var(--transition-fast);
}

.seguro-card__link svg {
  width: 16px;
  height: 16px;
}

.seguro-card:hover .seguro-card__link {
  gap: 0.625rem;
  color: var(--gold-500);
}

/* ─── POR QUÉ SYL / SERVICES ─────────────────────────────── */
.services {
  padding: var(--space-2xl) 0;
  background: var(--navy-800);
  position: relative;
  overflow: hidden;
}

.services::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(201, 168, 76, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.services__header {
  text-align: center;
  margin-bottom: 3.5rem;
}

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

.services__header .section-label::before {
  display: none;
}

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

.service-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  text-align: center;
  transition: var(--transition-base);
  position: relative;
  overflow: hidden;
}

.service-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(201, 168, 76, 0.05), transparent);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.service-card:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(201, 168, 76, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.service-card:hover::after {
  opacity: 1;
}

.service-card__icon {
  width: 64px;
  height: 64px;
  background: var(--gold-glow);
  border: 1.5px solid rgba(201, 168, 76, 0.3);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-400);
  margin: 0 auto 1.5rem;
  transition: var(--transition-base);
}

.service-card__icon svg {
  width: 28px;
  height: 28px;
}

.service-card:hover .service-card__icon {
  background: var(--gold-500);
  color: var(--navy-800);
  border-color: var(--gold-500);
  box-shadow: var(--shadow-gold);
}

.service-card__title {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.875rem;
}

.service-card__desc {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.65;
}

/* ─── ASEGURADORAS ───────────────────────────────────────── */
.aseguradoras {
  padding: 3rem 0;
  background: var(--white);
  border-top: 1px solid var(--gray-100);
  border-bottom: 1px solid var(--gray-100);
}

.aseguradoras__label {
  text-align: center;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.aseguradoras__marquee {
  overflow: hidden;
  width: 100%;
  position: relative;
  padding: 1rem 0;
}

.aseguradoras__strip {
  display: flex;
  align-items: center;
  gap: 2rem;
  width: max-content;
  animation: marquee 40s linear infinite;
}

.aseguradoras__marquee:hover .aseguradoras__strip {
  animation-play-state: paused;
}

.aseguradoras__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding: 1.25rem 1.5rem;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-md);
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: all var(--transition-base);
  text-decoration: none;
  white-space: nowrap;
  min-width: 160px;
}

.aseguradoras__logo {
  height: 32px;
  width: auto;
  filter: grayscale(100%);
  opacity: 0.6;
  transition: all var(--transition-base);
}

.aseguradoras__item:hover .aseguradoras__logo,
.aseguradoras__item.active .aseguradoras__logo {
  filter: grayscale(0%);
  opacity: 1;
}

.aseguradoras__item:hover,
.aseguradoras__item.active {
  border-color: var(--gold-500);
  color: var(--navy-800);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* ─── SINIESTROS CTA ─────────────────────────────────────── */
.cta-siniestros {
  position: relative;
  padding: var(--space-2xl) 0;
  overflow: hidden;
  background-color: var(--navy-900);
}

.cta-siniestros__bg {
  position: absolute;
  top: -20%;
  left: 0;
  width: 100%;
  height: 140%;
  background-image: url('../images/img_siniestros.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.15;
  will-change: transform;
  transform: translate3d(0, 0, 0);
}

.cta-siniestros__inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
}

.cta-siniestros__body h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 0.875rem;
  line-height: 1.15;
}

.cta-siniestros__body p {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.7);
  max-width: 520px;
  line-height: 1.7;
}

.cta-siniestros__actions {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  flex-shrink: 0;
  min-width: 220px;
}

/* ─── CONTACTO ───────────────────────────────────────────── */
.contacto {
  padding: var(--space-2xl) 0;
  background: var(--off-white);
}

.contacto__header {
  margin-bottom: 3.5rem;
}

.contacto__grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4rem;
  align-items: start;
}

.contacto__info-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 2rem;
}

.contacto__items {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.contacto__item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contacto__item-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: var(--navy-800);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-400);
}

.contacto__item-icon svg {
  width: 20px;
  height: 20px;
}

.contacto__item-body label {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 0.2rem;
}

.contacto__item-body a,
.contacto__item-body span {
  font-size: 0.9375rem;
  color: var(--text-primary);
  font-weight: 500;
  transition: color var(--transition-fast);
}

.contacto__item-body a:hover {
  color: var(--gold-600);
}

.contacto__socials {
  display: flex;
  gap: 0.75rem;
}

.social-btn {
  width: 40px;
  height: 40px;
  background: var(--navy-800);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.7);
  transition: var(--transition-base);
}

.social-btn svg {
  width: 18px;
  height: 18px;
}

.social-btn:hover {
  background: var(--gold-500);
  color: var(--navy-800);
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}

/* Contact Form */
.form {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-100);
}

.form__title {
  font-family: var(--font-heading);
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1.75rem;
}

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

.form__group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.form__group:last-of-type {
  margin-bottom: 0;
}

.form__label {
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: 0.01em;
}

.form__input,
.form__textarea,
.form__select {
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-md);
  font-size: 0.9375rem;
  color: var(--text-primary);
  background: var(--white);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  outline: none;
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
}

.form__input:focus,
.form__textarea:focus,
.form__select:focus {
  border-color: var(--gold-500);
  box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.12);
}

.form__input::placeholder,
.form__textarea::placeholder {
  color: var(--gray-400);
}

.form__textarea {
  resize: vertical;
  min-height: 120px;
}

.form__submit {
  width: 100%;
  margin-top: 1.5rem;
  justify-content: center;
  padding: 0.875rem;
}

.form__note {
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.875rem;
}

/* ─── FOOTER ─────────────────────────────────────────────── */
.footer {
  background: var(--navy-900);
  padding: var(--space-2xl) 0 0;
  color: rgba(255, 255, 255, 0.65);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.4fr;
  gap: 3rem;
  padding-bottom: var(--space-xl);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer__brand .logo-text {
  font-size: 3rem;
  margin-bottom: 1.25rem;
}

.footer__tagline {
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  max-width: 280px;
}

.footer__heading {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-400);
  margin-bottom: 1.25rem;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.footer__links a {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  transition: color var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

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

.footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.footer__contact-item svg {
  width: 15px;
  height: 15px;
  color: var(--gold-500);
  flex-shrink: 0;
  margin-top: 3px;
}

.footer__contact-item span {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.5;
}

.footer__bottom {
  padding: 1.5rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.35);
}

.footer__cmf {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.35);
}

.footer__cmf svg {
  width: 14px;
  height: 14px;
  color: var(--gold-500);
}

/* ─── WHATSAPP FLOATING ──────────────────────────────────── */
.wa-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 900;
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5);
  transition: var(--transition-base);
  color: white;
}

.wa-float:hover {
  transform: scale(1.08) translateY(-3px);
  box-shadow: 0 8px 32px rgba(37, 211, 102, 0.6);
}

.wa-float svg {
  width: 30px;
  height: 30px;
}

.wa-float__pulse {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid #25D366;
  opacity: 0;
  animation: pulse 2.5s infinite;
}

/* ─── ANIMATIONS ─────────────────────────────────────────── */
@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes bounce {

  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }

  50% {
    transform: translateX(-50%) translateY(8px);
  }
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 0.6;
  }

  70% {
    transform: scale(1.4);
    opacity: 0;
  }

  100% {
    transform: scale(1.4);
    opacity: 0;
  }
}

/* Scroll-reveal classes */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.65s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.65s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.reveal-left {
  opacity: 0;
  transform: translateX(-32px);
  transition: opacity 0.65s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.65s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-left.revealed {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(32px);
  transition: opacity 0.65s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.65s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-right.revealed {
  opacity: 1;
  transform: translateX(0);
}

/* Staggered delay helpers */
.delay-1 {
  transition-delay: 0.1s;
}

.delay-2 {
  transition-delay: 0.2s;
}

.delay-3 {
  transition-delay: 0.3s;
}

.delay-4 {
  transition-delay: 0.4s;
}

.delay-5 {
  transition-delay: 0.5s;
}

/* ─── SINIESTROS PAGE ────────────────────────────────────── */
.page-hero {
  background: var(--navy-800);
  padding: 4rem 0 3.5rem;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../images/slide_1.avif') center/cover;
  opacity: 0.07;
}

.page-hero__content {
  position: relative;
  z-index: 2;
}

.page-hero__title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 0.875rem;
  margin-top: 0.75rem;
}

.page-hero__desc {
  font-size: 1.0625rem;
  color: rgba(255, 255, 255, 0.7);
  max-width: 580px;
  line-height: 1.7;
}

/* Steps */
.steps {
  padding: var(--space-2xl) 0;
  background: var(--off-white);
}

.steps__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.step-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1.5px solid var(--gray-100);
  position: relative;
  transition: var(--transition-base);
}

.step-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(201, 168, 76, 0.3);
}

.step-card__number {
  position: absolute;
  top: -1rem;
  left: 50%;
  transform: translateX(-50%);
  width: 32px;
  height: 32px;
  background: var(--gold-500);
  color: var(--navy-800);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.875rem;
}

.step-card__icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--navy-800), var(--navy-600));
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-400);
  margin: 1.5rem auto 1.25rem;
}

.step-card__icon svg {
  width: 28px;
  height: 28px;
}

.step-card__title {
  font-family: var(--font-heading);
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.625rem;
}

.step-card__desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Aseguradoras contacts */
.aseg-contacts {
  padding: var(--space-2xl) 0;
  background: var(--white);
}

.aseg-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 3rem;
}

.aseg-card {
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  border: 1.5px solid var(--gray-100);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-base);
}

.aseg-card:hover {
  border-color: rgba(201, 168, 76, 0.4);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.aseg-card__name {
  font-family: var(--font-heading);
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--navy-800);
  margin-bottom: 1rem;
  padding-bottom: 0.875rem;
  border-bottom: 2px solid var(--gold-500);
  display: inline-block;
}

.aseg-card__item {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  margin-bottom: 0.625rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.aseg-card__item svg {
  width: 14px;
  height: 14px;
  color: var(--gold-500);
  flex-shrink: 0;
  margin-top: 3px;
}

.aseg-card__item a {
  color: var(--navy-600);
  font-weight: 500;
  transition: color var(--transition-fast);
}

.aseg-card__item a:hover {
  color: var(--gold-600);
}

.aseg-card__badge {
  display: inline-block;
  margin-top: 0.875rem;
  padding: 0.25rem 0.75rem;
  background: var(--gold-glow);
  color: var(--gold-600);
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

/* ─── RESPONSIVE ─────────────────────────────────────────── */

/* Tablet */
@media (max-width: 1024px) {
  :root {
    --container-pad: 1.25rem;
  }

  .about__grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .about__img-badge {
    right: 1.5rem;
  }

  .about__body {
    padding-right: 0;
  }

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

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

  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .footer__brand {
    grid-column: 1 / -1;
  }

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

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

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

  .stats__item:nth-child(2) {
    border-right: none;
  }

  .stats__item:nth-child(3) {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
  }
}

/* Mobile Nav */
@media (max-width: 900px) {
  .hamburger {
    display: flex;
  }

  .nav {
    display: none;
  }

  .header__whatsapp {
    display: none;
  }

  .mobile-nav {
    display: block;
  }

  .logo-text,
  .footer__brand .logo-text {
    font-size: 1.5rem;
  }
}

/* Mobile */
@media (max-width: 768px) {
  :root {
    --space-2xl: 4rem;
    --space-xl: 3rem;
  }

  .topbar__links {
    gap: 0.75rem;
  }

  .topbar__emergency {
    display: none;
  }

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

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

  .cta-siniestros__inner {
    flex-direction: column;
    text-align: center;
  }

  .cta-siniestros__actions {
    width: 100%;
  }

  .cta-siniestros__actions .btn {
    justify-content: center;
  }

  .contacto__grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

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

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

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

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

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

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

  .aseguradoras__strip {
    gap: 1.5rem;
  }

  .aseguradoras__item {
    padding: 1rem;
    font-size: 0.75rem;
    min-width: 130px;
    border-color: var(--gold-500);
    color: var(--navy-800);
  }

  .aseguradoras__logo {
    height: 24px;
    filter: grayscale(0%);
    opacity: 1;
  }

  .wa-float {
    bottom: 1.25rem;
    right: 1.25rem;
  }
}

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

  .footer__bottom {
    flex-direction: column;
    text-align: center;
  }

  .topbar__inner {
    justify-content: center;
  }

  .topbar__links a:not(:first-child) {
    display: none;
  }
}