:root {
    --bg-dark: #0a0a0a;
    --bg-charcoal: #121212;
    --bg-card: #1e1e1e;
    --text-main: #F5F5F0;
    --text-muted: #A0A0A0;
    --accent-bronze: #C5832B;
    --accent-bronze-hover: #A66D23;
    
    --font-heading: 'Cormorant Garamond', serif;
    --font-jp: 'Noto Serif JP', serif;
}

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

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-jp);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Tipografía */
h1, h2, h3 { font-family: var(--font-heading), var(--font-jp); font-weight: 400; }
ruby { font-family: var(--font-heading); letter-spacing: 0.1em; }
rt { font-family: var(--font-jp); font-size: 0.4em; color: var(--accent-bronze); letter-spacing: 0; }

/* Navegación */
#navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1rem 5%;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.logo-text { font-size: 1.8rem; color: var(--accent-bronze); }

.nav-links {
    display: none; /* Oculto en móvil por ahora (requiere menú hamburguesa) */
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-main);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

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

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 5%;
}

#bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(10,10,10,0.6), rgba(18,18,18,0.95));
    z-index: -1;
}

.hero-content {
    max-width: 800px;
    margin-top: 60px; /* offset por el nav */
}

.main-title { font-size: 1.2rem; margin-bottom: 1rem; }
.subtitle { font-size: 1.2rem; color: var(--accent-bronze); margin-bottom: 1.5rem; }
.description { font-size: 1rem; color: var(--text-muted); margin-bottom: 2rem; }
.tagline { font-size: 0.9rem; font-style: italic; margin-bottom: 3rem; }

/* Botones */
.btn-primary {
    display: inline-block;
    padding: 1rem 2.5rem;
    background-color: transparent;
    border: 1px solid var(--accent-bronze);
    color: var(--accent-bronze);
    text-decoration: none;
    letter-spacing: 0.1em;
    font-size: 1.2rem; /* 50% más grande (antes heredaba el tamaño base de 1rem) */
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--accent-bronze);
    color: var(--bg-dark);
}

/* Why Us Section */
.dark-section {
    padding: 6rem 5%;
    background-color: var(--bg-charcoal);
}

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

.section-heading {
    text-align: center;
    font-size: 1.2rem;
    color: var(--accent-bronze);
    margin-bottom: 4rem;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

.feature-card {
    background: var(--bg-card);
    padding: 2.5rem;
    border-top: 2px solid var(--accent-bronze);
    text-align: left;
}

.feature-card h3 { font-size: 1.2rem; margin-bottom: 1rem; }
.feature-card p { font-size: 0.95rem; color: var(--text-muted); margin-bottom: 0.8rem; }

/* Desktop Media Query */
@media (min-width: 768px) {
    .nav-links { display: flex; align-items: center; }
    .features-grid { grid-template-columns: repeat(3, 1fr); }
    .main-title { font-size: 1.2rem; }
    .subtitle { font-size: 1.2rem; }
    
    /* --- CORRECCIÓN APLICADA AQUÍ --- */
    /* Ocultar saltos de línea diseñados solo para móviles cuando se ve en escritorio */
    .br-mobile {
        display: none;
    }
}

/* --- ESTILOS PARA MENÚ MÓVIL Y BOTÓN FLOTANTE --- */

/* Botón Hamburguesa (oculto en escritorio) */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 6px;
    z-index: 1001; /* Siempre por encima del menú */
    position: relative; 
}

.hamburger span {
    width: 30px;
    height: 2px;
    background-color: var(--accent-bronze);
    transition: all 0.4s ease;
}

/* Botón Flotante (Volver Arriba) */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
    background-color: rgba(18, 18, 18, 0.7);
    border: 1px solid var(--accent-bronze);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-bronze);
    text-decoration: none;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    backdrop-filter: blur(5px);
}

.back-to-top:hover {
    background-color: var(--accent-bronze);
    color: var(--bg-dark);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top svg {
    width: 24px;
    height: 24px;
}

/* Responsive: Comportamiento en Smartphones */
@media (max-width: 767px) {
    .hamburger {
        display: flex;
    }

    #nav-menu {
        position: fixed;
        top: 0;
        right: -100%; /* Oculto fuera de la pantalla por defecto */
        width: 100vw;
        height: 100vh;
        background-color: rgba(10, 10, 10, 0.98);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: right 0.4s cubic-bezier(0.77, 0, 0.175, 1);
        z-index: 1000;
    }

    #nav-menu.active {
        right: 0; /* Aparece deslizando suavemente */
    }

    .nav-links {
        display: flex;
        flex-direction: column;
        gap: 2.5rem;
        text-align: center;
        width: 100%;
    }

    .nav-links a {
        font-size: 1.2rem;
    }

    /* Animación del icono de hamburguesa a una "X" */
    .hamburger.toggle span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    .hamburger.toggle span:nth-child(2) {
        opacity: 0;
    }
    .hamburger.toggle span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    /* Ocultar saltos de linea esteticos en moviles */
    .br-desktop {
        display: none;
    }
    /* ELIMINADA .br-mobile DE AQUÍ */
}

/* --- SECCIÓN 3: SERVICIOS Y FILOSOFÍA --- */
.services-section {
    padding: 6rem 5%;
    background-color: var(--bg-dark); 
}

.philosophy-block {
    max-width: 900px;
    margin: 0 auto 5rem auto;
    text-align: center;
    padding: 3rem 2rem;
    border: 1px solid rgba(197, 131, 43, 0.3);
    background: linear-gradient(145deg, rgba(30,30,30,0.4) 0%, rgba(18,18,18,0.8) 100%);
}

.philosophy-heading {
    font-size: 1.2rem;
    color: var(--accent-bronze);
    margin-bottom: 2rem;
}

.philosophy-text p {
    font-size: 1.05rem;
    color: var(--text-main);
    margin-bottom: 1.5rem;
}

.policy-note {
    text-align: center;
    font-size: 0.95rem; /* Un poco más pequeño para que sea sutil */
    color: var(--text-muted); /* Usa el color tenue de tu paleta */
    margin-top: 2rem !important; /* Separa la línea del párrafo anterior */
    margin-bottom: 1.5rem !important; /* Separa la línea de la caja de garantía */
    display: block;
    width: 100%;
}

.guarantee-box {
    margin-top: 2rem;
    padding: 1rem;
    background-color: rgba(197, 131, 43, 0.1);
    border-left: 3px solid var(--accent-bronze);
    text-align: left;
}

.guarantee-box p {
    margin-bottom: 0;
    color: var(--accent-bronze);
    font-size: 0.95rem;
}

.therapies-heading {
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 3rem;
    color: var(--text-main);
    letter-spacing: 0.05em;
}

.therapies-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.therapy-card {
    background-color: var(--bg-charcoal);
    padding: 2rem;
    border-radius: 4px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.therapy-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.5);
}

.therapy-card h4 {
    font-size: 1.2rem;
    color: var(--accent-bronze);
    margin-bottom: 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 0.5rem;
}

/* Fase 3: Estilos de Imágenes de Terapias */
.therapy-img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 2px;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(197, 131, 43, 0.2);
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    transition: transform 0.3s ease;
}

.therapy-card:hover .therapy-img {
    transform: scale(1.02);
}

.therapy-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* Media Queries específicas para Servicios */
@media (min-width: 768px) {
    .therapies-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .philosophy-block {
        padding: 4rem;
    }
}

/* --- SECCIÓN 4: TARIFAS Y PLANES --- */
.pricing-section {
    padding: 6rem 5%;
    background-color: var(--bg-charcoal); 
}

.pricing-tax-note {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: -3rem;
    margin-bottom: 3rem;
}

.pricing-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

.price-card {
    position: relative;
    background-color: var(--bg-card);
    padding: 2.5rem 2rem;
    border-top: 2px solid rgba(197, 131, 43, 0.3);
    border-radius: 4px;
    text-align: center;
    transition: transform 0.3s ease;
}

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

.time-title {
    font-size: 1.8rem; /* Aumentado para mayor visibilidad */
    font-family: var(--font-jp); /* Soluciona el desbalance entre número y kanji */
    color: var(--text-main);
    margin-bottom: 0.5rem;
}

.price-amount {
    font-size: 2.0rem; /* El doble de tamaño (antes era 1.2rem) */
    font-family: var(--font-jp); /* Números sólidos y premium */
    color: var(--accent-bronze);
    margin-bottom: 0.5rem;
    line-height: 1;
}

.price-note {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
    font-style: italic;
}

.price-desc {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-top: 1rem;
    line-height: 1.5;
}

/* Tarjeta Destacada (90 Minutos) */
.highlight-card {
    border: 2px solid var(--accent-bronze);
    box-shadow: 0 10px 30px rgba(0,0,0,0.6);
    background: linear-gradient(145deg, var(--bg-card) 0%, #252525 100%);
    z-index: 1;
}

@media (min-width: 992px) {
    .highlight-card {
        transform: scale(1.05);
    }
    .highlight-card:hover {
        transform: scale(1.05) translateY(-5px);
    }
}

.badge-recommended {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--accent-bronze);
    color: var(--bg-dark);
    padding: 0.4rem 1.2rem;
    font-size: 0.85rem;
    font-weight: bold;
    border-radius: 20px;
    letter-spacing: 0.05em;
    white-space: nowrap;
}

.badge-premium {
    position: absolute;
    top: -12px;
    right: 20px;
    background-color: transparent;
    border: 1px solid var(--accent-bronze);
    color: var(--accent-bronze);
    padding: 0.2rem 0.8rem;
    font-size: 0.75rem;
    border-radius: 4px;
}

/* Planes de Mantenimiento */
.maintenance-plans {
    max-width: 1000px;
    margin: 0 auto;
    padding: 3rem 2rem;
    background-color: var(--bg-dark);
    border-radius: 4px;
}

.plans-title {
    text-align: center;
    font-size: 1.2rem;
    color: var(--accent-bronze);
    margin-bottom: 1rem;
}

.plans-intro {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    font-size: 0.95rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.plans-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.plan-item {
    padding: 1.5rem;
    border-left: 4px solid var(--accent-bronze);
    background-color: var(--bg-card);
}

.plan-item h4 {
    font-size: 1.2rem;
    color: var(--text-main);
    margin-bottom: 0.5rem;
}

.plan-item p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.plan-item strong {
    color: var(--accent-bronze);
    font-size: 1.1rem;
}

/* Media Queries para Tarifas */
@media (min-width: 768px) {
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .plans-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .pricing-grid .price-card:last-child:nth-child(odd) {
        grid-column: 1 / -1;
        max-width: 50%;
        margin: 0 auto;
    }
}

@media (min-width: 1024px) {
    .pricing-grid {
        grid-template-columns: repeat(3, 1fr);
        align-items: center; 
    }
    .pricing-grid .price-card:last-child:nth-child(odd) {
        grid-column: auto;
        max-width: 100%;
    }
    .price-card:nth-child(4) {
        grid-column: 1 / 3;
        justify-self: end;
        width: calc(100% - 1rem); 
    }
    .price-card:nth-child(5) {
        grid-column: 2 / 4;
        justify-self: start;
        width: calc(100% - 1rem);
    }
}

/* --- SECCIÓN 5: SOBRE MÍ (THERAPIST) --- */
.about-section {
    padding: 6rem 5%;
    background-color: var(--bg-dark); 
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    align-items: start;
}

.about-headline {
    font-size: 1.6rem; /* Aumentado para mayor visibilidad e impacto */
    font-family: var(--font-jp); /* Soluciona el desbalance entre los números 12/10,000 y los kanji */
    color: var(--accent-bronze); /* Mantiene tu color corporativo bronce */
    margin-bottom: 1.5rem; /* Mantiene el espacio debajo del texto para que respire */
    line-height: 1.4; /* Fundamental para que las dos líneas no se choquen */
}

.about-desc {
    color: var(--text-main);
    font-size: 1rem;
    margin-bottom: 2rem;
}

.language-box {
    background-color: rgba(255, 255, 255, 0.03);
    border-left: 3px solid var(--accent-bronze);
    padding: 1.5rem;
    margin-bottom: 3rem;
}

.language-box p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin: 0;
}

.resume-title {
    font-size: 1.2rem;
    color: var(--text-main);
    margin-bottom: 2rem;
    border-bottom: 1px solid rgba(197, 131, 43, 0.3);
    padding-bottom: 0.5rem;
}

.resume-timeline {
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    padding-left: 1.5rem;
    margin-left: 0.5rem;
}

.timeline-item {
    position: relative;
    margin-bottom: 2rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -1.8rem;
    top: 0.4rem;
    width: 10px;
    height: 10px;
    background-color: var(--accent-bronze);
    border-radius: 50%;
}

.timeline-item h5 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--text-main);
    margin-bottom: 0.5rem;
    letter-spacing: 0.05em;
}

.timeline-item .location {
    font-family: var(--font-jp);
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 300;
}

.timeline-item ul {
    list-style: none;
    padding-left: 0;
}

.timeline-item li {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.sub-list {
    margin-top: 0.5rem;
    padding-left: 1rem !important;
    border-left: 1px dashed rgba(255,255,255,0.1);
}

.sub-list li {
    font-size: 0.85rem;
    color: #888;
}

.badge-grad, .badge-comp {
    display: inline-block;
    padding: 0.1rem 0.5rem;
    font-size: 0.7rem;
    border-radius: 2px;
    margin-left: 0.5rem;
    margin-right: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.badge-grad {
    background-color: rgba(197, 131, 43, 0.2);
    color: var(--accent-bronze);
    border: 1px solid var(--accent-bronze);
}

.badge-comp {
    background-color: rgba(255, 255, 255, 0.05);
    color: #bbb;
    border: 1px solid #555;
}

.timeline-item small {
    color: #666;
}

@media (min-width: 992px) {
    .about-grid {
        max-width: 800px;
        margin: 0 auto;
    }
}

/* --- SECCIÓN 6: RESERVAS (PLACEHOLDER) --- */
.reserve-placeholder {
    padding: 8rem 5%;
    background-color: var(--bg-charcoal);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 40vh;
}

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

.placeholder-title {
    font-size: 1.2rem;
    color: var(--text-main);
    letter-spacing: 0.1em;
}

.separator-line {
    width: 60px;
    height: 2px;
    background-color: var(--accent-bronze);
    margin: 1.5rem auto;
}

.placeholder-desc {
    color: var(--text-muted);
    font-style: italic;
    font-size: 1.1rem;
}

/* --- SECCIÓN 7: FOOTER / CONTACTO --- */
.footer-section {
    background-color: #050505; 
    padding: 5rem 5% 2rem 5%;
    border-top: 1px solid rgba(197, 131, 43, 0.2);
}

.footer-heading {
    text-align: center;
    font-size: 1.2rem;
    color: var(--accent-bronze);
    margin-bottom: 4rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-bottom: 5rem;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.contact-item h4 {
    color: var(--text-main);
    font-size: 1.2rem; /* Igualado al título de sección */
    margin-bottom: 1rem;
    border-left: 2px solid var(--accent-bronze);
    padding-left: 0.8rem;
}

.contact-item p {
    color: var(--text-muted);
    font-size: 1.1rem; /* Aumentado para excelente lectura en móvil */
    line-height: 1.8;
}

.contact-item .small-text {
    font-size: 1rem; /* Aumentado para que no se pierda en móviles */
    color: #999; 
    display: block;
    margin-top: 0.5rem;
}

/* --- ESTILOS PARA ENLACES (Previene el color azul automático de iOS/Android) --- */
/* --- ESTILOS PARA ENLACES (Fuerza el color cobre siempre) --- */
.contact-item a, 
.contact-item a[href^="tel"] {
    color: var(--accent-bronze) !important; 
    text-decoration: none; /* Quita el subrayado azul nativo */
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: var(--accent-bronze-hover) !important;
}

/* Subrayado elegante SOLO para teléfonos móviles */
@media (max-width: 767px) {
    .contact-item a, 
    .contact-item a[href^="tel"] {
        border-bottom: 1px solid var(--accent-bronze); 
    }
}


.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 2rem;
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: #444; 
    letter-spacing: 0.2em;
    margin-bottom: 1rem;
}

.copyright {
    color: #555;
    font-size: 0.8rem;
}

@media (min-width: 768px) {
    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* --- SECCIÓN 6: RESERVAS RÁPIDAS --- */
.reserve-section {
    padding: 6rem 5%;
    background-color: var(--bg-charcoal);
    min-height: 60vh;
}

.reserve-instruction {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.schedule-container {
    max-width: 800px;
    margin: 0 auto 3rem auto;
    background-color: var(--bg-card);
    border: 1px solid rgba(197, 131, 43, 0.2);
    border-radius: 4px;
    padding: 2rem;
    min-height: 200px;
    position: relative;
}

/* Estado de carga (Spinner) */
.loading-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: var(--accent-bronze);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(197, 131, 43, 0.2);
    border-top-color: var(--accent-bronze);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 1rem;
}

@keyframes spin { 100% { transform: rotate(360deg); } }

/* Botón inferior */
.reserve-actions {
    margin-top: 2rem;
}

/* --- VENTANA MODAL DE RESERVA --- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background-color: var(--bg-card);
    width: 90%;
    max-width: 550px;
    border-top: 3px solid var(--accent-bronze);
    border-radius: 4px;
    padding: 2.5rem;
    position: relative;
    transform: translateY(20px);
    transition: transform 0.3s ease;
    box-shadow: 0 25px 50px rgba(0,0,0,0.5);
    max-height: 90vh;
    overflow-y: auto;
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 1rem;
}

.modal-header h3 {
    color: var(--accent-bronze);
    font-size: 1.2rem;
    margin: 0;
}

.close-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
    transition: color 0.3s ease;
}

.close-btn:hover {
    color: #fff;
}

.modal-instruction {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

/* --- ESTILOS DE FEEDBACK DEL FORMULARIO (API n8n) --- */
.form-feedback {
    padding: 1rem;
    margin-bottom: 1.5rem;
    border-radius: 4px;
    font-size: 0.95rem;
    text-align: center;
    display: none; /* Oculto por defecto */
    animation: fadeIn 0.3s ease;
}

.form-feedback.show { display: block; }

/* Estados dinámicos */
.form-feedback.error { background-color: rgba(229, 115, 115, 0.1); border: 1px solid #E57373; color: #E57373; }
.form-feedback.success { background-color: rgba(129, 199, 132, 0.1); border: 1px solid #81C784; color: #81C784; }
.form-feedback.warning { background-color: rgba(197, 131, 43, 0.1); border: 1px solid var(--accent-bronze); color: var(--accent-bronze); }

/* Botón de acción rápida para sugerencia de horario */
.btn-suggested-time {
    background-color: transparent;
    color: var(--text-main);
    border: 1px solid var(--accent-bronze);
    padding: 0.5rem 1rem;
    margin-top: 0.8rem;
    border-radius: 2px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-suggested-time:hover {
    background-color: var(--accent-bronze);
    color: var(--bg-dark);
}

/* Formulario */
.reserve-form {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

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

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

.form-group label {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0.4rem;
    letter-spacing: 0.05em;
}

.form-control {
    background-color: #151515;
    border: 1px solid rgba(255,255,255,0.1);
    color: var(--text-main);
    padding: 0.8rem;
    font-family: var(--font-jp);
    font-size: 1rem;
    border-radius: 2px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-bronze);
    box-shadow: 0 0 0 1px var(--accent-bronze);
}

/* Estilos específicos para el input de fecha nativo en navegadores oscuros */
input[type="date"]::-webkit-calendar-picker-indicator,
input[type="time"]::-webkit-calendar-picker-indicator {
    filter: invert(1);
    opacity: 0.6;
    cursor: pointer;
}

textarea.form-control {
    resize: vertical;
    min-height: 80px;
}

.btn-submit-form {
    background-color: var(--accent-bronze);
    color: var(--bg-dark);
    border: none;
    padding: 1.2rem;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    margin-top: 1rem;
    letter-spacing: 0.1em;
    transition: background-color 0.3s ease;
    border-radius: 2px;
}

.btn-submit-form:hover {
    background-color: var(--accent-bronze-hover);
}

@media (max-width: 600px) {
    .form-row {
        grid-template-columns: 1fr;
    }
    .modal-content {
        padding: 1.5rem;
    }
}

/* --- ESTILOS AÑADIDOS PARA HORARIOS GENERADOS EN JS (FASE 1) --- */

.schedule-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    width: 100%;
    animation: fadeIn 0.5s ease;
}

.day-card {
    background-color: #161616;
    border: 1px solid rgba(197, 131, 43, 0.2);
    border-radius: 4px;
    padding: 1.5rem;
    text-align: center;
    transition: transform 0.3s ease;
}

.day-card:hover {
    transform: translateY(-3px);
    border-color: rgba(197, 131, 43, 0.4);
}

.day-header {
    color: var(--text-main);
    font-size: 1.2rem;
    margin-bottom: 1.2rem;
    border-bottom: 1px solid rgba(197, 131, 43, 0.3);
    padding-bottom: 0.5rem;
    letter-spacing: 0.05em;
}

.slots-container {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.slot-btn {
    background-color: transparent;
    border: 1px solid var(--accent-bronze);
    color: var(--accent-bronze);
    padding: 0.8rem;
    border-radius: 2px;
    cursor: pointer;
    font-family: var(--font-jp);
    font-size: 1.1rem;
    transition: all 0.3s ease;
    width: 100%;
}

.slot-btn:hover {
    background-color: var(--accent-bronze);
    color: var(--bg-dark);
}

.no-slots-text {
    color: #666;
    font-size: 0.9rem;
    font-style: italic;
    padding: 0.8rem 0;
}

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

/* --- ESTILOS DE VALIDACIÓN DE FORMULARIO --- */
.input-error {
    border-color: #E57373 !important;
    box-shadow: 0 0 0 1px rgba(229, 115, 115, 0.5) !important;
}

.input-error-msg {
    color: #E57373;
    font-size: 0.8rem;
    margin-top: 0.4rem;
    display: block;
    letter-spacing: 0.05em;
    animation: fadeIn 0.3s ease;
}

.reserve-form .form-group {
    position: relative;
    padding-bottom: 0.5rem; 
}

/* ==========================================
   SELECTOR DE IDIOMAS (FASE 1)
   ========================================== */

/* --- NAVBAR DESKTOP DROPDOWN --- */
.nav-item-lang {
    position: relative;
    display: flex;
    align-items: center;
}

.lang-dropdown {
    cursor: pointer;
    padding: 0.5rem 0;
}

.current-lang {
    color: var(--text-main);
    font-size: 0.9rem;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
    letter-spacing: 0.05em;
}

.current-lang:hover {
    color: var(--accent-bronze);
}

.current-lang .arrow {
    font-size: 0.55rem;
    opacity: 0.7;
    transition: transform 0.3s ease;
}

.lang-dropdown:hover .current-lang .arrow {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 50%;
    transform: translateX(50%) translateY(15px);
    background-color: rgba(18, 18, 18, 0.98);
    border: 1px solid rgba(197, 131, 43, 0.2);
    border-radius: 4px;
    list-style: none;
    padding: 0.5rem 0;
    min-width: 140px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 10px 30px rgba(0,0,0,0.8);
}

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

.dropdown-menu li {
    padding: 0;
}

.dropdown-menu a {
    display: block;
    padding: 0.7rem 1.5rem;
    color: var(--text-muted);
    font-size: 0.85rem;
    text-decoration: none;
    text-align: center;
    transition: all 0.2s ease;
}

.dropdown-menu a:hover,
.dropdown-menu a.active {
    color: var(--accent-bronze);
    background-color: rgba(255, 255, 255, 0.03);
}

.dropdown-menu a.active {
    font-weight: 600;
}

/* --- HERO SELECTOR SUTIL --- */
.hero-lang-selector {
    margin-top: 2rem;
    font-size: 1.1rem;
    letter-spacing: 0.15em;
    opacity: 0.7;
    transition: opacity 0.3s ease;
    font-family: var(--font-heading);
}

.hero-lang-selector:hover {
    opacity: 1;
}

.hero-lang-selector a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s ease, transform 0.3s ease;
    display: inline-block;
}

.hero-lang-selector a:hover {
    color: var(--accent-bronze);
    transform: translateY(-2px);
}

.hero-lang-selector .separator {
    color: rgba(255, 255, 255, 0.15);
    margin: 0 0.8rem;
    font-weight: 300;
}

/* --- AJUSTES DE TIPOGRAFÍA PARA PANTALLAS GRANDES (ESCRITORIO) --- */
@media (min-width: 768px) {
    /* El subtítulo principal del Hero (Hero subtitle) */
    .subtitle { 
        font-size: 1.6rem; /* Aumentado sutilmente para más presencia */
        margin-bottom: 2rem;
    }

    /* Encabezados de sección generales (Ej. 選ばれる理由) */
    .section-heading { 
        font-size: 1.8rem; /* Mayor jerarquía en escritorio */
        margin-bottom: 5rem;
    }

    /* Encabezado de la filosofía (卓越性と独占性) */
    .philosophy-heading {
        font-size: 1.6rem;
    }

    /* Encabezado de la cuadrícula de terapias (当サロンのセラピー) */
    .therapies-heading {
        font-size: 1.6rem;
    }
}

/* ==========================================
   FASE 2: SELECTOR DE IDIOMAS MÓVIL (Touch-Friendly Grid)
   ========================================== */
@media (max-width: 767px) {
 /* 1. Separar el selector de los enlaces principales */
    .nav-item-lang {
        width: 85vw;
        max-width: 320px;
        margin: 1rem auto 0 auto;
        padding-top: 2rem;
        border-top: 1px solid rgba(197, 131, 43, 0.2);
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .lang-dropdown {
        width: 100%;
        /* Desactiva el hover nativo para no generar conflictos táctiles */
        pointer-events: auto; 
    }

    .current-lang {
        font-size: 1.1rem;
        justify-content: center;
        padding: 0.8rem;
        width: 100%;
        color: var(--accent-bronze);
    }

    /* 2. Anular el hover del escritorio */
    .lang-dropdown:hover .dropdown-menu {
        opacity: 0;
        visibility: hidden;
        transform: none;
    }

    /* 3. Reestructurar el menú flotante a un Acordeón/Grid integrado */
    .dropdown-menu {
        position: static;
        transform: none;
        background-color: transparent;
        border: none;
        box-shadow: none;
        width: 100%;
        
        /* Grid 2x2 para los idiomas */
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0.8rem;
        
        /* Oculto por defecto, animado vía max-height */
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        visibility: hidden;
        transition: max-height 0.4s ease, opacity 0.4s ease, margin-top 0.4s ease;
    }

    /* 4. Estado "Abierto" controlado por JavaScript */
    .lang-dropdown.open .dropdown-menu {
        max-height: 200px; /* Altura suficiente para el grid */
        opacity: 1;
        visibility: visible;
        margin-top: 1.5rem;
    }

    .lang-dropdown.open .current-lang .arrow {
        transform: rotate(180deg);
    }

    /* 5. Diseño Premium de los botones táctiles */
    .dropdown-menu a {
        border: 1px solid rgba(197, 131, 43, 0.3);
        border-radius: 4px;
        padding: 1rem 0.5rem;
        font-size: 0.95rem;
        background: rgba(20, 20, 20, 0.5);
        color: var(--text-main);
    }

    .dropdown-menu a:hover {
        background: rgba(197, 131, 43, 0.1);
    }

    .dropdown-menu a.active {
        background-color: var(--accent-bronze);
        color: var(--bg-dark);
        font-weight: bold;
        border-color: var(--accent-bronze);
    }
}