/* Reset e estilos base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Colors - HSL Values */
    --background: hsl(30, 100%, 99%);
    --foreground: hsl(215, 52%, 24%);
    --primary: hsl(215, 52%, 24%);
    --primary-foreground: hsl(30, 100%, 99%);
    --secondary: hsl(30, 60%, 97%);
    --accent: hsl(26, 80%, 49%);
    --accent-foreground: hsl(30, 100%, 99%);
    --muted-foreground: hsl(215, 30%, 40%);
    --button-cta: hsl(142, 59%, 56%);
    --button-cta-hover: hsl(142, 59%, 50%);
    --border: hsl(215, 30%, 90%);

    /* Shadows */
    --shadow-card: 0 4px 20px rgba(29, 54, 92, 0.08);
    --shadow-card-hover: 0 8px 30px rgba(29, 54, 92, 0.15);
    --shadow-button-cta: 0 4px 14px rgba(81, 206, 95, 0.3);
    --shadow-button-cta-hover: 0 6px 20px rgba(81, 206, 95, 0.4);
    --shadow-button-accent: 0 4px 14px rgba(224, 112, 25, 0.4);
    --shadow-button-accent-hover: 0 6px 20px rgba(224, 112, 25, 0.5);

    /* Transitions */
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: var(--background);
    color: var(--foreground);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: var(--primary);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 1.5rem 0;
    transition: var(--transition-smooth);
}

.header.scrolled {
    padding: 1.25rem 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-button {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    transition: opacity 0.3s;
}

.logo-button:hover {
    opacity: 0.8;
}

.logo {
    height: 4rem;
    width: auto;
}

.nav-desktop {
    display: none;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.125rem;
    font-weight: 500;
    cursor: pointer;
    position: relative;
    transition: var(--transition-smooth);
    padding-bottom: 0.25rem;
}

.nav-link:hover {
    color: white;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent);
    transition: width 0.3s;
}

.nav-link:hover::after {
    width: 100%;
}

.btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 0.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
}

.btn-cta {
    background-color: var(--button-cta);
    color: white;
    box-shadow: var(--shadow-button-cta);
}

.btn-cta:hover {
    background-color: var(--button-cta-hover);
    box-shadow: var(--shadow-button-cta-hover);
    transform: translateY(-2px);
}

.btn-accent {
    background-color: var(--accent);
    color: white;
    box-shadow: var(--shadow-button-accent);
}

.btn-accent:hover {
    background-color: hsl(26, 80%, 44%);
    box-shadow: var(--shadow-button-accent-hover);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 1.25rem 2rem;
    font-size: 15px;
}

.btn-desktop {
    display: none;
}

.mobile-menu-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 0.5rem;
    transition: background-color 0.3s;
}

.mobile-menu-btn:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.close-icon {
    display: none;
}

.mobile-menu-btn.active .menu-icon {
    display: none;
}

.mobile-menu-btn.active .close-icon {
    display: block;
}

.mobile-menu {
    display: none;
    flex-direction: column;
    gap: 0.5rem;
    padding-top: 1rem;
    margin-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    animation: fadeInUp 0.3s ease-out;
}

.mobile-menu.active {
    display: flex;
}

.mobile-nav-link {
    text-align: left;
    padding: 0.75rem 1rem;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    border-radius: 0.5rem;
    transition: var(--transition-smooth);
}

.mobile-nav-link:hover {
    color: white;
    background-color: rgba(255, 255, 255, 0.1);
}

.btn-mobile-menu {
    margin-top: 0.5rem;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 6rem;
}

.hero-background {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right,
        hsla(215, 52%, 24%, 0.95),
        hsla(215, 52%, 24%, 0.85),
        hsla(215, 52%, 24%, 0.7)
    );
}

.hero-container {
    position: relative;
    z-index: 10;
    padding: 3rem 1rem;
}

.hero-content {
    max-width: 56rem;
    margin: 0 auto;
    text-align: center;
    animation: fadeInUp 0.8s ease-out;
}

.hero-title {
    font-size: 1.875rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.text-accent {
    color: var(--accent);
}

.text-primary {
    color: var(--primary);
}

.hero-description {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.btn-hero {
    font-size: 15px;
    padding: 1.25rem 2rem;
}

.btn-hero:hover {
    transform: scale(1.05);
}

/* Equipment Section */
.equipment {
    padding: 3rem 0;
    background-color: var(--secondary);
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
    animation: fadeInUp 0.6s ease-out;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1rem;
}

.section-description {
    font-size: 1.25rem;
    color: var(--muted-foreground);
}

/* Filtros de Categoria */
.filter-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
    margin-bottom: 3rem;
    animation: fadeInUp 0.6s ease-out;
}

.filter-btn {
    padding: 0.75rem 1.5rem;
    border: 2px solid var(--border);
    background-color: white;
    color: var(--primary);
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
    white-space: nowrap;
}

.filter-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-2px);
    box-shadow: var(--shadow-card);
}

.filter-btn.active {
    background-color: var(--accent);
    color: white;
    border-color: var(--accent);
    box-shadow: var(--shadow-button-accent);
}

.filter-btn.active:hover {
    background-color: hsl(26, 80%, 44%);
    transform: translateY(-2px);
}

.equipment-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: 1fr;
}

.equipment-card {
    background: white;
    border: 2px solid transparent;
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: var(--transition-smooth);
    animation: scaleIn 0.5s ease-out;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.equipment-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-card-hover);
    border-color: rgba(224, 112, 25, 0.2);
}

.equipment-image-wrapper {
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background-color: var(--secondary);
}

.equipment-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.equipment-card:hover .equipment-image {
    transform: scale(1.1);
}

.equipment-content {
    padding: 1.5rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: space-between;
}

.equipment-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.equipment-description {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    margin-bottom: 1.25rem;
    flex-grow: 1;
}

.equipment-content .btn {
    font-size: 0.875rem;
    padding: 0.625rem 1rem;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    white-space: nowrap;
    margin-top: auto;
}

.equipment-cta {
    text-align: center;
    margin-top: 3rem;
}

/* About Section */
.about {
    padding: 3rem 0;
    background-color: var(--background);
}

.about-grid {
    display: grid;
    gap: 2rem;
    align-items: center;
}

.about-content {
    animation: fadeInUp 0.6s ease-out;
}

.about-text {
    font-size: 1.125rem;
    color: hsl(215, 52%, 24%, 0.8);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.about-image-wrapper {
    animation: slideIn 0.8s ease-out;
}

.about-image {
    width: 100%;
    height: auto;
    border-radius: 1.25rem;
    transform: scale(1.1);
}

/* Features Section */
.features {
    padding: 3rem 0;
    background: linear-gradient(to bottom, var(--secondary), var(--background));
}

.features-grid {
    display: grid;
    gap: 1.5rem;
}

.feature-card {
    background: white;
    border: 1px solid var(--border);
    border-left: 4px solid var(--accent);
    border-radius: 0.75rem;
    padding: 1.5rem;
    box-shadow: var(--shadow-card);
    transition: var(--transition-smooth);
    animation: scaleIn 0.5s ease-out;
    display: flex;
    gap: 1rem;
}

.feature-card:hover {
    box-shadow: var(--shadow-card-hover);
    border-left-width: 8px;
}

.feature-icon-wrapper {
    flex-shrink: 0;
}

.feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 0.75rem;
    background-color: hsla(26, 80%, 49%, 0.1);
    transition: background-color 0.3s;
}

.feature-card:hover .feature-icon {
    background-color: hsla(26, 80%, 49%, 0.2);
}

.feature-icon svg {
    color: var(--accent);
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.feature-description {
    font-size: 1rem;
    color: var(--muted-foreground);
    line-height: 1.6;
}

/* Contact Section */
.contact {
    padding: 3rem 0;
    background-color: var(--background);
}

.contact-grid {
    display: grid;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.contact-card {
    background: white;
    border: 1px solid var(--border);
    border-top: 4px solid var(--accent);
    border-radius: 0.75rem;
    padding: 1.5rem;
    text-align: center;
    box-shadow: var(--shadow-card);
    transition: var(--transition-smooth);
    cursor: pointer;
    animation: scaleIn 0.5s ease-out;
}

.contact-card:hover {
    box-shadow: var(--shadow-card-hover);
}

.contact-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    background-color: hsla(26, 80%, 49%, 0.1);
    margin-bottom: 1rem;
}

.contact-icon svg {
    color: var(--accent);
}

.contact-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.contact-info {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

.contact-link {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    color: var(--muted-foreground);
    text-decoration: none;
    transition: color 0.3s;
}

.contact-link:hover {
    color: var(--accent);
}

.contact-email {
    font-size: 0.875rem;
    word-break: break-all;
}

.contact-cta {
    text-align: center;
}

/* Final CTA Section */
.final-cta {
    padding: 4rem 0;
    background-color: var(--background);
    position: relative;
    overflow: hidden;
}

.final-cta-card {
    background: linear-gradient(135deg, var(--primary), hsl(215, 52%, 30%));
    border-radius: 1.5rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    padding: 3rem 2rem;
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.6s ease-out;
}

.final-cta-bg {
    position: absolute;
    inset: 0;
    opacity: 0.1;
    pointer-events: none;
}

.final-cta-bg::before,
.final-cta-bg::after {
    content: '';
    position: absolute;
    width: 24rem;
    height: 24rem;
    background-color: var(--accent);
    border-radius: 50%;
    filter: blur(80px);
}

.final-cta-bg::before {
    top: 0;
    right: 0;
}

.final-cta-bg::after {
    bottom: 0;
    left: 0;
}

.final-cta-content {
    position: relative;
    z-index: 10;
    text-align: center;
}

.final-cta-title {
    font-size: 2rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.final-cta-description {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.btn-final {
    font-size: 15px;
    padding: 1.5rem 3rem;
    box-shadow: 0 8px 20px rgba(81, 206, 95, 0.5);
}

.btn-final:hover {
    box-shadow: 0 12px 30px rgba(81, 206, 95, 0.6);
    transform: scale(1.1);
}

/* Footer */
.footer {
    background-color: var(--primary);
    padding: 3rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    text-align: center;
}

.footer-logo {
    display: flex;
    justify-content: center;
    margin-bottom: 1rem;
}

.footer-logo-img {
    height: 4rem;
    width: auto;
}

.footer-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
}

.footer-subtitle {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.5rem;
}

.footer-location {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1.5rem;
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.social-link {
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.3s;
}

.social-link:hover {
    color: var(--accent);
}

.footer-copyright {
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-copyright p {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 1rem;
    right: 1rem;
    z-index: 1000;
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: var(--transition-smooth);
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

.whatsapp-float img {
    width: 100%;
    height: 100%;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* Media Queries */
@media (min-width: 640px) {
    .equipment-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .filter-btn {
        font-size: 1rem;
        padding: 0.875rem 1.75rem;
    }
}

@media (min-width: 768px) {
    .logo {
        height: 5rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2.5rem;
    }

    .about-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .equipment-content .btn {
        font-size: 0.9rem;
        padding: 0.75rem 1.25rem;
    }

    .final-cta-title {
        font-size: 2.5rem;
    }

    .whatsapp-float {
        width: 4rem;
        height: 4rem;
        bottom: 1.5rem;
        right: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .nav-desktop {
        display: flex;
    }

    .btn-desktop {
        display: inline-flex;
    }

    .mobile-menu-btn {
        display: none;
    }

    .logo {
        height: 6rem;
    }

    .nav-link {
        font-size: 1.25rem;
    }

    .btn-cta {
        font-size: 15px;
        padding: 1rem 2rem;
    }

    .hero-title {
        font-size: 3.5rem;
    }

    .hero-description {
        font-size: 1.5rem;
    }

    .equipment-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .contact-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .final-cta-title {
        font-size: 3rem;
    }

    .equipment {
        padding: 5rem 0;
    }

    .about {
        padding: 5rem 0;
    }

    .features {
        padding: 5rem 0;
    }

    .contact {
        padding: 5rem 0;
    }

    .final-cta {
        padding: 6rem 0;
    }

    .section-header {
        margin-bottom: 4rem;
    }
}
