/* =========================================================
   SHINERAY QUERÉTARO — Sitio estático
   Sistema de diseño: rojo corporativo + negro + Oswald/Inter
   ========================================================= */
.logo {
  cursor: pointer;
  animation: slideInLeft 0.6s ease-out;
  display: flex;
  align-items: center;
}

:root {
  --bg: #ffffff;
  --fg: #1a1413;
  --ink: #0d0a09;
  --surface: #f7f5f3;
  --card: #ffffff;
  --muted: #f5f3f1;
  --muted-fg: #6b6360;
  --border: #e6e2df;
  --primary: #d11920;
  /* rojo Shineray */
  --primary-glow: #ed2a32;
  --primary-fg: #ffffff;
  --secondary: #141010;
  /* negro corporativo */
  --secondary-fg: #ffffff;
  --whatsapp: #25d366;
  --whatsapp-glow: #4ade80;

  --shadow-card: 0 8px 30px -12px rgba(0, 0, 0, 0.18);
  --shadow-elegant: 0 20px 60px -20px rgba(209, 25, 32, 0.4);
  --transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1);

  --font-display: "Oswald", "Bebas Neue", system-ui, sans-serif;
  --font-sans: "Inter", system-ui, -apple-system, sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--fg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 1.05;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .container {
    padding: 0 1.5rem;
  }
}

@media (min-width: 1024px) {
  .container {
    padding: 0 2rem;
  }
}

/* ============== BUTTONS ============== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  height: 3rem;
  padding: 0 1.75rem;
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font-sans);
}

.btn-primary {
  background: var(--primary);
  color: var(--primary-fg);
}

.btn-primary:hover {
  background: var(--primary-glow);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(8px);
}

.btn-outline:hover {
  background: #fff;
  color: var(--secondary);
}

.btn-dark-outline {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-dark-outline:hover {
  background: #fff;
  color: var(--secondary);
}

/* ============== NAVBAR ============== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 100%;
  height: 4rem;
  padding: 0 0.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

@media (min-width: 640px) {
  .nav-inner {
    padding: 0 0.75rem;
  }
}

@media (min-width: 1024px) {
  .nav-inner {
    padding: 0 1rem;
  }
}


.logo-mark {
  height: 2.5rem;
  width: auto;
  display: block;
  object-fit: contain;
}

@media (min-width: 768px) {
  .logo-mark {
    height: 1.5rem;
  }

  .nav-inner {
    height: 3.5rem;
  }

  .nav-links {
    gap: 0.9rem;
  }

  .nav-links a {
    font-size: 0.75rem;
    letter-spacing: 0.01em;
  }

  .nav-actions {
    gap: 0.4rem;
  }

  .nav-phone {
    font-size: 0.75rem;
  }

  .nav-cta {
    height: 2.1rem;
    padding: 0 0.875rem;
    font-size: 0.75rem;
    letter-spacing: 0.04em;
  }
}

.logo-text {
  line-height: 1;
}

.logo-name {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
}

.logo-sub {
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted-fg);
  margin-top: 2px;
}

.nav-links {
  display: none;
  list-style: none;
  gap: 1.25rem;
}

.nav-links a {
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: rgba(26, 20, 19, 0.8);
  transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
}

.nav-actions {
  display: none;
  align-items: center;
  gap: 0.75rem;
}

.nav-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: rgba(26, 20, 19, 0.8);
  transition: var(--transition);
}

.nav-phone:hover {
  color: var(--primary);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  height: 2.5rem;
  padding: 0 1.25rem;
  background: var(--primary);
  color: var(--primary-fg);
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  transition: var(--transition);
}

.nav-cta:hover {
  background: var(--primary-glow);
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--fg);
}

.nav-toggle svg {
  width: 24px;
  height: 24px;
}

@media (min-width: 768px) {

  .nav-links,
  .nav-actions {
    display: flex;
  }

  .nav-toggle {
    display: none;
  }
}

.mobile-menu {
  display: none;
  border-top: 1px solid var(--border);
  background: var(--bg);
}

.mobile-menu.open {
  display: block;
}

.mobile-menu-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem;
  display: flex;
  flex-direction: column;
}

.mobile-menu a {
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(230, 226, 223, 0.6);
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(26, 20, 19, 0.8);
}

.mobile-menu a.active {
  color: var(--primary);
}

.mobile-menu .nav-cta {
  margin-top: 1rem;
  height: 2.75rem;
  justify-content: center;
}

@media (min-width: 768px) {

  .mobile-menu,
  .mobile-menu.open {
    display: none;
  }
}

/* ============== HERO ============== */
.hero {
  position: relative;
  background: var(--secondary);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg,
      rgba(13, 10, 9, 0.92) 0%,
      rgba(13, 10, 9, 0.55) 45%,
      rgba(13, 10, 9, 0.1) 100%);
  z-index: -1;
}

.hero-inner {
  padding: 2rem 1rem 3rem;
  min-height: 640px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

@media (min-width: 640px) {
  .hero-inner {
    padding: 2rem 3rem 4rem;
    justify-content: space-between;
  }
}

@media (min-width: 1024px) {
  .hero-inner {
    padding: 2.5rem 6rem 4rem;
    justify-content: space-between;
  }
}

.hero-content {
  max-width: 560px;
}

/* En móvil oculta texto, solo muestra botones */
@media (max-width: 639px) {
  .hero-text-only {
    display: none;
  }

  .hero-buttons {
    margin-top: 0;
    flex-direction: row;
    flex-wrap: nowrap;
  }

  .hero-buttons .btn {
    flex: 1;
    justify-content: center;
  }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.eyebrow-dark {
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.05);
  padding: 0.25rem 0.75rem;
  backdrop-filter: blur(8px);
  color: #fff;
  margin-bottom: 1rem;
  align-self: flex-start;
}

.eyebrow-dark .dot {
  width: 6px;
  height: 6px;
  background: var(--primary);
  border-radius: 50%;

}

.eyebrow .line {
  width: 2rem;
  height: 1px;
  background: var(--primary);
}

.hero h1 {
  font-size: clamp(3rem, 6vw, 4.5rem);
  line-height: 0.95;
}

.hero h1 .accent {
  display: block;
  color: var(--primary);
}

.hero p {
  margin-top: 1.5rem;
  max-width: 560px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.0625rem;
}

.hero-buttons {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-stats {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 28rem;
}

.hero-stat .num {
  font-family: var(--font-display);
  font-size: 1.875rem;
  color: var(--primary);
}

.hero-stat .label {
  margin-top: 0.25rem;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.6);
}

/* ============== SECTIONS ============== */
.section {
  padding: 5rem 0;
}

.section-surface {
  background: var(--surface);
}

.section-dark {
  background: var(--secondary);
  color: var(--secondary-fg);
}

.section-header {
  max-width: 640px;
}

.section-header.center {
  margin: 0 auto;
  text-align: center;
}

.section-header h2 {
  font-size: clamp(1.875rem, 4vw, 3rem);
}

.section-header p {
  margin-top: 1rem;
  color: var(--muted-fg);
  font-size: 1.0625rem;
}

.section-dark .section-header p {
  color: rgba(255, 255, 255, 0.7);
}

.section-head-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1.5rem;
}

.see-all {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--primary);
  transition: var(--transition);
}

.see-all:hover {
  gap: 0.5rem;
}

/* ============== FEATURES ============== */
.features-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature {
  border: 1px solid var(--border);
  background: var(--card);
  padding: 2rem;
  transition: var(--transition);
}

.feature:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-card);
}

.feature .icon {
  width: 2.5rem;
  height: 2.5rem;
  color: var(--primary);
}

.feature h3 {
  margin-top: 1.25rem;
  font-size: 1.25rem;
}

.feature p {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: var(--muted-fg);
}

/* Animación Marquee para Garantías */
.garantias-marquee {
  margin-top: 1.5rem;
  overflow: hidden;
  position: relative;
  width: 100%;
  display: flex;
}

.garantias-marquee::before,
.garantias-marquee::after {
  content: "";
  position: absolute;
  top: 0;
  width: 2rem;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.garantias-marquee::before {
  left: 0;
  background: linear-gradient(to right, var(--card), transparent);
}

.garantias-marquee::after {
  right: 0;
  background: linear-gradient(to left, var(--card), transparent);
}

.garantias-track {
  display: flex;
  gap: 1.5rem;
  width: max-content;
  animation: marquee 15s linear infinite;
}

.garantias-track:hover {
  animation-play-state: paused;
}

.garantias-track img {
  height: 48px;
  width: auto;
  object-fit: contain;
  transition: transform 300ms cubic-bezier(0.4, 0, 0.2, 1);
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.05));
}

.garantias-track img:hover {
  transform: scale(1.1) translateY(-2px);
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(calc(-50% - 0.75rem));
  }
}

/* ============== MODELS GRID (home) ============== */
.models-grid {
  margin-top: 3rem;
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .models-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.models-grid--two {
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .models-grid--two {
    grid-template-columns: repeat(2, 1fr);
  }
}

.model-card {
  background: var(--card);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: var(--transition);
}

.model-card:hover {
  box-shadow: var(--shadow-card);
}

.model-card .img-wrap {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--muted);
  overflow: hidden;
}

.model-card .img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
}

.model-card:hover .img-wrap img {
  transform: scale(1.05);
}

/* Hover video en tarjetas de modelos y filas de modelos */
.model-img,
.model-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 400ms ease;
}

.model-img {
  opacity: 1;
}

.model-video {
  opacity: 0;
  pointer-events: none; /* prevent the video from intercepting hovers itself in some edge cases */
}

.model-card:hover .model-video,
.img-wrap:hover .model-video {
  opacity: 1;
}

.model-card:hover .model-img,
.img-wrap:hover .model-img {
  opacity: 0;
}

.touch-hint {
  display: none;
}

/* En móvil: imagen por defecto, video solo al tocar */
@media (max-width: 639px) {
  .touch-hint {
    display: flex;
    position: absolute;
    bottom: 0.875rem;
    left: 50%;
    transform: translateX(-50%);
    align-items: center;
    gap: 0.375rem;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 500;
    padding: 0.3rem 0.75rem;
    border-radius: 999px;
    pointer-events: none;
    white-space: nowrap;
    backdrop-filter: blur(6px);
    z-index: 5;
    transition: opacity 300ms ease;
  }

  .model-video {
    opacity: 0;
    transition: opacity 300ms ease;
  }

  .model-img {
    opacity: 1;
    transition: opacity 300ms ease;
  }

  .img-wrap.playing .model-video { opacity: 1; }
  .img-wrap.playing .model-img  { opacity: 0; }
  .img-wrap.playing .touch-hint { opacity: 0; pointer-events: none; }
}

.tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--primary);
  color: var(--primary-fg);
  padding: 0.25rem 0.75rem;
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.model-card-body {
  padding: 1.5rem;
}

.model-card-body h3 {
  font-size: 1.5rem;
}

.model-card-body .price {
  margin-top: 0.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary);
}

.model-card-body .more {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  margin-top: 1.25rem;
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--fg);
  transition: var(--transition);
}

.model-card-body .more:hover {
  color: var(--primary);
  gap: 0.5rem;
}

/* ============== GALERÍA ============== */
.gallery-back {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted-fg);
  transition: var(--transition);
}

.gallery-back:hover {
  color: var(--primary);
}

.gallery-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(1, 1fr);
}

@media (min-width: 640px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.gallery-item {
  border: none;
  background: var(--muted);
  padding: 0;
  cursor: pointer;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  display: block;
  width: 100%;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 400ms ease, opacity 400ms ease;
}

.gallery-item:hover img {
  transform: scale(1.06);
  opacity: 0.9;
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.93);
  z-index: 1000;
  align-items: center;
  justify-content: center;
}

.lightbox.active {
  display: flex;
}

.lightbox #lightbox-img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  display: block;
}

.lightbox-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: #fff;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 50%;
  display: flex;
  transition: background 200ms;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.25);
}

.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: #fff;
  cursor: pointer;
  padding: 0.75rem;
  display: flex;
  transition: background 200ms;
}

.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(255, 255, 255, 0.25);
}

.lightbox-prev {
  left: 1rem;
}

.lightbox-next {
  right: 1rem;
}

.lightbox-counter {
  position: absolute;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.875rem;
}

/* ============== DEALERSHIP CTA ============== */
.dealer-split {
  display: grid;
  max-width: 1200px;
  margin: 0 auto;
  grid-template-columns: 1fr;
}

@media (min-width: 1024px) {
  .dealer-split {
    grid-template-columns: 3fr 2fr;
  }
}

.dealer-img {
  position: relative;
  aspect-ratio: 4 / 3;
}

@media (min-width: 1024px) {
  .dealer-img {
    aspect-ratio: auto;
    min-height: 520px;
  }
}

.dealer-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.dealer-content {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media (min-width: 640px) {
  .dealer-content {
    padding: 3.5rem;
  }
}

@media (min-width: 1024px) {
  .dealer-content {
    padding: 5rem;
  }
}

.dealer-content h2 {
  font-size: clamp(2.25rem, 4vw, 3rem);
}

.dealer-content p {
  margin-top: 1.25rem;
  max-width: 28rem;
  color: rgba(255, 255, 255, 0.7);
}

.dealer-buttons {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.stars {
  margin-top: 2.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
}

.stars .row {
  display: flex;
}

.stars .row svg {
  color: var(--primary);
  fill: var(--primary);
  width: 1rem;
  height: 1rem;
}

/* ============== MODELS PAGE ============== */
.page-header {
  background: var(--secondary);
  color: var(--secondary-fg);
  padding: 5rem 0;
}

.page-header h1 {
  font-size: clamp(3rem, 6vw, 4.5rem);
  line-height: 0.95;
}

.page-header h1 .accent {
  color: var(--primary);
}

.page-header p {
  margin-top: 1.25rem;
  max-width: 640px;
  color: rgba(255, 255, 255, 0.7);
}

.model-row {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: 1fr;
  align-items: center;
  margin-bottom: 5rem;
}

@media (min-width: 1024px) {
  .model-row {
    grid-template-columns: 7fr 3fr;
  }

  .model-row.reverse {
    grid-template-columns: 3fr 7fr;
  }

  .model-row.reverse>.img-wrap {
    order: 2;
  }
}

.model-row .img-wrap {
  position: relative;
  background: var(--surface);
  overflow: hidden;
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
}

.model-row .img-wrap img,
.model-row .img-wrap .model-video {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.model-brand {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--primary);
}

.model-row h2 {
  margin-top: 0.5rem;
  font-size: clamp(2.25rem, 4vw, 3rem);
}

.model-row .desc {
  margin-top: 1rem;
  color: var(--muted-fg);
}

.specs {
  margin-top: 2rem;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 640px) {
  .specs {
    grid-template-columns: repeat(4, 1fr);
  }
}

.spec {
  border: 1px solid var(--border);
  background: var(--card);
  padding: 1rem;
}

.spec svg {
  width: 1.25rem;
  height: 1.25rem;
  color: #000;
}

.spec-icon-img {
  width: 1.5rem;
  height: 1.5rem;
  object-fit: contain;
  display: block;
}

.spec dt {
  margin-top: 0.75rem;
  font-size: 0.625rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted-fg);
}

.spec dd {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  margin-top: 0.25rem;
}

.model-row .row-cta {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}

.row-secondary-cta {
  margin-top: 0.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn-outline-dark {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  height: 2.75rem;
  padding: 0 1.25rem;
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--fg);
  transition: var(--transition);
  cursor: pointer;
  font-family: var(--font-sans);
}

.btn-outline-dark:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.model-row .row-cta .price {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
}

/* ============== CARROCERÍA VIDEO ============== */
.carroceria-wrap {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  aspect-ratio: 16/9;
  max-height: 80vh;
}

.carroceria-video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  background: #000;
}

.carroceria-text {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 3vw, 2rem);
  font-weight: 700;
  margin-bottom: 1.25rem;
  line-height: 1.3;
  text-align: center;
  color: var(--primary);
  background: #000;
  padding: 0.6rem 1.25rem;
  border-radius: 0.5rem;
  display: inline-block;
  width: 100%;
  box-sizing: border-box;
}

/* ============== SERVICE PAGE ============== */
.service-hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
  z-index: -2;
}

.services-layout {
  margin-top: 3rem;
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
  align-items: start;
}

@media (min-width: 1024px) {
  .services-layout {
    grid-template-columns: 1fr 1fr;
  }
}

.services-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(2, 1fr);
}

.services-img img {
  width: 100%;
  border-radius: 1rem;
  object-fit: cover;
}

.service-card {
  border: 1px solid var(--border);
  background: var(--card);
  padding: 1.75rem;
  transition: var(--transition);
}

.service-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-card);
}

.service-card svg {
  width: 2.25rem;
  height: 2.25rem;
  color: var(--primary);
}

.service-card h3 {
  margin-top: 1.25rem;
  font-size: 1.25rem;
}

.service-card p {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: var(--muted-fg);
}

.benefits-split {
  display: grid;
  gap: 3rem;
  grid-template-columns: 1fr;
  align-items: center;
}

@media (min-width: 1024px) {
  .benefits-split {
    grid-template-columns: 1fr 1fr;
  }
}

.benefits-list {
  list-style: none;
  margin-top: 2rem;
  display: grid;
  gap: 0.75rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .benefits-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

.benefits-list li {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
  font-size: 0.875rem;
  color: rgba(26, 20, 19, 0.8);
}

.benefits-list svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 2px;
}

.benefits-img {
  position: relative;
  aspect-ratio: 4/3;
  background: var(--card);
  overflow: hidden;
}

.benefits-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cta-center {
  text-align: center;
  max-width: 56rem;
  margin: 0 auto;
}

.cta-center h2 {
  font-size: clamp(2.25rem, 4vw, 3rem);
}

.cta-center .accent {
  color: var(--primary);
}

.cta-center p {
  margin-top: 1rem;
  color: rgba(255, 255, 255, 0.7);
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
}

.cta-center .btn {
  margin-top: 2rem;
}

/* ============== CONTACT PAGE ============== */
.info-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .info-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .info-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.info-card {
  border: 1px solid var(--border);
  background: var(--card);
  padding: 1.5rem;
  transition: var(--transition);
}

.info-card.link:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-card);
}

.info-card svg {
  width: 1.75rem;
  height: 1.75rem;
  color: var(--primary);
}

.info-card h3 {
  margin-top: 1rem;
  font-size: 1.125rem;
}

.info-card .lines {
  margin-top: 0.25rem;
  font-size: 0.875rem;
  color: var(--muted-fg);
}

.info-card .lines div {
  margin-top: 2px;
}

.contact-split {
  display: grid;
  gap: 3rem;
  grid-template-columns: 1fr;
}

@media (min-width: 1024px) {
  .contact-split {
    grid-template-columns: 1fr 1fr;
  }
}

.contact-form {
  margin-top: 2rem;
  display: grid;
  gap: 1rem;
}

.form-row {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .form-row {
    grid-template-columns: 1fr 1fr;
  }
}

.field label {
  display: block;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted-fg);
  margin-bottom: 0.375rem;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  height: 3rem;
  padding: 0 1rem;
  border: 1px solid #c8c3bf;
  background: var(--bg);
  font-size: 0.875rem;
  color: var(--fg);
  font-family: var(--font-sans);
  outline: none;
  transition: var(--transition);
}

.field input::placeholder,
.field textarea::placeholder {
  color: #9e9794;
}

.field textarea {
  height: auto;
  padding: 0.75rem 1rem;
  resize: vertical;
  min-height: 7rem;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 1px var(--primary);
}

.form-success {
  margin-top: 2rem;
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 1.5rem;
  border: 1px solid rgba(209, 25, 32, 0.3);
  background: rgba(209, 25, 32, 0.05);
}

.form-success svg {
  color: var(--primary);
  width: 1.5rem;
  height: 1.5rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.form-success h4 {
  font-size: 1.125rem;
}

.form-success p {
  margin-top: 0.25rem;
  font-size: 0.875rem;
  color: var(--muted-fg);
}

.form-error {
  margin-top: 1rem;
  padding: 1rem;
  border: 1px solid rgba(209, 25, 32, 0.4);
  background: rgba(209, 25, 32, 0.06);
  color: var(--primary);
  font-size: 0.875rem;
  font-weight: 600;
}

.map-wrap {
  aspect-ratio: 4/3;
  width: 100%;
  border: 1px solid var(--border);
  background: var(--card);
  overflow: hidden;
}

.map-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.map-actions {
  margin-top: 1rem;
  display: flex;
  justify-content: flex-end;
}

.whatsapp-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: var(--secondary);
  color: var(--secondary-fg);
  padding: 1.5rem;
  margin-top: 1.5rem;
  transition: var(--transition);
}

.whatsapp-cta:hover {
  background: var(--primary);
}

.whatsapp-cta .left {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.whatsapp-cta svg {
  width: 2.25rem;
  height: 2.25rem;
  flex-shrink: 0;
}

.whatsapp-cta h4 {
  font-size: 1.125rem;
}

.whatsapp-cta p {
  font-size: 0.875rem;
  opacity: 0.8;
}

.whatsapp-cta .open {
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ============== FOOTER ============== */
.footer {
  background: var(--secondary);
  color: var(--secondary-fg);
}

.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 1rem;
  display: grid;
  gap: 2.5rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .footer-grid {
    padding: 4rem 1.5rem;
  }
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    padding: 4rem 2rem;
  }
}

.footer p,
.footer li,
.footer a {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
}

.footer h4 {
  font-size: 0.875rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #fff;
}

.footer ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer a:hover {
  color: var(--primary);
}

.footer .desc {
  margin-top: 1rem;
}

.socials {
  margin-top: 1.25rem;
  display: flex;
  gap: 0.75rem;
}

.socials a {
  width: 2.25rem;
  height: 2.25rem;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: var(--transition);
}

.socials a:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.socials svg {
  width: 1rem;
  height: 1rem;
}

.contact-li {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
}

.contact-li svg {
  width: 1rem;
  height: 1rem;
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom .inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.25rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: center;
  justify-content: space-between;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
}

@media (min-width: 640px) {
  .footer-bottom .inner {
    flex-direction: row;
    padding: 1.25rem 1.5rem;
  }
}

/* ============== WHATSAPP FLOAT ============== */
.wa-float {
  position: fixed;
  bottom: 1.25rem;
  right: 1.25rem;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transform: translateY(1.5rem);
  opacity: 0;
  pointer-events: none;
  transition: opacity 500ms ease, transform 500ms ease;
}

.wa-float.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

@media (min-width: 640px) {
  .wa-float {
    bottom: 1.75rem;
    right: 1.75rem;
  }
}

.wa-tooltip {
  display: none;
  background: var(--secondary);
  color: var(--secondary-fg);
  padding: 0.5rem 1rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  opacity: 0;
  box-shadow: var(--shadow-card);
  transition: opacity 300ms ease;
}

@media (min-width: 640px) {
  .wa-tooltip {
    display: block;
  }
}

.wa-float:hover .wa-tooltip {
  opacity: 1;
}

.wa-btn-wrap {
  position: relative;
  width: 3.5rem;
  height: 3.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wa-ping {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--whatsapp-glow);
  opacity: 0.4;
  animation: wa-ping 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.wa-glow {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--whatsapp-glow);
  opacity: 0.3;
  filter: blur(12px);
}

.wa-btn {
  position: relative;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: var(--whatsapp);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-elegant);
  transition: transform 300ms ease;
}

.wa-float:hover .wa-btn {
  transform: scale(1.1);
}

.wa-float:active .wa-btn {
  transform: scale(0.95);
}

.wa-btn svg {
  width: 1.5rem;
  height: 1.5rem;
}

@keyframes wa-ping {

  75%,
  100% {
    transform: scale(1.6);
    opacity: 0;
  }
}

/* ============== NOSOTROS PAGE ============== */
.nos-page {
  background: #0a0a0a;
  color: #f0f0f0;
}

.nos-label {
  font-family: var(--font-display);
  font-size: .65rem;
  font-weight: 600;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--primary);
  display: block;
}

.nos-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 5rem);
  line-height: .95;
  color: #fff;
  text-transform: uppercase;
}

.nos-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
}

/* --- Hero --- */
.nos-hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.nos-hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(0, 0, 0, .95) 0%, rgba(0, 0, 0, .6) 50%, rgba(0, 0, 0, .85) 100%),
    url('img/artes/trayectoria.png') center/cover no-repeat;
}

.nos-hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(209, 25, 32, .04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(209, 25, 32, .04) 1px, transparent 1px);
  background-size: 60px 60px;
}

.nos-hero-bar {
  position: absolute;
  top: 0;
  right: 0;
  width: 6px;
  height: 100%;
  background: var(--primary);
}

.nos-hero-year {
  font-family: var(--font-display);
  font-size: clamp(6rem, 18vw, 16rem);
  line-height: .85;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, .08);
  position: absolute;
  right: 2rem;
  bottom: 4rem;
  user-select: none;
  pointer-events: none;
  letter-spacing: -.02em;
}

.nos-hero-content {
  position: relative;
  z-index: 2;
  padding: 0 2rem 7rem;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.nos-hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.nos-line {
  width: 40px;
  height: 2px;
  background: var(--primary);
}

.nos-hero-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 7rem);
  line-height: .9;
  color: #fff;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
}

.nos-hero-title em {
  color: var(--primary);
  font-style: normal;
}

.nos-hero-desc {
  max-width: 520px;
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, .65);
  margin-bottom: 2.5rem;
  font-family: var(--font-sans);
  text-transform: none;
  font-weight: 400;
}

.nos-hero-tag {
  display: inline-block;
  font-family: var(--font-display);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--primary);
  border: 1px solid var(--primary);
  padding: .35rem .9rem;
  margin-right: .5rem;
  margin-bottom: .5rem;
}

/* --- Stats strip --- */
.nos-stats {
  background: var(--primary);
  padding: 2rem 0;
}

.nos-stats-inner {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.nos-stat-item {
  text-align: center;
}

.nos-stat-num {
  font-family: var(--font-display);
  font-size: 3rem;
  color: #fff;
  line-height: 1;
}

.nos-stat-lbl {
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .75);
}

.nos-stat-sep {
  width: 1px;
  height: 50px;
  background: rgba(255, 255, 255, .25);
}

/* --- Fundacion --- */
.nos-fundacion {
  padding: 8rem 0;
  background: #111111;
  position: relative;
  overflow: hidden;
}

.nos-fundacion::before {
  content: 'SHINERAY';
  position: absolute;
  right: -2rem;
  top: 50%;
  transform: translateY(-50%) rotate(90deg);
  font-family: var(--font-display);
  font-size: 8rem;
  color: rgba(255, 255, 255, .02);
  white-space: nowrap;
  user-select: none;
}

.nos-fund-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}

.nos-fund-img-wrap {
  position: relative;
}

.nos-fund-img-frame {
  width: 100%;
  aspect-ratio: 4/3;
  background-color: #111;
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  clip-path: polygon(0 0, 92% 0, 100% 8%, 100% 100%, 8% 100%, 0 92%);
  position: relative;
}

.nos-fund-img-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid rgba(209, 25, 32, .3);
  clip-path: polygon(0 0, 92% 0, 100% 8%, 100% 100%, 8% 100%, 0 92%);
}

.nos-fund-badge {
  position: absolute;
  bottom: -1.5rem;
  right: -1.5rem;
  width: 100px;
  height: 100px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.nos-fund-badge span:first-child {
  font-family: var(--font-display);
  font-size: 2rem;
  color: #fff;
  line-height: 1;
}

.nos-fund-badge span:last-child {
  font-size: .55rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .8);
}

.nos-fund-text {
  padding: 1rem 0;
}

.nos-fund-text .nos-label {
  margin-bottom: 1.2rem;
}

.nos-fund-text .nos-title {
  margin-bottom: 1rem;
}

.nos-fund-text .nos-title span {
  display: block;
}

.nos-fund-body {
  font-size: 1.05rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, .6);
  margin-bottom: 2rem;
  font-family: var(--font-sans);
  font-weight: 400;
  text-transform: none;
}

.nos-sectors {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
}

.nos-sector-chip {
  font-family: var(--font-display);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .4rem 1rem;
  border-left: 2px solid var(--primary);
  background: rgba(209, 25, 32, .07);
  color: rgba(255, 255, 255, .8);
}

/* --- Timeline (Camino) --- */
.nos-camino {
  padding: 8rem 0;
  background: #0a0a0a;
  position: relative;
}

.nos-camino-header {
  text-align: center;
  margin-bottom: 5rem;
}

.nos-camino-header .nos-title {
  margin-top: .5rem;
}

.nos-timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.nos-tl-line {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, transparent, var(--primary) 10%, var(--primary) 90%, transparent);
  transform: translateX(-50%);
}

.nos-tl-item {
  display: grid;
  grid-template-columns: 1fr 60px 1fr;
  align-items: center;
  margin-bottom: 3rem;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .6s, transform .6s;
}

.nos-tl-item.nos-visible {
  opacity: 1;
  transform: translateY(0);
}

.nos-tl-left {
  text-align: right;
  padding-right: 2.5rem;
}

.nos-tl-right {
  padding-left: 2.5rem;
}

.nos-tl-item:nth-child(even) .nos-tl-left {
  order: 3;
  text-align: left;
  padding-right: 0;
  padding-left: 2.5rem;
}

.nos-tl-item:nth-child(even) .nos-tl-center {
  order: 2;
}

.nos-tl-item:nth-child(even) .nos-tl-right {
  order: 1;
  text-align: right;
  padding-left: 0;
  padding-right: 2.5rem;
}

.nos-tl-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
}

.nos-tl-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 4px rgba(209, 25, 32, .2);
  flex-shrink: 0;
}

.nos-tl-year {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--primary);
  line-height: 1;
}

.nos-tl-desc {
  font-size: .9rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, .6);
  font-family: var(--font-sans);
  font-weight: 400;
  text-transform: none;
}

.nos-tl-highlight {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: #fff;
  margin-bottom: .25rem;
  text-transform: uppercase;
}

/* --- Global --- */
.nos-global {
  padding: 8rem 0;
  background: #111111;
  position: relative;
  overflow: hidden;
}

.nos-global-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 4rem;
  flex-wrap: wrap;
  gap: 2rem;
}

.nos-global-desc {
  max-width: 420px;
  font-size: .95rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, .55);
  font-family: var(--font-sans);
  font-weight: 400;
  text-transform: none;
}

.nos-world-wrap {
  position: relative;
  background: rgba(255, 255, 255, .02);
  border: 1px solid rgba(255, 255, 255, .06);
  padding: 3rem;
  margin-bottom: 4rem;
  overflow: hidden;
}

.nos-world-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 60% 50%, rgba(209, 25, 32, .06) 0%, transparent 70%);
}

.nos-world-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  position: relative;
  z-index: 1;
}

.nos-world-card {
  background: rgba(255, 255, 255, .03);
  border: 1px solid rgba(255, 255, 255, .05);
  padding: 2.5rem 2rem;
  text-align: center;
  transition: background .3s, border-color .3s;
}

.nos-world-card:hover {
  background: rgba(209, 25, 32, .05);
  border-color: rgba(209, 25, 32, .2);
}

.nos-wc-num {
  font-family: var(--font-display);
  font-size: 4rem;
  color: var(--primary);
  line-height: 1;
}

.nos-wc-label {
  font-family: var(--font-display);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .45);
  margin-top: .5rem;
}

.nos-global-body {
  font-size: 1rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, .6);
  max-width: 820px;
  font-family: var(--font-sans);
  font-weight: 400;
  text-transform: none;
}

.nos-global-body strong {
  color: var(--primary);
  font-weight: 700;
}

/* --- Vision (4 pilares) --- */
.nos-vision {
  padding: 8rem 0;
  background: #0a0a0a;
}

.nos-vision-header {
  margin-bottom: 4rem;
}

.nos-vision-subtitle {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, .4);
  margin-top: .5rem;
  font-style: italic;
  font-family: var(--font-sans);
  text-transform: none;
  font-weight: 400;
}

.nos-pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, .05);
}

.nos-pillar {
  background: #0a0a0a;
  padding: 3rem 2rem;
  position: relative;
  overflow: hidden;
  transition: background .4s;
}

.nos-pillar::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  width: 0;
  background: var(--primary);
  transition: width .4s;
}

.nos-pillar:hover {
  background: #1a1a1a;
}

.nos-pillar:hover::before {
  width: 100%;
}

.nos-pillar-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 1.5rem;
  opacity: .7;
}

.nos-pillar-icon svg {
  width: 100%;
  height: 100%;
}

.nos-pillar-name {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: #fff;
  margin-bottom: 1rem;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.nos-pillar-body {
  font-size: .85rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, .5);
  font-family: var(--font-sans);
  font-weight: 400;
  text-transform: none;
}

.nos-pillar-body strong {
  color: var(--primary);
  font-weight: 700;
}

.nos-pillar-num {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-family: var(--font-display);
  font-size: 4rem;
  color: rgba(255, 255, 255, .04);
  line-height: 1;
  user-select: none;
}

/* --- Brand --- */
.nos-brand {
  padding: 8rem 0;
  background: #111111;
  position: relative;
  overflow: hidden;
}

.nos-brand::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23d11920' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.nos-brand-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.nos-brand-years {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .75rem;
}

.nos-brand-year-card {
  background: #1a1a1a;
  border-top: 2px solid var(--primary);
  padding: 1.5rem;
  transition: transform .3s;
}

.nos-brand-year-card:hover {
  transform: translateY(-4px);
}

.nos-byc-year {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--primary);
}

.nos-byc-text {
  font-size: .82rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, .55);
  margin-top: .25rem;
  font-family: var(--font-sans);
  font-weight: 400;
  text-transform: none;
}

.nos-brand-text .nos-label {
  margin-bottom: 1rem;
}

.nos-brand-text .nos-title {
  margin-bottom: 1.5rem;
}

.nos-brand-body {
  font-size: 1rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, .6);
  font-family: var(--font-sans);
  font-weight: 400;
  text-transform: none;
}

/* --- Scroll Reveal --- */
.nos-reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .7s ease, transform .7s ease;
}

.nos-reveal.nos-visible {
  opacity: 1;
  transform: translateY(0);
}

.nos-reveal-d1 {
  transition-delay: .1s;
}

.nos-reveal-d2 {
  transition-delay: .2s;
}

.nos-reveal-d3 {
  transition-delay: .3s;
}

/* --- Nosotros Responsive --- */
@media (max-width: 900px) {
  .nos-fund-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .nos-fund-img-wrap {
    max-width: 500px;
    margin: 0 auto;
  }

  .nos-pillars {
    grid-template-columns: 1fr 1fr;
  }

  .nos-brand-grid {
    grid-template-columns: 1fr;
  }

  .nos-global-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .nos-world-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .nos-pillars {
    grid-template-columns: 1fr;
  }

  .nos-tl-line {
    left: 20px;
  }

  .nos-tl-item {
    grid-template-columns: 40px 1fr;
  }

  .nos-tl-left,
  .nos-tl-item:nth-child(even) .nos-tl-right {
    display: none;
  }

  .nos-tl-right,
  .nos-tl-item:nth-child(even) .nos-tl-left {
    text-align: left !important;
    padding-left: 1.5rem !important;
    padding-right: 0 !important;
    order: 2 !important;
  }

  .nos-tl-center {
    order: 1 !important;
  }

  .nos-stat-sep {
    display: none;
  }

  .nos-brand-years {
    grid-template-columns: 1fr;
  }

  .nos-world-wrap {
    padding: 1.5rem;
  }

  .nos-hero-content {
    padding: 0 1rem 5rem;
  }

  .nos-hero-year {
    display: none;
  }
}

.seccion-iconos {
  background-color: var(--secondary);
  overflow: hidden;
  padding: 8rem 0;
  /* Aumentado para que no se corten las animaciones */
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4rem;
  /* Espacio extra entre las imágenes */
}

.seccion-iconos img {
  width: 100%;
  /* Reducido un 10% respecto al 150% anterior */
  max-width: 100%;
  height: auto;
}

/* Efectos de scroll para iconos */
@supports (animation-timeline: view()) {

  /* La primera entra de arriba a abajo */
  .seccion-iconos .img-iconos {
    animation: slideDownIn linear both !important;
    animation-timeline: view() !important;
    animation-range: cover 0% cover 50% !important;
    transform: none;
    opacity: 1;
  }

  /* La segunda entra de abajo a arriba */
  .seccion-iconos .img-garantias {
    animation: slideUpIn linear both !important;
    animation-timeline: view() !important;
    animation-range: cover 0% cover 50% !important;
    transform: none;
    opacity: 1;
    animation-delay: 0s;
  }
}

@keyframes slideDownIn {
  0% {
    transform: translateY(-150px);
    opacity: 0;
  }

  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes slideUpIn {
  0% {
    transform: translateY(150px);
    opacity: 0;
  }

  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

/* ============== HEADER DIVIDIDO Y STICKY ============== */
.header-split-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

.header-text {
  position: relative;
  z-index: 2;
  /* Asegura que el texto siempre quede por encima de la imagen ampliada */
}

.sticky-container {
  /* Permite que los elementos se adhieran mientras se hace scroll en el otro */
  align-items: flex-start;
}

.garantia-img-wrap {
  overflow: visible;
  display: flex;
  justify-content: center;
  margin-top: 1rem;
}

.garantia-img {
  width: 100%;
  height: auto;
  max-width: 100%;
}

@media (min-width: 768px) {
  .header-split-grid {
    grid-template-columns: 1fr 1fr;
  }

  .sticky-media {
    position: sticky;
    top: 7rem;
    /* Se queda fijo dejando espacio para el menú */
    z-index: 1;
  }

  .garantia-img-wrap {
    margin-top: 3rem;
    /* Baja la imagen un poco en escritorio */
  }

  .garantia-img {
    width: 210%;
    max-width: 210%;
    transform: translateX(-25%);
  }
}

/* Lista de garantías */
.garantia-list {
  list-style: none;
  margin-top: 2rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.garantia-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.8);
}

/* Efecto de scroll para que cada fila se vaya a la izquierda */
@supports (animation-timeline: view()) {

  .garantia-list li,
  .header-text h1 {
    animation: slideLeftOnScroll linear both;
    animation-timeline: view();
    /* Empieza a moverse cuando está en el 20% superior de la pantalla, antes de esconderse bajo el menú */
    animation-range: cover 80% cover 100%;
  }
}

@keyframes slideLeftOnScroll {
  0% {
    transform: translateX(0);
    opacity: 1;
  }

  100% {
    transform: translateX(-150px);
    opacity: 0;
  }
}

.garantia-list li strong {
  color: var(--primary);
}

.garantia-list li svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 4px;
}

/* ============== TABLA DE MANTENIMIENTO ============== */
.seccion-tabla {
  background-color: var(--surface);
  padding: 2rem 1rem 1rem;
  text-align: center;
}

@media (min-width: 768px) {
  .seccion-tabla {
    padding: 4rem 1rem 1rem;
  }
}

.seccion-tabla .section-eyebrow {
  color: var(--primary);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.mant-section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.5rem);
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: 0.5rem;
}

.mant-section-sub {
  color: var(--muted-fg);
  font-size: 1rem;
  margin-bottom: 3rem;
}

.tabla-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  overflow-x: auto;
  /* Para que haga scroll horizontal en pantallas pequeñas */
  background: #fff;
}

.seccion-tabla table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  min-width: 1000px;
  /* Evita que la tabla se haga demasiado estrecha en móvil */
}

.seccion-tabla th,
.seccion-tabla td {
  border: 1px solid var(--secondary);
  padding: 0.75rem 0.5rem;
  text-align: center;
  vertical-align: middle;
}

/* Colores de fondo */
.seccion-tabla .bg-grey,
.seccion-tabla .row-label {
  background-color: #929497;
  color: var(--secondary);
  font-weight: 700;
}

.seccion-tabla .bg-red,
.seccion-tabla .model-label {
  background-color: var(--primary);
  color: #fff;
  font-weight: 700;
}

.seccion-tabla .bg-light-orange {
  background-color: #fdb95b;
  color: var(--secondary);
  font-weight: 700;
}

.seccion-tabla .bg-orange {
  background-color: #f39c12;
  color: var(--secondary);
  font-weight: 700;
}

.seccion-tabla .price-label {
  background-color: #f8f8f8;
  color: var(--secondary);
  font-size: 0.8rem;
}

.seccion-tabla tbody td:not(.row-label):not(.model-label):not(.price-label) {
  background-color: #ffffff;
  color: var(--secondary);
  font-weight: 500;
}

/* ============== DISCLAIMER TABLA ============== */
.mant-disclaimer {
  background-color: var(--surface);
  padding: 1rem 2rem 4rem;
  text-align: center;
}

.mant-disclaimer p {
  max-width: 1200px;
  margin: 0 auto;
  font-size: 0.75rem;
  color: var(--muted-fg);
  line-height: 1.6;
  text-align: justify;
}