/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Biomorphic Color Palette */
    --primary-green: #4a7c59;
    --secondary-green: #6b8e6b;
    --accent-orange: #d4a574;
    --warm-brown: #8b7355;
    --soft-cream: #f5f1e8;
    --deep-forest: #2d4a3e;
    --organic-beige: #e8dcc0;
    --natural-gray: #7a7a7a;
    
    /* Typography */
    --font-primary: 'Comfortaa', cursive;
    --font-secondary: 'Inter', sans-serif;
    
    /* Organic Shapes */
    --border-radius-organic: 20px;
    --border-radius-soft: 15px;
    --border-radius-round: 50px;
}

body {
    font-family: var(--font-secondary);
    line-height: 1.6;
    color: var(--deep-forest);
    background: linear-gradient(135deg, var(--soft-cream) 0%, var(--organic-beige) 100%);
    overflow-x: hidden;
}

/* Organic Container Shapes */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Biomorphic Header */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(245, 241, 232, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 2px solid var(--primary-green);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar {
    padding: 1rem 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--primary-green);
    padding: 4px;
}

.logo-text {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-green);
    background: linear-gradient(45deg, var(--primary-green), var(--secondary-green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-link {
    text-decoration: none;
    color: var(--deep-forest);
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius-organic);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(74, 124, 89, 0.2), transparent);
    transition: left 0.5s ease;
}

.nav-link:hover::before {
    left: 100%;
}

.nav-link:hover {
    background: var(--primary-green);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(74, 124, 89, 0.3);
}

/* Mobile Menu Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--primary-green);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Hero Section with Biomorphic Design */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 60px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(74, 124, 89, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(212, 165, 116, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(139, 115, 85, 0.05) 0%, transparent 50%);
    z-index: -1;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-content {
    position: relative;
}

.hero-title {
    font-family: var(--font-primary);
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--deep-forest);
    margin-bottom: 1.5rem;
    line-height: 1.2;
    position: relative;
}

.hero-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-green), var(--accent-orange));
    border-radius: 2px;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--natural-gray);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-primary, .btn-secondary {
    padding: 1rem 2rem;
    border: none;
    border-radius: var(--border-radius-organic);
    font-family: var(--font-primary);
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-green), var(--secondary-green));
    color: white;
    box-shadow: 0 8px 25px rgba(74, 124, 89, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(74, 124, 89, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-green);
    border: 2px solid var(--primary-green);
}

.btn-secondary:hover {
    background: var(--primary-green);
    color: white;
    transform: translateY(-3px);
}

.hero-image {
    position: relative;
}

.hero-img {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius-organic);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.hero-img:hover {
    transform: scale(1.05);
}

/* Cookie Consent */
.cookie-consent {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: rgba(245, 241, 232, 0.95);
    backdrop-filter: blur(10px);
    border: 2px solid var(--primary-green);
    border-radius: var(--border-radius-organic);
    padding: 1.5rem;
    z-index: 10000;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.cookie-consent.show {
    transform: translateY(0);
}

.cookie-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.cookie-content p {
    flex: 1;
    margin: 0;
    color: var(--deep-forest);
}

.cookie-buttons {
    display: flex;
    gap: 0.5rem;
}

.btn-accept, .btn-reject {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: var(--border-radius-soft);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-accept {
    background: var(--primary-green);
    color: white;
}

.btn-accept:hover {
    background: var(--secondary-green);
    transform: translateY(-2px);
}

.btn-reject {
    background: transparent;
    color: var(--natural-gray);
    border: 1px solid var(--natural-gray);
}

.btn-reject:hover {
    background: var(--natural-gray);
    color: white;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: rgba(245, 241, 232, 0.98);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
        border-radius: 0 0 20px 20px;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active .bar:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .nav-toggle.active .bar:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .cookie-content {
        flex-direction: column;
        text-align: center;
    }

    .cookie-buttons {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .btn-primary, .btn-secondary {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
}

/* Section Styles */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-family: var(--font-primary);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--deep-forest);
    margin-bottom: 1rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-green), var(--accent-orange));
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--natural-gray);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Servicios Section */
.servicios {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--organic-beige) 0%, var(--soft-cream) 100%);
}

.servicios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.servicio-card {
    background: rgba(255, 255, 255, 0.9);
    padding: 2rem;
    border-radius: var(--border-radius-organic);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.servicio-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-green), var(--accent-orange));
}

.servicio-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.servicio-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-green), var(--secondary-green));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.servicio-icon i {
    font-size: 1.5rem;
    color: white;
}

.servicio-card h3 {
    font-family: var(--font-primary);
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--deep-forest);
    margin-bottom: 1rem;
}

.servicio-card p {
    color: var(--natural-gray);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.servicio-features {
    list-style: none;
}

.servicio-features li {
    padding: 0.5rem 0;
    color: var(--deep-forest);
    position: relative;
    padding-left: 1.5rem;
}

.servicio-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-green);
    font-weight: bold;
}

/* Nosotros Section */
.nosotros {
    padding: 80px 0;
    background: var(--soft-cream);
}

.nosotros-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.nosotros-text {
    position: relative;
}

.nosotros-description {
    font-size: 1.1rem;
    color: var(--natural-gray);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.nosotros-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.feature-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.feature-item i {
    width: 40px;
    height: 40px;
    background: var(--primary-green);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-item h4 {
    font-family: var(--font-primary);
    font-weight: 600;
    color: var(--deep-forest);
    margin-bottom: 0.5rem;
}

.feature-item p {
    color: var(--natural-gray);
    line-height: 1.6;
}

.nosotros-image {
    position: relative;
}

.nosotros-img {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius-organic);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

/* Ventajas Section */
.ventajas {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--secondary-green) 100%);
    color: white;
}

.ventajas .section-title,
.ventajas .section-subtitle {
    color: white;
}

.ventajas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.ventaja-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: var(--border-radius-organic);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.ventaja-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

.ventaja-number {
    font-family: var(--font-primary);
    font-size: 3rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.3);
    position: absolute;
    top: 1rem;
    right: 1rem;
}

.ventaja-card h3 {
    font-family: var(--font-primary);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.ventaja-card p {
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

/* Proceso Section */
.proceso {
    padding: 80px 0;
    background: var(--organic-beige);
}

.proceso-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.proceso-timeline::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(to bottom, var(--primary-green), var(--accent-orange));
    border-radius: 2px;
}

.proceso-step {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-green), var(--accent-orange));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-primary);
    font-size: 1.5rem;
    font-weight: 700;
    flex-shrink: 0;
    z-index: 2;
    position: relative;
}

.step-content {
    background: rgba(255, 255, 255, 0.9);
    padding: 2rem;
    border-radius: var(--border-radius-organic);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    flex: 1;
}

.step-content h3 {
    font-family: var(--font-primary);
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--deep-forest);
    margin-bottom: 1rem;
}

.step-content p {
    color: var(--natural-gray);
    line-height: 1.6;
}

/* Contacto Section */
.contacto {
    padding: 80px 0;
    background: var(--soft-cream);
}

.contacto-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contacto-description {
    font-size: 1.1rem;
    color: var(--natural-gray);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.contacto-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contacto-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.contacto-item i {
    width: 40px;
    height: 40px;
    background: var(--primary-green);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contacto-item h4 {
    font-family: var(--font-primary);
    font-weight: 600;
    color: var(--deep-forest);
    margin-bottom: 0.5rem;
}

.contacto-item p {
    color: var(--natural-gray);
}

/* Form Styles */
.contacto-form {
    background: rgba(255, 255, 255, 0.9);
    padding: 2rem;
    border-radius: var(--border-radius-organic);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 600;
    color: var(--deep-forest);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 1rem;
    border: 2px solid var(--organic-beige);
    border-radius: var(--border-radius-soft);
    font-family: var(--font-secondary);
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-green);
    box-shadow: 0 0 0 3px rgba(74, 124, 89, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.btn-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1.2rem 2rem;
    font-size: 1.1rem;
    margin-top: 1rem;
}

/* Footer */
.footer {
    background: var(--deep-forest);
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    font-family: var(--font-primary);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--accent-orange);
}

.footer-description {
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent-orange);
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    color: rgba(255, 255, 255, 0.8);
}

.footer-contact i {
    color: var(--accent-orange);
    width: 20px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
}

/* Additional Responsive Styles */
@media (max-width: 768px) {
    .nosotros-content,
    .contacto-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .servicios-grid {
        grid-template-columns: 1fr;
    }
    
    .ventajas-grid {
        grid-template-columns: 1fr;
    }
    
    .proceso-timeline::before {
        left: 20px;
    }
    
    .proceso-step {
        gap: 1rem;
    }
    
    .step-number {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

/* Policy Pages Styles */
.policy-content {
    padding: 120px 0 60px;
    background: var(--soft-cream);
    min-height: 100vh;
}

.policy-header {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.9);
    border-radius: var(--border-radius-organic);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.policy-header h1 {
    font-family: var(--font-primary);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--deep-forest);
    margin-bottom: 1rem;
}

.policy-header p {
    color: var(--natural-gray);
    font-size: 1.1rem;
}

.policy-body {
    background: rgba(255, 255, 255, 0.9);
    border-radius: var(--border-radius-organic);
    padding: 3rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.policy-section {
    margin-bottom: 3rem;
}

.policy-section:last-child {
    margin-bottom: 0;
}

.policy-section h2 {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-green);
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--accent-orange);
}

.policy-section p {
    color: var(--deep-forest);
    line-height: 1.7;
    margin-bottom: 1rem;
    text-align: justify;
}

.policy-footer {
    text-align: center;
    padding: 2rem;
}

.policy-footer .btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

/* Additional responsive styles for policy pages */
@media (max-width: 768px) {
    .policy-content {
        padding: 100px 0 40px;
    }
    
    .policy-header h1 {
        font-size: 2rem;
    }
    
    .policy-body {
        padding: 2rem;
    }
    
    .policy-section h2 {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .policy-header {
        padding: 1.5rem;
    }
    
    .policy-body {
        padding: 1.5rem;
    }
    
    .policy-header h1 {
        font-size: 1.8rem;
    }
} 