/*
Theme Name: Aprendiendo Mas v239
Theme URI: https://www.serviceti.cl
Author: STI
Author URI: https://www.serviceti.cl
Description: Tema moderno para Aprendiendo Mas - Clases particulares con sentido pedagógico (v240)
Version: 2.4.0
Requires at least: 5.0
Tested up to: 6.4
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: aprendiendo-mas
Domain Path: /languages
*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    line-height: 1.6;
    background: #f4f7fb;
}

header {
    background: #02688a;
    padding: 20px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    display: inline-flex;
    align-items: center;
    padding: 0;
    gap: 14px;
    background: transparent;
    text-decoration: none;
}

.logo img {
    height: 130px;
    /* escritorio */
    display: block;
    width: auto;
    max-width: 260px;
}

.logo-text {
    color: #fff;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
    white-space: nowrap;
}

.custom-logo-link {
    text-decoration: none;
}

header nav ul {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

header nav ul li {
    margin: 0;
}

header nav a,
nav a {
    margin: 0 20px;
    text-decoration: none;
    color: #fff;
    font-weight: 500;
    transition: color 0.3s;
    display: block;
    padding: 5px 0;
}

header nav a:hover,
nav a:hover {
    color: #ffff99;
}

.hero {
    background-image: url('imagen11.png');
    background-size: cover;
    background-position: center;
    padding: 20px 50px 20px 50px;
    text-align: center;
    min-height: 500px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.form-options {
    display: flex;
    gap: 20px;
    justify-content: flex-start;
    margin-top: 30px;
    margin-bottom: 60px;
}

.form-option {
    background: white;
    padding: 18px 35px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 15px;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    font-size: 18px;
    border: none;
    text-decoration: none;
}

.form-option:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.form-icon {
    font-size: 24px;
}

.form-text {
    text-align: left;
}

.form-text p {
    color: #3b5c82;
    font-weight: bold;
    font-size: 16px;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Sección destacada tipo "Atención a domicilio" */
.home-highlight {
    background: #e9f6f8;
    padding: 60px 20px;
}

.home-highlight-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    gap: 40px;
    align-items: center;
}

.home-highlight-image {
    flex: 1;
}

.home-highlight-image img {
    width: 100%;
    border-radius: 12px;
    display: block;
}

.home-highlight-content {
    flex: 1;
}

.home-highlight-title {
    font-size: 34px;
    color: #12324a;
    margin-bottom: 18px;
}

.home-highlight-subtitle {
    font-size: 24px;
    color: #12324a;
    margin-bottom: 18px;
}

.home-highlight-text {
    font-size: 16px;
    color: #333;
    margin-bottom: 28px;
}

.home-highlight-button {
    display: inline-block;
    padding: 12px 32px;
    border-radius: 999px;
    border: 2px solid #12324a;
    color: #12324a;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: .5px;
    transition: background .2s, color .2s;
}

.home-highlight-button:hover {
    background: #12324a;
    color: #fff;
}

footer {
    background: #02688a;
    color: #fff;
    padding: 48px 0 32px 0;
    margin-top: 60px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-around;
    gap: 48px;
    padding: 0 20px;
}

.footer-section {
    flex: 1;
    min-width: 200px;
    text-align: center;
}

.footer-section a {
    color: #5fc3e4;
    text-decoration: none;
}

.footer-section a:hover {
    text-decoration: underline;
}

.footer-bottom {
    text-align: center;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
}

.section {
    max-width: 900px;
    margin: 40px auto;
    padding: 0 20px;
}

.section h2 {
    color: #3b5c82;
    font-size: 26px;
    margin-bottom: 18px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.site-main {
    min-height: 400px;
}

article {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
    margin-bottom: 30px;
}

article h1 {
    color: #3b5c82;
    margin-bottom: 20px;
    font-size: 32px;
}

.entry-content {
    font-size: 16px;
    line-height: 1.8;
}

.entry-content p {
    margin-bottom: 15px;
}

.entry-content ul,
.entry-content ol {
    margin-left: 20px;
    margin-bottom: 15px;
}

@media (max-width: 1024px) {
    header {
        padding: 16px 24px;
    }

    .logo img {
        height: 110px;
    }

    .logo-text {
        font-size: 20px;
    }
}

@media (max-width: 768px) {
    header {
        padding: 14px 20px;
        flex-direction: column;
    }

    .logo img {
        height: 90px;
    }

    .logo-text {
        font-size: 18px;
    }

    header nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }

    nav a {
        margin: 4px 8px;
        font-size: 14px;
    }

    .form-options {
        flex-direction: column;
        gap: 15px;
    }

    .footer-content {
        flex-direction: column;
    }

    .home-highlight-inner {
        flex-direction: column;
    }

    .home-highlight-title {
        font-size: 28px;
    }

    .home-highlight-subtitle {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    header {
        padding: 10px 14px;
        flex-direction: column;
        align-items: center;
    }

    .logo img {
        height: 70px;
    }

    .logo-text {
        font-size: 16px;
    }

    header nav ul {
        flex-direction: column;
        align-items: center;
    }

    header nav a,
    nav a {
        margin: 3px 0;
        font-size: 14px;
    }

    /* Mostrar la imagen de fondo completa en el hero en pantallas muy pequeñas */
    .hero {
        background-size: contain;
        background-repeat: no-repeat;
        background-position: top center;
        padding-bottom: 40px;
    }
}