/* =========================================================
   CONFIGURACIÓN Y PALETA DE COLORES CORPORATIVA HEXATEX
   ========================================================= */
:root {
  --bg-dark-base: #06090E;
  --bg-card: rgba(14, 20, 30, 0.92);
  --gold-primary: #D4AF37;
  --gold-gradient: linear-gradient(135deg, #C5A039 0%, #FDF8C4 30%, #B88E28 65%, #AA771C 100%);
  --text-white: #FFFFFF;
  --text-gray: #B0B9C6;
  --border-gold-subtle: rgba(212, 175, 55, 0.25);
}

/* RESET ESTRUCTURAL RIGUROSO */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: var(--bg-dark-base);
  
  /* TEXTURA DE FONDO DE HEXÁGONOS APLICADA CORRECTAMENTE */
  background-image: url('img/fondo_hexagonos.png');
  background-repeat: no-repeat;
  background-position: center top;
  background-size: cover;
  background-attachment: fixed;
  
  color: var(--text-white);
  line-height: 1.5;
  overflow-x: hidden;
}

/* CONTROL GLOBAL PARA QUE NINGUNA IMAGEN DESBORDE */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

h1, h2, h3, h4 {
  font-family: 'Cinzel', Georgia, serif;
}

.container {
  width: 92%;
  max-width: 1300px;
  margin: 0 auto;
}

.gold-text {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* =========================================================
   1. HEADER / NAVBAR
   ========================================================= */
.navbar {
  background-color: rgba(6, 9, 14, 0.95);
  border-bottom: 1px solid var(--border-gold-subtle);
  position: sticky;
  top: 0;
  z-index: 999;
  padding: 12px 0;
  backdrop-filter: blur(8px);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.img-nav-logo {
  height: 48px !important;
  width: auto !important;
  max-height: 48px !important;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.img-nav-logo:hover {
  transform: scale(1.03);
}

.nav-links a {
  color: var(--text-white);
  text-decoration: none;
  margin: 0 18px;
  font-size: 0.92rem;
  font-weight: 400;
  transition: color 0.3s ease;
}

.nav-links a:hover, .nav-links a.active {
  color: var(--gold-primary);
}

.btn-gold-outline {
  border: 1px solid var(--gold-primary);
  color: var(--gold-primary);
  padding: 8px 22px;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  display: inline-block;
}

.btn-gold-outline:hover {
  background: var(--gold-gradient);
  color: #000;
  box-shadow: 0 0 12px rgba(212, 175, 55, 0.3);
}

/* =========================================================
   2. HERO SECTION
   ========================================================= */
.hero {
  position: relative;
  min-height: 85vh;
  background: linear-gradient(180deg, rgba(6,9,14,0.7) 0%, rgba(6,9,14,0.9) 100%), url('img/images (3).jpeg') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 0;
  border-bottom: 1px solid var(--border-gold-subtle);
}

.hero-badge {
  display: flex;
  justify-content: center;
  margin-bottom: 25px;
}

.img-hero-logo {
  height: 110px !important;
  width: auto !important;
  max-height: 110px !important;
  object-fit: contain;
  filter: drop-shadow(0 0 15px rgba(212, 175, 55, 0.4));
}

.floating-anim {
  animation: heroFloat 4s ease-in-out infinite;
}

@keyframes heroFloat {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-7px); }
  100% { transform: translateY(0px); }
}

.hero-title {
  font-size: 3rem;
  line-height: 1.25;
  margin-bottom: 18px;
  letter-spacing: 2px;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-gray);
  margin-bottom: 35px;
  font-weight: 300;
}

.btn-hero-outline {
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: var(--text-white);
  padding: 14px 32px;
  text-decoration: none;
  font-size: 0.88rem;
  letter-spacing: 1px;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-block;
  background: rgba(0,0,0,0.4);
}

.btn-hero-outline:hover {
  border-color: var(--gold-primary);
  color: var(--gold-primary);
  transform: translateY(-2px);
}

/* =========================================================
   3. SECCIÓN INTERMEDIA & TARJETAS
   ========================================================= */
.hover-card {
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.hover-card:hover {
  transform: translateY(-5px);
  border-color: var(--gold-primary) !important;
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.15);
}

.mid-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin: 60px auto;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-gold-subtle);
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  border-radius: 4px;
  backdrop-filter: blur(5px);
}

.feature-media img {
  width: 140px;
  height: 120px;
  object-fit: cover;
  border-radius: 2px;
  border: 1px solid rgba(255,255,255,0.1);
}

.feature-info h3 {
  color: var(--text-white);
  font-size: 1.3rem;
  margin-bottom: 8px;
}

.feature-info p {
  color: var(--text-gray);
  font-size: 0.88rem;
  margin-bottom: 12px;
}

.link-gold {
  color: var(--gold-primary);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 1px;
  transition: padding-left 0.3s ease;
}

.link-gold:hover {
  padding-left: 4px;
}

/* =========================================================
   4. CATÁLOGO DE TELAS
   ========================================================= */
.telas-section {
  padding: 40px 0 80px 0;
}

.telas-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.tela-title {
  font-size: 1.4rem;
  margin-bottom: 18px;
  text-align: center;
}

.tela-column {
  background: var(--bg-card);
  border: 1px solid var(--border-gold-subtle);
  padding: 18px;
  border-radius: 4px;
  backdrop-filter: blur(5px);
}

.tela-images-top img {
  width: 100%;
  height: 170px;
  object-fit: cover;
  margin-bottom: 15px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 2px;
}

.tela-details-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 12px;
}

.tela-text h3 {
  font-size: 1.3rem;
  color: var(--gold-primary);
}

.tela-use {
  display: block;
  font-size: 0.78rem;
  color: var(--text-gray);
  margin-bottom: 8px;
}

.tela-text p {
  font-size: 0.82rem;
  color: var(--text-gray);
  margin-bottom: 10px;
}

.tela-specs {
  list-style: none;
  font-size: 0.78rem;
  color: var(--text-white);
}

.tela-specs li {
  margin-bottom: 4px;
}

.tela-model-img img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border: 1px solid var(--border-gold-subtle);
  border-radius: 2px;
}

/* =========================================================
   5. SUBLIMACIÓN EN CALANDRA
   ========================================================= */
.calandra-banner {
  background: rgba(14, 20, 30, 0.95);
  border-top: 1px solid var(--border-gold-subtle);
  border-bottom: 1px solid var(--border-gold-subtle);
  padding: 60px 0;
  text-align: center;
  margin-bottom: 60px;
  backdrop-filter: blur(5px);
}

.calandra-content h2 {
  font-size: 2.2rem;
  color: var(--gold-primary);
  margin-bottom: 15px;
}

.calandra-lead {
  font-size: 1.1rem;
  max-width: 900px;
  margin: 0 auto 15px auto;
  color: var(--text-white);
}

.calandra-desc {
  font-size: 0.9rem;
  max-width: 800px;
  margin: 0 auto;
  color: var(--text-gray);
}

/* =========================================================
   6. FOOTER
   ========================================================= */
.footer {
  background: #030508;
  border-top: 1px solid var(--border-gold-subtle);
  padding-top: 50px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}

.img-footer-logo {
  height: 45px !important;
  width: auto !important;
  max-height: 45px !important;
  object-fit: contain;
  margin-bottom: 15px;
}

.footer-mission {
  font-size: 0.85rem;
  color: var(--text-gray);
}

.footer-col h4 {
  color: var(--gold-primary);
  margin-bottom: 15px;
  font-size: 1.1rem;
}

.footer-col p {
  font-size: 0.88rem;
  color: var(--text-gray);
  margin-bottom: 8px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: 20px 0;
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-gray);
}

/* BOTÓN FLOTANTE WHATSAPP */
.whatsapp-float {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 55px;
  height: 55px;
  background: var(--bg-card);
  border: 1px solid var(--gold-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
  text-decoration: none;
  z-index: 1000;
  padding: 8px;
  transition: transform 0.3s ease;
}

.whatsapp-float img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.whatsapp-float:hover {
  transform: scale(1.1);
}

/* RESPONSIVO */
@media (max-width: 992px) {
  .hero-title { font-size: 2.1rem; }
  .mid-features, .telas-grid, .footer-grid { grid-template-columns: 1fr; }
  .tela-details-grid { grid-template-columns: 1fr; }
}