/* ============================================
   SHIRO DETAILING — Global Styles (Dark)
   Font: DM Sans (Apple-like feel)
   Palette: Dark, gray, light text
   ============================================ */

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

:root {
    --white: #0a0a0a;
    --off-white: #0a0a0a;
    --light-gray: #0a0a0a;
    --mid-gray: #131313;
    --text-primary: #f0f0f0;
    --text-secondary: #9a9a9a;
    --text-tertiary: #6a6a6a;
    --accent: #f0f0f0;
    --font: 'DM Sans', -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', sans-serif;
    --radius: 14px;
    --radius-sm: 8px;
    --transition: .3s cubic-bezier(.4, 0, .2, 1);
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font);
    color: var(--text-primary);
    background: #0a0a0a;
    line-height: 1.5;
    overflow-x: hidden;
}

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

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

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


/* ============================================
   INTRO SPLASH
   ============================================ */

.intro {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, .85);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
}

.intro--out {
    animation: introOut .5s ease forwards;
}

@keyframes introOut {
    to { opacity: 0; }
}

.intro__logo {
    height: 60px;
    width: auto;
    filter: brightness(0) invert(1);
    opacity: 0;
    animation: introLogoIn .5s .15s ease forwards;
}

@keyframes introLogoIn {
    to { opacity: 1; }
}


/* ============================================
   HEADER
   ============================================ */

.header {
    position: fixed;
    top: 16px;
    left: 50%;
    transform: translateX(-50%);
    width: min(calc(100% - 80px), 1400px);
    z-index: 100;
    padding: 0 32px;
    height: 72px;
    display: flex;
    align-items: center;
    border-radius: 980px;
    border: 1px solid transparent;
    transition: background .4s ease, border-color .4s ease, box-shadow .4s ease, backdrop-filter .4s ease, height .4s ease;
}


.header--scrolled {
    background: rgba(10, 10, 10, .6);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border-color: rgba(255, 255, 255, .07);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, .3),
        inset 0 1px 0 rgba(255, 255, 255, .05);
}

.header__inner {
    position: relative;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    align-items: center;
}

.header__logo-img {
    height: 42px;
    width: auto;
    filter: brightness(0) invert(1);
    transition: filter var(--transition), height var(--transition);
}

.header--scrolled .header__logo-img {
    filter: brightness(0) invert(1);
    height: 34px;
}

/* Nav — centered */
.header__nav {
    display: flex;
    align-items: center;
    gap: 36px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.header__nav a {
    font-size: 16px;
    font-weight: 400;
    color: rgba(255, 255, 255, .55);
    letter-spacing: -0.01em;
    padding: 8px 0;
    transition: color var(--transition), font-weight var(--transition);
}

.header__nav a:hover {
    color: #fff;
    font-weight: 600;
}

.header--scrolled .header__nav a {
    color: rgba(255, 255, 255, .45);
}

.header--scrolled .header__nav a:hover {
    color: #fff;
    font-weight: 600;
}

/* Dropdown wrapper */
.header__dropdown {
    position: relative;
}

.header__dropdown-trigger {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
}

.header__dropdown-trigger svg {
    transition: transform .3s ease;
    opacity: .5;
}

.header__dropdown:hover .header__dropdown-trigger svg {
    transform: rotate(180deg);
    opacity: .9;
}

/* Mega Menu */
.mega-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(4px);
    width: 540px;
    padding-top: 12px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .3s ease, transform .3s ease, visibility .3s ease;
    z-index: 200;
}

.header__dropdown:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.mega-menu__inner {
    background: rgba(12, 12, 12, .8);
    backdrop-filter: blur(32px) saturate(180%);
    -webkit-backdrop-filter: blur(32px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 16px;
    padding: 10px;
    box-shadow:
        0 20px 50px rgba(0, 0, 0, .4),
        0 6px 20px rgba(0, 0, 0, .2),
        inset 0 1px 0 rgba(255, 255, 255, .06);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px;
}

.mega-menu__item:last-child:nth-child(odd) {
    grid-column: 1 / -1;
}

.mega-menu__item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 12px;
    cursor: pointer;
    transition: background .25s ease;
}

.mega-menu__item:hover {
    background: rgba(255, 255, 255, .08);
}

.mega-menu__img {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    object-fit: cover;
    flex-shrink: 0;
    border: 1px solid rgba(255, 255, 255, .08);
    transition: border-color .25s ease, transform .25s ease;
}

.mega-menu__item:hover .mega-menu__img {
    border-color: rgba(255, 255, 255, .2);
    transform: scale(1.05);
}

.mega-menu__text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.mega-menu__title {
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, .9);
    letter-spacing: -0.01em;
}

.mega-menu__desc {
    font-size: 11px;
    font-weight: 400;
    color: rgba(255, 255, 255, .4);
    letter-spacing: -0.005em;
    line-height: 1.3;
}

.mega-menu__item:hover .mega-menu__title {
    color: #fff;
}

.mega-menu__item:hover .mega-menu__desc {
    color: rgba(255, 255, 255, .55);
}

/* Divider before right group */
.header__right::before {
    content: '';
    width: 1px;
    height: 20px;
    background: rgba(255, 255, 255, .12);
    margin-right: 4px;
}

/* Right group */
.header__right {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-left: auto;
}

/* "Co nas wyróżnia?" — glow text */
.header__glass-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: rgba(255, 255, 255, .85);
    text-shadow: 0 0 20px rgba(255, 255, 255, .25);
    transition: color var(--transition), text-shadow var(--transition);
}

.header__glass-link svg {
    flex-shrink: 0;
    opacity: .75;
    filter: drop-shadow(0 0 6px rgba(255, 255, 255, .2));
    transition: transform .3s ease, filter .3s ease;
}

.header__glass-link:hover {
    color: #fff;
    text-shadow: 0 0 24px rgba(255, 255, 255, .5), 0 0 8px rgba(255, 255, 255, .2);
}

.header__glass-link:hover svg {
    transform: rotate(15deg) scale(1.15);
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, .45));
}

.header--scrolled .header__glass-link {
    color: rgba(255, 255, 255, .8);
    text-shadow: 0 0 16px rgba(255, 255, 255, .15);
}

.header--scrolled .header__glass-link:hover {
    color: #fff;
    text-shadow: 0 0 20px rgba(255, 255, 255, .4);
}

/* CTA button */
.header__cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    padding: 10px 22px;
    border-radius: 980px;
    background: #fff;
    color: #1D1D1F;
    letter-spacing: -0.01em;
    transition: background var(--transition), color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.header__cta svg {
    flex-shrink: 0;
    opacity: .7;
}

.header--scrolled .header__cta {
    background: #fff;
    color: #1D1D1F;
}

.header__cta:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 24px rgba(255, 255, 255, .2);
}

.header--scrolled .header__cta:hover {
    box-shadow: 0 4px 24px rgba(255, 255, 255, .25);
}

/* Burger */
.header__burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 24px;
    padding: 4px 0;
}

.header__burger span {
    display: block;
    height: 1.5px;
    background: #fff;
    border-radius: 2px;
    transition: background var(--transition);
}

.header--scrolled .header__burger span {
    background: #fff;
}

/* Burger active state */
.header__burger--active span:nth-child(1) {
    transform: rotate(45deg) translate(4px, 4px);
}

.header__burger--active span:nth-child(2) {
    opacity: 0;
}

.header__burger--active span:nth-child(3) {
    transform: rotate(-45deg) translate(4px, -4px);
}


/* ============================================
   HERO
   ============================================ */

.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    max-height: 1200px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Slider */
.hero__slider {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero__slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1.2s cubic-bezier(.4, 0, .2, 1);
}

.hero__slide--active {
    opacity: 1;
}

.hero__bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 40%;
    transform: scale(1.05);
    transition: transform 6s cubic-bezier(.4, 0, .2, 1);
}

.hero__slide--active .hero__bg {
    transform: scale(1);
}

/* Overlay */
.hero__overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(180deg,
            rgba(0, 0, 0, .5) 0%,
            rgba(0, 0, 0, .35) 35%,
            rgba(0, 0, 0, .4) 65%,
            rgba(0, 0, 0, .7) 100%
        );
}

/* Content */
.hero__content {
    position: relative;
    z-index: 2;
    max-width: 780px;
    text-align: center;
    padding: 0 24px;
    padding-top: 72px;
}

.hero__location {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .85);
    padding: 10px 22px;
    border-radius: 980px;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, .08) 0%,
        rgba(255, 255, 255, .15) 50%,
        rgba(255, 255, 255, .05) 100%
    );
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, .18);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15);
    margin-bottom: 24px;
    opacity: 0;
    transform: translateY(16px);
    animation: heroFadeUp .8s .3s cubic-bezier(.4, 0, .2, 1) forwards;
}

.hero__location svg {
    flex-shrink: 0;
    width: 14px;
    height: 14px;
    opacity: .85;
}

.hero__location span {
    line-height: 1;
}

.hero__title {
    font-size: clamp(36px, 5.5vw, 64px);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -0.035em;
    color: #fff;
    margin-bottom: 20px;
    opacity: 0;
    transform: translateY(20px);
    animation: heroFadeUp .8s .45s cubic-bezier(.4, 0, .2, 1) forwards;
}

.hero__title-accent {
    font-style: italic;
    font-weight: 400;
}

.hero__sub {
    font-size: clamp(15px, 1.5vw, 18px);
    font-weight: 400;
    line-height: 1.6;
    color: rgba(255, 255, 255, .8);
    max-width: 540px;
    margin: 0 auto 36px;
    letter-spacing: -0.01em;
    opacity: 0;
    transform: translateY(20px);
    animation: heroFadeUp .8s .6s cubic-bezier(.4, 0, .2, 1) forwards;
}

/* Buttons */
.hero__actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 52px;
    opacity: 0;
    transform: translateY(20px);
    animation: heroFadeUp .8s .75s cubic-bezier(.4, 0, .2, 1) forwards;
}

.hero__btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    font-weight: 600;
    padding: 16px 34px;
    border-radius: 980px;
    letter-spacing: -0.01em;
    cursor: pointer;
    overflow: hidden;
    transition: transform .4s cubic-bezier(.175, .885, .32, 1.275), box-shadow var(--transition);
}

/* Primary — animated shimmer border */
.hero__btn--primary {
    background: #fff;
    color: #1D1D1F;
    z-index: 1;
}

.hero__btn--primary::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: inherit;
    background: conic-gradient(
        from var(--btn-angle, 0deg),
        transparent 0%,
        rgba(255, 255, 255, .8) 10%,
        transparent 20%,
        rgba(255, 255, 255, .4) 45%,
        transparent 55%,
        rgba(255, 255, 255, .6) 75%,
        transparent 85%
    );
    z-index: -2;
    animation: btnShimmer 3s linear infinite;
}

.hero__btn--primary::after {
    content: '';
    position: absolute;
    inset: 2px;
    border-radius: inherit;
    background: #fff;
    z-index: -1;
    transition: background var(--transition);
}

.hero__btn--primary:hover {
    transform: scale(1.06) translateY(-2px);
    box-shadow:
        0 8px 30px rgba(255, 255, 255, .15),
        0 0 60px rgba(255, 255, 255, .08);
}

.hero__btn--primary:hover::after {
    background: #f8f8f8;
}

.hero__btn--primary svg {
    transition: transform .4s cubic-bezier(.175, .885, .32, 1.275);
}

.hero__btn--primary:hover svg {
    transform: translateX(4px);
}

@keyframes btnShimmer {
    to { --btn-angle: 360deg; }
}

@property --btn-angle {
    syntax: '<angle>';
    initial-value: 0deg;
    inherits: false;
}

/* Ghost — liquid glass */
.hero__btn--ghost {
    color: #fff;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, .08) 0%,
        rgba(255, 255, 255, .15) 50%,
        rgba(255, 255, 255, .05) 100%
    );
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, .18);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15);
    transition: transform .4s cubic-bezier(.175, .885, .32, 1.275), background var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.hero__btn--ghost::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, .15) 50%, transparent 100%);
    transition: left .6s ease;
}

.hero__btn--ghost:hover {
    transform: scale(1.06) translateY(-2px);
    background: linear-gradient(135deg, rgba(255, 255, 255, .12) 0%, rgba(255, 255, 255, .22) 50%, rgba(255, 255, 255, .08) 100%);
    border-color: rgba(255, 255, 255, .35);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), 0 8px 32px rgba(0, 0, 0, .2);
}

.hero__btn--ghost:hover::before {
    left: 100%;
}

/* Stats */
.hero__stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
    opacity: 0;
    transform: translateY(20px);
    animation: heroFadeUp .8s .9s cubic-bezier(.4, 0, .2, 1) forwards;
}

.hero__stat {
    text-align: center;
}

.hero__stat-number {
    display: block;
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.03em;
    line-height: 1.2;
}

.hero__stat-label {
    font-size: 12px;
    font-weight: 500;
    color: rgba(255, 255, 255, .6);
    letter-spacing: -0.01em;
}

.hero__stat-divider {
    width: 1px;
    height: 32px;
    background: rgba(255, 255, 255, .2);
}

/* Dots */
.hero__dots {
    position: absolute;
    bottom: 90px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    gap: 8px;
}

.hero__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .35);
    transition: background var(--transition), transform var(--transition);
}

.hero__dot--active {
    background: #fff;
    transform: scale(1.2);
}

.hero__dot:hover {
    background: rgba(255, 255, 255, .7);
}

/* Scroll indicator */
.hero__scroll {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    color: rgba(255, 255, 255, .5);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: .06em;
    text-transform: uppercase;
    animation: heroFloat 2.5s ease-in-out infinite;
}

/* Animations */
@keyframes heroFadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes heroFloat {
    0%, 100% { transform: translate(-50%, 0); }
    50% { transform: translate(-50%, -6px); }
}


/* ============================================
   SECTION COMMON
   ============================================ */

.about__label, .services__label, .gallery__label, .why__label, .testimonials__label {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--text-tertiary);
    margin-bottom: 12px;
}

.about__title, .services__title, .gallery__title, .why__title, .testimonials__title {
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.15;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.about__title em, .services__title em, .gallery__title em, .why__title em, .testimonials__title em {
    font-style: italic;
    font-weight: 400;
}


/* ============================================
   ABOUT
   ============================================ */

.about {
    padding: 100px 40px;
}

.about__inner {
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

/* Badge */
.about__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .14em;
    color: rgba(255, 255, 255, .4);
    padding: 10px 24px;
    border-radius: 980px;
    border: 1px solid var(--mid-gray);
    margin-bottom: 40px;
}

.about__badge svg {
    opacity: .5;
}

/* Headline */
.about__headline {
    font-size: clamp(28px, 4.5vw, 48px);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.035em;
    color: var(--text-primary);
    margin-bottom: 24px;
}

.about__headline em {
    font-style: italic;
    font-weight: 400;
    color: var(--text-secondary);
}

/* Description */
.about__desc {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-secondary);
    max-width: 580px;
    margin: 0 auto 32px;
}

/* Chips */
.about__chips {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 32px;
}

.about__chip {
    font-size: 13px;
    font-weight: 500;
    color: rgba(255, 255, 255, .6);
    padding: 8px 18px;
    border-radius: 980px;
    border: 1px solid var(--mid-gray);
    transition: border-color var(--transition), color var(--transition);
}

.about__chip:hover {
    border-color: rgba(255, 255, 255, .2);
    color: rgba(255, 255, 255, .85);
}

/* Expand */
.about__expand {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height .5s ease, opacity .4s ease;
}

.about__expand--open {
    max-height: 400px;
    opacity: 1;
}

.about__text {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-secondary);
    max-width: 580px;
    margin: 0 auto 16px;
}

/* Actions */
.about__actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.about__more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    transition: gap var(--transition);
}

.about__more:hover {
    gap: 10px;
}

.about__more svg {
    transition: transform .3s ease;
}

.about__more--open svg {
    transform: rotate(180deg);
}

.about__link {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-tertiary);
    transition: color var(--transition);
}

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


/* ============================================
   SERVICES
   ============================================ */

.services {
    padding: 100px 40px;
}

.services__inner {
    max-width: 1200px;
    margin: 0 auto;
}

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

/* Grid */
.services__grid {
    display: grid;
    gap: 16px;
}

/* Tile */
.services__tile {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    min-height: 340px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
    transition: transform var(--transition);
}

.services__tile::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0,0,0,.8) 0%, rgba(0,0,0,.25) 50%, rgba(0,0,0,.1) 100%);
    transition: background var(--transition);
}

.services__tile:hover {
    transform: translateY(-4px);
}

.services__tile:hover::before {
    background: linear-gradient(0deg, rgba(0,0,0,.85) 0%, rgba(0,0,0,.35) 50%, rgba(0,0,0,.15) 100%);
}

/* First row — 2 big tiles */
.services__tile:nth-child(1),
.services__tile:nth-child(2) {
    min-height: 400px;
}

.services__grid {
    grid-template-columns: repeat(6, 1fr);
}

.services__tile:nth-child(1) { grid-column: span 3; }
.services__tile:nth-child(2) { grid-column: span 3; }
.services__tile:nth-child(3) { grid-column: span 2; }
.services__tile:nth-child(4) { grid-column: span 2; }
.services__tile:nth-child(5) { grid-column: span 2; }

.services__tile-content {
    position: relative;
    z-index: 1;
    padding: 28px;
    width: 100%;
}

.services__tile-title {
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.02em;
    margin-bottom: 8px;
}

.services__tile-text {
    font-size: 14px;
    line-height: 1.55;
    color: rgba(255,255,255,.65);
    margin-bottom: 14px;
    max-width: 400px;
}

.services__tile-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.services__tile-tags span {
    font-size: 11px;
    font-weight: 500;
    color: rgba(255,255,255,.7);
    padding: 5px 12px;
    border-radius: 980px;
    border: 1px solid rgba(255,255,255,.15);
    background: rgba(255,255,255,.05);
}


/* ============================================
   DIVIDER IMAGE
   ============================================ */

.divider-img {
    width: 100%;
    height: 50vh;
    min-height: 300px;
    max-height: 500px;
    overflow: hidden;
}

.divider-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 40%;
    filter: brightness(.7);
}


/* ============================================
   GALLERY
   ============================================ */

.gallery {
    padding: 100px 40px;
}

.gallery__inner {
    max-width: 1200px;
    margin: 0 auto;
}

.gallery__header {
    text-align: center;
    margin-bottom: 48px;
}

/* Stack accordion — horizontal */
.gallery__stack {
    display: flex;
    flex-direction: row;
    height: 520px;
}

.gallery__stack-item {
    position: relative;
    flex: 1;
    min-width: 60px;
    background-size: cover;
    background-position: center;
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
    transition: flex .6s cubic-bezier(.4, 0, .2, 1);
    margin-right: -14px;
    box-shadow: -4px 0 20px rgba(0, 0, 0, .5);
}

.gallery__stack-item:last-child {
    margin-right: 0;
}

.gallery__stack-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0,0,0,.7) 0%, rgba(0,0,0,.15) 50%, rgba(0,0,0,.05) 100%);
    transition: background .4s ease;
}

.gallery__stack-item:hover {
    flex: 5;
    margin-right: 0;
    z-index: 2;
}

.gallery__stack-item:hover::before {
    background: linear-gradient(0deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.05) 60%, transparent 100%);
}

.gallery__stack-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 28px;
    z-index: 1;
    transform: translateY(10px);
    opacity: 0;
    transition: transform .4s ease .1s, opacity .4s ease .1s;
}

.gallery__stack-item:hover .gallery__stack-content {
    transform: translateY(0);
    opacity: 1;
}

.gallery__stack-car {
    display: block;
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.02em;
    margin-bottom: 4px;
}

.gallery__stack-service {
    font-size: 14px;
    font-weight: 500;
    color: rgba(255,255,255,.6);
}

.gallery__cta {
    text-align: center;
    margin-top: 40px;
}

.gallery__btn {
    display: inline-flex;
    align-items: center;
    font-size: 14px;
    font-weight: 600;
    padding: 14px 32px;
    border-radius: 980px;
    background: #f0f0f0;
    color: #0a0a0a;
    transition: transform var(--transition), box-shadow var(--transition);
}

.gallery__btn:hover {
    transform: scale(1.04);
    box-shadow: 0 8px 24px rgba(0,0,0,.15);
}


/* ============================================
   WHY US
   ============================================ */

.why {
    padding: 100px 40px;
    background: var(--light-gray);
}

.why__inner {
    max-width: 1200px;
    margin: 0 auto;
}

.why__header {
    text-align: center;
    margin-bottom: 60px;
}

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

.why__card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 32px 28px;
    border: 1px solid var(--mid-gray);
    transition: transform var(--transition), box-shadow var(--transition);
}

.why__card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,.2);
}

.why__icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: var(--light-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.why__card-title {
    font-size: 16px;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 8px;
}

.why__card-text {
    font-size: 14px;
    line-height: 1.65;
    color: var(--text-secondary);
}


/* ============================================
   TESTIMONIALS
   ============================================ */

.testimonials {
    padding: 100px 40px;
}

.testimonials__inner {
    max-width: 1200px;
    margin: 0 auto;
}

.testimonials__header {
    text-align: center;
    margin-bottom: 48px;
}

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

.testimonials__card {
    background: var(--light-gray);
    border-radius: var(--radius);
    padding: 32px;
    border: 1px solid var(--mid-gray);
}

.testimonials__stars {
    display: flex;
    gap: 2px;
    color: #f5a623;
    margin-bottom: 16px;
}

.testimonials__text {
    font-size: 15px;
    line-height: 1.65;
    color: var(--text-secondary);
    margin-bottom: 16px;
    font-style: italic;
}

.testimonials__author {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}


/* ============================================
   CTA SECTION
   ============================================ */

.cta-section {
    padding: 100px 40px;
    background: #0a0a0a;
    text-align: center;
}

.cta-section__inner {
    max-width: 600px;
    margin: 0 auto;
}

.cta-section__title {
    font-size: clamp(24px, 3.5vw, 36px);
    font-weight: 700;
    color: #f0f0f0;
    letter-spacing: -0.03em;
    margin-bottom: 16px;
}

.cta-section__text {
    font-size: 16px;
    color: rgba(255,255,255,.45);
    line-height: 1.6;
    margin-bottom: 36px;
}

.cta-section__actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.cta-section__btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    font-weight: 600;
    padding: 16px 32px;
    border-radius: 980px;
    transition: transform var(--transition), box-shadow var(--transition);
}

.cta-section__btn--primary {
    background: #fff;
    color: #0a0a0a;
}

.cta-section__btn--ghost {
    color: rgba(255,255,255,.7);
    border: 1px solid rgba(255,255,255,.15);
}

.cta-section__btn:hover {
    transform: scale(1.04);
}

.cta-section__info p {
    font-size: 13px;
    color: rgba(255,255,255,.2);
}


/* ============================================
   FOOTER
   ============================================ */

.footer {
    padding: 60px 40px 32px;
    background: #050505;
}

.footer__inner {
    max-width: 1200px;
    margin: 0 auto;
}

.footer__top {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,.08);
}

.footer__logo {
    height: 28px;
    filter: brightness(0) invert(1);
    margin-bottom: 16px;
}

.footer__tagline {
    font-size: 14px;
    color: rgba(255,255,255,.4);
    line-height: 1.6;
    max-width: 280px;
}

.footer__links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

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

.footer__col-title {
    font-size: 13px;
    font-weight: 600;
    color: rgba(255,255,255,.6);
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-bottom: 4px;
}

.footer__col a {
    font-size: 14px;
    color: rgba(255,255,255,.35);
    transition: color var(--transition);
}

.footer__col a:hover {
    color: #fff;
}

.footer__address {
    font-size: 14px;
    color: rgba(255,255,255,.35);
    line-height: 1.5;
}

.footer__bottom {
    padding-top: 24px;
    text-align: center;
}

.footer__bottom p {
    font-size: 12px;
    color: rgba(255,255,255,.2);
}


/* ============================================
   MOBILE MENU
   ============================================ */

.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 99;
    background: rgba(0, 0, 0, .85);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 48px;
    opacity: 0;
    visibility: hidden;
    transition: opacity .4s ease, visibility .4s ease;
}

.mobile-menu--open {
    opacity: 1;
    visibility: visible;
}

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

.mobile-menu__nav a {
    font-size: 24px;
    font-weight: 500;
    color: rgba(255, 255, 255, .7);
    letter-spacing: -0.02em;
    transition: color .3s ease, transform .3s ease;
}

.mobile-menu__nav a:hover {
    color: #fff;
    transform: scale(1.05);
}

/* Oferta submenu */
.mobile-menu__group {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.mobile-menu__toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 24px;
    font-weight: 500;
    color: rgba(255, 255, 255, .7);
    letter-spacing: -0.02em;
    font-family: inherit;
}

.mobile-menu__toggle svg {
    transition: transform .3s ease;
    opacity: .5;
}

.mobile-menu__toggle--open svg {
    transform: rotate(180deg);
}

.mobile-menu__sub {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height .4s ease, opacity .3s ease, margin .3s ease;
    margin-top: 0;
}

.mobile-menu__sub--open {
    max-height: 300px;
    opacity: 1;
    margin-top: 16px;
}

.mobile-menu__sub a {
    font-size: 16px;
    font-weight: 400;
    color: rgba(255, 255, 255, .45);
    transition: color .3s ease;
}

.mobile-menu__sub a:hover {
    color: #fff;
}

/* Footer */
.mobile-menu__footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.mobile-menu__cta {
    font-size: 15px;
    font-weight: 600;
    padding: 14px 36px;
    border-radius: 980px;
    background: #fff;
    color: #1D1D1F;
    text-align: center;
}

.mobile-menu__tel {
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, .4);
    letter-spacing: -0.01em;
}


/* ============================================
   RESPONSIVE
   ============================================ */

/* Tablet */
@media (max-width: 1024px) {
    .about__headline {
        font-size: 28px;
    }

    .about__title, .services__title, .gallery__title, .why__title, .testimonials__title {
        font-size: 26px;
    }



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

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

    .header {
        left: 24px;
        right: 24px;
        padding: 0 24px;
    }

    .header__nav {
        gap: 20px;
    }

    .header__nav a {
        font-size: 14px;
    }

    .header__glass-link {
        display: none;
    }

    .header__right::before {
        display: none;
    }

    .mega-menu {
        width: 440px;
    }

    .mega-menu__inner {
        grid-template-columns: 1fr;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .about, .services, .gallery, .why, .testimonials, .cta-section {
        padding: 64px 20px;
    }

    .about__headline {
        font-size: 24px;
    }

    .about__title, .services__title, .gallery__title, .why__title, .testimonials__title {
        font-size: 22px;
    }

    .cta-section__title {
        font-size: 22px;
    }

    .gallery__stack-car {
        font-size: 18px;
    }

    .gallery {
        padding-left: 0;
        padding-right: 0;
        overflow: hidden;
    }

    .gallery__inner {
        max-width: none;
    }

    .gallery__header {
        padding: 0 20px;
    }

    .gallery__cta {
        padding: 0 20px;
    }

    .gallery__stack {
        height: 420px;
        overflow: visible;
        gap: 0;
    }

    .gallery__stack-track {
        display: flex;
        gap: 14px;
        animation: galleryScroll 25s linear infinite;
        width: max-content;
    }

    .gallery__stack-item {
        flex: 0 0 240px;
        min-width: 240px;
        height: 420px;
        margin-right: 0;
        box-shadow: 0 4px 20px rgba(0, 0, 0, .4);
    }

    .gallery__stack-item:hover {
        flex: 0 0 240px;
    }

    .gallery__stack-content {
        opacity: 1;
        transform: translateY(0);
    }

    @keyframes galleryScroll {
        0% { transform: translateX(0); }
        100% { transform: translateX(-50%); }
    }

    .footer {
        padding: 40px 20px 24px;
    }

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

    .about__mosaic-main .about__mosaic-img {
        min-height: 240px;
    }

    .about__mosaic-stack {
        flex-direction: column;
    }

    .about__mosaic-stack .about__mosaic-img {
        height: 200px;
    }

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

    .about__body {
        grid-template-columns: 1fr;
        gap: 0;
    }

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

    .services__tile:nth-child(n) {
        grid-column: span 1 !important;
        min-height: 280px;
    }


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

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

    .cta-section__actions {
        flex-direction: column;
        align-items: center;
    }

    .cta-section__btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

    .footer__links {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }

    .header {
        top: 10px;
        left: 12px;
        right: 12px;
        padding: 0 18px;
        height: 52px;
    }

    .header__logo-img {
        height: 30px;
    }

    .header--scrolled .header__logo-img {
        height: 26px;
    }

    .header__nav {
        display: none;
    }

    .header__right {
        display: none;
    }

    .header__burger {
        display: flex;
        margin-left: auto;
    }


    .intro__logo {
        height: 44px;
    }

    .hero {
        min-height: 100svh;
    }

    .hero__content {
        padding: 0 20px;
        padding-top: 64px;
    }

    .hero__location {
        font-size: 9px;
        padding: 8px 16px;
        letter-spacing: .08em;
    }

    .hero__location svg {
        width: 12px;
        height: 12px;
    }

    .hero__title {
        font-size: 32px;
        line-height: 1.1;
    }

    .hero__sub {
        font-size: 14px;
        margin-bottom: 28px;
    }

    .hero__actions {
        flex-direction: column;
        align-items: center;
        margin-bottom: 36px;
    }

    .hero__btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
        padding: 14px 24px;
        font-size: 14px;
    }

    .hero__stats {
        gap: 16px;
    }

    .hero__stat-number {
        font-size: 18px;
    }

    .hero__stat-label {
        font-size: 10px;
    }

    .hero__stat-divider {
        height: 24px;
    }

    .hero__dots {
        bottom: 76px;
    }

    .hero__scroll {
        display: none;
    }
}

/* Small mobile */
@media (max-width: 380px) {
    .hero__title {
        font-size: 28px;
    }

    .hero__stats {
        gap: 12px;
    }

    .hero__stat-number {
        font-size: 16px;
    }

    .hero__location {
        font-size: 8px;
        padding: 7px 12px;
    }
}
