/* COMPILADO GCB MAQUINARIAS MULTI-PAGE STYLES */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800;900&display=swap');

:root {
  --gold: #EEBC40;
  --navy: #1D2555;
  --dark: #070502;
  --navy-dark: #111736;
  --text-muted: #a0a7cc;
  --text-light: #e0e4f5;
  --white: #ffffff;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-family: 'Montserrat', sans-serif; }
body { background-color: var(--dark); color: var(--white); line-height: 1.6; }
.container { width: 90%; max-width: 1280px; margin: 0 auto; }

/* TOP BAR & HEADER */
.top-bar { background-color: #040301; border-bottom: 1px solid rgba(238,188,64,0.15); padding: 8px 0; font-size: 0.85rem; color: #a0a7cc; }
.top-bar-content { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }
.top-info span { margin-right: 20px; }
.top-info span i { color: #EEBC40; margin-right: 6px; }
.top-social a { color: #a0a7cc; margin-left: 12px; }
.top-social a:hover { color: #EEBC40; }

.main-header { background-color: #1D2555; position: sticky; top: 0; z-index: 1000; box-shadow: 0 4px 20px rgba(0,0,0,0.4); }
.header-container { display: flex; align-items: center; justify-content: space-between; height: 80px; }

.brand-logo { display: flex; align-items: center; text-decoration: none; }
.brand-logo .brand-logo-img { height: 44px; width: auto; display: block; }

.nav-list { display: flex; align-items: center; gap: 30px; list-style: none; }
.nav-link { font-weight: 700; font-size: 0.95rem; color: #fff; text-decoration: none; padding: 28px 0; display: flex; align-items: center; gap: 6px; }
.nav-link:hover { color: #EEBC40; }

/* MEGAMENU LONKING #EEBC40 */
.has-megamenu { position: static; }
@media (min-width: 993px) {
  .has-megamenu:hover .megamenu, .has-megamenu:focus-within .megamenu { opacity: 1; visibility: visible; transform: translateY(0); }
}
.megamenu {
  position: absolute; top: 100%; left: 0; width: 100%;
  background-color: #EEBC40; color: #070502;
  box-shadow: 0 15px 35px rgba(0,0,0,0.5);
  opacity: 0; visibility: hidden; transform: translateY(-10px);
  transition: all 0.3s ease-in-out; padding: 30px 0;
  border-bottom: 5px solid #1D2555;
}
.megamenu-grid { display: grid; grid-template-columns: repeat(8, 1fr); gap: 12px; }
.megamenu-col { display: flex; flex-direction: column; border-right: 1px solid rgba(7,5,2,0.15); padding-right: 8px; }
.megamenu-col:last-child { border-right: none; }
.megamenu-title { font-size: 0.88rem; font-weight: 900; line-height: 1.3; color: #1D2555; margin-bottom: 10px; text-transform: uppercase; border-bottom: 2px solid #1D2555; padding-bottom: 4px; min-height: calc(2.6em + 6px); display: flex; align-items: flex-end; }
.megamenu-links { list-style: none; margin-bottom: 12px; }
.megamenu-links li { margin-bottom: 5px; }
.megamenu-links li a { font-size: 0.78rem; font-weight: 600; color: #070502; text-decoration: none; }
.megamenu-links li a:hover { color: #1D2555; text-decoration: underline; }
.megamenu-img { width: 100%; height: 80px; margin-top: auto; overflow: hidden; }
.megamenu-img img { width: 100%; height: 100%; object-fit: contain; }

/* BUTTONS */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 28px; font-weight: 700; font-size: 0.9rem; text-transform: uppercase;
  border-radius: 6px; border: 2px solid transparent; cursor: pointer; transition: all 0.25s ease; text-decoration: none;
}
.btn-primary { background-color: #EEBC40; color: #070502; }
.btn-primary:hover { background-color: #f2cb68; box-shadow: 0 0 20px rgba(238,188,64,0.4); transform: translateY(-2px); }
.btn-secondary { background-color: transparent; color: #EEBC40; border-color: #EEBC40; }
.btn-secondary:hover { background-color: #EEBC40; color: #070502; transform: translateY(-2px); }
.btn-outline { background-color: transparent; color: #fff; border-color: rgba(255,255,255,0.3); }
.btn-outline:hover { border-color: #EEBC40; color: #EEBC40; }
.btn-block { width: 100%; }

/* HERO BANNER */
.hero-banner {
  position: relative; height: 75vh; min-height: 500px;
  background: url('https://images.unsplash.com/photo-1500382017468-9049fed747ef?auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
  display: flex; align-items: center;
}
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7,5,2,0.95) 0%, rgba(29,37,85,0.8) 60%, rgba(0,0,0,0.4) 100%); }
.hero-content { position: relative; z-index: 2; max-width: 750px; }
.badge-hero { background-color: rgba(238,188,64,0.15); color: #EEBC40; border: 1px solid #EEBC40; padding: 6px 14px; border-radius: 20px; font-size: 0.8rem; font-weight: 700; text-transform: uppercase; display: inline-block; margin-bottom: 20px; }
.hero-banner h1 { font-size: clamp(1.6rem, 8vw, 3.2rem); font-weight: 900; line-height: 1.15; margin-bottom: 20px; color: #fff; overflow-wrap: break-word; }
.hero-banner p { font-size: 1.15rem; color: #e0e4f5; margin-bottom: 35px; }
.hero-buttons { display: flex; gap: 15px; flex-wrap: wrap; }

/* CATEGORIAS LANDING */
.categories-section { padding: 90px 0; background-color: #070502; }
.section-title { text-align: center; margin-bottom: 45px; }
.section-title h2 { font-size: 2.5rem; color: #EEBC40; font-weight: 800; }
.section-title p { color: #a0a7cc; }
.category-tabs { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin-bottom: 35px; }
@media (min-width: 769px) {
  .category-tabs { display: grid; grid-template-columns: repeat(4, 1fr); max-width: 960px; margin-left: auto; margin-right: auto; }
}
.tab-btn { justify-content: center; background-color: #1D2555; color: #fff; border: 1px solid rgba(238,188,64,0.2); padding: 12px 20px; border-radius: 6px; font-weight: 700; font-size: 0.88rem; cursor: pointer; display: flex; align-items: center; gap: 8px; transition: all 0.25s; }
.tab-btn i { color: #EEBC40; }
.tab-btn:hover, .tab-btn.active { background-color: #EEBC40; color: #070502; border-color: #EEBC40; }
.tab-btn:hover i, .tab-btn.active i { color: #070502; }

.category-display .display-card { background-color: #111736; border: 1px solid rgba(238,188,64,0.2); border-radius: 10px; display: grid; grid-template-columns: 1.2fr 1fr; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.4); }
.display-info { padding: 45px; display: flex; flex-direction: column; justify-content: center; }
.category-tag { color: #EEBC40; font-size: 0.85rem; font-weight: 800; text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 10px; }
.display-info h3 { font-size: 2rem; margin-bottom: 15px; font-weight: 800; }
.display-info p { color: #e0e4f5; margin-bottom: 25px; font-size: 0.95rem; }
.specs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 30px; }
.spec-item { background-color: rgba(29,37,85,0.6); padding: 12px 16px; border-radius: 6px; border-left: 3px solid #EEBC40; }
.spec-label { display: block; font-size: 0.75rem; color: #a0a7cc; text-transform: uppercase; }
.spec-value { font-size: 0.95rem; font-weight: 700; color: #fff; }
.display-media { position: relative; min-height: 380px; }
.display-media img { width: 100%; height: 100%; object-fit: cover; }

/* BREADCRUMBS & INDIVIDUAL PRODUCT PAGE */
.breadcrumb-section { background-color: #141b42; padding: 15px 0; border-bottom: 1px solid rgba(238,188,64,0.15); }
.breadcrumb-list { display: flex; align-items: center; gap: 10px; font-size: 0.85rem; color: #a0a7cc; list-style: none; }
.breadcrumb-list a { color: #EEBC40; text-decoration: none; }
.breadcrumb-list a:hover { text-decoration: underline; }

.product-detail-hero { padding: 60px 0; background-color: #070502; }
.product-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 50px; align-items: start; }
.gallery-main { width: 100%; height: 420px; border-radius: 10px; overflow: hidden; border: 1px solid rgba(238,188,64,0.3); box-shadow: 0 10px 30px rgba(0,0,0,0.4); margin-bottom: 15px; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs { display: flex; gap: 12px; }
.gallery-thumbs .thumb { width: 80px; height: 60px; border-radius: 6px; overflow: hidden; border: 2px solid transparent; cursor: pointer; transition: all 0.25s; }
.gallery-thumbs .thumb.active, .gallery-thumbs .thumb:hover { border-color: #EEBC40; }
.gallery-thumbs .thumb img { width: 100%; height: 100%; object-fit: cover; }

.product-meta .badge-category { background-color: #1D2555; color: #EEBC40; padding: 6px 14px; border-radius: 20px; font-size: 0.8rem; font-weight: 800; text-transform: uppercase; display: inline-block; margin-bottom: 15px; border: 1px solid rgba(238,188,64,0.3); }
.product-meta h1 { font-size: 2.6rem; font-weight: 900; color: #fff; margin-bottom: 10px; line-height: 1.2; }
.product-meta .sku { color: #a0a7cc; font-size: 0.85rem; margin-bottom: 20px; display: block; }
.product-short-desc { font-size: 1.05rem; color: #e0e4f5; line-height: 1.7; margin-bottom: 30px; }
.quick-specs-box { background-color: #111736; padding: 20px; border-radius: 10px; border-left: 4px solid #EEBC40; margin-bottom: 30px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 15px; }
.quick-specs-box .qs-item strong { display: block; font-size: 0.75rem; color: #a0a7cc; text-transform: uppercase; }
.quick-specs-box .qs-item span { font-size: 1rem; font-weight: 700; color: #fff; }
.product-actions { display: flex; gap: 15px; flex-wrap: wrap; }

.technical-specs-section { padding: 60px 0; background-color: #1D2555; }
.technical-specs-section .section-heading h2 { font-size: 2rem; color: #EEBC40; font-weight: 800; margin-bottom: 30px; }
.specs-table { width: 100%; border-collapse: collapse; background-color: #111736; border-radius: 10px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.4); }
.specs-table th, .specs-table td { padding: 16px 20px; text-align: left; font-size: 0.95rem; }
.specs-table th { background-color: #141b42; color: #EEBC40; font-weight: 800; text-transform: uppercase; font-size: 0.85rem; border-bottom: 2px solid rgba(238,188,64,0.3); }
.specs-table tr { border-bottom: 1px solid rgba(255,255,255,0.05); }
.specs-table tr:hover { background-color: rgba(238,188,64,0.05); }
.specs-table td.spec-name { font-weight: 700; color: #fff; width: 40%; }
.specs-table td.spec-val { color: #e0e4f5; }

/* QUIÉNES SOMOS & CONTACTO */
.about-section { padding: 90px 0; background-color: #1D2555; }
.about-section .grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-image { position: relative; }
.about-image img { width: 100%; border-radius: 12px; box-shadow: 0 15px 35px rgba(0,0,0,0.4); }
.about-features { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; max-width: 960px; margin-top: 70px; padding-top: 50px; border-top: 1px solid rgba(238,188,64,0.2); }
.about-features li { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 16px; font-size: 1.1rem; font-weight: 800; line-height: 1.35; letter-spacing: 0.5px; text-transform: uppercase; color: #fff; }
.about-features i { width: 72px; height: 72px; border-radius: 50%; background-color: rgba(238,188,64,0.12); border: 1px solid rgba(238,188,64,0.4); color: #EEBC40; font-size: 1.8rem; display: flex; align-items: center; justify-content: center; }

.contact-section { padding: 90px 0; background-color: #070502; }
.contact-wrapper { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.contact-info h2 { font-size: 2.4rem; margin-bottom: 20px; font-weight: 800; color: #fff; }
.text-gold { color: #EEBC40; font-weight: 700; }
.text-gradient-gold {
  background: linear-gradient(90deg, #FFE08A 0%, #EEBC40 45%, #D9921A 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: #EEBC40;
}
.c-detail { display: flex; align-items: flex-start; gap: 15px; margin-bottom: 20px; }
.c-detail i { width: 45px; height: 45px; background-color: rgba(238,188,64,0.1); border: 1px solid #EEBC40; color: #EEBC40; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; flex-shrink: 0; }

.contact-form-container { background-color: #111736; padding: 40px; border-radius: 10px; border: 1px solid rgba(238,188,64,0.2); box-shadow: 0 15px 35px rgba(0,0,0,0.5); }
.form-title { font-size: 1.6rem; color: #EEBC40; margin-bottom: 25px; font-weight: 800; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 8px; font-size: 0.85rem; font-weight: 700; color: #e0e4f5; }
.form-group input, .form-group textarea, .form-group select { width: 100%; padding: 14px 16px; background-color: #141b42; border: 1px solid rgba(238,188,64,0.2); border-radius: 6px; color: #fff; font-family: 'Montserrat', sans-serif; font-size: 0.95rem; }
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: #EEBC40; box-shadow: 0 0 10px rgba(238,188,64,0.3); }

/* FOOTER */
.main-footer { background-color: #040301; border-top: 1px solid rgba(238,188,64,0.15); padding-top: 70px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 40px; margin-bottom: 50px; }
.footer-brand { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.footer-partner-logo { height: 70px; width: auto; }
.footer-col h4 { color: #EEBC40; font-size: 1.1rem; margin-bottom: 20px; font-weight: 800; }
.footer-col p { color: #a0a7cc; font-size: 0.9rem; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { color: #a0a7cc; font-size: 0.9rem; text-decoration: none; }
.footer-col ul li a:hover { color: #EEBC40; }
.social-links-footer { display: flex; gap: 12px; margin-top: 20px; }
.social-links-footer a { width: 38px; height: 38px; background-color: #1D2555; color: #EEBC40; border-radius: 50%; display: flex; align-items: center; justify-content: center; text-decoration: none; }
.social-links-footer a:hover { background-color: #EEBC40; color: #070502; }
.footer-bottom { background-color: #020100; padding: 20px 0; border-top: 1px solid rgba(255,255,255,0.05); }
.footer-bottom-content { display: flex; justify-content: space-between; color: #a0a7cc; font-size: 0.85rem; }

/* MENÚ MOBILE */
.mobile-toggle { display: none; background: none; border: none; color: #EEBC40; font-size: 1.8rem; cursor: pointer; padding: 8px; line-height: 1; }

@media (max-width: 992px) {
  .mobile-toggle { display: block; }
  .main-header { position: sticky; }
  .nav-menu {
    display: none; position: absolute; top: 100%; left: 0; width: 100%;
    background-color: #1D2555; border-top: 1px solid rgba(238,188,64,0.2);
    box-shadow: 0 15px 35px rgba(0,0,0,0.5);
    max-height: calc(100vh - 80px); overflow-y: auto;
  }
  .nav-menu.open { display: block; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; width: 90%; margin: 0 auto; padding: 10px 0 20px; }
  .nav-item { border-bottom: 1px solid rgba(255,255,255,0.08); }
  .nav-item:last-child { border-bottom: none; padding-top: 16px; }
  .nav-link { padding: 16px 0; justify-content: space-between; }
  .nav-link.btn { justify-content: center; width: 100%; }
  .caret-icon { transition: transform 0.25s ease; }
  .has-megamenu.open .caret-icon { transform: rotate(180deg); }

  .megamenu {
    display: none; position: static; width: 100%;
    opacity: 1; visibility: visible; transform: none; transition: none;
    box-shadow: none; border-bottom: none; border-radius: 6px; padding: 16px 0; margin-bottom: 14px;
  }
  .has-megamenu.open .megamenu { display: block; }
  .megamenu-grid { grid-template-columns: repeat(2, 1fr); gap: 18px 14px; }
  .megamenu-col { border-right: none; padding-right: 0; }
  .megamenu-title { min-height: 0; }
  .megamenu-links li { margin-bottom: 8px; }
  .megamenu-links li a { font-size: 0.85rem; }
  .megamenu-img { height: 70px; }
  .category-display .display-card, .product-grid, .about-section .grid-2, .contact-wrapper { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .about-features { grid-template-columns: 1fr; gap: 28px; margin-top: 50px; padding-top: 40px; }
  .about-features li { font-size: 1rem; }
  .about-features i { width: 60px; height: 60px; font-size: 1.5rem; }
  .megamenu-grid { grid-template-columns: 1fr; }
  .megamenu-col { display: grid; grid-template-columns: 1fr 90px; grid-template-areas: "title img" "links img"; column-gap: 12px; }
  .megamenu-title { grid-area: title; }
  .megamenu-links { grid-area: links; margin-bottom: 0; }
  .megamenu-img { grid-area: img; height: 70px; align-self: center; }
  .top-info span { display: block; margin-right: 0; }
}

/* Safari: evitar que auto-detecte teléfonos/emails como links */
a[x-apple-data-detectors] { color: inherit !important; text-decoration: none !important; font: inherit !important; }
