/* ================= UNIFICADO CSS ================= */

/* ===== scroll principal.css ===== */
/* ======================
   GALERÍA HORIZONTAL
   ====================== */
.gallery {
  position: relative;
  max-width: 90%;
  margin: 24px auto;
  padding: 0 10px;
  overflow: hidden;
}

/* Contenedor del carrusel */
.gallery__viewport {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 80%;
  overflow-x: auto;
  gap: 50px;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.gallery__viewport::-webkit-scrollbar {
  display: none;
}

/* ======================
   SLIDES
   ====================== */
.slide {
  position: relative;
  scroll-snap-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.frame {
  width: 100%;
  height: auto;
  overflow: hidden;
  border-radius: var(--radius-md, 12px);
  box-shadow: var(--shadow-md, 0 6px 18px rgba(0,0,0,0.15));
  background: #000;
}

.frame img {
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center;
  transition: transform 0.6s ease, filter 0.4s ease;
}

/* Efecto leve al pasar el ratón (solo imagen, no flechas) */
.frame:hover img {
  transform: scale(1.03);
  filter: brightness(1.05);
}

/* ======================
   FLECHAS DE NAVEGACIÓN
   ====================== */
.gallery-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.85);
  border: none;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  transition: opacity 0.3s ease;
  z-index: 10;
  backdrop-filter: blur(8px);
}

.gallery-btn svg {
  width: 26px;
  height: 26px;
  stroke: #333;
}

/* Sin hover */
.gallery-btn:hover {
  background: rgba(255, 255, 255, 0.85);
  transform: translateY(-50%);
}

.gallery-btn:hover svg {
  stroke: #333;
}

/* Posición */
.gallery-btn.prev {
  left: 15px;
}

.gallery-btn.next {
  right: 15px;
}

/* ===== FLECHAS AUTO-HIDE ===== */
.gallery-btn {
  opacity: 0;
  pointer-events: none;
}

.gallery:hover .gallery-btn {
  opacity: 1;
  pointer-events: all;
}



/* ===== sobrenosotros.css ===== */
/* ======== VARIABLES Y BASE ======== */
:root {
  --color-primary: #1a1a1a;
  --color-secondary: #555;
  --color-accent: #000;
  --font-main: 'Poppins', sans-serif;
}

/* body reset removed for header fix */

/* ======== HERO ======== */
.hero {
  text-align: center;
  padding: 120px 20px 80px;
  background-color: #fff;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 3.4rem;
  font-weight: 300;
  letter-spacing: 1px;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.divider {
  width: 100px;
  height: 3px;
  background-color: var(--color-accent);
  margin: 0 auto 30px;
  border-radius: 2px;
}

.hero p {
  font-size: 1.2rem;
  color: var(--color-secondary);
  max-width: 700px;
  margin: 0 auto;
}

/* ======== ABOUT ======== */
.about {
  background-color: #fff;
  padding: 100px 20px;
}

.about-content {
  max-width: 1000px;
  margin: 0 auto;
}

.about h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 40px;
}

.about p {
  font-size: 1.1rem;
  color: var(--color-secondary);
  margin-bottom: 25px;
  text-align: justify;
}

/* ======== VALORES ======== */
.about-values {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 60px;
}

.value {
  background: #fff;
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.value:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.value i {
  font-size: 2rem;
  color: var(--color-accent);
  margin-bottom: 15px;
}

.value h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.value p {
  color: var(--color-secondary);
  font-size: 1rem;
}

/* ======== SCROLL REVEAL (MEJORADO SIN BLUR) ======== */
[data-animate] {
  opacity: 0;
  transform: scale(0.97);
  transition: all 0.9s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: opacity, transform;
}

/* Direcciones */
[data-animate="bottom"] { transform: translateY(40px) scale(0.97); }
[data-animate="top"]    { transform: translateY(-40px) scale(0.97); }
[data-animate="left"]   { transform: translateX(-40px) scale(0.97); }
[data-animate="right"]  { transform: translateX(40px) scale(0.97); }

/* Estado visible */
.animate-visible {
  opacity: 1;
  transform: translate(0, 0) scale(1);
}





/* ===== catalogo.css ===== */
/* =========================
   Catálogo y secciones
   ========================= */
.section .grid {
  display: grid;
  gap: var(--gap);
  grid-template-columns: repeat(12, 1fr);
}



.card {
  grid-column: span 4;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--ink-soft);
  border-radius: 18px;
  background: var(--white);
  transition: transform 0.18s ease;
  padding-bottom: 70px;
  width: 80%;
  height: 80%;
}
.card:hover {
  transform: translateY(-3px);
}

.thumb {
  aspect-ratio: 4/3;
  width: 100%;
  object-fit: cover;
  display: block;
  background-color: #F9F9F9;
}

.meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 12px 14px;
  border-top: 1px solid var(--ink-soft);
  color: var(--black-matte);
}
.meta b {
  font-weight: 900;
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.metros {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
  position: relative;
  top: -1px;
}

.view {
  position: absolute;
  right: 5%;
  bottom: 3%;
  z-index: 2;
  background: var(--white);
  color: var(--black-matte);
  text-decoration: none;
  border: 1px solid var(--ink-soft);
  border-radius: 999px;
  padding: 7px 14px;
  font-weight: 500;
  font-size: 0.88rem;
  transition: all 0.2s ease;
}
.card:hover .view {
  box-shadow: 0 0 0 3px rgba(15, 16, 16, 0.05);
}

.sep {
  height: 1px;
  background: var(--ink-soft);
  border: none;
  margin: 38px auto;
  max-width: var(--container);
  opacity: 0.6;
}

/* =========================
   NUEVO TÍTULO “Descubre nuestros modelos”
   ========================= */
.descubre-titulo {
  text-align: center;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 3.4rem;
  font-weight: 300;
  color: var(--black-matte);
  letter-spacing: -0.6px;
  margin: 200px 0 120px; /* 🔹 Aumentado el margen inferior */
  line-height: 1.1;
}

/* =========================
   Centrar títulos y textos
   ========================= */
.section h2 {
  text-align: center;
}
.section .lead {
  text-align: center;
}
.badge {
  border: 1px solid var(--ink-soft);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 0.82rem;
  margin-left: 8px;
}
/* =========================
   Animación al hacer scroll
   ========================= */
.card {
  opacity: 0;
  transform: translateX(-60px);
  transition: all 0.8s ease;
}

.card.show {
  opacity: 1;
  transform: translateX(0);
}

