/* ==========================================================================
   Kondo Admin - Clean CSS Framework Architecture
   Palette: Forest Green (#1f5332), Slate Dark (#1a2521), Neutral Light (#f4f7f5)
   ========================================================================== */

/* 1. Variables y Sistema de Diseño */
:root {
    --primary: #1f5332;
    --primary-hover: #163c24;
    --primary-light: #e8f0eb;
    
    --text-main: #1d2925;
    --text-muted: #52635c;
    --text-light: #ffffff;
    
    --bg-body: #ffffff;
    --bg-surface: #f8faf8;
    --bg-accent: #f0f4f1;
    
    --border-color: #e1e8e3;
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    
    --shadow-sm: 0 2px 4px rgba(31, 83, 50, 0.04);
    --shadow-md: 0 8px 24px rgba(31, 83, 50, 0.08);
    --shadow-lg: 0 16px 32px rgba(31, 83, 50, 0.12);
    
    --font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --transition: all 0.25s ease-in-out;
}

/* 2. Reset y Estilos Generales */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    color: var(--text-main);
    background-color: var(--bg-body);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* 3. Clases Útiles de Layout */
.container {
    width: 100%;
    max-width: 1140px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.section {
    padding: 5rem 0;
}

.bg-light {
    background-color: var(--bg-surface);
}

.grid {
    display: grid;
    gap: 2rem;
}

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

/* 4. Tipografía y Encabezados */
h1, h2, h3 {
    color: var(--text-main);
    line-height: 1.25;
    font-weight: 700;
}

h1 { font-size: 2.75rem; letter-spacing: -0.02em; }
h2 { font-size: 2.25rem; letter-spacing: -0.01em; }
h3 { font-size: 1.25rem; }

p {
    color: var(--text-muted);
    font-size: 1.05rem;
}

.section-header {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 3.5rem auto;
}

.section-header h2 {
    color: var(--primary);
    margin-bottom: 0.75rem;
}

.badge {
    display: inline-block;
    background-color: var(--primary-light);
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.35rem 0.85rem;
    border-radius: 50px;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* 5. Botones */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    border-radius: var(--radius-sm);
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-sm { padding: 0.5rem 1.25rem; font-size: 0.9rem; }
.btn-lg { padding: 0.85rem 1.85rem; font-size: 1rem; }
.btn-block { width: 100%; }

.btn-primary {
    background-color: var(--primary);
    color: var(--text-light);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
}

.btn-outline {
    border-color: var(--primary);
    color: var(--primary);
    background-color: transparent;
}

.btn-outline:hover {
    background-color: var(--primary-light);
}

/* 6. Header & Navegación */
.navbar {
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    padding: 1rem 0;
}

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

.brand-logo {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    text-decoration: none;
}

.logo-mark {
    height: 42px;
    width: auto;
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
}

.brand-tagline {
    font-size: 0.72rem;
    color: var(--primary);
    letter-spacing: 0.3px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a:not(.btn) {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 500;
    transition: var(--transition);
}

.nav-links a:not(.btn):hover {
    color: var(--primary);
}

/* 7. Hero Section */
.hero-section {
    padding: 6rem 0 5rem 0;
    background: linear-gradient(180deg, var(--bg-surface) 0%, var(--bg-body) 100%);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
}

.hero-text p {
    margin: 1.25rem 0 2rem 0;
}

.hero-actions {
    display: flex;
    gap: 1rem;
}

.hero-card {
    background-color: var(--bg-body);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

.stat-box {
    border-left: 4px solid var(--primary);
    padding-left: 1.25rem;
}

.stat-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* 8. Tarjetas */
.card {
    background: var(--bg-body);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 2.25rem;
    transition: var(--transition);
}

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

.card-icon {
    font-size: 2.25rem;
    margin-bottom: 1.25rem;
}

.service-card h3 {
    color: var(--primary);
    margin-bottom: 0.75rem;
}

/* 9. Sección Nosotros */
.about-grid {
    max-width: 800px;
    margin: 0 auto;
}

.check-list {
    list-style: none;
    margin-top: 1.5rem;
}

.check-list li {
    position: relative;
    padding-left: 1.85rem;
    margin-bottom: 0.85rem;
    color: var(--text-main);
    font-weight: 500;
}

.check-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

/* 10. Sección de Contacto y Formulario */
.contact-card {
    background: var(--bg-body);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    overflow: hidden;
}

.contact-info {
    background-color: var(--primary);
    color: var(--text-light);
    padding: 3.5rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-info h2 { color: var(--text-light); }
.contact-info p { color: rgba(255, 255, 255, 0.85); }

.info-group {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.info-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: rgba(255, 255, 255, 0.65);
}

.info-value {
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--text-light);
    text-decoration: none;
}

.contact-form-container {
    padding: 3.5rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-main);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-family: var(--font-family);
    font-size: 0.95rem;
    transition: var(--transition);
    background-color: var(--bg-surface);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background-color: var(--bg-body);
    box-shadow: 0 0 0 3px var(--primary-light);
}

/* 11. Footer */
.footer {
    background-color: var(--bg-surface);
    border-top: 1px solid var(--border-color);
    padding: 2rem 0;
    text-align: center;
    font-size: 0.9rem;
}

/* 12. Adaptabilidad Responsive */
@media (max-width: 900px) {
    .hero-grid,
    .contact-card {
        grid-template-columns: 1fr;
    }
    
    .hero-text h1 {
        font-size: 2.15rem;
    }

    .contact-info,
    .contact-form-container {
        padding: 2.25rem;
    }
}

@media (max-width: 600px) {
    .nav-links {
        display: none;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .section {
        padding: 3.5rem 0;
    }
}