/* =============================================================
   MyMasterMyk Theme — main.css
   Colors: Blue #006BD6 | Red #EA1A1A | Dark #292929 | Gray bg #EDF1F1
   Fonts:  BOXED (headings) | Roboto (body)
   ============================================================= */

/* ---------- Fonts ---------- */
@font-face {
    font-family: 'BOXED';
    src: url('../fonts/BoxedLight.woff') format('woff');
    font-weight: 300; font-style: normal; font-display: swap;
}
@font-face {
    font-family: 'BOXED';
    src: url('../fonts/BoxedRegular.woff') format('woff');
    font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
    font-family: 'BOXED';
    src: url('../fonts/BoxedMedium.woff') format('woff');
    font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
    font-family: 'BOXED';
    src: url('../fonts/BoxedSemibold.woff') format('woff');
    font-weight: 600; font-style: normal; font-display: swap;
}

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

:root {
    --blue:      #006fd6;
    --blue-dark: #005bbf;
    --red:       #EA1A1A;
    --dark:      #292929;
    --gray-bg:   #edeff1;
    --text:      #242424;
    --white:     #ffffff;
    --font-heading: 'BOXED', Arial, sans-serif;
    --font-body:    'Roboto', Arial, sans-serif;
    --container: 1200px;
    --radius:    12px;
}

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background: var(--white);
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a   { color: inherit; text-decoration: none; }
ul  { list-style: none; }

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

/* ---------- Buttons ---------- */
.btn {
    display: inline-block;
    padding: 14px 36px;
    border-radius: 40px;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    cursor: pointer;
    border: none;
    transition: opacity 0.2s, transform 0.15s;
}
.btn:hover { opacity: 0.88; transform: translateY(-1px); }
.btn--red  { background: var(--red);  color: var(--white); }
.btn--blue { background: var(--blue); color: var(--white); }
.btn--outline {
    background: transparent;
    color: var(--blue);
    border: 2px solid var(--blue);
}

/* ============================================================
   HEADER — only the MENU button, fixed at top-right
   ============================================================ */
.site-header {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 1000;
}

.menu-toggle {
    display: block;
    background: var(--blue);
    color: var(--white);
    border: none;
    padding: 14px 20px 16px;
    border-radius: 0 0 0 10px;
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.12em;
    cursor: pointer;
    white-space: nowrap;
    line-height: 1;
    transition: opacity 0.2s;
}
.menu-toggle:hover { opacity: 0.85; }

/* Nav drawer */
.nav-drawer {
    position: fixed;
    top: 0; right: -320px;
    width: 300px;
    height: 100vh;
    background: var(--dark);
    z-index: 2000;
    padding: 60px 30px 30px;
    transition: right 0.3s ease;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}
.nav-drawer.open { right: 0; }

.nav-close {
    position: absolute;
    top: 16px; right: 16px;
    background: none;
    border: none;
    color: var(--white);
    font-size: 28px;
    cursor: pointer;
    line-height: 1;
}

.nav-drawer ul {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.nav-drawer li span {
    display: block;
    color: var(--red);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin: 16px 0 4px;
}
.nav-drawer a {
    display: block;
    color: var(--white);
    font-size: 15px;
    padding: 6px 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    transition: color 0.2s;
}
.nav-drawer a:hover { color: var(--blue); }

.nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 1999;
}
.nav-overlay.open { display: block; }

.nav-socials {
    margin-top: auto;
    padding-top: 20px;
    display: flex;
    gap: 12px;
}
.nav-socials a img { width: 28px; height: 28px; object-fit: contain; }

/* ============================================================
   HERO (Homepage)
   ============================================================ */
.hero {
    min-height: 100vh;
    background: var(--gray-bg);
    position: relative;
    /* overflow: visible so the phone pill can hang above the section */
    overflow: visible;
}

/* Large blue circle — mostly off-screen top-left, only bottom-right quadrant visible */
.hero-blob {
    position: absolute;
    width: 630px;
    height: 630px;
    border-radius: 500px;
    background: var(--blue);
    top: -380px;
    left: -180px;
    z-index: 0;
    pointer-events: none;
}

/* Logo overlaid on the blue blob */
.hero-logo-wrap {
    position: absolute;
    top: 20px;
    left: 200px;
    width: 165px;
    z-index: 2;
}
.hero-logo-wrap a { display: block; }
.hero-logo-wrap img,
.hero-logo-wrap .custom-logo-link img {
    width: 100%;
    height: auto;
    display: block;
}

/* Phone pill — positioned so only the bottom ~45px is visible at page top */
.hero-phone-pill {
    position: absolute;
    top: -66px;
    left: 42vw;
    width: clamp(300px, 33vw, 440px);
    height: 110px;
    border-radius: 500px;
    background: var(--blue);
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    pointer-events: auto;
}
.pill-phone-ico { flex-shrink: 0; }
.pill-phone {
    font-size: clamp(17px, 1.6vw, 22px);
    font-weight: 700;
    color: var(--white);
    white-space: nowrap;
    text-decoration: none;
}
.pill-phone:hover { color: rgba(255,255,255,0.85); }

.hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    max-width: var(--container);
    margin: 0 auto;
    /* Top padding: pushes content below the logo (at top:20px) + blob visible area */
    padding: 200px 24px 80px;
    position: relative;
    z-index: 1;
}

.hero-content { max-width: 560px; }
.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(28px, 3.2vw, 46px);
    font-weight: 600;
    line-height: 1.15;
    color: var(--dark);
    text-transform: uppercase;
    margin-bottom: 28px;
}
.hero-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 36px;
}
.hero-list li {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 16px;
    color: var(--dark);
}
.hero-list li::before {
    content: '';
    flex-shrink: 0;
    width: 30px; height: 30px;
    background: var(--blue) url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M8.59 16.59L13.17 12 8.59 7.41 10 6l6 6-6 6z"/></svg>') center/20px no-repeat;
    border-radius: 50%;
}
.hero-list li a { color: var(--dark); transition: color 0.2s; }
.hero-list li a:hover { color: var(--blue); }
.hero-cta { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }

.hero-media {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero-car {
    width: 100%;
    max-width: 580px;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.1));
}

/* Video play button (decorative + functional) */
.hero-video-btn {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    z-index: 2;
}
.hero-video-btn img { width: 80px; }
.hero-video-btn span {
    font-size: 12px;
    font-weight: 700;
    color: var(--blue);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* ============================================================
   VIDEO SECTION (homepage)
   ============================================================ */
.section-video {
    background: var(--gray-bg);
    padding: 60px 24px;
}
.video-tabs {
    max-width: var(--container);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 24px;
    align-items: start;
}
.video-embed {
    aspect-ratio: 16/9;
    width: 100%;
    background: #000;
    border-radius: var(--radius);
    overflow: hidden;
}
.video-embed iframe { width: 100%; height: 100%; border: none; }
.video-playlist {
    background: var(--dark);
    border-radius: var(--radius);
    overflow: hidden;
}
.video-playlist-item {
    padding: 14px 20px;
    color: var(--white);
    font-size: 14px;
    cursor: pointer;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    display: flex;
    gap: 10px;
    align-items: center;
    transition: background 0.2s;
}
.video-playlist-item:hover,
.video-playlist-item.active { background: var(--blue); }
.video-playlist-item .num {
    color: var(--red);
    font-weight: 700;
    min-width: 20px;
}

/* ============================================================
   SERVICES GRID
   ============================================================ */
.section-services {
    padding: 80px 24px;
    background: var(--white);
    position: relative;
    overflow: hidden;
}

/* Decorative rings in background */
.section-services::before {
    content: '';
    position: absolute;
    left: -120px; top: 50%;
    transform: translateY(-50%);
    width: 500px; height: 500px;
    border-radius: 50%;
    border: 50px solid rgba(0, 107, 214, 0.04);
    pointer-events: none;
}
.section-services::after {
    content: '';
    position: absolute;
    right: -80px; bottom: 40px;
    width: 400px; height: 400px;
    border-radius: 50%;
    border: 40px solid rgba(0, 107, 214, 0.04);
    pointer-events: none;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(24px, 2.5vw, 36px);
    font-weight: 600;
    text-transform: uppercase;
    color: var(--dark);
    text-align: center;
    margin-bottom: 48px;
}
.section-title--white { color: var(--white); }

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    max-width: var(--container);
    margin: 0 auto;
    position: relative;
    z-index: 1;
}
.service-card {
    background: var(--gray-bg);
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s;
}
.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 36px rgba(0,107,214,0.15);
}
.service-card__img {
    width: 100%;
    height: 210px;
    object-fit: cover;
}
.service-card__body {
    padding: 20px 20px 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}
.service-card__title {
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--dark);
    line-height: 1.35;
}

/* ============================================================
   ADVANTAGES (Blue section — alternating pill + car rows)
   ============================================================ */
.section-advantages {
    background: var(--blue);
    padding: 60px 0 50px;
    overflow: hidden;
}
.section-advantages .section-title {
    margin-bottom: 44px;
}

/* Each advantage row: 2-column — pill side + car side */
.adv-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    max-width: 1280px;
    margin: 0 auto;
    padding: 12px 60px;
    gap: 24px;
    min-height: 170px;
}

.adv-col--pill {
    display: flex;
    align-items: center;
}

/* White pill bubble */
.adv-pill {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 60px;
    padding: 26px 32px;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    width: 100%;
    max-width: 560px;
}

/* pill on right side: push it to the right */
.adv-row--car-left .adv-col--pill { justify-content: flex-start; }
/* pill on left side: default */
.adv-row--pill-left .adv-col--pill { justify-content: flex-end; }
.adv-row--pill-left .adv-pill { margin-left: auto; }

.adv-num {
    font-family: var(--font-heading);
    font-size: 72px;
    font-weight: 700;
    color: rgba(0, 107, 214, 0.12);
    line-height: 0.9;
    flex-shrink: 0;
    min-width: 55px;
    text-align: center;
    margin-top: -4px;
}
.adv-content h3 {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--dark);
    margin-bottom: 8px;
    line-height: 1.2;
}
.adv-content p {
    font-size: 14px;
    color: #555;
    line-height: 1.6;
}

.adv-col--car {
    display: flex;
    align-items: center;
    justify-content: center;
}
.adv-col--car img {
    max-width: 380px;
    max-height: 210px;
    width: 100%;
    object-fit: contain;
    filter: drop-shadow(0 10px 24px rgba(0,0,0,0.25));
}

/* ============================================================
   НАШІ РОБОТИ (Works / Portfolio)
   ============================================================ */
.section-works {
    padding: 80px 0;
    background: var(--white);
    overflow: hidden;
}
.section-works .section-title {
    padding: 0 24px;
}

.works-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

.works-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    height: 320px;
    display: block;
    text-decoration: none;
    transition: transform 0.2s;
}
.works-card:hover { transform: translateY(-4px); }

.works-card__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Blue diagonal overlay on the left */
.works-card__overlay {
    position: absolute;
    inset: 0;
    /* Diagonal clip: blue covers left ~55%, fades diagonally to the right */
    background: linear-gradient(
        105deg,
        var(--blue) 0%,
        var(--blue) 52%,
        rgba(0, 107, 214, 0.6) 62%,
        transparent 72%
    );
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px 28px;
    z-index: 2;
}

.works-card__logo {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 56px;
    height: auto;
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

.works-card__title {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--white);
    line-height: 1.3;
    margin-bottom: 14px;
    max-width: 220px;
}

.works-card__btn {
    display: inline-block;
    padding: 10px 24px;
    background: var(--red);
    color: var(--white);
    border-radius: 30px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    transition: opacity 0.2s;
    align-self: flex-start;
}
.works-card__btn:hover { opacity: 0.88; }

/* ============================================================
   CTA BANNER
   ============================================================ */
.section-cta {
    background: var(--blue);
    padding: 70px 24px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
/* Brand logos watermark */
.section-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100'%3E%3Ccircle cx='50' cy='50' r='30' fill='none' stroke='rgba(255,255,255,0.06)' stroke-width='2'/%3E%3C/svg%3E") repeat;
    pointer-events: none;
}
.section-cta .container { position: relative; z-index: 1; }

.cta-title {
    font-family: var(--font-heading);
    font-size: clamp(22px, 2.5vw, 34px);
    font-weight: 600;
    color: var(--white);
    text-transform: uppercase;
    margin-bottom: 16px;
    line-height: 1.2;
}
.cta-subtitle {
    color: rgba(255,255,255,0.85);
    margin-bottom: 12px;
    font-size: 16px;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}
.cta-points {
    list-style: none;
    color: rgba(255,255,255,0.9);
    font-size: 15px;
    margin-bottom: 36px;
    display: inline-flex;
    flex-direction: column;
    gap: 6px;
    text-align: left;
}
.cta-points li::before {
    content: '— ';
    color: rgba(255,255,255,0.7);
}
.cta-phones {
    display: flex;
    gap: 24px;
    justify-content: center;
    margin-bottom: 28px;
    flex-wrap: wrap;
}
.cta-phone {
    font-size: 24px;
    font-weight: 700;
    color: var(--white);
}
.cta-phone:hover { color: rgba(255,255,255,0.8); }

/* Messenger buttons */
.cta-messengers {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-top: 28px;
}
.cta-messengers a {
    width: 54px; height: 54px;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s;
}
.cta-messengers a:hover { transform: scale(1.1); }
.cta-messengers a img { width: 54px; height: 54px; object-fit: cover; }

/* ============================================================
   SERVICE PAGE HERO
   ============================================================ */
.service-hero {
    min-height: 70vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    background: var(--gray-bg);
    padding-top: 0;
}
.service-hero__content {
    padding: 200px 24px 60px calc((100vw - var(--container)) / 2 + 24px);
}
.service-hero__tag {
    display: inline-block;
    background: var(--blue);
    color: var(--white);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 4px 14px;
    border-radius: 20px;
    margin-bottom: 16px;
}
.service-hero__title {
    font-family: var(--font-heading);
    font-size: clamp(26px, 3vw, 44px);
    font-weight: 600;
    text-transform: uppercase;
    color: var(--dark);
    line-height: 1.15;
    margin-bottom: 16px;
}
.service-hero__subtitle {
    font-size: 18px;
    color: #555;
    margin-bottom: 32px;
    max-width: 480px;
}
.service-hero__img {
    height: 70vh;
    min-height: 400px;
    object-fit: cover;
    width: 100%;
}

/* ============================================================
   SERVICE SECTIONS (Flexible Content blocks)
   ============================================================ */
.section-text { padding: 80px 24px; }
.section-text--gray { background: var(--gray-bg); }
.text-block {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}
.text-block h2 {
    font-family: var(--font-heading);
    font-size: clamp(20px, 2vw, 30px);
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 16px;
}
.text-block h3 {
    font-size: 18px;
    font-weight: 500;
    color: #555;
    margin-bottom: 24px;
}
.text-block p { font-size: 16px; line-height: 1.7; color: #444; }

.section-features { padding: 80px 24px; }
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 28px;
    max-width: var(--container);
    margin: 0 auto;
}
.feature-item {
    background: var(--gray-bg);
    border-radius: var(--radius);
    padding: 28px 24px;
    text-align: center;
    transition: box-shadow 0.2s;
}
.feature-item:hover { box-shadow: 0 6px 24px rgba(0,107,214,0.12); }
.feature-item__icon { width: 54px; margin: 0 auto 16px; }
.feature-item__title {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--dark);
    margin-bottom: 8px;
}
.feature-item__text { font-size: 14px; color: #666; line-height: 1.6; }

.section-steps { padding: 80px 24px; background: var(--white); }
.steps-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
    max-width: var(--container);
    margin: 0 auto;
}
.step-item {
    background: var(--gray-bg);
    border-radius: var(--radius);
    padding: 28px 24px;
    position: relative;
}
.step-item::before {
    content: attr(data-num);
    position: absolute;
    top: 16px; right: 20px;
    font-family: var(--font-heading);
    font-size: 48px;
    font-weight: 700;
    color: rgba(0,107,214,0.12);
    line-height: 1;
}
.step-item__title {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--blue);
    margin-bottom: 8px;
}
.step-item__text { font-size: 14px; color: #555; line-height: 1.6; }

.section-text-image { padding: 80px 24px; }
.text-image-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    max-width: var(--container);
    margin: 0 auto;
    align-items: center;
}
.text-image-inner.reversed { direction: rtl; }
.text-image-inner.reversed > * { direction: ltr; }
.text-image__img {
    border-radius: var(--radius);
    overflow: hidden;
}
.text-image__img img { width: 100%; height: 380px; object-fit: cover; }
.text-image__content h2 {
    font-family: var(--font-heading);
    font-size: clamp(20px, 2vw, 28px);
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 16px;
}
.text-image__content p { color: #555; line-height: 1.7; margin-bottom: 24px; }

.checklist {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 20px 0;
}
.checklist li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    font-size: 15px;
    color: #444;
}
.checklist li::before {
    content: '✓';
    flex-shrink: 0;
    width: 22px; height: 22px;
    background: var(--blue);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    margin-top: 2px;
}

/* ============================================================
   CONTACT FORM (Popup Modal)
   ============================================================ */
.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 3000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.modal-overlay.open { display: flex; }
.modal-box {
    background: var(--white);
    border-radius: var(--radius);
    padding: 48px 40px;
    max-width: 480px;
    width: 100%;
    position: relative;
    animation: modalIn 0.25s ease;
}
@keyframes modalIn {
    from { transform: scale(0.9); opacity: 0; }
    to   { transform: scale(1);   opacity: 1; }
}
.modal-close {
    position: absolute;
    top: 14px; right: 18px;
    background: none;
    border: none;
    font-size: 26px;
    cursor: pointer;
    color: #999;
    line-height: 1;
}
.modal-title {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 8px;
}
.modal-subtitle { font-size: 14px; color: #777; margin-bottom: 28px; }
.form-group { margin-bottom: 16px; }
.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1.5px solid #ddd;
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 15px;
    transition: border-color 0.2s;
    outline: none;
}
.form-group input:focus,
.form-group textarea:focus { border-color: var(--blue); }
.form-group textarea { min-height: 100px; resize: vertical; }
.form-submit {
    width: 100%;
    padding: 16px;
    background: var(--red);
    color: var(--white);
    border: none;
    border-radius: 40px;
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    cursor: pointer;
    transition: opacity 0.2s;
}
.form-submit:hover { opacity: 0.88; }
.form-note { font-size: 12px; color: #aaa; text-align: center; margin-top: 10px; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
    background: var(--dark);
    color: rgba(255,255,255,0.7);
    padding: 60px 24px 30px;
}
.footer-inner {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
    max-width: var(--container);
    margin: 0 auto 40px;
}
.footer-logo img { width: 100px; margin-bottom: 16px; }
.footer-desc { font-size: 14px; line-height: 1.7; }
.footer-col h4 {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--white);
    margin-bottom: 16px;
    letter-spacing: 0.1em;
}
.footer-col ul { display: flex; flex-direction: column; gap: 8px; }
.footer-col a {
    font-size: 14px;
    color: rgba(255,255,255,0.65);
    transition: color 0.2s;
}
.footer-col a:hover { color: var(--white); }
.footer-contacts { display: flex; flex-direction: column; gap: 10px; }
.footer-phone {
    font-size: 18px;
    font-weight: 700;
    color: var(--white);
}
.footer-address { font-size: 14px; }
.footer-socials {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}
.footer-socials a img { width: 32px; height: 32px; object-fit: contain; filter: brightness(0) invert(1); opacity: 0.7; transition: opacity 0.2s; }
.footer-socials a:hover img { opacity: 1; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 24px;
    text-align: center;
    font-size: 13px;
    color: rgba(255,255,255,0.4);
    max-width: var(--container);
    margin: 0 auto;
}

/* ============================================================
   REVIEWS
   ============================================================ */
.section-reviews {
    padding: 80px 24px;
    background: var(--gray-bg);
}
.reviews-swiper { max-width: var(--container); margin: 0 auto; }
.review-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 28px 24px;
}
.review-author {
    font-weight: 700;
    font-size: 15px;
    margin-bottom: 8px;
}
.review-text { font-size: 14px; color: #555; line-height: 1.7; }

/* ============================================================
   GALLERY (service page blocks)
   ============================================================ */
.section-gallery { padding: 80px 24px; background: var(--white); }
.gallery-tabs {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-bottom: 32px;
    flex-wrap: wrap;
}
.gallery-tab {
    padding: 8px 20px;
    border-radius: 30px;
    background: var(--gray-bg);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.2s;
}
.gallery-tab.active,
.gallery-tab:hover { background: var(--blue); color: var(--white); border-color: var(--blue); }
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    max-width: var(--container);
    margin: 0 auto;
}
.gallery-item {
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 4/3;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.gallery-item:hover img { transform: scale(1.04); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
    .adv-row { padding: 12px 30px; gap: 16px; }
    .adv-pill { padding: 22px 24px; }
    .adv-num { font-size: 56px; min-width: 45px; }
    .adv-content h3 { font-size: 16px; }
}

@media (max-width: 960px) {
    .hero-inner,
    .service-hero,
    .text-image-inner,
    .video-tabs { grid-template-columns: 1fr; }

    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-inner  { grid-template-columns: 1fr 1fr; }
    .works-grid    { grid-template-columns: 1fr; }

    .service-hero__img { height: 45vw; }
    .service-hero__content {
        padding: 200px 24px 40px;
    }
    .hero-media { display: none; }

    /* Advantages: stack each row vertically */
    .adv-row {
        grid-template-columns: 1fr;
        padding: 12px 24px;
        min-height: auto;
    }
    .adv-col--car { display: none; }
    .adv-row--pill-left .adv-pill { margin-left: 0; }
    .adv-pill { max-width: 100%; }
}

@media (max-width: 768px) {
    .hero-blob { width: 400px; height: 400px; top: -240px; left: -120px; }
    .hero-logo-wrap { top: 14px; left: 130px; width: 120px; }
    .hero-phone-pill { top: -50px; left: 38vw; height: 88px; }
    .hero-inner { padding: 160px 16px 60px; }
}

@media (max-width: 640px) {
    .services-grid,
    .features-grid,
    .gallery-grid,
    .steps-list,
    .footer-inner { grid-template-columns: 1fr; }

    .cta-phones { flex-direction: column; gap: 8px; }
    .cta-messengers { gap: 12px; }

    .works-grid { grid-template-columns: 1fr; }
    .works-card { height: 260px; }
}
