
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&display=swap');

:root {
  --black: #0a0a0a;
  --gold: #bf9456;
  --gold-light: #d4b07a;
  --white: #ffffff;
  --gray: #1a1a1a;
  --dark-gray: #111111;
  --text: #f0f0f0;
  --card-bg: #1e1e1e;
  --light-black: #222222;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Montserrat', sans-serif;
  background: var(--black);
  color: var(--text);
  line-height: 1.6;
  font-size: 17px;
}

/* ========== HEADER / MENÚ ========== */
.main-header {
  background: #0a0a0a;
  border-bottom: 1px solid #333;
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  box-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.header-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 25px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo {
  height: 55px;
  width: auto;
  display: block;
}

/* Navegación Desktop */
.main-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 8px;
  align-items: center;
}

.main-nav a {
  color: #ffffff;
  text-decoration: none;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 8px 14px;
  transition: color 0.25s ease;
  position: relative;
}

.main-nav a:hover,
.main-nav a.active {
  color: #bf9456;
}

.main-nav a.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 14px;
  right: 14px;
  height: 2px;
  background: #bf9456;
}

/* Botón Hamburguesa (oculto en desktop) */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 28px;
  height: 22px;
  position: relative;
  z-index: 1001;
  padding: 0;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: #bf9456;
  position: absolute;
  left: 0;
  transition: all 0.3s ease;
}

.menu-toggle span:nth-child(1) { top: 0; }
.menu-toggle span:nth-child(2) { top: 10px; }
.menu-toggle span:nth-child(3) { top: 20px; }

/* Animación del botón abierto */
.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg);
  top: 10px;
}
.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}
.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg);
  top: 10px;
}

/* ========== RESPONSIVE MENÚ ========== */
@media (max-width: 900px) {

  .menu-toggle {
    display: block;
  }

  .main-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: #0a0a0a;
    border-left: 1px solid #222;
    padding: 100px 30px 40px;
    transition: right 0.35s ease;
    z-index: 999;
    overflow-y: auto;
  }

  .main-nav.active {
    right: 0;
  }

  .main-nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
  }

  .main-nav li {
    width: 100%;
    border-bottom: 1px solid #1a1a1a;
  }

  .main-nav a {
    display: block;
    padding: 16px 0;
    font-size: 15px;
    letter-spacing: 1.5px;
  }

  .main-nav a.active::after {
    display: none;
  }

  .main-nav a.active {
    color: #bf9456;
  }
}

/* Overlay oscuro */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 998;
}

.nav-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Contenedor general */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

/* Hero */
.hero {
  background: linear-gradient(rgba(0,0,0,0.55), rgba(0,0,0,0.55));
  background-size: cover;
  background-position: center;
  color: white;
  text-align: center;
  padding: 100px 20px;
  min-height: 55vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.hero h1 {
  font-size: 3.2rem;
  margin-bottom: 15px;
  text-shadow: 2px 2px 6px rgba(0,0,0,0.8);
  font-weight: 700;
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 25px;
  max-width: 700px;
  font-weight: 400;
}

.btn {
  display: inline-block;
  background: var(--gold);
  color: var(--black);
  padding: 15px 30px;
  text-decoration: none;
  font-weight: 700;
  border-radius: 5px;
  margin: 10px;
  transition: all 0.3s ease;
  text-transform: uppercase;
  font-family: 'Montserrat', sans-serif;
  letter-spacing: 0.5px;
  border: 2px solid transparent;
}

.btn:hover {
  background: var(--light-black);
  color: var(--gold);
  border: 2px solid var(--gold);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--gold);
  color: var(--gold);
}

.btn-outline:hover {
  background: var(--light-black);
  color: var(--gold);
  border: 2px solid var(--gold);
}

/* Remove specific WhatsApp override (now applies to all) */
a.btn[href*="wa.me"],
a.btn[href*="whatsapp"] {
  background: var(--gold);
  color: var(--black);
}

a.btn[href*="wa.me"]:hover,
a.btn[href*="whatsapp"]:hover {
  background: var(--light-black);
  color: var(--gold);
  border: 2px solid var(--gold);
}

/* Secciones */
section {
  padding: 70px 0;
}

section h2 {
  text-align: center;
  font-size: 2.4rem;
  color: var(--white);
  margin-bottom: 35px;
  position: relative;
  font-weight: 700;
}

section h2::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: var(--gold);
  margin: 15px auto;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin-top: 30px;
}

.card {
  background: var(--card-bg);
  border-radius: 0;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0,0,0,0.4);
  transition: transform 0.3s;
  border: 1px solid #333;
}

.card:hover {
  transform: translateY(-8px);
}

.card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.card-content {
  padding: 25px;
}

.card h3 {
  color: var(--gold);
  margin-bottom: 12px;
  font-size: 1.4rem;
  font-weight: 600;
}
/* ========== FOOTER ========== */
.site-footer {
  background: #0a0a0a;
  color: #c9c9c9;
  padding: 60px 20px 0;
  border-top: 1px solid #c9a227;
  font-family: 'Helvetica Neue', Arial, sans-serif;
  width: 100%;
  box-sizing: border-box;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  padding-bottom: 50px;
  box-sizing: border-box;
}

/* Columnas */
.footer-col {
  flex: 1;
  min-width: 0;
}

.footer-brand {
  flex: 1.4;
}

/* Logo (imagen igual al menú) */
.footer-logo-link {
  display: inline-block;
  margin-bottom: 18px;
  text-decoration: none;
}

.footer-logo-img {
  height: 42px;          /* Ajusta este valor si es necesario */
  width: auto;
  display: block;
}

/* Textos de la marca */
.footer-desc {
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 18px;
  color: #b0b0b0;
}

.footer-address {
  font-size: 13px;
  line-height: 1.5;
  margin-bottom: 12px;
  color: #999;
}

.footer-phone {
  display: block;
  color: #bf9456;
  font-size: 18px;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.25s ease;
}

.footer-phone:hover {
  color: #e0c060;
}

/* Títulos de columna */
.footer-col h4 {
  color: #ffffff;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin: 0 0 20px 0;
}

.footer-col h4::after {
  content: '';
  display: block;
  width: 30px;
  height: 2px;
  background: #bf9456;
  margin-top: 8px;
}

/* Links */
.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: #b0b0b0;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.25s ease;
}

.footer-col ul li a:hover {
  color: #bf9456;
}

/* Texto "Instaladores certificados de" */
.footer-certified {
  margin: 22px 0 4px 0;
  font-size: 11px;
  color: #888;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

/* Marcas */
.footer-brands {
  margin: 0;
  font-size: 12px;
  color: #777;
  line-height: 1.6;
}

/* Línea inferior */
.footer-bottom {
  border-top: 1px solid #222;
  padding: 22px 20px;
  text-align: center;
}

.footer-bottom p {
  margin: 0;
  font-size: 13px;
  color: #666;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 900px) {
  .footer-container {
    flex-wrap: wrap !important;
  }

  .footer-col {
    flex: 1 1 45%;
  }

  .footer-brand {
    flex: 1 1 100%;
  }
}

@media (max-width: 560px) {
  .footer-container {
    flex-direction: column !important;
    gap: 30px;
  }

  .footer-col {
    flex: 1 1 100%;
  }

  .site-footer {
    padding: 45px 20px 0;
  }
}

/* Banner final tipo Luxury por servicio */
.service-banner {
  background: linear-gradient(rgba(0,0,0,0.78), rgba(0,0,0,0.88)), url('images/wrap-matte.jpg') center/cover no-repeat;
  color: white;
  padding: 70px 20px;
  margin-top: 40px;
}
.service-banner h2 {
  color: white;
  margin-bottom: 20px;
}
.service-banner p {
  text-align: center;
  max-width: 750px;
  margin: 0 auto 25px;
  font-size: 1.1rem;
}
