:root {
    /* Primary Colors */
    --primary-color: #007AFF;
    --secondary-color: #34C759;
    --accent-color: #FF2D55;

    /* Neutrals */
    --white: #FFFFFF;
    --black: #000000;
    --dark-grey: #1C1C1E;
    --grey-100: #F2F2F7;
    --grey-200: #E5E5EA;
    --grey-300: #D1D1D6;
    --grey-400: #C7C7CC;
    --grey-500: #8E8E93;

    /* Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.3);
    --glass-blur: blur(10px);

    /* Dark Glassmorphism */
    --dark-glass-bg: rgba(0, 0, 0, 0.6);
    --dark-glass-border: rgba(255, 255, 255, 0.1);

    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --font-weight-light: 300;
    --font-weight-regular: 400;
    --font-weight-medium: 500;
    --font-weight-bold: 700;

    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 4rem;
    --space-xl: 8rem;

    /* Transitions */
    --transition-slow: 0.5s ease;
    --transition-medium: 0.3s ease;
    --transition-fast: 0.15s ease;

    /* Shadows */
    --shadow-soft: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-strong: 0 8px 32px rgba(0, 0, 0, 0.2);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-family);
    background-color: var(--white);
    color: var(--dark-grey);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

button,
.btn {
    cursor: pointer;
    border: none;
    outline: none;
    font-family: var(--font-family);
    transition: var(--transition-medium);
}

/* Typography Helpers */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: var(--font-weight-bold);
    line-height: 1.2;
}

.text-center {
    text-align: center;
}

/* Spacing Helpers */
.mt-md {
    margin-top: var(--space-md);
}

.mt-lg {
    margin-top: var(--space-lg);
}

.mt-xl {
    margin-top: var(--space-xl);
}

.section-padding {

    padding: var(--space-lg) 0;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-sm);
}

/* Glassmorphism Classes */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    box-shadow: var(--shadow-soft);
}

.dark-glass-card {
    background: var(--dark-glass-bg);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--dark-glass-border);
    border-radius: 12px;
    box-shadow: var(--shadow-strong);
    color: var(--white);
}

/* Buttons */
.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    font-weight: var(--font-weight-medium);
    display: inline-block;
}

.btn-primary:hover {
    background-color: #0062CC;
    transform: translateY(-2px);
}

.btn-whatsapp {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    font-weight: var(--font-weight-medium);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-whatsapp:hover {
    background-color: #28a745;
    transform: translateY(-2px);
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: var(--white);
    z-index: 1000;
    display: flex;
    align-items: center;
    box-shadow: var(--shadow-soft);
    transition: var(--transition-medium);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 50px;
    width: auto;
}

.nav-menu ul {
    display: flex;
    gap: var(--space-md);
}

.nav-menu ul li a {
    font-weight: var(--font-weight-medium);
    color: var(--dark-grey);
    position: relative;
}

.nav-menu ul li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition-medium);
}

.nav-menu ul li a:hover::after,
.nav-menu ul li a.active::after {
    width: 100%;
}

/* Hero Slider */
.hero-slider {
    position: relative;
    height: 100vh;
    width: 100%;
    margin-top: 0;
    overflow: hidden;
}

.slider-container {
    height: 100%;
    width: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide.active {
    opacity: 1;
    z-index: 1;
}

.slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
}

.hero-content {
    z-index: 2;
    position: relative;
}

.hero-card {
    max-width: 600px;
    padding: var(--space-md);
    animation: slideUp 0.8s ease-out;
}

.hero-card h1 {
    font-size: 3rem;
    margin-bottom: var(--space-sm);
}

.hero-card p {
    font-size: 1.2rem;
    margin-bottom: var(--space-md);
}

.hero-btns {
    display: flex;
    gap: var(--space-sm);
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Slider Navigation */
.slider-controls {
    position: absolute;
    bottom: var(--space-md);
    right: 3rem;
    z-index: 10;
    display: flex;
    gap: var(--space-sm);
}

.slider-controls button {
    background: var(--dark-glass-bg);
    color: var(--white);
    border: 1px solid var(--dark-glass-border);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    backdrop-filter: var(--glass-blur);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.slider-dots {
    position: absolute;
    bottom: var(--space-md);
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: var(--space-xs);
}

.dot {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition-medium);
}

.dot.active {
    background: var(--white);
    width: 30px;
    border-radius: 10px;
}

/* Differentials */
.section-header {
    margin-bottom: var(--space-lg);
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: var(--space-sm);
}

.differentials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: var(--space-md);
    margin-top: var(--space-md);
}

.diff-item {
    text-align: center;
    padding: var(--space-md);
    transition: var(--transition-medium);
    border-radius: 12px;
}

.diff-item:hover {
    background: var(--grey-100);
}

.diff-item i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: var(--space-sm);
}

.diff-item h3 {
    margin-bottom: var(--space-xs);
}

/* Products Grid & Portfolio */
.grey-bg {
    background-color: var(--grey-100);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-md);
}

.product-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: var(--transition-medium);
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-strong);
}

.product-img {
    position: relative;
    height: 250px;
}

.product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 122, 255, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-medium);
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.product-info {
    padding: var(--space-sm);
    text-align: center;
}

.product-info h3 {
    margin-bottom: var(--space-xs);
}

.mt-md {
    margin-top: var(--space-md);
}

.btn-outline {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    font-weight: var(--font-weight-medium);
    display: inline-block;
}

.btn-outline:hover {
    background: var(--primary-color);
    color: var(--white);
}

/* CTA Section */
.dark-bg {
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), url('assets/hero/sacadas.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--white);
}

.cta-content h2 {
    font-size: 3rem;
    margin-bottom: var(--space-sm);
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: var(--space-md);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-btns {
    display: flex;
    justify-content: center;
    gap: var(--space-sm);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.btn-outline-white {
    border: 2px solid var(--white);
    color: var(--white);
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    font-weight: var(--font-weight-medium);
}

.btn-outline-white:hover {
    background: var(--white);
    color: var(--black);
}

/* Footer */
footer {
    background: var(--dark-grey);
    color: var(--white);
    padding: var(--space-lg) 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-lg);
    padding-bottom: var(--space-lg);
}

.footer-logo {
    height: 60px;
    margin-bottom: var(--space-sm);
}

.footer-col h3 {
    margin-bottom: var(--space-md);
    font-size: 1.2rem;
    position: relative;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--primary-color);
}

.footer-col ul li {
    margin-bottom: var(--space-xs);
}

.footer-col ul li a:hover {
    color: var(--primary-color);
}

.footer-col p {
    margin-bottom: var(--space-xs);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.social-links {
    display: flex;
    gap: var(--space-sm);
    margin-top: var(--space-sm);
}

.social-links a {
    font-size: 1.5rem;
}

.social-links a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: var(--space-md) 0;
    font-size: 0.9rem;
    color: var(--grey-500);
}

/* WhatsApp Floating */
.floating-whatsapp {
    position: fixed;
    bottom: var(--space-md);
    right: var(--space-md);
    background: var(--secondary-color);
    color: var(--white);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: var(--shadow-strong);
    z-index: 1000;
    transition: var(--transition-medium);
}

.floating-whatsapp:hover {
    transform: scale(1.1);
}

/* Gallery Layout */
.product-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-sm);
    margin-top: var(--space-md);
}

.gallery-item {
    border-radius: 12px;
    overflow: hidden;
    height: 300px;
    box-shadow: var(--shadow-soft);
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-medium);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

@media (max-width: 480px) {
    .product-gallery {
        grid-template-columns: 1fr;
    }
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--dark-grey);
    border-radius: 2px;
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        height: calc(100vh - 80px);
        background: var(--white);
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding-top: var(--space-lg);
        z-index: 999;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu ul {
        flex-direction: column;
        gap: var(--space-md);
        text-align: center;
    }

    .nav-menu ul li a {
        font-size: 1.5rem;
    }

    .header-cta {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
        position: relative;
        z-index: 1001;
        transition: var(--transition-medium);
    }

    .mobile-menu-toggle span {
        transition: var(--transition-medium);
    }

    .mobile-menu-toggle.open span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .mobile-menu-toggle.open span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle.open span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero-card h1 {
        font-size: 2rem;
    }

    .cta-content h2 {
        font-size: 2rem;
    }

    .cta-btns {
        flex-direction: column;
    }
}

/* Testimonials */
.testimonials {
    background: linear-gradient(135deg, var(--grey-100) 0%, var(--white) 100%);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-md);
    margin-top: var(--space-md);
}

.testimonial-card {
    padding: var(--space-md);
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 250px;
    transition: var(--transition-medium);
}

.testimonial-card:hover {
    transform: translateY(-5px);
}

.quote-icon {
    font-size: 2rem;
    color: var(--primary-color);
    opacity: 0.2;
    margin-bottom: var(--space-sm);
}

.testimonial-card p {
    font-style: italic;
    color: var(--dark-grey);
    margin-bottom: var(--space-md);
    flex-grow: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.author-info strong {
    display: block;
    font-size: 1rem;
    color: var(--black);
}

.author-info span {
    font-size: 0.85rem;
    color: var(--grey-500);
}

/* Scroll Animations Base */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Contact Page Specific Styles */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
}

.contact-info-list {
    margin-top: var(--space-md);
}

.contact-info-item {
    display: flex;
    gap: var(--space-sm);
    margin-bottom: var(--space-sm);
}

.contact-info-item i {
    color: var(--primary-color);
    font-size: 1.5rem;
    width: 24px;
    text-align: center;
}

.contact-form-container {
    padding: var(--space-md);
}

.form-group {
    margin-bottom: var(--space-sm);
}

.form-group label {
    display: block;
    margin-bottom: 5px;
}

.form-control {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--grey-300);
    border-radius: 5px;
    font-family: inherit;
}

.contact-social {
    margin-top: var(--space-md);
}

.contact-social h3 {
    margin-bottom: var(--space-xs);
}

.map-container {
    height: 500px;
    width: 100%;
    overflow: hidden;
}

@media (max-width: 992px) {
    .contact-grid {
        gap: var(--space-md);
    }
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .section-padding {
        padding: var(--space-md) 0;
    }

    .page-header {
        margin-top: 60px !important;
    }

    .map-container {
        height: 350px;
    }
}