/* Base styles and variables */
:root {
    --primary-color: #2d5016;
    --primary-light: #4a8f29;
    --secondary-color: #1a3a0f;
    --accent-color: #d4af37;
    --accent-light: #f4d03f;
    --text-color: #2c2c2c;
    --text-light: #666;
    --light-color: #fafaf8;
    --dark-color: #1a1a1a;
    --earth-brown: #8b6f47;
    --earth-light: #c9b896;
    --transition-speed: 0.3s;
    --transition-function: cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.7;
    color: var(--text-color);
    background-color: var(--light-color);
    overflow-x: hidden;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body.menu-open {
    overflow: hidden;
}

/* Botón de WhatsApp fijo */
.whatsapp-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
}

.whatsapp-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
    text-decoration: none;
    font-size: 30px;
}

.whatsapp-notification {
    position: absolute;
    top: -80px;
    right: 0;
    background-color: white;
    padding: 10px 15px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    width: 220px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
    pointer-events: none;
    z-index: 1000;
}

.whatsapp-notification:after {
    content: '';
    position: absolute;
    bottom: -10px;
    right: 20px;
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid white;
}

.whatsapp-notification p {
    margin: 0;
    font-size: 14px;
    color: #333;
    font-weight: 500;
}

.whatsapp-notification.show {
    opacity: 1;
    transform: translateY(0);
}

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

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

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

ul {
    list-style: none;
}

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

.section-title {
    font-size: 2.75rem;
    margin-bottom: 1rem;
    text-align: center;
    position: relative;
    color: var(--secondary-color);
    font-weight: 700;
    letter-spacing: -0.5px;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 3.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 2px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all var(--transition-speed) var(--transition-function);
    position: relative;
    overflow: hidden;
    z-index: 1;
    border: 2px solid transparent;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.2);
    transition: all 0.5s var(--transition-function);
    z-index: -1;
}

.btn:hover::before {
    width: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    border: none;
    padding: 16px 40px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    transition: all 0.4s var(--transition-function);
    position: relative;
    overflow: hidden;
    z-index: 1;
    box-shadow: 0 4px 20px rgba(45, 80, 22, 0.3);
    font-size: 0.9rem;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--accent-color), var(--accent-light));
    opacity: 0;
    transition: opacity 0.4s var(--transition-function);
    z-index: -1;
}

.btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(45, 80, 22, 0.4);
}

.btn-primary:hover::before {
    opacity: 1;
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 24px 0;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-speed) var(--transition-function);
    border-bottom: 1px solid rgba(45, 80, 22, 0.08);
}

header.scrolled {
    padding: 14px 0;
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-md);
}

header.scrolled .logo-img {
    height: 40px;
    transform: scale(0.95);
}

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

.logo-img {
    height: 50px;
    width: auto;
    display: block;
    transition: all var(--transition-speed) var(--transition-function);
    transform-origin: left center;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

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

.tagline {
    font-size: 0.9rem;
    color: var(--dark-color);
    letter-spacing: 1px;
    margin-top: -5px;
}

nav ul {
    display: flex;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    font-weight: 600;
    font-size: 1rem;
    color: var(--dark-color);
    position: relative;
    padding-bottom: 5px;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width var(--transition-speed) var(--transition-function);
}

nav ul li a:hover::after,
nav ul li a.active::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.menu-toggle:hover {
    color: var(--accent-color);
    transform: scale(1.1);
}

.menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.menu-overlay.active {
    display: block;
    opacity: 1;
}

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 700px;
    background-image: url('https://images.unsplash.com/photo-1500937386664-56d1dfef3854?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    padding: 0 15px;
}

.hero .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 58, 15, 0.85) 0%, rgba(45, 80, 22, 0.75) 50%, rgba(74, 143, 41, 0.65) 100%);
    background-size: 200% 200%;
    animation: gradientShift 20s ease infinite;
}

@keyframes gradientShift {
    0% {
        background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(74, 143, 41, 0.5) 100%);
    }
    50% {
        background: linear-gradient(135deg, rgba(44, 62, 80, 0.7) 0%, rgba(139, 195, 74, 0.5) 100%);
    }
    100% {
        background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(249, 168, 37, 0.5) 100%);
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    color: white;
    max-width: 700px;
    animation: fadeIn 1s ease-in-out;
    text-align: center;
    width: 100%;
    padding: 0;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.hero-content h2 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    font-weight: 800;
    line-height: 1.15;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    display: inline-block;
    width: 100%;
    max-width: 900px;
    letter-spacing: -1px;
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    font-weight: 800;
    line-height: 1.15;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    display: inline-block;
    width: 100%;
    max-width: 900px;
    letter-spacing: -1px;
}

.hero-content p {
    font-size: 1.35rem;
    margin-bottom: 2.5rem;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    width: 100%;
    display: inline-block;
    max-width: 650px;
    font-weight: 300;
    line-height: 1.6;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 12px 24px;
    border-radius: 50px;
    margin-bottom: 30px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 0.9rem;
    font-weight: 500;
}

.hero-badge i {
    color: var(--accent-color);
    font-size: 1.2rem;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    padding: 16px 40px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    transition: all 0.4s var(--transition-function);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-secondary:hover {
    background: white;
    color: var(--primary-color);
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(255, 255, 255, 0.3);
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: white;
    opacity: 0.8;
    animation: bounce 2s infinite;
}

.mouse {
    width: 25px;
    height: 40px;
    border: 2px solid white;
    border-radius: 15px;
    margin: 0 auto 10px;
    position: relative;
}

.mouse::before {
    content: '';
    width: 4px;
    height: 8px;
    background: white;
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-10px); }
}

@keyframes scroll {
    0% { opacity: 1; top: 8px; }
    100% { opacity: 0; top: 20px; }
}

/* Trust Bar */
.trust-bar {
    background: white;
    padding: 40px 0;
    border-bottom: 1px solid rgba(45, 80, 22, 0.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.trust-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 15px;
    justify-content: center;
    padding: 15px;
}

.trust-item i {
    font-size: 2rem;
    color: var(--primary-color);
}

.trust-item span {
    font-weight: 600;
    color: var(--text-color);
    font-size: 0.95rem;
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

/* Services Section */
.services {
    padding: 120px 0;
    background: linear-gradient(180deg, #ffffff 0%, #fafaf8 100%);
    position: relative;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    opacity: 0.3;
}

.service-number {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 3rem;
    font-weight: 800;
    color: rgba(45, 80, 22, 0.05);
    line-height: 1;
    z-index: 0;
}

.service-features {
    list-style: none;
    margin-top: 20px;
    text-align: left;
    z-index: 1;
    position: relative;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: var(--text-light);
}

.service-features i {
    color: var(--primary-color);
    font-size: 0.75rem;
}

.service-card-cta {
    background: #1a3a0f;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.service-card-cta:hover {
    transform: translateY(-12px) scale(1.02);
}

.cta-content {
    z-index: 1;
}

.cta-content i {
    font-size: 3rem;
    margin-bottom: 20px;
    color: #ffd700;
}

.cta-content h3 {
    color: #ffffff;
    margin-bottom: 15px;
    font-weight: 700;
}

.cta-content p {
    color: #ffffff;
    margin-bottom: 25px;
}

.cta-content .btn {
    background: white;
    color: #1a3a0f;
    font-weight: 700;
}

.cta-content .btn:hover {
    background: #ffd700;
    color: #1a3a0f;
    transform: translateY(-2px);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
    padding: 10px 0 30px;
    position: relative;
}

.services-grid::-webkit-scrollbar {
    height: 6px;
}

.services-grid::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.services-grid::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 10px;
}

.services-grid::-webkit-scrollbar-thumb:hover {
    background: var(--accent-color);
}

.service-card {
    background-color: white;
    padding: 40px 30px;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: all 0.4s var(--transition-function);
    position: relative;
    top: 0;
    overflow: hidden;
    border: 2px solid rgba(45, 80, 22, 0.08);
    height: 100%;
    min-height: 320px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transform: scaleX(0);
    transition: transform 0.4s var(--transition-function);
    z-index: 1;
}

.service-card::after {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(45, 80, 22, 0.03) 0%, rgba(212, 175, 55, 0.05) 100%);
    transition: all 0.5s ease;
    z-index: 0;
}

.service-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover::after {
    top: 0;
}

.service-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 0;
    z-index: 1;
    position: relative;
}

.service-card h3 {
    margin-bottom: 10px;
    font-size: 1.2rem;
    color: var(--primary-color);
    font-weight: 600;
    line-height: 1.3;
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(45, 80, 22, 0.08) 0%, rgba(212, 175, 55, 0.12) 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    color: var(--primary-color);
    font-size: 2rem;
    position: relative;
    overflow: hidden;
    transition: all 0.4s var(--transition-function);
    flex-shrink: 0;
    border: 2px solid rgba(45, 80, 22, 0.15);
    z-index: 1;
}

.service-icon::after {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    border-radius: 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
    transition: all 0.5s var(--transition-function);
    opacity: 0;
}

.service-card:hover .service-icon {
    transform: translateY(-8px) scale(1.1);
    color: white;
    border-color: var(--accent-color);
    box-shadow: 0 8px 20px rgba(45, 80, 22, 0.2);
}

.service-card:hover .service-icon::after {
    width: 100%;
    height: 100%;
    opacity: 1;
}

.service-card h3 {
    font-size: 1.35rem;
    margin-bottom: 16px;
    color: var(--secondary-color);
    font-weight: 700;
    line-height: 1.4;
    z-index: 1;
    position: relative;
}

/* Statistics Section */
.stats {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    position: relative;
    overflow: hidden;
}

.stats::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        repeating-linear-gradient(45deg, transparent, transparent 35px, rgba(255,255,255,.03) 35px, rgba(255,255,255,.03) 70px);
    pointer-events: none;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    position: relative;
    z-index: 1;
}

.stat-item {
    text-align: center;
    color: white;
    padding: 20px;
}

.stat-icon {
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    color: var(--accent-color);
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: all 0.4s var(--transition-function);
}

.stat-item:hover .stat-icon {
    transform: scale(1.1) rotate(5deg);
    background: rgba(255, 255, 255, 0.25);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 10px;
    color: white;
    line-height: 1;
}

.stat-label {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Process Section */
.process {
    padding: 120px 0;
    background: white;
}

.process-timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.process-step {
    position: relative;
    text-align: center;
}

.step-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    box-shadow: 0 4px 15px rgba(45, 80, 22, 0.3);
    z-index: 2;
}

.step-content {
    background: white;
    padding: 60px 30px 30px;
    border-radius: 16px;
    border: 2px solid rgba(45, 80, 22, 0.1);
    transition: all 0.4s var(--transition-function);
    height: 100%;
}

.process-step:hover .step-content {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.step-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(45, 80, 22, 0.08), rgba(212, 175, 55, 0.12));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    color: var(--primary-color);
    transition: all 0.4s var(--transition-function);
}

.process-step:hover .step-icon {
    transform: scale(1.1);
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
}

.step-content h3 {
    font-size: 1.3rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
    font-weight: 700;
}

.step-content p {
    color: var(--text-light);
    line-height: 1.7;
}

/* Values Section */
.values {
    padding: 120px 0;
    background: linear-gradient(180deg, #fafaf8 0%, #ffffff 100%);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.value-card {
    background: white;
    padding: 40px 30px;
    border-radius: 16px;
    text-align: center;
    border: 2px solid rgba(45, 80, 22, 0.1);
    transition: all 0.4s var(--transition-function);
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.value-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 2.2rem;
    color: white;
    transition: all 0.4s var(--transition-function);
}

.value-card:hover .value-icon {
    transform: rotateY(360deg);
}

.value-card h3 {
    font-size: 1.4rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
    font-weight: 700;
}

.value-card p {
    color: var(--text-light);
    line-height: 1.7;
}

/* About Section */
.about {
    padding: 120px 0;
    background: linear-gradient(180deg, #fafaf8 0%, #ffffff 100%);
    position: relative;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    opacity: 0.3;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-top: 30px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: rgba(45, 80, 22, 0.05);
    border-radius: 8px;
    transition: all 0.3s var(--transition-function);
}

.feature-item:hover {
    background: rgba(45, 80, 22, 0.1);
    transform: translateX(5px);
}

.feature-item i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.feature-item span {
    font-size: 0.95rem;
    color: var(--text-color);
    font-weight: 500;
}

.image-badge {
    position: absolute;
    bottom: 30px;
    left: 30px;
    background: white;
    padding: 15px 20px;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    display: inline-flex;
    align-items: center;
    gap: 12px;
    width: auto;
    max-width: fit-content;
}

.image-badge i {
    font-size: 2rem;
    color: var(--accent-color);
    flex-shrink: 0;
}

.image-badge > div {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.image-badge strong {
    display: block;
    font-size: 1.75rem;
    color: var(--primary-color);
    line-height: 1;
    font-weight: 800;
}

.image-badge span {
    display: block;
    font-size: 0.8rem;
    color: var(--text-light);
    font-weight: 600;
    white-space: nowrap;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-text {
    flex: 1;
}

.about-text p {
    margin-bottom: 20px;
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-light);
}

.about-text p strong {
    color: var(--primary-color);
    font-weight: 700;
}

.about-image {
    flex: 0 0 auto;
    max-width: 50%;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    transform: translateX(50px);
    animation: slideIn 1s var(--transition-function) forwards;
    animation-delay: 0.3s;
    border: 3px solid rgba(45, 80, 22, 0.1);
    position: relative;
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.6s var(--transition-function);
}

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

/* Contact Section */
.contact {
    padding: 120px 0;
    background: linear-gradient(180deg, #ffffff 0%, #fafaf8 100%);
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #cc0000, #ffffff, #0035a8);
    opacity: 0.7;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    margin-top: 50px;
}

.contact-card {
    background: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    border: 2px solid rgba(45, 80, 22, 0.1);
    margin-bottom: 30px;
}

.contact-card h3 {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-bottom: 30px;
    font-weight: 700;
}

.contact-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 50px;
    margin-top: 50px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid rgba(45, 80, 22, 0.1);
}

.info-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.info-item div {
    flex: 1;
}

.info-item strong {
    display: block;
    color: var(--secondary-color);
    font-size: 0.9rem;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.info-item p {
    margin: 0;
    color: var(--text-light);
    line-height: 1.6;
}

.location-paraguay {
    position: relative;
}

.paraguay-highlight {
    font-weight: 700;
    color: #cc0000;
    position: relative;
}

.paraguay-highlight::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #cc0000, #ffffff, #0035a8);
}

.info-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(74, 143, 41, 0.1);
    border-radius: 50%;
}

.social-media {
    background: white;
    padding: 30px;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    border: 2px solid rgba(45, 80, 22, 0.1);
}

.social-media h4 {
    font-size: 1.2rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
    font-weight: 700;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    border-radius: 12px;
    transition: all 0.4s var(--transition-function);
    font-size: 1.2rem;
}

.social-icon:hover {
    background: linear-gradient(135deg, var(--accent-color), var(--accent-light));
    transform: translateY(-5px) rotate(5deg);
    box-shadow: 0 8px 20px rgba(45, 80, 22, 0.3);
}

.contact-form {
    background: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    border: 2px solid rgba(45, 80, 22, 0.1);
}

.contact-form h3 {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-bottom: 30px;
    font-weight: 700;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    position: relative;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group select {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid rgba(45, 80, 22, 0.15);
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.4s ease;
    background-color: white;
    font-family: inherit;
    cursor: pointer;
}

.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(45, 80, 22, 0.1), var(--shadow-md);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid rgba(45, 80, 22, 0.15);
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.4s ease;
    background-color: white;
    position: relative;
    z-index: 1;
    font-family: inherit;
}

.form-group {
    position: relative;
    overflow: hidden;
}

.form-group::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transition: all 0.4s ease;
    transform: translateX(-50%);
    z-index: 0;
}

.form-group textarea {
    height: 150px;
    resize: none;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(45, 80, 22, 0.1), var(--shadow-md);
    background-color: white;
    transform: translateY(-2px);
}

.form-group:focus-within::after {
    width: 100%;
}

/* Footer */
footer {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--dark-color) 100%);
    color: white;
    padding: 80px 0 30px;
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color), var(--primary-color));
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 50px;
}

.footer-col h4 {
    font-size: 1.2rem;
    margin-bottom: 25px;
    color: var(--accent-color);
    font-weight: 700;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s var(--transition-function);
    display: inline-block;
}

.footer-col ul li a:hover {
    color: var(--accent-color);
    transform: translateX(5px);
}

.footer-about p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-bottom: 15px;
}

.footer-description {
    font-size: 0.95rem;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.8);
}

.footer-contact i {
    color: var(--accent-color);
    margin-top: 3px;
    font-size: 1.1rem;
}

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

.footer-links {
    display: flex;
    gap: 25px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    transition: all 0.3s var(--transition-function);
}

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

.footer-logo-img {
    height: 40px;
    width: auto;
    display: block;
    margin-bottom: 10px;
    transition: all 0.4s ease;
    opacity: 0.9;
}

.footer-logo:hover .footer-logo-img {
    transform: scale(1.1);
    opacity: 1;
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.5));
}

.footer-links h4,
.footer-services h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--accent-color);
}

.footer-links ul,
.footer-services ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
    color: rgba(255, 255, 255, 0.8);
}

.footer-links a:hover {
    color: var(--accent-color);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

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

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(74, 143, 41, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(74, 143, 41, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(74, 143, 41, 0);
    }
}

/* Animaciones de aparición */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Retrasos para animaciones */
.animate-on-scroll[data-delay="0.1"] {
    transition-delay: 0.1s;
}

.animate-on-scroll[data-delay="0.2"] {
    transition-delay: 0.2s;
}

.animate-on-scroll[data-delay="0.3"] {
    transition-delay: 0.3s;
}

.animate-on-scroll[data-delay="0.4"] {
    transition-delay: 0.4s;
}

.animate-on-scroll[data-delay="0.5"] {
    transition-delay: 0.5s;
}

.animate-on-scroll[data-delay="0.6"] {
    transition-delay: 0.6s;
}

.animate-on-scroll[data-delay="0.7"] {
    transition-delay: 0.7s;
}

.animate-on-scroll[data-delay="0.8"] {
    transition-delay: 0.8s;
}

.animate-on-scroll[data-delay="0.9"] {
    transition-delay: 0.9s;
}

.pulse {
    animation: pulse 2s infinite;
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

.animate-on-scroll[data-delay="0.1"] {
    transition-delay: 0.1s;
}

.animate-on-scroll[data-delay="0.2"] {
    transition-delay: 0.2s;
}

.animate-on-scroll[data-delay="0.3"] {
    transition-delay: 0.3s;
}

.animate-on-scroll[data-delay="0.4"] {
    transition-delay: 0.4s;
}

.animate-on-scroll[data-delay="0.5"] {
    transition-delay: 0.5s;
}

.animate-on-scroll[data-delay="0.6"] {
    transition-delay: 0.6s;
}

.animate-on-scroll[data-delay="0.7"] {
    transition-delay: 0.7s;
}

.highlight {
    position: relative;
    color: var(--accent-color);
    font-weight: 700;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 30%;
    background-color: rgba(249, 168, 37, 0.2);
    z-index: -1;
    transform: skewX(-5deg);
    animation: highlightPulse 3s infinite alternate;
}

@keyframes highlightPulse {
    0% {
        opacity: 0.2;
        transform: skewX(-5deg) scaleX(0.95);
    }
    100% {
        opacity: 0.4;
        transform: skewX(-5deg) scaleX(1.05);
    }
}

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

.reveal-text {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeIn 0.8s var(--transition-function) forwards;
}

.hero-content h2.reveal-text {
    animation-delay: 0.3s;
}

.hero-content p.reveal-text {
    animation-delay: 0.6s;
}

.hero-content .btn {
    opacity: 0;
    animation: fadeIn 0.8s var(--transition-function) forwards;
    animation-delay: 0.9s;
}

/* Responsive Design */
@media screen and (max-width: 992px) {
    .hero-content h1,
    .hero-content h2 {
        font-size: 2.8rem;
    }
    
    .section-title {
        font-size: 2.25rem;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .about-image {
        margin-top: 30px;
        margin-left: 0;
        width: 100%;
    }
    
    .about-features {
        grid-template-columns: 1fr;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .process-timeline {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
    
    .trust-items {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 768px) {
    header {
        padding: 15px 0;
    }
    
    .menu-toggle {
        display: block;
        z-index: 1001;
    }
    
    nav {
        position: fixed;
        top: 0;
        right: 0;
        width: 70%;
        height: 100vh;
        background-color: white;
        padding: 80px 0 20px;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        transform: translateX(100%);
        transition: transform 0.3s ease-in-out;
        z-index: 1000;
    }
    
    nav.active {
        transform: translateX(0);
    }
    
    nav ul {
        flex-direction: column;
        align-items: center;
    }
    
    nav ul li {
        margin: 15px 0;
    }
    
    nav ul li a {
        font-size: 1.2rem;
    }
    
    .hero-content h2 {
        font-size: 2.2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
        gap: 20px;
        padding-bottom: 20px;
    }
    
    .service-card {
        padding: 25px 15px;
    }
    
    .service-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
        margin-bottom: 12px;
    }
    
    .about-text {
        padding-right: 0;
    }
}

@media screen and (max-width: 576px) {
    .whatsapp-btn {
        width: 50px;
        height: 50px;
        font-size: 25px;
        bottom: 20px;
        right: 20px;
    }
    
    .whatsapp-notification {
        width: 180px;
        top: -70px;
        right: -10px;
        padding: 8px 12px;
    }
    
    .whatsapp-notification p {
        font-size: 12px;
    }
    
    .hero-content h1,
    .hero-content h2 {
        font-size: 1.8rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .hero-badge {
        font-size: 0.8rem;
        padding: 10px 18px;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
    }
    
    .scroll-indicator {
        display: none;
    }
    
    .btn {
        padding: 10px 25px;
        font-size: 0.9rem;
    }
    
    .btn-primary {
        padding: 14px 32px;
    }
    
    .btn-secondary {
        padding: 14px 32px;
    }
    
    .trust-items {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .trust-item {
        flex-direction: column;
        text-align: center;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
        margin-bottom: 2.5rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .contact-form,
    .contact-card {
        padding: 25px;
    }
    
    .info-item p {
        font-size: 0.9rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .footer-logo-img {
        margin: 0 auto 10px;
    }
    
    .footer-col h4 {
        margin-top: 20px;
    }
    
    nav {
        width: 85%;
    }
    
    .logo-img {
        height: 40px;
    }
    
    .hero {
        height: 90vh;
        background-attachment: scroll;
    }
    
    .service-card {
        padding: 30px 20px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .stat-number {
        font-size: 2.25rem;
    }
    
    .stat-icon {
        width: 60px;
        height: 60px;
        font-size: 1.75rem;
    }
    
    .process-timeline {
        grid-template-columns: 1fr;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
    }
    
    .image-badge {
        bottom: 15px;
        left: 15px;
        padding: 15px;
    }
    
    .image-badge strong {
        font-size: 1.5rem;
    }
}

@media screen and (max-width: 380px) {
    .hero-content h2 {
        font-size: 1.5rem;
    }
    
    .hero-content p {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .btn {
        padding: 8px 20px;
        font-size: 0.8rem;
    }
}
