@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=Lato:wght@300;400;700&display=swap');

:root {
    /* Paleta: Rosa Viejo + Verde Salvia sobre Blanco Perlado (2026 Elegante) */
    --primary-rose: #C76674;
    /* Rosa Viejo - Títulos y botones */
    --primary-gradient: linear-gradient(135deg, #FFFAF8 0%, #FFF5F3 100%);
    /* Blanco Perlado con toque rosado */

    --accent-gold: #C5A059;
    /* Dorado Cálido */
    --accent-gold-light: #D4C4A8;
    --text-gold: #C5A059;

    --rose-pastel: #FDD5D5;
    /* Rosa Pastel - Fondos claros */
    --sage-green: #9EB5A3;
    /* Verde Salvia - Acentos */
    --forest-green: #5F7D65;
    /* Verde Bosque - Para textos y detalles */

    --pearl-white: #FFFAF8;
    /* Blanco Perlado - Fondo principal */

    --text-dark: #5F7D65;
    /* Verde Bosque para texto principal */
    --text-white: #FFFFFF;
    --text-soft: #5A6F5E;
    /* Verde más oscuro para mejor contraste */

    /* Variables para compatibilidad */
    --primary-color: #C76674;
    --primary-dark: #5F7D65;
    --primary-red: #FFFAF8;
    /* Reasignado a blanco perlado para compatibilidad */
    --white: #fff;
    --light-text: #5A6F5E;
    --border-color: rgba(199, 102, 116, 0.3);

    /* Espaciado y Radio */
    --radius-sm: 12px;
    --radius-md: 24px;
    --radius-lg: 32px;

    --spacing-sm: 0.75rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 3rem;

    --glass-bg: rgba(199, 102, 116, 0.05);
    --glass-border: 1px solid rgba(199, 102, 116, 0.2);
    --glass-shadow: 0 8px 32px 0 rgba(199, 102, 116, 0.1);

    --transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

/* Accesibilidad - Focus Visible */
:focus-visible {
    outline: 2px solid var(--primary-rose);
    outline-offset: 2px;
}

/* Accesibilidad - Reduced Motion */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Lato', sans-serif;
    color: var(--text-dark);
    background: var(--pearl-white);
    background-image: var(--primary-gradient);
    min-height: 100vh;
    overflow-x: hidden;
    line-height: 1.5;
}

/* Efecto nieve removido para versión 2026 */

/* Skeleton Loading - UX 2026 */
.skeleton {
    background: linear-gradient(90deg,
            rgba(199, 102, 116, 0.1) 25%,
            rgba(199, 102, 116, 0.2) 50%,
            rgba(199, 102, 116, 0.1) 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s ease-in-out infinite;
    border-radius: var(--radius-sm);
}

@keyframes skeleton-loading {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

/* Typography - Unified & Premium */
h1,
h2,
h3,
h4,
.logo,
.card-title,
.section-title {
    font-family: 'Playfair Display', serif;
    color: var(--primary-rose);
    font-weight: 600;
    letter-spacing: -0.02em;
}

h1 {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    line-height: 1.1;
    margin-bottom: 1rem;
    /* Reduced margin */
}

h2 {
    font-size: clamp(2rem, 5vw, 3rem);
    color: var(--forest-green);
    margin-bottom: 0.5rem;
}

h3 {
    font-size: 1.5rem;
    color: var(--primary-rose);
}

p {
    font-size: 1.15rem;
    margin-bottom: 1rem;
    font-weight: 400;
    color: var(--forest-green);
    line-height: 1.7;
}

/* Descripción de secciones - Mayor legibilidad */
.section-desc {
    font-size: 1.2rem;
    font-weight: 400;
    color: var(--text-dark);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 2rem;
    line-height: 1.8;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

/* Components: 2025 "Soft Glass" Style */

/* Buttons: Pill Shape */
.btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 12px 24px;
    /* Slightly compacted padding */
    border-radius: 50px;
    /* Pill */
    font-family: 'Playfair Display', serif;
    /* Use Serif for elegance */
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, #C76674 0%, #A8525E 100%);
    color: #FFFFFF;
    box-shadow: 0 4px 15px rgba(199, 102, 116, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(199, 102, 116, 0.6);
    color: #FFFFFF;
}

.btn-secondary {
    background: transparent;
    border: 1px solid var(--primary-rose);
    color: var(--primary-rose);
}

.btn-secondary:hover {
    background: var(--primary-rose);
    color: #FFFFFF;
}

.btn-striking {
    background: linear-gradient(135deg, #C76674 0%, #A8525E 100%);
    color: #FFFFFF;
    border: none;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(199, 102, 116, 0.3);
    letter-spacing: 1px;
}

.btn-striking:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(199, 102, 116, 0.5);
    color: #FFFFFF;
}

.btn-block {
    width: 100%;
    margin-top: 1rem;
}

/* Structural Layout */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    /* Mobile safe area slightly tighter */
}

.section {
    padding: var(--spacing-md) 0;
}

/* Use smaller spacing variable */

.grid {
    display: grid;
    gap: var(--spacing-sm);
    /* Tighter grid gap */
}

.grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-4 {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

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

/* Card: Soft Glassmorphism para fondo claro */
.card {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(199, 102, 116, 0.2);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(199, 102, 116, 0.1);
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 1);
    border-color: var(--primary-rose);
    box-shadow: 0 8px 30px rgba(199, 102, 116, 0.2);
}

.card-img {
    height: 200px;
    width: 100%;
    background-color: rgba(253, 213, 213, 0.3);
    border-bottom: 2px solid var(--primary-rose);
    object-fit: cover;
}

.card-body {
    padding: 1.5rem;
}

/* Reduced padding */

/* Form Controls */
.form-group {
    margin-bottom: 1rem;
}

/* Form Controls - Soft Luxury Style */
.form-label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--primary-rose);
    font-family: 'Playfair Display', serif;
    font-weight: 600;
}

.form-control {
    width: 100%;
    padding: 12px;
    border-radius: var(--radius-sm);
    background: #FFFFFF;
    border: 1px solid rgba(199, 102, 116, 0.3);
    color: var(--forest-green);
    font-family: 'Lato', sans-serif;
    font-size: 1rem;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-rose);
    background: #FFFFFF;
    box-shadow: 0 0 0 3px rgba(199, 102, 116, 0.1);
}

/* Header & Nav - Soft Luxury Style */
.header {
    background: rgba(255, 250, 248, 0.98);
    backdrop-filter: blur(15px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(199, 102, 116, 0.15);
    padding: 1rem 0;
    box-shadow: 0 2px 20px rgba(199, 102, 116, 0.08);
}

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

.logo {
    font-size: 1.8rem;
    color: var(--primary-rose);
    /* Fallback */
    background: linear-gradient(to right, #C76674, #FDD5D5, #C5A059);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-decoration: none;
    font-weight: 700;
    text-shadow: 0px 0px 1px rgba(199, 102, 116, 0.3);
    /* Subtle glow */
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
    /* Ensure no bullets */
}

.nav-links a {
    font-family: 'Lato', sans-serif;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    font-weight: 600;
    color: var(--forest-green);
}

.nav-links a:hover {
    color: var(--primary-rose);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--primary-rose);
    cursor: pointer;
}

/* Footer - Soft Luxury Style */
.footer {
    background: var(--pearl-white);
    padding: var(--spacing-lg) 0;
    margin-top: var(--spacing-lg);
    border-top: 2px solid rgba(199, 102, 116, 0.15);
}

.footer h4 {
    color: var(--primary-rose);
    margin-bottom: 1.5rem;
}

.footer ul {
    list-style: none;
}

.footer ul li {
    margin-bottom: 0.8rem;
}

.footer-content {
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.footer-links-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

@media (max-width: 480px) {
    .footer-links-group {
        grid-template-columns: 1fr 1fr;
        /* Keep 2 columns even on mobile as requested, usually fits for links */
    }
}

.footer-social-buttons {
    display: flex;
    gap: 0.5rem;
    width: 100%;
    margin-top: 1rem;
}

.btn-social {
    flex: 1;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 10px 5px;
    background: transparent;
    border: 1px solid var(--primary-rose);
    color: var(--primary-rose);
    border-radius: var(--radius-sm);
    text-decoration: none;
    font-size: 0.9rem;
    font-family: 'Lato', sans-serif;
    text-transform: uppercase;
    transition: var(--transition);
}

.btn-social:hover {
    background: var(--primary-rose);
    color: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(199, 102, 116, 0.3);
}

/* 
=====================================================
   BOOKING WIZARD SPECIFICS (2026 Blanco Perlado Theme)
=====================================================
*/
.booking-wizard .card {
    background: rgba(255, 255, 255, 0.95);
    /* Blanco con leve transparencia */
    backdrop-filter: blur(20px);
    box-shadow: 0 20px 50px rgba(199, 102, 116, 0.15);
    border: 2px solid var(--primary-rose);
}

/* Selection Items */
.selection-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 20px;
    margin-bottom: 8px;
    background: rgba(253, 213, 213, 0.3);
    border: 1px solid rgba(199, 102, 116, 0.3);
    border-radius: var(--radius-sm);
    color: var(--forest-green);
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    font-size: 1.05rem;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.selection-item:hover {
    background: rgba(199, 102, 116, 0.2);
    border-color: var(--primary-rose);
    transform: translateY(-2px);
}

.selection-item.selected {
    background: var(--primary-rose);
    /* Rosa Viejo sólido */
    color: #FFFFFF;
    /* Blanco para contraste */
    font-weight: 800;
    border-color: #fff;
    box-shadow: 0 0 20px rgba(199, 102, 116, 0.5);
}

.selection-item.selected strong {
    color: #FFFFFF !important;
}

/* Accordion Specifics */
.accordion-header {
    background: rgba(253, 213, 213, 0.1);
    /* Rosa pastel sutil */
}

.accordion-header.active {
    background: #FDD5D5;
    /* Rosa pastel para header activo */
    color: #5F7D65;
    /* Verde bosque texto */
    border-left: 5px solid var(--primary-rose);
}

/* Time Slot Buttons */
#time-slots button {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-white);
    padding: 12px;
    border-radius: 8px;
    cursor: pointer;
    font-family: 'Lato', sans-serif;
    font-weight: 600;
    transition: var(--transition);
}

#time-slots button:hover {
    background: var(--primary-rose);
    color: #FFFFFF;
    border-color: var(--primary-rose);
}

#time-slots button.selected {
    background: var(--sage-green);
    /* Verde salvia para seleccionado */
    color: #FFFFFF;
    border: 2px solid var(--primary-rose);
    box-shadow: 0 0 15px rgba(199, 102, 116, 0.3);
}

/* Wizard Headings */
.booking-wizard h2,
.booking-wizard h3 {
    color: var(--primary-rose) !important;
}

/* 
=====================================================
   HERO SUPER BUTTON (Call To Action)
=====================================================
*/
.hero .btn-primary {
    width: 90%;
    /* Occupy 90% of screen */
    max-width: 400px;
    /* Cap width on desktop */
    padding: 18px 30px;
    /* Larger touch area */
    font-size: 1.2rem;
    /* Larger text */
    letter-spacing: 2px;
    background: linear-gradient(45deg, #C76674, #D47A86, #A8525E);
    /* Rosa Viejo Gradient */
    color: #FFFFFF;
    /* Blanco para contraste */
    box-shadow: 0 0 20px rgba(199, 102, 116, 0.6);
    /* Rosa Glow */
    animation: rosePulse 2s infinite;
    /* Heartbeat effect */
    border: 2px solid #FFF;
    /* Pop against dark bg */
}

@keyframes rosePulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 20px rgba(199, 102, 116, 0.6);
    }

    50% {
        transform: scale(1.05);
        box-shadow: 0 0 40px rgba(199, 102, 116, 0.8);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 20px rgba(199, 102, 116, 0.6);
    }
}

/* Wizard Structural Logic (Critical for Step-by-Step) */
.step-content {
    display: none;
    /* Hide by default */
    animation: fadeIn 0.5s ease;
}

.step-content.active {
    display: block;
    /* Show only active */
}

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.step-indicator {
    display: flex;
    justify-content: space-between;
    margin-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 1rem;
}

.wizard-actions {
    margin-top: 2rem;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

/* Helper text - Mejor legibilidad */
.helper-text {
    font-size: 0.95rem;
    color: var(--text-soft);
    margin-top: 0.5rem;
    font-style: italic;
}

.step {
    color: var(--sage-green);
    font-size: 0.9rem;
    transition: var(--transition);
    position: relative;
}

/* Step completado con check */
.step.completed {
    color: var(--forest-green);
}

.step.completed::before {
    content: '✓ ';
    color: var(--primary-rose);
}

.step.active {
    color: var(--accent-gold);
    opacity: 1;
    font-weight: 700;
}

/* 
=====================================================
   MOBILE OPTIMIZATION (< 992px for Tablet Support)
=====================================================
*/
@media (max-width: 992px) {

    /* Touch Targets */
    button,
    .btn,
    .selection-item,
    .form-control {
        min-height: 52px;
    }

    /* Nav - Mobile Logic */
    .mobile-menu-btn {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background: rgba(255, 250, 248, 0.98);
        backdrop-filter: blur(15px);
        flex-direction: column;
        padding: 2rem;
        border-bottom: 2px solid var(--primary-rose);
        transform: translateY(-150%);
        transition: var(--transition);
        align-items: center;
        z-index: 999;
        box-shadow: 0 10px 30px rgba(199, 102, 116, 0.1);
    }

    .nav-links.active {
        transform: translateY(0);
    }

    /* Typography Overrides */
    h1 {
        font-size: clamp(2rem, 10vw, 3rem);
        text-align: center;
    }

    h2 {
        font-size: 2rem;
        text-align: center;
    }

    p {
        text-align: center;
    }

    /* Hero Mobile */
    .hero {
        padding: 4rem 1rem !important;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .hero h1 {
        margin-bottom: 1.5rem;
        width: 100%;
        white-space: normal;
        line-height: 1.2;
    }

    /* Wizard Mobile */
    #time-slots button {
        flex: 1 1 calc(50% - 10px);
    }

    .step-indicator {
        font-size: 0.85rem;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.5rem;
    }
}

/* Instagram Carousel (Renamed to Gallery to avoid Adblock) */
.gallery-carousel-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 10px 0;
}

.gallery-carousel {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 20px;
    /* Hide scrollbar visual */
    margin-bottom: -20px;
    /* Hide scrollbar visual */
    cursor: grab;
    scrollbar-width: none;
    /* Firefox */
}

.gallery-carousel::-webkit-scrollbar {
    display: none;
    /* Chrome/Safari */
}

.gallery-carousel:active {
    cursor: grabbing;
}

.gallery-item {
    flex: 0 0 250px;
    height: 250px;
    background-size: cover;
    background-position: center;
    border: 1px solid rgba(199, 102, 116, 0.3);
    border-radius: var(--radius-sm);
    box-shadow: 0 4px 15px rgba(199, 102, 116, 0.15);
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .gallery-item {
        flex: 0 0 200px;
        height: 200px;
    }
}