*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

    :root {
      --black: #0a0a0a;
      --white: #f5f2ec;
      --yellow: #e8c229;
      --yellow-dark: #c4a010;
      --gray: #2a2a2a;
      --gray-mid: #555;
      --gray-light: #c8c4ba;
      --font-display: 'Bebas Neue', sans-serif;
      --font-body: 'DM Sans', sans-serif;
      --nav-h: 100px;
    }

    html { scroll-behavior: smooth; }

    body {
      background: var(--black);
      color: var(--white);
      font-family: var(--font-body);
      font-size: 16px;
      line-height: 1.6;
      overflow-x: hidden;
    }

    /* ── NAV ── */
    nav {
      position: fixed; top: 0; left: 0; right: 0; z-index: 100;
      height: var(--nav-h);
      display: flex; align-items: center; justify-content: space-between;
      padding: 0 5%;
      background: rgba(10,10,10,0.9);
      backdrop-filter: blur(12px);
      border-bottom: 1px solid rgba(232,194,41,0.15);
      transition: background 0.3s;
    }
    .nav-logo {
      display: flex;
      align-items: center;
      gap: 0.75rem;
      text-decoration: none;
    }
    .nav-logo-img {
      height: 10rem;
      width: 8.2rem;
      position: relative;
      bottom: 13px ;
      object-fit: contain;
      
    }
    .nav-logo-text {
      font-family: var(--font-display);
      font-size: 4.5rem;
      letter-spacing: 4px;
      color: var(--yellow);
    }
    .nav-logo-text span { color: var(--white); }
    .nav-links {
      display: flex; gap: 2rem; list-style: none;
    }
    .nav-links a {
      color: var(--gray-light);
      text-decoration: none;
      font-size: 1.20;
      font-weight: 500;
      letter-spacing: 1.5px;
      text-transform: uppercase;
      transition: color 0.2s;
      position: relative;
    }
    .nav-links a::after {
      content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 1px;
      background: var(--yellow); transition: width 0.3s;
    }
    .nav-links a:hover { color: var(--yellow); }
    .nav-links a:hover::after { width: 100%; }
    .nav-cta {
      background: var(--yellow); color: var(--black);
      padding: 0.5rem 1.4rem;
      font-weight: 500; font-size: 0.90rem; letter-spacing: 1px;
      text-transform: uppercase; text-decoration: none;
      transition: background 0.2s, transform 0.2s;
    }
    .nav-cta:hover { background: var(--yellow-dark); transform: translateY(-1px); }
    .hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
    .hamburger span { width: 24px; height: 2px; background: var(--white); transition: 0.3s; }

    /* ── HERO ── */
    #hero {
      min-height: 100vh;
      display: flex; align-items: flex-end;
      padding: 0 5% 8vh;
      position: relative;
      overflow: hidden;
    }
    .hero-bg {
      position: absolute; inset: 0; z-index: 0;
      background:
        linear-gradient(to bottom, rgba(10,10,10,0.2) 0%, rgba(10,10,10,0.85) 100%),
        url('img1.jpg') center/cover no-repeat;
    }
    .hero-badge {
      position: absolute; top: calc(var(--nav-h) + 3rem); left: 5%;
      font-size: 0.75rem; letter-spacing: 3px; text-transform: uppercase;
      color: var(--yellow); font-weight: 500;
      display: flex; align-items: center; gap: 0.75rem;
    }
    .hero-badge::before {
      content: ''; display: block; width: 32px; height: 1px; background: var(--yellow);
    }
    .hero-content { position: relative; z-index: 1; max-width: 900px; }
    .hero-title {
      font-family: var(--font-display);
      font-size: clamp(4rem, 10vw, 9rem);
      line-height: 0.92;
      letter-spacing: 2px;
      margin-bottom: 1.5rem;
    }
    .hero-title em { color: var(--yellow); font-style: normal; }
    .hero-sub {
      color: var(--gray-light);
      font-size: 1.05rem;
      font-weight: 300;
      max-width: 480px;
      margin-bottom: 2.5rem;
      line-height: 1.8;
    }
    .hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
    .btn-primary {
      background: var(--yellow); color: var(--black);
      padding: 0.9rem 2.5rem; font-weight: 500;
      font-size: 0.9rem; letter-spacing: 1.5px; text-transform: uppercase;
      text-decoration: none; transition: 0.2s;
      display: inline-block;
    }
    .btn-primary:hover { background: var(--yellow-dark); transform: translateY(-2px); }
    .btn-outline {
      border: 1px solid rgba(245,242,236,0.4); color: var(--white);
      padding: 0.9rem 2.5rem; font-weight: 500;
      font-size: 0.9rem; letter-spacing: 1.5px; text-transform: uppercase;
      text-decoration: none; transition: 0.2s;
      display: inline-block;
    }
    .btn-outline:hover { border-color: var(--yellow); color: var(--yellow); }
    .hero-stats {
      position: absolute; bottom: 8vh; right: 5%;
      display: flex; gap: 3rem; z-index: 1;
    }
    .stat { text-align: center; }
    .stat-n {
      font-family: var(--font-display);
      font-size: 3rem; color: var(--yellow); line-height: 1;
    }
    .stat-l { font-size: 0.75rem; letter-spacing: 2px; text-transform: uppercase; color: var(--gray-light); margin-top: 0.3rem; }

    /* ── SECTION BASE ── */
    section { padding: 7rem 5%; }
    .section-tag {
      font-size: 0.7rem; letter-spacing: 4px; text-transform: uppercase;
      color: var(--yellow); font-weight: 500;
      display: flex; align-items: center; gap: 0.75rem;
      margin-bottom: 1.2rem;
    }
    .section-tag::before { content: ''; width: 28px; height: 1px; background: var(--yellow); }
    .section-title {
      font-family: var(--font-display);
      font-size: clamp(2.5rem, 5vw, 4.5rem);
      line-height: 1;
      letter-spacing: 1px;
    }
    .section-title em { color: rgb(255, 255, 255); font-style: normal; }

    /* ── PILARES ── */
    #servicios { background: var(--black); }
    .servicios-header { margin-bottom: 4rem; }
    .servicios-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
      gap: 2px;
    }
    .servicio-card {
      background: var(--gray);
      padding: 3rem 2.5rem;
      position: relative;
      overflow: hidden;
      cursor: pointer;
      transition: 0.3s;
      border-top: 3px solid transparent;
    }
    .servicio-card:hover { background: #333; border-top-color: var(--yellow); }
    .servicio-card:hover .servicio-arrow { transform: translateX(6px); }
    .servicio-num {
      font-family: var(--font-display);
      font-size: 5rem; color: rgba(232,194,41,0.1);
      position: absolute; top: 1rem; right: 1.5rem;
      line-height: 1; transition: 0.3s;
    }
    .servicio-card:hover .servicio-num { color: rgba(232,194,41,0.2); }
    .servicio-icon {
      width: 48px; height: 48px; margin-bottom: 1.5rem;
    }
    .servicio-name {
      font-family: var(--font-display);
      font-size: 1.8rem; letter-spacing: 1px;
      margin-bottom: 1rem; line-height: 1.1;
    }
    .servicio-desc { color: var(--gray-light); font-size: 0.9rem; line-height: 1.7; margin-bottom: 1.5rem; }
    .servicio-arrow {
      color: var(--yellow); font-size: 1.4rem; transition: 0.3s;
      display: inline-block;
    }

    /* ── SOBRE NOSOTROS ── */
    #nosotros {
      background: #0f0f0f;
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 0;
      padding: 0;
    }
    .nosotros-img {
      position: relative; min-height: 600px; overflow: hidden;
    }
    .nosotros-img img {
      width: 100%; height: 100%; object-fit: cover;
      filter: grayscale(20%);
    }
    .nosotros-img-overlay {
      position: absolute; inset: 0;
      background: linear-gradient(to right, transparent 60%, #0f0f0f);
    }
    .nosotros-content {
      padding: 7rem 5%;
      display: flex; flex-direction: column; justify-content: center;
    }
    .nosotros-content .section-title { margin-bottom: 1.5rem; }
    .nosotros-content p { color: var(--gray-light); margin-bottom: 1rem; font-weight: 300; }
    .valores {
      display: grid; grid-template-columns: 1fr 1fr; gap: 1rem;
      margin-top: 2rem;
    }
    .valor {
      border-left: 2px solid var(--yellow);
      padding-left: 1rem;
    }
    .valor-name { font-weight: 500; font-size: 0.9rem; margin-bottom: 0.2rem; }
    .valor-desc { font-size: 0.8rem; color: var(--gray-light); }

    /* ── MAQUINARIA / CATALOGO ── */
    #catalogo { background: var(--black); }
    .catalogo-header {
      display: flex; justify-content: space-between; align-items: flex-end;
      margin-bottom: 3rem; flex-wrap: wrap; gap: 1rem;
    }
    .maquinas-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr); /* 3 columnas fijas */
      gap: 2px;
      grid-auto-rows: 250px; /* Altura consistente */
    }
    .maquina-card {
      position: relative;
      overflow: hidden;
      background: var(--gray);
      height: 100%; /* Asegura que llenen el espacio */
    }            
    /* Ajuste para móviles (media query) */
    /* Ajuste para móviles (media query) */
    @media (max-width: 900px) {
    .maquinas-grid {
      grid-template-columns: repeat(2, 1fr); /* 2 columnas en tablets */
        }
    }

    @media (max-width: 580px) {
    .maquinas-grid {
      grid-template-columns: 1fr; /* 1 columna en celulares */
        }
    .maquina-card.big {
      grid-column: span 1;
        }
    } 
    .maquina-card img {
      width: 100%; height: 100%; object-fit: cover;
      transition: transform 0.6s ease;
    }
    .maquina-card:hover img { transform: scale(1.05); }
    .maquina-overlay {
      position: absolute; inset: 0;
      background: linear-gradient(to top, rgba(10,10,10,0.9) 0%, transparent 60%);
      display: flex; flex-direction: column; justify-content: flex-end;
      padding: 1.5rem;
    }
    .maquina-tag {
      font-size: 0.65rem; letter-spacing: 3px; text-transform: uppercase;
      color: var(--yellow); margin-bottom: 0.3rem;
    }
    .maquina-name { font-family: var(--font-display); font-size: 1.6rem; letter-spacing: 1px; }
    .maquina-card.big .maquina-name { font-size: 2.2rem; }

    /* ── ESCUELA ── */
    #escuela {
      background: var(--yellow);
      color: var(--black);
    }
    #escuela .section-tag { color: var(--black); }
    #escuela .section-tag::before { background: var(--black); }
    #escuela .section-title { color: var(--black); }
    .escuela-layout {
      display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center;
      margin-top: 3rem;
    }
    .cursos-list { display: flex; flex-direction: column; gap: 1px; }
    .curso-item {
      background: rgba(0,0,0,0.08);
      padding: 1.2rem 1.5rem;
      display: flex; justify-content: space-between; align-items: center;
      cursor: pointer; transition: 0.2s;
    }
    .curso-item:hover { background: rgba(0,0,0,0.15); }
    .curso-name { font-weight: 500; font-size: 0.95rem; }
    .curso-dur { font-size: 0.8rem; color: #555; }
    .escuela-info p { font-size: 1.05rem; line-height: 1.8; margin-bottom: 1.5rem; color: #222; font-weight: 300; }
    .escuela-info .btn-primary { background: var(--black); color: var(--yellow); }
    .escuela-info .btn-primary:hover { background: #222; }

    /* ── REFERENCIAS ── */
    #referencias { background: #0f0f0f; }
    .refs-header { margin-bottom: 4rem; }
    .testimonials { display: grid; grid-template-columns: repeat(3,1fr); gap: 2px; }
    .testimonial {
      background: var(--gray);
      padding: 2.5rem;
    }
    .testimonial-quote {
      font-size: 3rem; color: var(--yellow);
      font-family: Georgia, serif; line-height: 1;
      margin-bottom: 1rem;
    }
    .testimonial-text { color: var(--gray-light); font-size: 0.9rem; line-height: 1.8; margin-bottom: 1.5rem; font-weight: 300; }
    .testimonial-author { font-weight: 500; font-size: 0.9rem; }
    .testimonial-company { font-size: 0.78rem; color: var(--gray-light); margin-top: 0.2rem; }
    /* ── LOGOS DE CLIENTES MEJORADOS ── */
.clientes-logos {
  margin-top: 4rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 4rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); /* Grid automático */
  gap: 3rem;
  align-items: center;
  justify-items: center;
}

.cliente-logo img {
  max-width: 140px; /* Tamaño máximo del logo */
  max-height: 60px; /* Altura máxima para que no se vea desordenado */
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(100%) brightness(0.8) opacity(0.6); /* Los hace discretos y armoniosos */
  transition: all 0.4s ease;
}

.cliente-logo img:hover {
  filter: grayscale(0%) brightness(1) opacity(1); /* Cobran vida al pasar el mouse */
  transform: scale(1.1);
}

/* Ajuste para móviles */
@media (max-width: 600px) {
  .clientes-logos {
    grid-template-columns: repeat(2, 1fr); /* 2 columnas en móvil */
    gap: 2rem;
  }
  .cliente-logo img {
    max-width: 110px;
  }
}

    /* ── CONTACTO ── */
    #contacto { background: var(--black); }
    .contacto-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 6rem; margin-top: 3rem; }
    .contacto-info p { color: var(--gray-light); margin-bottom: 2rem; font-weight: 300; }
    .contact-items { display: flex; flex-direction: column; gap: 1.5rem; }
    .contact-item { display: flex; gap: 1rem; align-items: flex-start; }
    .contact-icon {
      width: 44px; height: 44px; min-width: 44px;
      background: var(--gray); display: flex; align-items: center; justify-content: center;
      font-size: 1.1rem;
    }
    .contact-label { font-size: 0.7rem; letter-spacing: 2px; text-transform: uppercase; color: var(--gray-light); margin-bottom: 0.2rem; }
    .contact-value { font-size: 0.95rem; }
    .contacto-form { display: flex; flex-direction: column; gap: 0; }
    .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
    .form-group { display: flex; flex-direction: column; margin-bottom: 2px; }
    .form-group input, .form-group textarea, .form-group select {
      background: var(--gray);
      border: none; outline: none;
      padding: 1rem 1.2rem;
      color: var(--white);
      font-family: var(--font-body);
      font-size: 0.9rem;
      width: 100%;
      transition: background 0.2s;
      resize: none;
    }
    .form-group input:focus, .form-group textarea:focus, .form-group select:focus {
      background: #333;
      box-shadow: inset 0 -2px 0 var(--yellow);
    }
    .form-group input::placeholder, .form-group textarea::placeholder { color: #666; }
    .form-group select option { background: var(--gray); }
    .form-submit {
      background: var(--yellow); color: var(--black);
      border: none; padding: 1.1rem 3rem;
      font-family: var(--font-body); font-weight: 500;
      font-size: 0.9rem; letter-spacing: 2px; text-transform: uppercase;
      cursor: pointer; transition: 0.2s; margin-top: 2px;
      width: 100%;
    }
    .form-submit:hover { background: var(--yellow-dark); }
    .form-msg { display: none; padding: 1rem; background: rgba(232,194,41,0.15); border-left: 3px solid var(--yellow); color: var(--yellow); font-size: 0.9rem; margin-top: 1rem; }

    /* ── FOOTER ── */
    footer {
      background: #050505;
      padding: 5rem 5% 2rem;
      border-top: 1px solid rgba(255,255,255,0.06);
    }
    .footer-grid {
      display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem;
      padding-bottom: 3rem;
      border-bottom: 1px solid rgba(255,255,255,0.06);
    }
    .footer-brand .nav-logo { display: inline-block; margin-bottom: 1rem; font-size: 2.5rem; }
    .footer-brand p { color: var(--gray-light); font-size: 0.85rem; line-height: 1.8; max-width: 260px; font-weight: 300; }
    .footer-col h4 {
      font-size: 0.7rem; letter-spacing: 3px; text-transform: uppercase;
      color: var(--yellow); margin-bottom: 1.2rem;
    }
    .footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }
    .footer-col a { color: var(--gray-light); text-decoration: none; font-size: 0.85rem; transition: color 0.2s; }
    .footer-col a:hover { color: var(--white); }
    .footer-bottom {
      display: flex; justify-content: space-between; align-items: center;
      padding-top: 2rem; flex-wrap: wrap; gap: 1rem;
    }
    .footer-bottom p { font-size: 0.78rem; color: #444; }
    .footer-social { display: flex; gap: 1rem; }
    .footer-social a {
      width: 36px; height: 36px;
      background: var(--gray); display: flex; align-items: center; justify-content: center;
      color: var(--gray-light); text-decoration: none; font-size: 0.85rem; transition: 0.2s;
    }
    .footer-social a:hover { background: var(--yellow); color: var(--black); }

    /* ── MOBILE NAV ── */
    .mobile-menu {
      display: none; position: fixed; inset: 0; z-index: 99;
      background: var(--black); padding: var(--nav-h) 5% 3rem;
      flex-direction: column; justify-content: center;
    }
    .mobile-menu.open { display: flex; }
    .mobile-menu a {
      font-family: var(--font-display);
      font-size: 3rem; letter-spacing: 2px;
      color: var(--white); text-decoration: none;
      border-bottom: 1px solid rgba(255,255,255,0.08);
      padding: 0.6rem 0; transition: color 0.2s;
    }
    .mobile-menu a:hover { color: var(--yellow); }
    .mobile-menu .nav-cta { margin-top: 2rem; width: fit-content; }

    /* ── SCROLL REVEAL ── */
    .reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.7s ease, transform 0.7s ease; }
    .reveal.visible { opacity: 1; transform: none; }

    /* ── RESPONSIVE ── */
    @media (max-width: 900px) {
      .nav-links, .nav-cta { display: none; }
      .hamburger { display: flex; }
      #nosotros { grid-template-columns: 1fr; }
      .nosotros-img { min-height: 300px; }
      .nosotros-img-overlay { background: linear-gradient(to bottom, transparent 60%, #0f0f0f); }
      .maquinas-grid { grid-template-columns: 1fr 1fr; }
      .maquina-card.big { grid-row: span 1; }
      .escuela-layout { grid-template-columns: 1fr; gap: 2rem; }
      .testimonials { grid-template-columns: 1fr; }
      .contacto-layout { grid-template-columns: 1fr; gap: 3rem; }
      .form-row { grid-template-columns: 1fr; }
      .footer-grid { grid-template-columns: 1fr 1fr; }
      .hero-stats { position: static; margin-top: 3rem; justify-content: flex-start; }
      #hero { flex-direction: column; }
    }
    @media (max-width: 580px) {
      .maquinas-grid { grid-template-columns: 1fr; }
      .footer-grid { grid-template-columns: 1fr; }
      .valores { grid-template-columns: 1fr; }
      .hero-title { font-size: 3.5rem; }
    }

    /* ── ANIMATIONS ── */
    @keyframes fadeUp { from { opacity:0; transform:translateY(40px); } to { opacity:1; transform:none; } }
    .hero-content > * { opacity: 0; animation: fadeUp 0.8s ease forwards; }
    .hero-content .hero-title { animation-delay: 0.2s; }
    .hero-content .hero-sub { animation-delay: 0.4s; }
    .hero-content .hero-actions { animation-delay: 0.6s; }
    .hero-badge { opacity: 0; animation: fadeUp 0.8s ease 0.1s forwards; }
    .hero-stats { opacity: 0; animation: fadeUp 0.8s ease 0.8s forwards; }
    
/* ── CONFIGURACIÓN DE PÁGINA DE ALQUILER ── */
.alquiler-page {
    background-color: #0c0c0c;
}

.main-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 160px 5% 80px;
}

.catalogo-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-subtitle {
    color: var(--gray-light);
    max-width: 600px;
    margin: 1rem auto;
}

/* GRID CON MAYOR SEPARACIÓN */
.maquinas-grid-clean {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 3.5rem; /* Espacio amplio entre tarjetas */
}

/* TARJETA LIMPIA */
.product-card {
    background: #00000052;
    border-radius: 24px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    border: 1px solid rgba(255,255,255,0.1);
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(232, 194, 41, 0.15);
}

.product-img-container {
    width: 100%;
    height: 220px;
    background: #f8f8f8;
    border-radius: 18px;
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.product-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-name {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.product-detail {
    color: #dbdbdb;
    font-size: 0.85rem;
    line-height: 1.5;
    margin-bottom: 2rem;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 1.5rem;
}

.product-more {
    font-size: 0.7rem;
    font-weight: 700;
    color: #ffffff;
    text-decoration: none;
    border-bottom: 2px solid var(--yellow);
    padding-bottom: 2px;
}

.product-price-box {
    text-align: right;
    color: var(--yellow-dark);
}

.price-val {
    font-size: 1.8rem;
    font-weight: 800;
    font-family: var(--font-display);
    color: var(--yellow-dark);
}

.product-wa-btn {
    background: #3f3a1b;
    color: #fff;
    border: none;
    border-radius: 50px;
    padding: 1rem;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    cursor: pointer;
    transition: 0.3s;
}

.product-wa-btn:hover {
    background: var(--yellow);
    color: #000;
}

/* FOOTER LIMPIO */
.alquiler-footer {
    background: #000;
    padding: 80px 5% 40px;
    border-top: 1px solid #222;
}

.footer-info-clean {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto 50px;
    text-align: center;
}

.info-block h4 {
    color: var(--yellow);
    font-family: var(--font-display);
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.info-block p {
    font-size: 0.85rem;
    color: var(--gray-light);
}

.copyright {
    text-align: center;
    font-size: 0.75rem;
    color: #444;
    border-top: 1px solid #111;
    padding-top: 30px;
}

/* ── VIDEO BACKGROUND SYSTEM ── */
.video-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: -10; /* Muy al fondo */
    background-color: #000; /* Base negra crítica */
    overflow: hidden;
}

#bg-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Gradiente oscuro: 85% de opacidad arriba y 95% abajo */
    background: linear-gradient(
        to bottom, 
        rgba(0, 0, 0, 0.651), 
        rgba(0, 0, 0, 0.747)
    );
    z-index: 1; /* Por encima del video */
}

/* Asegúrate de que el cuerpo de la página sea transparente */
.alquiler-page {
    background: transparent !important;
}

/* ── ESTRUCTURA DE METODOLOGÍA asesoramiento.html (FLOW) ── */
.methodology-flow {
    display: flex;
    flex-direction: column;
    gap: 120px; /* Gran espacio para que respire */
    margin-top: 60px;
}

.flow-item {
    display: flex;
    align-items: center;
    gap: 60px;
    max-width: 1000px;
    margin: 0 auto;
}

.flow-item.reverse {
    flex-direction: row-reverse;
}

.flow-number {
    font-family: var(--font-display);
    font-size: 8rem;
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 2px var(--yellow);
    opacity: 0.3;
}

.flow-content h3 {
    font-family: var(--font-display);
    font-size: 2.5rem;
    color: var(--yellow);
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
}

.flow-content p {
    color: var(--gray-light);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.flow-list {
    list-style: none;
}

.flow-list li {
    padding-left: 20px;
    position: relative;
    margin-bottom: 10px;
    color: var(--white);
    font-weight: 500;
}

.flow-list li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--yellow);
}

.report-highlight {
    background: rgba(232, 194, 41, 0.1);
    border-left: 4px solid var(--yellow);
    padding: 2rem;
    border-radius: 0 15px 15px 0;
    margin-top: 2rem;
}

/* ── CTA BOX ── */
.cta-engagement {
    padding: 100px 0;
    text-align: center;
}

.cta-box {
    background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
    padding: 80px 40px;
    border-radius: 30px;
    border: 1px solid var(--gray);
}

.cta-box h2 {
    font-family: var(--font-display);
    font-size: 3rem;
    margin-bottom: 1rem;
}

/* ── ASESORAMIENTO ESTRATÉGICO STYLES ── */
.asesoria-header {
    text-align: center;
    margin-bottom: 6rem;
}

.methodology-flow {
    display: flex;
    flex-direction: column;
    gap: 150px; /* Espacio amplio entre fases */
    padding-bottom: 100px;
}

.flow-item {
    display: flex;
    align-items: center;
    gap: 80px;
    max-width: 1100px;
    margin: 0 auto;
}

.flow-item.reverse {
    flex-direction: row-reverse;
}

.flow-number {
    font-family: var(--font-display);
    font-size: 10rem;
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 1.5px var(--yellow);
    opacity: 0.4;
    user-select: none;
}

.flow-content {
    flex: 1;
}

.flow-content h3 {
    font-family: var(--font-display);
    font-size: 2.8rem;
    color: var(--yellow);
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
}

.flow-content p {
    color: var(--gray-light);
    font-size: 1.15rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.flow-list {
    list-style: none;
    margin-top: 1.5rem;
}

.flow-list li {
    padding-left: 25px;
    position: relative;
    margin-bottom: 12px;
    font-weight: 400;
    color: var(--white);
}

.flow-list li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--yellow);
    font-weight: 700;
}

.report-highlight {
    background: rgba(232, 194, 41, 0.08);
    border-left: 5px solid var(--yellow);
    padding: 2.5rem;
    border-radius: 0 20px 20px 0;
    margin-top: 2rem;
    font-size: 1.1rem;
    line-height: 1.6;
}

.cta-box {
    background: rgba(20, 20, 20, 0.6);
    backdrop-filter: blur(15px);
    padding: 100px 50px;
    border-radius: 40px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
}

/* Responsive */
@media (max-width: 992px) {
    .flow-item, .flow-item.reverse {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }
    .flow-number { font-size: 7rem; }
    .flow-list li { text-align: left; }
}

/* ── MEJORA DE LEGIBILIDAD GLOBAL ── */
.section-subtitle, 
.strategy-item p, 
.cta-box p {
    color: var(--white) !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9); /* Sombra para resaltar sobre el video */
    line-height: 1.8;
}

/* ── IMPORTACIÓN: GRID Y ESTRUCTURA ── */
.import-strategy {
    margin: 4rem 0 8rem;
    padding: 0 5%;
}

.strategy-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.strategy-item {
    background: rgba(15, 15, 15, 0.7); /* Fondo semi-oscuro para proteger el texto */
    backdrop-filter: blur(10px);
    border: 1px solid rgba(232, 194, 41, 0.3);
    padding: 3.5rem 2.5rem;
    border-radius: 20px;
    transition: all 0.4s ease;
}

.strategy-item:hover {
    border-color: var(--yellow);
    transform: translateY(-10px);
    background: rgba(15, 15, 15, 0.9);
}

.strategy-item h3 {
    font-family: var(--font-display);
    color: var(--yellow);
    font-size: 2rem;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

/* ── CONTACTO PROFESIONAL ── */
.contact-professional-grid {
    display: flex;
    justify-content: center;
    gap: 5rem;
    margin-top: 3.5rem;
}

.contact-method {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.method-label {
    font-size: 0.7rem;
    letter-spacing: 3px;
    color: var(--yellow);
    font-weight: 700;
    text-transform: uppercase;
}

.method-link {
    color: var(--white);
    text-decoration: none;
    font-size: 1.3rem;
    font-weight: 500;
    border-bottom: 2px solid rgba(232, 194, 41, 0.2);
    transition: 0.3s;
}

.method-link:hover {
    color: var(--yellow);
    border-color: var(--yellow);
}

/* RESPONSIVE */
@media (max-width: 992px) {
    .strategy-grid { grid-template-columns: 1fr; }
    .contact-professional-grid { flex-direction: column; gap: 3rem; align-items: center; }
}

/* ═══════════════════════════════════════════════════
   RESPONSIVE COMPLETO — TABLETS Y MÓVILES
   ═══════════════════════════════════════════════════ */

/* ── TABLET (≤ 900px) ── */
@media (max-width: 900px) {

  :root { --nav-h: 70px; }

  /* NAV */
  nav { padding: 2.6rem 4%; }
  .nav-logo-text { font-size: 3rem; }
  .nav-logo-img { height: 8rem; width:6rem; bottom: 8px; }

  /* HERO — layout vertical completo */
  #hero {
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    padding: calc(var(--nav-h) + 2rem) 5% 5vh;
  }
  .hero-badge {
    position: static;
    margin-bottom: 1rem;
    font-size: 0.65rem;
    animation: none;
    opacity: 1;
  }
  .hero-content {
    width: 100%;
    max-width: 100%;
  }
  /* Desactivar animaciones del hero en móvil */
  .hero-content > * {
    opacity: 1 !important;
    animation: none !important;
    transform: none !important;
  }
  .hero-title {
    font-size: clamp(2.8rem, 11vw, 5.5rem);
    line-height: 0.95;
    margin-bottom: 1rem;
  }
  .hero-sub {
    font-size: 0.9rem;
    max-width: 100%;
    margin-bottom: 1.5rem;
    line-height: 1.6;
  }
  .hero-actions {
    flex-direction: column;
    gap: 0.6rem;
    width: 100%;
  }
  .hero-actions a {
    text-align: center;
    width: 100%;
    box-sizing: border-box;
  }
  .hero-stats {
    position: static;
    display: flex;
    flex-wrap: wrap;
    gap: 1.2rem 2rem;
    margin-top: 2rem;
    animation: none !important;
    opacity: 1 !important;
  }
  .stat { text-align: left; }
  .stat-n { font-size: 2rem; }
  .stat-l { font-size: 0.62rem; }

  /* SECCIONES */
  section { padding: 5rem 5%; }

  /* SERVICIOS */
  .servicios-grid { grid-template-columns: 1fr 1fr; }

  /* NOSOTROS */
  #nosotros { grid-template-columns: 1fr; }
  .nosotros-img { min-height: 280px; }
  .nosotros-img-overlay { background: linear-gradient(to bottom, transparent 50%, #0f0f0f); }
  .nosotros-content { padding: 4rem 5%; }
  .valores { grid-template-columns: 1fr 1fr; }

  /* CATALOGO */
  .maquinas-grid { grid-template-columns: 1fr 1fr; }
  .maquina-card.big { grid-row: span 1; }
  .catalogo-header { flex-direction: column; align-items: flex-start; gap: 1.5rem; }

  /* ESCUELA */
  .escuela-layout { grid-template-columns: 1fr; gap: 3rem; }

  /* TESTIMONIOS */
  .testimonials { grid-template-columns: 1fr; }

  /* CONTACTO */
  .contacto-layout { grid-template-columns: 1fr; gap: 3rem; }
  .form-row { grid-template-columns: 1fr; }

  /* FOOTER */
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }

  /* SUBPÁGINAS: main-container */
  .main-container { padding: 110px 5% 60px; }

  /* ALQUILER: grid de productos */
  .maquinas-grid-clean {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }

  /* ASESORAMIENTO */
  .flow-item, .flow-item.reverse {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }
  .flow-number { font-size: 6rem; }
  .flow-list li { text-align: left; }
  .methodology-flow { gap: 70px; }
  .cta-box { padding: 60px 30px; border-radius: 20px; }

  /* IMPORTACIÓN */
  .strategy-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .import-strategy { padding: 0 5%; margin: 2rem 0 5rem; }
}

/* ── MÓVIL GRANDE (≤ 640px) ── */
@media (max-width: 640px) {

  /* HERO */
  #hero { padding: calc(var(--nav-h) + 1.5rem) 5% 4vh; }
  .hero-title { font-size: clamp(2.4rem, 10vw, 3.5rem); line-height: 0.95; }
  .hero-sub { font-size: 0.88rem; margin-bottom: 1.2rem; }
  .hero-stats { gap: 1rem 1.5rem; margin-top: 1.5rem; }
  .stat-n { font-size: 1.8rem; }

  /* SERVICIOS */
  .servicios-grid { grid-template-columns: 1fr; }
  .servicio-card { padding: 2rem 1.5rem; }

  /* CATALOGO */
  .maquinas-grid { grid-template-columns: 1fr; }
  .maquina-card.big { grid-column: span 1; }

  /* ESCUELA */
  .cursos-list { gap: 0; }
  .curso-item { padding: 1rem 1.2rem; }

  /* VALORES */
  .valores { grid-template-columns: 1fr; }

  /* FOOTER */
  .footer-grid { grid-template-columns: 1fr; }
  footer { padding: 3rem 5% 2rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }

  /* SUBPÁGINAS */
  .main-container { padding: 90px 4% 50px; }
  .asesoria-header { margin-bottom: 3.5rem; }
  .catalogo-header { margin-bottom: 2.5rem; }
  .section-title { font-size: clamp(2rem, 9vw, 3.5rem); }

  /* ALQUILER: 1 columna */
  .maquinas-grid-clean {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .product-img-container { height: 200px; }
  .product-card { padding: 1.2rem; }

  /* ASESORAMIENTO */
  .methodology-flow { gap: 50px; }
  .flow-number { font-size: 5rem; }
  .flow-content h3 { font-size: 2rem; }
  .cta-box { padding: 40px 20px; border-radius: 16px; }
  .cta-engagement { padding: 50px 0; }

  /* IMPORTACIÓN */
  .strategy-item { padding: 2rem 1.5rem; }
  .method-link { font-size: 1rem; word-break: break-all; }

  /* FOOTER ALQUILER/SUBPÁGINAS */
  .alquiler-footer { padding: 50px 5% 30px; }
  .footer-info-clean { grid-template-columns: 1fr; gap: 2rem; }
}

/* ── MÓVIL PEQUEÑO (≤ 400px) ── */
@media (max-width: 400px) {
  .hero-title { font-size: 2.4rem; }
  .nav-logo-text { font-size: 2.4rem; }
  .nav-logo-img { height: 8rem; width: 5.7rem; }
  .hero-stats { flex-wrap: wrap; gap: 0.8rem; }
  .stat { min-width: 70px; }
  .btn-primary, .btn-outline { padding: 0.8rem 1.5rem; font-size: 0.8rem; }
  .product-wa-btn { font-size: 0.72rem; padding: 0.85rem; }
}