/* ========================= RESET & BASE ========================= */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-50: #eff8ff;
    --primary-100: #dceffd;

    --primary-300: #e26c66;
    --primary-700: #ba251d;
    --primary-800: #ba251d;
    --primary-900: #ba251d;
    --accent-50: #dfdedc;
    --accent-100: #d5d5d5;
    --accent-300: #333333;
    --accent-500: #333333;
    --accent-600: #333333;
    --slate-50: #f8fafc;
    --slate-100: #f1f5f9;
    --slate-200: #e2e8f0;
    --slate-300: #cbd5e1;
    --slate-400: #94a3b8;
    --slate-500: #64748b;
    --slate-600: #2d0000;
    --slate-700: #2d0000;
    --slate-800: #000000;
    --slate-900: #000000;
    --slate-950: #000000;
    --green-500: #22c55e;
    --green-600: #16a34a;
    --white: #ffffff;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    -webkit-font-smoothing: antialiased;
    background: var(--white);
    color: var(--slate-900);
    line-height: 1.5;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    display: block;
    max-width: 100%;
}

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

@media (min-width: 640px) {
    .container {
        padding: 0 32px;
    }
}

/* ========================= BUTTONS ========================= */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 5px 15px;
    font-size: 14px;
    font-weight: 600;
    color: var(--white);
    background: #ba251d;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(13, 138, 235, 0.25);
    transition: all 0.25s ease;
}

.btn-primary:hover {
    background: var(--primary-700);
    box-shadow: 0 8px 20px rgba(13, 138, 235, 0.3);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 5px 20px;
    font-size: 15px;
}

.btn-block {
    width: 100%;
    margin-top: 24px;
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 18px;
    font-size: 16px;
    font-weight: 600;
    color: var(--slate-700);
    background: var(--white);
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.25s ease;
}

.btn-outline:hover {
    border-color: var(--primary-300);
    color: #ba251d;
}

.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    max-width: 280px;
    padding: 16px 28px;
    font-size: 16px;
    font-weight: 600;
    color: var(--white);
    background: var(--green-500);
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.25);
    transition: all 0.25s ease;
    margin-top: 32px;
}

.btn-whatsapp:hover {
    background: var(--green-600);
    box-shadow: 0 8px 20px rgba(34, 197, 94, 0.3);
    transform: translateY(-2px);
}

.btn-whatsapp-sm {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 500;
    color: var(--white);
    background: var(--green-500);
    border-radius: var(--radius-sm);
    margin-top: 16px;
    transition: background 0.2s;
}

.btn-whatsapp-sm:hover {
    background: var(--green-600);
}

/* ========================= FLOATING CARD ========================= */
.floating-card {
    position: absolute;
    bottom: -24px;
    left: -24px;
    background: #000000;
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 12px 20px;
    border: 1px solid #ff0000;
    display: none;
    align-items: center;
    gap: 12px;
}

@media (min-width: 640px) {
    .floating-card {
        display: flex;
    }
}

.floating-card-bottom-right {
    bottom: -24px;
    right: -24px;
    left: auto;
}

.floating-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--accent-50);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-600);
}

.floating-card-icon-primary {
    background: var(--primary-50);
    color: #ba251d;
}

.floating-card-value {
    font-size: 18px;
    font-weight: 900;
    color: white;
    line-height: 1;
}

.floating-card-label {
    font-size: 12px;
    color: white;
    margin-top: 4px;
}

/* ========================= SECTION HEADER ========================= */
.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 56px;
}

.section-eyebrow {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #ba251d;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.section-header h2 {
    margin-top: 12px;
    font-size: 30px;
    font-weight: 700;
    color: var(--slate-900);
    letter-spacing: -0.02em;
}

@media (min-width: 640px) {
    .section-header h2 {
        font-size: 36px;
    }
}

.section-header p {
    margin-top: 16px;
    font-size: 18px;
    color: var(--slate-500);
}

/* ========================= PRODUCTS ========================= */
.products {
    padding: 80px 0;
    background: var(--white);
}

@media (min-width: 640px) {
    .products {
        padding: 112px 0;
    }
}

.products-grid {
    display: grid;
    gap: 24px;
}

@media (min-width: 640px) {
    .products-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (min-width: 1024px) {
    .products-grid {
        grid-template-columns: 1fr 1fr 1fr;
    }
}

.product-card {
    position: relative;
    background: var(--white);
    border: 1px solid var(--slate-100);
    border-radius: var(--radius-lg);
    padding: 28px;
    transition: all 0.3s ease;
    overflow: hidden;
}

.product-card:hover {
    border-color: #ba251d;
    box-shadow: 0 12px 30px rgba(13, 138, 235, 0.1);
    transform: translateY(-4px);
}

.product-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background: var(--primary-50);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ba251d;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.product-card:hover .product-icon {
    background: #ba251d;
    color: var(--white);
}

.product-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--slate-900);
    margin-bottom: 10px;
}

.product-card p {
    font-size: 14px;
    color: var(--slate-500);
    line-height: 1.6;
    margin-bottom: 16px;
}

.product-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.product-tags span {
    padding: 4px 12px;
    font-size: 12px;
    font-weight: 500;
    color: var(--slate-500);
    background: var(--slate-50);
    border-radius: 999px;
    transition: all 0.2s;
}

.product-card:hover .product-tags span {
    background: var(--primary-50);
    color: #ba251d;
}

.product-card-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(to right, #ba251d, #ba251d);
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.product-card:hover .product-card-bar {
    transform: scaleX(1);
}

/* ========================= ABOUT ========================= */
.about {
    padding: 80px 0;
    background: #000000;
}

@media (min-width: 640px) {
    .about {
        padding: 112px 0;
    }
}

.about-grid {
    display: grid;
    gap: 56px;
    align-items: center;
}

@media (min-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.about-image {
    position: relative;
}

.about-image-wrap {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.about-image-wrap img {
    width: 100%;
    height: 460px;
    object-fit: cover;
}

.about-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.4), transparent);
}

.about-text h2 {
    margin-top: 12px;
    font-size: 30px;
    font-weight: 700;
    color: white;
    letter-spacing: -0.02em;
}

@media (min-width: 640px) {
    .about-text h2 {
        font-size: 36px;
    }
}

.about-text p {
    margin-top: 20px;
    font-size: 18px;
    color: var(--slate-500);
    line-height: 1.6;
}

.about-text p+p {
    margin-top: 16px;
    font-size: 16px;
}

.sectors {
    margin-top: 32px;
}

.sectors-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--slate-700);
    margin-bottom: 12px;
}

.sectors-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.sectors-tags span {
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 500;
    color: var(--slate-600);
    background: var(--white);
    border: 1px solid var(--slate-200);
    border-radius: 8px;
    transition: all 0.2s;
}

.sectors-tags span:hover {
    border-color: var(--primary-300);
    color: #ba251d;
}

/* ========================= STATS ========================= */
.stats-grid {
    margin-top: 64px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

@media (min-width: 1024px) {
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.stat-card {
    background: var(--white);
    border: 1px solid var(--slate-100);
    border-radius: var(--radius-lg);
    padding: 28px;
    text-align: center;
    transition: box-shadow 0.2s;
}

.stat-card:hover {
    box-shadow: 0 8px 20px rgba(13, 138, 235, 0.05);
}

.stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--primary-50);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ba251d;
    margin: 0 auto 16px;
}

.stat-value {
    font-size: 30px;
    font-weight: 700;
    color: var(--slate-900);
}

.stat-label {
    font-size: 14px;
    color: var(--slate-400);
    margin-top: 4px;
}

/* ========================= CONTACT ========================= */
.contact {
    padding: 80px 0;
    background: var(--white);
}

@media (min-width: 640px) {
    .contact {
        padding: 112px 0;
    }
}

.contact-grid {
    display: grid;
    gap: 48px;
}

@media (min-width: 1024px) {
    .contact-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.contact-info h2 {
    margin-top: 12px;
    font-size: 30px;
    font-weight: 700;
    color: var(--slate-900);
    letter-spacing: -0.02em;
}

@media (min-width: 640px) {
    .contact-info h2 {
        font-size: 36px;
    }
}

.contact-info>p {
    margin-top: 16px;
    font-size: 18px;
    color: var(--slate-500);
    line-height: 1.6;
}

.contact-details {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-detail-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.contact-detail-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--primary-50);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ba251d;
    flex-shrink: 0;
}

.contact-detail-label {
    font-size: 14px;
    font-weight: 500;
    color: var(--slate-400);
}

.contact-detail-value {
    font-size: 15px;
    font-weight: 500;
    color: var(--slate-700);
    line-height: 1.5;
}

/* ========================= FORM ========================= */
.contact-form-wrap {}

.contact-form {
    background: var(--slate-50);
    border: 1px solid var(--slate-100);
    border-radius: var(--radius-xl);
    padding: 28px;
}

@media (min-width: 640px) {
    .contact-form {
        padding: 32px;
    }
}

.form-row {
    display: grid;
    gap: 20px;
}

@media (min-width: 640px) {
    .form-row {
        grid-template-columns: 1fr 1fr;
    }
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--slate-600);
    margin-bottom: 6px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    font-size: 14px;
    font-family: inherit;
    background: var(--white);
    border: 1px solid var(--slate-200);
    border-radius: 12px;
    transition: all 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: transparent;
    box-shadow: 0 0 0 2px #ba251d;
}

.form-group textarea {
    resize: none;
}

#submitBtn {
    transition: all 0.25s;
}

#submitBtn.loading {
    opacity: 0.7;
    pointer-events: none;
}

#submitBtn.success {
    background: var(--green-500);
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.25);
}

.form-success {
    display: none;
    margin-top: 12px;
    font-size: 14px;
    color: var(--green-600);
    text-align: center;
}

.form-success.show {
    display: block;
}

/* ========================= FOOTER ========================= */
.footer {
    background: var(--slate-900);
    color: var(--slate-400);
    padding: 56px 0 0;
}

.footer-grid {
    display: grid;
    gap: 40px;
    grid-template-columns: 1fr 1fr;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr 1fr 1fr;
    }
}

.footer-col h4 {
    color: var(--white);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 16px;
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-col ul a {
    font-size: 14px;
    transition: color 0.2s;
}

.footer-col ul a:hover {
    color: #ba251d;
}

.footer-desc {
    font-size: 14px;
    line-height: 1.6;
    margin-top: 16px;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    margin-bottom: 12px;
}

.footer-contact svg {
    color: #ba251d;
    flex-shrink: 0;
    margin-top: 2px;
}

.footer-bottom {
    margin-top: 48px;
    padding: 32px 0;
    border-top: 1px solid var(--slate-800);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    font-size: 14px;
    color: var(--slate-500);
}

@media (min-width: 640px) {
    .footer-bottom {
        flex-direction: row;
    }
}

/* ========================= WHATSAPP FLOAT ========================= */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 50;
    width: 56px;
    height: 56px;
    background: var(--green-500);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    box-shadow: 0 10px 25px rgba(34, 197, 94, 0.3);
    transition: transform 0.2s;
}

.whatsapp-float:hover {
    background: var(--green-600);
    transform: scale(1.1);
}

.whatsapp-float-tooltip {
    position: absolute;
    right: 100%;
    margin-right: 12px;
    white-space: nowrap;
    padding: 6px 12px;
    background: var(--slate-900);
    color: var(--white);
    font-size: 14px;
    font-weight: 500;
    border-radius: 8px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s;
}

.whatsapp-float:hover .whatsapp-float-tooltip {
    opacity: 1;
}

.whatsapp-float-ping {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: var(--green-500);
    animation: ping 1.5s cubic-bezier(0, 0, 0.2, 1) infinite;
    opacity: 0.2;
    z-index: -1;
}

@keyframes ping {
    0% {
        transform: scale(1);
        opacity: 0.2;
    }

    100% {
        transform: scale(1.8);
        opacity: 0;
    }
}

/* ========================= ANIMATIONS ========================= */
.fade-up {
    opacity: 0;
    transform: translateY(28px);
    animation: fadeUp 0.7s ease forwards;
}

.fade-up-delay-1 {
    animation-delay: 0.12s;
}

.fade-up-delay-2 {
    animation-delay: 0.24s;
}

.fade-up-delay-3 {
    animation-delay: 0.36s;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}