/* =========================================================
   LUXVEN ENERGY — Hoja de estilos principal
   ========================================================= */

/* ---------- Fuentes locales ---------- */
@font-face {
  font-family: "Orbitron";
  src: url("../fonts/orbitron/Orbitron-Regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Orbitron";
  src: url("../fonts/orbitron/Orbitron-Medium.ttf") format("truetype");
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "Orbitron";
  src: url("../fonts/orbitron/Orbitron-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "Orbitron";
  src: url("../fonts/orbitron/Orbitron-Bold.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: "Orbitron";
  src: url("../fonts/orbitron/Orbitron-ExtraBold.ttf") format("truetype");
  font-weight: 800;
  font-display: swap;
}
@font-face {
  font-family: "Orbitron";
  src: url("../fonts/orbitron/Orbitron-Black.ttf") format("truetype");
  font-weight: 900;
  font-display: swap;
}

@font-face {
  font-family: "Playfair Display";
  src: url("../fonts/playfair/PlayfairDisplay-Regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Playfair Display";
  src: url("../fonts/playfair/PlayfairDisplay-Medium.ttf") format("truetype");
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "Playfair Display";
  src: url("../fonts/playfair/PlayfairDisplay-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "Playfair Display";
  src: url("../fonts/playfair/PlayfairDisplay-Bold.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: "Playfair Display";
  src: url("../fonts/playfair/PlayfairDisplay-Italic.ttf") format("truetype");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Playfair Display";
  src: url("../fonts/playfair/PlayfairDisplay-MediumItalic.ttf") format("truetype");
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Roboto Slab";
  src: url("../fonts/robotoslab/RobotoSlab-Light.ttf") format("truetype");
  font-weight: 300;
  font-display: swap;
}
@font-face {
  font-family: "Roboto Slab";
  src: url("../fonts/robotoslab/RobotoSlab-Regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Roboto Slab";
  src: url("../fonts/robotoslab/RobotoSlab-Medium.ttf") format("truetype");
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "Roboto Slab";
  src: url("../fonts/robotoslab/RobotoSlab-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "Roboto Slab";
  src: url("../fonts/robotoslab/RobotoSlab-Bold.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: "Nulshock";
  src: url("../fonts/nulshock/Nulshock-Bold.otf") format("opentype");
  font-weight: 700;
  font-display: swap;
}

/* ---------- Variables de marca ---------- */
:root {
  --lux-black: #0d0d0d;
  --lux-black-soft: #161616;
  --lux-gray-light: #cccccc;
  --lux-gray: #ababab;
  --lux-red: #bf212e;
  --lux-green: #05592a;
  --lux-white: #ffffff;

  --font-title: "Orbitron", sans-serif;
  --font-subtitle: "Playfair Display", serif;
  --font-logo: "Nulshock", "Orbitron", sans-serif;
  --font-body: "Roboto Slab", serif;

  --container-max: 1280px;
}

/* ---------- Base ---------- */
html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--lux-black);
  background-color: var(--lux-white);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-title);
  letter-spacing: 0.02em;
  margin-bottom: 0;
}

.font-subtitle {
  font-family: var(--font-subtitle);
}

.section-eyebrow {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--lux-green);
}

.section-eyebrow.on-dark {
  color: #7fbf9c;
}

.section-title {
  font-size: clamp(1.8rem, 3.2vw, 2.75rem);
  font-weight: 700;
  color: var(--lux-black);
  margin-top: 0.5rem;
}

.section-title.on-dark {
  color: var(--lux-white);
}

.section-lede {
  font-family: var(--font-subtitle);
  font-size: 1.15rem;
  color: #3a3a3a;
  max-width: 640px;
}

.section-lede.on-dark {
  color: var(--lux-gray-light);
}

section {
  position: relative;
}

.bg-dark-luxven {
  background-color: var(--lux-black);
}

.bg-gray-luxven {
  background-color: #f4f4f4;
}

.text-luxven-green {
  color: var(--lux-green) !important;
}
.text-luxven-red {
  color: var(--lux-red) !important;
}

/* ---------- Botones ---------- */
.btn-luxven-red {
  background-color: var(--lux-red);
  border: 1px solid var(--lux-red);
  color: var(--lux-white);
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.9rem;
  padding: 0.85rem 2.1rem;
  border-radius: 2px;
  transition: all 0.25s ease;
}
.btn-luxven-red:hover,
.btn-luxven-red:focus {
  background-color: transparent;
  color: var(--lux-red);
  border-color: var(--lux-red);
}

.btn-luxven-outline {
  background-color: transparent;
  border: 1px solid var(--lux-gray);
  color: var(--lux-white);
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.9rem;
  padding: 0.85rem 2.1rem;
  border-radius: 2px;
  transition: all 0.25s ease;
}
.btn-luxven-outline:hover {
  background-color: var(--lux-white);
  color: var(--lux-black);
  border-color: var(--lux-white);
}

.btn-luxven-green {
  background-color: var(--lux-green);
  border: 1px solid var(--lux-green);
  color: var(--lux-white);
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.9rem;
  padding: 0.85rem 2.1rem;
  border-radius: 2px;
  transition: all 0.25s ease;
}
.btn-luxven-green:hover {
  background-color: transparent;
  color: var(--lux-green);
}

/* ---------- Navbar ---------- */
.navbar-luxven {
  background-color: rgba(13, 13, 13, 0.92);
  backdrop-filter: blur(6px);
  padding-top: 0.6rem;
  padding-bottom: 0.6rem;
  transition: padding 0.25s ease;
}

.navbar-luxven .navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.navbar-luxven .navbar-brand img {
  height: 46px;
  width: auto;
}

.navbar-brand-text {
  font-family: var(--font-logo);
  font-weight: 700;
  font-size: 1.35rem;
  line-height: 1;
  letter-spacing: 0.03em;
  color: var(--lux-gray-light);
  white-space: nowrap;
}

@media (max-width: 420px) {
  .navbar-luxven .navbar-brand { margin-right: 0.5rem; gap: 0.45rem; }
  .navbar-luxven .navbar-brand img { height: 36px; }
  .navbar-brand-text { font-size: 1rem; }
}

.navbar-luxven .nav-link {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.92rem;
  letter-spacing: 0.03em;
  color: var(--lux-gray-light) !important;
  padding: 0.5rem 1rem !important;
  transition: color 0.2s ease;
}

.navbar-luxven .nav-link:hover,
.navbar-luxven .nav-link.active {
  color: var(--lux-white) !important;
}

.navbar-luxven .btn-luxven-red {
  padding: 0.6rem 1.5rem;
  font-size: 0.85rem;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: var(--lux-black);
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(13,13,13,0.75) 0%, rgba(13,13,13,0.45) 35%, rgba(13,13,13,0.55) 70%, rgba(13,13,13,0.98) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 6rem;
}

.hero-eyebrow {
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  font-size: 0.85rem;
  color: var(--lux-gray-light);
}

.hero-title {
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  font-weight: 800;
  color: var(--lux-white);
  line-height: 1.08;
  text-shadow: 0 4px 24px rgba(0,0,0,0.4);
}

.hero-title .accent {
  color: var(--lux-red);
}

.hero-subtitle {
  font-family: var(--font-subtitle);
  font-style: italic;
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  color: var(--lux-gray-light);
  max-width: 700px;
  margin-top: 1.5rem;
}

.hero-scroll-cue {
  position: absolute;
  bottom: 1.75rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: var(--lux-gray-light);
  font-size: 1.5rem;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(10px); }
}

/* ---------- Beneficios ---------- */
.benefit-card {
  background-color: var(--lux-black-soft);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 6px;
  padding: 1.9rem 1.6rem;
  height: 100%;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.benefit-card:hover {
  transform: translateY(-4px);
  border-color: var(--lux-green);
}

.benefit-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--lux-green), #0a7d3b);
  color: var(--lux-white);
  font-size: 1.4rem;
  margin-bottom: 1.1rem;
}

.benefit-card h3 {
  color: var(--lux-white);
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
}

.benefit-card p {
  color: var(--lux-gray-light);
  font-size: 0.92rem;
  margin-bottom: 0;
}

.video-frame {
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 20px 50px rgba(0,0,0,0.45);
}

/* ---------- Galería horizontal (Productos / Ubicaciones) ---------- */
.gallery-wrap {
  position: relative;
}

.gallery-frame {
  position: relative;
}

.gallery-track {
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-left: 4px;
  padding: 4px 4px 1.5rem;
  margin-bottom: -1rem;
  scrollbar-width: none;
}

.gallery-track::-webkit-scrollbar {
  display: none;
}

.gallery-track > * {
  scroll-snap-align: start;
  flex: 0 0 auto;
}

/* Franja con degradado + flecha en cada extremo, indicando que hay más contenido */
.gallery-edge {
  position: absolute;
  top: 0;
  bottom: 1.5rem;
  width: 90px;
  max-width: 22%;
  border: 0;
  padding: 0;
  margin: 0;
  background: none;
  font: inherit;
  display: flex;
  align-items: center;
  z-index: 2;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.25s ease;
  pointer-events: none;
}

.gallery-edge.is-hidden {
  opacity: 0;
  visibility: hidden;
}

.gallery-edge::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.gallery-edge-left {
  left: 0;
  justify-content: flex-start;
}
.gallery-edge-left::before {
  background: linear-gradient(90deg, var(--lux-white) 0%, rgba(255,255,255,0) 100%);
}

.gallery-edge-right {
  right: 0;
  justify-content: flex-end;
}
.gallery-edge-right::before {
  background: linear-gradient(270deg, var(--lux-white) 0%, rgba(255,255,255,0) 100%);
}

.gallery-edge .gallery-btn {
  position: relative;
  pointer-events: auto;
  margin: 0 0.6rem;
}

.gallery-btn {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  border: 1px solid #d8d8d8;
  background-color: var(--lux-white);
  color: var(--lux-black);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: 0 6px 16px rgba(0,0,0,0.12);
  transition: all 0.2s ease;
}

.gallery-btn:hover {
  background-color: var(--lux-green);
  border-color: var(--lux-green);
  color: var(--lux-white);
}

@media (max-width: 575.98px) {
  .gallery-edge { width: 60px; }
  .gallery-btn { width: 2.5rem; height: 2.5rem; font-size: 1rem; }
}

/* ---------- Productos ---------- */
.product-card {
  background-color: var(--lux-white);
  border: 1px solid #e6e6e6;
  border-radius: 8px;
  overflow: hidden;
  height: 100%;
  width: 78vw;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

@media (min-width: 576px) {
  .product-card { width: 320px; }
}

.product-card:hover {
  box-shadow: 0 18px 40px rgba(0,0,0,0.12);
  transform: translateY(-4px);
}

.product-img-wrap {
  background: linear-gradient(160deg, #f2f2f2 0%, #e2e2e2 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  height: 230px;
}

.product-img-wrap img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
}

.product-body {
  padding: 1.1rem 1.25rem 1.4rem;
}

.product-body h3 {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  color: var(--lux-black);
  margin-bottom: 0.4rem;
}

.product-badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--lux-green);
  background: rgba(5, 89, 42, 0.08);
  border-radius: 20px;
  padding: 0.25rem 0.7rem;
  margin-bottom: 0.6rem;
}

.product-body p {
  font-size: 0.87rem;
  color: #4a4a4a;
  margin-bottom: 0;
}

/* ---------- Consumo / Recibos ---------- */
.receipt-card {
  background-color: var(--lux-white);
  border-radius: 10px;
  border: 1px solid #e6e6e6;
  padding: 1.2rem;
  box-shadow: 0 16px 40px rgba(0,0,0,0.08);
}

.receipt-card img {
  border-radius: 6px;
  width: 100%;
  height: auto;
}

.step-number {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background-color: var(--lux-green);
  color: var(--lux-white);
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ---------- Ubicaciones ---------- */
.location-card {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  height: 420px;
  width: 82vw;
}

@media (min-width: 576px) {
  .location-card { width: 360px; }
}

.location-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.location-card:hover img {
  transform: scale(1.06);
}

.location-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(13,13,13,0) 30%, rgba(13,13,13,0.92) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
}

.location-overlay h3 {
  color: var(--lux-white);
  font-family: var(--font-title);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.location-overlay p {
  color: var(--lux-gray-light);
  font-size: 0.88rem;
  margin-bottom: 0;
}

/* ---------- Contacto ---------- */
.contact-form-wrap {
  background-color: var(--lux-black-soft);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  padding: 2.2rem;
}

.form-label-luxven {
  color: var(--lux-gray-light);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}

.form-control-luxven,
.form-select-luxven {
  background-color: #1e1e1e;
  border: 1px solid #3a3a3a;
  color: var(--lux-white);
  font-family: var(--font-body);
  padding: 0.65rem 0.9rem;
  border-radius: 4px;
}

.form-control-luxven::placeholder {
  color: #7a7a7a;
}

.form-control-luxven:focus,
.form-select-luxven:focus {
  background-color: #1e1e1e;
  border-color: var(--lux-green);
  color: var(--lux-white);
  box-shadow: 0 0 0 0.2rem rgba(5, 89, 42, 0.25);
}

.form-select-luxven option {
  background-color: #1e1e1e;
  color: var(--lux-white);
}

.contact-side-info {
  color: var(--lux-gray-light);
}

.contact-side-info .info-item {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  margin-bottom: 1.4rem;
}

.contact-side-info .info-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(191, 33, 46, 0.12);
  color: var(--lux-red);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ---------- Footer ---------- */
.footer-luxven {
  background-color: #050505;
  color: var(--lux-gray);
  padding: 3rem 0 1.5rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1rem;
}

.footer-luxven img {
  height: 46px;
}

.footer-brand .navbar-brand-text {
  font-size: 1.3rem;
  color: var(--lux-white);
}

.footer-luxven h4 {
  font-family: var(--font-body);
  color: var(--lux-white);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.footer-luxven a {
  color: var(--lux-gray);
  text-decoration: none;
  font-size: 0.9rem;
}

.footer-luxven a:hover {
  color: var(--lux-white);
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid #3a3a3a;
  margin-right: 0.5rem;
}

.footer-social a:hover {
  border-color: var(--lux-green);
  background-color: var(--lux-green);
}

.footer-bottom {
  border-top: 1px solid #262626;
  margin-top: 2.2rem;
  padding-top: 1.2rem;
  font-size: 0.8rem;
  color: #7a7a7a;
}

/* ---------- Utilidades ---------- */
.section-py {
  padding-top: clamp(3.5rem, 6vw, 6.5rem);
  padding-bottom: clamp(3.5rem, 6vw, 6.5rem);
}

.divider-accent {
  width: 60px;
  height: 4px;
  background: var(--lux-green);
  border-radius: 2px;
  margin: 1rem 0 1.5rem;
}

@media (max-width: 991.98px) {
  .location-card { height: 320px; }
}
