/* =========================================================
   BASE MOBILE FIRST (hasta 767px - móvil vertical)
   ========================================================= */

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

/* Protege tu diseño base frente a los márgenes por defecto de Bootstrap */
h1, h2, h3, h4, p, ul, figure {
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: #0d0d0f;
    color: #f2f0eb;
    font-family: 'Montserrat', Arial, sans-serif;
    line-height: 1.6;
}

h1, h2, h3 {
    font-family: 'Cinzel', Georgia, serif;
    font-weight: 500;
    letter-spacing: 1px;
}

img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

a {
    color: inherit;
    text-decoration: none;
}

/* --- Cabecera compartida (móvil: logo + botón hamburguesa) --- */
.cabecera {
    position: sticky;
    top: 0;
    z-index: 100;
    background-color: rgba(13, 13, 15, 0.96);
    border-bottom: 1px solid #2e2e36;
    padding: 14px 20px;
}

.cabecera-contenedor {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-family: 'Cinzel', Georgia, serif;
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: #f2f0eb;
}

.btn-hamburguesa {
    border: 1px solid #2e2e36;
    border-radius: 6px;
    padding: 6px 10px;
}

.btn-hamburguesa:focus {
    box-shadow: 0 0 0 2px rgba(239, 227, 207, 0.35);
}

/* Contenedor interno del menú desplegable en móvil y tablet */
.menu-contenido {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    padding: 20px 0 8px 0;
    margin-top: 12px;
    border-top: 1px solid #2e2e36;
}

.menu-principal ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

.menu-principal a {
    font-size: 0.88rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #b8b5ad;
    transition: color 0.3s;
}

.menu-principal a:hover {
    color: #f2f0eb;
}

.btn-acceso {
    background-color: #631122;
    color: #f2f0eb;
    border: 1px solid #f2f0eb;
    padding: 9px 20px;
    border-radius: 6px;
    font-size: 0.82rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: background-color 0.3s;
}

.btn-acceso:hover {
    background-color: #85182f;
}

/* --- Pie de página compartido --- */
.pie-pagina {
    background-color: #17171b;
    border-top: 1px solid #2e2e36;
    padding: 25px 20px;
    margin-top: 40px;
}

.pie-flex {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
    font-size: 0.85rem;
    color: #b8b5ad;
}

.pie-marca {
    font-family: 'Cinzel', Georgia, serif;
    color: #f2f0eb;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.pie-pagina a:hover {
    color: #f2f0eb;
    text-decoration: underline;
}

/* =========================================================
   PÁGINA PRINCIPAL (index.html)
   ========================================================= */

/* --- Zona principal (Hero) --- */
.hero {
    min-height: 65vh;
    padding: 50px 20px;
    background-color: #17171b;
    background-image: linear-gradient(rgba(13, 13, 15, 0.72), rgba(13, 13, 15, 0.88)), url('../img/hero-estudio.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.hero-contenido {
    max-width: 820px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.hero h1 {
    font-size: 1.85rem;
    line-height: 1.25;
    letter-spacing: 2px;
}

.hero-subtitulo {
    color: #b8b5ad;
    font-size: 0.95rem;
    max-width: 600px;
}

.btn-hero {
    background-color: #631122;
    color: #f2f0eb;
    padding: 13px 28px;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    font-size: 0.88rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    transition: background-color 0.3s;
}

.btn-hero:hover {
    background-color: #85182f;
}

/* --- Estilo común para secciones --- */
.seccion-concepto,
.seccion-programas,
.seccion-metodos,
.seccion-sobre-mi {
    max-width: 1200px;
    margin: 0 auto;
    padding: 50px 20px;
    scroll-margin-top: 80px;
}

.seccion-concepto h2,
.seccion-programas h2,
.seccion-metodos h2 {
    text-align: center;
    font-size: 1.5rem;
    letter-spacing: 2px;
    margin-bottom: 30px;
    color: #f2f0eb;
}

.seccion-sobre-mi {
    border-top: 1px solid #2e2e36;
}

/* --- Sección Concepto --- */
.texto-intro {
    text-align: center;
    color: #b8b5ad;
    max-width: 750px;
    margin: 0 auto 30px auto;
    font-size: 0.95rem;
}

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

.pilar {
    background-color: #17171b;
    border: 1px solid #2e2e36;
    border-radius: 10px;
    padding: 24px 20px;
    text-align: center;
}

.pilar h3 {
    font-size: 1.1rem;
    color: #efe3cf;
    margin-bottom: 10px;
}

.pilar p {
    font-size: 0.9rem;
    color: #b8b5ad;
}

/* --- Sección Programas y Membresías --- */
.catalogo-flex {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.tarjeta-programa {
    background-color: #1d1d22;
    border: 1px solid #2e2e36;
    border-radius: 12px;
    padding: 28px 22px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.tarjeta-programa:hover {
    border-color: #efe3cf;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.5);
}

.tarjeta-vip {
    border: 2px solid #631122;
    box-shadow: 0 0 22px rgba(99, 17, 34, 0.35);
}

.tarjeta-programa h3 {
    text-align: center;
    font-size: 1.15rem;
    letter-spacing: 1.5px;
    padding-bottom: 14px;
    border-bottom: 1px solid #2e2e36;
}

.precio-programa {
    text-align: center;
    font-family: 'Cinzel', Georgia, serif;
    font-size: 1.7rem;
    font-weight: 700;
    color: #efe3cf;
    margin-top: -6px;
}

.precio-programa span {
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 0.85rem;
    font-weight: 400;
    color: #b8b5ad;
    letter-spacing: 1px;
}

.lista-beneficios {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    font-size: 0.92rem;
    color: #b8b5ad;
}

.lista-beneficios li::before {
    content: "➤ ";
    color: #efe3cf;
    font-size: 0.85rem;
}

.btn-detalles {
    margin-top: auto;
    align-self: center;
    background-color: #631122;
    color: #f2f0eb;
    padding: 10px 26px;
    border-radius: 6px;
    font-size: 0.88rem;
    font-weight: 600;
    transition: background-color 0.3s;
}

.btn-detalles:hover {
    background-color: #85182f;
}

.btn-vip {
    border: 1px solid #efe3cf;
}

/* --- Sección Metodología --- */
.metodos-flex {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.metodo-imagen {
    background-color: #17171b;
    border: 1px solid #2e2e36;
    border-radius: 12px;
    overflow: hidden;
}

.metodo-imagen img {
    min-height: 240px;
    background-color: #25252c;
}

.metodo-imagen figcaption {
    padding: 12px 16px;
    font-size: 0.82rem;
    color: #b8b5ad;
    text-align: center;
}

.metodo-pasos {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.paso {
    background-color: #17171b;
    border-left: 3px solid #631122;
    border-radius: 0 8px 8px 0;
    padding: 16px 20px;
}

.paso h3 {
    font-size: 1.05rem;
    color: #efe3cf;
    margin-bottom: 6px;
}

.paso p {
    font-size: 0.9rem;
    color: #b8b5ad;
}

/* --- Sección Sobre mí --- */
.sobre-mi-flex {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.sobre-mi-visual {
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.sobre-mi-carrusel {
    background-color: #17171b;
    border: 1px solid #2e2e36;
    border-radius: 12px;
    overflow: hidden;
}

.sobre-mi-carrusel .carousel-item img {
    width: 100%;
    aspect-ratio: 1 / 1;        /* Marco cuadrado equilibrado para fotos horizontales y verticales */
    object-fit: contain;        /* Reduce la imagen completa sin hacer zoom ni recortar */
    object-position: center top;
    background-color: #17171b;  /* Mismo fondo que la tarjeta para disimular los márgenes */
}

.carrusel-etiqueta {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 36px 16px 38px 16px;
    background: linear-gradient(transparent, rgba(13, 13, 15, 0.92));
    font-size: 0.82rem;
    color: #f2f0eb;
    text-align: center;
}

.sobre-mi-carrusel .carousel-indicators {
    margin-bottom: 10px;
}

.sobre-mi-carrusel .carousel-indicators [data-bs-target] {
    background-color: #efe3cf;
}

/* Tarjeta única y limpia de certificación ISSA CPT */
.credencial-issa {
    background-color: #17171b;
    border: 1px solid #efe3cf;
    border-radius: 10px;
    padding: 16px 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 14px;
}

.issa-logo-caja {
    width: 115px;
    height: 74px;
    flex-shrink: 0;
    background-color: #f2f0eb;
    border-radius: 8px;
    padding: 10px 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.issa-logo-caja img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.issa-texto h4 {
    font-family: 'Cinzel', Georgia, serif;
    font-size: 0.95rem;
    color: #efe3cf;
    margin-bottom: 4px;
    letter-spacing: 0.8px;
}

.issa-texto p {
    font-size: 0.82rem;
    line-height: 1.5;
    color: #b8b5ad;
}

/* Columna de biografía y especialidades */
.sobre-mi-contenido {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.sobre-mi-contenido h2 {
    font-size: 1.65rem;
    letter-spacing: 2px;
    color: #f2f0eb;
    text-align: left;
    margin-bottom: 0;
}

.sobre-mi-contenido h3 {
    font-size: 1.12rem;
    line-height: 1.4;
    color: #efe3cf;
}

.sobre-mi-contenido p {
    font-size: 0.95rem;
    color: #b8b5ad;
}

.sobre-mi-contenido strong {
    color: #f2f0eb;
    font-weight: 600;
}

.sobre-mi-skills {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 6px;
}

.skill-item {
    background-color: #17171b;
    border: 1px solid #2e2e36;
    border-left: 3px solid #631122;
    border-radius: 8px;
    padding: 12px 14px;
}

.skill-item h4 {
    font-family: 'Cinzel', Georgia, serif;
    font-size: 0.9rem;
    color: #efe3cf;
    margin-bottom: 4px;
    letter-spacing: 0.5px;
}

.skill-item p {
    font-size: 0.82rem;
    line-height: 1.45;
    color: #b8b5ad;
}

/* Botón flotante sutil "Sobre mí" */
.btn-flotante-sobre-mi {
    position: fixed;
    right: 18px;
    bottom: 24px;
    z-index: 90;
    background-color: rgba(23, 23, 27, 0.92);
    color: #efe3cf;
    border: 1px solid #631122;
    padding: 9px 16px;
    border-radius: 6px;
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.45);
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease, background-color 0.3s, border-color 0.3s;
}

.btn-flotante-sobre-mi.visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.btn-flotante-sobre-mi:hover {
    background-color: #631122;
    border-color: #efe3cf;
    color: #f2f0eb;
}

/* =========================================================
   PÁGINA DE DETALLE / PLANES (detalle.html)
   ========================================================= */

.detalle-grid {
    max-width: 1200px;
    margin: 0 auto;
    padding: 25px 20px;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-areas:
        "volver"
        "galeria"
        "ficha"
        "formulario";
    gap: 28px;
}

.zona-volver     { grid-area: volver; }
.zona-galeria    { grid-area: galeria; }
.zona-ficha      { grid-area: ficha; }
.zona-formulario { grid-area: formulario; }


.enlace-volver {
    display: inline-block;
    font-size: 0.9rem;
    color: #b8b5ad;
    transition: color 0.3s;
}

.enlace-volver:hover {
    color: #efe3cf;
}

.zona-galeria {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    align-content: start;
}

.foto-detalle {
    background-color: #17171b;
    border: 1px solid #2e2e36;
    border-radius: 12px;
    overflow: hidden;
}

.foto-detalle figcaption {
    padding: 10px 14px;
    font-size: 0.8rem;
    color: #b8b5ad;
    text-align: center;
}

.zona-ficha h1 {
    font-size: 1.55rem;
    line-height: 1.25;
    margin-bottom: 8px;
}

.precio-servicio {
    font-family: 'Cinzel', Georgia, serif;
    font-size: 1.45rem;
    color: #efe3cf;
    margin-bottom: 14px;
}

.descripcion-servicio {
    font-style: italic;
    color: #b8b5ad;
    font-size: 0.96rem;
    margin-bottom: 22px;
}

.zona-ficha h2 {
    font-size: 1.05rem;
    letter-spacing: 1.5px;
    margin-bottom: 12px;
}

.lista-incluye {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    font-size: 0.92rem;
    color: #b8b5ad;
}

.lista-incluye li::before {
    content: "✓ ";
    color: #efe3cf;
    font-weight: 600;
}

.zona-formulario {
    background-color: #17171b;
    border: 1px solid #2e2e36;
    border-radius: 14px;
    padding: 22px 18px;
}

.titulo-configurador {
    text-align: center;
    font-size: 1.15rem;
    letter-spacing: 2px;
    margin-bottom: 22px;
    padding-bottom: 12px;
    border-bottom: 1px solid #2e2e36;
}

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

.grupo-config {
    border: none;
    padding: 0;
}

.grupo-config legend {
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    color: #f2f0eb;
    margin-bottom: 12px;
}

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

.opcion-radio {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.92rem;
    color: #b8b5ad;
}

.opcion-radio input[type="radio"],
.opcion-radio label {
    cursor: pointer;
}

.opcion-radio input[type="radio"]:checked + label {
    color: #efe3cf;
    font-weight: 600;
}

.fila-fecha-flex,
.fila-horas-flex {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 14px;
}

.fila-fecha-flex input[type="date"] {
    width: 100%;
    background-color: #efe3cf;
    color: #0d0d0f;
    border: 1px solid #2e2e36;
    border-radius: 6px;
    padding: 9px 12px;
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
}

.etiqueta-horas {
    font-size: 0.82rem;
    font-weight: 600;
    color: #b8b5ad;
    letter-spacing: 1px;
}

.selector-botones {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.selector-botones input[type="radio"] {
    display: none;
}

.selector-botones label {
    background-color: #0d0d0f;
    color: #b8b5ad;
    border: 1px solid #2e2e36;
    border-radius: 6px;
    padding: 7px 14px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: background-color 0.25s, color 0.25s, border-color 0.25s;
}

.selector-botones label:hover {
    border-color: #efe3cf;
    color: #f2f0eb;
}

.selector-botones input[type="radio"]:checked + label {
    background-color: #efe3cf;
    color: #0d0d0f;
    border-color: #efe3cf;
    font-weight: 600;
}

.datos-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    margin-bottom: 14px;
}

.campo-dato {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.campo-dato label {
    font-size: 0.85rem;
    color: #b8b5ad;
}

.campo-dato input[type="text"],
.campo-dato input[type="email"],
.campo-dato input[type="tel"] {
    width: 100%;
    background-color: #0d0d0f;
    color: #f2f0eb;
    border: 1px solid #2e2e36;
    border-radius: 6px;
    padding: 10px 12px;
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 0.9rem;
}
.campo-oculto {
    display: none;
}

.campo-dato input[required] {
    border-left: 3px solid #631122;
}

.campo-check {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.84rem;
    color: #b8b5ad;
}

.campo-check input,
.campo-check label {
    cursor: pointer;
}

.barra-total-flex {
    background-color: #631122;
    border-radius: 8px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

.texto-total {
    font-size: 1.15rem;
    letter-spacing: 1px;
    color: #f2f0eb;
}

.btn-reservar {
    width: 100%;
    background-color: #0d0d0f;
    color: #f2f0eb;
    border: 1px solid #efe3cf;
    border-radius: 6px;
    padding: 12px 22px;
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 0.88rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
}

.btn-reservar:hover {
    background-color: #efe3cf;
    color: #0d0d0f;
}

/* --- Preguntas frecuentes desplegables (<details>) --- */
.zona-faq {                              
    max-width: 860px;
    margin: 12px auto 0 auto;
    padding: 28px 20px 20px 20px;
    border-top: 1px solid #2e2e36;
}
.zona-faq h2 {
    font-size: 1.2rem;
    letter-spacing: 1.5px;
    margin-bottom: 16px;
    color: #f2f0eb;
}

.faq-acordeon {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.faq-item {
    background-color: #17171b;
    border: 1px solid #2e2e36;
    border-radius: 10px;
    overflow: hidden;
    transition: border-color 0.25s;
}

.faq-item[open] {
    border-color: #631122;
}

.faq-item summary {
    list-style: none;
    cursor: pointer;
    padding: 14px 18px;
    font-size: 0.92rem;
    font-weight: 600;
    color: #f2f0eb;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: color 0.25s;
}

/* Oculta el triángulo nativo en Safari/Chrome para usar el nuestro animado */
.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::before {
    content: "▸";
    color: #efe3cf;
    font-size: 0.9rem;
    transition: transform 0.25s ease;
}

.faq-item[open] summary::before {
    transform: rotate(90deg);
}

.faq-item summary:hover {
    color: #efe3cf;
}

.faq-item p {
    padding: 0 18px 16px 36px;
    font-size: 0.88rem;
    color: #b8b5ad;
    line-height: 1.55;
}
/* =========================================================
   PÁGINA DE CONTACTO (contacto.html)
   ========================================================= */

.contacto-grid {
    max-width: 1200px;
    margin: 0 auto;
    padding: 25px 20px 45px 20px;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-areas:
        "volver"
        "info"
        "formulario";
    gap: 28px;
}

.contacto-volver    { grid-area: volver; }
.contacto-info      { grid-area: info; display: flex; flex-direction: column; gap: 18px; }
.contacto-form-caja { grid-area: formulario; }

.contacto-info h1 {
    font-size: 1.65rem;
    line-height: 1.25;
    letter-spacing: 1.5px;
    color: #f2f0eb;
}

.contacto-intro {
    font-size: 0.95rem;
    color: #b8b5ad;
}

/* Subtítulo "QUÉ PASA DESPUÉS" con línea divisoria a la derecha */
.contacto-subtitulo-pasos {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 1.05rem;
    letter-spacing: 1.8px;
    color: #efe3cf;
    margin-top: 6px;
}

.contacto-subtitulo-pasos::after {
    content: "";
    flex: 1;
    height: 1px;
    background-color: #2e2e36;
}

.contacto-pasos {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

/* Tarjeta inferior de cobertura directa (a juego con el borde crema de ISSA) */
.contacto-directo {
    margin-top: 4px;
    background-color: #17171b;
    border: 1px solid #efe3cf;
    border-radius: 10px;
    padding: 14px 18px;
    text-align: center;
    font-size: 0.85rem;
    color: #b8b5ad;
}

.contacto-directo strong {
    color: #efe3cf;
    letter-spacing: 1px;
}

/* Estilos para <select> y <textarea> en consonancia con tus inputs */
.campo-dato select,
.campo-dato textarea {
    width: 100%;
    background-color: #0d0d0f;
    color: #f2f0eb;
    border: 1px solid #2e2e36;
    border-radius: 6px;
    padding: 10px 12px;
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 0.9rem;
    color-scheme: dark;
}

.campo-dato select[required] {
    border-left: 3px solid #631122;
    cursor: pointer;
}

.campo-dato textarea {
    resize: vertical;
    min-height: 104px;
}

.ayuda-campo {
    font-size: 0.78rem;
    color: #b8b5ad;
    line-height: 1.45;
}

/* Botón principal de envío en burdeos */
.btn-enviar-contacto {
    width: 100%;
    background-color: #631122;
    color: #f2f0eb;
    border: 1px solid #efe3cf;
    border-radius: 6px;
    padding: 13px 22px;
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 0.88rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    cursor: pointer;
    transition: background-color 0.3s, border-color 0.3s;
}

.btn-enviar-contacto:hover {
    background-color: #85182f;
    border-color: #f2f0eb;
}
/* =========================================================
   PÁGINA DE AGRADECIMIENTO (gracias.html)
   ========================================================= */

.gracias-seccion {
    min-height: calc(100vh - 210px);
    max-width: 780px;
    margin: 0 auto;
    padding: 45px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gracias-tarjeta {
    width: 100%;
    background-color: #17171b;
    border: 1px solid #2e2e36;
    border-radius: 14px;
    padding: 36px 24px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
}

.gracias-etiqueta {
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 2px;
    color: #efe3cf;
    border: 1px solid #631122;
    background-color: rgba(99, 17, 34, 0.25);
    padding: 5px 14px;
    border-radius: 20px;
}

.gracias-tarjeta h1 {
    font-size: 1.7rem;
    line-height: 1.25;
    letter-spacing: 2px;
    color: #f2f0eb;
}

.gracias-subtitulo {
    max-width: 560px;
    font-size: 0.95rem;
    color: #b8b5ad;
}

/* Batería horizontal */
.bateria-bloque {
    width: 100%;
    max-width: 360px;
    margin: 8px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.bateria-cuerpo {
    position: relative;
    width: calc(100% - 14px);
    height: 46px;
    background-color: #0d0d0f;
    border: 2px solid #efe3cf;
    border-radius: 10px;
    padding: 4px;
    display: flex;
    align-items: center;
    transition: box-shadow 0.4s ease;
}

/* Polo positivo de la batería en el lateral derecho */
.bateria-cuerpo::after {
    content: "";
    position: absolute;
    right: -10px;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 18px;
    background-color: #efe3cf;
    border-radius: 0 4px 4px 0;
}

.bateria-cuerpo.cargada {
    box-shadow: 0 0 22px rgba(239, 227, 207, 0.28);
}

.bateria-relleno {
    height: 100%;
    width: 0%;
    border-radius: 5px;
    background: linear-gradient(90deg, #631122 0%, #8f1d35 65%, #c9a67d 100%);
    transition: width 0.06s linear;
}

.bateria-porcentaje {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    color: #f2f0eb;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.85);
}

.bateria-estado {
    font-size: 0.86rem;
    color: #efe3cf;
    min-height: 24px;
}

/* Bloque de micro-reto */
.micro-reto {
    width: 100%;
    max-width: 540px;
    background-color: #0d0d0f;
    border: 1px solid #2e2e36;
    border-left: 3px solid #631122;
    border-radius: 8px;
    padding: 16px 20px;
    text-align: left;
    font-size: 0.88rem;
    color: #b8b5ad;
}

.micro-reto-titulo {
    font-family: 'Cinzel', Georgia, serif;
    font-size: 0.85rem;
    letter-spacing: 1.2px;
    color: #efe3cf;
    margin-bottom: 6px;
}

.micro-reto strong {
    color: #f2f0eb;
}

.gracias-acciones {
    margin-top: 6px;
}
/* =========================================================
   BREAKPOINT 1: TABLET Y MÓVIL HORIZONTAL (768px - 991px)
   ========================================================= */

@media (min-width: 768px) {
    .cabecera {
        padding: 16px 32px;
    }

    .pie-flex {
        flex-direction: row;
        justify-content: space-between;
        padding: 0 20px;
    }

    .hero {
        min-height: 62vh;
        padding: 64px 32px;
    }

    .hero h1 {
        font-size: 2.3rem;
        letter-spacing: 2.5px;
    }

    .hero-subtitulo {
        font-size: 1.05rem;
    }

    .seccion-concepto,
    .seccion-programas,
    .seccion-metodos,
    .seccion-sobre-mi {
        padding: 60px 32px;
    }

    .seccion-concepto h2,
    .seccion-programas h2,
    .seccion-metodos h2 {
        font-size: 1.7rem;
        margin-bottom: 34px;
    }

    /* En tablet, mantiene las tarjetas centradas y legibles antes de pasar a 3 columnas */
    .pilares-flex,
    .catalogo-flex {
        max-width: 580px;
        margin: 0 auto;
    }

    .metodos-flex {
        flex-direction: row;
        align-items: center;
        gap: 32px;
    }

    .metodo-imagen {
        flex: 1;
    }

    .metodo-pasos {
        flex: 1.15;
    }

    /* En tablet, el carrusel no se hace excesivamente alto */
    .sobre-mi-carrusel .carousel-item img {
        aspect-ratio: 1 / 1;
    }

    .credencial-issa {
        flex-direction: row;
        align-items: center;
        text-align: left;
    }

    .sobre-mi-skills {
        grid-template-columns: 1fr 1fr;
        gap: 14px;
    }

    /* Mejoras de detalle.html en tablet */
    .lista-incluye,
    .datos-grid {
        grid-template-columns: 1fr 1fr;
        column-gap: 20px;
    }
    .campo-ancho {
        grid-column: 1 / -1;
    }

    .opciones-flex {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 24px;
    }

    .fila-fecha-flex,
    .fila-horas-flex {
        flex-direction: row;
        align-items: center;
        flex-wrap: wrap;
        gap: 16px;
    }

    .fila-fecha-flex input[type="date"] {
        width: auto;
    }

    .barra-total-flex {
        flex-direction: row;
        justify-content: space-between;
        padding: 16px 24px;
    }

    .btn-reservar {
        width: auto;
    }
    .gracias-tarjeta {
        padding: 46px 40px;
    }

    .gracias-tarjeta h1 {
        font-size: 2.15rem;
    }
}

/* =========================================================
   BREAKPOINT 2: ESCRITORIO (desde 992px - sincronizado con navbar-expand-lg)
   ========================================================= */

@media (min-width: 992px) {
    .cabecera {
        padding: 18px 40px;
    }

    .logo {
        font-size: 1.45rem;
    }

    .menu-colapsable {
        flex: 1;
    }

    .menu-contenido {
        flex-direction: row;
        justify-content: space-between;
        gap: 20px;
        padding: 0;
        margin-top: 0;
        border-top: none;
    }

    .menu-principal {
        margin: 0 auto;
    }

    .menu-principal ul {
        flex-direction: row;
        gap: 32px;
    }

    .hero {
        min-height: 75vh;
        padding: 80px 40px;
    }

    .hero h1 {
        font-size: 2.8rem;
        letter-spacing: 3px;
    }

    .hero-subtitulo {
        font-size: 1.1rem;
    }

    .seccion-concepto,
    .seccion-programas,
    .seccion-metodos,
    .seccion-sobre-mi {
        padding: 75px 40px;
    }

    .seccion-concepto h2,
    .seccion-programas h2,
    .seccion-metodos h2 {
        font-size: 1.9rem;
        margin-bottom: 40px;
    }

    /* 3 pilares y 3 membresías en fila a ancho completo */
    .pilares-flex,
    .catalogo-flex {
        max-width: none;
        flex-direction: row;
        align-items: stretch;
        gap: 28px;
    }

    .pilar,
    .tarjeta-programa {
        flex: 1;
    }

    .tarjeta-vip:hover {
        border-color: #85182f;
        box-shadow: 0 0 30px rgba(133, 24, 47, 0.55);
    }

    .metodos-flex {
        gap: 40px;
    }

    /* Sección Sobre mí en 2 columnas con altura igualada */
    .sobre-mi-flex {
        flex-direction: row;
        align-items: stretch;
        gap: 48px;
    }

    .sobre-mi-visual {
        flex: 1;
    }

    .sobre-mi-carrusel {
        flex: 1;
        min-height: 360px;
    }

    .sobre-mi-carrusel .carousel-inner {
        position: absolute;
        inset: 0;
        height: 100%;
    }

    .sobre-mi-carrusel .carousel-item {
        height: 100%;
    }

    .sobre-mi-carrusel .carousel-item img {
        aspect-ratio: auto;
        height: 100%;
        object-position: center top;
    }

    .sobre-mi-contenido {
        flex: 1.15;
    }

    .sobre-mi-contenido h2 {
        font-size: 2.1rem;
    }

    .btn-flotante-sobre-mi {
        right: 28px;
        bottom: 28px;
    }

    /* detalle.html a 2 columnas en escritorio */
    .detalle-grid {
        padding: 35px 40px 55px 40px;
        grid-template-columns: 1fr 1.3fr;
        grid-template-areas:
            "volver volver"
            "galeria ficha"
            "galeria formulario";
        column-gap: 40px;
        row-gap: 26px;
        align-items: start;
    }

    /* La galería acompaña suavemente al bajar por la ficha y el formulario */
    .zona-galeria {
        position: sticky;
        top: 100px;
    }

    /* Mantiene las 2 fotos proporcionadas para que encajen bien en pantalla */
    .foto-detalle img {
        aspect-ratio: 16 / 10;
    }

    /* Preguntas frecuentes centradas a ancho completo debajo de ambas columnas */
    .zona-faq {
       padding: 36px 40px 20px 40px;
    }

    .zona-faq h2 {
        text-align: center;
        font-size: 1.5rem;
        margin-bottom: 24px;
    }
    /* contacto.html a 2 columnas en escritorio */
    .contacto-grid {
        padding: 35px 40px 60px 40px;
        grid-template-columns: 1fr 1.15fr;
        grid-template-areas:
            "volver volver"
            "info formulario";
        column-gap: 48px;
        row-gap: 24px;
        align-items: start;
    }

    .contacto-info h1 {
        font-size: 2.15rem;
    }
}

/* =========================================================
   AJUSTE ESPECÍFICO: MÓVIL EN HORIZONTAL (poca altura)
   ========================================================= */

@media (max-height: 500px) and (orientation: landscape) {
    .cabecera {
        position: static;
        padding: 10px 24px;
    }

    .hero {
        min-height: auto;
        padding: 36px 24px;
    }

    .hero h1 {
        font-size: 1.75rem;
    }

    .hero-subtitulo {
        font-size: 0.92rem;
    }

    .btn-flotante-sobre-mi {
        right: 14px;
        bottom: 14px;
        padding: 7px 12px;
        font-size: 0.72rem;
    }
}