/* ===========================================
   DESIGN TOKENS
=========================================== */
:root {
  /* Marca */
  --navy: #002c5f;
  --navy-deep: #001834;
  --green: #1f9d55;
  --green-dark: #167a41;
  --green-soft: #e9f7ef;

  /* Neutros */
  --ink: #0f1b2d;
  --ink-soft: #55627a;
  --line: #e7ebf2;
  --line-strong: #d5dbe6;
  --bg: #ffffff;
  --bg-soft: #f5f7fb;
  --bg-softer: #eef2f8;
  --white: #ffffff;

  /* Tipografía */
  --font-body: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --font-display: "Plus Jakarta Sans", "Montserrat", sans-serif;

  /* Radios */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 22px;
  --r-xl: 28px;
  --r-pill: 999px;

  /* Sombras */
  --sh-xs: 0 1px 2px rgba(15, 27, 45, 0.06);
  --sh-sm: 0 4px 14px rgba(15, 27, 45, 0.08);
  --sh-md: 0 12px 30px rgba(15, 27, 45, 0.10);
  --sh-lg: 0 22px 50px rgba(15, 27, 45, 0.14);
  --sh-green: 0 14px 30px rgba(31, 157, 85, 0.28);

  /* Transiciones */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --t-fast: 160ms var(--ease);
  --t: 240ms var(--ease);

  /* Layout */
  --container: 1240px;
  --header-h: 76px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 20px);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  line-height: 1.65;
  color: var(--ink);
  background-color: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.15;
  letter-spacing: -0.01em;
}

p { color: var(--ink-soft); }

a { color: inherit; text-decoration: none; transition: color var(--t-fast); }

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

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

ul { list-style: none; }

:focus-visible {
  outline: 3px solid rgba(0, 44, 95, 0.45);
  outline-offset: 2px;
  border-radius: 4px;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: clamp(64px, 9vw, 112px) 0; }

.text-accent { color: var(--green); }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--navy);
  color: #fff;
  padding: 12px 20px;
  z-index: 2000;
  border-radius: 0 0 var(--r-sm) 0;
}
.skip-link:focus { left: 0; }

/* ===========================================
   BOTONES
=========================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.98rem;
  padding: 14px 28px;
  border-radius: var(--r-pill);
  transition: transform var(--t-fast), box-shadow var(--t-fast),
    background-color var(--t-fast), color var(--t-fast), border-color var(--t-fast);
  white-space: nowrap;
  line-height: 1;
}
.btn i { font-size: 0.9em; }
.btn--sm { padding: 11px 20px; font-size: 0.9rem; }
.btn--lg { padding: 17px 34px; font-size: 1.05rem; }
.btn--block { width: 100%; }

.btn--primary {
  background: var(--green);
  color: #fff;
  box-shadow: var(--sh-green);
}
.btn--primary:hover {
  background: var(--green-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(31, 157, 85, 0.34);
}

.btn--soft {
  background: var(--bg-softer);
  color: var(--navy);
}
.btn--soft:hover { background: #e2e9f3; color: var(--navy); }

.btn--outline {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--line-strong);
}
.btn--outline:hover {
  border-color: var(--navy);
  background: var(--navy);
  color: #fff;
  transform: translateY(-2px);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(6px);
}
.btn--ghost:hover { background: #fff; color: var(--navy); transform: translateY(-2px); }

.icon-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-soft);
  transition: color var(--t-fast), background var(--t-fast);
}
.icon-btn:hover { color: var(--navy); background: var(--bg-soft); }

/* ===========================================
   TOP BAR
=========================================== */
.topbar {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.82rem;
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 40px;
}
.topbar__item i { color: var(--green); margin-right: 6px; }
.topbar__links { display: flex; align-items: center; gap: 16px; }
.topbar__links a { color: rgba(255, 255, 255, 0.85); }
.topbar__links a:hover { color: #fff; }
.topbar__sep { width: 1px; height: 16px; background: rgba(255, 255, 255, 0.2); }
.topbar__social { display: flex; gap: 12px; }
.topbar__social a { font-size: 0.9rem; }

/* ===========================================
   HEADER
=========================================== */
.main-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow var(--t), background var(--t);
}
.main-nav.is-scrolled { box-shadow: var(--sh-sm); background: rgba(255, 255, 255, 0.96); }

.main-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 24px;
}
.logo-hyundai { display: flex; align-items: center; flex-shrink: 0; }
.logo-depetris { max-height: 40px; width: auto; }

.nav-menu { display: flex; gap: 6px; align-items: center; }
.nav-menu a {
  position: relative;
  color: var(--ink);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 10px 14px;
  border-radius: var(--r-sm);
  transition: color var(--t-fast), background var(--t-fast);
}
.nav-menu a::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 4px;
  height: 2px;
  background: var(--green);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t);
}
.nav-menu a:hover { color: var(--navy); }
.nav-menu a:hover::after,
.nav-menu a.active::after { transform: scaleX(1); }
.nav-menu a.active { color: var(--navy); }

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

/* Offers bar */
.offers-bar {
  background: linear-gradient(90deg, var(--navy), var(--green));
  color: #fff;
  text-align: center;
  padding: 11px 16px;
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.offers-bar i { margin-right: 8px; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  border-radius: var(--r-sm);
}
.hamburger span {
  width: 24px;
  height: 2.5px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform var(--t), opacity var(--t-fast);
}
.hamburger.active span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ===========================================
   MOBILE MENU
=========================================== */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: #fff;
  z-index: 1000;
  padding: 24px;
  transform: translateX(100%);
  transition: transform var(--t);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}
.mobile-menu.active { transform: translateX(0); }
.mobile-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 20px;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.mobile-nav-menu { display: flex; flex-direction: column; }
.mobile-nav-menu li { border-bottom: 1px solid var(--line); }
.mobile-nav-menu a {
  display: block;
  padding: 16px 4px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--ink);
}
.mobile-nav-menu a:hover { color: var(--green); }
.mobile-cta { margin: 24px 0; }
.mobile-social { text-align: center; margin-top: auto; padding-top: 24px; }
.mobile-social h4 { margin-bottom: 14px; color: var(--ink-soft); font-size: 0.9rem; }
.mobile-social-links { display: flex; justify-content: center; gap: 14px; }
.mobile-social-links a:not([hidden]) {
  width: 46px; height: 46px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg-soft); color: var(--navy); font-size: 1.1rem;
  transition: background var(--t-fast), color var(--t-fast);
}
.mobile-social-links a:hover { background: var(--navy); color: #fff; }

/* ===========================================
   HERO
=========================================== */
.hero {
  position: relative;
  min-height: min(78vh, 680px);
  display: flex;
  align-items: center;
  background: #0a1a30 url("../img/hyundai-hero-bg.jpg") center / cover no-repeat;
  overflow: hidden;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    rgba(0, 24, 52, 0.92) 0%,
    rgba(0, 44, 95, 0.72) 45%,
    rgba(0, 44, 95, 0.25) 100%
  );
}
.hero__inner { position: relative; z-index: 1; padding: 80px 0; }
.hero__content { max-width: 640px; }
.hero__eyebrow {
  display: inline-block;
  color: #fff;
  background: rgba(31, 157, 85, 0.9);
  padding: 8px 18px;
  border-radius: var(--r-pill);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 22px;
}
.hero__title {
  font-size: clamp(2.3rem, 5.4vw, 3.9rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 18px;
}
.hero__subtitle {
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 34px;
  max-width: 540px;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 40px; }
.hero__meta { display: flex; gap: 40px; flex-wrap: wrap; }
.hero__meta-item { display: flex; flex-direction: column; }
.hero__meta-item strong {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: #fff;
  font-weight: 700;
}
.hero__meta-item span { color: rgba(255, 255, 255, 0.7); font-size: 0.85rem; }

/* ===========================================
   STATS
=========================================== */
.stats { background: var(--navy); }
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding-top: 44px;
  padding-bottom: 44px;
}
.stat {
  text-align: center;
  color: #fff;
  padding: 8px;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}
.stat:last-child { border-right: none; }
.stat__icon { font-size: 1.6rem; color: var(--green); margin-bottom: 10px; }
.stat__num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  line-height: 1;
}
.stat__label { color: rgba(255, 255, 255, 0.75); font-size: 0.88rem; }

/* ===========================================
   SECTION HEADINGS
=========================================== */
.section-head { text-align: center; max-width: 680px; margin: 0 auto clamp(40px, 6vw, 60px); }
.section-eyebrow {
  display: inline-block;
  color: var(--green-dark);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.section-title {
  font-size: clamp(1.9rem, 3.6vw, 2.7rem);
  font-weight: 800;
  color: var(--navy);
}
.section-title--left { text-align: left; }
.section-lead { margin-top: 16px; font-size: 1.08rem; }

/* ===========================================
   FILTROS
=========================================== */
.filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 44px;
}
.filters:empty, .catalog-status:empty { display: none; }
.catalog-status { text-align: center; }
.filter-chip {
  padding: 10px 22px;
  border-radius: var(--r-pill);
  background: var(--bg-soft);
  color: var(--ink-soft);
  font-weight: 600;
  font-size: 0.92rem;
  border: 1.5px solid transparent;
  transition: all var(--t-fast);
}
.filter-chip:hover { color: var(--navy); border-color: var(--line-strong); }
.filter-chip.is-active {
  background: var(--navy);
  color: #fff;
  box-shadow: var(--sh-sm);
}

/* ===========================================
   VEHICLE CARDS
=========================================== */
.vehicles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr));
  gap: 28px;
}
.vehicle-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--sh-xs);
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.vehicle-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--sh-lg);
  border-color: transparent;
}
.vehicle-card.is-hidden { display: none; }
.vehicle-card.is-search-match { box-shadow: 0 0 0 3px var(--green); }

.vehicle-card__badges {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: flex-start;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 12px;
  border-radius: var(--r-pill);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
}
.badge--new { background: var(--navy); }
.badge--eco { background: var(--green); }

.vehicle-media {
  position: relative;
  aspect-ratio: 16 / 10;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px;
  background: radial-gradient(120% 120% at 50% 25%, #ffffff 0%, #eef2f8 100%);
  overflow: hidden;
}
.vehicle-media::before {
  content: "\f1b9";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  font-size: 4rem;
  color: rgba(0, 44, 95, 0.08);
  z-index: 0;
}
.vehicle-photo {
  position: relative;
  z-index: 1;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  object-fit: contain;
  transition: transform var(--t);
}
.vehicle-card:hover .vehicle-photo { transform: scale(1.04); }

.vehicle-info {
  padding: 22px 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.vehicle-tag {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green-dark);
}
.vehicle-name { font-size: 1.2rem; font-weight: 700; color: var(--navy); }
.vehicle-price { font-size: 1.15rem; font-weight: 700; color: var(--ink); margin-bottom: 6px; }
.vehicle-price span {
  display: block;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--ink-soft);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.vehicle-actions { margin-top: auto; display: flex; flex-direction: column; gap: 8px; }

.section-cta { text-align: center; margin-top: 52px; }

/* ===========================================
   EMPRESA
=========================================== */
.empresa { background: var(--bg-soft); }
.empresa__grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
  align-items: center;
}
.empresa__card {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: #fff;
  border-radius: var(--r-xl);
  padding: 40px;
  box-shadow: var(--sh-lg);
}
.empresa__badge {
  display: inline-block;
  background: rgba(31, 157, 85, 0.9);
  color: #fff;
  padding: 6px 14px;
  border-radius: var(--r-pill);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 18px;
}
.empresa__card h3 { color: #fff; font-size: 2rem; margin-bottom: 12px; }
.empresa__card > p { color: rgba(255, 255, 255, 0.85); margin-bottom: 24px; }
.empresa__list { display: flex; flex-direction: column; gap: 12px; }
.empresa__list li { display: flex; align-items: flex-start; gap: 10px; color: rgba(255, 255, 255, 0.92); font-size: 0.95rem; }
.empresa__list i { color: var(--green); margin-top: 4px; }
.empresa__body .section-title { margin-bottom: 20px; }
.empresa__body p { margin-bottom: 16px; font-size: 1.02rem; }

/* ===========================================
   FEATURES
=========================================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 24px;
}
.feature-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 32px 28px;
  box-shadow: var(--sh-xs);
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--sh-md);
  border-color: transparent;
}
.feature-card__icon {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #fff;
  background: linear-gradient(135deg, var(--navy), var(--green));
  box-shadow: var(--sh-sm);
  margin-bottom: 20px;
}
.feature-card h3 { font-size: 1.2rem; color: var(--navy); margin-bottom: 10px; }
.feature-card p { font-size: 0.97rem; }

/* ===========================================
   SERVICIO TÉCNICO
=========================================== */
.servicio {
  position: relative;
  padding: clamp(70px, 9vw, 110px) 0;
  background: #0a1a30 url("../img/Desabolladura-1024x549-1.jpg") center / cover no-repeat fixed;
  color: #fff;
}
.servicio__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(0, 24, 52, 0.94) 0%, rgba(0, 44, 95, 0.86) 100%);
}
.servicio__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 44px;
  align-items: center;
}
.servicio__main .section-eyebrow { color: #7fe3ac; }
.servicio__main h2 { color: #fff; font-size: clamp(1.7rem, 3.4vw, 2.4rem); margin-bottom: 18px; }
.servicio__intro { color: rgba(255, 255, 255, 0.9); font-size: 1.05rem; margin-bottom: 30px; max-width: 640px; }
.servicio__items { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.servicio-item h3 { color: #fff; font-size: 1.15rem; margin-bottom: 8px; display: flex; align-items: center; gap: 10px; }
.servicio-item h3 i { color: var(--green); }
.servicio-item p { color: rgba(255, 255, 255, 0.78); font-size: 0.95rem; }

.servicio__cta {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--r-xl);
  padding: 40px 34px;
  text-align: center;
  backdrop-filter: blur(8px);
}
.servicio__cta h3 { color: #fff; font-size: 1.7rem; margin-bottom: 12px; }
.servicio__cta > p { color: rgba(255, 255, 255, 0.85); margin-bottom: 24px; }
.servicio__note { display: block; margin-top: 16px; color: rgba(255, 255, 255, 0.65); font-size: 0.85rem; }

/* ===========================================
   CONTACTO
=========================================== */
.contact { background: var(--bg-soft); }
.contact__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 32px;
  align-items: stretch;
}
.contact-form {
  background: #fff;
  padding: 40px 36px;
  border-radius: var(--r-xl);
  border: 1px solid var(--line);
  box-shadow: var(--sh-sm);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 8px;
  font-size: 0.85rem;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid var(--line-strong);
  border-radius: var(--r-sm);
  font-size: 0.98rem;
  font-family: inherit;
  color: var(--ink);
  background: #fff;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: #9aa5b8; }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 4px rgba(0, 44, 95, 0.12);
}
.form-group input:user-invalid,
.form-group select:user-invalid,
.form-group textarea:user-invalid {
  border-color: #e04b4b;
  box-shadow: 0 0 0 4px rgba(224, 75, 75, 0.12);
}
.form-group textarea { min-height: 130px; resize: vertical; }
.form-hint { text-align: center; margin-top: 14px; font-size: 0.82rem; color: var(--ink-soft); }

.contact-info { display: flex; flex-direction: column; gap: 14px; }
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: #fff;
  padding: 18px 20px;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  box-shadow: var(--sh-xs);
  transition: transform var(--t-fast), box-shadow var(--t-fast);
}
.contact-item:hover { transform: translateY(-2px); box-shadow: var(--sh-sm); }
.contact-item__icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--green-soft);
  color: var(--green-dark);
  font-size: 1.1rem;
}
.contact-item h4 { font-size: 0.98rem; color: var(--navy); margin-bottom: 3px; }
.contact-item p { font-size: 0.92rem; margin: 0; }
.contact-map {
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--sh-xs);
  flex: 1 0 220px;
  margin-top: 4px;
}
.contact-map iframe { width: 100%; height: 100%; display: block; filter: grayscale(0.15); }

/* ===========================================
   FOOTER
=========================================== */
.footer { background: var(--navy-deep); color: rgba(255, 255, 255, 0.75); }
.footer__main {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 44px;
  padding-top: 64px;
  padding-bottom: 48px;
}
.footer__logo {
  height: 44px;
  width: auto;
  margin-bottom: 18px;
  filter: brightness(0) invert(1);
}
.footer__brand h4 { color: #fff; font-size: 1rem; margin-bottom: 8px; }
.footer__brand p { color: rgba(255, 255, 255, 0.7); font-size: 0.95rem; max-width: 340px; margin-bottom: 22px; }
.footer__social { display: flex; gap: 12px; }
.footer__social a:not([hidden]) {
  width: 42px; height: 42px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255, 255, 255, 0.08); color: #fff; font-size: 1rem;
  transition: background var(--t-fast), transform var(--t-fast);
}
.footer__social a:hover { background: var(--green); transform: translateY(-3px); }
.footer__col h4 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 18px;
  font-weight: 600;
}
.footer__col li { margin-bottom: 11px; }
.footer__col a, .footer__col li { color: rgba(255, 255, 255, 0.7); font-size: 0.93rem; }
.footer__col a:hover { color: var(--green); }
.footer__col i { color: var(--green); margin-right: 7px; width: 14px; }

.footer__bottom { border-top: 1px solid rgba(255, 255, 255, 0.1); padding: 22px 0; }
.footer__bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.footer__legal:not([hidden]) { display: flex; gap: 26px; }
.footer__legal a { color: rgba(255, 255, 255, 0.65); font-size: 0.85rem; }
.footer__legal a:hover { color: #fff; }
.footer__copy { color: rgba(255, 255, 255, 0.55); font-size: 0.85rem; margin: 0; }

/* ===========================================
   WHATSAPP
=========================================== */
.whatsapp-chat {
  position: fixed;
  bottom: 22px;
  right: 22px;
  z-index: 900;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #25d366;
  color: #fff;
  padding: 14px 22px;
  border-radius: var(--r-pill);
  font-family: var(--font-display);
  font-weight: 600;
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.45);
  transition: transform var(--t-fast), box-shadow var(--t-fast);
}
.whatsapp-chat[hidden] { display: none; }

.whatsapp-chat:hover { transform: translateY(-3px) scale(1.03); box-shadow: 0 14px 34px rgba(37, 211, 102, 0.55); }
.whatsapp-chat i { font-size: 1.5rem; }

/* ===========================================
   REVEAL ANIMATION
=========================================== */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.js [data-reveal].is-visible { opacity: 1; transform: none; }

/* ===========================================
   RESPONSIVE
=========================================== */
@media (max-width: 1024px) {
  .stats__grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .stat:nth-child(2) { border-right: none; }
  .empresa__grid { grid-template-columns: 1fr; gap: 36px; }
  .contact__grid { grid-template-columns: 1fr; }
  .footer__main { grid-template-columns: 1fr 1fr; gap: 36px; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 860px) {
  .topbar { display: none; }
  .nav-menu-wrap { display: none; }
  .nav-cta { display: none; }
  .hamburger { display: flex; }
  .search-icon { display: none; }
  .servicio__grid { grid-template-columns: 1fr; gap: 34px; }
}

@media (max-width: 620px) {
  .stats__grid { grid-template-columns: 1fr; gap: 26px; }
  .stat { border-right: none; border-bottom: 1px solid rgba(255, 255, 255, 0.12); padding-bottom: 22px; }
  .stat:last-child { border-bottom: none; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .servicio__items { grid-template-columns: 1fr; gap: 20px; }
  .servicio__cta { padding: 32px 20px; }
  .servicio__cta .btn { padding-inline: 16px; white-space: normal; line-height: 1.25; }

  .hero__meta { gap: 24px; }
  .footer__main { grid-template-columns: 1fr; }
  .footer__bottom-inner { flex-direction: column; text-align: center; }
  .footer__legal { justify-content: center; }
  .contact-form { padding: 28px 22px; }
  .whatsapp-chat span { display: none; }
  .whatsapp-chat { padding: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
}
