/* Paleta de Colores Organica e Interfaz Calma */
:root {
    --bg-warm: #fcfbf7;      /* Blanco roto / Hueso */
    --earth: #dfd8cb;        /* Arena suave */
    --sage: #708238;         /* Verde oliva sutil para acentos */
    --sage-light: #f0f2eb;   /* Fondo verde muy pálido */
    --text-dark: #2c2a29;    /* Gris carbón orgánico para textos */
    --text-muted: #6b6661;   /* Gris intermedio para parrafos */
    --white: #ffffff;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-warm);
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
}

/* Header & Nav */
header {
    background-color: rgba(252, 251, 247, 0.95);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    backdrop-filter: blur(5px);
    border-bottom: 1px solid rgba(223, 216, 203, 0.4);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px 0;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    font-weight: 600;
    color: var(--text-dark);
}

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

.nav-links li {
    margin-left: 35px;
    display: flex;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 15px;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--sage);
}

.menu-toggle {
    display: none;
    font-size: 22px;
    cursor: pointer;
}

/* Hero Section */
.hero {
    padding: 160px 0 100px 0;
    min-height: 90vh;
    display: flex;
    align-items: center;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-text h1 {
    font-family: 'Playfair Display', serif;
    font-size: 44px;
    font-weight: 400;
    line-height: 1.25;
    margin-bottom: 25px;
}

.hero-text p {
    font-size: 17px;
    color: var(--text-muted);
    margin-bottom: 35px;
    max-width: 520px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

.btn-primary {
    display: inline-block;
    padding: 14px 30px;
    background-color: var(--sage);
    color: var(--white);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 500;
    transition: background-color 0.3s;
}

.btn-primary:hover {
    background-color: #566529;
}

.btn-secondary {
    display: inline-block;
    padding: 14px 30px;
    border: 1px solid var(--text-dark);
    color: var(--text-dark);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 500;
    transition: all 0.3s;
}

.btn-secondary:hover {
    background-color: var(--text-dark);
    color: var(--bg-warm);
}

.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
}

.hero-image img {
    width: 85%;
    border-radius: 200px 200px 30px 30px; /* Diseño arqueado moderno */
    z-index: 2;
    object-fit: cover;
}

.blob-bg {
    position: absolute;
    bottom: -20px;
    width: 90%;
    height: 80%;
    background-color: var(--earth);
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    z-index: 1;
    filter: blur(10px);
    opacity: 0.5;
}

/* Sobre Mí */
.sobre-mi {
    padding: 100px 0;
}

.sobre-mi-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
}

.subtitle {
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 2px;
    color: var(--sage);
    font-weight: 600;
    display: block;
    margin-bottom: 10px;
}

.sobre-mi-text h2 {
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    margin-bottom: 25px;
}

.sobre-mi-text p {
    color: var(--text-muted);
    margin-bottom: 20px;
}

.matricula {
    display: inline-block;
    font-size: 13px;
    background-color: var(--earth);
    padding: 4px 15px;
    border-radius: 4px;
    font-weight: 500;
}

.sobre-mi-decor {
    background-color: var(--sage-light);
    padding: 60px 40px;
    border-radius: 30px;
    position: relative;
}

.quote-box p {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    font-style: italic;
    color: var(--sage);
    text-align: center;
    line-height: 1.4;
}

/* Enfoque */
.enfoque-section {
    background-color: var(--white);
    padding: 100px 0;
}

.section-title {
    font-family: 'Playfair Display', serif;
    text-align: center;
    font-size: 36px;
    margin-bottom: 60px;
}

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

.enfoque-card {
    text-align: center;
    padding: 20px;
}

.icon-wrap {
    width: 60px;
    height: 60px;
    background-color: var(--sage-light);
    color: var(--sage);
    font-size: 24px;
    line-height: 60px;
    border-radius: 50%;
    margin: 0 auto 25px;
}

.enfoque-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
}

.enfoque-card p {
    color: var(--text-muted);
    font-size: 15px;
}

/* Modalidades */
.modalidad {
    padding: 100px 0;
}

.grid-modalidad {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.mod-card {
    background-color: var(--white);
    border: 1px solid var(--earth);
    padding: 45px;
    border-radius: 20px;
    transition: transform 0.3s;
}

.mod-card:hover {
    transform: translateY(-5px);
}

.mod-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    margin-bottom: 5px;
}

.mod-subtitle {
    display: block;
    font-size: 13px;
    color: var(--sage);
    font-weight: 500;
    margin-bottom: 20px;
}

.mod-card p {
    color: var(--text-muted);
    margin-bottom: 30px;
    font-size: 15px;
}

.btn-mod {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 14px;
    border-bottom: 2px solid var(--sage);
    padding-bottom: 3px;
    transition: color 0.3s;
}

.btn-mod:hover {
    color: var(--sage);
}

/* Footer & Redes */
footer {
    background-color: var(--text-dark);
    color: #a39f9a;
    padding: 40px 0;
    font-size: 14px;
}

.footer-content {
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
    flex-wrap: wrap;
    gap: 15px;
}

.footer-socials {
    display: flex !important;
    gap: 20px !important;
}

.footer-socials a {
    color: #a39f9a !important;
    font-size: 18px !important;
    text-decoration: none !important;
    transition: color 0.3s, transform 0.3s;
}

.footer-socials a:hover {
    color: var(--earth) !important;
    transform: translateY(-2px);
}

/* WhatsApp */
.btn-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: white;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    text-align: center;
    font-size: 28px;
    line-height: 55px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    z-index: 1000;
    transition: transform 0.3s;
}

.btn-whatsapp:hover {
    transform: scale(1.1);
}

/* Responsive */
@media (max-width: 992px) {
    .hero-grid, .sobre-mi-grid, .grid-modalidad {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .hero-text {
        text-align: center;
    }
    .hero-text p {
        margin: 0 auto 35px;
    }
    .hero-buttons {
        justify-content: center;
    }
    .hero-image img {
        width: 70%;
    }
    .sobre-mi-decor {
        padding: 40px 20px;
    }
}

@media (max-width: 768px) {
    .hero-text h1 {
        font-size: 32px;
    }
    .menu-toggle {
        display: block;
    }
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--bg-warm);
        padding: 20px 0;
        box-shadow: 0 4px 6px rgba(0,0,0,0.02);
    }
    .nav-links.active {
        display: flex;
    }
    .nav-links li {
        margin: 12px 0;
        text-align: center;
        justify-content: center;
    }
    .footer-content {
        flex-direction: column !important;
        text-align: center;
    }
}

#buy-now {
    position: fixed;
    bottom: 30px;      /* Distancia desde el borde inferior de la pantalla */
    left: 50%;         /* Lo posiciona al centro horizontalmente */
    transform: translateX(-50%); /* Centrado perfecto según su propio ancho */
    z-index: 10000;
}

#buy-now a {
    color: #ffffff;
    background: #007bff; /* Azul llamativo (puedes usar #1e70e6 o el que prefieras) */
    display: inline-block;
    font-size: 18px;     /* Texto más grande */
    font-weight: bold;
    padding: 15px 30px;  /* Más relleno para hacerlo más robusto */
    text-align: center;
    white-space: nowrap; /* Evita que el texto se parta en dos líneas */
    line-height: 1em;
    text-decoration: none;
    animation: shadow-pulse-blue 1.5s infinite; /* Animación suavizada con azul */
    border-radius: 50px; /* Bordes bien redondeados modernos */
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.4); /* Sombra suave azul base */
    transition: background 0.3s ease, transform 0.2s ease;
}

/* Efecto al pasar el mouse por encima (Hover) */
#buy-now a:hover {
    background: #0056b3; /* Azul un poco más oscuro al hacer hover */
    transform: scale(1.05); /* Se agranda un toque al pasar el mouse */
}

#buy-now a img {
    width: 64px;
    margin-left: 3px;
}