/* ============================================
   MAISON DISEÑAJE - Premium Travel Experience
   Client Form Styles
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400;1,500&family=Cinzel:wght@400;500;600&display=swap');

/* ============ CSS VARIABLES ============ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Required CSS Variables for Animated Button */
@property --angle {
    syntax: "<angle>";
    initial-value: 0deg;
    inherits: false;
}

@property --glowColor {
    syntax: "<color>";
    initial-value: #d4af9a;
}

@keyframes rotate {
    0% {
        --angle: 0deg;
        --glowColor: #d4af9a;
    }
    100% {
        --angle: 360deg;
        --glowColor: #d4af9a;
    }
}

:root {
    /* Champagne Gold Palette */
    --gold-primary: #d4af9a;
    --gold-light: #e8dcc8;
    --gold-dark: #b89968;
    --gold-glow: rgba(212, 175, 154, 0.6);
    --gold-subtle: rgba(212, 175, 154, 0.1);
    --gold-border: rgba(212, 175, 154, 0.4);

    /* Emerald Green Palette */
    --emerald-primary: #1b4d3e;
    --emerald-dark: #0f2c24;
    --emerald-light: #2d7a69;

    /* Base Colors */
    --dark-bg: #0f2c24;
    --darker: #0f2c24;
    --dark: #1b4d3e;
    --brown-dark: #1b4d3e;
    --light-text: #f5e6c8;
    --cream: #f5e6c8;
    --cream-soft: rgba(245, 230, 200, 0.85);
    --overlay: rgba(0, 0, 0, 0.65);
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: 0.2s ease;
    --transition-medium: 0.4s ease;
    --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --size-default: 32px;
    --size-sm: 16px;

    /* Legacy compatibility */
    --gold: #d4af9a;
    --gold-light: #e8dcc8;
}

body {
    font-family: 'Cormorant Garamond', 'Georgia', serif;
    background: var(--darker);
    color: var(--light-text);
    overflow-x: hidden;
    line-height: 1.6;
}

/* ============ SCREEN MANAGEMENT ============ */
.screen {
    min-height: 100vh;
    min-height: 100dvh;
    width: 100%;
    display: none;
    position: relative;
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition);
}

.screen.active {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 1;
    transform: translateY(0);
    animation: fadeInUp 0.8s ease-out;
}

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

/* ============ LOGO STYLES ============ */
.logo {
    position: absolute;
    top: 25px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.logo img {
    height: 70px;
    width: auto;
    filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.5));
}

.logo-small {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
}

.logo-small img {
    height: 40px;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.5));
}

/* ================================================
   SCREEN 1: WELCOME PAGE - PREMIUM DESIGN
   ================================================ */
#screen-1 {
    background: var(--darker);
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://cdn.prod.website-files.com/696741f4daff1fc6ce093366/69674814b9b338410213177c_background.png') center/cover no-repeat;
    z-index: -2;
}

.hero-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    opacity: 0;
    pointer-events: none;
}

#screen-1 .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.1) 30%, rgba(0,0,0,0.4) 70%, rgba(0,0,0,0.7) 100%);
    z-index: -1;
}

/* Hero Content */
#screen-1 .hero-content {
    text-align: center;
    padding: 0 30px;
    max-width: 800px;
    z-index: 1;
    margin-top: 10px;
}

/* Title Decorations */
.title-decoration {
    width: 200px;
    height: 1px;
    margin: 0 auto;
    position: relative;
    background: linear-gradient(90deg, transparent 0%, var(--gold) 50%, transparent 100%);
    opacity: 0.6;
}

.title-decoration.top {
    margin-bottom: 18px;
}

.title-decoration.top::before {
    content: '';
    position: absolute;
    top: -3px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 7px;
    height: 7px;
    border: 1px solid var(--gold);
    background: var(--darker);
}

.title-decoration.bottom {
    margin-top: 18px;
    margin-bottom: 20px;
}

/* Title Styling */
#screen-1 h1 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 300;
    letter-spacing: 2px;
    margin-bottom: 0;
    color: var(--cream);
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    line-height: 1.3;
}

.title-prefix {
    display: block;
    font-size: clamp(1.2rem, 3vw, 1.6rem);
    font-style: italic;
    font-weight: 300;
    color: var(--gold-light);
    letter-spacing: 3px;
    margin-bottom: 5px;
}

.title-main {
    display: block;
    font-family: 'Cinzel', serif;
    font-size: clamp(2rem, 6vw, 3.5rem);
    font-weight: 400;
    letter-spacing: 6px;
    text-transform: uppercase;
    color: var(--cream);
}

/* Hero Subtitle */
.hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    font-style: italic;
    font-weight: 300;
    color: var(--gold-light);
    margin-bottom: 25px;
    letter-spacing: 1px;
    opacity: 0.9;
}

/* Welcome Description */
#screen-1 .welcome-description {
    margin: 0 auto 30px;
    max-width: 600px;
}

#screen-1 .welcome-description p {
    font-size: clamp(0.9rem, 2vw, 1rem);
    margin-bottom: 14px;
    color: rgba(232, 213, 163, 0.8);
    line-height: 1.6;
    font-weight: 300;
}

/* Premium CTA Button */
.cta-button.premium {
    background: linear-gradient(135deg, var(--gold) 0%, #b8963e 50%, var(--gold) 100%);
    color: var(--darker);
    border: none;
    padding: 18px 50px;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.1rem;
    font-weight: 500;
    letter-spacing: 2px;
    cursor: pointer;
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 15px;
    box-shadow: 
        0 4px 20px rgba(201, 162, 39, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transition: all 0.4s ease;
    overflow: hidden;
}

.cta-button.premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.6s ease;
}

.cta-button.premium:hover::before {
    left: 100%;
}

.cta-button.premium:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 8px 30px rgba(201, 162, 39, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.cta-button.premium .btn-text {
    position: relative;
    z-index: 1;
}

.cta-button.premium .btn-arrow {
    font-size: 1.4rem;
    transition: transform 0.3s ease;
    position: relative;
    z-index: 1;
}

.cta-button.premium:hover .btn-arrow {
    transform: translateX(5px);
}

/* Hero Footer - Contact Icons */
.hero-footer {
    /* position: absolute; */
    bottom: 40px;
    left: 50%;
    /* transform: translateX(-50%); */
    display: flex;
    gap: 30px;
    z-index: 10;
}

.footer-icon {
    width: 44px;
    height: 44px;
    border: 1px solid rgba(201, 162, 39, 0.4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-light);
    transition: all 0.3s ease;
    background: rgba(0, 0, 0, 0.3);
    text-decoration: none;
}

.footer-icon:hover {
    border-color: var(--gold);
    background: rgba(201, 162, 39, 0.15);
    transform: translateY(-3px);
    color: var(--gold);
}

.footer-icon svg {
    width: 20px;
    height: 20px;
}

/* ================================================
   SCREEN 2: COLLECTIONS & FORM
   ================================================ */
#screen-2 {
    background: var(--darker);
    justify-content: flex-start;
    padding-top: 100px;
    overflow-y: auto;
}

#screen-2 .hero-overlay {
    background: linear-gradient(180deg, rgba(28,21,16,0.85) 0%, rgba(10,9,8,0.85) 100%);
}

.content-wrapper {
    width: 100%;
    max-width: 1400px;
    padding: 0 20px 60px;
    text-align: center;
}

.content-wrapper h2 {
    font-family: 'Cinzel', serif;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 400;
    letter-spacing: 3px;
    margin-bottom: 15px;
    color: var(--cream);
    margin-top: 10px;
}

.subtitle {
    font-size: clamp(0.9rem, 1.5vw, 1.1rem);
    color: var(--gold-light);
    margin-bottom: 15px;
    font-weight: 300;
    font-style: italic;
}

.collections-intro {
    max-width: 800px;
    margin: 0 auto 00px;
    text-align: center;
}

.collections-intro p {
    font-size: clamp(0.9rem, 1.6vw, 1rem);
    color: rgba(232, 213, 163, 0.7);
    margin-bottom: 0px;
    line-height: 1.6;
}

/* ============ CAROUSEL ============ */
.carousel-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto 60px;
    padding: 20px 28px;
    overflow: visible;
}

/* ============ MODERN CAROUSEL ============ */
.carousel-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto 40px;
    padding: 20px 60px;
    overflow: hidden;
}

.carousel {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    padding: 20px 5px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

.carousel::-webkit-scrollbar {
    display: none;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(135deg, var(--gold) 0%, #b8963e 100%);
    border: none;
    color: var(--darker);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.8rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    box-shadow: 0 4px 20px rgba(201, 162, 39, 0.4);
    opacity: 1;
}

.carousel-btn:hover {
    background: var(--gold);
    transform: translateY(-50%) scale(1.15);
    box-shadow: 0 6px 30px rgba(201, 162, 39, 0.6);
}

.carousel-btn:active {
    transform: translateY(-50%) scale(0.95);
}

.carousel-btn.prev {
    left: 5px;
}

.carousel-btn.next {
    right: 5px;
}

/* Carousel Indicators/Dots */
.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(201, 162, 39, 0.3);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.carousel-dot.active {
    background: var(--gold);
    transform: scale(1.2);
    box-shadow: 0 0 10px rgba(201, 162, 39, 0.5);
}

.carousel-dot:hover {
    background: rgba(201, 162, 39, 0.6);
}

.carousel-note {
    font-size: 0.85rem;
    color: rgba(232, 213, 163, 0.5);
    font-style: italic;
    margin-top: 15px;
    margin-bottom: 40px;
}

/* ============ FLIP CARDS ============ */
.flip-card {
    flex: 0 0 calc((100% - 40px) / 3);
    min-width: 280px;
    height: 450px;
    perspective: 1000px;
    scroll-snap-align: center;
    transition: transform 0.4s ease, opacity 0.4s ease;
}

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

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
}

.flip-card-front {
    background: var(--dark);
}

.flip-card-back {
    background: linear-gradient(135deg, rgba(28, 21, 16, 0.98) 0%, rgba(10, 9, 8, 0.98) 100%);
    transform: rotateY(180deg);
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    text-align: center;
    border: 1px solid rgba(201, 162, 39, 0.3);
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
}

.card-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
}

/* Card Images */
.masquerade {
    background: url('https://cdn.prod.website-files.com/69692c40dab47c0cd2bfb0c3/69692cf77b9819ef5e3df95a_The%20Masquerade.png') center/cover;
}

.equestrian-legacy {
    background: url('https://cdn.prod.website-files.com/69692c40dab47c0cd2bfb0c3/69692cf71d0923ca338221fe_THE%20EQUESTRIAN%20LEGACY.png') center/cover;
}

.azure-circle {
    background: url('https://cdn.prod.website-files.com/69692c40dab47c0cd2bfb0c3/69692cf7bb1fe3b36f7210f3_AZURE%20CIRCLE.png') center/cover;
}

.dracula-halloween {
    background: url('https://cdn.prod.website-files.com/69692c40dab47c0cd2bfb0c3/69692cf74a5db32de4b4609c_DRACULA%20IMMERSION%20%E2%80%94%20HALLOWEEN%20EDITION.png') center/cover;
}

.dracula-legend {
    background: url('https://cdn.prod.website-files.com/69692c40dab47c0cd2bfb0c3/69692cf7df075d134f3310b1_DRACULA%20IMMERSION%20%E2%80%94%20THE%20LEGEND.png') center/cover;
}

.alpine-circle {
    background: url('https://cdn.prod.website-files.com/69692c40dab47c0cd2bfb0c3/69692cf7d0bb8a22ec62e128_THE%20ALPINE%20CIRCLE.png') center/cover;
}

.card-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 25px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.7) 70%, transparent 100%);
}

.card-label h3 {
    font-family: 'Cinzel', serif;
    font-size: 1.2rem;
    letter-spacing: 1px;
    margin-bottom: 0;
    color: var(--gold);
    line-height: 1.3;
}

.card-label p {
    font-size: 0.9rem;
    color: rgba(232, 213, 163, 0.8);
}

.price-tag {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(201, 162, 39, 0.95);
    color: var(--darker);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

/* Card Back Content */
.flip-card-back h3 {
    font-family: 'Cinzel', serif;
    font-size: 1.4rem;
    color: var(--gold);
    letter-spacing: 2px;
    margin-bottom: 10px;
    line-height: 1.3;
}

.flip-card-back .temporada {
    font-size: 0.95rem;
    color: var(--gold-light);
    margin-bottom: 12px;
    font-style: italic;
    line-height: 1.5;
}

.flip-card-back .temporada .nota-familia {
    font-size: 0.85rem;
    text-transform: lowercase;
    opacity: 0.8;
}

.flip-card-back .concepto {
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(232, 213, 163, 0.9);
    margin-bottom: 12px;
    flex-grow: 1;
    align-content: center;
}

.flip-card-back .estado {
    font-size: 0.9rem;
    color: var(--gold);
    padding: 8px 12px;
    background: rgba(201, 162, 39, 0.15);
    border: 1px solid rgba(201, 162, 39, 0.3);
    border-radius: 4px;
    margin-bottom: 15px;
    line-height: 1.5;
}

.flip-card-back .location {
    font-size: 0.9rem;
    color: var(--gold-light);
    margin-bottom: 20px;
    font-style: italic;
}

.flip-card-back .description {
    font-size: 0.95rem;
    line-height: 1.7;
    color: rgba(232, 213, 163, 0.9);
    flex-grow: 1;
}

.details {
    margin: 20px 0;
    text-align: left;
    border-top: 1px solid rgba(201, 162, 39, 0.3);
    padding-top: 15px;
}

.details p {
    margin: 8px 0;
    font-size: 0.9rem;
    color: rgba(232, 213, 163, 0.8);
}

.details strong {
    color: var(--gold);
}

.select-btn {
    background: var(--gold);
    color: var(--darker);
    border: 2px solid var(--gold);
    padding: 14px 35px;
    font-size: 0.95rem;
    font-family: 'Cormorant Garamond', serif;
    cursor: pointer;
    border-radius: 2px;
    transition: var(--transition);
    font-weight: 600;
    letter-spacing: 0.5px;
}

.select-btn:hover {
    background: #b8963e;
    border-color: #b8963e;
    transform: translateY(-2px);
}

.select-btn.selected {
    background: #4a7c4e;
    border-color: #4a7c4e;
    color: #fff;
    box-shadow: 0 0 15px rgba(74, 124, 78, 0.5);
}

/* ============ FORM SECTION ============ */
.form-section {
    max-width: 500px;
    margin: 60px auto 0;
    padding: 40px;
    background: rgba(28, 21, 16, 0.8);
    border-radius: 8px;
    border: 1px solid rgba(201, 162, 39, 0.2);
    backdrop-filter: blur(10px);
}

.form-section h3 {
    font-family: 'Cinzel', serif;
    font-size: 1.6rem;
    margin-bottom: 10px;
    letter-spacing: 1px;
    color: var(--cream);
}

.form-section > p {
    font-size: 0.95rem;
    color: var(--gold-light);
    margin-bottom: 30px;
    font-style: italic;
}

#contact-form input,
#contact-form select {
    width: 100%;
    padding: 16px;
    margin-bottom: 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(201, 162, 39, 0.3);
    border-radius: 2px;
    color: var(--light-text);
    font-family: 'Cormorant Garamond', serif;
    font-size: 1rem;
    transition: var(--transition);
}

#contact-form input:focus,
#contact-form select:focus {
    outline: none;
    border-color: var(--gold);
    background: rgba(255, 255, 255, 0.08);
}

#contact-form input::placeholder {
    color: rgba(232, 213, 163, 0.4);
}

#contact-form select option {
    background: var(--dark);
    color: var(--light-text);
}

#contact-form button {
    width: 100%;
}

/* ============ ANIMATED PRIMARY BUTTON ============ */
.btn-primary {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 100px;
    border: none;
    background: none;
    position: relative;
    padding: 2px;
    text-decoration: none;
    transition: all 0.18s ease-in-out;
    transform: translate3d(0, 0, 0);
    width: 100%;
    max-width: 400px;
    margin: auto auto 40px;
    cursor: pointer;
}

.btn-primary:after,
.btn-primary:before {
    content: "";
    display: block;
    position: absolute;
    top: -2px;
    left: -2px;
    width: calc(100% + 4px);
    height: calc(100% + 4px);
    border-radius: 100px;
    background: radial-gradient(circle at 50% 50%, var(--glowColor) 0%, transparent 70%);
    z-index: 0;
    opacity: 0;
}

.btn-primary:before {
    filter: blur(15px);
    opacity: 0.6;
}

.btn-primary:after {
    opacity: 0.3;
}

.btn-primary.animated:after,
.btn-primary.animated:before {
    background-image: conic-gradient(from var(--angle) at 50% 50%, transparent 0%, transparent 33%, var(--glowColor) 50%, transparent 66%, transparent 100%);
    animation: rotate 2s infinite linear;
    opacity: 1;
}

.btn-primary.animated:before {
    filter: blur(15px);
    opacity: 0.8;
}

.btnInner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    padding: var(--size-sm) var(--size-default);
    border-radius: 100px;
    color: var(--cream);
    font-weight: 500;
    font-size: 20px;
    font-family: 'Cormorant Garamond', serif;
    z-index: 2;
    transition: all 0.18s ease;
    background: rgba(26, 15, 8, 0.9);
    backdrop-filter: blur(10px);
    backface-visibility: hidden;
    border: 2px solid rgba(201, 169, 98, 0.6);
    box-shadow:
        0 0 20px rgba(201, 169, 98, 0.3),
        inset 0 0 20px rgba(201, 169, 98, 0.1);
}

.btn-primary:hover .btnInner {
    background: rgba(26, 15, 8, 0.95);
    border-color: rgba(201, 169, 98, 0.8);
    box-shadow:
        0 0 30px rgba(201, 169, 98, 0.5),
        inset 0 0 25px rgba(201, 169, 98, 0.15);
    color: var(--gold-light);
}

.btn-primary:active {
    transform: scale(0.95);
}

.btnInner svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

/* Button variations for different contexts */
.flip-card-back .btn-primary {
    max-width: 100%;
    margin: 0;
}

.flip-card-back .btnInner {
    font-size: 14px;
    padding: 12px 20px;
}

/* Selected state for collection buttons */
.flip-card-back .btn-primary.selected .btnInner {
    background: rgba(74, 124, 78, 0.9);
    border-color: rgba(74, 124, 78, 0.8);
    box-shadow:
        0 0 20px rgba(74, 124, 78, 0.5),
        inset 0 0 20px rgba(74, 124, 78, 0.2);
    color: #fff;
}

.flip-card-back .btn-primary.selected:after,
.flip-card-back .btn-primary.selected:before {
    --glowColor: #4a7c4e;
}

.flip-card-back .btn-primary.selected:hover .btnInner {
    background: rgba(74, 124, 78, 0.95);
    border-color: rgba(74, 124, 78, 1);
    box-shadow:
        0 0 30px rgba(74, 124, 78, 0.6),
        inset 0 0 25px rgba(74, 124, 78, 0.25);
}

.form-section .btn-primary {
    max-width: 100%;
    margin: 0;
}

.thank-you-content .btn-primary {
    max-width: 450px;
    margin: 20px auto;
}

/* Standard CTA Button */
.cta-button {
    background: var(--gold);
    color: var(--darker);
    border: none;
    padding: 16px 40px;
    font-size: 1rem;
    font-family: 'Cormorant Garamond', serif;
    cursor: pointer;
    border-radius: 2px;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 20px rgba(201, 162, 39, 0.3);
}

.cta-button:hover {
    background: #b8963e;
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(201, 162, 39, 0.5);
}

.cta-button.secondary {
    background: transparent;
    color: var(--gold);
    border: 2px solid var(--gold);
    margin-top: 30px;
}

.cta-button.secondary:hover {
    background: var(--gold);
    color: var(--darker);
}

.arrow {
    transition: transform 0.3s ease;
}

.cta-button:hover .arrow {
    transform: translateX(5px);
}

/* ================================================
   SCREEN 3: THANK YOU PAGE
   ================================================ */
#screen-3 {
    background: var(--darker);
    justify-content: flex-start;
    padding-top: 100px;
    overflow-y: auto;
}

#screen-3 .hero-overlay {
    background: linear-gradient(180deg, rgba(28,21,16,0.85) 0%, rgba(10,9,8,0.85) 100%);
}

.thank-you-content {
    width: 100%;
    max-width: 900px;
    padding: 0 20px 60px;
    text-align: center;
}

.thank-you-content h2 {
    font-family: 'Cinzel', serif;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 400;
    letter-spacing: 3px;
    margin-bottom: 20px;
    color: var(--cream);
    margin-top: 10px;
}

.decorative-line {
    width: 80px;
    height: 1px;
    background: var(--gold);
    margin: -23px auto;
    position: relative;
}

.decorative-line::before,
.decorative-line::after {
    content: '';
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--gold);
    border-radius: 50%;
    top: -1.5px;
}

.decorative-line::before {
    left: -10px;
}

.decorative-line::after {
    right: -10px;
}

.thank-you-text {
    margin: 40px auto;
    max-width: 700px;
}

.thank-you-text p {
    font-size: clamp(1rem, 1.5vw, 1.15rem);
    color: rgba(232, 213, 163, 0.85);
    margin-bottom: 0px;
    line-height: 1.8;
}

.next-steps {
    background: rgba(201, 162, 39, 0.08);
    border: 1px solid rgba(201, 162, 39, 0.3);
    border-radius: 8px;
    padding: 40px;
    margin: 15px auto;
    max-width: 600px;
}

.next-steps h3 {
    font-family: 'Cinzel', serif;
    font-size: 1.4rem;
    color: var(--gold);
    margin-bottom: 25px;
    letter-spacing: 1px;
}

.next-steps ul {
    list-style: none;
    padding: 0;
    text-align: left;
}

.next-steps li {
    font-size: 1.05rem;
    color: rgba(232, 213, 163, 0.9);
    padding: 15px 0;
    border-bottom: 1px solid rgba(201, 162, 39, 0.2);
    position: relative;
    padding-left: 30px;
}

.next-steps li:last-child {
    border-bottom: none;
}

.next-steps li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--gold);
    font-weight: bold;
}

.cta-button.primary {
    margin: 30px auto 20px;
    background: var(--gold);
}

.contact-icons {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-top: 30px;
}

.icon-btn {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    border: 1px solid rgba(201, 162, 39, 0.4);
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    cursor: pointer;
    text-decoration: none;
    color: var(--gold-light);
}

.icon-btn:hover {
    border-color: var(--gold);
    background: rgba(201, 162, 39, 0.15);
    transform: translateY(-3px);
}

.icon-btn svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

/* ================================================
   RESPONSIVE DESIGN
   ================================================ */

/* Mobile: Show 1 full card at a time */
@media (max-width: 767px) {
    .carousel-container {
        padding: 15px 50px;
        margin-bottom: 20px;
    }
    
    .carousel {
        gap: 15px;
        padding: 15px 0;
        scroll-snap-type: x mandatory;
    }
    
    .flip-card {
        flex: 0 0 100%;
        min-width: calc(100% - 10px);
        max-width: 350px;
        height: 480px;
        margin: 0 auto;
        scroll-snap-align: center;
    }
    
    .card-image {
        background-size: cover;
        background-position: center;
    }
    
    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1.4rem;
    }
    
    .carousel-btn.prev {
        left: 2px;
    }
    
    .carousel-btn.next {
        right: 2px;
    }
    
    .carousel-indicators {
        display: flex;
        margin-top: 15px;
    }
    
    .carousel-dot {
        width: 8px;
        height: 8px;
    }
    
    /* Mobile: Disable hover flip, use tap instead */
    .flip-card:hover .flip-card-inner {
        transform: rotateY(0deg);
    }
    
    .flip-card.flipped .flip-card-inner {
        transform: rotateY(180deg);
    }
    
    .flip-card-back {
        padding: 20px 15px;
        justify-content: flex-start;
        overflow-y: auto;
        overflow-x: hidden;
        -webkit-overflow-scrolling: touch;
    }

    .flip-card-back h3 {
        font-size: 1.1rem;
        margin-bottom: 8px;
        flex-shrink: 0;
    }

    .flip-card-back .temporada {
        font-size: 0.9rem;
        margin-bottom: 8px;
        flex-shrink: 0;
    }

    .flip-card-back .concepto {
        font-size: 1.1rem;
        margin-bottom: 8px;
        line-height: 1.5;
        flex-shrink: 0;
    }

    .flip-card-back .estado {
        font-size: 0.8rem;
        padding: 6px 10px;
        margin-bottom: 10px;
        flex-shrink: 0;
    }

    .flip-card-back .btn-primary {
        flex-shrink: 0;
        margin-top: auto;
    }

    .flip-card-back .btnInner {
        font-size: 12px;
        padding: 10px 16px;
    }
    
    .select-btn {
        padding: 12px 25px;
        font-size: 0.9rem;
    }
    
    .card-label {
        padding: 20px;
    }
    
    .card-label h3 {
        font-size: 1.1rem;
    }
    
    .carousel-note {
        font-size: 0.8rem;
        margin-top: 10px;
        margin-bottom: 30px;
    }
}

/* Small Mobile (max 380px) */
@media (max-width: 380px) {
    .logo img {
        height: 60px;
    }
    
    .logo {
        top: 20px;
    }
    
    .carousel-container {
        padding: 10px 45px;
    }
    
    .flip-card {
        flex: 0 0 100%;
        min-width: calc(100% - 5px);
        height: 450px;
    }
    
    .carousel-btn {
        width: 36px;
        height: 36px;
        font-size: 1.2rem;
    }
    
    .carousel-btn.prev {
        left: 2px;
    }
    
    .carousel-btn.next {
        right: 2px;
    }
    
    .title-main {
        letter-spacing: 3px;
    }
    
    .cta-button.premium {
        padding: 15px 35px;
        font-size: 1rem;
    }
    
    .hero-footer {
        bottom: 25px;
        gap: 20px;
    }
    
    .footer-icon {
        width: 38px;
        height: 38px;
    }
    
    #screen-1 .hero-content {
        padding: 0 20px;
    }
    
    .flip-card-back {
        padding: 15px 12px;
        justify-content: flex-start;
        overflow-y: auto;
        overflow-x: hidden;
        -webkit-overflow-scrolling: touch;
    }

    .flip-card-back h3 {
        font-size: 1rem;
        margin-bottom: 6px;
        flex-shrink: 0;
    }

    .flip-card-back .temporada {
        font-size: 0.9rem;
        margin-bottom: 6px;
        flex-shrink: 0;
    }

    .flip-card-back .concepto {
        font-size: 1.1rem;
        margin-bottom: 6px;
        line-height: 1.4;
        flex-shrink: 0;
    }

    .flip-card-back .estado {
        font-size: 0.75rem;
        padding: 5px 8px;
        margin-bottom: 20px;
        flex-shrink: 0;
    }

    .flip-card-back .btn-primary {
        flex-shrink: 0;
        margin-top: auto;
    }

    .flip-card-back .btnInner {
        font-size: 11px;
        padding: 8px 14px;
    }

    .select-btn {
        padding: 10px 20px;
        font-size: 0.85rem;
    }

    .card-label h3 {
        font-size: 0.95rem;
    }

    .form-section {
        padding: 25px 18px;
    }
}

/* Standard Mobile (381px - 767px) */
@media (min-width: 381px) and (max-width: 767px) {
    .logo {
        top: 25px;
    }
    
    .logo img {
        height: 70px;
    }
    
    #screen-1 .hero-content {
        padding: 0 25px;
        margin-top: 95px;
    }
    
    .title-decoration {
        width: 150px;
    }
    
    #screen-2,
    #screen-3 {
        padding-top: 85px;
    }
    
    .logo-small img {
        height: 35px;
    }
}

/* Tablet: Show 2 cards */
@media (min-width: 768px) and (max-width: 1023px) {
    .carousel-container {
        padding: 20px 60px;
        max-width: 900px;
    }
    
    .carousel {
        gap: 20px;
    }
    
    .flip-card {
        flex: 0 0 calc((100% - 20px) / 2);
        min-width: 300px;
        height: 460px;
    }
    
    .card-image {
        background-size: cover;
    }
    
    .carousel-indicators {
        display: flex;
    }
    
    .logo {
        top: 30px;
    }
    
    .logo img {
        height: 85px;
    }
    
    #screen-1 .hero-content {
        max-width: 700px;
        margin-top: 95px;
    }
    
    .title-decoration {
        width: 250px;
    }
    
    .title-main {
        letter-spacing: 8px;
    }
    
    .cta-button.premium {
        padding: 20px 60px;
        font-size: 1.15rem;
    }
}

/* Desktop: Show 3 cards */
@media (min-width: 1024px) {
    .carousel-container {
        max-width: 1200px;
        padding: 20px 70px;
    }
    
    .carousel {
        gap: 25px;
    }
    
    .flip-card {
        flex: 0 0 calc((100% - 50px) / 3);
        min-width: 320px;
        height: 480px;
    }
    
    .card-image {
        background-size: cover;
    }
    
    .carousel-indicators {
        display: none;
    }
    
    .logo {
        top: 30px;
    }
    
    .logo img {
        height: 75px;
    }
    
    #screen-1 .hero-content {
        max-width: 900px;
        margin-top: 25px;
    }
    
    .title-decoration {
        width: 300px;
    }
    
    .title-prefix {
        font-size: 1.5rem;
        margin-bottom: 8px;
    }
    
    .title-main {
        font-size: 3.2rem;
        letter-spacing: 8px;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
        margin-bottom: 25px;
    }
    
    #screen-1 .welcome-description {
        max-width: 700px;
    }
    
    #screen-1 .welcome-description p {
        font-size: 1rem;
    }
    
    .cta-button.premium {
        padding: 16px 55px;
        font-size: 1.1rem;
        letter-spacing: 2px;
    }
    
    .hero-footer {
        bottom: 30px;
        gap: 35px;
    }
    
    .footer-icon {
        width: 50px;
        height: 50px;
    }
}

/* Large Desktop (1440px+) */
@media (min-width: 1440px) {
    .carousel-container {
        max-width: 1400px;
        padding: 25px 80px;
    }
    
    .flip-card {
        flex: 0 0 calc((100% - 60px) / 3);
        min-width: 380px;
        height: 520px;
    }
    
    .logo img {
        height: 85px;
    }
    
    #screen-1 .hero-content {
        max-width: 950px;
        margin-top: 30px;
    }
    
    .title-main {
        font-size: 3.5rem;
        letter-spacing: 10px;
    }
    
    .title-prefix {
        font-size: 1.6rem;
    }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
    .flip-card-inner {
        transition: transform 0.6s;
    }

    /* Disable hover-based flip on touch devices */
    .flip-card:hover .flip-card-inner {
        transform: rotateY(0deg);
    }

    /* Only flip when flipped class is present (via tap) */
    .flip-card.flipped .flip-card-inner {
        transform: rotateY(180deg);
    }

    .cta-button:active,
    .select-btn:active,
    .carousel-btn:active {
        transform: scale(0.96);
    }

    .icon-btn:active,
    .footer-icon:active {
        transform: translateY(-2px) scale(0.96);
    }
}

/* Landscape orientation for mobile */
@media (max-width: 896px) and (orientation: landscape) {
    #screen-1 .hero-content {
        margin-top: 10px;
    }

    .hero-footer {
        bottom: 15px;
    }

    .title-decoration {
        margin-bottom: 15px;
        margin-top: 15px;
    }

    .cta-button.premium {
        padding: 14px 40px;
    }

    .flip-card {
        min-width: 260px;
        height: 360px;
    }

    .flip-card-back {
        padding: 12px 10px;
        overflow-y: auto;
    }

    .flip-card-back h3 {
        font-size: 0.95rem;
        margin-bottom: 5px;
    }

    .flip-card-back .temporada {
        font-size: 0.9rem;
        margin-bottom: 5px;
    }

    .flip-card-back .concepto {
        font-size: 0.75rem;
        margin-bottom: 5px;
        line-height: 1.3;
    }

    .flip-card-back .estado {
        font-size: 0.7rem;
        padding: 4px 8px;
        margin-bottom: 6px;
    }

    .flip-card-back .btnInner {
        font-size: 10px;
        padding: 6px 12px;
    }
}

/* Custom scrollbar for flip card back */
.flip-card-back::-webkit-scrollbar {
    width: 4px;
}

.flip-card-back::-webkit-scrollbar-track {
    background: rgba(201, 162, 39, 0.1);
    border-radius: 2px;
}

.flip-card-back::-webkit-scrollbar-thumb {
    background: rgba(201, 162, 39, 0.4);
    border-radius: 2px;
}

.flip-card-back::-webkit-scrollbar-thumb:hover {
    background: rgba(201, 162, 39, 0.6);
}

/* Smooth transitions for non-critical elements */
a,
button,
input {
    transition: var(--transition);
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .card-image {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}


/* =========================================
   NAVIGATION HEADER
   ========================================= */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: all var(--transition-medium);
    background: rgba(15, 44, 36, 0.95);
    backdrop-filter: blur(20px);
    padding: 4px 0;
    border-bottom: 1px solid var(--gold-subtle);
}

.header.scrolled {
    background: rgba(15, 44, 36, 0.98);
}

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

.header .logo {
    text-decoration: none;
    position: relative;
    top: auto;
    left: auto;
    transform: none;
}

.logo-img {
    height: 70px;
    width: auto;
    transition: opacity var(--transition-fast);
}

.logo:hover .logo-img {
    opacity: 0.8;
}

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-link {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 16px;
    font-weight: 400;
    color: var(--cream-soft);
    text-decoration: none;
    letter-spacing: 1px;
    position: relative;
    transition: color var(--transition-fast);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0%;
    height: 1px;
    background: var(--gold-primary);
    transition: width var(--transition-medium);
}

.nav-link:hover {
    color: var(--gold-light);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link.active {
    color: var(--gold-primary);
}

.nav-link.active::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.hamburger {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--gold-light);
    position: relative;
    transition: all var(--transition-fast);
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background: var(--gold-light);
    transition: all var(--transition-fast);
}

.hamburger::before {
    top: -8px;
}

.hamburger::after {
    bottom: -8px;
}

.nav-toggle.active .hamburger {
    background: transparent;
}

.nav-toggle.active .hamburger::before {
    top: 0;
    transform: rotate(45deg);
}

.nav-toggle.active .hamburger::after {
    bottom: 0;
    transform: rotate(-45deg);
}

.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 44, 36, 0.98);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-medium);
}

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

.mobile-nav-content {
    text-align: center;
}

.mobile-nav-link {
    display: block;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 32px;
    font-weight: 300;
    color: var(--cream);
    text-decoration: none;
    padding: 6px 0;
    opacity: 0;
    transform: translateY(20px);
    transition: all var(--transition-medium);
}

.mobile-nav-overlay.active .mobile-nav-link {
    opacity: 1;
    transform: translateY(0);
}

.mobile-nav-overlay.active .mobile-nav-link:nth-child(1) {
    transition-delay: 0.1s;
}

.mobile-nav-overlay.active .mobile-nav-link:nth-child(2) {
    transition-delay: 0.2s;
}

.mobile-nav-overlay.active .mobile-nav-link:nth-child(3) {
    transition-delay: 0.3s;
}

.mobile-nav-overlay.active .mobile-nav-link:nth-child(4) {
    transition-delay: 0.4s;
}

.mobile-nav-overlay.active .mobile-nav-link:nth-child(5) {
    transition-delay: 0.5s;
}

.mobile-nav-overlay.active .mobile-nav-link:nth-child(6) {
    transition-delay: 0.6s;
}

.mobile-nav-link:hover {
    color: var(--gold-primary);
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .nav-toggle {
        display: block;
    }
}

/* Adjust screen padding for header */
.screen {
    padding-top: 100px;
}

#screen-1 {
    padding-top: 100px;
}

/* ================================
   FOOTER STYLES
   ================================ */

.footer {
    background: var(--emerald-dark);
    border-top: 1px solid rgba(212, 175, 154, 0.2);
    padding: 60px 0 30px;
    margin-top: 80px;
}

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

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
    align-items: start;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-logo {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--gold-primary);
    letter-spacing: 1px;
}

.footer-tagline {
    font-family: var(--font-primary);
    font-size: 0.9rem;
    color: var(--gold-light);
    font-style: italic;
    margin: 0;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 20px 30px;
    justify-content: center;
}

.footer-links a {
    font-family: var(--font-primary);
    font-size: 0.95rem;
    color: var(--gold-light);
    text-decoration: none;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
}

.footer-links a:hover {
    color: var(--gold-primary);
    transform: translateY(-2px);
}

.footer-social {
    display: flex;
    gap: 20px;
    justify-content: flex-end;
}

.footer-social a {
    color: var(--gold-light);
    transition: all 0.3s ease;
}

.footer-social a:hover {
    color: var(--gold-primary);
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(212, 175, 154, 0.1);
}

.footer-bottom p {
    font-family: var(--font-primary);
    font-size: 0.85rem;
    color: rgba(232, 220, 200, 0.6);
    margin: 0;
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-links {
        flex-direction: column;
        gap: 15px;
    }
}
