:root {
    --primary: #000000;
    --accent: #C00808;
    --accent-hover: #9B0606;
    --gold: #f5a623;
    --light: #f8f9fa;
    --dark: #000000;
    --text: #333;
    --text-light: #666;
    --white: #ffffff;
    --shadow: 0 4px 30px rgba(0,0,0,0.1);
    --shadow-lg: 0 20px 60px rgba(0,0,0,0.15);
}

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

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', sans-serif;
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}


.top-bar {
    background: var(--primary);
    color: var(--white);
    padding: 8px 0;
    font-size: 0.85rem;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}
.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}
.top-bar a {
    color: var(--white);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color 0.3s;
}
.top-bar a:hover { color: var(--gold); }
.top-bar-links { display: flex; gap: 20px; align-items: center; }

.navbar {
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(10px);
    padding: 12px 0;
    position: fixed;
    top: 38px;
    left: 0;
    right: 0;
    z-index: 999;
    box-shadow: var(--shadow);
    transition: top 0.3s;
}
.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.navbar .logo img { height: 52px; }
.navbar .nav-links { display: flex; gap: 24px; align-items: center; }
.navbar .nav-links a {
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: color 0.3s;
}
.navbar .nav-links a:hover { color: var(--accent); }
.nav-cta {
    background: var(--accent);
    color: var(--white) !important;
    padding: 10px 24px;
    border-radius: 6px;
    font-weight: 600;
    transition: background 0.3s !important;
}
.nav-cta:hover { background: var(--accent-hover) !important; }

.hamburger { display: none; cursor: pointer; flex-direction: column; gap: 5px; }
.hamburger span { width: 28px; height: 3px; background: var(--text); border-radius: 2px; transition: 0.3s; }


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


.hero {
    margin-top: 90px;
    position: relative;
    min-height: 92vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, rgba(0,0,0,0.88) 0%, rgba(0,0,0,0.80) 100%),
                url('img/hero-main.webp') center/cover no-repeat;
    overflow: hidden;
}
.hero::after { display: none; }
.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
    padding-top: 40px;
    padding-bottom: 60px;
}
.hero-content { color: var(--white); }
.hero-badge {
    display: inline-block;
    background: rgba(192,8,8,0.15);
    border: 1px solid rgba(192,8,8,0.4);
    color: var(--accent);
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}
.hero h1 {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
}
.hero h1 span { color: var(--accent); }
.hero p {
    font-size: 1.15rem;
    opacity: 0.9;
    margin-bottom: 30px;
    line-height: 1.7;
}
.hero-stats {
    display: flex;
    gap: 40px;
    margin-top: 30px;
}
.hero-stat { text-align: center; }
.hero-stat .number {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--gold);
    display: block;
}
.hero-stat .label {
    font-size: 0.85rem;
    opacity: 0.8;
    margin-top: 4px;
}


.iframe-wrap {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}
.iframe-wrap iframe {
    display: block;
}


section { padding: 80px 0; }
.section-header {
    text-align: center;
    margin-bottom: 50px;
}
.section-header .overline {
    color: var(--accent);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}
.section-header h2 {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 14px;
}
.section-header p {
    font-size: 1.05rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}


.trust-bar {
    background: var(--light);
    padding: 40px 0;
}
.trust-items {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}
.trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}
.trust-icon {
    width: 56px;
    height: 56px;
    background: var(--white);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
    color: var(--accent);
}
.trust-item h4 { font-size: 1rem; color: var(--primary); }
.trust-item p { font-size: 0.85rem; color: var(--text-light); }


.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.product-card {
    border-radius: 16px;
    overflow: hidden;
    background: var(--white);
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
}
.product-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.product-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}
.product-card-body {
    padding: 24px;
}
.product-card h3 {
    font-size: 1.15rem;
    color: var(--primary);
    margin-bottom: 8px;
}
.product-card p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 16px;
}
.product-link {
    color: var(--accent);
    font-weight: 600;
    text-decoration: none;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}


.sectors-section { background: #1a1a1a; color: var(--white); }
.sectors-section .section-header h2 { color: var(--white); }
.sectors-section .section-header p { color: rgba(255,255,255,0.7); }
.sectors-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.sector-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    height: 200px;
    cursor: pointer;
}
.sector-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}
.sector-card:hover img { transform: scale(1.1); }
.sector-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(transparent 40%, rgba(0,0,0,0.8));
    display: flex;
    align-items: flex-end;
    padding: 20px;
}
.sector-card h4 { font-size: 1rem; font-weight: 600; }


.why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.why-image { border-radius: 16px; overflow: hidden; }
.why-image img { width: 100%; display: block; border-radius: 16px; }
.why-list { list-style: none; }
.why-list li {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
    align-items: flex-start;
}
.why-list .icon-circle {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: rgba(192,8,8,0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
}
.why-list h4 { font-size: 1.05rem; color: var(--primary); margin-bottom: 4px; }
.why-list p { font-size: 0.9rem; color: var(--text-light); }


.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}
.gallery-grid img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 12px;
    transition: transform 0.3s;
    cursor: pointer;
}
.gallery-grid img:hover { transform: scale(1.03); }
.gallery-grid img:first-child {
    grid-column: span 2;
    grid-row: span 2;
    height: 100%;
}


.cta-section {
    background: linear-gradient(135deg, var(--accent) 0%, #c0392b 100%);
    color: var(--white);
    text-align: center;
    padding: 80px 0;
}
.cta-section h2 {
    font-size: 2.4rem;
    font-weight: 800;
    margin-bottom: 16px;
}
.cta-section p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}
.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}
.cta-btn {
    padding: 16px 36px;
    border-radius: 8px;
    font-size: 1.05rem;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.cta-btn:hover { transform: translateY(-3px); }
.cta-btn-white { background: var(--white); color: var(--accent); }
.cta-btn-outline { border: 2px solid var(--white); color: var(--white); background: transparent; }


.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
    border: 1px solid #eee;
    border-radius: 12px;
    margin-bottom: 12px;
    overflow: hidden;
    transition: box-shadow 0.3s;
}
.faq-item:hover { box-shadow: var(--shadow); }
.faq-question {
    padding: 20px 24px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1rem;
    color: var(--primary);
    background: var(--white);
}
.faq-question .arrow {
    transition: transform 0.3s;
    color: var(--accent);
    font-size: 1.2rem;
}
.faq-item.active .faq-question .arrow { transform: rotate(180deg); }
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s;
    padding: 0 24px;
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.7;
}
.faq-item.active .faq-answer {
    max-height: 300px;
    padding: 0 24px 20px;
}


footer {
    background: var(--dark);
    color: rgba(255,255,255,0.7);
    padding: 60px 0 30px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}
.footer-brand img { height: 56px; margin-bottom: 16px; }
.footer-brand p { font-size: 0.9rem; line-height: 1.7; }
footer h4 {
    color: var(--white);
    margin-bottom: 16px;
    font-size: 1rem;
}
footer ul { list-style: none; }
footer ul li { margin-bottom: 8px; }
footer ul a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}
footer ul a:hover { color: var(--white); }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
}
.footer-social { display: flex; gap: 12px; }
.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: background 0.3s;
}
.footer-social a:hover { background: var(--accent); }


.floating-buttons {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.float-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(0,0,0,0.25);
    transition: transform 0.3s;
    border: none;
    cursor: pointer;
}
.float-btn:hover { transform: scale(1.1); }
.float-whatsapp { background: #25d366; }
.float-phone { background: var(--accent); }
.float-top { background: var(--primary); font-size: 1.2rem; display: none; }
.float-btn svg { width: 28px; height: 28px; }


.form-success {
    display: none;
    text-align: center;
    padding: 40px 20px;
}
.form-success svg { color: #25d366; margin-bottom: 16px; }
.form-success h3 { color: var(--primary); margin-bottom: 8px; }
.form-success p { color: var(--text-light); }


@media (max-width: 1024px) {
    .hero .container { grid-template-columns: 1fr; gap: 40px; }
    .hero h1 { font-size: 2.4rem; }
    .products-grid { grid-template-columns: repeat(2, 1fr); }
    .sectors-grid { grid-template-columns: repeat(3, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .top-bar { display: none; }
    .navbar { top: 0; }
    .hero { margin-top: 64px; padding-top: 0; }
    .hero-content { text-align: center; }
    .hero h1 { font-size: 1.8rem; }
    .hero-badge { margin-left: auto; margin-right: auto; }
    .hero-stats { display: none; }
    .hero .container { gap: 20px; }
    .hero p { margin-bottom: 10px; font-size: 1rem; }
    .hero-badge { margin-bottom: 10px; }
    .navbar .nav-links { 
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 20px;
        box-shadow: var(--shadow);
    }
    .navbar .nav-links.active { display: flex; }
    .hamburger { display: flex; }
    .hero { margin-top: 64px; min-height: auto; padding: 10px 0 20px; }
    .hero h1 { font-size: 2rem; }
    .hero-stats { gap: 20px; }
    .hero-stat .number { font-size: 1.6rem; }
    .products-grid { grid-template-columns: 1fr; }
    .sectors-grid { grid-template-columns: repeat(2, 1fr); }
    .why-grid { grid-template-columns: 1fr; gap: 30px; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .gallery-grid img { height: 180px; }
    .gallery-grid img:first-child { grid-column: span 2; height: 250px; }
    .trust-items { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
    .footer-brand { display: flex; flex-direction: column; align-items: center; }
    .footer-social { justify-content: center; }
    footer ul { padding: 0; }
    .footer-bottom { flex-direction: column; }
    .powered-by { display: block; margin-top: 4px; }
    .form-row { grid-template-columns: 1fr; }
    .cta-section h2 { font-size: 1.8rem; }
    section { padding: 60px 0; }
    .section-header h2 { font-size: 1.8rem; }
    
}

@media (max-width: 480px) {
    .hero h1 { font-size: 1.7rem; }
    .sectors-grid { grid-template-columns: 1fr; }
    .trust-items { grid-template-columns: 1fr; }
    .iframe-wrap { margin: 0 -12px; }
}


.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.from-left {
    transform: translateX(-60px);
}
.reveal.from-right {
    transform: translateX(60px);
}
.reveal.from-scale {
    transform: scale(0.9);
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0) translateX(0) scale(1);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }
.reveal-delay-6 { transition-delay: 0.6s; }


.hero-stat .number {
    display: inline-block;
    min-width: 60px;
}


.product-card {
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}
.product-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 30px 60px rgba(0,0,0,0.18);
}
.product-card img {
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.product-card:hover img {
    transform: scale(1.08);
}
.product-card-body { overflow: hidden; position: relative; }

.sector-card img {
    transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.sector-card:hover img {
    transform: scale(1.15);
}
.sector-card-overlay {
    transition: background 0.4s ease;
}
.sector-card:hover .sector-card-overlay {
    background: linear-gradient(transparent 20%, rgba(192,8,8,0.7));
}

.trust-item {
    transition: transform 0.3s ease;
}
.trust-item:hover {
    transform: translateY(-6px);
}
.trust-icon {
    transition: background 0.3s ease, transform 0.3s ease;
}
.trust-item:hover .trust-icon {
    background: var(--accent);
    color: var(--white);
    transform: scale(1.1);
}

.gallery-grid img {
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), filter 0.5s ease;
}
.gallery-grid img:hover {
    transform: scale(1.05);
    filter: brightness(1.1);
}

.why-list li {
    transition: transform 0.3s ease;
}
.why-list li:hover {
    transform: translateX(8px);
}
.why-list .icon-circle {
    transition: background 0.3s ease, transform 0.3s ease;
}
.why-list li:hover .icon-circle {
    background: var(--accent);
    color: var(--white);
    transform: rotate(8deg) scale(1.1);
}

.btn-submit {
    position: relative;
    overflow: hidden;
}
.btn-submit::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255,255,255,0.15);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}
.btn-submit:hover::after {
    width: 400px;
    height: 400px;
}

.nav-cta {
    transition: background 0.3s, transform 0.2s, box-shadow 0.3s !important;
}
.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(192,8,8,0.3) !important;
}

.float-btn {
    animation: floatPulse 3s ease-in-out infinite;
}
.float-whatsapp { animation-delay: 0s; }
.float-phone { animation-delay: 1.5s; }
@keyframes floatPulse {
    0%, 100% { box-shadow: 0 4px 20px rgba(0,0,0,0.25); }
    50% { box-shadow: 0 8px 30px rgba(0,0,0,0.35); }
}

/* Hero entrance */
.hero-content {
    animation: heroSlideIn 1s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.iframe-wrap {
    animation: heroSlideUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.3s both;
}
@keyframes heroSlideIn {
    from { opacity: 0; transform: translateX(-50px); }
    to { opacity: 1; transform: translateX(0); }
}
@keyframes heroSlideUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}
