/* ============================================================
   INTER GLASS AUTOMOTRIZ — Sistema de diseño v2
   Estética: precisión / cristal premium automotriz
   ============================================================ */

:root {
  /* Color */
  --ink: #0a1018;
  --ink-2: #101a26;
  --ink-3: #16222f;
  --paper: #f5f7f9;
  --white: #ffffff;
  --line: #e3e9ee;
  --line-dark: rgba(255, 255, 255, 0.08);
  --muted: #5c6b78;
  --muted-dark: #91a3b4;
  --accent: #0e9fd8;
  --accent-deep: #0679ad;
  --accent-ice: #7dd3fc;
  --whatsapp: #25d366;

  /* Tipografía */
  --font-display: "Archivo", "Helvetica Neue", sans-serif;
  --font-body: "Instrument Sans", "Helvetica Neue", sans-serif;

  /* Movimiento (curvas estilo Apple) */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
  --dur: 0.9s;

  /* Ritmo */
  --section-pad: clamp(72px, 10vw, 140px);
  --container: 1200px;
  --radius: 18px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }

::selection { background: var(--accent); color: #fff; }

/* ---------- Tipografía ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-stretch: 112%;
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-weight: 700;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-stretch: 120%;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--accent);
}
.section-title {
  font-size: clamp(30px, 4.6vw, 52px);
  margin: 16px 0 18px;
}
.section-lead {
  font-size: clamp(16px, 1.6vw, 19px);
  color: var(--muted);
  max-width: 620px;
}
.on-dark .section-lead { color: var(--muted-dark); }

/* ---------- Layout ---------- */
.container {
  width: min(var(--container), calc(100% - 48px));
  margin-inline: auto;
}
section { padding-block: var(--section-pad); }
.on-dark { background: var(--ink); color: #fff; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-stretch: 110%;
  font-weight: 600;
  font-size: 15.5px;
  letter-spacing: 0.01em;
  padding: 15px 30px;
  border-radius: 100px;
  transition: transform 0.45s var(--ease-out), box-shadow 0.45s var(--ease-out), background 0.3s;
  will-change: transform;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(0.98); }
.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 10px 30px -10px rgba(14, 159, 216, 0.55);
}
.btn-primary:hover { background: var(--accent-deep); box-shadow: 0 16px 40px -12px rgba(14, 159, 216, 0.65); }
.btn-whatsapp {
  background: var(--whatsapp);
  color: #fff;
  box-shadow: 0 10px 30px -10px rgba(37, 211, 102, 0.5);
}
.btn-whatsapp:hover { background: #1fb958; }
.btn-ghost {
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  color: #fff;
  backdrop-filter: blur(8px);
}
.btn-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, 0.08); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--ink-3); }
.btn svg { width: 18px; height: 18px; flex: none; }

/* ---------- Navegación ---------- */
.site-nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background 0.5s var(--ease-smooth), box-shadow 0.5s, border-color 0.5s;
  border-bottom: 1px solid transparent;
}
.site-nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.site-nav.is-solid,
.site-nav.is-open {
  background: rgba(10, 16, 24, 0.72);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom-color: rgba(255, 255, 255, 0.08);
}
.nav-logo img { height: 44px; width: auto; transition: transform 0.4s var(--ease-out); }
.nav-logo:hover img { transform: scale(1.04); }
.nav-links {
  display: flex;
  gap: 34px;
  align-items: center;
}
.nav-links a {
  position: relative;
  font-family: var(--font-display);
  font-stretch: 108%;
  font-size: 15px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.82);
  padding: 6px 0;
  transition: color 0.3s;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--accent-ice);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.45s var(--ease-out);
}
.nav-links a:hover, .nav-links a.current { color: #fff; }
.nav-links a:hover::after, .nav-links a.current::after { transform: scaleX(1); transform-origin: left; }
.nav-cta { margin-left: 10px; }
.nav-cta .btn { padding: 11px 22px; font-size: 14px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 10px;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.4s var(--ease-out), opacity 0.3s;
}
.is-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.is-open .nav-toggle span:nth-child(2) { opacity: 0; }
.is-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Héroe ---------- */
.hero {
  position: relative;
  min-height: min(100svh, 1000px);
  display: flex;
  align-items: flex-end;
  padding: 0 0 clamp(64px, 10vh, 110px);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.hero-media, .hero-media picture { position: absolute; inset: 0; z-index: -2; }
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: kenburns 18s var(--ease-smooth) both;
}
@keyframes kenburns {
  from { transform: scale(1.12) translateY(-1.5%); }
  to { transform: scale(1) translateY(0); }
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(to top, rgba(10, 16, 24, 0.94) 0%, rgba(10, 16, 24, 0.45) 45%, rgba(10, 16, 24, 0.55) 100%);
}
.hero-inner { max-width: 860px; }
.hero .eyebrow { color: var(--accent-ice); }
.hero .eyebrow::before { background: var(--accent-ice); }
.hero h1 {
  font-size: clamp(40px, 7vw, 88px);
  font-weight: 750;
  margin: 20px 0 22px;
  text-wrap: balance;
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(100deg, var(--accent-ice), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero p {
  font-size: clamp(17px, 2vw, 21px);
  color: rgba(255, 255, 255, 0.85);
  max-width: 560px;
  margin-bottom: 36px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero-phone {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 17px;
  color: #fff;
  opacity: 0.9;
}
.hero-phone:hover { opacity: 1; }

/* Entrada escalonada del héroe */
.hero [data-stagger] {
  opacity: 0;
  transform: translateY(34px);
  animation: rise 1.1s var(--ease-out) forwards;
  animation-delay: calc(var(--i, 0) * 0.12s + 0.2s);
}
@keyframes rise {
  to { opacity: 1; transform: none; }
}

.hero-scroll {
  position: absolute;
  bottom: 28px;
  right: 40px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  writing-mode: vertical-rl;
  animation: rise 1.1s var(--ease-out) 1.1s both;
}
.hero-scroll::after {
  content: "";
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.7), transparent);
  animation: drip 2.2s var(--ease-smooth) infinite;
}
@keyframes drip {
  0% { transform: scaleY(0); transform-origin: top; }
  45% { transform: scaleY(1); transform-origin: top; }
  55% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* Franja de confianza bajo el héroe */
.trust-strip { background: var(--ink); color: #fff; padding-block: 0; }
.trust-strip .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-inline: 1px solid var(--line-dark);
}
.trust-item {
  padding: 34px 28px;
  border-right: 1px solid var(--line-dark);
}
.trust-item:first-child { border-left: 1px solid var(--line-dark); }
.trust-item strong {
  display: block;
  font-family: var(--font-display);
  font-stretch: 115%;
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 750;
  color: var(--accent-ice);
}
.trust-item span { font-size: 14px; color: var(--muted-dark); }

/* ---------- Revelado al hacer scroll (estilo Apple) ---------- */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition:
    opacity var(--dur) var(--ease-out),
    transform var(--dur) var(--ease-out);
  transition-delay: calc(var(--d, 0) * 90ms);
  will-change: opacity, transform;
}
.reveal.in-view { opacity: 1; transform: none; }

.reveal-scale {
  opacity: 0;
  transform: scale(0.94) translateY(20px);
  transition: opacity 1.1s var(--ease-out), transform 1.1s var(--ease-out);
  transition-delay: calc(var(--d, 0) * 90ms);
}
.reveal-scale.in-view { opacity: 1; transform: none; }

/* ---------- Sección Quiénes somos ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: center;
}
.about-copy p { color: var(--muted); margin-bottom: 18px; }
.about-quote {
  margin-top: 28px;
  padding-left: 22px;
  border-left: 3px solid var(--accent);
  font-family: var(--font-display);
  font-stretch: 108%;
  font-size: 19px;
  font-weight: 600;
  color: var(--ink);
}
.about-media {
  position: relative;
}
.about-media img {
  border-radius: var(--radius);
  box-shadow: 0 40px 80px -30px rgba(10, 16, 24, 0.35);
}
.about-media .badge-exp {
  position: absolute;
  left: -26px;
  bottom: -26px;
  background: var(--ink);
  color: #fff;
  border-radius: 16px;
  padding: 22px 26px;
  box-shadow: 0 24px 50px -20px rgba(10, 16, 24, 0.5);
}
.badge-exp strong {
  display: block;
  font-family: var(--font-display);
  font-stretch: 118%;
  font-size: 34px;
  font-weight: 750;
  color: var(--accent-ice);
  line-height: 1;
}
.badge-exp span { font-size: 13px; color: var(--muted-dark); }

/* ---------- Pilares (misión / visión / valores) ---------- */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.pillar {
  position: relative;
  background: var(--ink-2);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  padding: 36px 30px;
  overflow: hidden;
  transition: transform 0.6s var(--ease-out), border-color 0.4s;
}
.pillar:hover { transform: translateY(-6px); border-color: rgba(125, 211, 252, 0.35); }
.pillar::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(14, 159, 216, 0.14), transparent 60%);
  opacity: 0;
  transition: opacity 0.5s;
}
.pillar:hover::before { opacity: 1; }
.pillar-num {
  font-family: var(--font-display);
  font-stretch: 120%;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--accent-ice);
}
.pillar h3 { font-size: 23px; margin: 14px 0 10px; color: #fff; }
.pillar p { font-size: 15.5px; color: var(--muted-dark); position: relative; }

/* ---------- Servicios ---------- */
.services-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: clamp(36px, 5vw, 60px);
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.service-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: var(--ink-2);
  isolation: isolate;
  display: flex;
  align-items: flex-end;
}
.service-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  transition: transform 1s var(--ease-out), filter 0.6s;
}
.service-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to top, rgba(10, 16, 24, 0.92) 12%, rgba(10, 16, 24, 0.1) 55%, transparent);
  transition: background 0.5s;
}
.service-card:hover img { transform: scale(1.07); }
.service-body { padding: 26px 24px; color: #fff; width: 100%; }
.service-body h3 { font-size: 19px; margin-bottom: 8px; }
.service-body p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.78);
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.6s var(--ease-out), opacity 0.5s 0.05s;
}
.service-card:hover .service-body p { max-height: 140px; opacity: 1; }
.service-card .link-arrow { color: var(--accent-ice); margin-top: 12px; font-size: 14px; }
.service-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-ice);
  margin-bottom: 10px;
}

/* Página de servicios: tarjetas horizontales */
.service-rows { display: grid; gap: 22px; }
.service-row {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.6s var(--ease-out), box-shadow 0.6s var(--ease-out);
}
.service-row:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 60px -30px rgba(10, 16, 24, 0.25);
}
.service-row .media { overflow: hidden; }
.service-row .media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease-out);
}
.service-row:hover .media img { transform: scale(1.06); }
.service-row .body { padding: clamp(26px, 3.5vw, 44px); align-self: center; }
.service-row .body h3 { font-size: clamp(21px, 2.4vw, 27px); margin-bottom: 12px; }
.service-row .body p { color: var(--muted); margin-bottom: 18px; }
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  color: var(--accent-deep);
}
.link-arrow svg { width: 16px; height: 16px; transition: transform 0.4s var(--ease-out); }
.link-arrow:hover svg { transform: translateX(5px); }

/* ---------- Marcas (marquee) ---------- */
.brands { padding-block: clamp(48px, 6vw, 80px); border-top: 1px solid var(--line); }
.brands-track {
  display: flex;
  gap: clamp(40px, 6vw, 90px);
  width: max-content;
  animation: marquee 36s linear infinite;
}
.brands:hover .brands-track { animation-play-state: paused; }
.brands-viewport {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}
.brands-track img {
  /* Grandes en escritorio, sutiles en móvil */
  height: clamp(40px, 7vw, 92px);
  width: auto;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.65;
  transition: filter 0.4s, opacity 0.4s, transform 0.4s var(--ease-out);
}
.brands-track img:hover { filter: none; opacity: 1; transform: scale(1.08); }
@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* ---------- CTA banda ---------- */
.cta-band {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: #fff;
  text-align: center;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: -40%;
  background:
    radial-gradient(600px circle at 20% 30%, rgba(14, 159, 216, 0.22), transparent 55%),
    radial-gradient(700px circle at 80% 70%, rgba(125, 211, 252, 0.12), transparent 55%);
}
.cta-band .container { position: relative; }
.cta-band h2 { font-size: clamp(30px, 4.4vw, 54px); margin-bottom: 16px; text-wrap: balance; }
.cta-band p { color: var(--muted-dark); max-width: 560px; margin: 0 auto 34px; }
.cta-band .hero-actions { justify-content: center; }

/* ---------- Animación: limpiaparabrisas ---------- */
.wiper-scene {
  width: min(280px, 56vw);
  margin: 0 auto 30px;
}
.ws-glass {
  fill: rgba(125, 211, 252, 0.05);
  stroke: rgba(125, 211, 252, 0.4);
  stroke-width: 2.5;
  stroke-linejoin: round;
}
.ws-wiper {
  transform-origin: 0 0;
  animation: ws-wipe 2.4s cubic-bezier(0.45, 0, 0.55, 1) infinite alternate;
}
.ws-arm {
  stroke: rgba(125, 211, 252, 0.55);
  stroke-width: 4;
  stroke-linecap: round;
}
.ws-blade {
  stroke: var(--accent-ice);
  stroke-width: 8;
  stroke-linecap: round;
}
@keyframes ws-wipe {
  from { transform: rotate(-48deg); }
  to { transform: rotate(48deg); }
}
.ws-drops circle {
  fill: rgba(125, 211, 252, 0.55);
  animation: ws-drop 4.8s ease-in-out infinite;
}
.ws-drops circle:nth-child(2n) { animation-delay: 1.2s; }
.ws-drops circle:nth-child(3n) { animation-delay: 2.4s; }
.ws-drops circle:nth-child(5n) { animation-delay: 3.4s; }
@keyframes ws-drop {
  0%, 12% { opacity: 0; }
  25%, 62% { opacity: 1; }
  74%, 100% { opacity: 0; }
}

/* ---------- Cabecera de páginas internas ---------- */
.page-hero {
  position: relative;
  padding: clamp(150px, 22vh, 220px) 0 clamp(56px, 8vw, 90px);
  background: var(--ink);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.page-hero .bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.page-hero .bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.55; animation: kenburns 16s var(--ease-smooth) both; }
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(to top, rgba(10, 16, 24, 0.96), rgba(10, 16, 24, 0.55));
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 {
  font-size: clamp(38px, 6vw, 72px);
  margin: 16px 0 14px;
}
.page-hero p { color: rgba(255, 255, 255, 0.8); max-width: 620px; font-size: clamp(16px, 1.8vw, 19px); }
.breadcrumbs {
  display: flex;
  gap: 10px;
  font-size: 13.5px;
  color: var(--muted-dark);
  margin-top: 26px;
}
.breadcrumbs a:hover { color: #fff; }

/* ---------- Galería ---------- */
.gallery-grid {
  columns: 3;
  column-gap: 20px;
}
.gallery-item {
  display: block;
  margin-bottom: 20px;
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  cursor: zoom-in;
  break-inside: avoid;
}
.gallery-item img {
  width: 100%;
  transition: transform 0.9s var(--ease-out), filter 0.5s;
}
.gallery-item::after {
  content: "＋";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 34px;
  color: #fff;
  background: rgba(10, 16, 24, 0.35);
  opacity: 0;
  transition: opacity 0.4s;
}
.gallery-item:hover::after { opacity: 1; }
.gallery-item:hover img { transform: scale(1.05); }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  background: rgba(6, 10, 15, 0.92);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.45s var(--ease-smooth);
}
.lightbox.open { opacity: 1; pointer-events: auto; }
.lightbox img {
  max-width: min(92vw, 1100px);
  max-height: 84vh;
  width: auto;
  border-radius: 12px;
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.6);
  transform: scale(0.92);
  transition: transform 0.5s var(--ease-out);
}
.lightbox.open img { transform: scale(1); }
.lightbox button {
  position: absolute;
  color: rgba(255, 255, 255, 0.8);
  font-size: 28px;
  padding: 18px;
  transition: color 0.3s, transform 0.3s var(--ease-out);
}
.lightbox button:hover { color: #fff; transform: scale(1.15); }
.lb-close { top: 14px; right: 18px; }
.lb-prev { left: 12px; top: 50%; translate: 0 -50%; }
.lb-next { right: 12px; top: 50%; translate: 0 -50%; }

/* ---------- Por qué elegirnos ---------- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.why-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
  transition: transform 0.6s var(--ease-out), box-shadow 0.6s var(--ease-out), border-color 0.4s;
}
.why-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 26px 50px -28px rgba(10, 16, 24, 0.28);
  border-color: transparent;
}
.why-item .ico {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(14, 159, 216, 0.14), rgba(125, 211, 252, 0.2));
  color: var(--accent-deep);
  margin-bottom: 18px;
}
.why-item .ico svg { width: 24px; height: 24px; }
.why-item h3 { font-size: 18.5px; margin-bottom: 8px; }
.why-item p { font-size: 15px; color: var(--muted); }

/* ---------- Contacto ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(36px, 5vw, 70px);
  align-items: start;
}
.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(28px, 4vw, 44px);
  box-shadow: 0 30px 70px -40px rgba(10, 16, 24, 0.3);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
.field label {
  display: block;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 7px;
  color: var(--ink);
}
.field input, .field textarea, .field select {
  width: 100%;
  font: inherit;
  font-size: 15.5px;
  padding: 13px 16px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
  color: var(--ink);
  transition: border-color 0.3s, box-shadow 0.3s, background 0.3s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--accent);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(14, 159, 216, 0.12);
}
.contact-aside { display: grid; gap: 18px; }
.info-card {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 26px;
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out);
}
.info-card:hover { transform: translateY(-3px); box-shadow: 0 20px 40px -25px rgba(10, 16, 24, 0.25); }
.info-card .ico {
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(14, 159, 216, 0.14), rgba(125, 211, 252, 0.2));
  color: var(--accent-deep);
}
.info-card .ico svg { width: 22px; height: 22px; }
.info-card h3 { font-size: 17px; margin-bottom: 4px; }
.info-card p, .info-card a { font-size: 15px; color: var(--muted); }
.info-card a:hover { color: var(--accent-deep); }
.hours-table { width: 100%; font-size: 15px; }
.hours-table li {
  display: flex;
  justify-content: space-between;
  padding: 9px 0;
  border-bottom: 1px dashed var(--line);
  color: var(--muted);
}
.hours-table li:last-child { border-bottom: none; }
.hours-table span { font-weight: 600; color: var(--ink); }

.map-embed {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  margin-top: clamp(40px, 6vw, 70px);
}
.map-embed iframe { display: block; width: 100%; height: 420px; border: 0; filter: grayscale(0.2); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: #fff;
  padding: clamp(60px, 8vw, 96px) 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 0.8fr 1.2fr 1fr;
  gap: clamp(28px, 4vw, 56px);
  padding-bottom: 56px;
  border-bottom: 1px solid var(--line-dark);
}
.footer-brand img { height: 52px; width: auto; margin-bottom: 20px; }
.footer-brand p { font-size: 15px; color: var(--muted-dark); max-width: 380px; }
.site-footer h4 {
  font-size: 15px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-ice);
  margin-bottom: 20px;
}
.footer-links li, .footer-contact li { margin-bottom: 12px; font-size: 15px; }
.footer-links a { color: var(--muted-dark); transition: color 0.3s, padding-left 0.35s var(--ease-out); }
.footer-links a:hover { color: #fff; padding-left: 6px; }
.footer-contact li {
  display: flex;
  gap: 12px;
  color: var(--muted-dark);
  align-items: flex-start;
}
.footer-contact svg { width: 18px; height: 18px; flex: none; margin-top: 3px; color: var(--accent-ice); }
.footer-contact a:hover { color: #fff; }
.pagos-card {
  background: #fff;
  border-radius: 12px;
  padding: 12px 16px;
  max-width: 280px;
}
.pagos-card img { width: 100%; height: auto; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  padding: 26px 0;
  font-size: 13.5px;
  color: var(--muted-dark);
}
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 38px;
  height: 38px;
  border: 1px solid var(--line-dark);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--muted-dark);
  transition: all 0.4s var(--ease-out);
}
.footer-social a:hover {
  color: #fff;
  border-color: var(--accent);
  background: var(--accent);
  transform: translateY(-3px);
}
.footer-social svg { width: 16px; height: 16px; }

/* ---------- Botón flotante WhatsApp ---------- */
.wa-fab {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--whatsapp);
  color: #fff;
  border-radius: 100px;
  padding: 14px 20px 14px 16px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  box-shadow: 0 16px 40px -12px rgba(37, 211, 102, 0.6);
  transition: transform 0.45s var(--ease-out), box-shadow 0.45s;
}
.wa-fab:hover { transform: translateY(-4px) scale(1.03); box-shadow: 0 22px 50px -12px rgba(37, 211, 102, 0.7); }
.wa-fab svg { width: 24px; height: 24px; }
.wa-fab::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 2px solid var(--whatsapp);
  animation: pulse-ring 2.4s var(--ease-smooth) infinite;
}
@keyframes pulse-ring {
  0% { transform: scale(1); opacity: 0.7; }
  70%, 100% { transform: scale(1.35); opacity: 0; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-strip .container { grid-template-columns: repeat(2, 1fr); }
  .trust-item:nth-child(2) { border-right: 1px solid var(--line-dark); }
  .gallery-grid { columns: 2; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .nav-links {
    position: fixed;
    top: 76px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 18px 24px 30px;
    background: rgba(10, 16, 24, 0.96);
    -webkit-backdrop-filter: blur(24px);
    backdrop-filter: blur(24px);
    border-bottom: 1px solid var(--line-dark);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s var(--ease-smooth), transform 0.5s var(--ease-out);
  }
  .site-nav.is-open .nav-links { opacity: 1; transform: none; pointer-events: auto; }
  .nav-links a { font-size: 19px; padding: 12px 0; width: 100%; }
  .nav-links a::after { display: none; }
  .nav-cta { margin: 14px 0 0; }
  .nav-toggle { display: flex; }

  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .about-media .badge-exp { left: 18px; bottom: -22px; }
  .pillars, .why-grid { grid-template-columns: 1fr; }
  .service-row { grid-template-columns: 1fr; }
  .service-row .media { aspect-ratio: 16 / 9; }
  .services-head { flex-direction: column; align-items: flex-start; }
  .form-grid { grid-template-columns: 1fr; }
  .hero-scroll { display: none; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .services-grid { grid-template-columns: 1fr; }
  .service-card { aspect-ratio: 4 / 3; }
  .trust-strip .container { grid-template-columns: 1fr 1fr; border: none; }
  .trust-item { padding: 24px 18px; }
  .gallery-grid { columns: 1; }
  .footer-grid { grid-template-columns: 1fr; }
  .wa-fab span { display: none; }
  .wa-fab { padding: 16px; border-radius: 50%; }
}

/* ---------- Accesibilidad: menos movimiento ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal, .reveal-scale, .hero [data-stagger] { opacity: 1; transform: none; }
}
