/* Variables */
:root {
    --primary-pink: #eb5e7e;
    --light-pink: #fbe6eb;
    --cream: #fffaf5;
    --dark-green: #374737;
    --text-dark: #333333;
    --text-gray: #555555;
    --white: #ffffff;
    --border-light: #f0e0e4;
    
    --font-cursive: 'Dancing Script', cursive;
    --font-sans: 'Montserrat', sans-serif;
}

html {
    scroll-behavior: smooth;
}

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

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

/* Animaciones de entrada suave */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s cubic-bezier(0.25, 0.8, 0.25, 1), transform 1s cubic-bezier(0.25, 0.8, 0.25, 1);
    will-change: opacity, transform;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Typography */
.title-cursive {
    font-family: var(--font-cursive);
    color: var(--primary-pink);
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 15px;
}

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

.overline {
    font-size: 0.8rem;
    letter-spacing: 2px;
    color: #999;
    text-transform: uppercase;
    display: block;
    margin-bottom: 10px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--primary-pink);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(235, 94, 126, 0.3);
}

.btn-primary:hover {
    background-color: #d94e6c;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(235, 94, 126, 0.4);
}

.btn-outline {
    background-color: rgba(235, 94, 126, 0.1);
    color: var(--primary-pink);
    border: 1px solid var(--primary-pink);
}

.btn-outline:hover {
    background-color: rgba(235, 94, 126, 0.2);
}

.btn-block {
    display: block;
    width: 100%;
}

/* Hero Section */
.hero {
    background-color: var(--light-pink);
    position: relative;
    padding: 40px 20px 100px;
    text-align: center;
}

.logo {
    max-width: 250px;
    margin-bottom: 30px;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero .subtitle {
    font-size: 1.1rem;
    color: var(--text-gray);
    margin-bottom: 40px;
}

/* Timer */
.timer-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
    position: relative;
}

.timer-blocks {
    display: flex;
    gap: 15px;
}

.time-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.time-box {
    background-color: var(--cream);
    border: 1px solid #f2cfd7;
    border-radius: 15px;
    padding: 15px;
    min-width: 75px;
    min-height: 75px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 15px rgba(235, 94, 126, 0.1);
}

.time-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-pink);
    line-height: 1;
}

.time-label {
    font-size: 0.75rem;
    color: #3b4e41;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.timer-illustration {
    margin-left: 20px;
    width: 90px;
}

.opening-date {
    font-size: 0.95rem;
    color: var(--text-gray);
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

/* Shape Dividers */
.custom-shape-divider-bottom,
.custom-shape-divider-top,
.custom-shape-divider-bottom-dark {
    position: absolute;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.custom-shape-divider-bottom {
    bottom: -1px;
    transform: none;
}

.custom-shape-divider-top {
    top: -1px;
    transform: rotate(180deg);
}

.custom-shape-divider-bottom-dark {
    bottom: -1px;
    transform: none;
}

.custom-shape-divider-bottom svg,
.custom-shape-divider-top svg,
.custom-shape-divider-bottom-dark svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 60px;
}

.custom-shape-divider-bottom .shape-fill {
    fill: var(--cream);
}

.custom-shape-divider-top .shape-fill {
    fill: var(--cream);
}

.custom-shape-divider-bottom-dark .shape-fill {
    fill: var(--dark-green);
}

/* Form Section */
.form-section {
    padding: 80px 20px;
    background-color: var(--cream);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.form-section-header {
    text-align: center;
    margin-bottom: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.form-illustration {
    width: 180px;
    margin-bottom: 10px;
}

.form-subtitle {
    font-size: 0.95rem;
    color: #555;
    margin-top: 10px;
}

.form-container {
    background-color: var(--white);
    border-radius: 20px;
    padding: 40px;
    max-width: 650px;
    width: 100%;
    box-shadow: 0 10px 40px rgba(235, 94, 126, 0.15);
    position: relative;
}

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

.form-row {
    display: flex;
    gap: 15px;
}

.form-row .form-group {
    flex: 1;
}

.form-group label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    color: #6a5851;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"] {
    width: 100%;
    padding: 15px 20px;
    border: 1px solid #f2cfd7;
    border-radius: 12px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input::placeholder {
    color: #b0a09e;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-pink);
}

.radio-options {
    display: flex;
    gap: 15px;
}

.radio-label.boxed-radio {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    flex: 1;
    border: 1px solid #f2cfd7;
    padding: 15px 20px;
    border-radius: 12px;
    transition: all 0.3s;
    background-color: transparent;
}

.radio-label.boxed-radio:has(input:checked) {
    border-color: var(--primary-pink);
    background-color: var(--light-pink);
    box-shadow: 0 0 0 1px var(--primary-pink);
}

.radio-label.boxed-radio:has(input:disabled) {
    opacity: 0.5;
    cursor: not-allowed;
    background-color: #f5f5f5;
    border-color: #e0e0e0;
}

.radio-label.boxed-radio:has(input:disabled) .radio-text strong,
.radio-label.boxed-radio:has(input:disabled) .radio-text span {
    color: #999;
}

.radio-label.boxed-radio input[type="radio"] {
    opacity: 0;
    position: absolute;
    pointer-events: none;
}

.radio-text {
    display: flex;
    flex-direction: column;
}

.radio-text strong {
    font-size: 0.95rem;
    color: #444;
}

.radio-text span {
    font-size: 0.8rem;
    color: #777;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    position: relative;
}

.checkbox-label input[type="checkbox"] {
    opacity: 0;
    position: absolute;
    pointer-events: none;
}

.checkbox-custom {
    display: block;
    min-width: 20px;
    width: 20px;
    height: 20px;
    border: 2px solid #aaa;
    border-radius: 4px;
    position: relative;
    flex-shrink: 0;
    margin-top: 2px;
    background-color: #fff;
    transition: all 0.3s;
}

.checkbox-label input:checked + .checkbox-custom {
    background-color: var(--primary-pink);
    border-color: var(--primary-pink);
}

.checkbox-label input:checked + .checkbox-custom::after {
    content: '✓';
    color: white;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 14px;
}

.checkbox-text {
    font-size: 0.85rem;
    color: var(--text-gray);
}

.form-submit-btn {
    padding: 18px 24px;
    font-size: 1.1rem;
    border-radius: 12px;
    margin-top: 10px;
}

/* About Section */
.about-section {
    padding: 60px 20px;
    background-color: var(--cream);
}

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

.about-header {
    margin-bottom: 40px;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.about-image {
    flex: 0 0 350px;
}

.about-image img {
    width: 100%;
    border-radius: 20px;
    object-fit: cover;
}

.about-text {
    flex: 1;
}

.about-text p {
    margin-bottom: 15px;
    color: var(--text-gray);
    font-size: 0.95rem;
}

/* Benefits Section */
.benefits-section {
    padding: 60px 20px 80px;
    background-color: var(--cream);
}

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

.benefits-header {
    max-width: 700px;
    margin: 0 auto 50px;
}

.benefits-header p {
    color: var(--text-gray);
    font-size: 0.95rem;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.benefit-card {
    background-color: #fbf0f2;
    border: 1px solid #f2cfd7;
    border-radius: 20px;
    padding: 40px 20px;
    text-align: center;
    transition: transform 0.3s ease;
}

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

.card-icon-no-bg {
    font-size: 2rem;
    margin-bottom: 15px;
    display: inline-block;
}

.benefit-card h3 {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 10px;
    font-weight: 700;
}

.benefit-card p {
    font-size: 0.95rem;
    color: #666;
}

.benefit-card p em {
    font-style: italic;
    color: #777;
}

.green-title {
    color: #63856b;
}

.dark-brown-title {
    color: #6e584f;
}

.cta-btn {
    font-size: 1.1rem;
    padding: 14px 30px;
}

/* CTA Section */
.cta-section {
    background-color: var(--light-pink);
    padding: 100px 20px 120px;
    text-align: center;
    position: relative;
}

.cta-content {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.cta-content p {
    color: var(--text-gray);
    margin-bottom: 30px;
}

/* Footer */
.footer {
    background-color: var(--dark-green);
    color: var(--white);
    padding: 60px 20px 20px;
    text-align: center;
}

.footer-logo-section {
    margin-bottom: 25px;
}

.heart-icon {
    font-size: 1rem;
    display: block;
    margin-bottom: 5px;
}

.footer-brand {
    font-family: var(--font-cursive);
    font-size: 1.5rem;
    color: #5a705a;
    margin-bottom: 5px;
    opacity: 0.8;
}

.footer-subtitle {
    font-size: 0.75rem;
    letter-spacing: 2px;
    color: var(--white);
    margin-bottom: 30px;
    font-weight: 600;
}

.footer-info {
    margin-bottom: 40px;
}

.footer-info p {
    margin-bottom: 10px;
    font-size: 0.9rem;
    color: #e0e0e0;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
    font-size: 0.75rem;
    color: #aaa;
}

/* Popup de Éxito */
.popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(4px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeInOverlay 0.3s ease;
}

@keyframes fadeInOverlay {
    from { opacity: 0; }
    to { opacity: 1; }
}

.popup-box {
    background: #fff;
    border-radius: 24px;
    padding: 50px 40px;
    max-width: 420px;
    width: 90%;
    text-align: center;
    box-shadow: 0 20px 60px rgba(235, 94, 126, 0.25);
    animation: slideUpBox 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

@keyframes slideUpBox {
    from { opacity: 0; transform: translateY(30px) scale(0.97); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.popup-icon {
    font-size: 3.5rem;
    margin-bottom: 16px;
}

.popup-title {
    font-family: var(--font-cursive);
    font-size: 1.8rem;
    color: var(--primary-pink);
    margin-bottom: 12px;
}

.popup-msg {
    font-size: 0.95rem;
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 28px;
}

.popup-loader {
    background: #f0e0e4;
    border-radius: 100px;
    height: 6px;
    overflow: hidden;
}

.popup-loader-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--primary-pink), #d94e6c);
    border-radius: 100px;
    animation: loadBar 2s linear forwards;
}

@keyframes loadBar {
    from { width: 0%; }
    to { width: 100%; }
}

/* Responsive */
@media (max-width: 768px) {
    .hero {
        padding: 30px 15px 80px;
    }
    
    .logo {
        max-width: 180px;
        margin-bottom: 20px;
    }

    .title-cursive {
        font-size: 3rem;
    }
    
    .timer-container {
        flex-direction: column;
    }
    
    .timer-illustration {
        position: static;
        margin-top: 20px;
    }
    
    .colon {
        display: none;
    }
    
    .timer-wrapper {
        gap: 10px;
    }
    
    .time-box {
        min-width: 70px;
        padding: 10px;
    }
    
    .time-number {
        font-size: 2rem;
    }
    
    .form-row {
        flex-direction: column;
    }
    
    .radio-options {
        flex-direction: column;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .about-image {
        flex: 0 0 auto;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 10px;
    }

    .form-container {
        padding: 25px 20px;
    }

    .popup-box {
        padding: 40px 20px;
    }

    .popup-title {
        font-size: 1.5rem;
    }
}
