/* ===================================
   Reset & Base Styles
   =================================== */

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

:root {
    /* Colors */
    --primary-green: #2d5016;
    --primary-green-light: #3d6b1f;
    --primary-green-dark: #1d3a0e;
    --accent-gold: #d4a574;
    --accent-gold-light: #e4b684;
    --accent-gold-dark: #c49564;

    --text-dark: #1a1a1a;
    --text-medium: #4a4a4a;
    --text-light: #6a6a6a;
    --text-white: #ffffff;

    --bg-white: #ffffff;
    --bg-light: #f8f9fa;
    --bg-cream: #faf8f5;

    --border-light: #e5e5e5;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.12);

    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* Spacing */
    --container-max: 1200px;
    --container-padding: 2rem;

    /* Transitions */
    --transition-base: 0.3s ease;
    --transition-fast: 0.15s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    color: var(--text-dark);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

ul {
    list-style: none;
}

/* ===================================
   Container
   =================================== */

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* ===================================
   Buttons
   =================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition-base);
    white-space: nowrap;
}

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

.btn-primary:hover {
    background: var(--primary-green-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: transparent;
    color: var(--text-dark);
    border: 2px solid var(--border-light);
}

.btn-secondary:hover {
    border-color: var(--primary-green);
    color: var(--primary-green);
}

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

.btn svg {
    width: 20px;
    height: 20px;
}

.btn-lg svg {
    width: 24px;
    height: 24px;
}

/* ===================================
   Section Styles
   =================================== */

.section-badge {
    display: inline-block;
    padding: 0.375rem 0.875rem;
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--primary-green);
    background: rgba(45, 80, 22, 0.08);
    border-radius: 20px;
    margin-bottom: 1rem;
}

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

.section-title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

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

.section-description {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: var(--text-medium);
    margin-bottom: 1.25rem;
}

/* ===================================
   Header
   =================================== */

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--bg-white);
    z-index: 1000;
    transition: var(--transition-base);
}

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

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

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

.logo-icon {
    width: 48px;
    height: 48px;
    color: var(--primary-green);
}

.logo-icon svg {
    width: 100%;
    height: 100%;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-name {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.2;
}

.logo-subtitle {
    font-size: 0.8125rem;
    color: var(--text-light);
}

.nav-list {
    display: flex;
    gap: 2rem;
}

.nav-link {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--text-medium);
    position: relative;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-green);
    transition: var(--transition-base);
}

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

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-dark);
    transition: var(--transition-base);
}

/* ===================================
   Hero Section
   =================================== */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 88px;
    background: var(--bg-cream);
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(45, 80, 22, 0.03) 0%, rgba(212, 165, 116, 0.05) 100%);
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    padding: 4rem 0;
}

.hero-text {
    max-width: 700px;
}

.hero-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary-green);
    background: var(--bg-white);
    border: 1px solid var(--primary-green);
    border-radius: 24px;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.hero-description {
    font-size: 1.25rem;
    line-height: 1.7;
    color: var(--text-medium);
    margin-bottom: 2.5rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 3rem;
}

.hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.stat {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.stat-icon {
    font-size: 1.5rem;
}

.stat-text {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--text-medium);
}

/* ===================================
   About Section
   =================================== */

.about {
    padding: 6rem 0;
    background: var(--bg-white);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text {
    max-width: 560px;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
}

.feature {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.feature-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-green);
    color: var(--text-white);
    border-radius: 50%;
    font-weight: 700;
    flex-shrink: 0;
}

.feature-text {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-dark);
}

.about-image {
    position: relative;
}

.image-wrapper {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.image-wrapper::before {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 200px;
    height: 200px;
    background: var(--accent-gold);
    opacity: 0.2;
    border-radius: 50%;
    z-index: -1;
}

.image-wrapper img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* ===================================
   Services Section
   =================================== */

.services {
    padding: 6rem 0;
    background: var(--bg-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--bg-white);
    padding: 2.5rem;
    border-radius: 16px;
    transition: var(--transition-base);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.service-icon {
    width: 64px;
    height: 64px;
    color: var(--primary-green);
    margin-bottom: 1.5rem;
}

.service-icon svg {
    width: 100%;
    height: 100%;
}

.service-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.service-description {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-medium);
}

/* ===================================
   Differentials Section
   =================================== */

.differentials {
    padding: 6rem 0;
    background: var(--bg-white);
}

.differentials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
}

.differential-card {
    padding: 2rem;
    border: 2px solid var(--border-light);
    border-radius: 16px;
    transition: var(--transition-base);
}

.differential-card:hover {
    border-color: var(--primary-green);
    background: var(--bg-cream);
}

.differential-number {
    display: inline-block;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent-gold);
    line-height: 1;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.differential-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.differential-description {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-medium);
}

/* ===================================
   CTA WhatsApp Section
   =================================== */

.cta-whatsapp {
    padding: 5rem 0;
    background: var(--primary-green);
    position: relative;
    overflow: hidden;
}

.cta-whatsapp::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.cta-content {
    position: relative;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-title {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 1rem;
}

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

.cta-whatsapp .btn-primary {
    background: var(--text-white);
    color: var(--primary-green);
}

.cta-whatsapp .btn-primary:hover {
    background: var(--bg-cream);
    transform: translateY(-2px);
}

/* ===================================
   Contact Section
   =================================== */

.contact {
    padding: 6rem 0;
    background: var(--bg-light);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-card {
    display: flex;
    gap: 1.5rem;
    padding: 2rem;
    background: var(--bg-white);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
}

.contact-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-green);
    color: var(--text-white);
    border-radius: 12px;
    flex-shrink: 0;
}

.contact-icon svg {
    width: 24px;
    height: 24px;
}

.contact-details {
    flex: 1;
}

.contact-title {
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.contact-link {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--primary-green);
}

.contact-link:hover {
    text-decoration: underline;
}

.contact-text {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.contact-subtext {
    font-size: 0.9375rem;
    color: var(--text-medium);
}

.contact-map {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.map-wrapper {
    position: relative;
    width: 100%;
    height: 400px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

/* ===================================
   Footer
   =================================== */

.footer {
    padding: 4rem 0 2rem;
    background: var(--text-dark);
    color: var(--text-white);
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.footer-main {
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: 3rem;
}

.footer-brand {
    max-width: 360px;
}

.footer .logo-name,
.footer .logo-icon {
    color: var(--text-white);
}

.footer .logo-subtitle {
    color: rgba(255, 255, 255, 0.7);
}

.footer-description {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 1.5rem;
}

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

.footer-title {
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-white);
    margin-bottom: 1.25rem;
}

.footer-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-link {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.7);
}

.footer-link:hover {
    color: var(--text-white);
    padding-left: 4px;
}

.footer-text {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.7);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

.footer-dev {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
}

.footer-dev-link {
    color: var(--accent-gold);
    font-weight: 500;
}

.footer-dev-link:hover {
    text-decoration: underline;
}

/* ===================================
   WhatsApp Float Button
   =================================== */

.whatsapp-float {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 64px;
    height: 64px;
    background: #25d366;
    color: var(--text-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: var(--transition-base);
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.5);
}

.whatsapp-float svg {
    width: 32px;
    height: 32px;
}

/* ===================================
   Responsive Design
   =================================== */

@media (max-width: 1024px) {
    :root {
        --container-padding: 1.5rem;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about-image {
        order: -1;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .footer-main {
        grid-template-columns: 1fr;
    }

    .footer-links {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .nav {
        position: fixed;
        top: 88px;
        left: 0;
        right: 0;
        background: var(--bg-white);
        box-shadow: var(--shadow-md);
        max-height: 0;
        overflow: hidden;
        transition: var(--transition-base);
    }

    .nav.active {
        max-height: 400px;
    }

    .nav-list {
        flex-direction: column;
        gap: 0;
        padding: 1rem 0;
    }

    .nav-link {
        display: block;
        padding: 1rem 2rem;
    }

    .nav-link::after {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(7px, 7px);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    .header-actions .btn {
        display: none;
    }

    .hero {
        min-height: auto;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .differentials-grid {
        grid-template-columns: 1fr;
    }

    .footer-links {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

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

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

@media (max-width: 480px) {
    :root {
        --container-padding: 1rem;
    }

    .logo-icon {
        width: 40px;
        height: 40px;
    }

    .logo-name {
        font-size: 1rem;
    }

    .logo-subtitle {
        font-size: 0.75rem;
    }

    .hero-content {
        padding: 2rem 0;
    }

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

    .about,
    .services,
    .differentials,
    .contact {
        padding: 3rem 0;
    }

    .cta-whatsapp {
        padding: 3rem 0;
    }

    .service-card,
    .differential-card {
        padding: 1.75rem;
    }
}

/* ===================================
   Logo Image Styles
   =================================== */

.logo-image {
    height: 60px;
    width: auto;
    display: block;
    object-fit: contain;
}

.header .logo-image {
    height: 60px;
}

.footer .logo-image {
    height: 80px;
    margin-bottom: 1rem;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .logo-image {
        height: 50px;
    }
    
    .header .logo-image {
        height: 50px;
    }
    
    .footer .logo-image {
        height: 70px;
    }
}

@media (max-width: 480px) {
    .logo-image {
        height: 45px;
    }
    
    .header .logo-image {
        height: 45px;
    }
    
    .footer .logo-image {
        height: 60px;
    }
}
