/* RESET GENERAL */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Times New Roman', Times, serif; /* Mantiene la estética editorial elegante de la imagen */
}

body {
    background-color: #FAF6F3; /* Fondo beige claro general */
    color: #2C2C2C;
    scroll-behavior: smooth;
}

h1, h2, h3 {
    font-weight: normal;
    color: #1F2836;
}

/* PALETA DE ACENTOS */
:root {
    --rosa-principal: #DE8F97;
    --rosa-hover: #C57B83;
    --azul-oscuro: #1E2B3E;
    --beige-fondo: #F5EFEA;
}

/* SUBTÍTULOS EN MAYÚSCULAS */
.subtitle {
    display: block;
    font-family: sans-serif;
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--rosa-principal);
    margin-bottom: 15px;
}

/* HEADER */
header {
    background-color: #FAF6F3;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 8%;
    position: sticky;
    top: 0;
    z-index: 1000;
}

header .logo {
    font-size: 18px;
    letter-spacing: 3px;
}

nav a {
    text-decoration: none;
    color: #444;
    margin-left: 25px;
    font-family: sans-serif;
    font-size: 13px;
    transition: 0.3s;
}

nav a:hover {
    color: var(--rosa-principal);
}

.btn-nav {
    background-color: var(--rosa-principal);
    color: white !important;
    padding: 8px 16px;
    border-radius: 4px;
}

/* HERO SECTION */
.hero {
    display: table;
    width: 100%;
    padding: 60px 8%;
    background-color: #FAF6F3;
}

.hero-content {
    display: table-cell;
    width: 50%;
    vertical-align: middle;
    padding-right: 50px;
}

.hero-content h1 {
    font-size: 42px;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-image {
    display: table-cell;
    width: 50%;
    vertical-align: middle;
}

.img-placeholder {
    background-color: #E2D9D3;
    background-size: cover;
    background-position: center;
    border-radius: 4px;
}

.main-coach {
    height: 450px;
    background-image: url('../img/nt11.jpg');
}

.btn-primary, .btn-submit {
    background-color: var(--rosa-principal);
    color: white;
    text-decoration: none;
    padding: 12px 28px;
    display: inline-block;
    font-family: sans-serif;
    font-size: 13px;
    border: none;
    cursor: pointer;
    border-radius: 4px;
    transition: 0.3s;
}

.btn-primary:hover, .btn-submit:hover {
    background-color: var(--rosa-hover);
}

/* SOBRE MÍ */
.about {
    background-color: #EEF4F8; /* Tono azulado muy sutil como la imagen */
    padding: 80px 8%;
}

.about-container {
    display: table;
    width: 100%;
}

.about-image {
    display: table-cell;
    width: 45%;
}

.coach-desk {
    height: 380px;
    background-image: url('../img/nt22.jpg'); /* Añade esta línea */
}

.about-text {
    display: table-cell;
    width: 55%;
    vertical-align: middle;
    padding-left: 60px;
}

.about-text h2 {
    font-size: 32px;
    margin-bottom: 20px;
}

.about-text p {
    font-size: 16px;
    line-height: 1.6;
    color: #555;
    margin-bottom: 25px;
}

.btn-secondary {
    border: 1px solid var(--rosa-principal);
    color: var(--rosa-principal);
    padding: 10px 24px;
    text-decoration: none;
    font-family: sans-serif;
    font-size: 13px;
    display: inline-block;
    transition: 0.3s;
}

.btn-secondary:hover {
    background-color: var(--rosa-principal);
    color: white;
}

/* SERVICIOS */
.services {
    padding: 80px 8%;
    text-align: center;
    background-color: #FAF6F3;
}

.services h2 {
    font-size: 32px;
    margin-bottom: 40px;
}

.services-grid {
    display: table;
    width: 100%;
    table-layout: fixed;
}

.service-card {
    display: table-cell;
    background: white;
    padding: 30px;
    margin: 10px; /* Nota: table-cell no respeta márgenes directos, se compensa visualmente */
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.02);
    text-align: left;
    border: 1px solid #F0EAE5;
}

.service-card .icon {
    font-size: 24px;
    margin-bottom: 15px;
}

.service-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
}

.service-card ul {
    list-style: none;
    font-family: sans-serif;
    font-size: 13px;
    color: #555;
    line-height: 2;
}

/* TESTIMONIOS */
.testimonials {
    background-color: var(--azul-oscuro);
    color: white;
    padding: 80px 8%;
    text-align: center;
}

.testimonials h2 {
    color: white;
    font-size: 32px;
    margin-bottom: 40px;
}

.testimonials-grid {
    display: table;
    width: 100%;
    table-layout: fixed;
}

.testimonial-card {
    display: table-cell;
    background-color: rgba(255, 255, 255, 0.05);
    padding: 25px;
    border-radius: 6px;
    margin: 0 10px;
    text-align: left;
    position: relative;
}

.testimonial-card p {
    font-size: 14px;
    line-height: 1.5;
    font-style: italic;
    margin-bottom: 20px;
}

.testimonial-card .time {
    display: block;
    font-size: 11px;
    color: rgba(255,255,255,0.4);
    font-family: sans-serif;
}

/* FILOSOFÍA */
.philosophy {
    padding: 80px 8%;
    background-color: #FAF6F3;
}

.philosophy-container {
    display: table;
    width: 100%;
}

.philosophy-image {
    display: table-cell;
    width: 45%;
}

.coach-sea {
    height: 380px;
    background-image: url('../img/nt33.jpg');
}

.philosophy-text {
    display: table-cell;
    width: 55%;
    vertical-align: middle;
    padding-left: 60px;
}

.philosophy-text h2 {
    font-size: 32px;
    margin-bottom: 20px;
}

.philosophy-text p {
    font-size: 16px;
    color: #555;
}

/* FORMULARIO POR PASOS */
.form-section {
    padding: 80px 8%;
    background-color: var(--beige-fondo);
}

.form-container {
    background-color: white;
    max-width: 700px;
    margin: 0 auto;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.form-container h2 {
    text-align: center;
    margin-bottom: 10px;
}

/* Barra de progreso */
.progress-bar {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
    position: relative;
}

.step {
    width: 35px;
    height: 35px;
    background-color: #E2D9D3;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: sans-serif;
    font-size: 14px;
    font-weight: bold;
    color: #777;
    z-index: 2;
    transition: 0.3s;
}

.step.active {
    background-color: var(--rosa-principal);
    color: white;
}

/* Ocultar los pasos inactivos */
.form-step {
    display: none;
}

.form-step.active-step {
    display: block;
}

.form-step h3 {
    margin-bottom: 20px;
    border-bottom: 1px solid #EEE;
    padding-bottom: 10px;
    font-size: 20px;
}

/* Campos de entrada */
.input-group {
    margin-bottom: 20px;
}

.input-group label {
    display: block;
    font-family: sans-serif;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #444;
}

.input-group input[type="text"],
.input-group input[type="number"],
.input-group input[type="date"],
.input-group select,
.input-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #CCC;
    border-radius: 4px;
    font-family: sans-serif;
    font-size: 14px;
}

.input-group textarea {
    resize: vertical;
}

.row-inputs {
    display: flex;
    gap: 15px;
}

.row-inputs > div {
    flex: 1;
}

.radio-group label {
    display: block;
    font-weight: normal;
    margin-bottom: 8px;
    cursor: pointer;
}

/* Horas de la agenda en rejilla */
.horas-grid {
    display: grid;
    grid-template-columns: repeat(4, 15fr);
    gap: 10px;
    margin-top: 10px;
}

.hora-btn {
    background-color: #F0EAE5;
    border: 1px solid #DDD;
    padding: 10px;
    text-align: center;
    border-radius: 4px;
    cursor: pointer;
    font-family: sans-serif;
    font-size: 13px;
    transition: 0.2s;
}

.hora-btn:hover:not(.disabled) {
    background-color: var(--rosa-principal);
    color: white;
}

.hora-btn.selected {
    background-color: var(--azul-oscuro) !important;
    color: white !important;
}

.hora-btn.disabled {
    background-color: #E0E0E0;
    color: #A0A0A0;
    cursor: not-allowed;
    text-decoration: line-through;
}

/* Botones de navegación interna */
.form-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
}

.btn-next, .btn-prev {
    background-color: #1F2836;
    color: white;
    border: none;
    padding: 10px 22px;
    font-family: sans-serif;
    font-size: 13px;
    border-radius: 4px;
    cursor: pointer;
}

.btn-prev {
    background-color: #888;
}

/* FOOTER */
footer {
    background-color: #1F2836;
    color: white;
    text-align: center;
    padding: 40px 20px;
}

/* ==========================================
   ESTILOS DEL MODAL (POP-UP)
   ========================================== */
.modal-overlay {
    display: none; /* Oculto por defecto */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(31, 40, 54, 0.85); /* Azul oscuro de tu marca, casi opaco */
    z-index: 2000; /* Por encima del header fijo */
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    display: flex;
    opacity: 1;
}

.modal-content {
    background-color: white; /* o var(--beige-fondo) si prefieres */
    width: 90%;
    max-width: 750px;
    max-height: 90vh; /* Altura máxima del 90% de la pantalla */
    overflow-y: auto; /* Permite scroll interno si la pantalla es pequeña */
    border-radius: 8px;
    position: relative;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
    padding: 10px;
}

/* Modificamos la apariencia del section original para que quepa bien */
.modal-content .form-section {
    padding: 30px 20px;
    background-color: transparent;
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 25px;
    font-size: 28px;
    color: #888;
    cursor: pointer;
    z-index: 10;
    transition: color 0.2s;
}

.close-modal:hover {
    color: var(--rosa-principal);
}

/* ==========================================
   ESTILOS DE LA SECCIÓN DE PRECIOS
   ========================================== */
.pricing {
    padding: 80px 8%;
    text-align: center;
    background-color: #FAF6F3;
}

.pricing h2 {
    font-size: 32px;
    margin-bottom: 40px;
}

.pricing-grid {
    display: table;
    width: 100%;
    table-layout: fixed;
    margin-bottom: 50px;
}

.price-card {
    display: table-cell;
    background: white;
    padding: 40px 30px;
    border-radius: 8px;
    border: 1px solid #F0EAE5;
    text-align: left;
    vertical-align: top;
    position: relative;
    box-shadow: 0 4px 15px rgba(0,0,0,0.01);
}

.price-card.featured {
    border: 2px solid var(--rosa-principal);
    background-color: #FFFDFB;
}

.price-card .badge {
    position: absolute;
    top: -12px;
    left: 30px;
    background-color: var(--rosa-principal);
    color: white;
    font-family: sans-serif;
    font-size: 10px;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 20px;
}

.price-card h3 {
    font-size: 24px;
    margin-bottom: 5px;
}

.price-card .location {
    font-family: sans-serif;
    font-size: 12px;
    color: #777;
    margin-bottom: 20px;
}

.price-card .price {
    font-size: 36px;
    color: var(--azul-oscuro);
    margin-bottom: 5px;
}

.price-card .price .period {
    font-size: 14px;
    font-family: sans-serif;
    color: #666;
}

.price-card .price-alt {
    font-family: sans-serif;
    font-size: 13px;
    color: var(--rosa-principal);
    margin-bottom: 20px;
    font-weight: bold;
}

.price-features {
    list-style: none;
    font-family: sans-serif;
    font-size: 13px;
    color: #555;
    line-height: 1.8;
    margin-top: 20px;
    border-top: 1px solid #F0EAE5;
    padding-top: 20px;
}

/* Caja de datos bancarios */
.bank-info {
    max-width: 600px;
    margin: 40px auto 0 auto;
    background-color: #EEF4F8;
    padding: 30px;
    border-radius: 6px;
    text-align: center;
}

.bank-info h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--azul-oscuro);
}

.bank-info p {
    font-family: sans-serif;
    font-size: 14px;
    color: #555;
    margin-bottom: 15px;
}

.bank-details-box {
    display: inline-block;
    text-align: left;
    background: white;
    padding: 15px 30px;
    border-radius: 4px;
    border-left: 4px solid var(--rosa-principal);
}

.bank-details-box p {
    margin-bottom: 5px;
    font-size: 14px;
    color: #333;
}

/* Estilos para el Pop-up de Aviso */
.notice-modal-content {
    background-color: white;
    width: 90%;
    max-width: 500px;
    padding: 40px;
    border-radius: 8px;
    position: relative;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}

.notice-modal-content h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--azul-oscuro);
}

.notice-modal-content p {
    font-family: sans-serif;
    font-size: 14px;
    color: #555;
    line-height: 1.5;
    margin-bottom: 30px;
}

.notice-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.btn-notice-primary, .btn-notice-secondary {
    padding: 12px 20px;
    font-family: sans-serif;
    font-size: 13px;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
    border: none;
}

.btn-notice-primary {
    background-color: var(--rosa-principal);
    color: white;
}

.btn-notice-primary:hover {
    background-color: var(--rosa-hover);
}

.btn-notice-secondary {
    background-color: #EEE;
    color: #333;
}

.btn-notice-secondary:hover {
    background-color: #DDD;
}

/* ==========================================
   ESTILOS DEL MODAL DE VIDEO
   ========================================== */
.video-modal-content {
    background-color: #000; /* Fondo negro para estilo cine */
    width: 90%;
    max-width: 800px; /* Tamaño máximo del video */
    border-radius: 8px;
    position: relative;
    box-shadow: 0 10px 50px rgba(0,0,0,0.6);
    padding: 0; /* Sin espacios en blanco alrededor */
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-modal-content .close-modal {
    top: -35px; /* La tachita va por fuera del video para no estorbar */
    right: 0;
    color: white;
    font-size: 35px;
    opacity: 0.8;
}

.video-modal-content .close-modal:hover {
    opacity: 1;
    color: var(--rosa-principal);
}

.video-modal-content video {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

/* ==========================================
   ESTILOS DEL BANNER DE VIDEO
   ========================================== */
.video-banner {
    background-color: var(--azul-oscuro);
    padding: 40px 8%;
    color: white;
}

.video-banner-content {
    display: flex;
    align-items: center;
    max-width: 800px;
    margin: 0 auto;
    gap: 30px;
    background-color: rgba(255, 255, 255, 0.05); /* Un fondo apenas visible */
    padding: 20px 30px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.video-thumbnail {
    width: 140px;
    height: 90px;
    /* Puedes usar la misma foto hero o poner una captura del video aquí */
    background-image: url('../img/hero.jpg'); 
    background-size: cover;
    background-position: center;
    border-radius: 6px;
    position: relative;
    cursor: pointer;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.video-thumbnail::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: rgba(0,0,0,0.4); /* Oscurece un poco la miniatura */
    border-radius: 6px;
}

.video-thumbnail:hover {
    transform: scale(1.05);
}

.play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 20px;
    z-index: 2;
    background: var(--rosa-principal);
    width: 45px; 
    height: 45px;
    display: flex; 
    align-items: center; 
    justify-content: center;
    border-radius: 50%;
    padding-left: 4px; /* Centra visualmente el triángulo de play */
    box-shadow: 0 4px 10px rgba(222, 143, 151, 0.4);
}

.video-banner-text h2 {
    color: white;
    font-size: 24px;
    margin-bottom: 8px;
}

.video-banner-text p {
    font-family: sans-serif;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.5;
}

/* Para que se vea bien en celulares */
@media (max-width: 768px) {
    .video-banner-content {
        flex-direction: column;
        text-align: center;
    }
}

/* Bloquear la esquina redimensionable de los textareas */
.form-step textarea {
    resize: none; 
    overflow: hidden; /* Oculta la barra de scroll nativa */
    min-height: 50px; /* Altura inicial */
    transition: border-color 0.3s;
}

/* ==========================================
   ESTILOS PARA LOS CAMPOS DE HORA (TIME)
   ========================================== */
.input-group input[type="time"] {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd; /* El mismo gris sutil de tus otros campos */
    border-radius: 6px;
    font-family: inherit;
    font-size: 14px;
    color: #333;
    background-color: white;
    box-sizing: border-box;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

/* El efecto visual cuando el usuario le da clic (Focus) */
.input-group input[type="time"]:focus {
    border-color: var(--rosa-principal);
    outline: none;
    box-shadow: 0 0 5px rgba(222, 143, 151, 0.2); /* Un brillo suave con el color de tu marca */
}

/* Mejorar el diseño del "relojito" nativo (para Chrome, Edge y Safari) */
.input-group input[type="time"]::-webkit-calendar-picker-indicator {
    cursor: pointer;
    opacity: 0.5;
    transition: opacity 0.2s ease;
}

.input-group input[type="time"]::-webkit-calendar-picker-indicator:hover {
    opacity: 1;
    color: var(--rosa-principal);
}

/* ==========================================
   ESTILOS PARA LOS CAMPOS DE TELÉFONO Y CORREO
   ========================================== */
.input-group input[type="tel"],
.input-group input[type="email"] {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-family: inherit;
    font-size: 14px;
    color: #333;
    background-color: white;
    box-sizing: border-box;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

/* El efecto visual cuando el usuario hace clic en ellos */
.input-group input[type="tel"]:focus,
.input-group input[type="email"]:focus {
    border-color: var(--rosa-principal);
    outline: none;
    box-shadow: 0 0 5px rgba(222, 143, 151, 0.2);
}

/* ==========================================
   MENÚ HAMBURGUESA (General)
   ========================================== */
.menu-hamburguesa {
    display: none; /* Oculto en pantallas grandes */
    background: none;
    border: none;
    font-size: 32px;
    cursor: pointer;
    color: #1F2836;
    padding: 0;
}

/* ==========================================
   DISEÑO RESPONSIVO (TELÉFONOS MÓVILES)
   ========================================== */
@media (max-width: 768px) {
    
    /* 1. Header (Logo y Menú centrados) */
    /* 1. Header (Logo a la izquierda, Botón a la derecha) */
    header {
        display: flex !important;
        flex-direction: row !important; /* Forzamos a que estén en la misma línea */
        justify-content: space-between !important;
        align-items: center !important;
        flex-wrap: wrap !important; /* Permite que el menú caiga abajo al abrirse */
        padding: 15px 5% !important;
    }

    /* Mostrar el botón de hamburguesa */
    .menu-hamburguesa {
        display: block !important;
    }

    /* Ocultar los enlaces por defecto */
    #nav-principal {
        display: none !important; 
        width: 100%;
        flex-direction: column;
        text-align: center;
        gap: 15px;
        margin-top: 20px;
        padding-bottom: 10px;
    }

    /* ESTA CLASE ES LA QUE LO HACE APARECER */
    #nav-principal.menu-activo {
        display: flex !important;
    }

    /* 2. Sección Inicio (Apilar texto y foto) */
    #inicio {
        display: flex !important;
        flex-direction: column !important;
        text-align: center;
        padding: 40px 5% !important;
        gap: 30px;
    }

    #inicio > div {
        width: 100% !important; /* Evita que queden a la mitad de la pantalla */
    }

    #inicio h1 {
        font-size: 38px !important; /* Reduce el tamaño gigante del título */
        line-height: 1.2;
    }

    /* 3. Sección Servicios (Apilar las 3 tarjetas) */
    #servicios > div,
    .servicios-grid,
    .services-container {
        display: flex !important;
        flex-direction: column !important;
        gap: 20px !important;
    }

    #servicios > div > div, /* Apunta directamente a las tarjetas */
    .service-card,
    .servicio {
        width: 100% !important;
        box-sizing: border-box;
        margin: 0 auto;
    }

    /* 4. Acomodar la sección de Precios */
    .pricing {
        padding: 40px 5%;
    }

    .pricing-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 20px;
    }

    .price-card {
        width: 100% !important;
        box-sizing: border-box;
    }

    .price-card.featured {
        transform: scale(1); /* Evita que la tarjeta popular se desborde */
    }

    /* 5. Acomodar las filas del Formulario */
    .input-group.row-inputs {
        display: flex !important;
        flex-direction: column !important; 
        gap: 15px;
    }
    
    .input-group.row-inputs > div {
        width: 100% !important;
    }

    /* 6. Ajustar los Modales */
    .modal-content, .notice-modal-content {
        width: 95%;
        padding: 20px 15px;
    }
    
    /* 7. Sección Sobre Mí (Apilar foto y texto - CORREGIDO) */
    #sobre-mi {
        padding: 40px 5% !important;
    }
    
    /* Forzamos al contenedor principal a ser vertical */
    #sobre-mi > div, 
    .about-container,
    .about-content {
        display: flex !important;
        flex-direction: column !important;
        text-align: center !important;
        gap: 30px !important;
        width: 100% !important;
    }

    /* ¡EL TRUCO! Obligamos a las "columnas" internas a expandirse al 100% */
    #sobre-mi > div > div,
    .about-container > div,
    .about-content > div {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 auto !important;
    }

    /* Ajuste perfecto para la fotografía */
    #sobre-mi img, 
    .coach-desk {
        width: 100% !important;
        height: 400px !important; /* Una altura excelente para lucir la foto en móvil */
        background-position: center 10% !important; /* Enfoca la parte superior/cara */
        margin: 0 auto;
        display: block;
    }

    /* 8. Sección Testimonios (Apilar mensajes de WhatsApp) */
    #testimonios {
        padding: 40px 5% !important;
    }

    /* Rompemos la cuadrícula para que sea vertical */
    #testimonios > div,
    .testimonios-grid,
    .testimonials-container {
        display: flex !important;
        flex-direction: column !important;
        gap: 20px !important;
    }

    /* Hacemos que cada tarjeta de testimonio tome el 100% del ancho */
    #testimonios > div > div,
    .testimonio,
    .testimonial-card {
        width: 100% !important;
        box-sizing: border-box;
        margin: 0 auto !important;
    }
    
    /* ==========================================
       CENTRADOS PERFECTOS DE TEXTO (FUERZA BRUTA)
       ========================================== */
    
    /* Disparamos a TODOS los contenedores y textos dentro de las secciones */
    #inicio div, #inicio h1, #inicio h2, #inicio h3, #inicio p, #inicio span,
    #sobre-mi div, #sobre-mi h1, #sobre-mi h2, #sobre-mi h3, #sobre-mi p, #sobre-mi span,
    .about-content div, .about-content h2, .about-content p {
        text-align: center !important;
    }

    /* Obligamos a los botones a comportarse como bloques centrados */
    #inicio a.btn, #inicio a.btn-primary, #inicio button,
    #sobre-mi a.btn, #sobre-mi a.btn-secondary, #sobre-mi button {
        margin-left: auto !important;
        margin-right: auto !important;
        display: block !important;
        width: max-content !important; /* Evita que el botón se estire de lado a lado */
    }
    /* Centrar textos de la sección Sobre Mí */
    #sobre-mi > div,
    #sobre-mi h2,
    #sobre-mi p,
    #sobre-mi span,
    .about-content h2,
    .about-content p {
        text-align: center !important;
        align-items: center !important;
        justify-content: center !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
    
    /* Centrar el botón de "Conóceme más" */
    #sobre-mi .btn-secondary,
    .about-content .btn-secondary {
        margin: 20px auto 0 auto !important;
        display: inline-block !important;
    }
}