/* ========================================
   AVTOSERVIS LUNA — Premium Design System
   ======================================== */

/* --- Intro Overlay --- */
.intro-overlay {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 1s ease, visibility 1s ease;
}

.intro-overlay.fade-out {
    opacity: 0;
    visibility: hidden;
}

.intro-overlay canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.intro-logo {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    opacity: 0;
    transform: scale(0.5);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
}

.intro-logo.visible {
    opacity: 1;
    transform: scale(1);
}

.intro-logo__img {
    max-width: 500px;
    width: 80vw;
    height: auto;
    filter: brightness(0) invert(1) drop-shadow(0 0 30px rgba(59, 130, 246, 0.5));
    animation: introGlow 2s ease-in-out infinite alternate;
}

@keyframes introGlow {
    from { filter: brightness(0) invert(1) drop-shadow(0 0 20px rgba(59, 130, 246, 0.3)); }
    to { filter: brightness(0) invert(1) drop-shadow(0 0 50px rgba(59, 130, 246, 0.7)); }
}

body.intro-active {
    overflow: hidden;
}

/* --- Custom Properties --- */
:root {
    --bg-primary: #0a0a0f;
    --bg-secondary: #111118;
    --bg-card: rgba(255, 255, 255, 0.03);
    --bg-card-hover: rgba(255, 255, 255, 0.06);
    --text-primary: #f0f0f5;
    --text-secondary: rgba(240, 240, 245, 0.55);
    --text-muted: rgba(240, 240, 245, 0.3);
    --accent: #3b82f6;
    --accent-glow: rgba(59, 130, 246, 0.25);
    --accent-soft: rgba(59, 130, 246, 0.08);
    --border: rgba(255, 255, 255, 0.06);
    --border-hover: rgba(255, 255, 255, 0.12);
    --radius: 16px;
    --radius-sm: 8px;
    --radius-lg: 24px;
    --font-display: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
    scrollbar-width: thin;
    scrollbar-color: var(--accent) var(--bg-primary);
}

/* Offset anchor targets for fixed nav */
section[id] {
    scroll-margin-top: 100px;
}

html::-webkit-scrollbar { width: 6px; }
html::-webkit-scrollbar-track { background: var(--bg-primary); }
html::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 3px; }

body {
    font-family: var(--font-body);
    background: var(--bg-primary);
    color: var(--text-primary);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: inherit;
    text-decoration: none;
}

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

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 clamp(20px, 5vw, 60px);
}

/* --- Noise Overlay --- */
.noise-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.035;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 256px;
}

/* --- Custom Cursor --- */
.cursor {
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 10001;
    transition: transform 0.15s var(--ease-out), opacity 0.15s;
    transform: translate(-50%, -50%);
    mix-blend-mode: difference;
}

.cursor-follower {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(59, 130, 246, 0.4);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 10000;
    transition: transform 0.4s var(--ease-out), width 0.3s, height 0.3s, border-color 0.3s;
    transform: translate(-50%, -50%);
}

.cursor.hovering {
    transform: translate(-50%, -50%) scale(0.5);
}

.cursor-follower.hovering {
    width: 60px;
    height: 60px;
    border-color: var(--accent);
}

@media (pointer: coarse) {
    .cursor, .cursor-follower { display: none; }
}

/* --- Navigation --- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px clamp(20px, 5vw, 60px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 1000;
    transition: all 0.5s var(--ease-out);
}

.nav--scrolled {
    padding: 12px clamp(20px, 5vw, 60px);
    background: rgba(10, 10, 15, 0.85);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--border);
}

.nav__logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.4rem;
    letter-spacing: 0.05em;
    z-index: 1001;
}

.nav__logo-img {
    height: 45px;
    width: auto;
    filter: brightness(0) invert(1);
    transition: filter 0.3s;
}

.nav__logo-img:hover {
    filter: drop-shadow(0 0 8px var(--accent-glow));
}

.nav__links {
    display: flex;
    gap: 36px;
}

.nav__link {
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-secondary);
    position: relative;
    padding: 4px 0;
    transition: color 0.3s;
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent);
    transition: width 0.4s var(--ease-out);
}

.nav__link:hover {
    color: var(--text-primary);
}

.nav__link:hover::after {
    width: 100%;
}

.nav__cta {
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: var(--accent);
    border: 1px solid rgba(59, 130, 246, 0.3);
    padding: 10px 24px;
    border-radius: 100px;
    transition: all 0.3s var(--ease-out);
}

.nav__cta:hover {
    background: var(--accent);
    color: white;
    box-shadow: 0 0 30px var(--accent-glow);
}

/* --- Language Switcher --- */
.lang-switcher {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-right: 8px;
}

.lang-divider {
    color: var(--text-muted);
    font-size: 0.75rem;
    user-select: none;
}

.lang-btn {
    background: none;
    border: none;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    color: var(--text-muted);
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 6px;
    transition: all 0.3s var(--ease-out);
}

.lang-btn:hover {
    color: var(--text-primary);
}

.lang-btn.active {
    color: var(--accent);
    background: var(--accent-soft);
}

.lang-switcher--mobile {
    margin-bottom: 20px;
}

.lang-switcher--mobile .lang-btn {
    font-size: 1rem;
    padding: 8px 16px;
}

.nav__burger {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.nav__burger span {
    width: 28px;
    height: 2px;
    background: var(--text-primary);
    transition: all 0.3s var(--ease-out);
    transform-origin: center;
}

.nav__burger.active span:nth-child(1) {
    transform: rotate(45deg) translateY(5.5px);
}
.nav__burger.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}
.nav__burger.active span:nth-child(3) {
    transform: rotate(-45deg) translateY(-5.5px);
}

/* --- Mobile Menu --- */
.mobile-menu {
    position: fixed;
    inset: 0;
    background: rgba(10, 10, 15, 0.97);
    backdrop-filter: blur(40px);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s var(--ease-out);
}

.mobile-menu.active {
    opacity: 1;
    pointer-events: all;
}

.mobile-menu__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
}

.mobile-menu__link {
    font-family: var(--font-display);
    font-size: clamp(2rem, 6vw, 3.5rem);
    font-weight: 700;
    color: var(--text-secondary);
    transition: color 0.3s;
    transform: translateY(30px);
    opacity: 0;
}

.mobile-menu.active .mobile-menu__link {
    transform: translateY(0);
    opacity: 1;
}

.mobile-menu__link:hover {
    color: var(--accent);
}

.mobile-menu__phone {
    margin-top: 20px;
    font-size: 1.1rem;
    color: var(--accent);
    border: 1px solid rgba(59, 130, 246, 0.3);
    padding: 14px 36px;
    border-radius: 100px;
    transform: translateY(30px);
    opacity: 0;
}

.mobile-menu.active .mobile-menu__phone {
    transform: translateY(0);
    opacity: 1;
}

.mobile-menu.active .mobile-menu__link:nth-child(1) { transition-delay: 0.1s; }
.mobile-menu.active .mobile-menu__link:nth-child(2) { transition-delay: 0.15s; }
.mobile-menu.active .mobile-menu__link:nth-child(3) { transition-delay: 0.2s; }
.mobile-menu.active .mobile-menu__link:nth-child(4) { transition-delay: 0.25s; }
.mobile-menu.active .mobile-menu__link:nth-child(5) { transition-delay: 0.3s; }
.mobile-menu.active .mobile-menu__phone { transition-delay: 0.4s; }

/* --- Hero --- */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: flex-end;
    padding-bottom: clamp(60px, 10vh, 120px);
    overflow: hidden;
}

.hero__bg {
    position: absolute;
    inset: 0;
    z-index: -2;
}

.hero__bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
    transform: scale(1.1);
    transition: transform 8s ease;
}

.hero__bg-overlay {
    position: absolute;
    inset: 0;
    background: 
        linear-gradient(180deg, 
            rgba(10, 10, 15, 0.3) 0%, 
            rgba(10, 10, 15, 0.6) 50%, 
            rgba(10, 10, 15, 0.95) 100%),
        linear-gradient(90deg, 
            rgba(10, 10, 15, 0.8) 0%, 
            transparent 60%);
}

/* Three.js canvas */
#hero-canvas {
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
}

.hero__content {
    position: relative;
    z-index: 2;
    padding: 0 clamp(20px, 5vw, 60px);
    max-width: 1280px;
    margin: 0 auto;
    width: 100%;
}

.hero__tag {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    color: var(--accent);
    margin-bottom: 24px;
}

.hero__tag-line {
    display: inline-block;
    width: 40px;
    height: 1px;
    background: var(--accent);
}

.hero__title {
    font-family: var(--font-display);
    font-size: clamp(2.8rem, 7vw, 6rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
}

.hero__title-line {
    display: block;
    overflow: hidden;
}

.hero__title-word {
    display: inline-block;
}

.accent {
    color: var(--accent);
    filter: drop-shadow(0 0 20px var(--accent-glow));
}

.hero__subtitle {
    font-size: clamp(1rem, 1.8vw, 1.2rem);
    color: var(--text-secondary);
    max-width: 480px;
    line-height: 1.6;
    margin-bottom: 40px;
}

.hero__cta {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--accent);
    color: white;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 16px 36px;
    border-radius: 100px;
    transition: all 0.4s var(--ease-out);
    box-shadow: 0 0 40px var(--accent-glow);
    border: none;
    cursor: pointer;
}

.hero__cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 50px rgba(59, 130, 246, 0.4);
}

.hero__cta svg {
    transition: transform 0.3s var(--ease-out);
}

.hero__cta:hover svg {
    transform: translate(4px, -4px);
}

.hero__scroll-indicator {
    position: absolute;
    right: clamp(20px, 5vw, 60px);
    bottom: clamp(40px, 8vh, 80px);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.hero__scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(180deg, var(--accent), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; transform: scaleY(0.6); }
    50% { opacity: 1; transform: scaleY(1); }
}

/* --- Marquee --- */
.marquee {
    padding: 20px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    overflow: hidden;
    background: var(--bg-secondary);
}

.marquee__track {
    display: flex;
    gap: 40px;
    animation: marqueeScroll 30s linear infinite;
    width: max-content;
    white-space: nowrap;
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.marquee__dot {
    color: var(--accent);
    font-size: 0.5rem;
    display: flex;
    align-items: center;
}

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

/* --- Section Label --- */
.section-label {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.25em;
    color: var(--accent);
    margin-bottom: 20px;
}

.section-label::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 12px var(--accent-glow);
}

/* --- About --- */
.about {
    padding: clamp(80px, 12vw, 160px) 0;
}

.about__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(40px, 6vw, 100px);
    align-items: center;
}

.about__image-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.about__image {
    width: 100%;
    height: auto;
    aspect-ratio: 4/5;
    object-fit: cover;
    transition: transform 0.8s var(--ease-out);
}

.about__image-wrapper:hover .about__image {
    transform: scale(1.05);
}

.about__image-wrapper::after {
    content: '';
    position: absolute;
    inset: 0;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    pointer-events: none;
}

.about__image-badge {
    position: absolute;
    bottom: 24px;
    right: 24px;
    background: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px 28px;
    text-align: center;
}

.about__badge-number {
    display: block;
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
}

.about__badge-text {
    font-size: 0.75rem;
    color: var(--text-secondary);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-top: 4px;
}

.about__title {
    font-family: var(--font-display);
    font-size: clamp(2.4rem, 4vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 28px;
}

.about__desc {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.75;
    margin-bottom: 16px;
}

.about__stats {
    display: flex;
    gap: 40px;
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid var(--border);
}

.about__stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.about__stat-number {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1;
}

.about__stat-plus {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--accent);
}

.about__stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    letter-spacing: 0.04em;
}

/* --- Services --- */
.services {
    padding: clamp(60px, 10vw, 120px) 0;
    background: var(--bg-secondary);
    position: relative;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--accent-soft) 0%, transparent 70%);
    pointer-events: none;
}

.services__header {
    text-align: center;
    margin-bottom: 64px;
}

.services__title {
    font-family: var(--font-display);
    font-size: clamp(2.4rem, 4vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
}

.services__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.service-card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    transition: all 0.5s var(--ease-out);
    overflow: hidden;
    cursor: default;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    opacity: 0;
    transition: opacity 0.5s;
}

.service-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-hover);
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.3), 0 0 40px var(--accent-soft);
}

.service-card:hover::before {
    opacity: 1;
}

.service-card__icon {
    width: 52px;
    height: 52px;
    color: var(--accent);
    margin-bottom: 24px;
    filter: drop-shadow(0 0 8px var(--accent-glow));
}

.service-card__number {
    position: absolute;
    top: 32px;
    right: 32px;
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 0.1em;
}

.service-card__title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
    transition: color 0.3s;
}

.service-card:hover .service-card__title {
    color: var(--accent);
}

.service-card__desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.service-card__line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), transparent);
    transition: width 0.6s var(--ease-out);
}

.service-card:hover .service-card__line {
    width: 100%;
}

/* --- Extras --- */
.extras {
    padding: clamp(40px, 6vw, 80px) 0;
    border-top: 1px solid var(--border);
    background: var(--bg-secondary);
}

.extras__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.extras__item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 20px 24px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: all 0.3s var(--ease-out);
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.extras__item:hover {
    border-color: var(--border-hover);
    color: var(--text-primary);
    transform: translateY(-4px);
}

.extras__icon {
    color: var(--accent);
    font-size: 1.1rem;
    flex-shrink: 0;
}

/* --- Why Luna --- */
.why {
    padding: clamp(80px, 12vw, 160px) 0;
    overflow: hidden;
}

.why__header {
    margin-bottom: 48px;
}

.why__title {
    font-family: var(--font-display);
    font-size: clamp(2.4rem, 4vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
}

.why__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 80px;
}

.why__card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    transition: all 0.5s var(--ease-out);
    position: relative;
    overflow: hidden;
}

.why__card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 80px;
    background: radial-gradient(circle, var(--accent-glow), transparent 70%);
    opacity: 0;
    transition: opacity 0.5s;
}

.why__card:hover {
    border-color: var(--border-hover);
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.why__card:hover::before {
    opacity: 1;
}

.why__card-icon {
    width: 44px;
    height: 44px;
    color: var(--accent);
    margin-bottom: 20px;
    filter: drop-shadow(0 0 8px var(--accent-glow));
}

.why__card-title {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 10px;
    transition: color 0.3s;
}

.why__card:hover .why__card-title {
    color: var(--accent);
}

.why__card-desc {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Process Timeline */
.process {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    padding: 40px 0;
}

.process__step {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: all 0.4s var(--ease-out);
    min-width: 180px;
}

.process__step:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2), 0 0 20px var(--accent-soft);
}

.process__number {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
    flex-shrink: 0;
    filter: drop-shadow(0 0 6px var(--accent-glow));
}

.process__content h4 {
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 2px;
}

.process__content p {
    font-size: 0.78rem;
    color: var(--text-muted);
}

.process__line {
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), var(--border));
    flex-shrink: 0;
}

/* --- Location --- */
.location {
    padding: clamp(80px, 12vw, 160px) 0;
    background: var(--bg-secondary);
}

.location__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(40px, 6vw, 80px);
    align-items: start;
}

.location__title {
    font-family: var(--font-display);
    font-size: clamp(2.4rem, 4vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 40px;
}

.location__details {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.location__detail {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.location__detail-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-soft);
    border: 1px solid rgba(59, 130, 246, 0.15);
    border-radius: 12px;
    color: var(--accent);
}

.location__detail strong {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 6px;
}

.location__detail p {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.location__detail a {
    color: var(--accent);
    transition: opacity 0.3s;
}

.location__detail a:hover {
    opacity: 0.7;
}

.location__map {
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 420px;
    border: 1px solid var(--border);
}

.location__map iframe {
    width: 100%;
    height: 100%;
    filter: grayscale(0.8) invert(0.92) contrast(0.9) brightness(0.7) hue-rotate(180deg);
}

/* --- Contact --- */
.contact {
    padding: clamp(80px, 12vw, 160px) 0;
}

.contact__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(40px, 6vw, 100px);
    align-items: start;
}

.contact__title {
    font-family: var(--font-display);
    font-size: clamp(2.4rem, 4vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
}

.contact__desc {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 32px;
}

.contact__phone {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--accent);
    border: 1px solid rgba(59, 130, 246, 0.3);
    padding: 14px 32px;
    border-radius: 100px;
    transition: all 0.3s var(--ease-out);
}

.contact__phone:hover {
    background: var(--accent);
    color: white;
    box-shadow: 0 0 30px var(--accent-glow);
}

.contact__form {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.form-group {
    position: relative;
}

.form-group input,
.form-group textarea {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--border);
    padding: 16px 0 12px;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text-primary);
    outline: none;
    transition: border-color 0.3s;
    resize: none;
}

.form-group label {
    position: absolute;
    top: 16px;
    left: 0;
    font-size: 0.95rem;
    color: var(--text-muted);
    pointer-events: none;
    transition: all 0.3s var(--ease-out);
}

.form-group input:focus + label,
.form-group input:not(:placeholder-shown) + label,
.form-group textarea:focus + label,
.form-group textarea:not(:placeholder-shown) + label {
    top: -8px;
    font-size: 0.7rem;
    color: var(--accent);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.form-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.4s var(--ease-out);
}

.form-group input:focus ~ .form-line,
.form-group textarea:focus ~ .form-line {
    width: 100%;
}

.contact__submit {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--accent);
    color: white;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 16px 36px;
    border: none;
    border-radius: 100px;
    cursor: pointer;
    transition: all 0.4s var(--ease-out);
    box-shadow: 0 0 40px var(--accent-glow);
    align-self: flex-start;
}

.contact__submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 50px rgba(59, 130, 246, 0.4);
}

.contact__submit svg {
    transition: transform 0.3s var(--ease-out);
}

.contact__submit:hover svg {
    transform: translate(4px, -4px);
}

/* --- Footer --- */
.footer {
    padding: 60px 0 40px;
    border-top: 1px solid var(--border);
    background: var(--bg-secondary);
}

.footer__top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 60px;
}

.footer__logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.4rem;
    letter-spacing: 0.05em;
}

.footer__logo-img {
    height: 36px;
    width: auto;
    filter: brightness(10);
}

.footer__tagline {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-top: 8px;
}

.footer__links {
    display: flex;
    gap: 32px;
}

.footer__links a {
    font-size: 0.85rem;
    color: var(--text-secondary);
    transition: color 0.3s;
}

.footer__links a:hover {
    color: var(--accent);
}

.footer__bottom {
    display: flex;
    justify-content: space-between;
    padding-top: 30px;
    border-top: 1px solid var(--border);
    font-size: 0.8rem;
    color: var(--text-muted);
}

.footer__credit {
    font-size: 0.7rem;
    color: var(--text-muted);
    opacity: 0.5;
    margin-top: 8px;
    width: 100%;
    text-align: center;
}

/* --- Reveal Animations --- */
.reveal-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.reveal-up.revealed {
    opacity: 1;
    transform: translateY(0);
}

.reveal-text {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.reveal-text.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* --- Responsive --- */

/* Large tablets & small desktops */
@media (max-width: 1200px) {
    .why__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .extras__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .process {
        flex-wrap: wrap;
        justify-content: center;
        gap: 16px;
    }

    .process__line {
        display: none;
    }

    .process__step {
        min-width: 160px;
        flex: 1 1 calc(50% - 16px);
    }
}

/* Tablets */
@media (max-width: 1024px) {
    .services__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about__grid {
        gap: 40px;
    }

    .location__grid {
        gap: 40px;
    }

    .contact__grid {
        gap: 40px;
    }

    .hero__title {
        font-size: clamp(2.4rem, 6vw, 4.5rem);
    }
}

/* Small tablets & large phones landscape */
@media (max-width: 768px) {
    .nav__links,
    .nav__cta {
        display: none;
    }

    .nav__burger {
        display: flex;
    }

    .hero {
        align-items: center;
        padding-bottom: 0;
        min-height: 600px;
    }

    .hero__scroll-indicator {
        display: none;
    }

    .hero__title {
        font-size: clamp(2rem, 8vw, 3.5rem);
    }

    .hero__subtitle {
        font-size: 0.95rem;
        max-width: 100%;
    }

    .hero__cta {
        padding: 14px 28px;
        font-size: 0.9rem;
    }

    .about__grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about__image {
        aspect-ratio: 16/10;
    }

    .about__image-col {
        order: -1;
    }

    .about__stats {
        gap: 20px;
        flex-wrap: wrap;
    }

    .about__stat {
        flex: 1 1 calc(33% - 16px);
        min-width: 80px;
    }

    .about__stat-number {
        font-size: 1.6rem;
    }

    .services__grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        padding: 32px 24px;
    }

    .extras__grid {
        grid-template-columns: 1fr;
    }

    .why__grid {
        grid-template-columns: 1fr;
    }

    .why__card {
        padding: 28px 24px;
    }

    .process {
        flex-direction: column;
        align-items: stretch;
    }

    .process__step {
        min-width: auto;
        flex: 1 1 100%;
    }

    .location__grid {
        grid-template-columns: 1fr;
    }

    .location__map {
        height: 300px;
    }

    .contact__grid {
        grid-template-columns: 1fr;
    }

    .contact__info {
        text-align: left;
    }

    .footer__top {
        flex-direction: column;
        gap: 32px;
    }

    .footer__links {
        flex-wrap: wrap;
        gap: 16px;
    }

    .footer__bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }

    .marquee__track {
        font-size: 0.75rem;
        gap: 24px;
    }

    .section-label {
        font-size: 0.65rem;
    }

    .about__title,
    .services__title,
    .why__title,
    .location__title,
    .contact__title {
        font-size: clamp(1.8rem, 6vw, 3rem);
    }
}

/* Phones */
@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .nav {
        padding: 14px 16px;
    }

    .nav--scrolled {
        padding: 10px 16px;
    }

    .nav__logo-img {
        height: 32px;
    }

    .hero {
        min-height: 100svh;
        padding-bottom: 40px;
        align-items: flex-end;
    }

    .hero__content {
        padding: 0 16px;
    }

    .hero__tag {
        font-size: 0.65rem;
        gap: 10px;
        margin-bottom: 16px;
    }

    .hero__tag-line {
        width: 24px;
    }

    .hero__title {
        font-size: clamp(1.8rem, 9vw, 2.8rem);
        margin-bottom: 16px;
    }

    .hero__subtitle {
        font-size: 0.88rem;
        margin-bottom: 28px;
        line-height: 1.5;
    }

    .hero__cta {
        padding: 13px 24px;
        font-size: 0.85rem;
        width: 100%;
        justify-content: center;
    }

    .about {
        padding: clamp(60px, 10vw, 100px) 0;
    }

    .about__image {
        aspect-ratio: 4/3;
    }

    .about__image-badge {
        bottom: 16px;
        right: 16px;
        padding: 14px 18px;
    }

    .about__badge-number {
        font-size: 1.6rem;
    }

    .about__badge-text {
        font-size: 0.65rem;
    }

    .about__title {
        font-size: 1.8rem;
    }

    .about__desc {
        font-size: 0.92rem;
    }

    .about__stats {
        gap: 16px;
        margin-top: 28px;
        padding-top: 28px;
    }

    .about__stat-number {
        font-size: 1.4rem;
    }

    .about__stat-label {
        font-size: 0.7rem;
    }

    .services {
        padding: clamp(50px, 8vw, 80px) 0;
    }

    .services__header {
        margin-bottom: 40px;
    }

    .service-card {
        padding: 28px 20px;
    }

    .service-card__icon {
        width: 44px;
        height: 44px;
        margin-bottom: 18px;
    }

    .service-card__title {
        font-size: 1.1rem;
    }

    .service-card__desc {
        font-size: 0.85rem;
    }

    .service-card__number {
        top: 24px;
        right: 24px;
        font-size: 0.7rem;
    }

    .extras__item {
        padding: 16px 18px;
        font-size: 0.85rem;
        gap: 10px;
    }

    .why {
        padding: clamp(60px, 10vw, 100px) 0;
    }

    .why__card {
        padding: 24px 20px;
    }

    .why__card-icon {
        width: 36px;
        height: 36px;
        margin-bottom: 14px;
    }

    .why__card-title {
        font-size: 1rem;
    }

    .why__card-desc {
        font-size: 0.82rem;
    }

    .process {
        padding: 24px 0;
    }

    .process__step {
        padding: 16px 18px;
        gap: 12px;
    }

    .process__number {
        font-size: 1.3rem;
    }

    .process__content h4 {
        font-size: 0.85rem;
    }

    .process__content p {
        font-size: 0.72rem;
    }

    .location {
        padding: clamp(60px, 10vw, 100px) 0;
    }

    .location__map {
        height: 250px;
        border-radius: var(--radius);
    }

    .location__detail-icon {
        width: 40px;
        height: 40px;
        min-width: 40px;
    }

    .location__detail strong {
        font-size: 0.72rem;
    }

    .location__detail p {
        font-size: 0.9rem;
    }

    .contact {
        padding: clamp(60px, 10vw, 100px) 0;
    }

    .contact__form {
        gap: 24px;
    }

    .contact__submit {
        width: 100%;
        justify-content: center;
        padding: 14px 28px;
    }

    .contact__phone {
        font-size: 1rem;
        padding: 12px 24px;
    }

    .footer {
        padding: 40px 0 30px;
    }

    .footer__top {
        margin-bottom: 40px;
    }

    .footer__logo-img {
        height: 28px;
    }

    .footer__links {
        gap: 12px;
    }

    .footer__links a {
        font-size: 0.8rem;
    }

    .footer__bottom {
        font-size: 0.72rem;
    }

    .intro-logo__img {
        max-width: 220px;
    }

    .mobile-menu__link {
        font-size: clamp(1.6rem, 7vw, 2.5rem);
    }

    .mobile-menu__inner {
        gap: 24px;
    }

    .mobile-menu__phone {
        font-size: 1rem;
        padding: 12px 28px;
    }
}

/* Very small phones */
@media (max-width: 360px) {
    .container {
        padding: 0 12px;
    }

    .nav {
        padding: 12px;
    }

    .nav__logo-img {
        height: 28px;
    }

    .hero__title {
        font-size: 1.6rem;
    }

    .hero__subtitle {
        font-size: 0.82rem;
    }

    .hero__cta {
        padding: 12px 20px;
        font-size: 0.8rem;
    }

    .about__stats {
        gap: 12px;
    }

    .about__stat-number {
        font-size: 1.2rem;
    }

    .about__stat-label {
        font-size: 0.65rem;
    }

    .about__title,
    .services__title,
    .why__title,
    .location__title,
    .contact__title {
        font-size: 1.5rem;
    }

    .service-card {
        padding: 22px 16px;
    }

    .why__card {
        padding: 20px 16px;
    }

    .location__map {
        height: 200px;
    }

    .footer__links {
        flex-direction: column;
        gap: 10px;
    }

    .intro-logo__img {
        max-width: 180px;
    }

    .mobile-menu__link {
        font-size: 1.4rem;
    }
}

/* Landscape phones */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        min-height: 100svh;
        padding-top: 80px;
        padding-bottom: 20px;
    }

    .hero__title {
        font-size: clamp(1.5rem, 5vw, 2.5rem);
    }

    .hero__subtitle {
        font-size: 0.85rem;
        margin-bottom: 16px;
    }

    .hero__tag {
        margin-bottom: 10px;
    }

    .hero__cta {
        padding: 10px 24px;
        font-size: 0.85rem;
    }

    .intro-logo__img {
        max-width: 200px;
    }
}

/* Touch device hover fix */
@media (hover: none) {
    .service-card:hover {
        transform: none;
        box-shadow: none;
    }

    .why__card:hover {
        transform: none;
        box-shadow: none;
    }

    .process__step:hover {
        transform: none;
        box-shadow: none;
    }

    .extras__item:hover {
        transform: none;
    }
}
