/* --- RESET Y VARIABLES --- */
:root {
    --primary: #2e7d32;         /* Verde saludable principal */
    --primary-hover: #1b5e20;   /* Verde oscuro para hovers */
    --accent: #81c784;          /* Verde claro de acento */
    --text-dark: #2c3e50;       /* Texto oscuro */
    --text-light: #666666;      /* Texto secundario */
    --bg-light: #f4f9f5;        /* Fondo suave pastel */
    --white: #ffffff;
    --shadow: 0 4px 15px rgba(0,0,0,0.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--white);
}

/* --- NAVEGACIÓN --- */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 8%;
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.logo span {
    color: var(--text-dark);
}

.nav-links {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary);
}

.btn-nav {
    background-color: var(--primary);
    color: var(--white) !important;
    padding: 0.5rem 1.2rem;
    border-radius: 20px;
    transition: background-color 0.3s !important;
}

.btn-nav:hover {
    background-color: var(--primary-hover) !important;
}

/* --- HERO --- */
.hero {
    background: linear-gradient(135deg, rgba(232, 245, 233, 0.8) 0%, rgba(255, 255, 255, 1) 100%);
    padding: 6rem 8%;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 2.8rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero h1 span {
    color: var(--primary);
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

/* --- BOTONES --- */
.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
    box-shadow: 0 4px 10px rgba(46, 125, 50, 0.3);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background-color: var(--primary);
    color: var(--white);
}

.btn-large {
    font-size: 1.1rem;
    padding: 1rem 2.5rem;
}

/* --- SECCIONES GENERALES --- */
.section {
    padding: 5rem 8%;
}

.bg-light {
    background-color: var(--bg-light);
}

.container {
    max-width: 1100px;
    margin: 0 auto;
}

.container-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.section-title {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 3rem;
    color: var(--text-dark);
}

/* --- SOBRE MÍ & IMAGEN --- */
.about-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-wrapper {
    width: 100%;
    max-width: 380px;
    height: 420px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.about-text h2 {
    font-size: 2rem;
    margin-bottom: 0.3rem;
}

.subtitle {
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.subtitle-secondary {
    color: var(--text-light);
    font-size: 0.95rem;
    font-weight: 500;
    margin-bottom: 1.2rem;
}

.check-list {
    list-style: none;
    margin-top: 1.5rem;
}

.check-list li {
    margin-bottom: 0.5rem;
    font-weight: 500;
}

/* --- SERVICIOS / CARDS --- */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.card {
    background-color: var(--white);
    padding: 2.5rem 1.5rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
}

.card .icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.card h3 {
    margin-bottom: 0.8rem;
    color: var(--primary);
}

.card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* --- CONTACTO --- */
.text-center {
    text-align: center;
}

.phone-link {
    display: inline-block;
    margin: 0.5rem 0 1.5rem 0;
    font-size: 1.2rem;
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

.phone-link:hover {
    text-decoration: underline;
}

.contact-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.social-link {
    color: var(--primary);
    text-decoration: none;
    font-size: 1.1rem;
}

.social-link:hover {
    text-decoration: underline;
}

/* --- FOOTER --- */
footer {
    text-align: center;
    padding: 2rem;
    background-color: var(--text-dark);
    color: var(--white);
    font-size: 0.9rem;
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
    .container-grid {
        grid-template-columns: 1fr;
    }
    
    .nav-links {
        display: none; 
    }
    
    .hero h1 {
        font-size: 2rem;
    }
}

