/* public/assets/css/style.css */
:root {
    --primary: #7B1E1E;
    --secondary: #D4AF37;
    --accent: #FF9933;
    --bg: #FFFFFF;
    --text: #1F1F1F;
    --muted: #666666;
    --border: #E7E0DA;
    font-family: 'DM Sans', sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); line-height: 1.6; overflow-x: hidden; }
a { color: var(--primary); text-decoration: none; }
img, iframe, video { display: block; max-width: 100%; height: auto; }
button, input, textarea { font: inherit; }
.container { width: min(1100px, calc(100% - 2rem)); margin: 0 auto; }
.site-header { background: linear-gradient(90deg, #fff6e5 0%, #ffd98f 100%); border-bottom: 1px solid #f0d190; position: sticky; top: 0; z-index: 100; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 0; flex-wrap: wrap; }
.brand { display: flex; flex-direction: row; align-items: center; gap: 0.9rem; font-weight: 700; }
.site-logo { width: 72px; height: 72px; object-fit: contain; border-radius: 0.9rem; }
.brand-name { color: var(--primary); font-size: 1.2rem; }
.brand-subtitle { color: var(--muted); font-size: 0.95rem; }
.main-nav { display: flex; gap: 1rem; flex-wrap: wrap; }
.nav-toggle { display: none; background: transparent; border: none; color: var(--primary); font-size: 1rem; }
.btn { display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; padding: 0.95rem 1.75rem; font-weight: 600; transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 18px 45px rgba(123, 30, 30, 0.12); }
.btn-primary { background: var(--primary); color: #fff; border: 1px solid var(--primary); }
.btn-secondary { background: transparent; color: var(--primary); border: 1px solid var(--primary); }
.btn-tertiary { background: var(--accent); color: #fff; border: 1px solid var(--accent); }
.btn-outline { background: transparent; border: 1px solid var(--border); color: var(--text); }
.btn-whatsapp { background: #25d366; color: #fff; }
.hero { padding: 4.5rem 0; background: linear-gradient(180deg, rgba(255, 236, 203, 0.8), rgba(255, 255, 255, 0.95)); position: relative; overflow: hidden; }
.hero::after { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at top right, rgba(255,255,255,0.55), transparent 35%); pointer-events: none; }
.page-hero-small { padding: 3rem 0; }
.hero-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; align-items: center; }
.hero-copy { max-width: 34rem; position: relative; z-index: 1; }
.hero-copy .eyebrow { display: inline-block; margin-bottom: 1rem; padding: 0.5rem 1rem; color: var(--secondary); border: 1px solid var(--secondary); border-radius: 999px; font-size: 0.95rem; letter-spacing: 0.05em; text-transform: uppercase; }
.hero-copy h1 { margin-bottom: 1.2rem; }
.hero-media { position: relative; z-index: 1; }
.hero-media img { border-radius: 1.5rem; box-shadow: 0 24px 80px rgba(123, 30, 30, 0.12); transform: translateY(0); transition: transform 0.6s ease; }
.hero-media:hover img { transform: translateY(-8px) scale(1.02); }
.hero-copy h1 { font-size: clamp(2rem, 4vw, 3.5rem); margin: 0 0 1rem; }
.hero-copy p { color: var(--muted); font-size: 1.05rem; margin-bottom: 1.5rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; }
.hero-media img { border-radius: 1.5rem; }
.section { padding: 3rem 0; }
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.8s ease, transform 0.8s ease; will-change: opacity, transform; }
.reveal.active { opacity: 1; transform: translateY(0); }
.section-heading { text-align: center; max-width: 760px; margin: 0 auto 2rem; position: relative; }
.section-heading::after { content: ''; width: 56px; height: 4px; background: linear-gradient(90deg, var(--primary), var(--accent)); display: block; margin: 1rem auto 0; border-radius: 999px; }
.section-heading h2 { font-size: clamp(2rem, 3vw, 2.75rem); margin-bottom: 1rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.card, .category-card, .testimonial-card, .admin-card, .benefit-card { background: #fff; border: 1px solid var(--border); border-radius: 1.25rem; padding: 1.75rem; box-shadow: 0 20px 60px rgba(123,30,30,0.06); transition: transform 0.35s ease, box-shadow 0.35s ease; }
.card:hover, .category-card:hover, .testimonial-card:hover, .admin-card:hover, .benefit-card:hover { transform: translateY(-5px); box-shadow: 0 28px 80px rgba(123,30,30,0.12); }
.card h3, .category-card h3, .testimonial-card h3, .benefit-card h3 { margin-top: 0; color: var(--primary); }
.product-grid, .testimonial-grid, .gallery-grid { display: grid; gap: 1.5rem; }
.product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.testimonial-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.gallery-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.product-card img, .blog-card img { border-radius: 1rem; }
.product-detail-grid, .contact-preview-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; align-items: center; }
.product-meta { list-style: none; padding: 0; margin: 1.5rem 0; display: grid; gap: 0.65rem; }
.product-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.article-content, .contact-details, .value-card, .admin-card { color: var(--text); }
.faq-item { margin-bottom: 1.5rem; }
.faq-item h3 { margin-bottom: 0.75rem; }
.form-center { max-width: 48rem; margin: 0 auto; }
form { display: grid; gap: 1rem; }
label { font-weight: 600; }
input, textarea { width: 100%; border: 1px solid var(--border); border-radius: 0.85rem; padding: 0.95rem 1rem; }
textarea { min-height: 140px; resize: vertical; }
.contact-card, .map-frame { padding: 1.5rem; background: #fff; border: 1px solid var(--border); border-radius: 1rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 2rem; padding: 3rem 0; }
.footer-bottom { border-top: 1px solid var(--border); padding: 1.25rem 0; text-align: center; color: var(--muted); }
.back-to-top { position: fixed; right: 1.25rem; bottom: 1.25rem; width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: var(--primary); color: #fff; border: none; box-shadow: 0 18px 50px rgba(123,30,30,0.2); cursor: pointer; opacity: 0; visibility: hidden; transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease; z-index: 200; }
.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { transform: translateY(-3px); }
/* Social icons in footer */
.social-icons { display: inline-flex; gap: 0.6rem; justify-content: center; margin-bottom: 0.6rem; }
.social-icons a { display: inline-flex; width: 40px; height: 40px; align-items: center; justify-content: center; border-radius: 50%; background: #fff; border: 1px solid var(--border); color: var(--primary); transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease; }
.social-icons a:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(123,30,30,0.08); }
.social-icons a.facebook { color: #1877F2; }
.social-icons a.instagram { color: #E1306C; }
.social-icons a.x { color: #1DA1F2; }
.social-icons a.youtube { color: #FF0000; }
.social-icons a.whatsapp { color: #25D366; }
/* Invert colors on hover: platform background with white icon */
.social-icons a.facebook:hover { background: #1877F2; color: #fff; }
.social-icons a.instagram:hover { background: #E1306C; color: #fff; }
.social-icons a.x:hover { background: #1DA1F2; color: #fff; }
.social-icons a.youtube:hover { background: #FF0000; color: #fff; }
.social-icons a.whatsapp:hover { background: #25D366; color: #fff; }
.social-icons svg { width: 20px; height: 20px; display: block; }
.alert-error { background: #ffe8e8; border: 1px solid #f0c2c2; padding: 1rem; color: #8a1a1a; border-radius: 1rem; }
.admin-form { max-width: 32rem; margin: 0 auto; }
.admin-grid a, .benefit-card, .admin-card { background: #fff; border: 1px solid var(--border); padding: 1.5rem; border-radius: 1rem; display: block; text-align: center; color: var(--primary); font-weight: 600; }
.footer-grid h4 { margin-bottom: 1rem; }
.footer-grid a { display: block; margin-bottom: 0.6rem; }
.mobile-nav { display: none; flex-direction: column; gap: 1rem; background: #fff; border-bottom: 1px solid var(--border); padding: 1rem; }
.mobile-nav.open { display: flex; }
@media (max-width: 900px) {
    .hero-grid, .grid-3, .grid-2, .product-detail-grid, .contact-preview-grid, .footer-grid, .gallery-grid, .testimonial-grid, .admin-grid { grid-template-columns: 1fr; }
    .main-nav { display: none; }
    .nav-toggle { display: inline-flex; }
    .header-inner { padding: 0.85rem 0; }
    .site-logo { width: 56px; height: 56px; }
    .hero { padding: 2.25rem 0; }
    .hero-copy h1 { font-size: clamp(1.7rem, 6vw, 2.4rem); }
    .hero-actions, .product-actions { flex-direction: column; align-items: stretch; }
    .hero-actions .btn, .product-actions .btn { width: 100%; }
    .section { padding: 2rem 0; }
    .footer-grid { gap: 1.25rem; padding: 2rem 0; }
    .social-icons { flex-wrap: wrap; }
    .contact-card, .map-frame { padding: 1rem; }
}
@media (max-width: 640px) {
    .container { width: min(100%, calc(100% - 1.25rem)); }
    .btn { padding: 0.8rem 1.1rem; width: 100%; }
    .hero-copy p { font-size: 1rem; }
    .section-heading h2 { font-size: 1.6rem; }
    .card, .category-card, .testimonial-card, .admin-card, .benefit-card { padding: 1.25rem; }
    .footer-bottom { padding: 1rem 0.25rem; }
}
