/* ============================================================
   TMS CARS – Stylesheet
   ============================================================ */

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: #111111;
    color: #ffffff;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    scrollbar-width: none; /* Firefox */
}

body::-webkit-scrollbar {
    display: none; /* Chrome / Safari */
}

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

ul { list-style: none; }
a  { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; }

/* --- Variables --- */
:root {
    --red:       #e30613;
    --dark:      #111111;
    --dark2:     #161616;
    --dark3:     #1a1a1a;
    --dark4:     #1e1e1e;
    --white:     #ffffff;
    --text:      rgba(255,255,255,0.82);
    --text-dim:  rgba(255,255,255,0.52);
    --cw:        1200px;
}

/* --- Container --- */
.container {
    max-width: var(--cw);
    margin: 0 auto;
    padding: 0 48px;
}

/* ============================================================
   LIGHTBOX
   ============================================================ */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
.lightbox[hidden] {
    display: none;
}
.lightbox.open {
    opacity: 1;
    pointer-events: all;
}
.lightbox__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.88);
    cursor: pointer;
}
.lightbox__inner {
    position: relative;
    z-index: 1;
    width: 70vw;
    max-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
}
.lightbox__img,
.lightbox__video {
    max-width: 100%;
    max-height: 85vh;
    border-radius: 6px;
    object-fit: contain;
    display: block;
}
.lightbox__img[hidden],
.lightbox__video[hidden] { display: none; }
.lightbox__close {
    position: absolute;
    top: -48px;
    right: 0;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    opacity: 0.7;
    transition: opacity 0.2s;
    line-height: 0;
}
.lightbox__close:hover { opacity: 1; }
@media (max-width: 640px) {
    .lightbox__inner { width: 94vw; }
    .lightbox__close {
        top: auto;
        bottom: -48px;
        right: 50%;
        transform: translateX(50%);
    }
}

/* ============================================================
   COOKIE CONSENT BAR
   ============================================================ */
.cookie-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(18, 18, 18, 0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 16px 40px;
    transform: translateY(100%);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.cookie-bar.visible {
    transform: translateY(0);
}

.cookie-bar.hidden {
    transform: translateY(110%);
    pointer-events: none;
}

.cookie-bar__text {
    font-size: 12px;
    color: rgba(255,255,255,0.58);
    line-height: 1.65;
    max-width: 680px;
}

.cookie-bar__btn {
    flex-shrink: 0;
    background: var(--red);
    color: #ffffff;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.10em;
    text-transform: uppercase;
    padding: 10px 28px;
    border-radius: 50px;
    border: none;
    font-family: inherit;
    cursor: pointer;
    transition: background 0.2s;
}

.cookie-bar__btn:hover {
    background: #cc050f;
}

@media (max-width: 640px) {
    .cookie-bar {
        flex-direction: column;
        align-items: flex-start;
        padding: 16px 20px;
        gap: 12px;
    }
    .cookie-bar__btn { align-self: flex-end; }
}

/* ============================================================
   SCROLL PROGRESS BAR
   ============================================================ */
.scroll-bar {
    position: fixed;
    top: 0;
    right: 0;
    width: 3px;
    height: 0%;
    z-index: 999;
    background: linear-gradient(to bottom, #111111 0%, var(--red) 100%);
    transition: height 0.08s linear;
    pointer-events: none;
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 900;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom: 1px solid transparent;
    transition: background 0.4s, border-color 0.4s, backdrop-filter 0.4s;
}

.site-header.scrolled {
    background: rgba(8, 8, 8, 0.96);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom-color: rgba(255,255,255,0.04);
}

.header-wrap {
    max-width: 1460px;
    margin: 0 auto;
    padding: 0 40px;
    height: 66px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-logo__img {
    height: 36px;
    width: auto;
    display: block;
    animation: logo-pulse 3.8s ease-in-out infinite;
}

@keyframes logo-pulse {
    0%, 100% { transform: scale(1); }
    50%       { transform: scale(1.07); }
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

.header-nav__link {
    font-size: 11.5px;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.80);
    transition: color 0.2s;
}

.header-nav__link:hover {
    color: #ffffff;
}

.header-nav__burger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 28px;
    height: 28px;
    padding: 2px 0;
}

.header-nav__burger span {
    display: block;
    width: 100%;
    height: 2px;
    background: #ffffff;
    border-radius: 1px;
    transition: transform 0.3s, opacity 0.3s;
}

/* burger open state */
.header-nav__burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.header-nav__burger.open span:nth-child(2) { opacity: 0; }
.header-nav__burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   MOBILE MENU
   ============================================================ */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -320px;
    width: 280px;
    height: 100vh;
    background: var(--dark2);
    z-index: 950;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-left: 1px solid rgba(255,255,255,0.06);
    transition: right 0.35s cubic-bezier(0.4,0,0.2,1);
}

.mobile-menu.open {
    right: 0;
}

.mobile-menu__close {
    position: absolute;
    top: 22px;
    right: 22px;
    font-size: 18px;
    color: rgba(255,255,255,0.5);
    transition: color 0.2s;
}

.mobile-menu__close:hover {
    color: #ffffff;
}

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

.mobile-menu__link {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.75);
    transition: color 0.2s;
}

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

.mobile-menu__backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.55);
    z-index: 940;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s;
}

.mobile-menu__backdrop.open {
    opacity: 1;
    pointer-events: all;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 580px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

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

.hero__bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    animation: hero-expose 5.5s linear both;
}

@keyframes hero-expose {
    0%   { filter: brightness(6.0) saturate(2.4); }
    5%   { filter: brightness(5.8) saturate(2.35); }
    12%  { filter: brightness(5.4) saturate(2.2); }
    20%  { filter: brightness(4.6) saturate(2.0); }
    30%  { filter: brightness(3.6) saturate(1.75); }
    42%  { filter: brightness(2.7) saturate(1.5); }
    55%  { filter: brightness(1.9) saturate(1.3); }
    67%  { filter: brightness(1.4) saturate(1.15); }
    78%  { filter: brightness(1.15) saturate(1.06); }
    88%  { filter: brightness(1.05) saturate(1.02); }
    95%  { filter: brightness(1.01) saturate(1.0); }
    100% { filter: brightness(1.0) saturate(1.0); }
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(0,0,0,0.72) 0%,
        rgba(0,0,0,0.38) 50%,
        rgba(0,0,0,0.52) 100%
    );
    animation: hero-veil 5.5s linear both;
}

@keyframes hero-veil {
    0%   { opacity: 0; }
    12%  { opacity: 0; }
    30%  { opacity: 0.12; }
    50%  { opacity: 0.42; }
    70%  { opacity: 0.75; }
    88%  { opacity: 0.95; }
    100% { opacity: 1; }
}

/* ---- Hero content ---- */
.hero__content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 24px;
}

.hero__logo-wrap {
    margin-bottom: 18px;
    opacity: 0;
    transform: translateY(14px);
    animation: hero-reveal 1.4s cubic-bezier(0.16, 1, 0.3, 1) 4.0s forwards;
}

.hero__logo {
    width: 440px;
    max-width: 80vw;
    height: auto;
    filter: drop-shadow(0 0 40px rgba(255,255,255,0.08));
}

.hero__tagline {
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 0.42em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.78);
    margin-top: 4px;
    opacity: 0;
    animation: hero-fade 1.2s cubic-bezier(0.16, 1, 0.3, 1) 4.7s forwards;
}

/* Scroll indicator */
.hero__scroll {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    opacity: 0;
    animation: hero-fade 1.2s cubic-bezier(0.16, 1, 0.3, 1) 5.3s forwards,
               bounce-down 2.2s ease-in-out 6.5s infinite;
}

@keyframes hero-reveal {
    from { opacity: 0; transform: translateY(14px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes hero-fade {
    from { opacity: 0; }
    to   { opacity: 1; }
}

@keyframes bounce-down {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50%       { transform: translateX(-50%) translateY(7px); }
}

/* --- Shared chevrons --- */
.chevrons-down {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.chev {
    display: block;
    width: 14px;
    height: 14px;
    border-right: 2px solid rgba(255,255,255,0.60);
    border-bottom: 2px solid rgba(255,255,255,0.60);
    transform: rotate(45deg);
    animation: chev-pulse 1.6s ease-in-out infinite;
}

.chev:nth-child(2) {
    animation-delay: 0.3s;
}

@keyframes chev-pulse {
    0%, 100% { opacity: 0.6; }
    50%       { opacity: 0.15; }
}

/* ============================================================
   SECTION SEPARATOR
   ============================================================ */
.sep {
    background: var(--dark);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 36px 0;
}

/* ============================================================
   ABOUT – Kim jesteśmy
   ============================================================ */
.about {
    background: var(--dark);
    min-height: 100vh;
    padding: 0;
    display: flex;
    align-items: stretch;
}

.about__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    width: 100%;
    min-height: 100vh;
    align-items: stretch;
}

.about__text {
    padding: 0 64px 0 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.about__heading {
    font-size: 24px;
    font-weight: 700;
    color: var(--red);
    margin-bottom: 28px;
    display: flex;
    align-items: baseline;
    gap: 10px;
    line-height: 1.3;
}

.raquo {
    color: var(--red);
    font-size: 18px;
    line-height: 1;
    flex-shrink: 0;
    letter-spacing: -0.05em;
}

.about__p {
    font-size: 13.5px;
    color: var(--text);
    line-height: 1.78;
    margin-bottom: 14px;
}

.about__p strong {
    color: var(--white);
    font-weight: 700;
}

.about__label {
    font-size: 13.5px;
    color: var(--text);
    margin-bottom: 8px;
    margin-top: 4px;
}

.about__list {
    margin-bottom: 16px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.about__list li {
    font-size: 13.5px;
    color: var(--text);
    padding-left: 18px;
    position: relative;
    line-height: 1.6;
}

.about__list li::before {
    content: '•';
    position: absolute;
    left: 2px;
    color: var(--text);
    font-size: 14px;
    line-height: 1.6;
}

.about__img-wrap {
    overflow: hidden;
    min-height: 100vh;
}

.about__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    min-height: 100vh;
}

/* ============================================================
   EXPERTISE – Precyzja
   ============================================================ */
.expertise {
    background: var(--dark2);
    padding: 80px 0;
}

.expertise__heading {
    font-size: 29px;
    font-weight: 700;
    color: var(--red);
    text-align: center;
    margin-bottom: 52px;
    letter-spacing: 0.01em;
}

.expertise__inner {
    display: grid;
    grid-template-columns: 55fr 45fr;
    gap: 60px;
    align-items: center;
}

/* 3 images side by side in one row */
.expertise__imgs-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.expertise__img-wrap {
    overflow: hidden;
    border-radius: 10px;
    aspect-ratio: 1 / 1;
}

.expertise__img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.expertise__img-wrap:hover img {
    transform: scale(1.04);
}

.expertise__text p {
    font-size: 13.5px;
    color: var(--text);
    line-height: 1.80;
    margin-bottom: 18px;
}

.expertise__text p:last-child { margin-bottom: 0; }

/* ============================================================
   PPF – Folie PPF  (full-screen, paint-on-hover)
   ============================================================ */
.ppf {
    background: var(--dark);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 70px 0;
    overflow: visible;
}

.ppf__heading {
    font-size: 36px;
    font-weight: 700;
    color: var(--white);
    text-align: center;
    margin-bottom: 20px;
    letter-spacing: -0.01em;
}

.ppf__desc {
    font-size: 13px;
    color: var(--text);
    text-align: center;
    max-width: 720px;
    margin: 0 auto 52px;
    line-height: 1.80;
}

.ppf__sub {
    font-size: 15px;
    font-weight: 600;
    color: var(--red);
    text-align: center;
    margin-bottom: 48px;
    letter-spacing: 0.01em;
}

/* Cars grid */
.ppf__cars {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1000px;
    width: 100%;
    margin: 0 auto;
    overflow: visible;
}

.ppf__car {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: default;
}

/* Canvas */
.ppf__car-canvas {
    position: relative;
    width: 100%;
}


.ppf__car-img--base {
    width: 100%;
    height: auto;
    display: block;
}

/* Color layer ukryty – zachowany w HTML dla kompatybilności, niewidoczny */
.ppf__car-img--color {
    display: none;
}

.ppf__car-label {
    font-size: 13px;
    font-weight: 400;
    color: var(--white);
    text-align: center;
    margin-top: 18px;
    letter-spacing: 0.01em;
}

/* ============================================================
   SERVICES – 3 columns
   ============================================================ */
.services {
    background: var(--dark2);
    padding: 0 0 80px;
}

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

.svc-card {
    background: var(--dark3);
    padding: 44px 34px 44px;
    border-top: 3px solid var(--red);
}

.svc-card + .svc-card {
    border-left: 1px solid rgba(255,255,255,0.06);
}

.svc-card__title {
    font-size: 17px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.svc-card p {
    font-size: 12.5px;
    color: var(--text);
    line-height: 1.78;
    margin-bottom: 12px;
}

.svc-card p:last-child { margin-bottom: 0; }

.svc-card__list {
    margin: 0 0 12px 0;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.svc-card__list li {
    font-size: 12.5px;
    color: var(--text);
    padding-left: 14px;
    position: relative;
    line-height: 1.65;
}

.svc-card__list li::before {
    content: '–';
    position: absolute;
    left: 0;
    color: var(--red);
}

/* ============================================================
   PORTFOLIO – Realizacje (full-viewport scroll)
   ============================================================ */
.portfolio {
    background: var(--dark);
    padding: 80px 0 60px;
    overflow: hidden;
}

.portfolio__heading {
    font-size: 34px;
    font-weight: 700;
    color: var(--red);
    text-align: center;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 40px;
}

/* Marquee wrapper – 70vh tall, full width */
.portfolio__marquee-wrap {
    width: 100%;
    height: 70vh;
    overflow: visible;
    position: relative;
    /* Left/right edge fade */
    -webkit-mask-image: linear-gradient(
        to right,
        transparent 0%,
        black 5%,
        black 95%,
        transparent 100%
    );
    mask-image: linear-gradient(
        to right,
        transparent 0%,
        black 5%,
        black 95%,
        transparent 100%
    );
}

.portfolio__social {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-top: 28px;
}

.portfolio__social-label {
    font-size: 12.5px;
    color: rgba(255,255,255,0.65);
}

.portfolio__social-links {
    display: flex;
    align-items: center;
    gap: 28px;
}

.portfolio__social-link {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12.5px;
    color: var(--text);
    transition: color 0.2s;
}

.portfolio__social-link:hover {
    color: #ffffff;
}

.portfolio__social-ico {
    width: 15px;
    height: 15px;
    flex-shrink: 0;
    opacity: 0.75;
}

.portfolio__marquee-track {
    display: flex;
    gap: 6px;
    height: 100%;
    width: max-content;
    will-change: transform;
    cursor: grab;
    user-select: none;
}

/* Each card fills full height, width proportional */
.portfolio__item {
    flex-shrink: 0;
    position: relative;
    overflow: visible;
    height: 100%;
    width: auto;
    background: #1a1a1a;
    transition: transform 0.4s cubic-bezier(0.34, 1.3, 0.64, 1);
    z-index: 0;
}

.portfolio__item img {
    width: auto;
    height: 100%;
    object-fit: contain;
    display: block;
}

/* Stan aktywny – wciśnięty */
.portfolio__item--pressed {
    transform: scale(1.3);
    z-index: 10;
}

/* Sąsiedzi odsuwają się */
.portfolio__item--push-left  { transform: translateX(-78px); }
.portfolio__item--push-right { transform: translateX(78px); }

.portfolio__item--video {
    cursor: pointer;
}

.portfolio__play {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: rgba(0,0,0,0.22);
    transition: background 0.25s;
}

.portfolio__play svg {
    width: 52px;
    height: 52px;
    filter: drop-shadow(0 2px 12px rgba(0,0,0,0.8));
    transition: transform 0.25s cubic-bezier(0.34,1.3,0.64,1);
}

.portfolio__play-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #fff;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 0.25s, transform 0.25s;
    text-shadow: 0 1px 8px rgba(0,0,0,0.9);
    white-space: nowrap;
}

.portfolio__item--video:hover .portfolio__play {
    background: rgba(0,0,0,0.52);
}

.portfolio__item--video:hover .portfolio__play svg {
    transform: scale(1.15);
}

.portfolio__item--video:hover .portfolio__play-label {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================================
   CONTACT – Kontakt
   ============================================================ */
.contact {
    background: var(--dark);
    padding: 72px 0 80px;
}

.contact__heading {
    font-size: 34px;
    font-weight: 700;
    color: var(--red);
    text-align: center;
    margin-bottom: 52px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.contact__inner {
    display: grid;
    grid-template-columns: 1fr 1px 1fr;
    gap: 0 56px;
    align-items: start;
}

/* vertical divider */
.contact__divider {
    width: 1px;
    background: rgba(255,255,255,0.10);
    align-self: stretch;
}

/* Form */
.cform__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 10px;
}

.cform__input {
    width: 100%;
    background: transparent;
    border: 1px solid rgba(255,255,255,0.22);
    border-radius: 50px;
    padding: 11px 20px;
    font-size: 12.5px;
    color: #ffffff;
    font-family: inherit;
    outline: none;
    transition: border-color 0.2s;
}

.cform__input::placeholder { color: rgba(255,255,255,0.38); }
.cform__input:focus { border-color: rgba(255,255,255,0.50); }

.cform__textarea {
    width: 100%;
    background: transparent;
    border: 1px solid rgba(255,255,255,0.22);
    border-radius: 16px;
    padding: 14px 20px;
    font-size: 12.5px;
    color: #ffffff;
    font-family: inherit;
    outline: none;
    resize: none;
    min-height: 170px;
    margin-bottom: 16px;
    transition: border-color 0.2s;
}

.cform__textarea::placeholder { color: rgba(255,255,255,0.38); }
.cform__textarea:focus { border-color: rgba(255,255,255,0.50); }

/* Toggle switch (RODO) */
.cform__consent {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    cursor: pointer;
}

.cform__honeypot {
    position: absolute;
    left: -9999px;
    opacity: 0;
    pointer-events: none;
    tabindex: -1;
}

.cform__toggle-input {
    display: none;
}

.cform__toggle {
    flex-shrink: 0;
    width: 42px;
    height: 24px;
    background: rgba(255,255,255,0.18);
    border-radius: 50px;
    position: relative;
    transition: background 0.25s;
}

.cform__toggle::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #ffffff;
    transition: transform 0.25s cubic-bezier(0.34, 1.3, 0.64, 1);
}

.cform__toggle-input:checked + .cform__toggle {
    background: var(--red);
}

.cform__toggle-input:checked + .cform__toggle::after {
    transform: translateX(18px);
}

.cform__consent-text {
    font-size: 11px;
    color: var(--text-dim);
    line-height: 1.65;
}

.cform__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    background: var(--red);
    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 15px 40px;
    border-radius: 50px;
    border: none;
    font-family: inherit;
    cursor: pointer;
    transition: background 0.2s, transform 0.15s;
}

.cform__btn:hover {
    background: #cc050f;
    transform: translateY(-1px);
}

.cform__btn:disabled {
    opacity: 0.6;
    cursor: default;
    transform: none;
}

/* Contact info */
.contact__info-col {
    padding-left: 0;
}

.contact__info-title {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 20px;
    letter-spacing: 0.03em;
}

.contact__info-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 22px;
}

.contact__info-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13.5px;
    color: var(--text);
}

.contact__info-ico {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.contact__info-p {
    font-size: 12.5px;
    color: var(--text-dim);
    line-height: 1.75;
    margin-bottom: 14px;
}

.contact__info-p:last-child { margin-bottom: 0; }

.contact__info-link {
    color: var(--text);
    text-decoration: none;
    transition: color 0.2s;
}

.contact__info-link:hover {
    color: var(--white);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.contact__copy-tip {
    font-size: 10px;
    color: var(--red);
    margin-left: 6px;
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
    white-space: nowrap;
}

.contact__copy-tip.visible {
    opacity: 1;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
    background: var(--dark2);
    padding: 32px 48px 18px;
    max-width: 100%;
}

.site-footer__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 24px;
}

.site-footer__nav {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    align-items: center;
}

.site-footer__link {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.60);
    transition: color 0.2s;
}

.site-footer__link:hover {
    color: rgba(255,255,255,0.90);
}

.site-footer__logo img {
    height: 40px;
    padding-bottom: 5px;
    width: auto;
    opacity: 0.92;
    transition: opacity 0.2s;
    display: block;
}

.site-footer__logo:hover img {
    opacity: 1;
}

.site-footer__divider {
    height: 1px;
    background: rgba(255,255,255,0.10);
    margin-bottom: 12px;
}

.site-footer__credit {
    text-align: right;
    font-size: 11px;
    color: rgba(255,255,255,0.28);
    padding-bottom: 4px;
}

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================================
   RESPONSIVE – 1024px
   ============================================================ */
@media (max-width: 1024px) {
    .container { padding: 0 32px; }

    .about__inner { gap: 40px; }

    .expertise__inner { gap: 40px; }

    .ppf__cars { max-width: 100%; gap: 18px; }

    .contact__inner { gap: 40px; }
}

/* ============================================================
   RESPONSIVE – 900px
   ============================================================ */
@media (max-width: 900px) {
    .header-nav__link { display: none; }

    .about__inner {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .about__text {
        padding: 64px 32px;
        order: 1;
    }

    .about__img-wrap {
        min-height: 50vh;
        order: 0;
    }

    .about__img {
        min-height: 50vh;
    }

    .expertise__inner {
        grid-template-columns: 1fr;
        gap: 32px;
    }

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

    .contact__divider {
        display: none;
    }

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

    .svc-card + .svc-card {
        border-left: none;
        border-top: 1px solid rgba(255,255,255,0.06);
    }

    .ppf__cars {
        grid-template-columns: 1fr;
        max-width: 340px;
        gap: 28px;
    }

}

/* ============================================================
   RESPONSIVE – 640px
   ============================================================ */
@media (max-width: 640px) {
    .container { padding: 0 20px; }

    .header-wrap { padding: 0 20px; }

    .hero__logo { width: 260px; }
    .hero__tagline { font-size: 9px; letter-spacing: 0.28em; }

    .about__text { padding: 48px 20px; }
    .about__heading { font-size: 20px; }

    .expertise { padding: 60px 0; }
    .expertise__heading { font-size: 22px; }
    .expertise__inner { grid-template-columns: 1fr; }
    .expertise__imgs-row { grid-template-columns: repeat(3, 1fr); }
    .expertise__img { height: 180px; }

    .ppf { padding: 60px 0 72px; }
    .ppf__heading { font-size: 26px; }

    .portfolio { padding: 60px 0 48px; }
    .portfolio__heading { font-size: 26px; }
    .contact { padding: 60px 0 72px; }
    .contact__heading { font-size: 26px; }
    .cform__row { grid-template-columns: 1fr; gap: 8px; }

    .site-footer {
        position: relative;
        padding: 20px 20px 40px;
    }
    .site-footer__inner {
        flex-direction: row;
        justify-content: center;
        align-items: center;
        padding-bottom: 16px;
        gap: 0;
    }
    .site-footer__nav {
        display: grid;
        grid-template-columns: repeat(5, auto);
        gap: 21px;
        justify-content: center;
        text-align: center;
    }
    .site-footer__link {
        font-size: 8px;
        letter-spacing: 0.08em;
        white-space: nowrap;
    }
    .site-footer__logo {
        position: absolute;
        bottom: 40px;
        right: 20px;
    }
    .site-footer__logo img {
        height: 25px;
        padding-bottom: 0;
    }
    .site-footer__credit {
        text-align: left;
        font-size: 10px;
    }
}
