/* ================================================
   AUTO-CENTURIÓN — PREMIUM DARK MOBILE-FIRST THEME
   Diseño: Ultra-moderno con glassmorphism & luxury
   ================================================ */

/* ---------- CSS CUSTOM PROPERTIES ---------- */
:root {
    --gold: #c8a45e;
    --gold-light: #e3c97a;
    --gold-dark: #9e7d3a;
    --gold-glow: rgba(200, 164, 94, 0.35);
    --accent: #3a8bfd;
    --accent-light: #5ea3ff;
    --accent-glow: rgba(58, 139, 253, 0.3);
    --emerald: #2dd4a8;
    --emerald-glow: rgba(45, 212, 168, 0.25);
    --ruby: #ff4757;
    --amber: #ffb020;

    --bg-base: #07070c;
    --bg-surface: #0d0d15;
    --bg-card: #111119;
    --bg-card-alt: #15151f;
    --bg-elevated: #1a1a28;
    --bg-input: #12121c;

    --text-primary: #f0f0f5;
    --text-secondary: #9e9eb8;
    --text-muted: #5a5a72;

    --glass-border: rgba(255, 255, 255, 0.06);
    --glass-bg: rgba(17, 17, 25, 0.7);

    --radius-sm: 12px;
    --radius-md: 16px;
    --radius-lg: 22px;
    --radius-xl: 30px;
    --radius-full: 50px;

    --shadow-gold: 0 4px 30px rgba(200, 164, 94, 0.15);
    --shadow-accent: 0 4px 30px rgba(58, 139, 253, 0.15);
    --shadow-card: 0 8px 40px rgba(0, 0, 0, 0.35);
    --shadow-deep: 0 20px 60px rgba(0, 0, 0, 0.5);

    --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- RESET & BASE ---------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { font-size: 16px; scroll-behavior: smooth; -webkit-tap-highlight-color: transparent; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--bg-base);
    color: var(--text-primary);
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    line-height: 1.6;
}

/* Custom scrollbar */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--gold-dark); border-radius: 4px; }

/* ================================================
   WELCOME SCREEN
   ================================================ */
.welcome-screen {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-base);
    transition: opacity 0.9s ease, transform 0.9s ease;
}

.welcome-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.welcome-grid-overlay {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(200, 164, 94, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(200, 164, 94, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    animation: gridPulse 8s ease-in-out infinite;
}

@keyframes gridPulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.7; }
}

.welcome-radial-1 {
    position: absolute;
    width: 500px;
    height: 500px;
    top: -100px;
    right: -100px;
    background: radial-gradient(circle, rgba(200, 164, 94, 0.08) 0%, transparent 70%);
    animation: floatRadial 12s ease-in-out infinite;
}

.welcome-radial-2 {
    position: absolute;
    width: 400px;
    height: 400px;
    bottom: -80px;
    left: -80px;
    background: radial-gradient(circle, rgba(58, 139, 253, 0.06) 0%, transparent 70%);
    animation: floatRadial 10s ease-in-out infinite reverse;
}

@keyframes floatRadial {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(20px, -20px) scale(1.1); }
}

.welcome-particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.welcome-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 40px 28px;
}

/* Emblem */
.welcome-emblem {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto 30px;
}

.emblem-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid;
}

.ring-outer {
    inset: 0;
    border-color: rgba(200, 164, 94, 0.3);
    animation: ringRotate 20s linear infinite;
}

.ring-inner {
    inset: 10px;
    border-color: rgba(200, 164, 94, 0.15);
    animation: ringRotate 15s linear infinite reverse;
}

@keyframes ringRotate {
    to { transform: rotate(360deg); }
}

.emblem-icon {
    position: absolute;
    inset: 20px;
    background: linear-gradient(135deg, var(--gold-dark), var(--gold), var(--gold-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    color: var(--bg-base);
    box-shadow: 0 0 50px var(--gold-glow), inset 0 0 30px rgba(0,0,0,0.2);
    animation: emblemGlow 4s ease-in-out infinite;
}

@keyframes emblemGlow {
    0%, 100% { box-shadow: 0 0 40px var(--gold-glow), inset 0 0 30px rgba(0,0,0,0.2); }
    50% { box-shadow: 0 0 70px var(--gold-glow), 0 0 100px rgba(200,164,94,0.1), inset 0 0 30px rgba(0,0,0,0.2); }
}

/* Brand */
.welcome-brand { margin-bottom: 16px; }

.brand-line-top, .brand-line-bottom {
    width: 60px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    margin: 10px auto;
}

.welcome-title {
    font-family: 'Cinzel', serif;
    font-size: 2.4rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    background: linear-gradient(135deg, var(--gold-light), var(--gold), var(--gold-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
}

.welcome-subtitle {
    font-family: 'Cinzel', serif;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-secondary);
    letter-spacing: 0.6em;
    margin-top: 6px;
}

.welcome-tagline {
    font-size: 0.82rem;
    color: var(--text-muted);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 6px;
    font-weight: 400;
}

.welcome-stars {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-bottom: 35px;
}

.welcome-stars i {
    font-size: 0.65rem;
    color: var(--gold);
    animation: starTwinkle 2s ease-in-out infinite;
}
.welcome-stars i:nth-child(2) { animation-delay: 0.2s; }
.welcome-stars i:nth-child(3) { animation-delay: 0.4s; }
.welcome-stars i:nth-child(4) { animation-delay: 0.6s; }
.welcome-stars i:nth-child(5) { animation-delay: 0.8s; }

@keyframes starTwinkle {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.3); }
}

/* Enter Button */
.enter-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 18px 48px;
    background: linear-gradient(135deg, var(--gold-dark), var(--gold), var(--gold-light));
    color: var(--bg-base);
    border: none;
    border-radius: var(--radius-full);
    font-family: 'Inter', sans-serif;
    font-size: 0.88rem;
    font-weight: 800;
    letter-spacing: 0.2em;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.4s ease;
    box-shadow: 0 10px 40px var(--gold-glow);
}

.enter-btn-shimmer {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 200%; }
}

.enter-btn:active { transform: scale(0.97); }

.welcome-year {
    font-family: 'Cinzel', serif;
    font-size: 0.65rem;
    color: var(--text-muted);
    letter-spacing: 0.4em;
    margin-top: 30px;
}

/* ================================================
   HEADER
   ================================================ */
.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(7, 7, 12, 0.92);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border-bottom: 1px solid var(--glass-border);
    padding: 14px 20px;
}

.header-inner {
    max-width: 600px;
    margin: 0 auto;
}

.header-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-emblem {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--gold-dark), var(--gold));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--bg-base);
    box-shadow: var(--shadow-gold);
    flex-shrink: 0;
}

.header-title {
    font-family: 'Cinzel', serif;
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    color: var(--text-primary);
}

.header-sub {
    font-size: 0.6rem;
    color: var(--gold);
    letter-spacing: 0.22em;
    text-transform: uppercase;
    font-weight: 600;
}

/* ================================================
   NAVIGATION TABS
   ================================================ */
.nav-tabs {
    display: flex;
    justify-content: space-around;
    padding: 6px 8px;
    background: var(--bg-surface);
    border-bottom: 1px solid var(--glass-border);
    position: sticky;
    top: 72px;
    z-index: 99;
}

.nav-tab {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 10px 14px;
    border: none;
    background: transparent;
    color: var(--text-muted);
    font-family: 'Inter', sans-serif;
    font-size: 0.58rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--transition);
    border-radius: var(--radius-sm);
    position: relative;
}

.nav-tab-icon { font-size: 1.1rem; transition: var(--transition); }

.nav-tab.active {
    color: var(--gold);
    background: rgba(200, 164, 94, 0.06);
}

.nav-tab.active::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 18px;
    height: 2px;
    background: linear-gradient(90deg, var(--gold-dark), var(--gold-light));
    border-radius: 2px;
}

/* ================================================
   TAB CONTENT
   ================================================ */
.tab-content {
    display: none;
    padding-bottom: 100px;
}
.tab-content.active { display: block; }

/* ================================================
   HERO BANNER
   ================================================ */
.hero-banner {
    position: relative;
    height: 260px;
    overflow: hidden;
}

.hero-image {
    width: 100%;
    height: 100%;
    position: relative;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
        rgba(7,7,12,0.2) 0%,
        rgba(7,7,12,0.5) 50%,
        rgba(7,7,12,0.95) 100%);
}

.hero-scan-line {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    animation: scanLine 4s ease-in-out infinite;
    opacity: 0.4;
}

@keyframes scanLine {
    0% { top: 0; }
    100% { top: 100%; }
}

.hero-content {
    position: absolute;
    bottom: 24px;
    left: 20px;
    right: 20px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(200, 164, 94, 0.12);
    border: 1px solid rgba(200, 164, 94, 0.2);
    padding: 5px 14px;
    border-radius: var(--radius-full);
    font-size: 0.6rem;
    font-weight: 700;
    color: var(--gold);
    letter-spacing: 0.12em;
    margin-bottom: 10px;
    backdrop-filter: blur(10px);
}

.hero-title {
    font-family: 'Cinzel', serif;
    font-size: 1.7rem;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: 0.06em;
    line-height: 1.15;
    text-shadow: 0 4px 20px rgba(0,0,0,0.6);
}

.hero-title span {
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-desc {
    font-size: 0.82rem;
    color: var(--text-secondary);
    margin-top: 6px;
    font-weight: 400;
}

/* ================================================
   STATS BAR
   ================================================ */
.stats-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    padding: 20px 15px;
    background: var(--bg-surface);
    border-bottom: 1px solid var(--glass-border);
}

.stat-item {
    flex: 1;
    text-align: center;
}

.stat-number {
    font-family: 'Cinzel', serif;
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--gold);
}

.stat-label {
    font-size: 0.62rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 600;
    margin-top: 2px;
}

.stat-divider {
    width: 1px;
    height: 32px;
    background: var(--glass-border);
}

/* ================================================
   SECTION HEADERS
   ================================================ */
.section-header {
    text-align: center;
    padding: 35px 20px 22px;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.62rem;
    font-weight: 700;
    color: var(--gold);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.section-title {
    font-family: 'Cinzel', serif;
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: 0.12em;
    margin-bottom: 6px;
}

.section-subtitle {
    font-size: 0.78rem;
    color: var(--text-secondary);
    font-weight: 400;
}

.section-line {
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, var(--gold-dark), var(--gold-light));
    margin: 14px auto 0;
    border-radius: 2px;
}

/* ================================================
   PACKAGE CARDS
   ================================================ */
.packages-section {
    padding: 0 16px 24px;
    max-width: 600px;
    margin: 0 auto;
}

.package-card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 22px;
    transition: var(--transition);
    position: relative;
    animation: cardSlideUp 0.6s ease forwards;
    opacity: 0;
}
.package-card:nth-child(2) { animation-delay: 0.1s; }
.package-card:nth-child(3) { animation-delay: 0.2s; }
.package-card:nth-child(4) { animation-delay: 0.3s; }
.package-card:nth-child(5) { animation-delay: 0.4s; }

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

.package-card.featured {
    border-color: rgba(200, 164, 94, 0.25);
    box-shadow: 0 0 50px rgba(200, 164, 94, 0.08);
}

.featured-badge {
    position: absolute;
    top: 14px;
    left: -4px;
    z-index: 5;
    background: linear-gradient(135deg, var(--gold-dark), var(--gold));
    color: var(--bg-base);
    padding: 6px 18px 6px 12px;
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    border-radius: 0 var(--radius-full) var(--radius-full) 0;
    box-shadow: 0 4px 20px var(--gold-glow);
    display: flex;
    align-items: center;
    gap: 5px;
}

.package-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.package-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.package-card:hover .package-image img,
.package-card:active .package-image img {
    transform: scale(1.06);
}

.package-img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(7,7,12,0.85) 100%);
}

.package-tier {
    position: absolute;
    top: 14px;
    right: 14px;
    padding: 5px 14px;
    border-radius: var(--radius-full);
    font-size: 0.58rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    gap: 5px;
}

.package-tier.basic { background: rgba(58, 139, 253, 0.8); color: #fff; }
.package-tier.complete { background: rgba(45, 212, 168, 0.8); color: var(--bg-base); }
.package-tier.premium { background: linear-gradient(135deg, var(--gold-dark), var(--gold)); color: var(--bg-base); }
.package-tier.ceramic { background: linear-gradient(135deg, #8b5cf6, #a78bfa); color: #fff; }

.package-price-float {
    position: absolute;
    bottom: 14px;
    right: 14px;
    background: rgba(7, 7, 12, 0.8);
    backdrop-filter: blur(12px);
    padding: 8px 18px;
    border-radius: var(--radius-full);
    font-family: 'Cinzel', serif;
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--gold);
    border: 1px solid rgba(200, 164, 94, 0.2);
}

.package-body { padding: 20px; }

.package-name {
    font-family: 'Cinzel', serif;
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: 0.04em;
    margin-bottom: 8px;
}

.package-desc {
    font-size: 0.82rem;
    color: var(--text-secondary);
    line-height: 1.55;
    margin-bottom: 16px;
}

.package-features {
    list-style: none;
    margin-bottom: 18px;
}

.package-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.8rem;
    color: var(--text-secondary);
    padding: 5px 0;
}

.package-features li i {
    color: var(--emerald);
    font-size: 0.7rem;
    flex-shrink: 0;
    width: 16px;
    text-align: center;
}

.package-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    border-top: 1px solid var(--glass-border);
}

.package-time {
    font-size: 0.78rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
}

.package-time i { color: var(--gold); font-size: 0.7rem; }

.package-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 26px;
    background: linear-gradient(135deg, var(--gold-dark), var(--gold));
    color: var(--bg-base);
    border: none;
    border-radius: var(--radius-full);
    font-family: 'Inter', sans-serif;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 20px var(--gold-glow);
}

.package-btn:active { transform: scale(0.96); }

/* ================================================
   ADDONS SECTION
   ================================================ */
.addons-section {
    padding: 0 16px 24px;
    max-width: 600px;
    margin: 0 auto;
}

.addons-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.addon-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px;
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.addon-icon-wrap {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(200, 164, 94, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    font-size: 1rem;
    flex-shrink: 0;
}

.addon-info { flex: 1; }
.addon-info h4 { font-size: 0.82rem; font-weight: 700; color: var(--text-primary); }
.addon-info p { font-size: 0.7rem; color: var(--text-muted); margin-top: 2px; }

.addon-price {
    font-family: 'Cinzel', serif;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--gold);
    flex-shrink: 0;
}

/* ================================================
   GALLERY
   ================================================ */
.gallery-section {
    padding: 0 0 24px;
    max-width: 600px;
    margin: 0 auto;
}

.gallery-scroll {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding: 0 16px 16px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.gallery-scroll::-webkit-scrollbar { display: none; }

.gallery-item {
    min-width: 220px;
    height: 220px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    scroll-snap-align: start;
    flex-shrink: 0;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:active img { transform: scale(1.08); }

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(7,7,12,0.9) 100%);
    display: flex;
    align-items: flex-end;
    padding: 16px;
}

.gallery-overlay span {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: 0.05em;
}

/* ================================================
   TESTIMONIALS
   ================================================ */
.testimonials-section {
    padding: 0 0 30px;
    max-width: 600px;
    margin: 0 auto;
}

.testimonials-scroll {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    padding: 0 16px 16px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.testimonials-scroll::-webkit-scrollbar { display: none; }

.testimonial-card {
    min-width: 290px;
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 22px;
    scroll-snap-align: start;
    flex-shrink: 0;
    position: relative;
}

.testimonial-quote {
    position: absolute;
    top: 18px;
    right: 18px;
    color: rgba(200, 164, 94, 0.15);
    font-size: 1.4rem;
}

.testimonial-stars {
    color: var(--gold);
    font-size: 0.85rem;
    letter-spacing: 3px;
    margin-bottom: 14px;
}

.testimonial-card p {
    font-size: 0.84rem;
    color: var(--text-secondary);
    line-height: 1.6;
    font-style: italic;
    margin-bottom: 16px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold-dark), var(--gold));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 800;
    color: var(--bg-base);
}

.testimonial-author strong {
    display: block;
    font-size: 0.82rem;
    color: var(--text-primary);
}

.testimonial-author span {
    font-size: 0.68rem;
    color: var(--text-muted);
}

/* ================================================
   BOOKING FORM
   ================================================ */
.booking-section {
    padding: 0 16px 24px;
    max-width: 600px;
    margin: 0 auto;
}

/* Steps */
.booking-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 0 28px;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.step-num {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 2px solid rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.78rem;
    font-weight: 800;
    color: var(--text-muted);
    transition: var(--transition);
}

.step span {
    font-size: 0.56rem;
    color: var(--text-muted);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.step.active .step-num {
    background: linear-gradient(135deg, var(--gold-dark), var(--gold));
    border-color: var(--gold);
    color: var(--bg-base);
    box-shadow: 0 0 20px var(--gold-glow);
}
.step.active span { color: var(--gold); }

.step.completed .step-num {
    background: var(--emerald);
    border-color: var(--emerald);
    color: var(--bg-base);
}

.step-connector {
    width: 28px;
    height: 2px;
    background: rgba(255,255,255,0.08);
    margin: 0 6px;
    margin-bottom: 18px;
    border-radius: 2px;
    transition: var(--transition);
}
.step-connector.active {
    background: linear-gradient(90deg, var(--gold-dark), var(--gold));
}

/* Form Steps */
.form-step { display: none; }
.form-step.active { display: block; animation: fadeSlideIn 0.4s ease; }

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

.step-title {
    font-family: 'Cinzel', serif;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.step-title i { color: var(--gold); font-size: 0.9rem; }

.tag-optional {
    font-family: 'Inter', sans-serif;
    font-size: 0.56rem;
    background: rgba(255,255,255,0.06);
    padding: 3px 8px;
    border-radius: var(--radius-full);
    color: var(--text-muted);
    font-weight: 500;
    letter-spacing: 0;
}

/* Package Selector */
.package-selector { display: flex; flex-direction: column; gap: 10px; }
.pkg-option input { display: none; }

.pkg-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px;
    background: var(--bg-card);
    border: 2px solid var(--glass-border);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition);
    position: relative;
}

.pkg-card:active { transform: scale(0.98); }
.pkg-option input:checked + .pkg-card {
    border-color: var(--gold);
    background: rgba(200, 164, 94, 0.04);
    box-shadow: 0 0 25px rgba(200, 164, 94, 0.1);
}

.pkg-card.popular { border-color: rgba(200, 164, 94, 0.12); }

.pkg-popular-tag {
    position: absolute;
    top: -9px;
    right: 12px;
    background: linear-gradient(135deg, var(--gold-dark), var(--gold));
    color: var(--bg-base);
    padding: 2px 10px;
    border-radius: var(--radius-full);
    font-size: 0.55rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 4px;
}

.pkg-emoji { font-size: 1.4rem; flex-shrink: 0; }
.pkg-info { flex: 1; }
.pkg-info strong { display: block; font-size: 0.82rem; color: var(--text-primary); margin-bottom: 2px; }
.pkg-info span { font-size: 0.7rem; color: var(--text-muted); }

.pkg-price {
    font-family: 'Cinzel', serif;
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--gold);
    flex-shrink: 0;
}

/* Extras Selector */
.extras-selector { display: flex; flex-direction: column; gap: 8px; margin-bottom: 22px; }
.extra-option input { display: none; }

.extra-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: var(--bg-card);
    border: 2px solid var(--glass-border);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
}

.extra-card i { color: var(--gold); font-size: 0.95rem; width: 20px; text-align: center; }
.extra-card span { flex: 1; font-size: 0.8rem; color: var(--text-secondary); }
.extra-card strong { font-size: 0.8rem; color: var(--gold-light); font-family: 'Inter', sans-serif; }

.extra-option input:checked + .extra-card {
    border-color: var(--gold);
    background: rgba(200, 164, 94, 0.04);
}

/* Vehicle Grid */
.vehicle-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
    margin-bottom: 22px;
}

.vehicle-option input { display: none; }

.vehicle-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    padding: 14px 4px;
    background: var(--bg-card);
    border: 2px solid var(--glass-border);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
}

.vehicle-emoji { font-size: 1.5rem; }
.vehicle-card span { font-size: 0.58rem; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em; }

.vehicle-option input:checked + .vehicle-card {
    border-color: var(--gold);
    background: rgba(200, 164, 94, 0.04);
    box-shadow: 0 0 18px rgba(200, 164, 94, 0.1);
}
.vehicle-option input:checked + .vehicle-card span { color: var(--gold); }

/* Input Groups */
.input-group { margin-bottom: 16px; }

.input-group label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-secondary);
    margin-bottom: 8px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.input-group input,
.input-group textarea,
.input-group select {
    width: 100%;
    background: var(--bg-input);
    border: 2px solid var(--glass-border);
    border-radius: var(--radius-sm);
    padding: 14px 16px;
    font-size: 0.92rem;
    font-family: 'Inter', sans-serif;
    color: var(--text-primary);
    transition: var(--transition);
    -webkit-appearance: none;
}

.input-group input::placeholder,
.input-group textarea::placeholder { color: var(--text-muted); }

.input-group input:focus,
.input-group textarea:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 20px rgba(200, 164, 94, 0.1);
}

/* Time Slots */
.time-slots-wrap { margin-bottom: 22px; }
.time-slots-wrap > label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-secondary);
    margin-bottom: 10px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.time-slots {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.time-slot {
    padding: 12px 8px;
    background: var(--bg-card);
    border: 2px solid var(--glass-border);
    border-radius: var(--radius-sm);
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text-secondary);
    font-family: 'Inter', sans-serif;
}

.time-slot.selected {
    border-color: var(--gold);
    background: rgba(200, 164, 94, 0.06);
    color: var(--gold);
    box-shadow: 0 0 18px rgba(200, 164, 94, 0.1);
}

.time-slot.unavailable {
    opacity: 0.25;
    cursor: not-allowed;
    text-decoration: line-through;
}

/* Order Summary */
.order-summary {
    background: var(--bg-card);
    border: 1px solid rgba(200, 164, 94, 0.12);
    border-radius: var(--radius-md);
    padding: 20px;
    margin-bottom: 22px;
}

.summary-header {
    font-family: 'Cinzel', serif;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.summary-header i { color: var(--gold); }
.summary-items { margin-bottom: 14px; }

.summary-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 0.8rem;
    border-bottom: 1px solid rgba(255,255,255,0.03);
}
.summary-item:last-child { border-bottom: none; }
.summary-item .label { color: var(--text-secondary); }
.summary-item .value { color: var(--text-primary); font-weight: 700; }

.summary-total {
    display: flex;
    justify-content: space-between;
    padding-top: 14px;
    border-top: 1px solid rgba(200, 164, 94, 0.15);
    font-weight: 800;
    font-size: 1.1rem;
}
.summary-total span:first-child { color: var(--text-primary); }
.summary-total span:last-child { color: var(--gold); font-family: 'Cinzel', serif; }

/* Buttons */
.btn-group {
    display: flex;
    gap: 12px;
    margin-top: 22px;
}

.btn-back {
    flex: 1;
    padding: 16px;
    background: var(--bg-card);
    border: 2px solid rgba(255,255,255,0.08);
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    font-size: 0.8rem;
    font-weight: 800;
    font-family: 'Inter', sans-serif;
    letter-spacing: 0.06em;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-next,
.btn-submit {
    flex: 2;
    padding: 16px;
    background: linear-gradient(135deg, var(--gold-dark), var(--gold));
    border: none;
    border-radius: var(--radius-md);
    color: var(--bg-base);
    font-size: 0.82rem;
    font-weight: 800;
    font-family: 'Inter', sans-serif;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: var(--shadow-gold);
}

.btn-next:disabled, .btn-submit:disabled {
    opacity: 0.35;
    cursor: not-allowed;
    box-shadow: none;
}

.btn-next:not(:disabled):active,
.btn-submit:not(:disabled):active {
    transform: scale(0.97);
}

.btn-submit {
    background: linear-gradient(135deg, #1a8c4e, #25d366);
    box-shadow: 0 4px 25px rgba(37, 211, 102, 0.25);
}

/* ================================================
   MY APPOINTMENTS
   ================================================ */
.appointments-section {
    padding: 0 16px 24px;
    max-width: 600px;
    margin: 0 auto;
}

.search-box {
    display: flex;
    gap: 10px;
    margin-bottom: 22px;
}

.search-input-wrap {
    flex: 1;
    position: relative;
}

.search-input-wrap i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 0.85rem;
}

.search-input-wrap input {
    width: 100%;
    background: var(--bg-input);
    border: 2px solid var(--glass-border);
    border-radius: var(--radius-sm);
    padding: 14px 16px 14px 44px;
    font-size: 0.88rem;
    font-family: 'Inter', sans-serif;
    color: var(--text-primary);
    transition: var(--transition);
}

.search-input-wrap input:focus {
    outline: none;
    border-color: var(--gold);
}

.search-btn {
    width: 50px;
    background: linear-gradient(135deg, var(--gold-dark), var(--gold));
    border: none;
    border-radius: var(--radius-sm);
    color: var(--bg-base);
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-gold);
}

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

.empty-state {
    text-align: center;
    padding: 50px 20px;
    color: var(--text-muted);
}

.empty-icon {
    font-size: 3rem;
    margin-bottom: 16px;
    opacity: 0.3;
}

.empty-state p { font-size: 0.88rem; }

/* Appointment Cards */
.appointment-card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    padding: 18px;
    margin-bottom: 12px;
}

.appointment-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 14px;
}

.appointment-card-header h4 {
    font-family: 'Cinzel', serif;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--text-primary);
}

.status-badge {
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 0.6rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.status-badge.pendiente { background: rgba(255, 176, 32, 0.12); color: var(--amber); }
.status-badge.confirmada { background: rgba(58, 139, 253, 0.12); color: var(--accent); }
.status-badge.en_proceso { background: rgba(45, 212, 168, 0.12); color: var(--emerald); }
.status-badge.completada { background: rgba(45, 212, 168, 0.12); color: var(--emerald); }
.status-badge.cancelada { background: rgba(255, 71, 87, 0.12); color: var(--ruby); }

.appointment-details {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.appointment-detail {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.78rem;
    color: var(--text-secondary);
}

.appointment-detail i {
    width: 16px;
    text-align: center;
    color: var(--gold);
    font-size: 0.72rem;
}

/* ================================================
   CONTACT
   ================================================ */
.contact-section {
    padding: 0 16px 24px;
    max-width: 600px;
    margin: 0 auto;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 22px;
}

.contact-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 22px 15px;
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    text-decoration: none;
    transition: var(--transition);
}

.contact-card:active { transform: scale(0.97); }

.contact-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
}

.contact-card-icon.phone { background: rgba(58, 139, 253, 0.1); color: var(--accent); }
.contact-card-icon.whatsapp { background: rgba(37, 211, 102, 0.1); color: #25d366; }
.contact-card-icon.map { background: rgba(200, 164, 94, 0.1); color: var(--gold); }
.contact-card-icon.instagram { background: rgba(193, 53, 132, 0.1); color: #c13584; }

.contact-card h4 { font-size: 0.8rem; color: var(--text-primary); font-weight: 700; }
.contact-card p { font-size: 0.7rem; color: var(--text-muted); }

/* Info Panels */
.info-panel {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    padding: 22px;
    margin-bottom: 14px;
}

.info-panel-header {
    font-family: 'Cinzel', serif;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.info-panel-header i { color: var(--gold); }

.schedule-rows { display: flex; flex-direction: column; gap: 10px; }

.schedule-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,0.03);
    font-size: 0.84rem;
}
.schedule-row span { color: var(--text-secondary); }
.schedule-row strong { color: var(--gold); font-weight: 700; }

.guarantee-list { list-style: none; }
.guarantee-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    font-size: 0.84rem;
    color: var(--text-secondary);
}
.guarantee-list li i { color: var(--emerald); font-size: 0.78rem; width: 18px; flex-shrink: 0; }

/* ================================================
   FOOTER
   ================================================ */
.footer {
    background: var(--bg-card);
    padding: 40px 20px;
    border-top: 1px solid var(--glass-border);
}

.footer-inner {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.footer-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 6px;
}

.footer-emblem {
    font-size: 1.4rem;
    color: var(--gold);
}

.footer-name {
    font-family: 'Cinzel', serif;
    font-size: 1rem;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: 0.12em;
}

.footer-tagline {
    font-size: 0.68rem;
    color: var(--gold);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.footer-handle {
    font-size: 0.82rem;
    color: var(--accent);
    margin-bottom: 18px;
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 20px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.95rem;
}

.footer-social a:active {
    background: rgba(200, 164, 94, 0.1);
    color: var(--gold);
    border-color: rgba(200, 164, 94, 0.2);
}

.footer-copy {
    font-size: 0.65rem;
    color: var(--text-muted);
}

/* ================================================
   MODAL
   ================================================ */
.modal {
    position: fixed;
    inset: 0;
    background: rgba(7, 7, 12, 0.92);
    backdrop-filter: blur(20px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.35s ease;
    padding: 20px;
}

.modal.active { opacity: 1; visibility: visible; }

.modal-body {
    background: var(--bg-card);
    border: 1px solid rgba(200, 164, 94, 0.15);
    border-radius: var(--radius-lg);
    padding: 40px 28px;
    text-align: center;
    max-width: 380px;
    width: 100%;
    transform: scale(0.92) translateY(16px);
    transition: transform 0.4s ease;
}

.modal.active .modal-body { transform: scale(1) translateY(0); }

.modal-icon { margin-bottom: 20px; }

.modal-check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--gold-dark), var(--gold));
    border-radius: 50%;
    font-size: 2rem;
    color: var(--bg-base);
    box-shadow: 0 0 40px var(--gold-glow);
    animation: modalPop 0.6s ease;
}

@keyframes modalPop {
    0% { transform: scale(0); }
    60% { transform: scale(1.15); }
    100% { transform: scale(1); }
}

.modal-title {
    font-family: 'Cinzel', serif;
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--gold);
    margin-bottom: 10px;
}

.modal-msg {
    font-size: 0.95rem;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.modal-submsg {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.5;
}

.modal-details {
    background: rgba(200, 164, 94, 0.04);
    border: 1px solid rgba(200, 164, 94, 0.1);
    border-radius: var(--radius-sm);
    padding: 16px;
    margin-bottom: 22px;
    text-align: left;
}

.modal-detail-row {
    display: flex;
    justify-content: space-between;
    padding: 5px 0;
    font-size: 0.78rem;
}
.modal-detail-row .label { color: var(--text-secondary); }
.modal-detail-row .value { color: var(--text-primary); font-weight: 700; }

.modal-btn {
    width: 100%;
    background: linear-gradient(135deg, var(--gold-dark), var(--gold));
    color: var(--bg-base);
    border: none;
    padding: 16px;
    border-radius: var(--radius-md);
    font-size: 0.88rem;
    font-weight: 800;
    font-family: 'Inter', sans-serif;
    letter-spacing: 0.12em;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.modal-btn:active { transform: scale(0.97); }

/* ================================================
   WHATSAPP FLOAT
   ================================================ */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 20px;
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #1a8c4e, #25d366);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.5rem;
    text-decoration: none;
    z-index: 50;
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.35);
    transition: var(--transition);
    animation: floatPulse 3s ease-in-out infinite;
}

@keyframes floatPulse {
    0%, 100% { box-shadow: 0 6px 30px rgba(37, 211, 102, 0.35); }
    50% { box-shadow: 0 6px 40px rgba(37, 211, 102, 0.5), 0 0 0 8px rgba(37, 211, 102, 0.1); }
}

.whatsapp-float:active { transform: scale(0.9); }

/* ================================================
   LOADING & TOAST
   ================================================ */
.loading-spinner {
    display: flex;
    justify-content: center;
    padding: 30px;
}

.spinner {
    width: 36px;
    height: 36px;
    border: 3px solid rgba(255,255,255,0.08);
    border-top: 3px solid var(--gold);
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

.toast {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(-120px);
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    padding: 14px 24px;
    border-radius: var(--radius-md);
    font-size: 0.84rem;
    font-weight: 700;
    color: var(--text-primary);
    z-index: 6000;
    transition: transform 0.4s ease;
    box-shadow: var(--shadow-deep);
    max-width: 90%;
    text-align: center;
    backdrop-filter: blur(20px);
}

.toast.show { transform: translateX(-50%) translateY(0); }
.toast.success { border-color: var(--emerald); }
.toast.error { border-color: var(--ruby); }

/* ================================================
   RESPONSIVE
   ================================================ */
@media (max-width: 360px) {
    .welcome-title { font-size: 1.9rem; }
    .vehicle-grid { grid-template-columns: repeat(3, 1fr); }
    .time-slots { grid-template-columns: repeat(2, 1fr); }
    .hero-title { font-size: 1.4rem; }
}

@media (min-width: 768px) {
    .time-slots { grid-template-columns: repeat(4, 1fr); }
    .contact-grid { grid-template-columns: repeat(4, 1fr); }
    .addons-grid { display: grid; grid-template-columns: repeat(2, 1fr); }
}
