/* ==========================================
   PASIÓN WALDORF - STYLESHEET
   Colores originales de la marca
   ========================================== */

/* CSS Variables - Colores Pasión Waldorf */
:root {
    /* Colores principales de la marca */
    --primary: #8B7355;
    --primary-dark: #6B5344;
    --primary-light: #A89070;
    --secondary: #D4A574;
    --accent: #C9A86C;
    
    /* Colores del mandala pastel */
    --mandala-pink: #E8A5B4;
    --mandala-orange: #F4C494;
    --mandala-yellow: #F5E6A3;
    --mandala-green: #B8D4B8;
    --mandala-blue: #A5C4D4;
    --mandala-purple: #C4B5D4;
    
    /* Colores de texto */
    --text-dark: #191919;
    --text-light: #5A5A5A;
    --text-muted: #8A8A8A;
    
    /* Colores de fondo */
    --bg-white: #FFFFFF;
    --bg-cream: #F5F1E4;
    --bg-cream-light: #FDFCF7;
    --bg-beige: #E8E0D0;
    
    /* Bordes y sombras - Personalidad única */
    --border: #E8E0D0;
    --border-soft: rgba(139, 115, 85, 0.15);
    --shadow-sm: 0 2px 8px rgba(107, 83, 68, 0.06);
    --shadow: 0 8px 30px rgba(107, 83, 68, 0.08);
    --shadow-lg: 0 12px 40px rgba(107, 83, 68, 0.12);
    --shadow-xl: 0 20px 60px rgba(107, 83, 68, 0.15);
    
    /* Radios y transiciones - Formas más orgánicas */
    --radius-sm: 8px;
    --radius: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--text-dark);
    line-height: 1.7;
    background-color: var(--bg-cream-light);
    font-size: 15px;
}

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

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

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 500;
    line-height: 1.3;
    color: var(--text-dark);
}

/* ==========================================
   BUTTONS
   ========================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    font-family: 'Open Sans', sans-serif;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 15px rgba(139, 115, 85, 0.25);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 115, 85, 0.35);
}

.btn-secondary {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

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

.btn-white {
    background: white;
    color: var(--primary);
    box-shadow: var(--shadow);
}

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

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

.btn-small {
    padding: 8px 20px;
    font-size: 13px;
}

.btn-full {
    width: 100%;
}

/* ==========================================
   HEADER
   ========================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(253, 252, 247, 0.98);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    border-bottom: 1px solid var(--border);
}

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

.logo a {
    display: flex;
    align-items: center;
    gap: 0;
}

.logo img {
    height: 55px;
    width: auto;
}

.navbar {
    display: flex;
    align-items: center;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-menu a {
    font-weight: 500;
    font-size: 15px;
    color: var(--text-dark);
    position: relative;
    font-family: 'Open Sans', sans-serif;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary);
}

.nav-menu a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
}

.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 220px;
    padding: 15px 0;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    border: 1px solid var(--border);
    margin-top: 10px;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    padding: 0;
}

.dropdown-menu a {
    display: block;
    padding: 10px 25px;
    font-size: 14px;
}

.dropdown-menu a:hover {
    background: var(--bg-cream);
    color: var(--primary);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.search-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: var(--bg-cream);
    color: var(--primary);
    cursor: pointer;
    transition: var(--transition);
}

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

.mobile-menu-btn {
    display: none;
    width: 40px;
    height: 40px;
    border: none;
    background: transparent;
    font-size: 24px;
    cursor: pointer;
    color: var(--primary);
}

/* ==========================================
   HERO SECTION
   ========================================== */
.hero {
    padding: 160px 0 100px;
    background: linear-gradient(135deg, var(--bg-cream) 0%, var(--bg-cream-light) 50%, #FDF8F0 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--mandala-pink) 0%, transparent 70%);
    opacity: 0.15;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -50px;
    left: -50px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--mandala-blue) 0%, transparent 70%);
    opacity: 0.15;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.subtitle {
    display: inline-block;
    color: var(--primary);
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
    font-family: 'Open Sans', sans-serif;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    line-height: 1.2;
    color: var(--text-dark);
    font-family: 'Playfair Display', serif;
}

.hero p {
    font-size: 16px;
    color: var(--text-light);
    margin-bottom: 30px;
    line-height: 1.8;
}

.hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    margin-bottom: 35px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-dark);
}

.feature-item i {
    color: var(--primary);
    font-size: 16px;
}

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

.hero-image {
    position: relative;
}

.image-wrapper {
    position: relative;
    z-index: 2;
}

.image-wrapper img {
    border-radius: 50% 50% 50% 50% / 30% 30% 70% 70%;
    box-shadow: var(--shadow-xl);
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

.floating-card {
    position: absolute;
    background: white;
    padding: 15px 20px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 12px;
}

.card-1 {
    top: 20%;
    right: -10px;
    animation: float 3s ease-in-out infinite;
}

.card-1 .card-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--mandala-pink), var(--mandala-orange));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
}

.card-1 h4 {
    font-size: 22px;
    color: var(--primary);
    margin: 0;
    font-family: 'Playfair Display', serif;
}

.card-1 p {
    font-size: 12px;
    margin: 0;
    color: var(--text-muted);
}

.card-2 {
    bottom: 15%;
    left: -20px;
    flex-direction: column;
    align-items: flex-start;
    animation: float 3s ease-in-out infinite 0.5s;
}

.card-2 .avatars {
    display: flex;
}

.card-2 .avatars img {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 3px solid white;
    margin-left: -10px;
    box-shadow: none;
}

.card-2 .avatars img:first-child {
    margin-left: 0;
}

.card-2 .more {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    margin-left: -10px;
    border: 3px solid white;
    font-size: 12px;
}

.card-2 p {
    font-size: 12px;
    margin: 5px 0 0;
    font-weight: 600;
    color: var(--text-dark);
}

.shape {
    position: absolute;
    border-radius: 50%;
    z-index: 1;
}

.shape-1 {
    width: 350px;
    height: 350px;
    background: linear-gradient(135deg, var(--mandala-orange), transparent);
    opacity: 0.2;
    top: -30px;
    right: -80px;
}

.shape-2 {
    width: 250px;
    height: 250px;
    background: linear-gradient(135deg, var(--mandala-green), transparent);
    opacity: 0.2;
    bottom: -30px;
    left: -30px;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* ==========================================
   SECTIONS COMMON
   ========================================== */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
}

.section-subtitle {
    display: inline-block;
    color: var(--primary);
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
    font-family: 'Open Sans', sans-serif;
}

.section-header h2 {
    font-size: 36px;
    margin-bottom: 15px;
    font-family: 'Playfair Display', serif;
}

.section-header p {
    color: var(--text-light);
    font-size: 16px;
}

.section-footer {
    text-align: center;
    margin-top: 50px;
}

/* ==========================================
   SERVICES SECTION
   ========================================== */
.services {
    padding: 100px 0;
    background: var(--bg-white);
}

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

.service-card {
    background: var(--bg-white);
    padding: 40px 30px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transform: scaleX(0);
    transition: var(--transition);
}

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

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card.featured {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    border: none;
}

.service-card.featured .service-icon {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.service-card.featured h3,
.service-card.featured p {
    color: white;
}

.service-card.featured .link-arrow {
    color: white;
}

.service-icon {
    width: 65px;
    height: 65px;
    background: var(--bg-cream);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    color: var(--primary);
    margin-bottom: 25px;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    transform: scale(1.05);
}

.service-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    font-family: 'Playfair Display', serif;
}

.service-card p {
    color: var(--text-light);
    margin-bottom: 20px;
    font-size: 15px;
    line-height: 1.7;
}

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: var(--primary);
    font-size: 14px;
}

.link-arrow:hover {
    gap: 12px;
}

/* ==========================================
   COURSES SECTION
   ========================================== */
.featured-courses {
    padding: 100px 0;
    background: var(--bg-cream-light);
}

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

.course-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid var(--border-soft);
    position: relative;
}

.course-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    opacity: 0;
    transition: var(--transition);
    pointer-events: none;
}

.course-card:hover {
    transform: translateY(-8px);
    border-color: transparent;
}

.course-card:hover::before {
    opacity: 1;
}

.course-image {
    position: relative;
    overflow: hidden;
    clip-path: polygon(0 0, 100% 0, 100% 92%, 0 100%);
}

.course-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: var(--transition);
}

.course-card:hover .course-image img {
    transform: scale(1.08);
}

.course-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--bg-white);
    color: var(--primary);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.course-content {
    padding: 25px;
    position: relative;
}

.course-content::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 25px;
    right: 25px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--border), transparent);
}

.course-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}

.course-price {
    font-size: 22px;
    font-weight: 600;
    color: var(--primary);
    font-family: 'Playfair Display', serif;
}

.course-duration {
    font-size: 12px;
    color: var(--text-muted);
    padding: 4px 10px;
    background: var(--bg-cream);
    border-radius: 20px;
}

.course-content h3 {
    font-size: 19px;
    margin-bottom: 12px;
    line-height: 1.4;
    font-family: 'Playfair Display', serif;
    color: var(--text-dark);
}

.course-instructor {
    font-size: 13px;
    color: var(--primary);
    margin-bottom: 12px;
    font-weight: 500;
}

.course-instructor::before {
    content: '—';
    margin-right: 8px;
    color: var(--secondary);
}

.course-description {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.7;
}

.course-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 18px;
}

.course-footer span {
    font-size: 12px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
}

.course-footer span i {
    color: var(--secondary);
    font-size: 14px;
}


/* ==========================================
   ABOUT SECTION
   ========================================== */
.about {
    padding: 100px 0;
    background: var(--bg-white);
}

.about .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-image {
    position: relative;
}

.image-main img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.image-floating {
    position: absolute;
    bottom: -30px;
    right: -30px;
}

.image-floating img {
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    width: 250px;
    height: 170px;
    object-fit: cover;
    border: 5px solid white;
}

.experience-badge {
    position: absolute;
    top: -30px;
    left: -50px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    padding: 20px 25px;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: var(--shadow);
}

.experience-badge .years {
    display: block;
    font-size: 36px;
    font-weight: 700;
    line-height: 1;
    font-family: 'Playfair Display', serif;
}

.experience-badge .text {
    font-size: 12px;
    line-height: 1.3;
    opacity: 0.9;
}

.shape-3 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, var(--mandala-green), transparent);
    opacity: 0.3;
    top: -50px;
    left: -80px;
    z-index: -1;
}

.about-content .section-subtitle {
    margin-bottom: 10px;
}

.about-content h2 {
    font-size: 36px;
    margin-bottom: 10px;
    font-family: 'Playfair Display', serif;
}

.about-role {
    color: var(--primary);
    font-weight: 500;
    margin-bottom: 20px;
    font-size: 15px;
}

.about-content p {
    color: var(--text-light);
    margin-bottom: 15px;
    line-height: 1.8;
}

.about-features {
    margin: 30px 0;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    font-size: 15px;
    color: var(--text-dark);
}

.about-feature i {
    width: 22px;
    height: 22px;
    background: var(--bg-cream);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
}

.about-buttons {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

/* ==========================================
   CTA SECTION
   ========================================== */
.cta {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--mandala-orange) 0%, transparent 70%);
    opacity: 0.1;
}

.cta::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--mandala-pink) 0%, transparent 70%);
    opacity: 0.1;
}

.cta .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.cta-content {
    color: white;
}

.cta-content .section-subtitle {
    color: rgba(255, 255, 255, 0.8);
}

.cta-content h2 {
    font-size: 36px;
    margin-bottom: 20px;
    color: white;
    font-family: 'Playfair Display', serif;
}

.cta-content p {
    font-size: 16px;
    opacity: 0.9;
    margin-bottom: 40px;
    line-height: 1.8;
}

.cta-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.cta-feature {
    text-align: center;
}

.cta-feature i {
    width: 55px;
    height: 55px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin: 0 auto 15px;
    backdrop-filter: blur(10px);
}

.cta-feature h4 {
    font-size: 17px;
    margin-bottom: 8px;
    font-family: 'Playfair Display', serif;
}

.cta-feature p {
    font-size: 13px;
    margin: 0;
    opacity: 0.8;
}

.cta-image img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
}

/* ==========================================
   TESTIMONIALS
   ========================================== */
.testimonials {
    padding: 100px 0;
    background: var(--bg-cream-light);
}

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

.testimonial-card {
    background: var(--bg-white);
    padding: 35px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    transition: var(--transition);
}

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

.testimonial-rating {
    color: var(--secondary);
    margin-bottom: 20px;
    font-size: 14px;
}

.testimonial-text {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 25px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.testimonial-author img {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--bg-cream);
}

.testimonial-author h4 {
    font-size: 16px;
    margin-bottom: 3px;
    font-family: 'Playfair Display', serif;
}

.testimonial-author p {
    font-size: 13px;
    color: var(--text-muted);
    margin: 0;
}

/* ==========================================
   BLOG PREVIEW
   ========================================== */
.blog-preview {
    padding: 100px 0;
    background: var(--bg-white);
}

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

.blog-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border);
}

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

.blog-image {
    position: relative;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: var(--transition);
}

.blog-card:hover .blog-image img {
    transform: scale(1.05);
}

.blog-category {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--primary);
    color: white;
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.blog-content {
    padding: 25px;
}

.blog-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 12px;
    font-size: 13px;
    color: var(--text-muted);
}

.blog-content h3 {
    font-size: 18px;
    margin-bottom: 12px;
    line-height: 1.4;
    font-family: 'Playfair Display', serif;
}

.blog-content p {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 15px;
    line-height: 1.7;
}

/* ==========================================
   CONTACT SECTION
   ========================================== */
.contact {
    padding: 100px 0;
    background: var(--bg-cream-light);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info h2 {
    font-size: 32px;
    margin-bottom: 15px;
    font-family: 'Playfair Display', serif;
}

.contact-info > p {
    color: var(--text-light);
    margin-bottom: 40px;
    line-height: 1.8;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
}

.contact-item i {
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: white;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.contact-item h4 {
    font-size: 17px;
    margin-bottom: 5px;
    font-family: 'Playfair Display', serif;
}

.contact-item p {
    color: var(--text-light);
    font-size: 14px;
}

.contact-form-wrapper {
    background: var(--bg-white);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-dark);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 15px;
    transition: var(--transition);
    background: var(--bg-cream-light);
}

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

.contact-form textarea {
    resize: vertical;
}

/* ==========================================
   FOOTER
   ========================================== */
.footer {
    background: var(--text-dark);
    color: white;
    padding: 80px 0 0;
}

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

.footer-brand .logo {
    margin-bottom: 20px;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    margin: 20px 0;
    font-size: 15px;
    line-height: 1.8;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.footer-links h4,
.footer-newsletter h4 {
    font-size: 18px;
    margin-bottom: 25px;
    font-family: 'Playfair Display', serif;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

.footer-links a:hover {
    color: var(--secondary);
    padding-left: 5px;
}

.footer-newsletter p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    margin-bottom: 20px;
    line-height: 1.7;
}

.newsletter-form {
    display: flex;
    gap: 10px;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 18px;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 14px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.newsletter-form button {
    width: 45px;
    height: 45px;
    background: var(--primary);
    border: none;
    border-radius: var(--radius-sm);
    color: white;
    cursor: pointer;
    transition: var(--transition);
}

.newsletter-form button:hover {
    background: var(--secondary);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 25px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 13px;
}

.footer-legal {
    display: flex;
    gap: 30px;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.5);
    font-size: 13px;
}

.footer-legal a:hover {
    color: var(--secondary);
}


/* ==========================================
   PAGE HEADER
   ========================================== */
.page-header {
    padding: 160px 0 80px;
    background: linear-gradient(135deg, var(--bg-cream) 0%, var(--bg-cream-light) 50%, #FDF8F0 100%);
    position: relative;
    text-align: center;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: radial-gradient(circle at top right, var(--mandala-pink) 0%, transparent 60%);
    opacity: 0.1;
}

.page-header h1 {
    font-size: 44px;
    margin-bottom: 15px;
    font-family: 'Playfair Display', serif;
}

.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 14px;
}

.breadcrumb a {
    color: var(--primary);
}

.breadcrumb .current {
    color: var(--text-light);
}

.header-shape {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: var(--bg-white);
    clip-path: polygon(0 100%, 100% 100%, 100% 0);
}

.page-header.blog-header {
    background: linear-gradient(135deg, var(--bg-cream-light) 0%, #F0EBE0 50%, var(--bg-cream) 100%);
}

/* ==========================================
   COURSES FILTER
   ========================================== */
.courses-filter {
    padding: 30px 0;
    background: var(--bg-white);
    border-bottom: 1px solid var(--border);
}

.filter-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.filter-tabs {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 25px;
    border: 1px solid var(--border);
    background: var(--bg-white);
    border-radius: 50px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    color: var(--text-light);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.filter-search {
    display: flex;
    gap: 10px;
}

.filter-search input {
    padding: 10px 20px;
    border: 1px solid var(--border);
    border-radius: 50px;
    font-size: 14px;
    width: 250px;
    background: var(--bg-cream-light);
}

.filter-search button {
    width: 42px;
    height: 42px;
    background: var(--primary);
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    transition: var(--transition);
}

.filter-search button:hover {
    background: var(--primary-dark);
}

/* ==========================================
   COURSES PAGE
   ========================================== */
.courses-page {
    padding: 60px 0 100px;
    background: var(--bg-white);
}

.courses-page .courses-grid {
    margin-bottom: 50px;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.pagination-btn {
    width: 45px;
    height: 45px;
    border: 1px solid var(--border);
    background: var(--bg-white);
    border-radius: 50%;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    color: var(--text-dark);
}

.pagination-btn:hover,
.pagination-btn.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.pagination-btn.prev,
.pagination-btn.next {
    background: var(--text-dark);
    color: white;
    border-color: var(--text-dark);
}

/* ==========================================
   WHY CHOOSE SECTION
   ========================================== */
.why-choose {
    padding: 100px 0;
    background: var(--bg-cream-light);
}

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

.feature-box {
    text-align: center;
    padding: 40px 25px;
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border);
}

.feature-box:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.feature-box .feature-icon {
    width: 65px;
    height: 65px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 26px;
    color: white;
}

.feature-box h3 {
    font-size: 18px;
    margin-bottom: 12px;
    font-family: 'Playfair Display', serif;
}

.feature-box p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.7;
}

/* ==========================================
   CTA SECTION BOX
   ========================================== */
.cta-section {
    padding: 100px 0;
    background: var(--bg-white);
}

.cta-box {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    padding: 60px;
    border-radius: var(--radius-lg);
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.cta-box::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 60%);
}

.cta-box h2 {
    font-size: 32px;
    margin-bottom: 15px;
    font-family: 'Playfair Display', serif;
    position: relative;
    z-index: 1;
}

.cta-box p {
    font-size: 16px;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto 30px;
    position: relative;
    z-index: 1;
}

/* ==========================================
   FEATURED POST
   ========================================== */
.featured-post {
    padding: 60px 0;
    background: var(--bg-white);
}

.featured-post-card {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 0;
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
}

.featured-image {
    position: relative;
}

.featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 400px;
}

.featured-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: linear-gradient(135deg, var(--mandala-pink), var(--mandala-orange));
    color: white;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.featured-content {
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.post-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.post-category {
    background: rgba(139, 115, 85, 0.1);
    color: var(--primary);
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.post-date {
    color: var(--text-muted);
    font-size: 14px;
}

.featured-content h2 {
    font-size: 28px;
    margin-bottom: 15px;
    line-height: 1.3;
    font-family: 'Playfair Display', serif;
}

.featured-content > p {
    color: var(--text-light);
    margin-bottom: 25px;
    line-height: 1.8;
}

.post-author {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
}

.post-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--bg-cream);
}

.post-author h4 {
    font-size: 16px;
    margin-bottom: 3px;
    font-family: 'Playfair Display', serif;
}

.post-author p {
    font-size: 14px;
    color: var(--text-muted);
    margin: 0;
}

/* ==========================================
   BLOG SECTION
   ========================================== */
.blog-section {
    padding: 60px 0 100px;
    background: var(--bg-cream-light);
}

.blog-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

.blog-main .blog-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

/* Sidebar */
.blog-sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.sidebar-widget {
    background: var(--bg-white);
    padding: 30px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

.sidebar-widget h4 {
    font-size: 18px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--border);
    font-family: 'Playfair Display', serif;
}

.search-widget {
    display: flex;
    gap: 10px;
}

.search-widget input {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 14px;
    background: var(--bg-cream-light);
}

.search-widget button {
    width: 45px;
    background: var(--primary);
    border: none;
    border-radius: var(--radius-sm);
    color: white;
    cursor: pointer;
    transition: var(--transition);
}

.search-widget button:hover {
    background: var(--primary-dark);
}

.category-list li {
    border-bottom: 1px solid var(--border);
}

.category-list li:last-child {
    border-bottom: none;
}

.category-list a {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    color: var(--text-light);
    font-size: 14px;
    transition: var(--transition);
}

.category-list a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.category-list span {
    color: var(--text-muted);
    font-size: 13px;
}

.recent-posts {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.recent-post {
    display: flex;
    gap: 15px;
}

.recent-post img {
    width: 70px;
    height: 70px;
    border-radius: var(--radius-sm);
    object-fit: cover;
}

.recent-post h5 {
    font-size: 15px;
    margin-bottom: 5px;
    line-height: 1.4;
    font-family: 'Playfair Display', serif;
}

.recent-post h5 a:hover {
    color: var(--primary);
}

.recent-post span {
    font-size: 13px;
    color: var(--text-muted);
}

.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag {
    padding: 8px 16px;
    background: var(--bg-cream);
    border-radius: 50px;
    font-size: 13px;
    color: var(--text-light);
    transition: var(--transition);
}

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

.newsletter-widget {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
}

.newsletter-widget h4 {
    border-bottom-color: rgba(255, 255, 255, 0.2);
    color: white;
}

.newsletter-widget p {
    margin-bottom: 20px;
    font-size: 14px;
    opacity: 0.9;
    line-height: 1.7;
}

.newsletter-widget input {
    width: 100%;
    padding: 12px 15px;
    border: none;
    border-radius: var(--radius-sm);
    margin-bottom: 15px;
    font-size: 14px;
}

/* ==========================================
   QUOTE SECTION
   ========================================== */
.quote-section {
    padding: 80px 0;
    background: var(--bg-white);
}

.quote-card {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 50px;
    background: var(--bg-cream-light);
    border-radius: var(--radius-lg);
    position: relative;
    border: 1px solid var(--border);
}

.quote-icon {
    font-size: 40px;
    color: var(--primary);
    margin-bottom: 20px;
    opacity: 0.5;
}

.quote-card blockquote {
    font-size: 20px;
    font-style: italic;
    line-height: 1.9;
    color: var(--text-dark);
    margin-bottom: 25px;
    font-family: 'Playfair Display', serif;
}

.quote-card cite {
    font-size: 15px;
    color: var(--primary);
    font-weight: 600;
    font-style: normal;
}


/* ==========================================
   RESPONSIVE STYLES
   ========================================== */
@media (max-width: 1199px) {
    .hero h1 {
        font-size: 40px;
    }
    
    .courses-grid,
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .cta-features {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 991px) {
    .mobile-menu-btn {
        display: block;
    }
    
    .navbar {
        position: fixed;
        top: 90px;
        left: 0;
        right: 0;
        background: var(--bg-cream-light);
        padding: 20px;
        box-shadow: var(--shadow);
        transform: translateY(-150%);
        transition: var(--transition);
    }
    
    .navbar.active {
        transform: translateY(0);
    }
    
    .nav-menu {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
    
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: var(--bg-cream);
        margin-top: 10px;
        display: none;
        border: 1px solid var(--border);
    }
    
    .dropdown.active .dropdown-menu {
        display: block;
    }
    
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-content {
        order: 2;
    }
    
    .hero-image {
        order: 1;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .hero-features {
        justify-content: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .about .container {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .about-image {
        max-width: 500px;
        margin: 0 auto;
    }
    
    .cta .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .cta-features {
        justify-content: center;
        grid-template-columns: repeat(3, 1fr);
    }
    
    .cta-image {
        display: none;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .blog-layout {
        grid-template-columns: 1fr;
    }
    
    .featured-post-card {
        grid-template-columns: 1fr;
    }
    
    .featured-image img {
        min-height: 250px;
    }
    
    .testimonials-slider {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .blog-main .blog-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    .hero {
        padding: 140px 0 60px;
    }
    
    .hero h1 {
        font-size: 28px;
    }
    
    .section-header h2 {
        font-size: 26px;
    }
    
    .services-grid,
    .courses-grid,
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .courses-grid {
        max-width: 450px;
        margin: 0 auto;
    }
    
    .floating-card {
        display: none;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .cta-features {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        max-width: 350px;
        margin: 0 auto;
    }
    
    .filter-wrapper {
        flex-direction: column;
        align-items: stretch;
    }
    
    .filter-search input {
        width: 100%;
    }
    
    .featured-content {
        padding: 30px;
    }
    
    .quote-card {
        padding: 30px 20px;
    }
    
    .quote-card blockquote {
        font-size: 16px;
    }
    
    .cta-box {
        padding: 40px 25px;
    }
    
    .cta-box h2 {
        font-size: 24px;
    }
    
    .page-header h1 {
        font-size: 32px;
    }
    
    .logo img {
        height: 45px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 24px;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
    }
    
    .about-buttons {
        flex-direction: column;
    }
    
    .contact-form-wrapper {
        padding: 25px;
    }
    
    .course-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}

/* ==========================================
   ANIMATIONS
   ========================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.course-card,
.service-card,
.blog-card,
.testimonial-card {
    animation: fadeInUp 0.6s ease forwards;
}

.course-card:nth-child(2) { animation-delay: 0.1s; }
.course-card:nth-child(3) { animation-delay: 0.2s; }
.course-card:nth-child(4) { animation-delay: 0.3s; }
.course-card:nth-child(5) { animation-delay: 0.4s; }
.course-card:nth-child(6) { animation-delay: 0.5s; }

/* ==========================================
   UTILITIES
   ========================================== */
.text-center {
    text-align: center;
}

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 10px; }
.mb-2 { margin-bottom: 20px; }
.mb-3 { margin-bottom: 30px; }
.mb-4 { margin-bottom: 40px; }
.mb-5 { margin-bottom: 50px; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 10px; }
.mt-2 { margin-top: 20px; }
.mt-3 { margin-top: 30px; }
.mt-4 { margin-top: 40px; }
.mt-5 { margin-top: 50px; }

.hidden {
    display: none;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}


/* ==========================================
   BLOG EDITORIAL - NUEVO DISEÑO
   ========================================== */

/* Header Minimal */
.page-header-minimal {
    padding: 140px 0 60px;
    background: var(--bg-cream-light);
    text-align: center;
    border-bottom: 1px solid var(--border);
}

.page-header-minimal .section-subtitle {
    margin-bottom: 15px;
}

.page-header-minimal h1 {
    font-size: 56px;
    margin-bottom: 20px;
    font-family: 'Playfair Display', serif;
    font-weight: 400;
    letter-spacing: -1px;
}

.header-description {
    font-size: 18px;
    color: var(--text-light);
    max-width: 500px;
    margin: 0 auto;
    font-style: italic;
}

/* Featured Editorial */
.featured-editorial {
    padding: 80px 0;
    background: var(--bg-white);
}

.editorial-card {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 0;
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(107, 83, 68, 0.1);
    border: 1px solid var(--border-soft);
}

.editorial-image {
    position: relative;
    min-height: 450px;
}

.editorial-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
}

.editorial-overlay {
    position: absolute;
    top: 30px;
    left: 30px;
}

.category-tag {
    background: var(--bg-white);
    color: var(--primary);
    padding: 10px 24px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.editorial-content {
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.editorial-meta {
    display: flex;
    gap: 25px;
    margin-bottom: 25px;
    font-size: 13px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.editorial-content h2 {
    font-size: 36px;
    margin-bottom: 20px;
    line-height: 1.2;
    font-family: 'Playfair Display', serif;
    font-weight: 500;
}

.excerpt {
    font-size: 16px;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 30px;
}

.editorial-author {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 35px;
    padding: 20px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.editorial-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.editorial-author strong {
    display: block;
    font-size: 15px;
    color: var(--text-dark);
    margin-bottom: 3px;
}

.editorial-author span {
    font-size: 13px;
    color: var(--text-muted);
}

/* Masonry Grid Blog - Ordenado sin espacios */
.blog-masonry {
    padding: 80px 0;
    background: var(--bg-cream-light);
}

.masonry-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: minmax(150px, auto);
    gap: 30px;
    grid-auto-flow: dense;
}

.masonry-item {
    background: var(--bg-white);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid var(--border-soft);
    display: flex;
    flex-direction: column;
}

.masonry-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(107, 83, 68, 0.12);
}

.item-link {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.item-image {
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.masonry-item:hover .item-image img {
    transform: scale(1.05);
}

.item-content {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.item-category {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--primary);
    margin-bottom: 12px;
}

.item-content h3 {
    font-size: 20px;
    margin-bottom: 12px;
    line-height: 1.3;
    font-family: 'Playfair Display', serif;
    font-weight: 500;
}

.item-content p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 15px;
    flex: 1;
}

.item-date {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: auto;
}

/* Tamaños masonry - Sistema ordenado */
.item-large {
    grid-column: span 2;
    grid-row: span 2;
}

.item-large .item-image {
    height: 320px;
}

.item-large .item-content h3 {
    font-size: 28px;
}

.item-medium {
    grid-column: span 1;
    grid-row: span 2;
}

.item-medium .item-image {
    height: 220px;
}

.item-medium .item-content h3 {
    font-size: 22px;
}

.item-small {
    grid-column: span 1;
    grid-row: span 1;
}

.item-small .item-image {
    height: 180px;
}

.item-small .item-content h3 {
    font-size: 18px;
}

.item-wide {
    grid-column: span 2;
    grid-row: span 1;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
}

.item-wide .item-image {
    height: 100%;
    min-height: 250px;
}

.item-wide .item-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 35px;
}

.item-wide .item-content h3 {
    font-size: 24px;
}

.item-text {
    position: relative;
    display: flex;
    flex-direction: column;
}

.item-text .item-link {
    height: 100%;
}

.item-text .item-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 35px;
}

.item-text .item-content h3 {
    font-size: 22px;
}

.item-accent {
    height: 6px;
    width: 100%;
    flex-shrink: 0;
}

/* Load More */
.load-more {
    text-align: center;
    margin-top: 60px;
}

.btn-large {
    padding: 16px 35px;
    font-size: 15px;
}

/* Newsletter Section */
.newsletter-section {
    padding: 100px 0;
    background: var(--bg-white);
}

.newsletter-box {
    max-width: 800px;
    margin: 0 auto;
    background: linear-gradient(135deg, var(--bg-cream), var(--bg-cream-light));
    padding: 60px;
    border-radius: var(--radius-lg);
    text-align: center;
    border: 1px solid var(--border);
}

.newsletter-content {
    margin-bottom: 30px;
}

.newsletter-content i {
    font-size: 40px;
    color: var(--primary);
    margin-bottom: 20px;
}

.newsletter-content h3 {
    font-size: 28px;
    margin-bottom: 10px;
    font-family: 'Playfair Display', serif;
}

.newsletter-content p {
    color: var(--text-light);
}

.newsletter-form-large {
    display: flex;
    gap: 15px;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form-large input {
    flex: 1;
    padding: 16px 24px;
    border: 1px solid var(--border);
    border-radius: 50px;
    font-size: 15px;
    background: var(--bg-white);
}

.newsletter-form-large button {
    padding: 16px 30px;
}


/* ==========================================
   ARTICLE PAGE - DISEÑO EDITORIAL REVISTA
   ========================================== */

.article-page {
    background: var(--bg-white);
}

/* Header Article */
.header-article {
    background: transparent;
    box-shadow: none;
    border-bottom: 1px solid var(--border-soft);
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-weight: 500;
    font-size: 14px;
}

.back-link:hover {
    gap: 12px;
}

/* Article Header */
.article-header {
    background: var(--bg-cream-light);
    padding-top: 90px;
}

.article-header-content {
    padding: 60px 0 40px;
    text-align: center;
}

.article-meta-top {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 25px;
    margin-bottom: 30px;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.article-category {
    background: var(--primary);
    color: white;
    padding: 6px 16px;
    border-radius: 50px;
}

.article-date, .article-reading {
    color: var(--text-muted);
}

.article-title {
    font-size: 52px;
    max-width: 900px;
    margin: 0 auto 30px;
    line-height: 1.15;
    font-family: 'Playfair Display', serif;
    font-weight: 500;
    letter-spacing: -1px;
}

.article-excerpt {
    font-size: 20px;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto 40px;
    line-height: 1.7;
    font-style: italic;
}

.article-author-box {
    display: inline-flex;
    align-items: center;
    gap: 20px;
    background: var(--bg-white);
    padding: 15px 30px;
    border-radius: 60px;
    box-shadow: var(--shadow);
}

.article-author-box img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.article-author-box strong {
    display: block;
    font-size: 15px;
    color: var(--text-dark);
    margin-bottom: 3px;
}

.article-author-box span {
    font-size: 13px;
    color: var(--text-muted);
}

.article-hero-image {
    width: 100%;
    max-height: 500px;
    overflow: hidden;
}

.article-hero-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    object-position: center;
}

/* Article Content Layout */
.article-content {
    padding: 80px 0;
    background: var(--bg-white);
}

.article-layout {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 60px;
    align-items: start;
    max-width: 980px;
    margin: 0 auto;
}
.article-layout > .article-body { min-width: 0; }

/* Sidebars */
.article-sidebar-left {
    position: sticky;
    top: 120px;
}

.share-box {
    margin-bottom: 40px;
}

.share-box span {
    display: block;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-muted);
    margin-bottom: 15px;
}

.share-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.share-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--bg-cream);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.share-btn:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
}

.article-toc h4 {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 20px;
    color: var(--text-muted);
}

.article-toc ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.article-toc a {
    font-size: 14px;
    color: var(--text-light);
    position: relative;
    padding-left: 15px;
}

.article-toc a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background: var(--border);
    border-radius: 50%;
    transition: var(--transition);
}

.article-toc a:hover {
    color: var(--primary);
}

.article-toc a:hover::before {
    background: var(--primary);
}

/* Article Body */
.article-body {
    font-size: 17px;
    line-height: 1.9;
    color: var(--text-dark);
}

.lead-paragraph {
    font-size: 20px;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 2px solid var(--border);
}

.article-body h2 {
    font-size: 28px;
    margin: 50px 0 25px;
    font-family: 'Playfair Display', serif;
    font-weight: 500;
}

.article-body p {
    margin-bottom: 25px;
}

.article-body strong {
    color: var(--primary);
    font-weight: 600;
}

.article-quote {
    margin: 40px 0;
    padding: 40px;
    background: var(--bg-cream-light);
    border-left: 4px solid var(--primary);
    border-radius: 0 var(--radius) var(--radius) 0;
}

.article-quote i {
    font-size: 30px;
    color: var(--primary);
    opacity: 0.3;
    margin-bottom: 15px;
}

.article-quote p {
    font-size: 22px;
    font-style: italic;
    line-height: 1.6;
    font-family: 'Playfair Display', serif;
    margin-bottom: 20px;
}

.article-quote cite {
    font-size: 14px;
    color: var(--text-muted);
    font-style: normal;
    font-weight: 600;
}

.article-image-float {
    float: right;
    width: 350px;
    margin: 0 0 30px 40px;
    border-radius: var(--radius);
    overflow: hidden;
}

.article-image-float img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.article-image-float figcaption {
    font-size: 13px;
    color: var(--text-muted);
    padding: 15px;
    background: var(--bg-cream-light);
    font-style: italic;
}

.article-list {
    margin: 30px 0;
    padding-left: 30px;
}

.article-list li {
    margin-bottom: 15px;
    position: relative;
    padding-left: 25px;
}

.article-list li::before {
    content: '—';
    position: absolute;
    left: 0;
    color: var(--secondary);
    font-weight: 600;
}

.reflection-box {
    margin: 40px 0;
    padding: 35px;
    background: linear-gradient(135deg, var(--bg-cream), var(--bg-cream-light));
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.reflection-box h4 {
    font-size: 16px;
    margin-bottom: 20px;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.reflection-box ul {
    list-style: none;
    padding: 0;
}

.reflection-box li {
    padding: 12px 0;
    padding-left: 30px;
    position: relative;
    border-bottom: 1px solid var(--border);
}

.reflection-box li:last-child {
    border-bottom: none;
}

.reflection-box li::before {
    content: '\f004';
    font-family: 'Font Awesome 5 Free';
    font-weight: 400;
    position: absolute;
    left: 0;
    color: var(--mandala-pink);
}

.article-cta {
    margin: 50px 0;
    padding: 40px;
    background: var(--text-dark);
    color: white;
    border-radius: var(--radius);
    text-align: center;
}

.article-cta h4 {
    font-size: 22px;
    margin-bottom: 10px;
    font-family: 'Playfair Display', serif;
}

.article-cta p {
    margin-bottom: 25px;
    opacity: 0.9;
}

/* Right Sidebar */
.article-sidebar-right {
    position: sticky;
    top: 120px;
}

.author-card {
    background: var(--bg-cream-light);
    padding: 30px;
    border-radius: var(--radius);
    text-align: center;
    margin-bottom: 30px;
    border: 1px solid var(--border);
}

.author-card img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 20px;
    border: 4px solid white;
    box-shadow: var(--shadow);
}

.author-card h4 {
    font-size: 18px;
    margin-bottom: 10px;
    font-family: 'Playfair Display', serif;
}

.author-card p {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.7;
}

.related-articles {
    margin-bottom: 30px;
}

.related-articles h4 {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 20px;
    color: var(--text-muted);
}

.related-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.related-item {
    display: block;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
}

.related-item:last-child {
    border-bottom: none;
}

.related-cat {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary);
    margin-bottom: 8px;
    display: block;
}

.related-item h5 {
    font-size: 15px;
    line-height: 1.4;
    font-family: 'Playfair Display', serif;
    font-weight: 500;
}

.related-item:hover h5 {
    color: var(--primary);
}

.newsletter-sidebar {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    padding: 30px;
    border-radius: var(--radius);
    text-align: center;
}

.newsletter-sidebar i {
    font-size: 35px;
    margin-bottom: 15px;
    opacity: 0.8;
}

.newsletter-sidebar h4 {
    font-size: 18px;
    margin-bottom: 10px;
    font-family: 'Playfair Display', serif;
}

.newsletter-sidebar p {
    font-size: 13px;
    opacity: 0.9;
    margin-bottom: 20px;
}

.newsletter-sidebar input {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: var(--radius-sm);
    margin-bottom: 10px;
    font-size: 14px;
}

/* More Articles */
.more-articles {
    padding: 80px 0;
    background: var(--bg-cream-light);
    border-top: 1px solid var(--border);
}

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

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

.more-card {
    background: var(--bg-white);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid var(--border-soft);
}

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

.more-image {
    height: 180px;
    overflow: hidden;
}

.more-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.more-card:hover .more-image img {
    transform: scale(1.05);
}

.more-content {
    padding: 25px;
}

.more-category {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary);
    margin-bottom: 10px;
    display: block;
}

.more-content h3 {
    font-size: 18px;
    margin-bottom: 15px;
    line-height: 1.4;
    font-family: 'Playfair Display', serif;
    font-weight: 500;
}

/* Responsive Article */
@media (max-width: 1199px) {
    .article-layout {
        gap: 40px;
    }

    .article-title {
        font-size: 42px;
    }
}

@media (max-width: 991px) {
    .article-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .article-sidebar-left {
        display: none;
    }

    .article-sidebar-right {
        display: none;
    }

    .article-title {
        font-size: 32px;
    }
    
    .article-image-float {
        float: none;
        width: 100%;
        margin: 30px 0;
    }
    
    .more-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    .article-header-content {
        padding: 40px 20px 30px;
    }
    
    .article-title {
        font-size: 28px;
    }
    
    .article-meta-top {
        flex-direction: column;
        gap: 10px;
    }
    
    .article-author-box {
        flex-direction: column;
        text-align: center;
        border-radius: var(--radius);
    }
    
    .article-quote {
        padding: 25px;
    }
    
    .article-quote p {
        font-size: 18px;
    }
    
    .article-sidebar-right {
        grid-template-columns: 1fr;
    }
    
    .masonry-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .item-large, .item-medium, .item-wide {
        grid-column: span 1;
        grid-row: span 1;
    }
    
    .item-large .item-image,
    .item-medium .item-image {
        height: 220px;
    }
    
    .item-wide {
        grid-template-columns: 1fr;
    }
    
    .item-wide .item-image {
        height: 200px;
    }
    
    .item-text .item-content {
        padding: 30px;
    }
}


/* ==========================================
   BLOG CATEGORIES - Componente WordPress
   ========================================== */

.blog-categories {
    padding: 30px 0;
    background: var(--bg-white);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 90px;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0,0,0,0.03);
}

.categories-scroll {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 5px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.categories-scroll::-webkit-scrollbar {
    display: none;
}

.category-pill {
    display: inline-flex;
    align-items: center;
    padding: 10px 24px;
    background: var(--bg-cream-light);
    border: 1px solid var(--border-soft);
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-light);
    white-space: nowrap;
    transition: var(--transition);
}

.category-pill:hover {
    background: var(--bg-cream);
    color: var(--primary);
    border-color: var(--border);
}

.category-pill.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    box-shadow: 0 4px 15px rgba(139, 115, 85, 0.25);
}

.category-pill::before {
    content: '#';
    margin-right: 4px;
    opacity: 0.6;
}

/* Category badge count */
.category-pill .count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    background: rgba(0,0,0,0.1);
    border-radius: 50%;
    font-size: 11px;
    margin-left: 8px;
    font-weight: 600;
}

.category-pill.active .count {
    background: rgba(255,255,255,0.2);
}

/* ============================================================
   PASIÓN WALDORF — HOME V2 (rediseño 2026)
   Todas las clases prefijadas con .pw- para no colisionar.
   ============================================================ */
:root {
    --pw-coral: #FF6B5C;
    --pw-coral-dark: #E85546;
    --pw-coral-soft: #FFE4DF;
    --pw-text-dark: #2A2A2A;
    --pw-text-light: #6A6A6A;
    --pw-text-muted: #9A9A9A;
    --pw-bg-cream: #FFF8F2;
    --pw-bg-rose: #FCE8E4;
    --pw-bg-peach: #FFEDE4;
    --pw-border-soft: #F0E6DC;
    --pw-radius: 18px;
    --pw-radius-lg: 28px;
    --pw-shadow: 0 8px 30px rgba(0,0,0,0.06);
    --pw-shadow-hover: 0 16px 40px rgba(0,0,0,0.1);
}

/* ===== Reset & base ===== */
body { font-family: 'Open Sans', sans-serif; background: var(--pw-bg-cream); }
body.home .pw-hero,
body.home .pw-steps,
body.home .pw-school { background: var(--pw-bg-cream); }

/* ===== HEADER ===== */
.pw-header {
    background: var(--pw-bg-cream);
    padding: 18px 0;
    position: sticky; top: 0; z-index: 100;
    border-bottom: 1px solid rgba(0,0,0,0.04);
}
.pw-header .container {
    display: flex; align-items: center; justify-content: space-between; gap: 30px;
}
.pw-logo-wrap,
.pw-logo-link {
    display: flex; align-items: center; gap: 12px; text-decoration: none;
}
.pw-logo-wrap a.custom-logo-link { display: flex; align-items: center; }
.pw-logo-wrap .custom-logo {
    max-height: 70px; width: auto; height: auto; object-fit: contain;
}
.pw-logo-img {
    width: 48px; height: 48px; object-fit: contain;
}
.pw-logo-text strong {
    font-family: 'Playfair Display', serif;
    font-size: 21px; font-weight: 600;
    color: var(--pw-text-dark); display: block; line-height: 1.1;
}
.pw-logo-text small {
    font-size: 11px; color: var(--pw-text-muted); letter-spacing: .5px;
}
.pw-nav { flex: 1; display: flex; justify-content: center; }
.pw-nav-menu, .pw-nav-menu ul {
    list-style: none; padding: 0; margin: 0;
}
.pw-nav-menu {
    display: flex; align-items: center; gap: 32px;
}
.pw-nav-menu li { position: relative; }
.pw-nav-menu li a {
    font-size: 14px; color: var(--pw-text-light); font-weight: 500;
    text-decoration: none; transition: color .3s; padding: 8px 0; display: block;
}
.pw-nav-menu li a:hover,
.pw-nav-menu li a.pw-active { color: var(--pw-coral); }
.pw-nav-menu .pw-has-submenu > a::after {
    content: '\f078';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 9px; margin-left: 6px;
}
.pw-nav-menu .sub-menu {
    position: absolute; top: 100%; left: 0;
    background: white; min-width: 200px;
    box-shadow: var(--pw-shadow); border-radius: 12px;
    padding: 10px 0; opacity: 0; visibility: hidden;
    transform: translateY(8px); transition: all .25s;
    z-index: 10;
}
.pw-nav-menu li:hover > .sub-menu {
    opacity: 1; visibility: visible; transform: translateY(0);
}
.pw-nav-menu .sub-menu li a { padding: 8px 18px; font-size: 13.5px; }
.pw-nav-menu .sub-menu li a:hover { background: var(--pw-bg-peach); }
.pw-btn-nuevo {
    background: var(--pw-coral); color: white;
    padding: 11px 24px; border-radius: 50px;
    font-size: 12px; font-weight: 700; letter-spacing: 1.2px;
    text-decoration: none; transition: all .3s;
    text-transform: uppercase;
}
.pw-btn-nuevo:hover { background: var(--pw-coral-dark); color: white; transform: translateY(-2px); }
.pw-mobile-toggle {
    display: none; background: transparent; border: none;
    font-size: 22px; color: var(--pw-text-dark); cursor: pointer;
}

/* ===== BUTTONS ===== */
.pw-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 14px 28px; font-size: 14px; font-weight: 600;
    border-radius: 50px; border: none; cursor: pointer;
    font-family: 'Open Sans', sans-serif; letter-spacing: .5px;
    text-decoration: none; transition: all .3s;
}
.pw-btn-primary { background: var(--pw-coral); color: white; }
.pw-btn-primary:hover { background: var(--pw-coral-dark); color: white; transform: translateY(-2px); }
.pw-btn-secondary,
.pw-btn-outline {
    background: transparent; color: var(--pw-coral);
    border: 1.5px solid var(--pw-coral);
}
.pw-btn-secondary:hover,
.pw-btn-outline:hover { background: var(--pw-coral-soft); color: var(--pw-coral); }
.pw-btn-small {
    align-self: flex-start; background: var(--pw-coral); color: white;
    padding: 8px 22px; border-radius: 50px; font-size: 11px;
    font-weight: 700; letter-spacing: 1.5px; text-decoration: none;
    margin-top: auto; transition: all .3s;
}
.pw-btn-small:hover { background: var(--pw-coral-dark); color: white; }

/* ===== EYEBROW / SECTION HEADER ===== */
.pw-eyebrow {
    color: var(--pw-coral); font-size: 12px; font-weight: 700;
    letter-spacing: 2.5px; text-transform: uppercase;
    display: inline-block; margin-bottom: 14px;
}
.pw-section-header {
    text-align: center; max-width: 720px; margin: 0 auto 60px;
}
.pw-section-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 38px; font-weight: 500; margin-bottom: 14px;
    line-height: 1.2; color: var(--pw-text-dark);
}
.pw-section-header p { color: var(--pw-text-light); font-size: 16px; }
.pw-section-footer { text-align: center; margin-top: 20px; }
.pw-link-coral {
    color: var(--pw-coral); font-weight: 700;
    font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase;
    text-decoration: none; transition: letter-spacing .3s;
}
.pw-link-coral:hover { letter-spacing: 2px; color: var(--pw-coral); }

/* ===== HERO (imagen edge-to-edge, alineada a la derecha, pegada al header) ===== */
.pw-hero {
    padding: 0;
    background: linear-gradient(135deg, var(--pw-bg-cream) 0%, var(--pw-bg-peach) 100%);
    overflow: hidden;
}
.pw-hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: stretch;
    padding-top: 0;
    padding-bottom: 0;
    min-height: 680px;
    position: relative;
}
.pw-hero-content {
    align-self: center;
    padding: 60px 0;
}
.pw-hero-content h1 {
    font-family: 'Playfair Display', serif;
    font-size: 50px; line-height: 1.15; margin-bottom: 24px;
    font-weight: 500; color: var(--pw-text-dark);
}
.pw-hero-lead {
    font-size: 16px; color: var(--pw-text-light);
    margin-bottom: 32px; max-width: 480px; line-height: 1.7;
}
.pw-hero-buttons { display: flex; gap: 14px; flex-wrap: wrap; }
.pw-hero-image {
    position: relative;
    margin-right: calc(-50vw + 50%);
    align-self: stretch;
}
.pw-hero-img {
    border-radius: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 100% center;
    display: block;
    position: absolute;
    inset: 0;
    transform: translateX(-250px);
    /* funde el lado izquierdo de la imagen con el fondo crema */
    -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,0.4) 8%, black 22%, black 100%);
            mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,0.4) 8%, black 22%, black 100%);
}
.pw-hero-img-placeholder {
    background: repeating-linear-gradient(45deg, #f3ece2, #f3ece2 10px, #ebe2d4 10px, #ebe2d4 20px);
    display: flex; align-items: center; justify-content: center;
    color: var(--pw-text-muted); font-size: 14px;
}
.pw-quote-bubble {
    position: absolute; right: 24px; bottom: 40px;
    z-index: 5;
    background: rgba(255,255,255,0.96);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: var(--pw-radius); padding: 22px 24px;
    max-width: 280px; box-shadow: var(--pw-shadow);
    font-size: 13px; line-height: 1.6; color: var(--pw-text-light);
}
.pw-quote-bubble strong { color: var(--pw-coral); }

/* ===== 3 PASOS (imagen) ===== */
.pw-steps { padding: 90px 0 70px; background: var(--pw-bg-cream); }
.pw-steps-picture img,
.pw-steps-picture {
    max-width: 1100px; margin: 0 auto;
    display: block; width: 100%; height: auto;
}
.pw-steps-placeholder {
    max-width: 1100px; margin: 0 auto;
    background: repeating-linear-gradient(45deg, #f3ece2, #f3ece2 10px, #ebe2d4 10px, #ebe2d4 20px);
    border-radius: var(--pw-radius);
    aspect-ratio: 16/6;
    display: flex; align-items: center; justify-content: center;
    color: var(--pw-text-muted); font-size: 14px; padding: 20px;
    text-align: center;
}

/* ===== CURSOS ===== */
.pw-school { padding: 90px 0; background: var(--pw-bg-cream); }
.pw-courses-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 30px;
    max-width: 980px; margin: 0 auto 50px;
}
.pw-course-card {
    background: white; border-radius: var(--pw-radius);
    border: 1px solid var(--pw-border-soft);
    padding: 24px; display: flex; gap: 22px;
    transition: all .3s;
}
.pw-course-card:hover { box-shadow: var(--pw-shadow-hover); transform: translateY(-3px); }
.pw-course-poster {
    width: 130px; flex-shrink: 0;
    border-radius: 12px; overflow: hidden;
    background: linear-gradient(135deg, #E8A5B4, #F4C494);
    aspect-ratio: 3/4;
}
.pw-course-poster img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pw-course-body { flex: 1; display: flex; flex-direction: column; }
.pw-course-body h3 {
    font-family: 'Playfair Display', serif;
    font-size: 18px; line-height: 1.3; margin-bottom: 8px;
    font-weight: 600; color: var(--pw-text-dark);
}
.pw-course-desc { font-size: 13px; color: var(--pw-text-light); margin-bottom: 14px; }
.pw-course-bullets { list-style: none; padding: 0; margin: 0 0 18px; }
.pw-course-bullets li {
    font-size: 12.5px; color: var(--pw-text-light);
    padding: 3px 0; display: flex; align-items: center; gap: 8px;
}
.pw-course-bullets li i { color: var(--pw-coral); font-size: 11px; }

/* ===== BLOG ===== */
.pw-blog { padding: 90px 0; background: var(--pw-bg-rose); }
.pw-blog-header {
    display: flex; justify-content: space-between; align-items: flex-end;
    margin-bottom: 50px; flex-wrap: wrap; gap: 20px;
}
.pw-blog-header-text { max-width: 600px; }
.pw-blog-header-text .pw-eyebrow { display: block; margin-bottom: 8px; }
.pw-blog-header-text h2 {
    font-family: 'Playfair Display', serif;
    font-size: 36px; font-weight: 500; margin-bottom: 10px;
}
.pw-blog-header-text p { color: var(--pw-text-light); font-size: 15px; }
.pw-blog-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.pw-blog-card {
    background: white; border-radius: var(--pw-radius); overflow: hidden;
    transition: all .3s;
}
.pw-blog-card a { text-decoration: none; color: inherit; display: block; }
.pw-blog-card:hover { transform: translateY(-4px); box-shadow: var(--pw-shadow-hover); }
.pw-blog-img { height: 200px; overflow: hidden; }
.pw-blog-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.pw-blog-card:hover .pw-blog-img img { transform: scale(1.05); }
.pw-blog-content { padding: 24px 26px 28px; }
.pw-blog-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: 19px; font-weight: 600; line-height: 1.35;
    margin-bottom: 10px; color: var(--pw-text-dark);
}
.pw-blog-content p {
    font-size: 13.5px; color: var(--pw-text-light);
    margin-bottom: 16px; line-height: 1.6;
}

/* ===== CITA + NEWSLETTER ===== */
.pw-quote-section {
    padding: 80px 0; background: var(--pw-bg-rose);
    border-top: 1px solid rgba(0,0,0,0.04);
}
.pw-quote-section .container {
    max-width: 880px;
    text-align: center;
}
.pw-quote-section .pw-quote-block {
    justify-content: center;
}
.pw-quote-block { display: flex; gap: 24px; align-items: flex-start; }
.pw-quote-mark {
    font-family: 'Playfair Display', serif; font-size: 72px;
    color: var(--pw-coral); line-height: 1; font-weight: 600;
}
.pw-quote-block p {
    font-family: 'Playfair Display', serif; font-style: italic;
    font-size: 22px; line-height: 1.5; color: var(--pw-text-dark);
}
.pw-newsletter-block { text-align: center; position: relative; }
.pw-newsletter-block h3 {
    font-family: 'Playfair Display', serif;
    font-size: 28px; margin-bottom: 14px; font-weight: 500;
}
.pw-newsletter-block p {
    font-size: 14px; color: var(--pw-text-light);
    margin-bottom: 24px; max-width: 380px; margin-left: auto; margin-right: auto;
}
.pw-flower-deco {
    position: absolute; right: -10px; top: -30px; font-size: 60px;
    color: var(--pw-coral); opacity: .22; pointer-events: none;
}

/* ===== FOOTER ===== */
.pw-footer {
    background: var(--pw-bg-rose);
    padding: 70px 0 30px;
    border-top: 1px solid rgba(0,0,0,0.04);
}
.pw-footer-grid {
    display: grid; grid-template-columns: 1.8fr 1fr 1fr;
    gap: 60px; margin-bottom: 50px;
}
.pw-footer-brand p {
    font-size: 13.5px; color: var(--pw-text-light);
    margin: 18px 0 20px;
}
.pw-social-links { display: flex; gap: 12px; }
.pw-social-links a {
    width: 36px; height: 36px; border-radius: 50%;
    background: white; color: var(--pw-coral);
    display: flex; align-items: center; justify-content: center;
    font-size: 14px; transition: all .3s; text-decoration: none;
}
.pw-social-links a:hover { background: var(--pw-coral); color: white; }
.pw-footer-col h4 {
    font-family: 'Open Sans', sans-serif;
    font-size: 12px; font-weight: 700;
    letter-spacing: 2px; text-transform: uppercase;
    color: var(--pw-coral); margin-bottom: 20px;
}
.pw-footer-col ul,
.pw-footer-menu {
    list-style: none; padding: 0; margin: 0;
}
.pw-footer-col li { margin-bottom: 10px; }
.pw-footer-col li a {
    font-size: 13.5px; color: var(--pw-text-light);
    text-decoration: none; transition: color .3s;
}
.pw-footer-col li a:hover { color: var(--pw-coral); }
.pw-footer-newsletter p { font-size: 13.5px; color: var(--pw-text-light); margin-bottom: 14px; }
.pw-newsletter-form {
    display: flex; background: white; border-radius: 50px;
    padding: 4px 4px 4px 18px;
}
.pw-newsletter-form input {
    flex: 1; border: none; outline: none; background: transparent;
    font-size: 13px; font-family: inherit; color: var(--pw-text-dark);
    padding: 8px 0;
}
.pw-newsletter-form button {
    width: 38px; height: 38px; border-radius: 50%; border: none;
    background: var(--pw-coral); color: white; cursor: pointer;
    transition: background .3s; display: flex; align-items: center; justify-content: center;
}
.pw-newsletter-form button:hover { background: var(--pw-coral-dark); }
.pw-footer-bottom {
    text-align: center; font-size: 12px; color: var(--pw-text-muted);
    border-top: 1px solid rgba(0,0,0,0.06); padding-top: 26px;
}

/* ===== WHATSAPP FLOATING ===== */
.pw-wa-float {
    position: fixed; bottom: 24px; right: 24px;
    width: 54px; height: 54px; border-radius: 50%;
    background: #25D366; color: white;
    display: flex; align-items: center; justify-content: center;
    font-size: 26px; text-decoration: none;
    box-shadow: 0 8px 24px rgba(37,211,102,0.4);
    z-index: 200; transition: transform .3s;
}
.pw-wa-float:hover { transform: scale(1.08); color: white; }

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
    .pw-nav {
        position: absolute; top: 100%; left: 0; right: 0;
        background: white; flex-direction: column;
        padding: 20px 24px;
        box-shadow: var(--pw-shadow);
        max-height: 0; overflow: hidden;
        transition: max-height .3s;
    }
    .pw-nav.pw-nav-open { max-height: 600px; }
    .pw-nav-menu { flex-direction: column; gap: 14px; width: 100%; align-items: flex-start; }
    .pw-mobile-toggle { display: block; }
    .pw-hero h1,
    .pw-hero-content h1 { font-size: 36px; }
    .pw-hero .container,
    .pw-quote-section .container,
    .pw-footer-grid { grid-template-columns: 1fr; gap: 40px; }
    .pw-hero { overflow: visible; }
    .pw-hero .container { min-height: auto; padding-top: 40px; padding-bottom: 40px; }
    .pw-hero-content { padding: 0; }
    .pw-hero-image { margin-right: 0; height: 420px; }
    .pw-hero-img {
        position: absolute; inset: 0; aspect-ratio: auto; max-height: none;
        -webkit-mask-image: none; mask-image: none;
        object-position: center;
        transform: none;
    }
    .pw-quote-bubble { right: 20px; bottom: 20px; max-width: 240px; }
    .pw-courses-grid,
    .pw-blog-grid { grid-template-columns: 1fr; }
    .pw-section-header h2,
    .pw-blog-header-text h2 { font-size: 28px; }
    .pw-quote-block p { font-size: 18px; }
    .pw-course-card { flex-direction: column; }
    .pw-course-poster { width: 100%; aspect-ratio: 16/9; }
    .pw-blog-header { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 600px) {
    .pw-hero { padding: 30px 0 60px; }
    .pw-steps, .pw-school, .pw-blog, .pw-quote-section { padding: 60px 0; }
    .pw-hero-img { height: 360px; }
    .pw-logo-text small { display: none; }
}

/* ===== BUSCADOR DEL BLOG ===== */
.blog-search-form {
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: 480px;
    margin: 24px auto 0;
    background: white;
    border-radius: 50px;
    padding: 6px 6px 6px 22px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    border: 1px solid var(--pw-border-soft);
}
.blog-search-form input[type="search"] {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    font-family: inherit;
    font-size: 14px;
    color: var(--pw-text-dark);
    padding: 8px 0;
}
.blog-search-form input[type="search"]::placeholder { color: var(--pw-text-muted); }
.blog-search-form button[type="submit"] {
    width: 40px; height: 40px;
    border-radius: 50%;
    border: none;
    background: var(--pw-coral);
    color: white;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: background .3s;
    font-size: 14px;
}
.blog-search-form button[type="submit"]:hover { background: var(--pw-coral-dark); }
.blog-search-clear {
    font-size: 12px;
    color: var(--pw-text-muted);
    text-decoration: none;
    padding: 0 6px;
    white-space: nowrap;
}
.blog-search-clear:hover { color: var(--pw-coral); }

.pw-no-results {
    text-align: center;
    padding: 60px 20px;
    color: var(--pw-text-light);
    font-size: 16px;
    grid-column: 1 / -1;
}

.pw-load-more-btn[disabled] {
    opacity: 0.7;
    cursor: wait;
}

/* ===== RESULTADOS DE BÚSQUEDA ===== */
.pw-search-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 28px;
}
.pw-search-card {
    background: white;
    border-radius: var(--pw-radius);
    overflow: hidden;
    border: 1px solid var(--pw-border-soft);
    transition: all .3s;
    display: flex;
    flex-direction: column;
}
.pw-search-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--pw-shadow-hover);
}
.pw-search-card-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
}
.pw-search-card-image {
    height: 180px;
    overflow: hidden;
}
.pw-search-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .5s;
}
.pw-search-card:hover .pw-search-card-image img {
    transform: scale(1.05);
}
.pw-search-card-content {
    padding: 22px 24px 26px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.pw-search-card-cat {
    font-size: 11px;
    font-weight: 700;
    color: var(--pw-coral);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 12px;
}
.pw-search-card-title {
    font-family: 'Playfair Display', serif;
    font-size: 19px;
    font-weight: 600;
    line-height: 1.35;
    color: var(--pw-text-dark);
    margin: 0 0 12px;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}
.pw-search-card-excerpt {
    font-size: 14px;
    color: var(--pw-text-light);
    line-height: 1.6;
    margin: 0 0 16px;
    flex: 1;
}
.pw-search-card-date {
    font-size: 12px;
    color: var(--pw-text-muted);
    margin-top: auto;
}

.pw-search-empty {
    text-align: center;
    max-width: 520px;
    margin: 0 auto;
    padding: 40px 20px;
}
.pw-search-empty i {
    font-size: 48px;
    color: var(--pw-coral);
    opacity: .35;
    margin-bottom: 20px;
    display: block;
}
.pw-search-empty h2 {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    margin: 0 0 14px;
    color: var(--pw-text-dark);
}
.pw-search-empty p {
    color: var(--pw-text-light);
    margin: 0 0 10px;
    font-size: 15px;
}
.pw-search-empty a {
    color: var(--pw-coral);
    font-weight: 600;
    text-decoration: underline;
}
.pw-search-empty a:hover { color: var(--pw-coral-dark); }

@media (max-width: 600px) {
    .pw-search-grid { grid-template-columns: 1fr; }
}
