/* ---- VARIABLES & RESET ---- */
:root {
    --primary-color: #0A74DA;
    --dark-color: #222;
    --light-color: #f9f9f9;
    --text-color: #333;
    --white-color: #fff;
    --font-family: 'Poppins', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ---- GENERAL STYLES ---- */
body {
    font-family: var(--font-family);
    line-height: 1.7;
    color: var(--text-color);
    background-color: var(--white-color);
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3 {
    font-weight: 600;
    line-height: 1.2;
    color: var(--dark-color);
}

h1 { font-size: 2.8rem; margin-bottom: 1rem; }
h2 { font-size: 2.2rem; margin-bottom: 2rem; text-align: center; }
h3 { font-size: 1.4rem; margin-bottom: 0.5rem; }

section {
    padding: 60px 0;
}

.cta-button {
    display: inline-block;
    padding: 12px 28px;
    background-color: var(--primary-color);
    color: var(--white-color);
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: #085dab;
}

/* ---- HEADER & NAV ---- */
.main-header {
    background: var(--white-color);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-color);
    text-decoration: none;
}

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

.main-nav ul li a {
    color: var(--text-color);
    text-decoration: none;
    padding: 10px 15px;
    font-weight: 600;
    transition: color 0.3s ease;
}

.main-nav ul li a:hover {
    color: var(--primary-color);
}

/* ---- HERO SECTION ---- */
.hero-section {
    background-color: var(--light-color);
    text-align: center;
    padding: 80px 0;
}

.hero-section .subtitle {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 2rem auto;
    color: #555;
}

/* ---- SERVICES SECTION ---- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--white-color);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

/* ---- ABOUT SECTION ---- */
.about-section {
    background: var(--light-color);
    text-align: center;
}

.about-section p {
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.1rem;
}

/* ---- CONTACT SECTION ---- */
.contact-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-top: 2rem;
}

.contact-form {
    flex: 2;
    display: flex;
    flex-direction: column;
}

.contact-info {
    flex: 1;
    min-width: 280px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-family: var(--font-family);
    font-size: 1rem;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.contact-info p { margin-bottom: 1rem; }
.contact-info a { color: var(--primary-color); text-decoration: none; }
.contact-info a:hover { text-decoration: underline; }

/* Seguridad: Campo Honeypot oculto */
.honeypot {
    display: none;
}

/* ---- FOOTER ---- */
.main-footer {
    background: var(--dark-color);
    color: var(--light-color);
    text-align: center;
    padding: 30px 0;
}

.main-footer a {
    color: var(--white-color);
}

/* ---- RESPONSIVE DESIGN ---- */
@media (max-width: 768px) {
    h1 { font-size: 2.2rem; }
    h2 { font-size: 1.8rem; }

    .main-header .container {
        flex-direction: column;
        gap: 10px;
    }
}