/* Aquateam Racing · estilos del sitio (25/11/2026) */

@font-face {
  font-family: "Archivo";
  src: url("fuentes/archivo-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Archivo";
  src: url("fuentes/archivo-latin-italic.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: italic;
  font-display: swap;
}

:root {
  --fondo: #0b0d0a;
  --fondo-2: #12150f;
  --fondo-3: #1a1e16;
  --linea: #2a3024;
  --texto: #eef2e8;
  --texto-2: #a7b09c;
  --lima: #b4d12a;          /* el verde del logo (#b0cb21), un punto más claro para pantalla */
  --lima-oscuro: #8fa61c;
  --sobre-lima: #0b0d0a;
  --radio: 6px;
  --ancho: 1200px;
  --margen: clamp(16px, 4vw, 40px);
  --cabecera: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--cabecera) + 12px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--fondo);
  color: var(--texto);
  font-family: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.02; font-weight: 800; font-stretch: 72%; letter-spacing: -0.01em; text-transform: uppercase; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.contenedor { width: 100%; max-width: var(--ancho); margin: 0 auto; padding: 0 var(--margen); }
.sr, .saltar:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.saltar:focus { position: fixed; top: 8px; left: 8px; z-index: 100; background: var(--lima); color: var(--sobre-lima); padding: 8px 14px; border-radius: var(--radio); }
:focus-visible { outline: 2px solid var(--lima); outline-offset: 3px; }

.ic { width: 1.25em; height: 1.25em; flex: none; }
.ic--grande { width: 34px; height: 34px; color: var(--lima); }

.antetitulo {
  font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--lima); margin-bottom: 14px; display: flex; align-items: center; gap: 10px;
}
.antetitulo::before { content: ""; width: 22px; height: 2px; background: var(--lima); }

/* Botones */
.boton {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px; border-radius: var(--radio);
  background: var(--lima); color: var(--sobre-lima);
  font-weight: 700; font-size: 1rem; text-decoration: none; white-space: nowrap;
  border: 2px solid var(--lima);
  transition: background-color .18s ease, border-color .18s ease, transform .12s ease;
}
.boton:hover { background: #c6e33a; border-color: #c6e33a; }
.boton:active { transform: translateY(1px); }
.boton--borde { background: transparent; color: var(--texto); border-color: var(--linea); }
.boton--borde:hover { background: var(--fondo-3); border-color: var(--texto-2); }
.boton--chico { min-height: 42px; padding: 0 16px; font-size: 0.9375rem; }
.boton--grande { min-height: 58px; padding: 0 28px; font-size: 1.0625rem; }

/* Cabecera */
.cabecera {
  position: sticky; top: 0; z-index: 50; height: var(--cabecera);
  background: rgba(11, 13, 10, 0.86);
  backdrop-filter: saturate(140%) blur(10px); -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--linea);
}
.cabecera__fila { height: 100%; display: flex; align-items: center; gap: 24px; }
.marca img { height: 36px; width: auto; }
.nav { margin-left: auto; display: flex; gap: 28px; }
.nav a { text-decoration: none; color: var(--texto-2); font-weight: 600; font-size: 0.9375rem; transition: color .15s; }
.nav a:hover { color: var(--texto); }

/* Portada */
.portada { padding: clamp(40px, 7vw, 96px) 0 clamp(56px, 8vw, 110px); position: relative; overflow: hidden; }
.portada::before {
  content: ""; position: absolute; inset: auto -10% -40% 40%; height: 70%;
  background: radial-gradient(closest-side, rgba(180, 209, 42, 0.13), transparent 70%);
  pointer-events: none;
}
.portada__grilla { display: grid; grid-template-columns: 1.08fr 0.92fr; gap: clamp(32px, 5vw, 72px); align-items: center; position: relative; }
.portada h1 { font-size: clamp(2.75rem, 7.2vw, 5.75rem); font-stretch: 68%; font-weight: 850; }
.portada h1 em { display: block; font-style: italic; color: var(--lima); padding-bottom: 0.04em; }
.bajada { margin-top: 22px; font-size: clamp(1.0625rem, 1.6vw, 1.25rem); color: var(--texto-2); max-width: 54ch; }
.acciones { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }
.datos { margin-top: 40px; display: grid; grid-template-columns: repeat(2, minmax(0, max-content)); gap: 12px 40px; }
.datos li { border-top: 2px solid var(--lima); padding-top: 12px; display: flex; flex-direction: column; }
.datos strong { font-size: 1.5rem; font-weight: 800; font-stretch: 72%; text-transform: uppercase; line-height: 1.1; }
.datos span { font-size: 0.875rem; color: var(--texto-2); }

.portada__foto { margin: 0; position: relative; }
.portada__foto img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: var(--radio); }
.portada__marco { position: relative; }
.portada__marco::after {
  content: ""; position: absolute; right: -14px; bottom: -14px; width: 42%; height: 42%;
  border-right: 3px solid var(--lima); border-bottom: 3px solid var(--lima); border-radius: 0 0 var(--radio) 0;
  pointer-events: none;
}
.portada__foto figcaption { margin-top: 14px; font-size: 0.875rem; color: var(--texto-2); }

/* Secciones */
.seccion { padding: clamp(64px, 9vw, 120px) 0; border-top: 1px solid var(--linea); }
.seccion--oscura { background: var(--fondo-2); }
.seccion__cabeza { margin-bottom: clamp(32px, 4vw, 56px); max-width: 760px; }
.seccion__cabeza--fila { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.seccion h2 { font-size: clamp(2rem, 4.6vw, 3.5rem); }

/* Servicios */
.servicios { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.servicio {
  position: relative; padding: 32px 28px 30px; border: 1px solid var(--linea); border-radius: var(--radio);
  background: var(--fondo-2); display: flex; flex-direction: column; gap: 14px;
}
.servicio__num { position: absolute; top: 24px; right: 26px; font-weight: 800; font-stretch: 72%; color: var(--linea); font-size: 2.25rem; line-height: 1; }
.servicio h3 { font-size: 1.625rem; margin-top: 8px; }
.servicio p { color: var(--texto-2); }
.servicio--destacado { border-color: var(--lima-oscuro); background: linear-gradient(180deg, rgba(180, 209, 42, 0.09), rgba(180, 209, 42, 0.02)); }
.servicio--destacado .servicio__num { color: var(--lima-oscuro); }
.marcas { margin-top: 28px; display: flex; flex-wrap: wrap; row-gap: 8px; color: var(--texto-2); font-weight: 700; font-stretch: 80%; text-transform: uppercase; letter-spacing: 0.06em; font-size: 0.9375rem; }
.marcas span { display: inline-flex; align-items: center; }
.marcas span + span::before { content: ""; width: 5px; height: 5px; background: var(--lima); border-radius: 50%; margin: 0 16px; }

/* Resultados */
.resultados { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.resultados__foto { margin: 0; }
.resultados__foto img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radio); }
.logros { margin-top: 32px; display: grid; gap: 0; }
.logros li { display: flex; gap: 16px; padding: 20px 0; border-top: 1px solid var(--linea); }
.logros li:last-child { border-bottom: 1px solid var(--linea); }
.logros .ic { color: var(--lima); width: 26px; height: 26px; margin-top: 2px; }
.logros strong { display: block; font-size: 1.125rem; }
.logros span { color: var(--texto-2); }
.nota { margin-top: 24px; color: var(--texto-2); font-size: 0.9375rem; }

/* Instagram */
.enlace { display: inline-flex; align-items: center; gap: 8px; color: var(--lima); font-weight: 700; text-decoration: none; }
.enlace:hover { text-decoration: underline; text-underline-offset: 4px; }
.feed { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.post { position: relative; display: block; overflow: hidden; border-radius: var(--radio); background: var(--fondo-3); text-decoration: none; aspect-ratio: 4 / 5; }
.post img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
.post:hover img { transform: scale(1.04); }
.post__tipo { position: absolute; top: 12px; right: 12px; color: #fff; filter: drop-shadow(0 1px 3px rgba(0, 0, 0, .6)); }
.post__tipo .ic { width: 26px; height: 26px; }
.post__pie {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 48px 16px 14px;
  background: linear-gradient(180deg, transparent, rgba(5, 6, 4, 0.92) 70%);
  display: flex; flex-direction: column; gap: 4px;
}
.post time { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--lima); }
.post__texto { font-size: 0.9375rem; line-height: 1.4; color: #e6ebe0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.feed__mas { margin-top: 28px; }

/* Contacto */
.seccion--contacto { background: var(--fondo-2); }
.contacto { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: stretch; }
.contacto .boton--grande { margin-top: 28px; }
.datos-contacto { margin-top: 32px; display: grid; gap: 14px; }
.datos-contacto li { display: flex; align-items: center; gap: 12px; color: var(--texto-2); }
.datos-contacto .ic { color: var(--lima); }
.datos-contacto a { text-decoration: none; color: var(--texto); }
.datos-contacto a:hover { text-decoration: underline; text-underline-offset: 4px; }
.contacto__mapa { min-height: 380px; border-radius: var(--radio); overflow: hidden; border: 1px solid var(--linea); background: var(--fondo-3); }
.contacto__mapa iframe { display: block; width: 100%; height: 100%; min-height: 380px; border: 0; filter: grayscale(0.35) contrast(1.05); }

/* Pie */
.pie { border-top: 1px solid var(--linea); padding: 32px 0 40px; }
.pie__fila { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--texto-2); font-size: 0.875rem; }
.pie img { height: 32px; width: auto; opacity: .9; }

/* WhatsApp fijo (solo celular) */
.wa-fija { display: none; }

@media (max-width: 960px) {
  .nav { display: none; }
  .cabecera__fila { justify-content: space-between; }
  .portada__grilla, .resultados, .contacto { grid-template-columns: 1fr; }
  .portada__foto { max-width: 560px; }
  .servicios { grid-template-columns: 1fr; }
  .resultados__foto { max-width: 520px; }
}

@media (max-width: 640px) {
  :root { --cabecera: 60px; }
  .marca img { height: 30px; }
  .cabecera .boton--chico span { display: none; }
  .cabecera .boton--chico { width: 44px; padding: 0; }
  .acciones .boton { width: 100%; }
  .datos { grid-template-columns: 1fr 1fr; gap: 12px 20px; }
  .datos strong { font-size: 1.25rem; }
  .portada__marco::after { right: -8px; bottom: -8px; }
  .feed { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .post__pie { padding: 36px 10px 10px; }
  .post__texto { display: none; }
  .contacto .boton--grande { width: 100%; }
  .contacto__mapa, .contacto__mapa iframe { min-height: 300px; }
  body { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
  .wa-fija {
    display: flex; align-items: center; justify-content: center; gap: 10px;
    position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 60;
    min-height: 54px; border-radius: var(--radio); background: var(--lima); color: var(--sobre-lima);
    font-weight: 800; text-decoration: none; box-shadow: 0 10px 30px rgba(0, 0, 0, .45);
  }
  .wa-fija .ic { width: 24px; height: 24px; }
}
