/*
* VERSIÓN MOBILE-FIRST - OPTIMIZADA PARA CELULAR Y DESKTOP
* Paleta de Colores:
* #F9F7F4 - Lino Suave (Fondo)
* #E6E0D8 - Piedra Cálida (Secundario)
* #8C7B70 - Moca Intenso (Acento)
* #33302E - Carbón Cálido (Texto)
*/

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

html {
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #33302E;
    background-color: #F9F7F4;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

/* ============================================ */
/* INTRO PROFESIONAL */
/* ============================================ */

.intro-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: linear-gradient(135deg, #8C7B70 0%, #33302E 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.8s ease;
}

.intro-loader::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 50%, rgba(249,247,244,0.1) 0%, transparent 50%);
    animation: pulse 3s ease-in-out infinite;
}

.intro-content {
    text-align: center;
    color: #F9F7F4;
    animation: fadeInUp 1s ease;
    position: relative;
    z-index: 1;
    padding: 0 20px;
}

.intro-icon {
    font-size: 60px;
    margin-bottom: 15px;
    animation: float 3s ease-in-out infinite;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.3));
}

.intro-name {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
    text-shadow: 2px 4px 8px rgba(0,0,0,0.3);
}

.intro-subtitle {
    font-size: 16px;
    font-weight: 400;
    margin-bottom: 15px;
    opacity: 0.9;
}

.intro-line {
    width: 80px;
    height: 3px;
    background: #F9F7F4;
    margin: 0 auto;
    animation: expandLine 1.5s ease forwards;
    box-shadow: 0 2px 8px rgba(249,247,244,0.5);
}

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

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

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

@keyframes expandLine {
    from {
        width: 0;
    }
    to {
        width: 80px;
    }
}

.main-content {
    transition: opacity 0.8s ease;
}

/* ============================================ */
/* HEADER MOBILE-FIRST */
/* ============================================ */

.header {
    background: rgba(249, 247, 244, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 15px rgba(140, 123, 112, 0.15);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
    transition: all 0.3s ease;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    font-weight: 700;
    color: #33302E;
    text-decoration: none;
    transition: all 0.3s;
    z-index: 1001;
    position: relative;
}

.logo:hover {
    color: #8C7B70;
}

.logo-icon {
    font-size: 26px;
    filter: drop-shadow(0 2px 4px rgba(140, 123, 112, 0.3));
}

/* Menú hamburguesa SOLO MOBILE */
.menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    background: none;
    border: none;
    z-index: 1001;
}

.menu-toggle span {
    width: 26px;
    height: 3px;
    background: #33302E;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Navegación MOBILE */
.nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    max-width: 320px;
    height: 100vh;
    background: white;
    flex-direction: column;
    padding: 80px 30px 30px 30px;
    gap: 0;
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.2);
    transition: right 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    z-index: 1000;
    overflow-y: auto;
}

.nav.active {
    right: 0;
}

.nav a {
    text-decoration: none;
    color: #33302E;
    font-weight: 600;
    font-size: 18px;
    padding: 18px 0;
    border-bottom: 1px solid #E6E0D8;
    transition: all 0.3s;
    display: block;
}

.nav a:hover,
.nav a.active {
    color: #8C7B70;
    padding-left: 10px;
}

/* Overlay cuando menu abierto */
body.menu-open::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ============================================ */
/* HERO MOBILE-FIRST (MEJORADO Y CENTRADO) */
/* ============================================ */

.hero {
    padding: 50px 25px;
    background: linear-gradient(135deg, #8C7B70 0%, #33302E 100%);
    color: #F9F7F4;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(249,247,244,0.1) 0%, transparent 70%);
    animation: rotate 30s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 15px;
}

.hero-text {
    padding: 0 15px;
}

.badge {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(249, 247, 244, 0.25);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    margin-bottom: 20px;
    border: 1px solid rgba(249, 247, 244, 0.4);
    text-transform: uppercase;
}

.hero h1 {
    font-size: 28px;
    margin-bottom: 18px;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: -0.5px;
    text-shadow: 2px 4px 8px rgba(0,0,0,0.2);
}

.subtitle {
    font-size: 15px;
    margin-bottom: 30px;
    opacity: 0.95;
    line-height: 1.6;
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 320px;
    margin: 0 auto;
}

/* OCULTAR IMAGEN SOLO EN MOBILE */
.hero-image {
    display: none;
}

.btn-primary,
.btn-secondary {
    padding: 16px 30px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    transition: all 0.3s ease;
    display: block;
    text-align: center;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.btn-primary::before,
.btn-secondary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-primary:hover::before,
.btn-secondary:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: #8C7B70;
    color: #F9F7F4;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.btn-primary:active {
    transform: scale(0.98);
}

.btn-secondary {
    background: transparent;
    color: #F9F7F4;
    border: 2px solid #F9F7F4;
}

.btn-secondary:active {
    background: rgba(249, 247, 244, 0.2);
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ============================================ */
/* SECTIONS MOBILE-FIRST */
/* ============================================ */

.services-preview,
.benefits,
.modalities,
.education-section,
.credentials,
.approach-section,
.profile-section,
.services-detail,
.contact-section,
.faq-section {
    padding: 50px 0;
}

.section-title {
    text-align: center;
    font-size: 28px;
    margin-bottom: 35px;
    color: #33302E;
    font-weight: 800;
    letter-spacing: -0.5px;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #8C7B70, #33302E);
    border-radius: 2px;
}

/* GRIDS MOBILE (1 columna) */
.services-grid,
.benefits-grid,
.modalities-grid,
.approach-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
    margin-bottom: 40px;
}

/* ============================================ */
/* TARJETAS MOBILE */
/* ============================================ */

.service-card,
.benefit-item,
.approach-card,
.modality-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(140, 123, 112, 0.15);
    transition: all 0.3s ease;
    min-height: 350px;
    display: flex;
    flex-direction: column;
    position: relative;
}

.service-card::before,
.benefit-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #8C7B70, #33302E);
    z-index: 1;
}

.service-image,
.benefit-image,
.approach-image,
.modality-image {
    position: relative;
    height: 180px;
    overflow: hidden;
    flex-shrink: 0;
}

.service-image img,
.benefit-image img,
.approach-image img,
.modality-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 60%, rgba(0,0,0,0) 100%);
    -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 60%, rgba(0,0,0,0) 100%);
}

.service-content {
    padding: 25px 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    gap: 12px;
}

.service-card h3,
.benefit-item h3 {
    color: #33302E;
    font-size: 19px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 10px;
}

.service-card p,
.benefit-item p {
    color: #666;
    line-height: 1.7;
    font-size: 15px;
    flex-grow: 1;
}

.approach-card h3,
.modality-card h3 {
    padding: 25px 20px 15px 20px;
    color: #33302E;
    font-size: 19px;
    font-weight: 700;
}

.approach-card p,
.modality-card p {
    padding: 0 20px 25px 20px;
    color: #666;
    line-height: 1.7;
    font-size: 15px;
    flex-grow: 1;
}

/* ============================================ */
/* SERVICIOS DETALLADOS */
/* ============================================ */

.service-image-large {
    height: 180px;
    overflow: hidden;
    border-radius: 15px 15px 0 0;
}

.service-image-large img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 60%, rgba(0,0,0,0) 100%);
    -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 60%, rgba(0,0,0,0) 100%);
}

.service-detail-card {
    background: white;
    border-radius: 15px;
    margin-bottom: 30px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(140, 123, 112, 0.15);
}

.service-detail-content {
    padding: 25px 20px;
}

.service-detail-content h2 {
    margin-bottom: 15px;
    color: #33302E;
    font-size: 24px;
    font-weight: 800;
}

.service-detail-content ul {
    margin-top: 15px;
    padding-left: 0;
    list-style: none;
}

.service-detail-content li {
    margin-bottom: 10px;
    color: #666;
    padding-left: 25px;
    position: relative;
    line-height: 1.6;
    font-size: 15px;
}

.service-detail-content li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #8C7B70;
    font-weight: 700;
    font-size: 16px;
}

/* ============================================ */
/* PERFIL MOBILE */
/* ============================================ */

.profile-section {
    background: linear-gradient(135deg, #F9F7F4 0%, #E6E0D8 100%);
}

.profile-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.profile-image-container {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(140, 123, 112, 0.2);
    background: linear-gradient(135deg, #8C7B70, #33302E);
    padding: 6px;
    max-width: 100%;
}

.profile-image-wrapper {
    border-radius: 10px;
    overflow: hidden;
    background: white;
    position: relative;
}

.profile-main-image {
    width: 100%;
    height: auto;
    display: block;
}

.profile-badge {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(140, 123, 112, 0.95);
    backdrop-filter: blur(10px);
    color: white;
    padding: 12px 25px;
    border-radius: 40px;
    font-weight: 700;
    font-size: 14px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
    white-space: nowrap;
}

.profile-text {
    background: white;
    padding: 30px 25px;
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(140, 123, 112, 0.15);
}

.profile-text h2 {
    margin-bottom: 20px;
    color: #33302E;
    font-size: 26px;
    font-weight: 800;
    position: relative;
    padding-bottom: 15px;
}

.profile-text h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #8C7B70, #33302E);
    border-radius: 2px;
}

.profile-text p {
    margin-bottom: 18px;
    line-height: 1.7;
    color: #666;
    font-size: 15px;
}

/* ============================================ */
/* TIMELINE MOBILE */
/* ============================================ */

.education-section {
    background: white;
}

.timeline {
    max-width: 100%;
    margin: 0 auto;
    position: relative;
    padding-left: 40px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 14px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, #8C7B70 0%, #33302E 100%);
    border-radius: 3px;
}

.timeline-item {
    margin-bottom: 40px;
    position: relative;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -32px;
    top: 5px;
    width: 14px;
    height: 14px;
    background: #8C7B70;
    border-radius: 50%;
    border: 3px solid #F9F7F4;
    box-shadow: 0 0 0 4px #8C7B70;
    z-index: 2;
}

.timeline-content {
    background: white;
    padding: 25px 20px;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(140, 123, 112, 0.15);
    border-left: 3px solid #8C7B70;
}

.timeline-year {
    display: inline-block;
    background: linear-gradient(135deg, #8C7B70, #786859);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.timeline-content h3 {
    margin: 12px 0 10px 0;
    color: #33302E;
    font-size: 20px;
    font-weight: 700;
}

.timeline-content p {
    color: #666;
    line-height: 1.6;
    font-size: 14px;
}

/* ============================================ */
/* MATRICULAS MOBILE */
/* ============================================ */

.credentials {
    background: linear-gradient(135deg, #E6E0D8 0%, #F9F7F4 100%);
}

.credentials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
}

.credential-card {
    background: white;
    padding: 35px 25px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 8px 30px rgba(140, 123, 112, 0.15);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.credential-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #8C7B70, #33302E);
}

.credential-icon {
    font-size: 40px;
    margin-bottom: 15px;
    display: block;
}

.credential-card h3 {
    font-size: 20px;
    color: #33302E;
    margin-bottom: 15px;
    font-weight: 700;
}

.credential-number {
    font-size: 32px;
    font-weight: 800;
    color: #8C7B70;
    margin: 15px 0;
    display: block;
}

.verify-link {
    display: inline-block;
    margin-top: 15px;
    padding: 12px 28px;
    background: linear-gradient(135deg, #8C7B70, #786859);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s;
}

.verify-link::before {
    content: '🔗 ';
}

/* ============================================ */
/* FAQ MOBILE */
/* ============================================ */

.faq-section {
    background: white;
}

.faq-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.faq-item {
    background: #F9F7F4;
    padding: 25px 20px;
    border-radius: 12px;
    border-left: 3px solid #8C7B70;
    transition: all 0.3s ease;
}

.faq-item h3 {
    font-size: 17px;
    color: #33302E;
    margin-bottom: 12px;
    line-height: 1.4;
}

.faq-item p {
    color: #666;
    line-height: 1.7;
    font-size: 14px;
}

/* ============================================ */
/* CONTACTO MOBILE */
/* ============================================ */

.contact-section {
    background: #F9F7F4;
}

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

.contact-form-wrapper {
    background: white;
    padding: 30px 25px;
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(140, 123, 112, 0.15);
}

.contact-form-wrapper h2 {
    font-size: 26px;
    color: #33302E;
    margin-bottom: 12px;
}

.form-description {
    color: #666;
    margin-bottom: 25px;
    line-height: 1.6;
    font-size: 14px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    color: #33302E;
    margin-bottom: 8px;
    font-size: 14px;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 14px 16px;
    border: 2px solid #E6E0D8;
    border-radius: 10px;
    font-size: 16px;
    font-family: inherit;
    transition: all 0.3s;
    background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #8C7B70;
    box-shadow: 0 0 0 3px rgba(140, 123, 112, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.mensaje-respuesta {
    display: none;
    padding: 14px;
    border-radius: 10px;
    font-weight: 600;
    text-align: center;
    margin: 15px 0;
    font-size: 14px;
}

.mensaje-respuesta.exito {
    background: #d4edda;
    color: #155724;
    border: 2px solid #c3e6cb;
}

.mensaje-respuesta.error {
    background: #f8d7da;
    color: #721c24;
    border: 2px solid #f5c6cb;
}

.mensaje-respuesta.info {
    background: #d1ecf1;
    color: #0c5460;
    border: 2px solid #bee5eb;
}

.btn-full {
    width: 100%;
    padding: 16px;
    font-size: 16px;
}

.form-note {
    font-size: 12px;
    color: #999;
    text-align: center;
    margin-top: 8px;
}

.contact-info-wrapper {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-info-card {
    background: white;
    padding: 25px 20px;
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(140, 123, 112, 0.15);
}

.contact-info-card h3 {
    font-size: 20px;
    color: #33302E;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #E6E0D8;
}

.info-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.info-item:last-child {
    margin-bottom: 0;
}

.info-icon {
    font-size: 28px;
    flex-shrink: 0;
}

.info-item strong {
    display: block;
    color: #33302E;
    font-size: 15px;
    margin-bottom: 5px;
}

.info-item p {
    color: #666;
    margin-bottom: 10px;
    font-size: 14px;
}

.btn-whatsapp,
.btn-email,
.btn-location {
    display: inline-block;
    padding: 10px 20px;
    background: linear-gradient(135deg, #8C7B70, #786859);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    font-size: 13px;
    transition: all 0.3s;
    margin-top: 6px;
}

.schedule-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #E6E0D8;
    font-size: 14px;
}

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

.schedule-item span {
    color: #666;
}

.schedule-item strong {
    color: #8C7B70;
    font-size: 15px;
}

/* ============================================ */
/* PAGE HERO MOBILE */
/* ============================================ */

.page-hero {
    padding: 50px 0;
    background: linear-gradient(135deg, #8C7B70 0%, #33302E 100%);
    color: #F9F7F4;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(249,247,244,0.1) 0%, transparent 70%);
}

.page-hero h1 {
    font-size: 28px;
    font-weight: 800;
    text-shadow: 2px 4px 8px rgba(0,0,0,0.2);
    position: relative;
    z-index: 1;
}

/* ============================================ */
/* CTA SECTION MOBILE */
/* ============================================ */

.cta-section {
    padding: 50px 0;
    background: linear-gradient(135deg, #8C7B70 0%, #33302E 100%);
    color: #F9F7F4;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(249,247,244,0.1) 0%, transparent 70%);
}

.cta-section h2 {
    font-size: 24px;
    margin-bottom: 15px;
    font-weight: 800;
    text-shadow: 2px 4px 8px rgba(0,0,0,0.2);
    position: relative;
    z-index: 1;
}

.cta-section p {
    font-size: 15px;
    margin-bottom: 25px;
    opacity: 0.95;
    position: relative;
    z-index: 1;
}

/* ============================================ */
/* FOOTER MOBILE */
/* ============================================ */

.footer {
    background: #33302E;
    color: #F9F7F4;
    padding: 40px 0 20px 0;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #8C7B70, #33302E);
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
    margin-bottom: 25px;
}

.footer-col h4 {
    margin-bottom: 15px;
    font-size: 17px;
    font-weight: 700;
    color: #8C7B70;
}

.footer-col p {
    line-height: 1.7;
    opacity: 0.9;
    font-size: 14px;
    margin-bottom: 6px;
}

.footer-bottom {
    border-top: 1px solid rgba(249, 247, 244, 0.1);
    padding-top: 20px;
    text-align: center;
    opacity: 0.8;
    font-size: 13px;
}

/* ============================================ */
/* DARK MODE TOGGLE */
/* ============================================ */

.dark-mode-toggle {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #8C7B70, #6B5745);
    border-radius: 50%;
    border: none;
    cursor: pointer;
    font-size: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    z-index: 999;
    transition: all 0.3s ease;
}

.dark-mode-toggle:hover {
    transform: scale(1.1) rotate(15deg);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4);
}

.dark-mode-toggle:active {
    transform: scale(0.95);
}

/* DARK MODE STYLES */
body.dark-mode {
    background-color: #1a1a1a;
    color: #E6E0D8;
}

body.dark-mode .header {
    background: rgba(30, 30, 30, 0.98);
}

body.dark-mode .logo,
body.dark-mode .nav a {
    color: #E6E0D8;
}

body.dark-mode .nav {
    background: #1a1a1a;
}

body.dark-mode .menu-toggle span {
    background: #E6E0D8;
}

body.dark-mode .service-card,
body.dark-mode .benefit-item,
body.dark-mode .approach-card,
body.dark-mode .modality-card,
body.dark-mode .contact-form-wrapper,
body.dark-mode .contact-info-card,
body.dark-mode .credential-card,
body.dark-mode .profile-text,
body.dark-mode .timeline-content,
body.dark-mode .service-detail-card {
    background: #2a2a2a;
    color: #E6E0D8;
}

body.dark-mode .service-card h3,
body.dark-mode .benefit-item h3,
body.dark-mode .section-title,
body.dark-mode .profile-text h2,
body.dark-mode .contact-form-wrapper h2,
body.dark-mode .contact-info-card h3,
body.dark-mode .credential-card h3,
body.dark-mode .faq-item h3 {
    color: #F9F7F4;
}

body.dark-mode .service-card p,
body.dark-mode .benefit-item p,
body.dark-mode .profile-text p,
body.dark-mode .faq-item p,
body.dark-mode .info-item p,
body.dark-mode .timeline-content p {
    color: #B8B8B8;
}

body.dark-mode .footer {
    background: #0f0f0f;
}

body.dark-mode .faq-item {
    background: #2a2a2a;
    color: #E6E0D8;
}

body.dark-mode input,
body.dark-mode select,
body.dark-mode textarea {
    background: #1a1a1a;
    color: #E6E0D8;
    border-color: #444;
}

body.dark-mode .form-group label {
    color: #E6E0D8;
}

body.dark-mode .services-preview,
body.dark-mode .benefits,
body.dark-mode .approach-section {
    background: #1a1a1a;
}

body.dark-mode .profile-section,
body.dark-mode .credentials {
    background: #1a1a1a;
}

body.dark-mode .education-section,
body.dark-mode .faq-section,
body.dark-mode .contact-section {
    background: #1a1a1a;
}

/* ============================================ */
/* OPTIMIZACIONES TOUCH MOBILE */
/* ============================================ */

* {
    -webkit-tap-highlight-color: transparent;
}

.btn-primary,
.btn-secondary,
.btn-whatsapp,
.btn-email,
.btn-location,
.verify-link {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Prevenir zoom en inputs iOS */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="date"],
select,
textarea {
    font-size: 16px !important;
}

/* ============================================ */
/* TABLET - 768px+ */
/* ============================================ */

@media (min-width: 768px) {
    /* Intro más grande */
    .intro-icon {
        font-size: 70px;
    }

    .intro-name {
        font-size: 42px;
    }

    .intro-subtitle {
        font-size: 22px;
    }

    .intro-line {
        width: 100px;
    }

    /* Header DESKTOP - Menú horizontal */
    .header {
        padding: 20px 0;
    }

    .logo {
        font-size: 24px;
    }

    .logo-icon {
        font-size: 32px;
    }

    .logo::after {
        content: '';
        position: absolute;
        bottom: -5px;
        left: 0;
        width: 0;
        height: 3px;
        background: linear-gradient(90deg, #8C7B70, #33302E);
        transition: width 0.3s;
    }

    .logo:hover::after {
        width: 100%;
    }

    .logo:hover {
        transform: translateY(-2px);
    }

    /* OCULTAR hamburguesa en DESKTOP */
    .menu-toggle {
        display: none;
    }

    /* Menú horizontal DESKTOP */
    .nav {
        position: static;
        width: auto;
        height: auto;
        background: none;
        flex-direction: row;
        padding: 0;
        gap: 30px;
        box-shadow: none;
        display: flex !important;
    }

    .nav a {
        padding: 8px 0;
        border-bottom: none;
        font-size: 16px;
        position: relative;
    }

    .nav a::before {
        content: '';
        position: absolute;
        bottom: 0;
        left: 50%;
        width: 0;
        height: 2px;
        background: #8C7B70;
        transition: all 0.3s;
        transform: translateX(-50%);
    }

    .nav a:hover::before,
    .nav a.active::before {
        width: 100%;
    }

    .nav a:hover,
    .nav a.active {
        color: #8C7B70;
        padding-left: 0;
    }

    /* NO overlay en desktop */
    body.menu-open::before {
        display: none;
    }

    /* Hero con imagen EN DESKTOP */
    .hero {
        padding: 80px 40px;
        text-align: left;
    }

    .hero-content {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 50px;
        align-items: center;
        padding: 0 30px;
    }

    .hero-text {
        padding: 0;
    }

    /* MOSTRAR IMAGEN EN DESKTOP */
    .hero-image {
        display: block;
        border-radius: 20px;
        overflow: hidden;
        box-shadow: 0 20px 50px rgba(0,0,0,0.3);
        animation: fadeInScale 1.5s ease;
    }

    @keyframes fadeInScale {
        from {
            opacity: 0;
            transform: scale(0.95);
        }
        to {
            opacity: 1;
            transform: scale(1);
        }
    }

    .hero-image img {
        width: 100%;
        height: auto;
        display: block;
        mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 60%, rgba(0,0,0,0) 100%);
        -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 60%, rgba(0,0,0,0) 100%);
    }

    .badge {
        padding: 10px 20px;
        font-size: 13px;
        margin-bottom: 25px;
        animation: slideInLeft 0.8s ease;
    }

    .hero h1 {
        font-size: 38px;
        margin-bottom: 25px;
        animation: slideInLeft 1s ease;
    }

    .subtitle {
        font-size: 18px;
        max-width: 100%;
        margin-left: 0;
        margin-right: 0;
        animation: slideInLeft 1.2s ease;
    }

    .hero-buttons {
        flex-direction: row;
        max-width: 100%;
        margin: 0;
        animation: slideInLeft 1.4s ease;
    }

    .btn-primary,
    .btn-secondary {
        width: auto;
        padding: 16px 35px;
    }

    /* Sections */
    .section-title {
        font-size: 38px;
        margin-bottom: 50px;
    }

    .services-preview,
    .benefits,
    .modalities,
    .education-section,
    .credentials,
    .approach-section,
    .profile-section,
    .services-detail,
    .contact-section,
    .faq-section {
        padding: 70px 0;
    }

    /* Grids 2 columnas */
    .services-grid,
    .benefits-grid,
    .modalities-grid,
    .approach-grid,
    .faq-grid,
    .credentials-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    /* Cards más grandes */
    .service-card,
    .benefit-item,
    .approach-card,
    .modality-card {
        min-height: 380px;
    }

    .service-image,
    .benefit-image,
    .approach-image,
    .modality-image {
        height: 200px;
    }

    .service-content {
        padding: 30px 25px;
    }

    .approach-card h3,
    .modality-card h3 {
        padding: 30px 25px 20px 25px;
        font-size: 20px;
    }

    .approach-card p,
    .modality-card p {
        padding: 0 25px 30px 25px;
    }

    /* Perfil 2 columnas */
    .profile-content {
        display: grid;
        grid-template-columns: 350px 1fr;
        gap: 50px;
    }

    .profile-text {
        padding: 40px;
    }

    .profile-text h2 {
        font-size: 36px;
    }

    .profile-text p {
        font-size: 16px;
    }

    /* Timeline más ancho */
    .timeline {
        padding-left: 50px;
    }

    .timeline::before {
        left: 20px;
        width: 4px;
    }

    .timeline-item::before {
        left: -38px;
        width: 18px;
        height: 18px;
    }

    .timeline-content {
        padding: 30px;
    }

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

    .timeline-content p {
        font-size: 15px;
    }

    /* Contacto 2 columnas */
    .contact-grid {
        grid-template-columns: 1.2fr 1fr;
        gap: 40px;
    }

    .contact-form-wrapper {
        padding: 40px;
    }

    .contact-form-wrapper h2 {
        font-size: 30px;
    }

    .form-row {
        grid-template-columns: 1fr 1fr;
    }

    .contact-info-card {
        padding: 30px;
    }

    /* CTA */
    .cta-section h2 {
        font-size: 32px;
    }

    .cta-section p {
        font-size: 17px;
    }

    .page-hero {
        padding: 70px 0;
    }

    .page-hero h1 {
        font-size: 38px;
    }

    /* Footer 3 columnas */
    .footer-content {
        grid-template-columns: repeat(3, 1fr);
        gap: 40px;
    }

    .footer {
        padding: 50px 0 30px 0;
    }

    /* Dark mode toggle */
    .dark-mode-toggle {
        width: 60px;
        height: 60px;
        font-size: 28px;
    }
}

/* ============================================ */
/* DESKTOP - 1024px+ */
/* ============================================ */

@media (min-width: 1024px) {
    /* Intro */
    .intro-icon {
        font-size: 80px;
    }

    .intro-name {
        font-size: 52px;
    }

    .intro-subtitle {
        font-size: 26px;
    }

    /* Hero grande DESKTOP */
    .hero {
        padding: 100px 60px;
    }

    .hero-content {
        gap: 60px;
        padding: 0 40px;
    }

    .hero h1 {
        font-size: 52px;
    }

    .subtitle {
        font-size: 20px;
    }

    /* Sections espaciadas */
    .services-preview,
    .benefits,
    .modalities,
    .education-section,
    .credentials,
    .approach-section,
    .profile-section,
    .services-detail,
    .contact-section,
    .faq-section {
        padding: 80px 0;
    }

    .section-title {
        font-size: 48px;
        margin-bottom: 60px;
    }

    /* Grids 3 columnas */
    .services-grid,
    .benefits-grid,
    .approach-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 35px;
    }

    /* Triángulo invertido (4to elemento centrado) */
    .services-grid .service-card:nth-child(4),
    .benefits-grid .benefit-item:nth-child(4),
    .approach-grid .approach-card:nth-child(4) {
        grid-column: 2 / 3;
    }

    /* Cards desktop */
    .service-card,
    .benefit-item,
    .approach-card,
    .modality-card {
        min-height: 420px;
    }

    .service-content {
        padding: 35px 30px;
    }

    .service-card h3,
    .benefit-item h3 {
        font-size: 20px;
    }

    .approach-card h3,
    .modality-card h3 {
        padding: 35px 30px 20px 30px;
        font-size: 22px;
    }

    .approach-card p,
    .modality-card p {
        padding: 0 30px 35px 30px;
        font-size: 15px;
    }

    /* Hover effects desktop */
    .service-card:hover,
    .benefit-item:hover,
    .approach-card:hover,
    .modality-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 15px 40px rgba(140, 123, 112, 0.25);
    }

    .service-card:hover .service-image img,
    .benefit-item:hover .benefit-image img,
    .approach-card:hover .approach-image img,
    .modality-card:hover .modality-image img {
        transform: scale(1.1);
    }

    .service-card:hover h3,
    .benefit-item:hover h3,
    .approach-card:hover h3,
    .modality-card:hover h3 {
        color: #8C7B70;
    }

    .credential-card:hover {
        transform: translateY(-10px) scale(1.05);
        box-shadow: 0 20px 60px rgba(140, 123, 112, 0.3);
    }

    .faq-item:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 30px rgba(140, 123, 112, 0.2);
    }

    .timeline-content:hover {
        transform: translateX(10px);
        box-shadow: 0 15px 50px rgba(140, 123, 112, 0.25);
    }

    /* Perfil más ancho */
    .profile-content {
        grid-template-columns: 380px 1fr;
        gap: 60px;
    }

    .profile-text {
        padding: 50px;
    }

    .profile-text h2 {
        font-size: 42px;
    }

    .profile-text p {
        font-size: 17px;
    }

    /* Timeline */
    .timeline {
        padding-left: 60px;
    }

    .timeline::before {
        left: 24px;
    }

    .timeline-item::before {
        left: -44px;
        width: 20px;
        height: 20px;
    }

    .timeline-content {
        padding: 35px;
    }

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

    .timeline-content p {
        font-size: 16px;
    }

    /* Servicios detallados */
    .service-image-large {
        height: 200px;
    }

    .service-detail-content {
        padding: 35px;
    }

    .service-detail-content h2 {
        font-size: 28px;
    }

    .service-detail-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 20px 50px rgba(140, 123, 112, 0.25);
    }

    /* CTA */
    .cta-section h2 {
        font-size: 38px;
    }

    .cta-section p {
        font-size: 18px;
    }

    .page-hero h1 {
        font-size: 48px;
    }

    /* Contacto */
    .contact-form-wrapper {
        padding: 50px;
    }

    .contact-form-wrapper h2 {
        font-size: 32px;
    }
}

/* FAQ 3 columnas en muy grandes pantallas */
@media (min-width: 1200px) {
    .faq-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Dark mode toggle en mobile */
@media (max-width: 768px) {
    .dark-mode-toggle {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 24px;
    }
}
