/**
 * Main Stylesheet - Fundación Obligado
 * Design System: DIVI / Elegant Themes Style
 */

/* 1. Variables and Design Tokens */
:root {
    /* Colors */
    --primary-color: #2A5C43;
    /* Verde Inglés */
    --primary-dark: #1E4632;
    --secondary-color: #7CB39A;
    /* Verde Sage */
    --secondary-dark: #6A9E86;
    --accent-color: #F2C94C;
    /* Amarillo Miel */
    --text-color: #333334;
    --text-light: #959595;
    --bg-light: #f8faf9;
    --bg-white: #ffffff;
    --border-color: #f1f5f3;

    /* Shadows - DIVI Style */
    --shadow-soft: 0 2px 20px 0 rgba(0, 0, 0, 0.06);
    --shadow-medium: 0 10px 30px 0 rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 15px 45px 0 rgba(0, 0, 0, 0.15);

    /* Typography */
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Open Sans', sans-serif;

    /* Spacing */
    --section-padding: 100px 0;
    --container-width: 1200px;
    --border-radius: 8px;
}

/* 2. Base Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    color: var(--text-color);
    line-height: 1.7;
    background-color: var(--bg-white);
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

h1 {
    font-size: 48px;
}

h2 {
    font-size: 36px;
}

h3 {
    font-size: 24px;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

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

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* 3. Header & Navigation */
.main-header {
    background: var(--bg-white);
    box-shadow: var(--shadow-soft);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.site-branding .custom-logo {
    max-width: 200px;
}

.nav-menu {
    display: flex;
    list-style: none;
}

.nav-menu li {
    margin: 0 15px;
}

.nav-menu li a {
    color: var(--text-color);
    font-weight: 600;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-menu li a:hover {
    color: var(--secondary-color);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

/* 4. Buttons */
.btn {
    display: inline-block;
    padding: 14px 34px;
    border-radius: 30px;
    /* DIVI standard pill shape */
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: none;
    text-align: center;
}

.btn-primary {
    background-color: var(--primary-color);
    color: #fff;
    box-shadow: 0 2px 10px rgba(26, 84, 144, 0.3);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(26, 84, 144, 0.4);
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: #fff;
}

.btn-secondary:hover {
    background-color: var(--secondary-dark);
    transform: translateY(-2px);
}

.btn-sm {
    padding: 10px 24px;
    font-size: 13px;
}

/* 5. Modules & Sections */
section {
    padding: var(--section-padding);
}

.section-title {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.section-title h2 {
    color: var(--primary-color);
    position: relative;
    padding-bottom: 20px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--secondary-color);
}

/* Card Module */
.card {
    background: var(--bg-white);
    border-radius: var(--border-radius);
    padding: 40px;
    box-shadow: var(--shadow-medium);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    height: 100%;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

/* Hero Section */
.hero-section {
    min-height: 80vh;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    position: relative;
    color: #fff;
    text-align: center;
    padding: 120px 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 84, 144, 0.85) 0%, rgba(46, 204, 113, 0.8) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
}

.hero-content h1 {
    font-size: 64px;
    margin-bottom: 30px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.hero-content p {
    font-size: 20px;
    margin-bottom: 40px;
    opacity: 0.9;
}

.hero-ctas .btn {
    margin: 0 10px;
}

/* 6. Footer */
.site-footer {
    background: #1c1c1c;
    color: #fff;
    padding: 80px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr 1fr;
    gap: 40px;
    padding-bottom: 60px;
}

.footer-column h4 {
    color: var(--secondary-color);
    font-size: 18px;
    margin-bottom: 30px;
}

.footer-menu {
    list-style: none;
}

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

.footer-menu li a {
    color: #bbb;
}

.footer-menu li a:hover {
    color: #fff;
}

.contact-info {
    list-style: none;
    color: #bbb;
}

.footer-bottom {
    background: #151515;
    padding: 30px 0;
    border-top: 1px solid #333;
    font-size: 14px;
    color: #888;
}

.footer-bottom-container {
    display: flex;
    justify-content: space-between;
}

/* 7. Grid Systems */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

/* Responsive Utilities placeholder */