/* === FUENTES Y ESTILOS GLOBALES === */
/* === FUENTES PERSONALIZADAS === */
@import url('https://fonts.googleapis.com/css2?family=Inter&family=Marcellus&family=Montserrat:wght@400;700&display=swap');

@font-face {
    font-family: 'Dastin';
    src: url('/css/font/Dastin.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

/* === FUENTES PERSONALIZADAS ADICIONALES (auto-inyectadas) === */
@font-face {
    font-family: 'Hacky';
    src: url('/css/font/Hacky.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'Oskon-Regular';
    src: url('/css/font/ZTBrosOskon90s-Regular.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
}
@font-face {
    font-family: 'Oskon-Light';
    src: url('/css/font/ZTBrosOskon90s-Light.otf') format('opentype');
    font-weight: 300;
    font-style: normal;
}
@font-face {
    font-family: 'Oskon-ExtraLight';
    src: url('/css/font/ZTBrosOskon90s-ExtraLight.otf') format('opentype');
    font-weight: 200;
    font-style: normal;
}
@font-face {
    font-family: 'Oskon-Italic';
    src: url('/css/font/ZTBrosOskon90s-Italic.otf') format('opentype');
    font-weight: 400;
    font-style: italic;
}
@font-face {
    font-family: 'Oskon-LightItalic';
    src: url('/css/font/ZTBrosOskon90s-LightItalic.otf') format('opentype');
    font-weight: 300;
    font-style: italic;
}
@font-face {
    font-family: 'Oskon-ExtraLightItalic';
    src: url('/css/font/ZTBrosOskon90s-ExtLtIta.otf') format('opentype');
    font-weight: 200;
    font-style: italic;
}


:root {
    --bg-color: #E1DBD3;
    --text-color: #4A4A4A;
    --accent-color: #8D7B6D;
    --accent-hover: #726356;
    --border-color: #D3CEC7;
    --font-headings: 'Dastin', serif;
    --font-body: 'Montserrat', sans-serif;
    --card-height: 400px;
}

html {
    scroll-behavior: smooth;
    height: 100%;
}

body {
    margin: 0;
    font-family: var(--font-body);
    background-color: var(--bg-color);
    color: var(--text-color);
    overflow-x: hidden;
    line-height: 1.7;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

body.no-scroll {
    overflow: hidden;
}

main {
    flex-grow: 1;
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-headings);
}

.btn {
    display: inline-block;
    padding: 16px 42px;
    background-color: var(--accent-color);
    color: white !important;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    font-size: 16px;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border: 1px solid var(--accent-color);
    cursor: pointer;
}

.btn:hover:not(:disabled) {
    background-color: var(--accent-hover);
    transform: translateY(-3px) scale(1.05);
}

.btn:disabled {
    background-color: #ccc !important;
    color: #666 !important;
    cursor: not-allowed;
    border-color: #ccc !important;
    transform: none !important;
    box-shadow: none !important;
}

.btn-secondary {
    background-color: transparent;
    color: var(--accent-color) !important;
    border: 1px solid var(--accent-color);
}
.btn-secondary:hover:not(:disabled) {
    background-color: var(--accent-color);
    color: white !important;
}
.btn-small {
    padding: 8px 16px !important;
    font-size: 13px !important;
}

.section {
    padding: 80px 0;
    text-align: center;
}

.section-title {
    font-size: 2.7rem;
    margin-bottom: 20px;
    color: var(--text-color);
}

.section-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 1.05rem;
    color: #777;
    max-width: 680px;
    margin: 0 auto 60px auto;
    text-align: center;
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.decorative-divider {
    border: none;
    height: 1px;
    background-color: var(--border-color);
    width: 80%;
    margin: 0 auto;
}

/* === HEADER Y NAVEGACIÓN === */
.main-header {
    padding: 15px 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: background-color 0.4s ease, box-shadow 0.4s ease, backdrop-filter 0.4s ease;
}

.main-header.scrolled {
    background-color: rgba(225, 219, 211, 0.85);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 10px rgba(0,0,0,0.05);
}

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

.logo img {
    height: 28px;
    transition: opacity 0.3s ease;
}
.logo img:hover {
    opacity: 0.8;
}

.main-nav {
    display: none;
}
@media (min-width: 992px) {
    .main-nav {
        display: flex;
        flex-grow: 1;
        justify-content: center;
    }
}
.main-nav ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    gap: 35px;
}
.main-nav a {
    text-decoration: none;
    color: var(--text-color);
    font-size: 14px;
    position: relative;
    padding-bottom: 6px;
}
.main-nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--accent-color);
    transition: width 0.4s ease;
}
.main-nav a:hover::after, .main-nav-item.active a::after {
    width: 100%;
}
.main-nav-item.active a {
    font-weight: bold;
}

.header-actions {
    display: none;
}
@media (min-width: 992px) {
    .header-actions {
        display: flex;
        align-items: center;
        gap: 15px;
    }
}
.header-actions a, .mobile-header-actions a {
    font-size: 13px;
    text-decoration: none;
    padding: 6px 14px;
    border-radius: 5px;
    transition: all 0.3s ease;
    font-weight: bold;
}
.header-actions .header-cta, .mobile-header-actions .header-cta {
    background-color: var(--accent-color);
    color: white;
    border: 1px solid var(--accent-color);
}
.header-actions .header-cta:hover, .mobile-header-actions .header-cta:hover {
    background-color: var(--accent-hover);
    border-color: var(--accent-hover);
}
.header-actions .header-login, .mobile-header-actions .header-login {
    color: var(--text-color);
    border: 1px solid var(--border-color);
}
.header-actions .header-login:hover, .mobile-header-actions .header-login:hover {
    background-color: var(--accent-color);
    color: white;
    border-color: var(--accent-color);
}

.hamburger-menu {
    display: block;
    cursor: pointer;
    z-index: 1002;
}
@media (min-width: 992px) {
    .hamburger-menu {
        display: none;
    }
}
.hamburger-menu .line {
    width: 25px;
    height: 2px;
    background-color: var(--text-color);
    margin: 5px 0;
}

.mobile-nav-overlay {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    backdrop-filter: blur(10px);
    z-index: 1001;
    transition: right 0.5s ease;
}
.mobile-nav-overlay.is-open {
    right: 0;
    display: flex;
}
.mobile-nav-content {
    background-color: var(--bg-color);
    position: absolute;
    top: 0;
    right: 0;
    width: 80%;
    max-width: 320px;
    height: 100%;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.mobile-nav-links {
    list-style: none;
    padding: 0;
    text-align: center;
}
.mobile-nav-links li {
    margin-bottom: 25px;
}
.mobile-nav-links a {
    text-decoration: none;
    font-size: 1.5rem;
    color: var(--text-color);
}
.close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 35px;
    background: none;
    border: none;
    cursor: pointer;
}
.mobile-header-actions {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
}
.mobile-header-actions a {
    text-align: center;
    margin-bottom: 15px;
    padding: 12px 20px;
    font-size: 16px;
}
.mobile-header-actions a:last-child {
    margin-bottom: 0;
}

/* === BANDERAS HEADER === */
.header-flags {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-flags a {
    display: inline-block;
    line-height: 0; 
}

.header-flags img {
    height: 20px;
    width: auto;
    border-radius: 4px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #ffffff;
}

.header-flags img:hover {
    transform: scale(1.1);
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.mobile-header-actions .header-flags {
    justify-content: center;
    margin: 15px 0;
    gap: 20px;
}
.mobile-header-actions .header-flags img {
    height: 24px;
}

/* === MODALES === */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.modal-overlay.active {
    display: flex;
    opacity: 1;
}
.modal-content {
    background: white;
    padding: 30px;
    border-radius: 10px;
    max-width: 90%;
    width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    transform: scale(0.95);
    transition: transform 0.3s ease;
}
.modal-overlay.active .modal-content {
    transform: scale(1);
}
.modal-close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 2rem;
    background: none;
    border: none;
    cursor: pointer;
    color: #999;
    transition: color 0.2s ease;
}
.modal-close-btn:hover {
    color: #333;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* === FOOTER === */
.main-footer {
    padding: 70px 0;
    text-align: center;
}
.main-footer .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
}
.footer-logo {
    margin-bottom: 15px;
}
.main-footer p {
    margin: 3px 0;
    color: #6c757d;
    font-size: 0.9rem;
}
.main-footer a {
    color: var(--accent-color);
    text-decoration: none;
}
.main-footer a:hover {
    text-decoration: underline;
}
.footer-login-link {
    font-size: 0.85rem;
    opacity: 0.8;
}

/* ============================= */
/* ESTILOS UNIFICADOS PARA ENCABEZADOS CON VIDEO */
/* ============================= */

.hero,
.page-hero-services,
.page-hero-shop,
.page-hero-about,
.page-hero-nosotros {
    position: relative;
    /* Altura ajustada para un diseño más estético */
    height: 65vh; 
    min-height: 550px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.hero::after,
.page-hero-services::after,
.page-hero-shop::after,
.page-hero-about::after,
.page-hero-nosotros::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(40, 40, 40, 0.45); /* Unificamos el overlay */
    z-index: 1;
}

/* Contenedor del video */
#hero-video,
.video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

#hero-video,
.video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

/* Contenido (títulos y botones) */
.hero-content {
    position: relative;
    z-index: 2;
    padding: 20px;
}

.hero-content h1 {
    font-size: 3.5rem; /* Tamaño de título consistente */
    margin-bottom: 1rem;
    line-height: 1.3;
}

.hero-content p {
    font-size: 1.3rem; /* Tamaño de subtítulo consistente */
    max-width: 800px;
    margin: 0 auto 40px auto;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* Efecto hover sobre el video */
.hero:hover video,
.page-hero-services:hover video,
.page-hero-shop:hover video,
.page-hero-about:hover video,
.page-hero-nosotros:hover video {
    transform: scale(1.03);
}

/* --- ESTILOS PÁGINA INICIO (HOME) --- */
.btn.pulse-animation {
    animation: pulse-animation 2.5s infinite ease-in-out;
}
@keyframes pulse-animation {
    0% { transform: scale(1); box-shadow: 0 4px 15px rgba(0,0,0,0.1); }
    50% { transform: scale(1.03); box-shadow: 0 6px 20px rgba(141, 123, 109, 0.3); }
    100% { transform: scale(1); box-shadow: 0 4px 15px rgba(0,0,0,0.1); }
}
.btn:hover {
    animation: none;
}
.scroll-down-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.scroll-down-indicator svg {
    width: 32px;
    height: 32px;
    animation: bounce-arrow 2.5s infinite ease-in-out;
}
@keyframes bounce-arrow {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); opacity: 0.8; }
    40% { transform: translateY(10px); opacity: 1; }
    60% { transform: translateY(5px); opacity: 0.9; }
}
.treatments-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.treatment-card {
    height: var(--card-height);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    background-size: cover;
    background-position: center;
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), opacity 0.4s ease, box-shadow 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0,0,0,0.07);
    color: white;
    text-decoration: none;
}
.treatments-grid:hover .treatment-card:not(:hover) {
    opacity: 0.7;
    transform: scale(0.97);
}
.treatment-card:hover {
    transform: scale(1.03);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    z-index: 10;
    opacity: 1;
}
.treatment-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(to top, rgba(225,219,211,0.20) 0%, rgba(225,219,211,0.08) 40%, rgba(225,219,211,0.00) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: 100%;
    box-sizing: border-box;
    transition: background 0.4s ease;
}
.treatment-card:hover .treatment-card-overlay {
    background: linear-gradient(to top, rgba(225,219,211,0.28) 0%, rgba(225,219,211,0.12) 45%, rgba(225,219,211,0.00) 100%);
}
.treatment-card h3 {
    font-size: 1.4rem;
    margin: 0 0 5px 0;
}
.treatment-details {
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: opacity 0.4s ease 0.1s, max-height 0.4s ease 0.1s, transform 0.4s ease 0.1s;
    transform: translateY(10px);
}
.treatment-card:hover .treatment-details {
    opacity: 1;
    max-height: 150px;
    transform: translateY(0);
}
.treatment-details p {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.9);
    line-height: 1.5;
}
.services-cta-container {
    margin-top: 60px;
}
.cta-agenda-section {
    padding: 80px 0;
    text-align: center;
}
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}
.testimonial {
    background-color: transparent;
    padding: 35px;
    border-radius: 8px;
    position: relative;
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.testimonial:hover {
    transform: translateY(-7px) scale(1.03);
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}
.testimonial::before {
    content: '“';
    font-size: 5rem;
    color: var(--accent-color);
    position: absolute;
    top: 20px;
    left: 30px;
    opacity: 0.1;
}
.testimonial p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.8;
    font-style: italic;
    color: #555;
}
.testimonial .author {
    margin-top: 25px;
    font-weight: bold;
    display: block;
    color: var(--accent-color);
    font-style: normal;
    font-size: 0.9rem;
}
.shop-section {
    display: flex;
    align-items: center;
    gap: 50px;
}
.shop-content {
    flex: 1;
    text-align: center;
}
.shop-image {
    flex: 1;
    text-align: center;
}
.shop-image img {
    max-width: 70%;
    border-radius: 8px;
    display: block;
    margin: 0 auto;
}
.contact-form-container {
    background-color: white;
    padding: 30px 40px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    box-sizing: border-box; 
    margin-left: auto;
    margin-right: auto;
}
.form-group {
    margin-bottom: 20px;
}
.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.9rem;
    font-weight: bold;
}
.form-group input:not([type="submit"]), .form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    box-sizing: border-box;
    background-color: #fff;
    font-family: var(--font-body);
    font-size: 0.95rem;
}
.form-group textarea {
    min-height: 120px;
    resize: vertical;
}
.success-message, .error-message {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 5px;
    text-align: center;
    font-size: 0.9rem;
}
.success-message {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}
.error-message {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}
.instagram-feed-section {
    width: 100%;
    padding: 40px 0;
    text-align: center;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}
.instagram-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-bottom: 25px;
}
.instagram-post {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 1/1;
    background-color: #f0f0f0;
}
.instagram-post img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.instagram-post:hover img {
    transform: scale(1.05);
}
.instagram-post-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.instagram-post:hover .instagram-post-overlay {
    opacity: 1;
}
.instagram-post-overlay svg {
    width: 24px;
    height: 24px;
    fill: white;
}
.instagram-link {
    display: inline-block;
    margin-top: 25px;
    font-size: 1rem;
}


/* --- ESTILOS PÁGINA SERVICIOS --- */
.search-container {
    margin-bottom: 30px;
    text-align: center;
}
#search-input {
    width: 100%;
    max-width: 500px;
    padding: 12px;
    border-radius: 5px;
    border: 1px solid var(--border-color);
}
.tabs-nav {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin: 20px 0;
    border-bottom: 1px solid var(--border-color);
    flex-wrap: wrap;
}
.tabs-nav-item {
    padding: 15px 20px;
    cursor: pointer;
    opacity: 0.7;
    border-bottom: 3px solid transparent;
}
.tabs-nav-item.active, .tabs-nav-item:hover {
    opacity: 1;
    color: var(--accent-color);
    font-weight: bold;
    border-bottom-color: var(--accent-color);
}
.tab-content {
    display: none;
    padding-top: 40px;
}
.tab-content.active {
    display: block;
    animation: fadeIn 0.5s ease;
}
.services-grid-final-style {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    text-align: left;
}

.service-card-final-style {
    min-height: 360px;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    background-size: cover;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    transition: all 0.4s ease;
}

.service-card-overlay-final-style {
    width: 100%;
    padding: 25px;
    background: linear-gradient(to top, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.25) 40%, rgba(0,0,0,0.00) 100%);
    box-sizing: border-box;
}
.service-details-on-hover {
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: opacity 0.4s ease, max-height 0.4s ease;
}

.service-card-final-style:hover .service-details-on-hover {
    opacity: 1;
    max-height: 300px;
}

.view-more-modal-link {
    text-decoration: underline;
    cursor: pointer;
    font-weight: bold;
    display: inline-block;
    margin-top: 10px;
}
#modal-service-title-detail {
    color: var(--accent-color);
}
.cta-section {
    text-align: center;
}

/* --- ESTILOS PÁGINA TIENDA (SHOP) --- */
.filter-container {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 15px;
}
.search-input {
    flex: 1;
    min-width: 250px;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}
.filter-select {
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: white;
    font-size: 16px;
}
.loading-indicator {
    display: none;
    flex-direction: column;
    align-items: center;
    padding: 30px;
    gap: 15px;
}
.spinner {
    border: 4px solid rgba(0, 0, 0, 0.1);
    border-left-color: #333;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
}
@keyframes spin {
    to { transform: rotate(360deg); }
}
.no-products {
    text-align: center;
    padding: 40px;
    font-size: 18px;
    color: #666;
}
.placeholder-image {
    background-color: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    min-height: 200px;
}
.placeholder-image::before {
    content: "Imagen no disponible";
    color: #999;
    font-style: italic;
}
.shop-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}
.product-card {
    border: 1px solid var(--border-color);
    border-radius: 10px;
    overflow: hidden;
    background-color: #fff;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}
.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}
.product-image-container {
    width: 100%;
    height: 300px;
    background-color: #f0f0f0;
}
.product-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.product-info {
    padding: 20px;
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}
.product-info h3 {
    font-size: 1.2rem;
    margin: 0 0 10px 0;
    flex-grow: 1;
}
.product-info .price {
    font-size: 1.3rem;
    font-weight: bold;
    color: var(--accent-color);
    margin-bottom: 20px;
}
.product-info .btn {
    width: 100%;
    box-sizing: border-box;
}
.modal-product-layout {
    display: flex;
    gap: 30px;
}
.modal-product-image {
    flex: 1;
    max-width: 350px;
}
.modal-product-image img {
    width: 100%;
    border-radius: 8px;
}
.modal-product-info {
    flex: 1.5;
}
.modal-product-info .price {
    font-size: 1.8rem;
    font-weight: bold;
    margin: 15px 0;
    color: var(--accent-color);
}
.modal-product-info p {
    font-size: 1rem;
    line-height: 1.6;
    color: #666;
    margin-bottom: 30px;
}

/* --- ESTILOS PÁGINA NOSOTROS --- */
.philosophy-section {
    padding: 80px 0;
}
.philosophy-content {
    max-width: 750px;
    margin: 0 auto;
    text-align: left;
}
.philosophy-content p {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 20px;
}
.team-section {
    padding: 80px 0;
    background-color: var(--border-color);
}
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    justify-content: center;
}
.team-member-card {
    text-align: center;
}
.team-member-card img {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
    border: 5px solid white;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.team-member-card:hover img {
    transform: scale(1.05);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}
.team-member-card p {
    font-size: 0.9rem;
    color: #666;
}

/* --- ESTILOS PÁGINA CONTACTO --- */
.contact-main {
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}
.contact-wrapper {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}
.contact-wrapper .subtitle {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 40px;
}

.contact-details {
    margin-top: 40px;
}
.contact-details p {
    margin-bottom: 5px;
}
.contact-details a {
    color: var(--text-color);
}

/* --- ESTILOS PÁGINA AGENDA --- */
.agenda-main {
    padding-top: 120px;
    padding-bottom: 60px;
}
.agenda-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}
@media (min-width: 992px) {
    .agenda-layout {
        grid-template-columns: 2fr 1fr;
        align-items: flex-start;
    }
}
.booking-form-wrapper {
    background-color: #fff;
    padding: 30px 40px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    text-align: left;
}
#form-steps-container {
    min-height: 280px;
    position: relative;
}
.form-step {
    display: none;
}
.form-step.active {
    display: block;
    animation: fadeIn 0.5s ease;
}
.form-group select, .form-group input {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    box-sizing: border-box;
    font-size: 1rem;
}
.form-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
}
.form-navigation .invisible {
    visibility: hidden;
}
.summary-section {
    padding-bottom: 20px;
}
.summary-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 1rem;
}
.policy-group {
    margin-top: 25px;
    display: flex;
    align-items: center;
    font-size: 0.9rem;
}
.policy-group input {
    width: auto;
    margin-right: 10px;
}
.policy-group label a {
    text-decoration: underline;
    color: var(--accent-color);
    cursor: pointer;
}
.modal-policy {
    display: none;
    position: fixed;
    z-index: 3000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.6);
    align-items: center;
    justify-content: center;
}
.modal-policy.active {
    display: flex;
}
.modal-content-policy {
    background-color: var(--bg-color);
    padding: 30px;
    border-radius: 10px;
    width: 90%;
    max-width: 500px;
    position: relative;
}
.modal-policy .close-policy {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}


/* --- ESTILOS PÁGINA LOGIN --- */
.login-body {
    justify-content: center;
    align-items: center;
}
.login-container {
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 25px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 400px;
    padding: 40px;
    text-align: center;
}
.logo-login {
    width: 80px;
    margin-bottom: 25px;
    cursor: pointer;
}
.login-container h1 {
    color: var(--text-color);
    margin-bottom: 30px;
    font-size: 1.8rem;
}
.login-container .form-group input:focus {
    border-color: var(--accent-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(141, 123, 109, 0.2);
}
.btn-login {
    width: 100%;
    padding: 12px;
    background-color: var(--accent-color);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
}
.btn-login:hover:not(:disabled) {
    background-color: var(--accent-hover);
}
.btn-login:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}
.footer-text {
    margin-top: 30px;
    font-size: 0.8rem;
    color: #95a5a6;
}

/* --- MEDIA QUERIES RESPONSIVE --- */
@media (max-width: 992px) {
    .treatments-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero,
    .page-hero-services,
    .page-hero-shop,
    .page-hero-about,
    .page-hero-nosotros {
        height: 60vh;
        min-height: 450px;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content p {
        font-size: 1.2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .cta-agenda-section .section-title { 
        font-size: 2rem; 
    }
    .testimonials-grid, .team-grid { 
        grid-template-columns: 1fr; 
    }
    .shop-section { 
        flex-direction: column; 
    }
    .shop-image { 
        margin-bottom: 30px; 
    }
    .instagram-grid { 
        grid-template-columns: repeat(2, 1fr); 
    }
    .modal-product-layout { 
        flex-direction: column; 
    }
    .modal-content { 
        width: 95%; padding: 20px; 
    }

    .contact-wrapper .contact-form-container {
        padding: 30px 20px;
    }
    
    .agenda-main {
        padding-top: 100px;
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .booking-form-wrapper {
        padding: 30px 20px;
    }
    
    .philosophy-content {
        padding: 20px;
    }
}
/* --- Responsive fix botones agenda (stack en móvil) --- */
@media (max-width: 480px) {
  .booking-form-card, .booking-form-wrapper, .agenda-main .container {
    padding-left: 12px;
    padding-right: 12px;
  }
  .form-navigation {
    flex-direction: column;
    gap: 12px;
  }
  .form-navigation .btn {
    width: 100%;
  }
}
/* Mensajes inline - Agenda */
.alert{border-radius:12px;padding:12px 14px;margin:10px 0;line-height:1.35}
.alert.is-hidden{display:none}
.alert--ok{background:#ecfdf5;color:#065f46;border:1px solid #a7f3d0}
.alert--warn{background:#fff7ed;color:#9a3412;border:1px solid #fed7aa}
.alert--error{background:#fef2f2;color:#991b1b;border:1px solid #fecaca}

/* Estados de botones */
.btn[disabled]{opacity:.6;pointer-events:none}

/* Fix responsive botones dentro del card en móviles */
@media (max-width: 480px) {
  .form-navigation { display:flex; flex-direction:column; gap:12px; }
  .form-navigation .btn { width:100%; }
}
