:root {
    --primary: #D32F2F;
    --primary-dark: #B71C1C;
    --bg-dark: #050505;
    --card-bg: #111111;
    --text-white: #FFFFFF;
    --text-gray: #AAAAAA;
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Open Sans', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-white);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 100px 0;
}

/* Header */
#main-header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
}

#main-header.scrolled {
    background: rgba(0, 0, 0, 0.95);
    padding: 10px 0;
    border-bottom: 1px solid #222;
}

#main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-full {
    height: 5rem;
}

nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 25px;
}

.nav-links a {
    color: var(--text-white);
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
}

.nav-links a:hover, .nav-links a.active {
    color: var(--primary);
}

.btn-whatsapp-header {
    background: var(--primary);
    color: white;
    padding: 10px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Hero */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0,0,0,0.9), rgba(0,0,0,0.4));
}

.hero-content {
    position: relative;
    max-width: 700px;
}

.badge {
    color: var(--primary);
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: 2px;
    font-size: 12px;
    margin-bottom: 20px;
    display: block;
}

.hero h1 {
    font-size: 60px;
    margin-bottom: 20px;
    line-height: 1.1;
}

.hero p {
    font-size: 20px;
    color: var(--text-gray);
    margin-bottom: 40px;
}

.hero-btns {
    display: flex;
    gap: 20px;
}

.btn {
    padding: 15px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    transition: var(--transition);
    display: inline-block;
}

.btn-primary {
    background: var(--primary);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-dark);
}

.btn-outline {
    border: 2px solid rgba(255,255,255,0.2);
    color: white;
}

.btn-outline:hover {
    background: white;
    color: black;
}

/* Intro */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.section-subtitle {
    color: var(--primary);
    font-size: 14px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.section-title {
    font-size: 40px;
    margin-bottom: 30px;
}

.features-list {
    list-style: none;
    margin-bottom: 30px;
}

.features-list li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
}

.features-list i {
    color: var(--primary);
}

.intro-image img {
    width: 100%;
    border-radius: 15px;
}

/* Footer */
#main-footer {
    background: black;
    padding: 80px 0 20px;
    border-top: 1px solid #111;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 50px;
    margin-bottom: 50px;
}

.footer-logo {
    height: 80px;
    margin-bottom: 20px;
}

.footer-links ul {
    list-style: none;
}

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

.footer-links a {
    color: var(--text-gray);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary);
}

.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #25D366;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    z-index: 999;
}

/* Mobile */
.mobile-menu-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* siempre 2 columnas en desktop */
  gap: 20px;
}

.gallery-grid img {
  width: 100%;
  border-radius: 10px;
}

@media (max-width: 768px) {
  .btn-whatsapp-header {
    display: none;
  }
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  
  .mobile-menu-toggle {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 2000; /* más alto que el menú */
    color: var(--text-white);
    display: block;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: 70%;
    background: var(--bg-dark);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
    transition: var(--transition);
    z-index: 1000; /* debajo del toggle */
  }

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

  .nav-links a {
    font-size: 18px;
  }
  .grid-2 {
    grid-template-columns: 1fr; /* una sola columna en móvil */
    gap: 20px; /* opcional: reducir el espacio */
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }


  .mobile-menu-toggle {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1001; /* más alto que el menú */
    color: var(--text-white);
  }
}
