/* Reset and base styles */
/* Variables globales */
:root {
    --primary-color: #329b39;
    --primary-dark: #267d2c;
    --secondary-color: #22aa22;
    --text-color: #333;
    --light-bg: #f8f9fa;
    --dark-bg: #343a40;
    --white: #ffffff;
    --box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    --transition: all 0.3s ease;
    --border-radius: 8px;
    --card-radius: 12px;
    --section-padding: 80px 0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Global styles */
body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: #333;
    margin: 0;
    padding: 0;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}



h1, h2, h3, h4, h5, h6 {
    margin-top: 0;
}

img {
    max-width: 100%;
    height: auto;
}

/* Button styles */
.btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
}

/* Utility classes */
.text-center {
    text-align: center;
}

/* Margin utilities */
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 2.5rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 2.5rem; }

/* Secciones modernas con padding consistente */
.section {
    padding: var(--section-padding);
    position: relative;
    overflow: hidden;
}

.section-light {
    background-color: var(--light-bg);
}

.section-white {
    background-color: var(--white);
}

.section-dark {
    background-color: var(--dark-bg);
    color: var(--white);
}

.section-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

/* Títulos de sección modernos */
.section-title {
    margin-bottom: 50px;
    position: relative;
    text-align: center;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title h2:after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -10px;
    width: 60px;
    height: 3px;
    background: var(--primary-color);
    transform: translateX(-50%);
}

.section-title p {
    font-size: 1.1rem;
    color: #666;
    max-width: 800px;
    margin: 0 auto;
}


.site-logo {
    flex: 0 0 auto;
    margin-right: 20px;
    display: flex;
    align-items: center; /* Centra verticalmente el logo */
    height: 100%; /* Asegura que el contenedor tome toda la altura disponible */
}

.logo img {
    height: 50px;
}

/* Ajustes para el logo */
.site-logo img {
    width: 257px;
    height: 84px;
    max-width: 100%;
}


/* Botones modernos - Actualizado para unificar estilos */
.btn {
    padding: 14px 36px;
    font-weight: 700;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 50px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
    z-index: 1;
    border: 2px solid var(--primary-color);
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.7s ease;
    z-index: -1;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.btn:hover::before {
    left: 100%;
}

.btn:active {
    transform: translateY(-1px);
    box-shadow: 0 5px 10px rgba(0,0,0,0.2);
}

.primary-btn {
    background-color: var(--primary-color);
    color: #ffffff;
}

.primary-btn:hover {
    background-color: transparent;
    color: var(--primary-color);
}

.secondary-btn {
    background-color: transparent;
    color: var(--primary-color);
}

.secondary-btn:hover {
    background-color: var(--primary-color);
    color: #ffffff;
}

/* Estilos para página de error 404 */
.error-404 {
    padding: 100px 0;
    text-align: center;
}

.error-content h1 {
    font-size: 8rem;
    color: var(--primary-color);
    margin-bottom: 0;
}

.error-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.error-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}
.highlight {
    background-color: rgba(50, 155, 57, 0.1);
    padding: 15px;
    border-radius: var(--border-radius);
    margin: 20px 0;
    border-left: 3px solid #329b3938;
}

.feature-img {
    width: 100%;
    height: auto;
    transition: var(--transition);
    display: block;
}

/* Page section general */
.page-section {
    padding: 80px 0;
}

.page-section h1 {
    font-size: 2.5rem;
    margin-bottom: 40px;
    text-align: center;
}

/* Estilos para espaciador de contenido */
.feet-content {
    clear: both;
}

.space {
    width: 100%;
    display: block;
}