:root {
    --primary: #3b82f6;
    --primary-dark: #2563eb;
    --secondary: #1e293b;
    --accent: #f59e0b;
    --bg-light: #f1f5f9;
    --white: #ffffff;
    --text-body: #475569;
    --radius: 20px;
    --shadow: 0 10px 30px -10px rgba(0,0,0,0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', sans-serif;
    line-height: 1.6;
    color: var(--secondary);
    background-color: var(--white);
    scroll-behavior: smooth;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.text-center {
    text-align: center;
}

.highlight {
    color: var(--primary);
    font-weight: 700;
}

header {
    background: rgba(255,255,255,0.98);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.03);
    border-bottom: 1px solid #e2e8f0;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--secondary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo i {
    color: var(--primary);
}

.logo a {
    display: flex;
    align-items: center;
}

.header-logo-img {
    max-height: 45px;
    width: auto;
    display: block;
}

/* MENÚ DE ESCRITORIO */
.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-body);
    transition: color 0.3s;
}

.nav-links a.active,
.nav-links a:hover {
    color: var(--primary);
}

/* BOTÓN HAMBURGUESA (Oculto por defecto) */
.menu-toggle {
    display: none;
    font-size: 1.5rem;
    color: var(--secondary);
    cursor: pointer;
}

.btn-main {
    background: var(--primary);
    color: white;
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: transform 0.2s, background 0.2s;
    box-shadow: 0 4px 12px rgba(59,130,246,0.25);
}

.btn-main:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-white {
    background: white;
    color: var(--secondary);
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    margin-top: 10px;
    transition: all 0.3s;
}

.btn-white:hover {
    background: var(--accent);
    color: white;
    transform: translateY(-2px);
}

.hero {
    padding: 160px 0 100px;
    background: radial-gradient(circle at top center, #eff6ff 0%, #ffffff 70%);
}

.location-tag {
    background: #dbeafe;
    color: var(--primary-dark);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 20px;
}

.hero h1 {
    font-size: 3.2rem;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-body);
    max-width: 600px;
    margin: 0 auto 35px;
}

.pricing {
    padding: 80px 0;
}

.section-title h2 {
    font-size: 2.2rem;
    margin-bottom: 15px;
}

.section-title p {
    color: var(--text-body);
    max-width: 600px;
    margin: 0 auto 50px;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    align-items: stretch;
}

.card {
    background: white;
    padding: 35px 25px;
    border-radius: var(--radius);
    border: 1px solid #e2e8f0;
    position: relative;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow);
    transform: translateY(-5px);
}

.card.featured {
    border: 2px solid var(--primary);
    box-shadow: 0 20px 40px -10px rgba(59,130,246,0.15);
    transform: scale(1.02);
    z-index: 2;
}

.card.featured:hover {
    transform: scale(1.02) translateY(-5px);
}

.badge-popular {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 5px 15px;
    border-radius: 20px;
    text-transform: uppercase;
}

.price-area {
    margin-bottom: 25px;
}

.price-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary);
    line-height: 1;
}

.price-value sup {
    font-size: 1.2rem;
    color: var(--text-body);
}

.price-desc {
    font-size: 0.85rem;
    color: var(--text-body);
}

.feature-list {
    margin-bottom: 20px;
    flex-grow: 1;
}

.feature-list li {
    margin-bottom: 12px;
    color: var(--text-body);
    font-size: 0.9rem;
    display: flex;
    align-items: start;
    gap: 10px;
}

.feature-list li i {
    color: var(--primary);
    margin-top: 4px;
}

.btn-card {
    display: block;
    width: 100%;
    padding: 12px;
    border-radius: 12px;
    text-align: center;
    font-weight: 600;
    margin-top: auto;
    border: 2px solid #eff6ff;
    background: #eff6ff;
    color: var(--primary);
    transition: 0.2s;
    font-size: 0.95rem;
}

.card.featured .btn-card {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.btn-card:hover {
    background: var(--primary-dark);
    color: white;
    border-color: var(--primary-dark);
}

.custom-quote {
    margin-top: 50px;
    background: var(--secondary);
    color: white;
    border-radius: var(--radius);
    padding: 40px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    background-image: linear-gradient(135deg, var(--secondary) 0%, #334155 100%);
}

.custom-quote h3 {
    font-size: 1.5rem;
    font-weight: 600;
}

.custom-quote p {
    color: #cbd5e1;
    max-width: 700px;
    font-size: 1.05rem;
}

.services-section {
    background: var(--bg-light);
    padding: 90px 0;
    margin-top: 80px;
    border-radius: 40px 40px 0 0;
}

.grid-split {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 50px;
}

.service-column h3 {
    margin-bottom: 25px;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.4rem;
}

.service-item {
    background: white;
    padding: 25px;
    border-radius: 16px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
    margin-bottom: 20px;
    transition: transform 0.2s;
}

.service-item:hover {
    transform: translateX(5px);
}

.service-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    border-bottom: 1px dashed #e2e8f0;
    padding-bottom: 10px;
}

.service-title {
    font-weight: 700;
    font-size: 1.05rem;
}

.service-price {
    color: var(--primary);
    font-weight: 700;
    font-size: 0.95rem;
}

.service-desc {
    font-size: 0.9rem;
    color: var(--text-body);
}

.contact-page {
    padding: 140px 0 80px;
    background: var(--bg-light);
    min-height: 100vh;
}

.contact-wrapper {
    background: white;
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    max-width: 800px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 20px;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--secondary);
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(59,130,246,0.1);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

.btn-submit {
    width: 100%;
    background: var(--primary);
    color: white;
    border: none;
    padding: 15px;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-submit:hover {
    background: var(--primary-dark);
}

footer {
    background: var(--secondary);
    color: #94a3b8;
    padding: 60px 0 30px;
    text-align: center;
}

.footer-logo {
    font-size: 1.5rem;
    color: white;
    font-weight: 700;
    margin-bottom: 10px;
}

.footer-logo img {
    max-height: 35px;
    width: auto;
    vertical-align: middle;
    margin-bottom: 15px;
}

.contact-info {
    margin-top: 20px;
    font-size: 1.1rem;
    color: white;
}

/* ESTILOS AGRICULTURA */
.agro-hero {
    background: radial-gradient(circle at top center, #ecfccb 0%, #ffffff 70%);
}

.agro-hero .location-tag {
    background: #d9f99d;
    color: #365314;
    border: 1px solid #bef264;
}

.agro-hero h1 {
    color: #14532d;
}

.agro-hero p {
    color: #166534;
}

.agro-hero .btn-main {
    background: #166534;
    box-shadow: 0 4px 12px rgba(22, 101, 52, 0.25);
}

.agro-hero .btn-main:hover {
    background: #14532d;
}

.agro-hero .btn-white {
    color: #166534;
}

.agro-hero .btn-white:hover {
    background: #84cc16;
}

/* DISEÑO RESPONSIVO MÓVILES */
@media (max-width: 768px) {
    .menu-toggle {
        display: block; /* Muestra el botón hamburguesa */
    }

    /* Oculta los botones principales del header en móvil */
    header .btn-main {
        display: none;
    }

    /* Convierte los enlaces en un menú desplegable */
    .nav-links {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 70px;
        left: -100%; /* Oculto fuera de la pantalla */
        width: 100%;
        background: rgba(255, 255, 255, 0.98);
        text-align: center;
        padding: 20px 0;
        box-shadow: 0 10px 10px rgba(0,0,0,0.05);
        transition: 0.3s ease-in-out;
        gap: 20px;
    }

    /* Clase que JavaScript añadirá para mostrar el menú */
    .nav-links.active {
        left: 0;
    }

    .nav-links a {
        font-size: 1.1rem;
        padding: 10px;
        display: block;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .contact-wrapper {
        padding: 25px;
    }
}