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

:root {
    /* Colors */
    --primary: hsl(213, 70%, 25%);
    --primary-light: hsl(213, 70%, 35%);
    --primary-dark: hsl(213, 80%, 18%);
    --secondary: hsl(215, 20%, 25%);
    --accent: hsl(45, 85%, 52%);
    --accent-dark: hsl(45, 85%, 42%);
    
    --background: hsl(0, 0%, 100%);
    --foreground: hsl(210, 20%, 15%);
    --muted: hsl(210, 20%, 96%);
    --muted-foreground: hsl(215, 15%, 45%);
    --border: hsl(214, 20%, 88%);
    
    --white: #ffffff;
    --black: #000000;
    
    /* Typography */
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Spacing */
    --container-width: 1400px;
    --section-padding: 5rem 0;
    --section-padding-mobile: 3rem 0;
    
    /* Border Radius */
    --radius: 0.375rem;
    --radius-lg: 0.75rem;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    
    /* Transitions */
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--foreground);
    background-color: var(--background);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

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

ul {
    list-style: none;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

/* ===== UTILITY CLASSES ===== */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.text-center { text-align: center; }
.text-white { color: var(--white); }
.text-white-muted { color: rgba(255, 255, 255, 0.8); }
.text-muted { color: var(--muted-foreground); margin-bottom: 1rem; }

.section {
    padding: var(--section-padding);
}

.section-muted {
    background-color: var(--muted);
}

.section-dark {
    background-color: var(--secondary);
}

.section-primary {
    background-color: var(--primary);
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

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

.section-subtitle {
    font-size: 1.125rem;
    color: var(--muted-foreground);
    max-width: 600px;
    margin: 0 auto;
}

.section-footer {
    text-align: center;
    margin-top: 3rem;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: var(--radius);
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.8125rem;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--primary-light);
}

.btn-hero {
    background-color: var(--accent);
    color: var(--primary);
    font-weight: 700;
}

.btn-hero:hover {
    background-color: var(--accent-dark);
}

.btn-outline-white {
    background: transparent;
    border-color: var(--white);
    color: var(--white);
}

.btn-outline-white:hover {
    background-color: var(--white);
    color: var(--primary);
}

/* ===== HEADER ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    transition: var(--transition);
    display:flex;
    
}

.header.scrolled {
    box-shadow: var(--shadow);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    
}

.logo-img {
    width: 120px;
    height: 120px;
    object-fit: contain;
    transition: transform 0.3s ease
     
}

.logo:hover .logo-img {
    transform: scale(1.05);
}

.logo-text {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.75rem;
    line-height: 1.2;
    color: var(--primary);
}

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

.nav-link {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--foreground);
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
}

.mobile-menu-btn {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    padding: 8px;
}

.hamburger,
.hamburger::before,
.hamburger::after {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--foreground);
    transition: var(--transition);
}

.hamburger {
    position: relative;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    left: 0;
}

.hamburger::before {
    top: -7px;
}

.hamburger::after {
    top: 7px;
}

.mobile-menu-btn.active .hamburger {
    background-color: transparent;
}

.mobile-menu-btn.active .hamburger::before {
    transform: rotate(45deg);
    top: 0;
}

.mobile-menu-btn.active .hamburger::after {
    transform: rotate(-45deg);
    top: 0;
}

.nav-mobile {
    display: none;
    flex-direction: column;
    gap: 1rem;
    padding: 1.5rem 0;
    border-top: 1px solid var(--border);
}

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

.nav-mobile .nav-link {
    font-size: 1rem;
}

.nav-mobile .btn {
    width: 100%;
}

@media (min-width: 1024px) {
    .nav-desktop {
        display: flex;
    }
    
    .mobile-menu-btn {
        display: none;
    }
    
    .logo-img {
        width: 56px;
        height: 56px;
    }
    
    .logo-text {
        font-size: 0.875rem;
    }
}

/* ===== FOOTER ===== */
.footer {
    background-color: var(--secondary);
    color: var(--white);
    padding: 4rem 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.footer-logo-img {
    width: 56px;
    height: 56px;
    object-fit: contain;
}

.footer-logo-text {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.875rem;
    line-height: 1.2;
}

.footer-about {
    font-size: 0.875rem;
    opacity: 0.8;
}

.footer-heading {
    font-size: 1.125rem;
    margin-bottom: 1rem;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    font-size: 0.875rem;
    opacity: 0.8;
    transition: var(--transition);
}

.footer-links a:hover {
    opacity: 1;
    color: var(--accent);
}

.footer-contact li {
    font-size: 0.875rem;
    margin-bottom: 0.75rem;
    opacity: 0.8;
}

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    margin-top: 3rem;
    padding: 2rem 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.875rem;
    opacity: 0.7;
}

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

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

/* ===== WHATSAPP BUTTON ===== */
.whatsapp-btn {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    width: 56px;
    height: 56px;
    background-color: #25D366;
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    z-index: 999;
    transition: var(--transition);
}

.whatsapp-btn svg {
    width: 28px;
    height: 28px;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
    background-color: #20ba5a;
}

/* ===== SCROLL TO TOP ===== */
.scroll-top-btn {
    position: fixed;
    bottom: 1.5rem;
    right: 5rem;
    width: 44px;
    height: 44px;
    background-color: var(--primary);
    color: var(--white);
    border-radius: 50%;
    font-size: 1.25rem;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    z-index: 998;
    transition: var(--transition);
}

.scroll-top-btn.visible {
    display: flex;
}

.scroll-top-btn:hover {
    background-color: var(--primary-light);
    transform: translateY(-3px);
}

/* ===== ANIMATIONS ===== */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

.fade-in {
    animation: fadeIn 0.8s ease-out;
}

.fade-in-up {
    animation: fadeInUp 0.8s ease-out;
}

/* ===== CARDS ===== */
.card {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: var(--transition);
}

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

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .section {
        padding: var(--section-padding-mobile);
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
}
