/* ==========================================================================
   MARCELASH ESTÉTICA - LANDING PAGE DESIGN SYSTEM & STYLES
   ========================================================================== */

/* --- TYPOGRAPHY IMPORT --- */
/* Cargado eficientemente mediante encolado de WordPress para optimizar PageSpeed */

/* --- DESIGN TOKENS (VARIABLES) --- */
:root {
    /* Color Palette - Lujo Neutro y Clínico */
    --bg-clinical: #FBFBFB;
    --bg-pearl: #F7F5F6;
    --text-charcoal: #2C2C2C;
    --text-muted: #5E5E5E;
    --text-light: #8E8E8E;
    
    /* Acentos Sophisticated Rose Gold / Warm Nude */
    --accent-rose-gold: #CBB0B3;       /* Rose Gold apagado, elegante */
    --accent-rose-hover: #B9979B;      /* Tono más profundo para hover */
    --accent-nude: #E6DCD2;            /* Arena/Nude suave */
    --accent-nude-dark: #CBB9A8;       /* Arena oscuro */
    --gold-glint: #D1B894;             /* Acento oro sutil */
    
    /* Fuentes */
    --font-headings: 'Montserrat', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Espaciado y Layout (Espacio Negativo Amplio) */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
    --spacing-section-desktop: 8rem;
    --spacing-section-mobile: 4rem;
    
    /* Bordes y Formas Orgánicas */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 20px;
    --radius-full: 9999px;
    
    /* Sombras y Líneas de Lujo */
    --shadow-premium: 0 15px 45px rgba(44, 44, 44, 0.04);
    --shadow-soft: 0 4px 30px rgba(0, 0, 0, 0.015);
    --border-subtle: 1px solid rgba(44, 44, 44, 0.06);
    --border-accent: 1px solid rgba(203, 176, 179, 0.3);
    
    /* Transiciones */
    --transition-smooth: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.25s ease;
}

/* --- BASE STYLES --- */
.marcelash-landing-wrapper *, 
.marcelash-landing-wrapper *::before, 
.marcelash-landing-wrapper *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.marcelash-landing-wrapper {
    background-color: var(--bg-clinical);
    color: var(--text-charcoal);
    font-family: var(--font-body);
    font-weight: 400;
    line-height: 1.6;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* --- TYPOGRAPHY UTILITIES --- */
.marcelash-landing-wrapper h1, 
.marcelash-landing-wrapper h2, 
.marcelash-landing-wrapper h3, 
.marcelash-landing-wrapper h4 {
    font-family: var(--font-headings);
    color: var(--text-charcoal);
    font-weight: 300;
    line-height: 1.25;
    letter-spacing: 0.06em;
}

.marcelash-landing-wrapper h1 {
    font-size: clamp(2.2rem, 5vw, 3.6rem);
    text-transform: capitalize;
    font-weight: 200;
}

.marcelash-landing-wrapper h2 {
    font-size: clamp(1.6rem, 4vw, 2.4rem);
    letter-spacing: 0.08em;
    font-weight: 300;
}

.marcelash-landing-wrapper h3 {
    font-size: clamp(1.2rem, 2.5vw, 1.5rem);
    font-weight: 400;
}

.marcelash-landing-wrapper p {
    font-size: 0.95rem;
    color: var(--text-muted);
    font-weight: 400;
    line-height: 1.65;
}

.text-uppercase-small {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--accent-rose-gold);
    display: inline-block;
    margin-bottom: 1.2rem;
}

/* --- STRUCTURE & LAYOUT --- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.section {
    padding: var(--spacing-section-desktop) 0;
    position: relative;
    overflow: hidden;
}

.bg-pearl-section {
    background-color: var(--bg-pearl);
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-lg);
    align-items: center;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
}

/* --- BUTTONS & CALLS TO ACTION --- */
.btn-group {
    display: inline-flex;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
    margin-top: 2rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.2rem;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: var(--radius-md);
    transition: var(--transition-smooth);
    cursor: pointer;
    border: 1px solid transparent;
    gap: 0.6rem;
}

.btn-solid-gold,
.btn-solid-gold:visited {
    background-color: var(--accent-rose-gold);
    color: #ffffff !important;
    box-shadow: 0 6px 20px rgba(203, 176, 179, 0.15);
}

.btn-solid-gold:hover,
.btn-solid-gold:focus,
.btn-solid-gold:active {
    background-color: var(--accent-rose-hover);
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(203, 176, 179, 0.25);
}

.btn-outline,
.btn-outline:visited {
    background-color: transparent;
    border-color: var(--text-charcoal);
    color: var(--text-charcoal) !important;
}

.btn-outline:hover,
.btn-outline:focus,
.btn-outline:active {
    background-color: var(--text-charcoal);
    color: #ffffff !important;
    transform: translateY(-2px);
}

.btn-whatsapp,
.btn-whatsapp:visited {
    background-color: #2c2c2c;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: var(--shadow-soft);
}

.btn-whatsapp:hover,
.btn-whatsapp:focus,
.btn-whatsapp:active {
    background-color: #1a1a1a;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    border-color: var(--accent-rose-gold);
}

.icon-svg {
    width: 18px;
    height: 18px;
    stroke-width: 1.5;
}

.icon-svg-large {
    width: 36px;
    height: 36px;
    stroke-width: 1.0;
    color: inherit;
}

/* --- HEADER / NAVIGATION --- */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background-color: rgba(251, 251, 251, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: var(--border-subtle);
    padding: 1.2rem 0;
    transition: var(--transition-fast);
}

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

.logo {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    line-height: 1;
}

.logo-brand {
    font-family: var(--font-headings);
    font-size: 1.3rem;
    font-weight: 400;
    letter-spacing: 0.18em;
    color: var(--text-charcoal) !important;
}

.logo-sub {
    font-family: var(--font-headings);
    font-size: 0.6rem;
    font-weight: 500;
    letter-spacing: 0.42em;
    color: var(--accent-rose-gold) !important;
    margin-top: 0.15rem;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.nav-link,
.nav-link:visited {
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-muted) !important;
    text-decoration: none;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: var(--transition-fast);
}

.nav-link:hover,
.nav-link:focus,
.nav-link:active {
    color: var(--text-charcoal) !important;
}

.nav-cta-btn,
.nav-cta-btn:visited {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-charcoal) !important;
    text-decoration: none;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    border: 1px solid var(--text-charcoal);
    padding: 0.6rem 1.4rem;
    border-radius: var(--radius-sm);
    transition: var(--transition-fast);
}

.nav-cta-btn:hover,
.nav-cta-btn:focus,
.nav-cta-btn:active {
    background-color: var(--text-charcoal);
    color: #ffffff !important;
}

/* --- SECCIÓN 1: HERO (SPLIT LAYOUT) --- */
.hero-section {
    min-height: 100vh;
    padding-top: 4.5rem;
    background-color: var(--bg-clinical);
    display: flex;
    align-items: stretch;
}

.hero-split-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    width: 100%;
}

.hero-text-block {
    background-color: var(--bg-clinical);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-xl) var(--spacing-lg);
}

.hero-content-inner {
    max-width: 520px;
}

.hero-subtitle {
    margin-top: 1.5rem;
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text-muted);
}

.hero-image-block {
    position: relative;
    overflow: hidden;
    background-color: var(--bg-pearl);
    min-height: 450px;
}

.hero-main-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
    display: block;
    filter: brightness(0.98);
}

/* --- SECCIÓN 2: TRATAMIENTO ESTRELLA --- */
.treatment-split-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background-color: #ffffff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: var(--border-subtle);
    box-shadow: var(--shadow-premium);
}

.treatment-image-wrapper {
    position: relative;
    min-height: 500px;
    background-color: var(--bg-pearl);
}

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

.treatment-content-wrapper {
    padding: var(--spacing-lg);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

@media (min-width: 993px) {
    .treatment-split-card.reverse .treatment-image-wrapper {
        order: 2;
    }
    .treatment-split-card.reverse .treatment-content-wrapper {
        order: 1;
    }
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin: 1.5rem 0 2.2rem 0;
    list-style: none;
    width: 100%;
}

.benefits-grid li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.marcelash-landing-wrapper .benefit-icon {
    width: 18px !important;
    height: 18px !important;
    color: var(--accent-rose-gold) !important;
    stroke-width: 2 !important;
    flex-shrink: 0 !important;
}

.treatment-description {
    margin-top: 1.2rem;
    font-size: 1rem;
    margin-bottom: 2rem;
}

.offer-box {
    width: 100%;
    background-color: var(--bg-pearl);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    border: var(--border-subtle);
    margin-bottom: 2rem;
}

.price-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
    border-bottom: 1px dashed rgba(44, 44, 44, 0.1);
}

.price-item.promo {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}

.price-label {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-muted);
}

.price-item.promo .price-label {
    color: var(--text-charcoal);
    font-weight: 600;
}

.badge-duration {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--accent-rose-gold);
    border: 1px solid rgba(203, 176, 179, 0.4);
    padding: 0.1rem 0.5rem;
    border-radius: var(--radius-sm);
    margin-left: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.price-value {
    font-family: var(--font-headings);
    font-size: 1.15rem;
    color: var(--text-light);
}

.price-value.original {
    text-decoration: line-through;
}

.price-value.discounted {
    font-size: 1.6rem;
    font-weight: 500;
    color: var(--text-charcoal);
}

/* --- SECCIÓN 3: CATÁLOGO --- */
.section-header {
    text-align: center;
    max-width: 650px;
    margin: 0 auto var(--spacing-xl) auto;
}

.section-subheader {
    margin-top: 1rem;
    font-size: 1.05rem;
}

.catalog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
    align-items: stretch;
}

.catalog-card {
    background-color: #ffffff;
    border: var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-soft);
    transition: var(--transition-smooth);
    position: relative;
}

.catalog-card:hover {
    transform: translateY(-12px) scale(1.01); /* scaled slightly more for premium feel */
    border-color: var(--accent-rose-gold);
    box-shadow: 0 20px 50px rgba(203, 176, 179, 0.12); /* warm luxury shadow on hover */
}

.featured-card {
    border-top: 4px solid var(--accent-rose-gold) !important; /* highlight top border */
    background: linear-gradient(180deg, rgba(247, 245, 246, 0.6) 0%, rgba(255, 255, 255, 1) 100%) !important; /* soft clinical gradient */
    box-shadow: 0 12px 35px rgba(203, 176, 179, 0.05);
}

.card-image-wrapper {
    width: 100%;
    height: 260px;
    overflow: hidden;
    position: relative;
    border-bottom: var(--border-subtle);
}

.card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.catalog-card:hover .card-img {
    transform: scale(1.04);
}

.card-body {
    padding: 2.5rem 2.2rem 3rem 2.2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.featured-card .card-badge {
    background-color: var(--accent-rose-gold) !important; /* Solid badge to draw attention */
    color: #ffffff !important;
    border: none !important;
}

.card-badge {
    position: absolute;
    top: 2rem;
    right: 2.2rem;
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent-rose-gold);
    border: 1px solid rgba(203, 176, 179, 0.3);
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
}

.card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background-color: var(--bg-pearl);
    border-radius: var(--radius-full);
    margin-bottom: 2rem;
    transition: var(--transition-smooth);
    color: var(--accent-rose-gold);
}

.catalog-card:hover .card-icon {
    background-color: var(--accent-rose-gold);
    color: #ffffff;
    transform: rotate(6deg) scale(1.06); /* micro-rotation and zoom on hover */
}

.catalog-card h3 {
    margin-bottom: 0.8rem;
    letter-spacing: 0.04em;
    font-weight: 400; /* slightly bolder headings */
}

.card-intro {
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-muted);
    margin-bottom: 2rem;
    letter-spacing: 0.02em;
}

.service-list {
    list-style: none;
    margin-bottom: 3rem;
}

.service-list li {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 1.2rem;
    line-height: 1.6;
    position: relative;
    padding-left: 1.2rem;
}

.service-list li::before {
    content: "•";
    color: var(--accent-rose-gold);
    font-size: 1.35rem;
    position: absolute;
    left: 0;
    top: -0.18rem;
    font-weight: bold;
}

.service-list li strong {
    color: var(--text-charcoal);
    font-weight: 500;
}

.card-btn {
    margin-top: auto;
    width: 100%;
    white-space: nowrap !important; /* Force single line on desktop */
    padding: 0.9rem 1.1rem !important; /* reduced horizontal padding to guarantee single line */
    font-size: 0.74rem !important; /* slightly smaller font for clean spacing */
    letter-spacing: 0.08em !important; /* compact letter spacing */
}

/* Catalog Asymmetric Visual Banner */
.catalog-visual-banner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background-color: var(--bg-pearl);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: var(--border-subtle);
    margin-top: var(--spacing-xl);
    box-shadow: var(--shadow-soft);
}

.banner-text {
    padding: var(--spacing-lg);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.banner-text h3 {
    margin-bottom: 1rem;
}

.banner-text p {
    font-size: 0.95rem;
}

.banner-image {
    min-height: 320px;
    background-color: var(--bg-clinical);
}

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

/* --- SECCIÓN 4: EL MÉTODO MARCELASH --- */
.method-column {
    background-color: #ffffff;
    border: var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 3rem 2rem;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-soft);
    transition: var(--transition-smooth);
}

.method-column:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-premium);
}

.method-num {
    font-family: var(--font-headings);
    font-size: 2.8rem;
    font-weight: 200;
    color: var(--accent-rose-gold);
    opacity: 0.8;
    line-height: 1;
    margin-bottom: 1.5rem;
}

.method-column h4 {
    margin-bottom: 1rem;
    font-weight: 400;
    letter-spacing: 0.04em;
}

.method-column p {
    font-size: 0.9rem;
    line-height: 1.6;
}

/* --- SECCIÓN 5: CIERRE Y FOOTER --- */
.main-footer {
    background-color: var(--bg-pearl);
    border-top: var(--border-subtle);
    padding: var(--spacing-xl) 0 var(--spacing-md) 0;
}

.footer-cta {
    background-color: #ffffff;
    border-radius: var(--radius-lg);
    border: var(--border-subtle);
    padding: 5rem var(--spacing-lg);
    text-align: center;
    max-width: 900px;
    margin: 0 auto var(--spacing-xl) auto;
    box-shadow: var(--shadow-premium);
}

.footer-cta h2 {
    margin-bottom: 1rem;
}

.footer-cta p {
    max-width: 580px;
    margin: 0 auto 2.2rem auto;
    font-size: 1rem;
}

.footer-layout {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
    align-items: start;
}

.footer-info {
    order: -1; /* Renders info panel on the left on desktop */
}

.footer-logo {
    margin-bottom: 1.5rem;
}

.footer-tagline {
    font-size: 0.9rem;
    margin-bottom: 2rem;
    max-width: 350px;
}

.footer-contacts {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.contact-title {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent-rose-gold);
}

.footer-contacts address {
    font-style: normal;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.footer-contacts p {
    font-size: 0.9rem;
}

.instagram-link,
.instagram-link:visited {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-charcoal) !important;
    text-decoration: none;
    transition: var(--transition-fast);
}

.instagram-link:hover,
.instagram-link:focus,
.instagram-link:active {
    color: var(--accent-rose-gold) !important;
}

/* FAQ Accordion */
.footer-faqs {
    background-color: #ffffff;
    border: var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 3rem 2.2rem;
    box-shadow: var(--shadow-soft);
}

.faq-accordion {
    margin-top: 1.5rem;
}

.faq-item {
    border-bottom: 1px solid rgba(44, 44, 44, 0.08);
    padding: 1.2rem 0;
}

.faq-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.faq-item:first-child {
    padding-top: 0;
}

.faq-question {
    width: 100%;
    background: transparent;
    border: none;
    outline: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-charcoal);
    text-align: left;
    cursor: pointer;
    transition: var(--transition-fast);
}

.faq-question:hover {
    color: var(--accent-rose-gold);
}

.faq-icon {
    position: relative;
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    margin-left: 1rem;
}

.faq-icon::before, .faq-icon::after {
    content: "";
    position: absolute;
    background-color: var(--text-charcoal);
    transition: var(--transition-fast);
}

/* Horizontal line */
.faq-icon::before {
    top: 6px;
    left: 0;
    width: 14px;
    height: 2px;
}

/* Vertical line */
.faq-icon::after {
    top: 0;
    left: 6px;
    width: 2px;
    height: 14px;
}

.faq-item.active .faq-icon::after {
    transform: rotate(90deg);
    opacity: 0;
}

.faq-item.active .faq-icon::before {
    background-color: var(--accent-rose-gold);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-answer p {
    font-size: 0.88rem;
    line-height: 1.6;
    padding-top: 0.8rem;
    color: var(--text-muted);
}

.footer-bottom {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: var(--border-subtle);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
}

.footer-bottom p {
    font-size: 0.75rem;
    color: var(--text-light);
}

.footer-links-discrete {
    display: flex;
    gap: 1.5rem;
}

.footer-links-discrete a,
.footer-links-discrete a:visited {
    font-size: 0.75rem;
    color: var(--text-light) !important;
    text-decoration: none;
    transition: var(--transition-fast);
}

.footer-links-discrete a:hover,
.footer-links-discrete a:focus,
.footer-links-discrete a:active {
    color: var(--text-charcoal) !important;
}

/* --- MOBILE ONLY ELEMENTS (HIDDEN ON DESKTOP) --- */
.mobile-menu-toggle {
    display: none;
}
.mobile-catalog-tabs {
    display: none;
}
.mobile-floating-cta {
    display: none;
}

/* --- RESPONSIVE MEDIA QUERIES --- */
@media (max-width: 992px) {
    /* Header & Mobile Toggle */
    .header-container {
        position: relative;
        padding: 0 var(--spacing-md);
    }
    
    .mobile-menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 24px;
        height: 16px;
        background: transparent;
        border: none;
        cursor: pointer;
        padding: 0;
        z-index: 101;
    }
    
    .mobile-menu-toggle .bar {
        width: 100%;
        height: 2px;
        background-color: var(--text-charcoal);
        transition: var(--transition-fast);
        transform-origin: left center;
    }
    
    /* Hamburger Active Animation */
    .mobile-menu-toggle.active .bar:nth-child(1) {
        transform: rotate(45deg) translateY(-2.5px);
        background-color: var(--text-charcoal);
    }
    
    .mobile-menu-toggle.active .bar:nth-child(2) {
        opacity: 0;
        width: 0;
    }
    
    .mobile-menu-toggle.active .bar:nth-child(3) {
        transform: rotate(-45deg) translateY(2.5px);
        background-color: var(--text-charcoal);
    }

    /* Mobile Sliding Nav Drawer */
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background-color: rgba(251, 251, 251, 0.98);
        backdrop-filter: blur(25px);
        -webkit-backdrop-filter: blur(25px);
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        padding: 7rem 2.5rem 3rem 2.5rem;
        box-shadow: -10px 0 45px rgba(0, 0, 0, 0.05);
        transition: right 0.5s cubic-bezier(0.16, 1, 0.3, 1);
        gap: 2.2rem;
        border-left: var(--border-subtle);
        z-index: 99;
    }
    
    .main-nav.active {
        right: 0;
    }
    
    .nav-link {
        width: 100%;
        padding-bottom: 0.8rem;
        border-bottom: 1px solid rgba(44, 44, 44, 0.04);
        font-size: 0.9rem;
    }
    
    .nav-cta-btn {
        width: 100%;
        text-align: center;
        margin-top: 1rem;
        padding: 0.8rem 1.5rem;
    }

    /* Hero Section Mobile Order (Image on Top) */
    .hero-split-container {
        display: flex;
        flex-direction: column-reverse;
    }
    
    .hero-text-block {
        padding: var(--spacing-lg) var(--spacing-md);
        text-align: center;
    }
    
    .hero-content-inner {
        max-width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .hero-image-block {
        height: 45vh;
        min-height: 300px;
    }

    /* Star Treatment Section Stack */
    .treatment-split-card {
        grid-template-columns: 1fr;
    }
    
    .treatment-image-wrapper {
        min-height: 340px;
    }
    
    .treatment-content-wrapper {
        padding: 3rem var(--spacing-md);
        align-items: center;
        text-align: center;
    }
    
    .offer-box {
        max-width: 450px;
        margin: 0 auto 2rem auto;
        padding: 1.25rem !important;
    }
    
    .price-item {
        flex-direction: column !important; /* Stack vertically to prevent horizontal overflow */
        align-items: flex-start !important;
        gap: 0.35rem !important;
        border-bottom: 1px dashed rgba(44, 44, 44, 0.08);
        padding-bottom: 0.8rem;
        margin-bottom: 0.8rem;
    }
    
    .price-item.promo {
        border-bottom: none;
        padding-bottom: 0;
        margin-bottom: 0;
    }
    
    .price-label {
        font-size: 0.8rem !important;
        white-space: normal !important;
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        gap: 0.3rem;
    }
    
    .badge-duration {
        white-space: nowrap !important;
        margin-left: 0.2rem;
        font-size: 0.65rem !important;
    }
    
    .price-value {
        align-self: flex-start !important;
    }
    
    .price-value.discounted {
        font-size: 1.4rem !important;
        white-space: nowrap !important;
        margin-top: 0.1rem;
    }
    
    .price-value.original {
        white-space: nowrap !important;
        font-size: 1.05rem !important;
    }

    /* Catalog Tabs - Fixed width, no horizontal scroll, fits all screens */
    .mobile-catalog-tabs {
        display: flex;
        justify-content: space-between; /* distribute evenly */
        gap: 0.3rem;
        margin-bottom: 2rem;
        background-color: var(--bg-pearl);
        padding: 0.35rem 0.35rem !important;
        border-radius: var(--radius-md);
        border: var(--border-subtle);
        overflow-x: hidden !important; /* no scrollbar, fixed */
    }
    
    .catalog-tab-btn {
        background: transparent;
        border: none;
        outline: none;
        padding: 0.5rem 0.25rem !important; /* narrow padding to fit horizontally */
        border-radius: var(--radius-sm);
        font-family: var(--font-body);
        font-size: 0.64rem !important; /* compact size to guarantee they fit in one line */
        font-weight: 500;
        letter-spacing: 0.02em !important; /* reduced letter spacing to fit text */
        text-transform: uppercase;
        cursor: pointer;
        color: var(--text-muted);
        transition: var(--transition-fast);
        flex: 1 !important; /* fill available container width evenly */
        text-align: center;
        white-space: nowrap !important;
        box-shadow: none;
    }
    
    .catalog-tab-btn.active {
        background-color: #ffffff;
        color: var(--text-charcoal);
        font-weight: 600;
        box-shadow: 0 2px 8px rgba(44, 44, 44, 0.03) !important;
    }
    
    .catalog-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .catalog-grid .catalog-card {
        display: none;
        padding: 0;
        box-shadow: var(--shadow-premium);
    }
    
    .card-body {
        padding: 2rem 1.5rem;
    }
    
    .card-image-wrapper {
        height: 220px;
    }
    
    .catalog-grid .catalog-card.active {
        display: flex;
        animation: cardFadeIn 0.5s ease forwards;
    }
    
    @keyframes cardFadeIn {
        from {
            opacity: 0;
            transform: translateY(12px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    /* Catalog Banner Stack */
    .catalog-visual-banner {
        grid-template-columns: 1fr;
    }
    
    .banner-text {
        padding: 3rem var(--spacing-md);
        text-align: center;
        align-items: center;
    }
    
    .banner-image {
        min-height: 250px;
    }
    
    /* Footer Layout Stack */
    .footer-layout {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }
    
    .footer-faqs {
        padding: 2.5rem 1.5rem;
    }
    
    .footer-info {
        order: 0 !important; /* Stacks below FAQs on mobile */
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 var(--spacing-sm) !important; /* Reduce container padding to 16px on mobile */
    }

    /* Header Styling */
    .main-header {
        padding: 0.8rem 0;
    }
    
    .hero-section {
        padding-top: 3.8rem;
    }
    
    .hero-text-block {
        padding: 3rem 1rem !important; /* Reduce padding inside hero block */
    }
    
    .hero-subtitle {
        font-size: 0.95rem;
    }

    /* Spacers adjustment */
    .section {
        padding: var(--spacing-section-mobile) 0;
    }
    
    .treatment-content-wrapper {
        padding: 2.5rem 1rem !important; /* Reduce padding inside treatment block */
    }

    /* Method Columns Stack & Border */
    .grid-3 {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
    
    .method-column {
        padding: 2.5rem var(--spacing-md);
        border-left: 3px solid rgba(203, 176, 179, 0.4);
        border-radius: 0 var(--radius-md) var(--radius-md) 0;
    }
    
    .method-num {
        font-size: 2.2rem;
        margin-bottom: 0.8rem;
    }
    
    /* Footer CTA */
    .footer-cta {
        padding: 4rem var(--spacing-md);
        margin-bottom: var(--spacing-lg);
    }
    
    #footer-cta-whatsapp {
        white-space: normal !important; /* Allow wrapping only for this extra long CTA on small devices */
        font-size: 0.72rem !important;
        line-height: 1.4;
        padding: 0.9rem 1.2rem !important;
    }
    
    /* Floating mobile WhatsApp CTA */
    .mobile-floating-cta,
    .mobile-floating-cta:visited {
        display: flex;
        position: fixed;
        bottom: 1.25rem;
        left: 5%;
        right: 5%;
        width: 90%;
        background-color: #25D366;
        color: #ffffff !important;
        align-items: center;
        justify-content: center;
        gap: 0.6rem;
        padding: 0.9rem 1.2rem;
        border-radius: var(--radius-full);
        font-family: var(--font-body);
        font-size: 0.8rem;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.1em;
        text-decoration: none;
        box-shadow: 0 10px 25px rgba(37, 211, 102, 0.35);
        z-index: 98;
        transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
        transform: translateY(120px);
        opacity: 0;
        pointer-events: none;
        border: none;
        cursor: pointer;
    }
    
    .mobile-floating-cta:hover,
    .mobile-floating-cta:focus {
        color: #ffffff !important;
        background-color: #20ba5a;
    }

    .mobile-floating-cta.visible {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }
    
    .mobile-floating-cta:active {
        transform: scale(0.97);
        color: #ffffff !important;
        background-color: #1a9e4d;
    }
    
    .mobile-floating-cta svg {
        width: 18px;
        height: 18px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        align-items: center;
        gap: 1rem;
        padding-bottom: 5.5rem; /* Space so floating button doesn't cover text */
    }
    
    .btn-group {
        width: 100%;
        flex-direction: column;
        gap: 0.8rem;
    }
    
    .btn {
        width: 100%;
        padding: 0.9rem 1.2rem !important;
        font-size: 0.75rem !important;
        letter-spacing: 0.04em !important;
        white-space: normal !important; /* Allow wrapping to prevent any horizontal cut-off */
        line-height: 1.3 !important; /* Elegant vertical height if wrapped */
        text-align: center;
    }
}

/* ==========================================================================
   SHORTCODE DE VALORACIÓN Y MODAL RESPONSIVE
   ========================================================================== */

/* Contenedor e inline styles para el botón de Valoración */
.marcelash-valoracion-container {
    display: inline-block;
}

/* Estilos de Overlay y Backdrop */
.marcelash-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(44, 44, 44, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.4s;
}

.marcelash-modal-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* Contenido del Modal */
.marcelash-modal-content {
    background-color: #ffffff;
    width: 92%;
    max-width: 480px;
    padding: 3rem 2.5rem;
    border-radius: var(--radius-lg);
    border: var(--border-subtle);
    box-shadow: 0 30px 60px rgba(44, 44, 44, 0.15);
    position: relative;
    transform: scale(0.92) translateY(20px);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    max-height: 90vh;
    overflow-y: auto;
}

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

/* Botón Cerrar (X) */
.marcelash-modal-close {
    position: absolute;
    top: 1.2rem;
    right: 1.5rem;
    background: none;
    border: none;
    font-size: 1.8rem;
    font-weight: 300;
    color: var(--text-light);
    cursor: pointer;
    transition: var(--transition-fast);
    line-height: 1;
    padding: 0;
}

.marcelash-modal-close:hover,
.marcelash-modal-close:focus {
    color: var(--text-charcoal);
    outline: none;
}

/* Cabecera del Modal */
.marcelash-modal-header {
    margin-bottom: 2.2rem;
    text-align: left;
}

.marcelash-modal-header h3 {
    font-size: 1.6rem;
    font-weight: 400;
    margin-bottom: 0.5rem;
    letter-spacing: 0.05em;
    color: var(--text-charcoal);
}

.marcelash-modal-header p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* Formulario e Inputs */
.marcelash-modal-form .form-group {
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
}

.marcelash-modal-form label {
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-charcoal);
    margin-bottom: 0.5rem;
    text-align: left;
}

.marcelash-modal-form input[type="text"],
.marcelash-modal-form select {
    padding: 0.9rem 1rem;
    border: 1px solid rgba(44, 44, 44, 0.12);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.92rem;
    color: var(--text-charcoal);
    background-color: #ffffff;
    width: 100%;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

/* Flecha personalizada para select */
.marcelash-modal-form select {
    background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%238E8E8E' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1.2rem;
    padding-right: 2.5rem;
    cursor: pointer;
}

.marcelash-modal-form input[type="text"]::placeholder {
    color: var(--text-light);
}

.marcelash-modal-form input[type="text"]:focus,
.marcelash-modal-form select:focus {
    outline: none;
    border-color: var(--accent-rose-gold);
    box-shadow: 0 0 0 3px rgba(203, 176, 179, 0.2);
}

/* Botón de Enviar */
.marcelash-modal-form .btn-submit {
    margin-top: 1rem;
    width: 100%;
    font-size: 0.8rem;
    letter-spacing: 0.12em;
    padding: 1rem 1.5rem !important;
}

/* Bloquear scroll del body */
body.marcelash-modal-open {
    overflow: hidden;
}

/* Ajustes Responsive para Móviles */
@media (max-width: 480px) {
    .marcelash-modal-content {
        padding: 2.5rem 1.8rem;
        margin: 1rem;
    }
    
    .marcelash-modal-header h3 {
        font-size: 1.35rem;
    }
}

