/* ============================================
   OM DETAILING — Premium Landing Page Styles
   Inspired by mrwashauto.es design language
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Unbounded:wght@400;600;700;800;900&family=Montserrat:wght@300;400;500;600;700&family=Dancing+Script:wght@700&display=swap');

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

:root {
    --bg-primary: #020617; /* Slate 950 */
    --bg-secondary: #0f172a; /* Slate 900 */
    --bg-card: #1e293b; /* Slate 800 */
    --cyan: #06b6d4;
    --cyan-bright: #22d3ee;
    --cyan-dark: #0891b2;
    --accent: #f59e0b; /* Amber 500 for Citas */
    --accent-dark: #d97706;
    --white: #ffffff;
    --gray-100: #f3f4f6;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    --font-display: 'Unbounded', sans-serif;
    --font-body: 'Montserrat', sans-serif;
    --font-script: 'Dancing Script', cursive;
}

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    background: var(--bg-primary);
    color: var(--white);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; transition: all 0.3s ease; }
img { max-width: 100%; height: auto; display: block; }
button { cursor: pointer; font-family: inherit; }

/* ========== TOP BAR ========== */
.top-bar {
    background: var(--bg-secondary);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    padding: 8px 0;
    font-size: 0.8rem;
    color: var(--gray-400);
}
.top-bar .container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}
.top-bar a { color: var(--gray-400); }
.top-bar a:hover { color: var(--cyan); }
.top-bar i { margin-right: 6px; color: var(--cyan); }

/* ========== HEADER / NAV ========== */
.main-header {
    background: rgba(0,0,0,0.92);
    backdrop-filter: blur(20px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
}
.logo-img { height: 60px; width: auto; }
.main-nav { display: flex; align-items: center; gap: 32px; }
.main-nav a {
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--gray-300);
    position: relative;
}
.main-nav a:hover, .main-nav a.active { color: var(--cyan-bright); }
.main-nav a.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--cyan-bright);
}

.btn-cta {
    background: var(--cyan);
    color: var(--bg-primary);
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 0 20px rgba(51,181,229,0.3);
}
.btn-cta:hover {
    background: var(--cyan-bright);
    box-shadow: 0 0 30px rgba(51,181,229,0.5);
    transform: translateY(-2px);
}
.btn-cta i { font-size: 0.85rem; }

.btn-accent {
    background: var(--accent);
    color: var(--white);
    padding: 16px 40px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 0 25px rgba(245, 158, 11, 0.35);
    font-family: var(--font-display);
}
.btn-accent:hover {
    background: var(--accent-dark);
    box-shadow: 0 0 40px rgba(245, 158, 11, 0.5);
    transform: translateY(-2px);
}

.btn-purple {
    background: var(--purple);
    color: var(--white);
    padding: 14px 36px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 0 20px rgba(168,85,247,0.3);
    font-family: var(--font-display);
}
.btn-purple:hover {
    background: var(--purple-dark);
    box-shadow: 0 0 35px rgba(168,85,247,0.5);
    transform: translateY(-2px);
}

/* Mobile hamburger */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
}

/* ========== CONTAINER ========== */
.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ========== HERO ========== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}
.hero-video-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.hero-video-bg video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.8) 100%);
    z-index: 1;
}
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 0 24px;
}
.hero-badge {
    display: inline-block;
    font-family: var(--font-script);
    font-size: 1.5rem;
    color: var(--pink);
    margin-bottom: 16px;
}
.hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 6vw, 4.5rem);
    font-weight: 900;
    text-transform: uppercase;
    line-height: 1.1;
    margin-bottom: 12px;
    letter-spacing: -1px;
}
.hero h1 .highlight-cyan {
    color: var(--cyan);
    text-shadow: 0 0 30px rgba(51,181,229,0.5);
}
.hero h1 .highlight-accent {
    font-family: var(--font-script);
    color: var(--accent);
    text-transform: none;
    font-size: clamp(2rem, 5vw, 3.8rem);
    display: block;
    text-shadow: 0 0 25px rgba(245, 158, 11, 0.4);
}
.hero p {
    font-size: 1.1rem;
    color: var(--gray-400);
    max-width: 600px;
    margin: 20px auto 36px;
}

/* ========== SECTIONS COMMON ========== */
.section {
    padding: 100px 0;
    position: relative;
}
.section-dark { background: var(--bg-primary); }
.section-darker { background: var(--bg-secondary); }

.section-header {
    text-align: center;
    margin-bottom: 60px;
}
.section-header h2 {
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 4vw, 2.8rem);
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}
.section-header .script-accent {
    font-family: var(--font-script);
    color: var(--accent);
    font-size: 1.4rem;
    display: block;
    margin-bottom: 8px;
    text-transform: none;
}
.section-header p {
    color: var(--gray-400);
    max-width: 600px;
    margin: 0 auto;
    font-size: 1rem;
}
.section-divider {
    width: 60px;
    height: 3px;
    background: var(--cyan);
    margin: 20px auto 0;
    border-radius: 2px;
    box-shadow: 0 0 10px rgba(51,181,229,0.4);
}

/* ========== ABOUT ========== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.about-text h3 {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 24px;
    line-height: 1.2;
}
.about-text h3 .cyan { color: var(--cyan); }
.about-text p {
    color: var(--gray-300);
    margin-bottom: 18px;
    font-size: 0.95rem;
    line-height: 1.8;
}
.about-img {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 0 40px rgba(51,181,229,0.1);
    border: 1px solid rgba(255,255,255,0.05);
}
.about-img img { width: 100%; height: 400px; object-fit: cover; }

/* ========== SERVICES ========== */
.services-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
}
.services-intro-text h3 {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 20px;
    line-height: 1.3;
}
.services-intro-text p {
    color: var(--gray-300);
    margin-bottom: 30px;
    line-height: 1.8;
}
.services-intro-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.services-intro-images img {
    border-radius: 12px;
    width: 100%;
    height: 220px;
    object-fit: cover;
    border: 1px solid rgba(255,255,255,0.05);
}

/* Service detail blocks (alternating layout) */
.service-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding: 80px 0;
    border-top: 1px solid rgba(255,255,255,0.04);
}
.service-block.reverse .service-block-text { order: 2; }
.service-block.reverse .service-block-media { order: 1; }
.service-block-text h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 20px;
    color: var(--white);
}
.service-block-text p {
    color: var(--gray-300);
    line-height: 1.8;
    margin-bottom: 30px;
    font-size: 0.95rem;
}
.service-block-media img,
.service-block-media video {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.06);
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

/* ========== GALLERY / TRABAJOS ========== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}
.gallery-grid img, .gallery-grid video {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.05);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    cursor: pointer;
}
.gallery-grid img:hover, .gallery-grid video:hover {
    transform: scale(1.03);
    box-shadow: 0 0 30px rgba(51,181,229,0.2);
}

/* ========== TESTIMONIALS ========== */
.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}
.testimonial-card {
    background: var(--bg-card);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 16px;
    padding: 36px;
    position: relative;
}
.testimonial-card::before {
    content: '\201C';
    font-size: 5rem;
    position: absolute;
    top: -10px;
    left: 20px;
    color: var(--cyan);
    opacity: 0.15;
    font-family: serif;
    line-height: 1;
}
.testimonial-card .stars {
    color: #fbbf24;
    font-size: 0.85rem;
    margin-bottom: 16px;
}
.testimonial-card p {
    color: var(--gray-300);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 20px;
    font-style: italic;
}
.testimonial-card .author {
    font-weight: 700;
    color: var(--white);
    font-size: 0.9rem;
}
.testimonial-card .author span {
    color: var(--gray-500);
    font-weight: 400;
    font-size: 0.8rem;
    display: block;
    margin-top: 2px;
}

/* ========== SOCIAL ========== */
.social-section {
    text-align: center;
}
.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}
.social-links a {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 1px solid rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--gray-300);
    transition: all 0.3s ease;
}
.social-links a:hover {
    color: var(--cyan);
    border-color: var(--cyan);
    box-shadow: 0 0 20px rgba(51,181,229,0.25);
    transform: translateY(-3px);
}

/* ========== FOOTER ========== */
.main-footer {
    background: var(--bg-secondary);
    border-top: 1px solid rgba(255,255,255,0.05);
    padding: 80px 0 30px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 50px;
}
.footer-col h4 {
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    color: var(--cyan);
}
.footer-col p {
    color: var(--gray-400);
    font-size: 0.85rem;
    line-height: 1.8;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
    color: var(--gray-400);
    font-size: 0.85rem;
    transition: color 0.3s;
}
.footer-col ul li a:hover { color: var(--cyan); }
.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
    color: var(--gray-300);
    font-size: 0.85rem;
}
.footer-contact-item i {
    color: var(--cyan);
    width: 18px;
    text-align: center;
}

/* Footer form */
.footer-form { display: flex; flex-direction: column; gap: 10px; }
.footer-form input,
.footer-form textarea {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 10px;
    padding: 12px 16px;
    color: var(--white);
    font-size: 0.85rem;
    font-family: var(--font-body);
    outline: none;
    transition: border-color 0.3s;
}
.footer-form input:focus,
.footer-form textarea:focus { border-color: var(--cyan); }
.footer-form textarea { resize: none; height: 80px; }
.footer-form .btn-cta { width: 100%; justify-content: center; font-size: 0.85rem; padding: 12px; }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}
.footer-bottom p {
    color: var(--gray-500);
    font-size: 0.75rem;
}
.footer-bottom a {
    color: var(--gray-500);
    font-size: 0.75rem;
}
.footer-bottom a:hover { color: var(--cyan); }

/* ========== WHATSAPP FLOAT ========== */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;
}
.whatsapp-float a {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #25d366;
    color: var(--white);
    padding: 14px 22px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 4px 20px rgba(37,211,102,0.4);
    transition: all 0.3s;
}
.whatsapp-float a:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 30px rgba(37,211,102,0.5);
}
.whatsapp-float i { font-size: 1.3rem; }

/* ========== LIGHTBOX ========== */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.95);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.lightbox.active { display: flex; }
.lightbox img, .lightbox video {
    max-width: 90%;
    max-height: 90vh;
    border-radius: 12px;
}
.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: var(--white);
    font-size: 2rem;
    cursor: pointer;
    background: none;
    border: none;
}

/* ========== ANIMATIONS ========== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
    .about-grid,
    .services-intro,
    .service-block { grid-template-columns: 1fr; gap: 40px; }
    .service-block.reverse .service-block-text { order: 1; }
    .service-block.reverse .service-block-media { order: 2; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .gallery-grid { grid-template-columns: repeat(3, 1fr); }
    .testimonials-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .main-nav { display: none; }
    .main-nav.open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(0,0,0,0.97);
        backdrop-filter: blur(20px);
        padding: 24px;
        gap: 16px;
        border-bottom: 1px solid rgba(255,255,255,0.05);
    }
    .mobile-toggle { display: block; }
    .top-bar .container { font-size: 0.7rem; gap: 12px; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr; }
    .services-intro-images { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .hero h1 { font-size: 2rem; }
}
