/* ===== VARIABLES ===== */
:root {
  --maroon: #8B0038;
  --maroon-dark: #6d002c;
  --maroon-light: #a5003f;
  --gold: #C9A84C;
  --gold-light: #e0c06a;
  --gold-dark: #a88a3a;
  --cream: #FAF7F2;
  --cream-dark: #F0EBE3;
  --text-dark: #1a1a1a;
  --text-mid: #444444;
  --text-light: #888888;
  --white: #ffffff;
  --shadow: 0 4px 20px rgba(0,0,0,0.1);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.15);
  --radius: 12px;
  --transition: all 0.3s ease;
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: 'Segoe UI', Georgia, sans-serif; color: var(--text-dark); background: var(--white); line-height: 1.6; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ===== UTILITY ===== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section-title { font-size: 2.2rem; font-weight: 700; color: var(--maroon); text-align: center; margin-bottom: 12px; }
.section-subtitle { text-align: center; color: var(--text-mid); font-size: 1.05rem; margin-bottom: 50px; max-width: 600px; margin-left: auto; margin-right: auto; }
.gold-line { display: block; width: 60px; height: 3px; background: var(--gold); margin: 10px auto 0; }
.btn { display: inline-block; padding: 14px 32px; border-radius: 6px; font-weight: 600; font-size: 1rem; cursor: pointer; transition: var(--transition); border: 2px solid transparent; }
.btn-primary { background: var(--maroon); color: var(--white); border-color: var(--maroon); }
.btn-primary:hover { background: var(--maroon-dark); border-color: var(--maroon-dark); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-outline { background: transparent; color: var(--maroon); border-color: var(--maroon); }
.btn-outline:hover { background: var(--maroon); color: var(--white); transform: translateY(-2px); }
.btn-gold { background: var(--gold); color: var(--white); border-color: var(--gold); }
.btn-gold:hover { background: var(--gold-dark); border-color: var(--gold-dark); transform: translateY(-2px); box-shadow: var(--shadow); }
section { padding: 80px 0; }

/* ===== TOPBAR ===== */
.topbar { background: var(--maroon); color: var(--white); padding: 8px 0; font-size: 0.85rem; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 6px; }
.topbar a { color: var(--gold-light); }
.topbar a:hover { color: var(--white); }
.topbar-right { display: flex; gap: 20px; align-items: center; }

/* ===== NAVBAR ===== */
.navbar { background: var(--white); box-shadow: 0 2px 15px rgba(0,0,0,0.08); position: sticky; top: 0; z-index: 1000; transition: var(--transition); }
.navbar.scrolled { box-shadow: 0 4px 20px rgba(0,0,0,0.15); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; padding: 12px 0; }
.nav-logo img { width: 286px; }
.nav-links { display: flex; gap: 30px; align-items: center; }
.nav-links a { color: var(--text-dark); font-weight: 500; font-size: 0.95rem; transition: var(--transition); position: relative; }
.nav-links a::after { content: ''; position: absolute; bottom: -3px; left: 0; width: 0; height: 2px; background: var(--gold); transition: var(--transition); }
.nav-links a:hover { color: var(--maroon); }
.nav-links a:hover::after { width: 100%; }
.nav-cta { background: var(--maroon); color: var(--white) !important; padding: 10px 22px; border-radius: 6px; font-size: 0.9rem !important; }
.nav-cta:hover { background: var(--maroon-dark) !important; }
.nav-cta::after { display: none !important; }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 5px; }
.hamburger span { display: block; width: 25px; height: 2px; background: var(--maroon); transition: var(--transition); }

/* ===== HERO ===== */
.hero { background: linear-gradient(135deg, var(--maroon) 0%, #6d002c 50%, #4a001e 100%); min-height: 92vh; display: flex; align-items: center; position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: 0; background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"); }
.hero-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; position: relative; z-index: 1; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(201,168,76,0.2); border: 1px solid rgba(201,168,76,0.5); color: var(--gold-light); padding: 6px 16px; border-radius: 50px; font-size: 0.85rem; margin-bottom: 20px; }
.hero-title { font-size: 3.2rem; font-weight: 800; color: var(--white); line-height: 1.2; margin-bottom: 20px; }
.hero-title span { color: var(--gold); }
.hero-desc { color: rgba(255,255,255,0.8); font-size: 1.1rem; margin-bottom: 36px; line-height: 1.7; }
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 30px; margin-top: 50px; flex-wrap: wrap; }
.hero-stat { text-align: center; }
.hero-stat-num { font-size: 2rem; font-weight: 800; color: var(--gold); display: block; }
.hero-stat-label { color: rgba(255,255,255,0.7); font-size: 0.85rem; }
.hero-img { display: flex; justify-content: center; align-items: center; }
.hero-img-wrap { position: relative; }
.hero-img-wrap img { border-radius: 20px; box-shadow: 0 20px 60px rgba(0,0,0,0.4); max-height: 420px; object-fit: cover; }
.hero-float-card { position: absolute; background: var(--white); border-radius: 12px; padding: 14px 18px; box-shadow: var(--shadow-lg); }
.hero-float-card.card-1 { bottom: -20px; left: -20px; }
.hero-float-card.card-2 { top: -20px; right: -20px; }
.hero-float-card .card-val { font-size: 1.4rem; font-weight: 800; color: var(--maroon); }
.hero-float-card .card-label { font-size: 0.75rem; color: var(--text-light); }

/* ===== FEATURES ===== */
.features { background: var(--cream); }
.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.feature-card { background: var(--white); border-radius: var(--radius); padding: 32px 24px; text-align: center; box-shadow: var(--shadow); transition: var(--transition); border-bottom: 3px solid transparent; }
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-bottom-color: var(--gold); }
.feature-icon { width: 64px; height: 64px; background: linear-gradient(135deg, var(--maroon), var(--maroon-light)); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; }
.feature-icon svg { width: 30px; height: 30px; fill: var(--white); }
.feature-card h3 { font-size: 1.1rem; color: var(--maroon); margin-bottom: 10px; font-weight: 700; }
.feature-card p { font-size: 0.9rem; color: var(--text-mid); line-height: 1.6; }

/* ===== PRODUCTS ===== */
.products { background: var(--white); }
.category-filters { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 40px; }
.filter-btn { padding: 10px 22px; border-radius: 50px; border: 2px solid var(--maroon); background: transparent; color: var(--maroon); font-size: 0.9rem; font-weight: 600; cursor: pointer; transition: var(--transition); }
.filter-btn.active, .filter-btn:hover { background: var(--maroon); color: var(--white); }
.products-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.product-card { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: var(--transition); border: 1px solid #f0eae0; display: flex; flex-direction: column; }
.product-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.product-card.hidden { display: none; }
.product-img { position: relative; background: var(--cream); overflow: hidden; aspect-ratio: 4/3; display: flex; align-items: center; justify-content: center; }
.product-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.product-card:hover .product-img img { transform: scale(1.05); }
.product-img-placeholder { width: 100%; height: 100%; background: linear-gradient(135deg, var(--cream) 0%, var(--cream-dark) 100%); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 20px; }
.product-img-placeholder svg { width: 48px; height: 48px; fill: var(--gold); opacity: 0.6; }
.product-img-placeholder span { font-size: 0.8rem; color: var(--text-light); text-align: center; }
.product-badge { position: absolute; top: 12px; left: 12px; background: var(--maroon); color: var(--white); font-size: 0.75rem; font-weight: 700; padding: 4px 10px; border-radius: 4px; }
.product-badge.eco { background: #2d7a2d; }
.product-badge.premium { background: var(--gold-dark); }
.product-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.product-code { font-size: 0.78rem; color: var(--text-light); font-weight: 600; letter-spacing: 1px; margin-bottom: 6px; }
.product-name { font-size: 1rem; font-weight: 700; color: var(--text-dark); margin-bottom: 10px; line-height: 1.4; }
.product-items { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 14px; flex: 1; }
.product-item-tag { background: var(--cream); border: 1px solid var(--cream-dark); color: var(--text-mid); font-size: 0.72rem; padding: 3px 8px; border-radius: 4px; }
.product-footer { display: flex; align-items: center; justify-content: space-between; padding-top: 14px; border-top: 1px solid var(--cream-dark); margin-top: auto; }
.product-price { font-size: 1.3rem; font-weight: 800; color: var(--maroon); }
.product-price small { font-size: 0.75rem; font-weight: 400; color: var(--text-light); display: block; }
.btn-quote { padding: 9px 18px; font-size: 0.85rem; background: var(--maroon); color: var(--white); border: none; border-radius: 6px; cursor: pointer; font-weight: 600; transition: var(--transition); }
.btn-quote:hover { background: var(--maroon-dark); }
.load-more-wrap { text-align: center; margin-top: 50px; }

/* ===== PROCESS ===== */
.process { background: var(--maroon); }
.process .section-title { color: var(--white); }
.process .section-subtitle { color: rgba(255,255,255,0.75); }
.process .gold-line { background: var(--gold); }
.process-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; position: relative; }
.process-steps::before { content: ''; position: absolute; top: 35px; left: 12%; right: 12%; height: 2px; background: rgba(201,168,76,0.3); }
.process-step { text-align: center; position: relative; }
.step-num { width: 70px; height: 70px; background: var(--gold); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.6rem; font-weight: 800; color: var(--white); margin: 0 auto 20px; position: relative; z-index: 1; }
.process-step h3 { color: var(--white); font-size: 1rem; margin-bottom: 8px; font-weight: 700; }
.process-step p { color: rgba(255,255,255,0.65); font-size: 0.88rem; line-height: 1.5; }

/* ===== QUOTE FORM ===== */
.quote-section { background: var(--cream); }
.quote-inner { display: grid; grid-template-columns: 1fr 1.4fr; gap: 60px; align-items: start; }
.quote-info h2 { font-size: 2rem; color: var(--maroon); margin-bottom: 16px; font-weight: 800; }
.quote-info p { color: var(--text-mid); margin-bottom: 28px; line-height: 1.7; }
.quote-contact-item { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--cream-dark); }
.quote-contact-item:last-child { border-bottom: none; }
.contact-icon { width: 44px; height: 44px; background: var(--maroon); border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-icon svg { width: 20px; height: 20px; fill: var(--white); }
.contact-detail .label { font-size: 0.78rem; color: var(--text-light); font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; }
.contact-detail .value { font-size: 0.95rem; color: var(--text-dark); font-weight: 600; }
.contact-detail a { color: var(--maroon); }
.quote-form-wrap { background: var(--white); border-radius: 16px; padding: 40px; box-shadow: var(--shadow-lg); }
.quote-form-wrap h3 { font-size: 1.5rem; color: var(--maroon); margin-bottom: 24px; font-weight: 700; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group.full { grid-column: 1 / -1; }
.form-group label { font-size: 0.85rem; font-weight: 600; color: var(--text-dark); }
.form-group input, .form-group select, .form-group textarea { padding: 12px 16px; border: 2px solid #e8e0d5; border-radius: 8px; font-size: 0.95rem; font-family: inherit; color: var(--text-dark); transition: var(--transition); background: var(--cream); }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--maroon); background: var(--white); }
.form-group textarea { resize: vertical; min-height: 110px; }
.form-group select { cursor: pointer; }
.form-submit { margin-top: 8px; }
.form-submit .btn { width: 100%; justify-content: center; display: flex; align-items: center; gap: 10px; font-size: 1.05rem; padding: 16px; }
.alert { padding: 14px 18px; border-radius: 8px; margin-bottom: 20px; font-size: 0.92rem; font-weight: 600; }
.alert-success { background: #d4edda; color: #155724; border: 1px solid #c3e6cb; }
.alert-error { background: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }

/* ===== ABOUT ===== */
.about { background: var(--white); }
.about-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.about-img-wrap { position: relative; }
.about-img-main { border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-lg); }
.about-img-main img { width: 100%; height: 400px; object-fit: cover; }
.about-img-placeholder { width: 100%; height: 400px; background: linear-gradient(135deg, var(--maroon), var(--maroon-dark)); border-radius: 16px; display: flex; align-items: center; justify-content: center; }
.about-img-placeholder img { max-width: 200px; filter: brightness(0) invert(1); opacity: 0.3; }
.about-accent { position: absolute; bottom: -20px; right: -20px; background: var(--gold); border-radius: 12px; padding: 24px; color: var(--white); text-align: center; box-shadow: var(--shadow); }
.about-accent .num { font-size: 2.2rem; font-weight: 800; display: block; }
.about-accent .lbl { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 1px; opacity: 0.9; }
.about-content h2 { font-size: 2rem; color: var(--maroon); margin-bottom: 16px; font-weight: 800; line-height: 1.3; }
.about-content p { color: var(--text-mid); margin-bottom: 20px; line-height: 1.75; }
.about-points { display: flex; flex-direction: column; gap: 14px; margin-bottom: 32px; }
.about-point { display: flex; align-items: flex-start; gap: 12px; }
.about-point-icon { width: 28px; height: 28px; background: var(--gold); border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 2px; }
.about-point-icon svg { width: 14px; height: 14px; fill: var(--white); }
.about-point p { color: var(--text-mid); font-size: 0.95rem; margin: 0; }

/* ===== FOOTER ===== */
.footer { background: #1a0010; color: var(--white); }
.footer-top { padding: 60px 0 40px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 40px; }
.footer-brand img { width: 323px; margin-bottom: 16px; }
.footer-brand p { color: rgba(255,255,255,0.6); font-size: 0.88rem; line-height: 1.7; margin-bottom: 20px; }
.footer-social { display: flex; gap: 10px; }
.social-link { width: 38px; height: 38px; background: rgba(255,255,255,0.1); border-radius: 8px; display: flex; align-items: center; justify-content: center; transition: var(--transition); }
.social-link:hover { background: var(--gold); }
.social-link svg { width: 18px; height: 18px; fill: var(--white); }
.footer-col h4 { color: var(--gold); font-size: 1rem; font-weight: 700; margin-bottom: 20px; text-transform: uppercase; letter-spacing: 1px; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul a { color: rgba(255,255,255,0.6); font-size: 0.88rem; transition: var(--transition); }
.footer-col ul a:hover { color: var(--gold); padding-left: 4px; }
.footer-contact-item { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 14px; }
.footer-contact-item svg { width: 16px; height: 16px; fill: var(--gold); flex-shrink: 0; margin-top: 3px; }
.footer-contact-item a, .footer-contact-item span { color: rgba(255,255,255,0.6); font-size: 0.88rem; transition: var(--transition); }
.footer-contact-item a:hover { color: var(--gold); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding: 20px 0; }
.footer-bottom-inner { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.footer-bottom p { color: rgba(255,255,255,0.4); font-size: 0.82rem; }
.footer-bottom a { color: var(--gold); }

/* ===== WHATSAPP ===== */
.whatsapp-float { position: fixed; bottom: 30px; right: 30px; z-index: 9999; }
.whatsapp-btn { display: flex; align-items: center; gap: 10px; background: #25D366; color: var(--white); padding: 14px 20px; border-radius: 50px; box-shadow: 0 4px 20px rgba(37,211,102,0.4); font-weight: 700; font-size: 0.95rem; transition: var(--transition); }
.whatsapp-btn:hover { transform: translateY(-4px) scale(1.03); box-shadow: 0 8px 30px rgba(37,211,102,0.5); }
.whatsapp-btn svg { width: 28px; height: 28px; fill: var(--white); flex-shrink: 0; }
.whatsapp-pulse { position: absolute; top: -4px; right: -4px; width: 16px; height: 16px; background: #ff4444; border-radius: 50%; border: 2px solid var(--white); }

/* ===== MODAL ===== */
.modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.6); z-index: 10000; display: flex; align-items: center; justify-content: center; padding: 20px; opacity: 0; pointer-events: none; transition: opacity 0.3s ease; }
.modal-overlay.active { opacity: 1; pointer-events: all; }
.modal { background: var(--white); border-radius: 16px; width: 100%; max-width: 500px; padding: 36px; position: relative; transform: scale(0.9); transition: transform 0.3s ease; }
.modal-overlay.active .modal { transform: scale(1); }
.modal-close { position: absolute; top: 16px; right: 16px; width: 32px; height: 32px; background: var(--cream); border: none; border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; color: var(--text-mid); transition: var(--transition); }
.modal-close:hover { background: var(--maroon); color: var(--white); }
.modal h3 { font-size: 1.4rem; color: var(--maroon); margin-bottom: 6px; }
.modal .product-ref { font-size: 0.85rem; color: var(--text-light); margin-bottom: 24px; font-weight: 600; }

/* ===== SCROLL TOP ===== */
.scroll-top { position: fixed; bottom: 100px; right: 30px; width: 44px; height: 44px; background: var(--maroon); color: var(--white); border: none; border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; z-index: 999; box-shadow: var(--shadow); opacity: 0; pointer-events: none; transition: var(--transition); }
.scroll-top.visible { opacity: 1; pointer-events: all; }
.scroll-top:hover { background: var(--maroon-dark); transform: translateY(-3px); }
.scroll-top svg { width: 20px; height: 20px; fill: var(--white); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hero-title { font-size: 2.6rem; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  section { padding: 60px 0; }
  .topbar .container { justify-content: center; text-align: center; }
  .hamburger { display: flex; }
  .nav-links { position: fixed; top: 0; right: -100%; width: 280px; height: 100vh; background: var(--white); flex-direction: column; padding: 80px 30px 30px; gap: 18.2px; box-shadow: -5px 0 30px rgba(0,0,0,0.15); transition: var(--transition); z-index: 999; }
  .nav-links.open { right: 0; }
  .nav-links a { padding: 15px; border-bottom: 1px solid var(--cream-dark); font-size: 1rem; }
  .nav-links a::after { display: none; }
  .nav-cta { margin-top: 20px; text-align: center; }
  .hero-inner { grid-template-columns: 1fr; text-align: center; gap: 40px; }
  .hero-img { display: none; }
  .hero-btns { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-title { font-size: 2.2rem; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .products-grid { grid-template-columns: 1fr 1fr; }
  .process-steps { grid-template-columns: 1fr 1fr; }
  .process-steps::before { display: none; }
  .quote-inner { grid-template-columns: 1fr; }
  .about-inner { grid-template-columns: 1fr; }
  .about-accent { position: static; display: inline-block; margin-top: 16px; }
  .footer-grid { grid-template-columns: 1fr; }
  .section-title { font-size: 1.8rem; }
  .whatsapp-btn span { display: none; }
  .whatsapp-btn { border-radius: 50%; padding: 14px; }
}
@media (max-width: 480px) {
  .features-grid { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .form-group.full { grid-column: auto; }
  .hero-title { font-size: 1.9rem; }
  .process-steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom-inner { flex-direction: column; text-align: center; }
}
