/* ============================================
   SWFL'S BEST AUTO SERVICE - STYLES
   Industrial-Modern Automotive Aesthetic
   ============================================ */

:root {
    /* Colors - Industrial Auto Palette */
    --orange: #F26A1F;
    --orange-dark: #D85610;
    --orange-light: #FF8845;
    --orange-glow: rgba(242, 106, 31, 0.4);

    --black: #0A0A0A;
    --black-soft: #141414;
    --black-card: #1A1A1A;
    --gray-900: #1F1F1F;
    --gray-800: #2A2A2A;
    --gray-700: #3D3D3D;
    --gray-500: #6B6B6B;
    --gray-300: #B5B5B5;
    --gray-100: #F4F4F4;
    --gray-50: #FAFAFA;
    --white: #FFFFFF;

    /* Typography */
    --font-display: 'Bebas Neue', 'Oswald', sans-serif;
    --font-heading: 'Barlow Condensed', 'Oswald', sans-serif;
    --font-body: 'Barlow', system-ui, sans-serif;

    /* Spacing */
    --container-max: 1280px;
    --section-py: 100px;

    /* Effects */
    --shadow-card: 0 10px 40px rgba(0, 0, 0, 0.08);
    --shadow-card-hover: 0 20px 60px rgba(242, 106, 31, 0.25);
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================
   RESET & BASE
   ============================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--gray-900);
    background: var(--white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; text-decoration: none; transition: var(--transition); }

button { font-family: inherit; cursor: pointer; border: none; background: none; }

.container { max-width: var(--container-max); margin: 0 auto; padding: 0 24px; }

/* Typography defaults */
h1, h2, h3, h4 { font-family: var(--font-heading); font-weight: 700; line-height: 1.1; letter-spacing: -0.01em; }

/* ============================================
   PRELOADER
   ============================================ */
.preloader {
    position: fixed; inset: 0; z-index: 9999;
    background: var(--black);
    display: flex; align-items: center; justify-content: center;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}
.preloader.hidden { opacity: 0; visibility: hidden; }

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

.preloader-logo {
    position: relative;
    width: 100px; height: 100px;
    margin: 0 auto 20px;
}

.loader-svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.loader-bg { fill: none; stroke: var(--gray-800); stroke-width: 4; }
.loader-circle {
    fill: none; stroke: var(--orange); stroke-width: 4;
    stroke-linecap: round; stroke-dasharray: 251; stroke-dashoffset: 251;
    animation: loaderFill 1.5s ease forwards;
}
@keyframes loaderFill { to { stroke-dashoffset: 0; } }

.loader-cog {
    position: absolute; inset: 0; margin: auto;
    width: 36px; height: 36px;
    color: var(--orange); font-size: 36px;
    display: flex; align-items: center; justify-content: center;
    animation: spinCog 2s linear infinite;
}
@keyframes spinCog { to { transform: rotate(360deg); } }

.preloader-text {
    font-family: var(--font-display);
    color: var(--white);
    font-size: 28px;
    letter-spacing: 4px;
    margin-top: 16px;
}
.preloader-subtext {
    font-family: var(--font-heading);
    color: var(--orange);
    font-size: 14px;
    letter-spacing: 6px;
    margin-top: 6px;
    font-weight: 600;
    text-transform: uppercase;
}

/* ============================================
   TOP BAR
   ============================================ */
.top-bar {
    background: var(--black);
    color: var(--gray-300);
    font-size: 13px;
    padding: 10px 0;
    border-bottom: 1px solid var(--gray-800);
}

.top-bar-content {
    display: flex; justify-content: space-between; align-items: center;
    flex-wrap: wrap; gap: 10px;
}

.top-bar-left, .top-bar-right {
    display: flex; align-items: center; gap: 24px;
}

.top-link {
    display: flex; align-items: center; gap: 8px;
    color: var(--gray-300);
}
.top-link:hover { color: var(--orange); }
.top-link i { color: var(--orange); font-size: 12px; }

.hours-mini { display: flex; align-items: center; gap: 8px; }
.hours-mini i { color: var(--orange); }

.lang-switcher {
    display: flex; align-items: center; gap: 6px;
    background: var(--gray-900);
    padding: 4px 12px;
    border-radius: 4px;
    border: 1px solid var(--gray-800);
}
.lang-btn {
    color: var(--gray-500);
    font-weight: 700; font-size: 12px;
    letter-spacing: 1px;
    padding: 2px 6px;
    transition: color 0.3s;
}
.lang-btn:hover, .lang-btn.active { color: var(--orange); }
.lang-divider { color: var(--gray-700); }

@media (max-width: 768px) {
    .top-email, .hours-mini { display: none; }
    .top-bar-left, .top-bar-right { gap: 12px; }
}

/* ============================================
   HEADER
   ============================================ */
.header {
    background: var(--white);
    position: sticky; top: 0; z-index: 100;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.3s;
}
.header.scrolled { box-shadow: 0 4px 30px rgba(0, 0, 0, 0.12); }

.header-content {
    display: flex; align-items: center; justify-content: space-between;
    padding: 16px 24px;
}

.logo {
    height: 72px;
    width: auto;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), filter 0.4s ease;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.08));
}
.logo-link {
    display: inline-block;
    position: relative;
    overflow: hidden;
}
.logo-link::after {
    content: '';
    position: absolute;
    bottom: 0; left: 50%;
    transform: translateX(-50%);
    width: 0; height: 3px;
    background: linear-gradient(90deg, transparent, var(--orange), transparent);
    transition: width 0.4s ease;
}
.logo-link:hover .logo {
    transform: scale(1.08) rotate(-2deg);
    filter: drop-shadow(0 6px 16px rgba(242, 106, 31, 0.3));
}
.logo-link:hover::after { width: 100%; }

.nav-desktop { display: flex; gap: 36px; }

.nav-link {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--gray-900);
    position: relative;
    padding: 8px 0;
}
.nav-link::after {
    content: ''; position: absolute; bottom: 0; left: 0;
    width: 0; height: 2px; background: var(--orange);
    transition: width 0.3s;
}
.nav-link:hover { color: var(--orange); }
.nav-link:hover::after { width: 100%; }

.cta-header {
    background: var(--orange);
    color: var(--white) !important;
    padding: 12px 24px;
    border-radius: 4px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    display: flex; align-items: center; gap: 8px;
    transition: var(--transition);
    box-shadow: 0 4px 14px var(--orange-glow);
}
.cta-header:hover {
    background: var(--orange-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px var(--orange-glow);
}

.menu-toggle { display: none; width: 32px; height: 24px; position: relative; }
.menu-toggle span {
    position: absolute; left: 0; width: 100%; height: 3px;
    background: var(--black); border-radius: 2px;
    transition: all 0.3s;
}
.menu-toggle span:nth-child(1) { top: 0; }
.menu-toggle span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.menu-toggle span:nth-child(3) { bottom: 0; }
.menu-toggle.open span:nth-child(1) { top: 50%; transform: translateY(-50%) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { bottom: 50%; transform: translateY(50%) rotate(-45deg); }

/* Mobile Nav */
.nav-mobile {
    position: fixed;
    top: 0; right: -100%;
    width: 280px; height: 100vh;
    background: var(--black);
    z-index: 99;
    padding: 100px 30px 30px;
    transition: right 0.4s ease;
    display: flex; flex-direction: column; gap: 24px;
}
.nav-mobile.open { right: 0; }

.nav-mobile-link {
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 12px 0;
    border-bottom: 1px solid var(--gray-800);
}
.nav-mobile-link:hover { color: var(--orange); }

.nav-mobile-lang {
    display: flex; gap: 16px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--gray-800);
}
.lang-btn-mobile {
    color: var(--gray-500);
    font-weight: 700; font-size: 13px;
    letter-spacing: 2px;
    padding: 8px 12px;
}
.lang-btn-mobile.active { color: var(--orange); }

@media (max-width: 1024px) {
    .nav-desktop { display: none; }
    .menu-toggle { display: block; }
    .cta-header { padding: 10px 16px; font-size: 13px; }
}
@media (max-width: 540px) {
    .cta-header span { display: none; }
    .cta-header { padding: 12px 14px; min-width: 44px; justify-content: center; }
    .cta-header i { font-size: 16px; }
    .logo { height: 56px; }
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    padding: 16px 30px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border-radius: 4px;
    transition: var(--transition);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--orange);
    color: var(--white);
    box-shadow: 0 6px 20px var(--orange-glow);
}
.btn-primary::before {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(135deg, var(--orange-light), var(--orange-dark));
    opacity: 0; transition: opacity 0.3s;
}
.btn-primary span, .btn-primary i { position: relative; z-index: 1; }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 12px 28px var(--orange-glow); }
.btn-primary:hover::before { opacity: 1; }

.btn-ghost {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.3);
}
.btn-ghost:hover {
    background: var(--white);
    color: var(--black);
    border-color: var(--white);
}

.btn-light {
    background: var(--white);
    color: var(--black);
}
.btn-light:hover {
    background: var(--black);
    color: var(--white);
}

.btn-full { width: 100%; }

/* ============================================
   HERO
   ============================================ */
.hero {
    position: relative;
    min-height: 90vh;
    display: flex; align-items: center;
    color: var(--white);
    overflow: hidden;
    padding: 80px 0;
}

.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-img { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay {
    position: absolute; inset: 0;
    background:
        linear-gradient(135deg, rgba(10, 10, 10, 0.92) 0%, rgba(10, 10, 10, 0.7) 50%, rgba(10, 10, 10, 0.85) 100%),
        radial-gradient(circle at 70% 50%, rgba(242, 106, 31, 0.15), transparent 50%);
}

.hero-grid-bg {
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 60px 60px;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
}

.hero-tag {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 8px 20px;
    background: rgba(242, 106, 31, 0.15);
    border: 1px solid rgba(242, 106, 31, 0.4);
    border-radius: 4px;
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--orange-light);
    margin-bottom: 30px;
}
.tag-dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: var(--orange);
    box-shadow: 0 0 12px var(--orange);
    animation: pulse 2s infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } }

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(48px, 9vw, 110px);
    line-height: 0.95;
    letter-spacing: 0.02em;
    margin-bottom: 30px;
    text-transform: uppercase;
}
.hero-title-line { display: block; }
.hero-title-accent {
    background: linear-gradient(120deg, var(--orange) 0%, var(--orange-light) 50%, var(--orange) 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: shimmer 4s linear infinite;
}
@keyframes shimmer { to { background-position: 200% center; } }

.hero-subtitle {
    font-size: clamp(16px, 1.8vw, 19px);
    max-width: 600px;
    color: var(--gray-300);
    margin-bottom: 40px;
    font-weight: 300;
    line-height: 1.7;
}

.hero-ctas {
    display: flex; gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 80px;
}

.hero-stats {
    display: flex; align-items: center; gap: 40px;
    padding: 30px;
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    max-width: 700px;
    flex-wrap: wrap;
}
.stat-item { display: flex; align-items: baseline; gap: 4px; flex-wrap: wrap; }
.stat-num {
    font-family: var(--font-display);
    font-size: clamp(40px, 5vw, 56px);
    color: var(--orange);
    line-height: 1;
}
.stat-plus {
    font-family: var(--font-display);
    font-size: clamp(28px, 3.5vw, 40px);
    color: var(--orange);
}
.stat-label {
    width: 100%;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--gray-300);
    margin-top: 6px;
    font-weight: 500;
}
.stat-divider { width: 1px; height: 40px; background: rgba(255, 255, 255, 0.15); }

.hero-scroll {
    position: absolute;
    bottom: 30px; left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex; flex-direction: column; align-items: center; gap: 12px;
    font-family: var(--font-heading);
    font-size: 11px;
    letter-spacing: 4px;
    color: var(--gray-300);
}
.scroll-line {
    width: 1px; height: 50px;
    background: linear-gradient(to bottom, transparent, var(--orange));
    animation: scrollDown 2s ease infinite;
}
@keyframes scrollDown {
    0% { transform: scaleY(0); transform-origin: top; }
    50% { transform: scaleY(1); transform-origin: top; }
    50.01% { transform: scaleY(1); transform-origin: bottom; }
    100% { transform: scaleY(0); transform-origin: bottom; }
}

@media (max-width: 768px) {
    .hero { min-height: auto; padding: 60px 0 80px; }
    .hero-stats { gap: 24px; padding: 20px; }
    .stat-divider { display: none; }
    .stat-item { flex: 1 1 30%; min-width: 80px; }
    .hero-scroll { display: none; }
}

/* ============================================
   QUICK SERVICES
   ============================================ */
.quick-services {
    background: var(--black);
    padding: 0;
    margin-top: -40px;
    position: relative;
    z-index: 3;
}
.quick-services .container { padding: 0; }

.quick-services-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    background: var(--gray-900);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    border: 1px solid var(--gray-800);
}

.quick-item {
    display: flex; flex-direction: column; align-items: center; gap: 12px;
    padding: 30px 16px;
    color: var(--white);
    border-right: 1px solid var(--gray-800);
    transition: var(--transition);
    cursor: pointer;
    position: relative;
}
.quick-item:last-child { border-right: none; }
.quick-item::before {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(180deg, transparent, var(--orange));
    opacity: 0; transition: opacity 0.3s;
}
.quick-item:hover::before { opacity: 0.15; }
.quick-item:hover { color: var(--orange); transform: translateY(-2px); }
.quick-item i {
    font-size: 32px;
    transition: transform 0.3s;
    position: relative;
}
.quick-item:hover i { transform: scale(1.15); }
.quick-item span {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    position: relative;
}

@media (max-width: 768px) {
    .quick-services-grid { grid-template-columns: repeat(3, 1fr); }
    .quick-item { padding: 20px 8px; gap: 8px; }
    .quick-item:nth-child(3) { border-right: none; }
    .quick-item:nth-child(-n+3) { border-bottom: 1px solid var(--gray-800); }
    .quick-item i { font-size: 24px; }
    .quick-item span { font-size: 11px; }
}

/* ============================================
   SECTION HEADER UTILS
   ============================================ */
.section-tag {
    display: inline-flex; align-items: center; gap: 14px;
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--orange);
    margin-bottom: 16px;
}
.section-tag.center { justify-content: center; width: 100%; }

.tag-line {
    width: 30px; height: 2px;
    background: var(--orange);
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(36px, 5vw, 60px);
    line-height: 1.05;
    letter-spacing: 0.01em;
    text-transform: uppercase;
    margin-bottom: 20px;
}
.section-title.center { text-align: center; }
.accent {
    color: var(--orange);
    position: relative;
}

.section-sub {
    text-align: center;
    color: var(--gray-500);
    font-size: 17px;
    max-width: 680px;
    margin: 0 auto 60px;
    line-height: 1.7;
}

.section-header { margin-bottom: 60px; }

/* ============================================
   ABOUT
   ============================================ */
.about { padding: var(--section-py) 0; }

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-image-wrap {
    position: relative;
    border-radius: 8px;
    overflow: visible;
}

.about-img {
    width: 100%;
    border-radius: 8px;
    aspect-ratio: 4/5;
    object-fit: cover;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}

.about-badge {
    position: absolute;
    bottom: -30px; right: -30px;
    background: var(--orange);
    color: var(--white);
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 20px 50px var(--orange-glow);
    z-index: 2;
}
.badge-num {
    font-family: var(--font-display);
    font-size: 64px;
    line-height: 1;
}
.badge-text {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-top: 8px;
}

.about-pattern {
    position: absolute;
    top: -30px; left: -30px;
    width: 120px; height: 120px;
    background-image: radial-gradient(circle, var(--orange) 1.5px, transparent 1.5px);
    background-size: 16px 16px;
    opacity: 0.4;
    z-index: -1;
}

.about-text {
    font-size: 17px;
    color: var(--gray-700);
    margin-bottom: 16px;
    line-height: 1.7;
}
.about-text strong { color: var(--black); font-weight: 700; }

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-top: 30px;
}

.feature-item {
    display: flex; align-items: center; gap: 12px;
    font-size: 14px;
    color: var(--gray-700);
    font-weight: 500;
}

.feature-icon {
    width: 28px; height: 28px;
    background: var(--orange);
    color: var(--white);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    font-size: 11px;
}

@media (max-width: 968px) {
    .about-grid { grid-template-columns: 1fr; gap: 60px; }
    .about-image-wrap { max-width: 500px; margin: 0 auto; }
    .about-features { grid-template-columns: 1fr; }
    .about-badge { right: 20px; bottom: -20px; padding: 20px; }
    .badge-num { font-size: 48px; }
}

/* ============================================
   SERVICES
   ============================================ */
.services {
    padding: var(--section-py) 0;
    background: var(--gray-50);
    position: relative;
    overflow: hidden;
}

.services-bg-grid {
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(242, 106, 31, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(242, 106, 31, 0.025) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
}
.services .container { position: relative; }

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.service-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: var(--transition);
    position: relative;
    border: 1px solid transparent;
}
.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-card-hover);
    border-color: var(--orange);
}

.service-img-wrap {
    aspect-ratio: 16/10;
    overflow: hidden;
    position: relative;
}
.service-img-wrap img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.6s;
}
.service-card:hover .service-img-wrap img { transform: scale(1.08); }

.service-img-wrap::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(0, 0, 0, 0.6));
}

.service-icon-box {
    position: absolute;
    top: calc(56.25% - 30px); right: 24px;
    width: 60px; height: 60px;
    background: var(--orange);
    color: var(--white);
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    font-size: 24px;
    z-index: 2;
    box-shadow: 0 8px 20px var(--orange-glow);
    transition: var(--transition);
}
.service-card:hover .service-icon-box {
    transform: rotate(-8deg) scale(1.1);
}

.service-body {
    padding: 30px 24px 28px;
    position: relative;
}

.service-num {
    font-family: var(--font-display);
    font-size: 60px;
    color: var(--gray-100);
    position: absolute;
    top: 10px; right: 24px;
    line-height: 1;
}

.service-title {
    font-family: var(--font-heading);
    font-size: 22px;
    margin-bottom: 12px;
    color: var(--black);
    position: relative;
    z-index: 1;
}

.service-desc {
    font-size: 15px;
    color: var(--gray-500);
    line-height: 1.6;
}

.services-extra {
    background: var(--white);
    border-radius: 8px;
    padding: 30px;
    box-shadow: var(--shadow-card);
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 50px;
}
.extra-title {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    color: var(--black);
    text-transform: uppercase;
    letter-spacing: 1px;
}
.extra-tags { display: flex; flex-wrap: wrap; gap: 10px; flex: 1; }
.extra-tag {
    padding: 8px 16px;
    background: var(--gray-100);
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    color: var(--gray-700);
    transition: var(--transition);
    cursor: default;
    border: 1px solid transparent;
}
.extra-tag:hover {
    background: var(--orange);
    color: var(--white);
    transform: translateY(-2px);
}

.services-cta {
    text-align: center;
    padding-top: 20px;
}
.services-cta p {
    font-size: 18px;
    color: var(--gray-700);
    margin-bottom: 20px;
    font-weight: 500;
}

@media (max-width: 968px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
    .services-grid { grid-template-columns: 1fr; }
    .services-extra { flex-direction: column; align-items: flex-start; }
}

/* ============================================
   WHY US BANNER
   ============================================ */
.why-banner {
    background: linear-gradient(135deg, var(--orange) 0%, var(--orange-dark) 100%);
    padding: 70px 0;
    position: relative;
    overflow: hidden;
    color: var(--white);
}

.why-bg-pattern {
    position: absolute; inset: 0;
    background-image:
        radial-gradient(circle at 0% 50%, rgba(255, 255, 255, 0.1), transparent 50%),
        repeating-linear-gradient(45deg, transparent, transparent 20px, rgba(255, 255, 255, 0.03) 20px, rgba(255, 255, 255, 0.03) 21px);
}

.why-content {
    display: flex; align-items: center; justify-content: space-between;
    flex-wrap: wrap; gap: 30px;
    position: relative;
}

.why-text { flex: 1; min-width: 300px; }

.why-title {
    font-family: var(--font-display);
    font-size: clamp(32px, 4.5vw, 56px);
    line-height: 1.1;
    margin-bottom: 12px;
    text-transform: uppercase;
}
.why-title span { display: inline-block; margin-right: 14px; }
.why-title .accent { color: var(--black); }

.why-sub {
    font-size: 17px;
    opacity: 0.95;
    max-width: 600px;
    line-height: 1.6;
}

/* ============================================
   BRANDS
   ============================================ */
.brands { padding: var(--section-py) 0; background: var(--white); overflow: hidden; }

.brands-track-wrap {
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
}

.brands-track {
    display: flex; gap: 60px;
    animation: scrollBrands 40s linear infinite;
    width: max-content;
}

@keyframes scrollBrands {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

.brand-item {
    flex-shrink: 0;
    width: 140px;
    height: 80px;
    display: flex; align-items: center; justify-content: center;
}
.brand-item img {
    max-height: 60px;
    max-width: 100%;
    object-fit: contain;
    filter: grayscale(100%) brightness(0.4);
    opacity: 0.6;
    transition: var(--transition);
}
.brand-item:hover img {
    filter: grayscale(0%) brightness(1);
    opacity: 1;
    transform: scale(1.1);
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials {
    padding: var(--section-py) 0;
    background: var(--black-soft);
    color: var(--white);
    position: relative;
}
.testimonials .section-title { color: var(--white); }

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.testimonial-card {
    background: var(--black-card);
    padding: 36px 30px 30px;
    border-radius: 8px;
    position: relative;
    border: 1px solid var(--gray-800);
    transition: var(--transition);
    overflow: hidden;
}
.testimonial-card::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--orange), var(--orange-light));
    transform: scaleX(0); transform-origin: left;
    transition: transform 0.5s;
}
.testimonial-card:hover { transform: translateY(-6px); border-color: var(--orange); }
.testimonial-card:hover::before { transform: scaleX(1); }

.t-stars {
    color: var(--orange);
    font-size: 16px;
    margin-bottom: 20px;
    display: flex; gap: 4px;
}

.t-text {
    font-size: 16px;
    color: var(--gray-300);
    line-height: 1.7;
    margin-bottom: 30px;
    font-style: italic;
    position: relative;
    z-index: 2;
}

.t-author { display: flex; align-items: center; gap: 14px; position: relative; z-index: 2; }
.t-avatar {
    width: 50px; height: 50px;
    background: linear-gradient(135deg, var(--orange), var(--orange-dark));
    color: var(--white);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-display);
    font-size: 22px;
}
.t-name { font-weight: 700; color: var(--white); font-size: 15px; }
.t-loc { color: var(--gray-500); font-size: 13px; }

.t-quote {
    position: absolute;
    bottom: -30px; right: 20px;
    font-family: var(--font-display);
    font-size: 180px;
    color: var(--orange);
    opacity: 0.08;
    line-height: 1;
    z-index: 1;
}

.testimonials-note {
    text-align: center;
    color: var(--gray-500);
    font-size: 15px;
    display: flex; align-items: center; justify-content: center; gap: 10px;
}
.testimonials-note i { color: var(--orange); font-size: 20px; }

@media (max-width: 968px) {
    .testimonials-grid { grid-template-columns: 1fr; max-width: 500px; margin: 0 auto 40px; }
}

/* ============================================
   GALLERY
   ============================================ */
.gallery { padding: var(--section-py) 0; background: var(--white); }

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 220px;
    gap: 16px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
}
.gallery-item.item-large { grid-row: span 2; grid-column: span 2; }
.gallery-item.item-large-2 { grid-row: span 2; grid-column: span 2; }

.gallery-item img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.gallery-item:hover img { transform: scale(1.08); }

.gallery-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(242, 106, 31, 0.85), rgba(216, 86, 16, 0.85));
    display: flex; align-items: center; justify-content: center;
    opacity: 0;
    transition: opacity 0.4s;
    color: var(--white);
    font-size: 32px;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }

@media (max-width: 968px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 200px;
    }
    .gallery-item.item-large,
    .gallery-item.item-large-2 { grid-row: span 1; grid-column: span 2; }
}
@media (max-width: 540px) {
    .gallery-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 200px;
    }
    .gallery-item.item-large,
    .gallery-item.item-large-2 { grid-column: span 1; }
}

/* ============================================
   CONTACT
   ============================================ */
.contact { padding: var(--section-py) 0; background: var(--gray-50); }

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 40px;
    margin-bottom: 50px;
}

.contact-info {
    display: flex; flex-direction: column; gap: 16px;
}

.info-card {
    background: var(--white);
    padding: 24px;
    border-radius: 8px;
    box-shadow: var(--shadow-card);
    display: flex; gap: 18px;
    transition: var(--transition);
    border-left: 3px solid transparent;
}
.info-card:hover {
    border-left-color: var(--orange);
    transform: translateX(4px);
}

.info-icon {
    width: 50px; height: 50px;
    background: var(--orange);
    color: var(--white);
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.info-content h4 {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--gray-500);
    margin-bottom: 6px;
}
.info-content p { color: var(--black); font-weight: 600; line-height: 1.5; }

.info-link {
    display: inline-block;
    margin-top: 8px;
    color: var(--orange);
    font-weight: 600;
    font-size: 14px;
}
.info-link:hover { color: var(--orange-dark); transform: translateX(4px); }

.hours-list { list-style: none; }
.hours-list li {
    display: flex; justify-content: space-between;
    padding: 6px 0;
    border-bottom: 1px dashed var(--gray-100);
    color: var(--gray-700);
    font-size: 14px;
}
.hours-list li:last-child { border-bottom: none; }
.hours-list strong { color: var(--black); font-weight: 700; }
.hours-list li.closed strong { color: #c53030; }

.contact-form-wrap {
    background: var(--white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: var(--shadow-card);
}

.form-header { margin-bottom: 28px; }
.form-header h3 {
    font-family: var(--font-display);
    font-size: 32px;
    color: var(--black);
    margin-bottom: 8px;
    text-transform: uppercase;
}
.form-header p { color: var(--gray-500); }

.contact-form { display: flex; flex-direction: column; gap: 16px; }

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label {
    font-size: 13px;
    font-weight: 600;
    color: var(--gray-700);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.form-group input,
.form-group textarea {
    padding: 14px 16px;
    border: 2px solid var(--gray-100);
    border-radius: 6px;
    font-family: inherit;
    font-size: 15px;
    color: var(--black);
    background: var(--gray-50);
    transition: var(--transition);
    resize: vertical;
}
.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--orange);
    background: var(--white);
    box-shadow: 0 0 0 3px var(--orange-glow);
}

.form-note {
    font-size: 13px;
    color: var(--gray-500);
    text-align: center;
    margin-top: 6px;
}

.map-wrap {
    height: 400px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-card);
}
.map-wrap iframe { display: block; }

@media (max-width: 968px) {
    .contact-grid { grid-template-columns: 1fr; }
    .contact-form-wrap { padding: 30px 24px; }
    .form-row { grid-template-columns: 1fr; }
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--black);
    color: var(--gray-300);
    padding: 80px 0 30px;
    position: relative;
    overflow: hidden;
}

.footer-pattern {
    position: absolute; inset: 0;
    background-image:
        radial-gradient(circle at 90% 10%, rgba(242, 106, 31, 0.08), transparent 40%);
}
.footer-content { position: relative; }

.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1.4fr 1fr;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-logo {
    height: 90px;
    margin-bottom: 20px;
    transition: transform 0.4s ease;
    filter: drop-shadow(0 4px 12px rgba(242, 106, 31, 0.15));
}
.footer-logo:hover {
    transform: scale(1.05) rotate(2deg);
}

.footer-desc {
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 20px;
    color: var(--gray-500);
}

.footer-payments { margin-top: 20px; }
.payment-title {
    font-family: var(--font-heading);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 10px;
    color: var(--orange);
}
.payment-icons { display: flex; gap: 12px; flex-wrap: wrap; }
.pay-icon {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 6px 12px;
    background: var(--gray-900);
    border: 1px solid var(--gray-800);
    border-radius: 4px;
    font-size: 12px;
    color: var(--gray-300);
}
.pay-icon i { color: var(--orange); }

.footer-title {
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 12px;
}
.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 30px; height: 2px;
    background: var(--orange);
}

.footer-list { list-style: none; }
.footer-list li { margin-bottom: 10px; }
.footer-list a {
    font-size: 14px;
    color: var(--gray-300);
    position: relative;
    padding-left: 0;
    transition: padding-left 0.3s, color 0.3s;
}
.footer-list a::before {
    content: '→';
    color: var(--orange);
    opacity: 0;
    margin-right: 6px;
    transition: opacity 0.3s;
    position: absolute;
    left: -16px;
}
.footer-list a:hover {
    color: var(--orange);
    padding-left: 16px;
}
.footer-list a:hover::before { opacity: 1; }

.footer-contact { list-style: none; margin-bottom: 24px; }
.footer-contact li {
    display: flex; align-items: flex-start; gap: 10px;
    margin-bottom: 12px;
    font-size: 14px;
}
.footer-contact i { color: var(--orange); margin-top: 4px; flex-shrink: 0; }
.footer-contact a:hover { color: var(--orange); }

.footer-socials { display: flex; gap: 10px; }
.footer-socials a {
    width: 38px; height: 38px;
    background: var(--gray-900);
    color: var(--gray-300);
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    font-size: 16px;
    transition: var(--transition);
}
.footer-socials a:hover {
    background: var(--orange);
    color: var(--white);
    transform: translateY(-3px);
}

.footer-hours { list-style: none; }
.footer-hours li {
    display: flex; justify-content: space-between;
    padding: 8px 0;
    font-size: 14px;
    border-bottom: 1px dashed var(--gray-800);
}
.footer-hours li:last-child { border-bottom: none; }
.footer-hours strong { color: var(--white); }
.footer-hours li.closed strong { color: #fc8181; }

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid var(--gray-800);
    text-align: center;
    font-size: 13px;
    color: var(--gray-500);
}

@media (max-width: 968px) {
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
}
@media (max-width: 540px) {
    .footer-grid { grid-template-columns: 1fr; }
}

/* ============================================
   FLOATING BUTTONS
   ============================================ */
.floating-call {
    position: fixed;
    bottom: 24px; right: 24px;
    width: 60px; height: 60px;
    background: var(--orange);
    color: var(--white);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 24px;
    z-index: 90;
    box-shadow: 0 10px 30px var(--orange-glow);
    transition: var(--transition);
}
.floating-call:hover {
    transform: scale(1.1) rotate(-10deg);
    background: var(--orange-dark);
}

.floating-pulse {
    position: absolute; inset: 0;
    border-radius: 50%;
    background: var(--orange);
    opacity: 0.6;
    animation: floatPulse 2s ease-out infinite;
}
@keyframes floatPulse {
    0% { transform: scale(1); opacity: 0.6; }
    100% { transform: scale(1.8); opacity: 0; }
}

.back-to-top {
    position: fixed;
    bottom: 24px; left: 24px;
    width: 48px; height: 48px;
    background: var(--black);
    color: var(--white);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 16px;
    z-index: 90;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
    border: 2px solid var(--orange);
}
.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.back-to-top:hover {
    background: var(--orange);
}

@media (max-width: 540px) {
    .floating-call { bottom: 20px; right: 20px; width: 54px; height: 54px; font-size: 22px; }
    .back-to-top { width: 42px; height: 42px; }
}

/* ============================================
   REVEAL ANIMATIONS
   ============================================ */
/* Solo se ocultan cuando JS añade la clase 'js-enabled' al html */
.js-enabled .reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.js-enabled .reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.js-enabled .fade-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUpIn 1s ease forwards;
}
.js-enabled .fade-up:nth-child(1) { animation-delay: 0.2s; }
.js-enabled .fade-up:nth-child(2) { animation-delay: 0.4s; }
.js-enabled .fade-up:nth-child(3) { animation-delay: 0.5s; }
.js-enabled .fade-up:nth-child(4) { animation-delay: 0.6s; }
.js-enabled .fade-up:nth-child(5) { animation-delay: 0.7s; }
.js-enabled .fade-up:nth-child(6) { animation-delay: 0.8s; }
.js-enabled .fade-up:nth-child(7) { animation-delay: 0.9s; }

.js-enabled .hero-title-line.fade-up:nth-child(1) { animation-delay: 0.3s; }
.js-enabled .hero-title-line.fade-up:nth-child(2) { animation-delay: 0.45s; }
.js-enabled .hero-title-line.fade-up:nth-child(3) { animation-delay: 0.6s; }

@keyframes fadeUpIn {
    to { opacity: 1; transform: translateY(0); }
}

/* ============================================
   UTILITIES
   ============================================ */
@media (max-width: 768px) {
    :root { --section-py: 70px; }
}

/* Smooth scroll offset for sticky header */
section[id] { scroll-margin-top: 80px; }

/* Selection */
::selection { background: var(--orange); color: var(--white); }

/* Scrollbar */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--gray-100); }
::-webkit-scrollbar-thumb { background: var(--orange); border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: var(--orange-dark); }
