/* Variables y Reset */
:root {
    --bg-dark: #111827;
    --bg-card: #1f2937;
    --purple-main: #9333ea;
    --purple-dark: #7e22ce;
    --purple-light: #d8b4fe;
    --text-white: #ffffff;
    --text-gray: #d1d5db;
    --text-muted: #9ca3af;
    --border-gray: #374151;
}

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

body {
    font-family: 'Work Sans', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-white);
    overflow-x: hidden;
}

/* Utils */
.transition-purple:hover { color: var(--purple-light); }
.link-white { color: white; text-decoration: none; font-weight: 500; }
.link-white:hover { text-decoration: underline; }

/* Top Bar */
.top-bar {
    position: sticky;
    top: 0;
    z-index: 60;
    background-color: #7e22ce;
    padding: 0.5rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.875rem;
    border-bottom: 1px solid #6b21a8;
}

.top-bar-contact {
    display: flex;
    gap: 1rem;
}

.contact-item {
    display: flex;
    align-items: center;
}

.icon {
    width: 1rem;
    height: 1rem;
    margin-right: 0.5rem;
}

.top-bar-hours {
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: -0.025em;
    opacity: 0.8;
}

@media (max-width: 640px) {
    .top-bar-hours { display: none; }
}

/* Navigation */
.main-nav {
    position: sticky;
    top: 36px;
    width: 100%;
    z-index: 50;
    padding: 1.25rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.glass {
    background: rgba(17, 24, 39, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.logo-img {
    height: 3rem;
    transition: transform 0.2s;
}

.logo-img:hover { transform: scale(1.05); }

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

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

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

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 6rem;
    overflow: hidden;
}

.video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 1s;
}

.active { opacity: 1; }
.hidden-video { opacity: 0; }

.overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.7) 0%, rgba(17,24,39,0.4) 50%, rgba(17,24,39,1) 100%);
    z-index: 10;
}

.hero-content {
    position: relative;
    z-index: 20;
    text-align: center;
    padding: 0 1rem;
}

.hero-subtitle {
    color: var(--purple-light);
    font-weight: bold;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    display: block;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

@media (min-width: 768px) {
    .hero-subtitle { font-size: 3rem; }
}

.logo-animation-container {
    position: relative;
    display: inline-block;
    margin: 1.5rem 0;
}

.hero-logo-img {
    height: 10rem;
    width: auto;
    filter: drop-shadow(0 15px 15px rgba(0,0,0,0.9));
}

@media (min-width: 768px) {
    .hero-logo-img { height: 20rem; }
}

.shine-effect {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.shine-bar {
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(255,255,255,0.3), transparent);
    transform: skewX(-12deg) translateX(-150%);
    animation: shine-logo 6s infinite;
}

@keyframes shine-logo {
    0% { transform: translateX(-150%) skew-x(-12deg); }
    30% { transform: translateX(150%) skew-x(-12deg); }
    100% { transform: translateX(150%) skew-x(-12deg); }
}

.hero-description {
    font-size: 1.125rem;
    color: var(--text-gray);
    max-width: 40rem;
    margin: 0 auto 2.5rem;
    font-style: italic;
    font-weight: 300;
}

.hero-description-emblem {
    font-size: 1.6rem;
    font-weight: bold;
}

.hero-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
}

@media (min-width: 768px) {
    .hero-actions { flex-direction: row; }
}

/* Buttons */
.btn-primary {
    background-color: var(--purple-main);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: bold;
    text-decoration: none;
    transition: background 0.2s;
    border: none;
    cursor: pointer;
}

.btn-primary:hover { background-color: var(--purple-dark); }

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
}

.btn-outline {
    background: transparent;
    border: 2px solid white;
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 0.375rem;
    font-weight: bold;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.2s;
}

.btn-outline:hover {
    background-color: white;
    color: black;
}

.shadow-purple {
    box-shadow: 0 10px 15px -3px rgba(88, 28, 135, 0.2);
}

/* Services Section */
.services-section {
    position: relative;
    z-index: 30;
    padding: 6rem 1.5rem;
    background-color: var(--bg-dark);
}

.services-grid {
    max-width: 72rem;
    margin: 0 auto;
    display: grid;
    gap: 3rem;
}

@media (min-width: 768px) {
    .services-grid { grid-template-columns: repeat(3, 1fr); }
}

.service-card {
    padding: 2rem;
    border-radius: 1.5rem;
    background-color: var(--bg-card);
    border: 1px solid var(--border-gray);
    transition: border-color 0.3s;
}

.service-card:hover { border-color: var(--purple-main); }

.service-icon {
    width: 3rem;
    height: 3rem;
    color: var(--purple-main);
    margin-bottom: 1.5rem;
}

.service-title {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    font-style: italic;
}

.service-text {
    color: var(--text-muted);
    line-height: 1.6;
}

/* Footer */
.main-footer {
    padding: 3rem 0;
    border-top: 1px solid var(--border-gray);
    text-align: center;
    color: var(--text-muted);
    background-color: var(--bg-dark);
}

.main-footer p {
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.75rem;
}

.reviews-section { padding: 5rem 1.5rem; background-color: #080f1e; }
.reviews-title { text-align: center; margin-bottom: 3rem; font-size: 2rem; color: var(--accent-light); }
.reviews-grid { max-width: 1100px; margin: 0 auto; display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
.review-card { background: var(--bg-card); padding: 2rem; border-radius: 1rem; border: 1px solid var(--border-gray); }
.review-stars { color: #fbbf24; margin-bottom: 1rem; }
.review-author { display: block; margin-top: 1rem; font-weight: 700; color: var(--accent-main); font-size: 0.9rem; }