/* ========================================
   Sadaf — Design System
   ======================================== */

:root {
    --brand-red: #c1004e;
    --brand-red-hover: #9a003e;
    --bg-soft: #ffffff;
    --accent: #c1004e;
    --accent-hover: #9a003e;
    --text-dark: #000000;
    --text-muted: #333333;
    --white: #FFFFFF;
    --radius-sm: 16px;
    --radius-md: 24px;
    --radius-lg: 32px;
    --shadow: 0 4px 24px rgba(193, 0, 78, 0.08);
    --shadow-hover: 0 12px 40px rgba(193, 0, 78, 0.15);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 1.125rem;
    background: var(--bg-soft);
    color: var(--text-dark);
    line-height: 1.7;
    font-weight: 400;
    overflow-x: hidden;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Typography */
h1, h2, h3, h4, .logo {
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-weight: 600;
}

h1 { font-size: clamp(3.5rem, 7vw, 5.5rem); line-height: 1.15; }
h2 { font-size: clamp(2.5rem, 5vw, 4rem); }
h3 { font-size: 1.6rem; }
h4 { font-size: 1.4rem; }

em {
    font-style: italic;
    color: var(--accent);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    border-radius: var(--radius-md);
    font-family: inherit;
    font-size: 1.1rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
}

.header-actions {
    display: flex;
    align-items: center;
    align-self: center;
    gap: 14px;
    flex-shrink: 0;
    margin-left: auto;
}

.header-contacts {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-end;
    gap: 0;
    text-align: left;
    max-width: none;
}

.header-contacts > p + p {
    padding-left: 12px;
    margin-left: 12px;
    border-left: 1px solid rgba(193, 0, 78, 0.22);
}

.header-contacts-address {
    margin: 0;
    font-size: 0.88rem;
    line-height: 1.3;
    color: var(--text-muted);
}

.header-contacts-address a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
}

.header-contacts-address a:hover {
    color: var(--accent);
}

.header-contacts-line {
    margin: 0;
    font-size: 0.88rem;
    line-height: 1.3;
}

.header-contacts-line a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 500;
    white-space: nowrap;
}

.header-contacts-line a:hover {
    text-decoration: underline;
}

.btn-primary {
    background: var(--accent);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn-outline {
    background: transparent;
    color: var(--accent);
    border-color: var(--accent);
}

.btn-outline:hover {
    background: rgba(193, 0, 78, 0.08);
}

.btn-lg {
    padding: 20px 40px;
    font-size: 1.2rem;
}

.btn-block {
    width: 100%;
}

/* Tag / Label */
.tag {
    display: inline-block;
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    color: var(--accent);
    text-transform: uppercase;
    margin-bottom: 16px;
}

/* ========================================
   Booking flash (после отправки формы)
   ======================================== */
.booking-flash {
    max-width: 1400px;
    margin: 0 auto;
    padding: 14px 40px;
    font-size: 0.95rem;
    font-weight: 500;
    text-align: center;
}

.booking-flash--success {
    background: rgba(34, 197, 94, 0.12);
    color: #166534;
    border-bottom: 1px solid rgba(34, 197, 94, 0.25);
}

.booking-flash--error {
    background: rgba(239, 68, 68, 0.1);
    color: #991b1b;
    border-bottom: 1px solid rgba(239, 68, 68, 0.2);
}

@media (max-width: 768px) {
    .booking-flash {
        padding: 12px 20px;
    }
}

/* ========================================
   Header
   ======================================== */
.header {
    position: static;
    padding: 24px 0;
    background: var(--bg-soft);
    border-bottom: 1px solid rgba(193, 0, 78, 0.08);
}

.header-inner {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px 20px;
}

.logo {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.logo-image {
    display: block;
    height: 64px;
    width: auto;
}

.nav {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-end;
    flex: 1 1 auto;
    gap: 32px;
}

.nav a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    line-height: 1.25;
    transition: color 0.2s;
}

.nav a:hover,
.nav a.active {
    color: var(--accent);
}

.lang-dropdown {
    position: relative;
    flex-shrink: 0;
    z-index: 1;
}

.lang-dropdown.is-open {
    z-index: 400;
}

.lang-dropdown-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 2px solid rgba(193, 0, 78, 0.35);
    border-radius: var(--radius-md);
    background: var(--white);
    color: var(--text-muted);
    cursor: pointer;
    transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.lang-dropdown-toggle:hover,
.lang-dropdown.is-open .lang-dropdown-toggle {
    color: var(--accent);
    border-color: var(--accent);
    background: rgba(193, 0, 78, 0.06);
}

.lang-dropdown-icon {
    width: 22px;
    height: 22px;
}

.lang-dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 200px;
    padding: 10px;
    background: #ffffff;
    border-radius: var(--radius-md);
    border: 1px solid rgba(107, 91, 122, 0.22);
    box-shadow:
        0 4px 6px rgba(26, 11, 46, 0.06),
        0 16px 40px rgba(26, 11, 46, 0.12);
    z-index: 500;
    isolation: isolate;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.lang-dropdown-menu:not([hidden]) {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.lang-dropdown-item {
    display: block;
    padding: 12px 16px;
    font-size: 1.05rem;
    font-weight: 600;
    line-height: 1.35;
    color: var(--text-dark);
    text-decoration: none;
    border-radius: 12px;
    transition: background 0.15s, color 0.15s;
    text-rendering: optimizeLegibility;
}

.lang-dropdown-item:hover,
.lang-dropdown-item:focus-visible {
    background: rgba(193, 0, 78, 0.14);
    color: var(--accent-hover);
    outline: none;
}

.lang-dropdown-item:focus-visible {
    box-shadow: 0 0 0 2px var(--white), 0 0 0 4px var(--accent);
}

.lang-dropdown-item.is-active {
    color: var(--accent);
    font-weight: 700;
    background: rgba(193, 0, 78, 0.1);
    box-shadow: inset 0 0 0 2px rgba(193, 0, 78, 0.35);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-dark);
    transition: transform 0.3s, opacity 0.3s;
}

.nav-drawer-backdrop {
    display: none;
}

/* ========================================
   Hero / banner (editorial — stitch-style, brand colors)
   ======================================== */
.hero--banner {
    position: relative;
    min-height: 0;
    padding: clamp(48px, 7vw, 80px) 0 clamp(28px, 4vw, 56px);
    background: #f8f9fa;
    overflow: visible;
    isolation: isolate;
}

.hero--banner::before {
    content: "";
    position: absolute;
    top: 12%;
    right: -8%;
    width: min(420px, 55vw);
    height: min(420px, 55vw);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(193, 0, 78, 0.06) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.hero-inner {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(28px, 5vw, 48px);
    align-items: center;
    z-index: 1;
}

.hero-copy {
    position: relative;
    z-index: 2;
    max-width: 36rem;
    animation: heroFadeIn 0.75s ease both;
}

@keyframes heroFadeIn {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-tag {
    display: block;
    margin: 0 0 0.65rem;
    font-family: 'Manrope', 'Roboto', sans-serif;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #c1004e;
}

.hero--banner .hero-title {
    margin: 0 0 1.1rem;
    font-family: 'Noto Serif', Georgia, serif;
    font-size: clamp(2.1rem, 4.5vw, 3.35rem);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -0.03em;
    color: var(--text-dark);
}

.hero--banner .hero-title em {
    font-style: italic;
    color: #c1004e;
}

.hero--banner .hero-text {
    margin: 0 0 1.5rem;
    font-family: 'Manrope', 'Roboto', sans-serif;
    font-size: 1.05rem;
    line-height: 1.65;
    color: var(--text-muted);
    max-width: 32rem;
}

.hero-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

@media (min-width: 640px) {
    .hero-actions {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
    }
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    font-family: 'Manrope', 'Roboto', sans-serif;
    font-size: 1.0625rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 0.75rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.hero-btn--primary {
    background: linear-gradient(135deg, #c1004e 0%, #9a003e 100%);
    color: #ffffff;
    box-shadow: 0 10px 30px rgba(193, 0, 78, 0.28);
}

.hero-btn--primary:hover {
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 14px 36px rgba(193, 0, 78, 0.35);
}

.hero-btn--secondary {
    background: #e7e8e9;
    color: #c1004e;
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.hero-btn--secondary:hover {
    background: #dfe1e3;
    color: #9a003e;
}

.hero-media {
    position: relative;
    z-index: 1;
    justify-self: end;
    width: 100%;
    max-width: 673px;
}

.hero-image-frame {
    aspect-ratio: 4 / 3;
    max-height: min(530px, 64vh);
    border-radius: 1.25rem;
    overflow: hidden;
    box-shadow:
        0 25px 50px -12px rgba(0, 0, 0, 0.18),
        0 0 0 1px rgba(0, 0, 0, 0.04);
    transform: translateX(0);
}

@media (min-width: 768px) {
    .hero-image-frame {
        transform: translateX(clamp(8px, 3vw, 48px));
    }

    .hero-media {
        max-width: min(673px, 60vw);
    }
}

.hero-main-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-float-card {
    position: absolute;
    left: clamp(-8px, -1vw, -20px);
    bottom: clamp(-12px, -2vw, -20px);
    max-width: 16rem;
    padding: 1rem 1.15rem;
    background: #ffffff;
    border-radius: 0.75rem;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 20px 40px rgba(25, 28, 29, 0.12);
}

.hero-float-card__head {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.65rem;
}

.hero-float-card__icon {
    flex-shrink: 0;
    width: 2.5rem;
    height: 2.5rem;
    color: #c1004e;
}

.hero-float-card__icon svg {
    width: 100%;
    height: 100%;
}

.hero-float-card__title {
    font-family: 'Noto Serif', Georgia, serif;
    font-size: 1.125rem;
    font-weight: 700;
    line-height: 1.25;
    color: var(--text-dark);
}

.hero-float-card__text {
    margin: 0;
    font-family: 'Manrope', 'Roboto', sans-serif;
    font-size: 0.875rem;
    line-height: 1.55;
    color: var(--text-muted);
}

/* ========================================
   Services (as cards grid)
   ======================================== */
.services-section {
    --services-primary: var(--accent);
    --services-primary-hover: var(--accent-hover);
    padding: 76px 0 84px;
    background: #ffffff;
}

.section-title {
    margin-bottom: 20px;
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.services-head {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 34px;
    text-align: center;
}

.services-head .section-title {
    margin-bottom: 10px;
    letter-spacing: -0.01em;
    font-size: clamp(2rem, 4vw, 3.5rem);
    line-height: 1.15;
    color: var(--text-dark);
}

.services-intro {
    max-width: 680px;
    color: var(--text-muted);
    line-height: 1.7;
    font-size: 1.02rem;
    margin: 0 auto;
}

.services-view-all {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 11px 20px;
    border-radius: 999px;
    border: 1px solid rgba(0, 0, 0, 0.12);
    background: #ffffff;
    color: var(--text-dark);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    white-space: nowrap;
    transition: color 0.2s, border-color 0.2s, background 0.2s, transform 0.2s, box-shadow 0.2s;
}

.services-view-all:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 10px 22px rgba(193, 0, 78, 0.28);
}

.services-grid {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - (4 * 16px)) / 5);
    gap: 16px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 6px 4px 10px;
}

.services-grid::-webkit-scrollbar {
    display: none;
}

.services-slider {
    display: block;
}

.services-slider-btn {
    display: none;
}

.service-card {
    min-width: 0;
    display: flex;
    flex-direction: column;
    height: 100%;
    border: none;
    border-radius: 18px;
    padding: 22px 18px 16px;
    box-shadow: none;
    position: relative;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card:nth-child(4n + 1) {
    background: #eef6ff;
}

.service-card:nth-child(4n + 2) {
    background: #f9eef2;
}

.service-card:nth-child(4n + 3) {
    background: #edf7ef;
}

.service-card:nth-child(4n + 4) {
    background: #f4eef8;
}

.service-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 30px rgba(15, 19, 25, 0.08);
}

.service-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.6);
    color: var(--services-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    box-shadow: inset 0 0 0 1px rgba(193, 0, 78, 0.2);
}

.service-icon-image {
    width: 23px;
    height: 23px;
    display: block;
}

.service-title {
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-weight: 600;
    font-size: 1.28rem;
    margin-bottom: 10px;
    line-height: 1.25;
    color: var(--text-dark);
}

.service-text {
    color: #565f6d;
    font-size: 0.98rem;
    line-height: 1.55;
    margin-bottom: 14px;
    flex: 1;
    max-width: 31ch;
}

.service-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    padding: 0;
    background: transparent;
    color: var(--text-dark);
    border-radius: 8px;
    text-decoration: none;
    font-size: 0;
    font-weight: 400;
    transition: transform 0.2s, color 0.2s, background 0.2s;
    align-self: flex-end;
    margin-top: 8px;
}

.service-btn:hover {
    color: var(--services-primary);
    background: rgba(255, 255, 255, 0.62);
    transform: translateY(-1px);
}

.service-btn::after {
    content: "\2197";
    font-size: 1.3rem;
    line-height: 1;
}

.services-footer {
    display: flex;
    justify-content: flex-end;
    margin-top: 18px;
}

/* ========================================
   About (Home)
   ======================================== */
.about-home {
    padding: 56px 0 64px;
    background: var(--white);
}

.about-home-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.9fr) minmax(0, 0.55fr);
    gap: 26px;
    align-items: center;
}

.about-home-media-wrap {
    position: relative;
    padding: 18px 12px 12px;
}

.about-home-media {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.12);
    transform: rotate(-8deg);
    transform-origin: 62% 40%;
}

.about-home-image {
    width: 100%;
    max-height: 470px;
    object-fit: cover;
    display: block;
}

.about-home-content {
    max-width: 480px;
}

.about-home-eyebrow {
    margin: 0 0 14px;
    color: var(--accent);
    font-size: 1.2rem;
    font-weight: 600;
}

.about-home-title {
    margin: 0 0 18px;
    color: var(--text-dark);
    font-size: clamp(2.1rem, 4vw, 4rem);
    line-height: 1.12;
    letter-spacing: -0.02em;
}

.about-home-text {
    color: var(--text-muted);
    line-height: 1.62;
    margin-bottom: 24px;
    font-size: 1.16rem;
}

.about-home-btn {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-hover) 100%);
    border: none;
    color: #ffffff;
    border-radius: 9px;
    padding: 14px 26px;
    box-shadow: 0 10px 22px rgba(193, 0, 78, 0.28);
}

.about-home-btn:hover {
    background: linear-gradient(135deg, var(--accent-hover) 0%, #7a0030 100%);
    color: #ffffff;
}

.about-home-side {
    position: relative;
    justify-self: end;
    align-self: end;
}

.about-home-side-image {
    display: block;
    width: min(230px, 100%);
    border-radius: 26px;
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.12);
}

.about-home-decor {
    position: absolute;
    pointer-events: none;
}

.about-home-decor--left {
    top: -8px;
    left: -8px;
    width: 42px;
    height: 42px;
}

.about-home-decor--left::before,
.about-home-decor--left::after {
    content: "";
    position: absolute;
    background: rgba(255, 97, 97, 0.35);
    border-radius: 999px;
}

.about-home-decor--left::before {
    width: 24px;
    height: 3px;
    transform: rotate(40deg);
    top: 7px;
    left: 0;
}

.about-home-decor--left::after {
    width: 16px;
    height: 3px;
    transform: rotate(-28deg);
    top: 18px;
    left: 14px;
}

.about-home-decor--right {
    top: -30px;
    right: -26px;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(193, 0, 78, 0.12);
}

.about-home-decor--right::after {
    content: "";
    position: absolute;
    inset: 22px;
    border: 2px solid rgba(193, 0, 78, 0.35);
    border-top-color: transparent;
    border-left-color: transparent;
    border-radius: 50%;
    transform: rotate(20deg);
}

/* ========================================
   Mission Section
   ======================================== */
.mission {
    padding: 20px 0;
}

.mission-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    align-items: center;
}

.mission-image-wrap {
    position: relative;
}

.mission-frame {
    position: absolute;
    top: 24px;
    left: 24px;
    right: -24px;
    bottom: -24px;
    border: 3px solid var(--accent);
    border-radius: var(--radius-lg);
    opacity: 0.4;
    z-index: 0;
}

.mission-image {
    position: relative;
    width: 100%;
    max-width: 450px;
    height: auto;
    border-radius: var(--radius-lg);
    object-fit: cover;
    z-index: 1;
}

.mission-content .tag {
    margin-bottom: 16px;
}

.mission-title {
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.3;
    margin-bottom: 20px;
}

.mission-stats {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.stat-number {
    display: block;
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 3.25rem;
    font-weight: 600;
    color: var(--accent);
}

.stat-label {
    font-size: 0.9rem;
    letter-spacing: 0.15em;
    color: var(--text-muted);
}

.btn-video {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--accent);
    font-weight: 500;
    text-decoration: none;
    transition: gap 0.2s;
}

.btn-video:hover {
    gap: 16px;
}

.play-icon {
    width: 48px;
    height: 48px;
    background: var(--accent);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    padding-left: 4px;
}

/* ========================================
   Team Section
   ======================================== */
.team {
    padding: 20px 0;
}

.section-title.centered {
    text-align: center;
    margin-bottom: 20px;
    color: var(--text-dark);
}

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

.team-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
}

.team-card-link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.team-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

/* ========================================
   Team detail
   ======================================== */
.team-detail {
    padding: 20px 0 0;
}

.team-detail-inner {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 20px;
    align-items: start;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    padding: 20px;
}

.team-detail-media {
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.team-detail-image {
    width: 100%;
    height: 100%;
    max-height: 520px;
    object-fit: cover;
    display: block;
}

.team-detail-name {
    margin: 0 0 20px;
}

.team-detail-role {
    color: var(--accent);
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.85rem;
    margin-bottom: 22px;
}

.team-detail-block + .team-detail-block {
    margin-top: 18px;
}

.team-detail-label {
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.team-detail-text {
    color: var(--text-dark);
    line-height: 1.7;
}

.team-detail-list {
    margin: 0;
    padding-left: 18px;
    color: var(--text-dark);
    line-height: 1.75;
}

.team-card img {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
}

.team-card h4 {
    padding: 20px 20px 4px;
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-dark);
}

.team-role {
    display: block;
    padding: 0 24px 24px;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    color: var(--accent);
    text-transform: uppercase;
}

/* ========================================
   Booking CTA
   ======================================== */
.booking-cta {
    position: relative;
    padding: 20px 0;
    overflow: hidden;
}

.booking-bg {
    position: absolute;
    inset: 0;
    background: 
        linear-gradient(135deg, rgba(26, 11, 46, 0.95) 0%, rgba(63, 31, 127, 0.9) 100%),
        url('https://images.unsplash.com/photo-1579684385127-1ef15d508118?w=1920') center/cover;
}

.booking-cta .container {
    position: relative;
    max-width: 640px;
}

.booking-title {
    text-align: center;
    color: white;
    margin-bottom: 20px;
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

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

.booking-form input {
    padding: 22px 28px;
    border-radius: var(--radius-md);
    border: 2px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 1.15rem;
    font-family: inherit;
    transition: border-color 0.2s, background 0.2s;
}

.booking-form input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.booking-form input:focus {
    outline: none;
    border-color: var(--accent);
    background: rgba(255, 255, 255, 0.15);
}

.booking-form .btn {
    margin-top: 8px;
}

/* Home: promo booking card */
.booking-cta--promo {
    padding: clamp(40px, 6vw, 64px) 16px;
}

.booking-cta--promo .container {
    max-width: 1400px;
    width: 100%;
}

.booking-cta--promo .booking-bg--promo {
    background-color: #fbf5f7;
    background-image:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 120' fill='none'%3E%3Cpath d='M18 78 Q38 32 58 52 T92 22' stroke='%23c1004e' stroke-width='2.2' opacity='0.18'/%3E%3Cpath d='M24 88 Q48 60 72 72' stroke='%23c1004e' stroke-width='1.5' opacity='0.14'/%3E%3C/svg%3E"),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 120' fill='none'%3E%3Cpath d='M102 42 Q72 58 48 82 T22 98' stroke='%239a003e' stroke-width='2' opacity='0.22'/%3E%3C/svg%3E"),
        radial-gradient(ellipse 130% 90% at 0% 0%, rgba(193, 0, 78, 0.07), transparent 55%),
        radial-gradient(ellipse 110% 85% at 100% 100%, rgba(0, 0, 0, 0.04), transparent 52%),
        linear-gradient(118deg, #fceef3 0%, #faf8f9 45%, #f5f2f3 100%);
    background-repeat: no-repeat, no-repeat, no-repeat, no-repeat, no-repeat;
    background-size: 200px 200px, 180px 180px, auto, auto, auto;
    background-position: left 3% top 12%, right 5% bottom 10%, 0 0, 0 0, 0 0;
}

.booking-promo-wrap {
    position: relative;
    width: 100%;
    max-width: none;
}

.booking-promo-card {
    background: #ffffff;
    border-radius: 20px;
    padding: clamp(26px, 4.5vw, 42px);
    box-shadow:
        0 24px 48px rgba(29, 53, 87, 0.1),
        0 4px 12px rgba(29, 53, 87, 0.06);
}

.booking-promo-head {
    text-align: center;
    margin-bottom: clamp(20px, 3vw, 28px);
}

.booking-promo-eyebrow {
    margin: 0 0 10px;
    font-family: 'Manrope', 'Roboto', -apple-system, sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--accent);
}

.booking-promo-title {
    margin: 0;
    font-family: 'Manrope', 'Roboto', -apple-system, sans-serif;
    font-size: clamp(1.25rem, 3.4vw, 1.75rem);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--text-dark);
}

.booking-form--promo {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.booking-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.booking-cta--promo .booking-field {
    position: relative;
    display: block;
    margin: 0;
}

.booking-cta--promo .booking-field input {
    width: 100%;
    box-sizing: border-box;
    padding: 15px 46px 15px 16px;
    border: none;
    border-radius: 10px;
    background: #f8f9fa;
    color: var(--text-dark);
    font-size: 1rem;
    font-family: 'Manrope', 'Roboto', -apple-system, sans-serif;
    transition: box-shadow 0.2s, background 0.2s;
}

.booking-cta--promo .booking-field input::placeholder {
    color: #8b95a5;
}

.booking-cta--promo .booking-field input:focus {
    outline: none;
    background: #f1f3f5;
    box-shadow: 0 0 0 2px rgba(193, 0, 78, 0.35);
}

.booking-field-icon {
    position: absolute;
    right: 13px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9aa5b5;
    pointer-events: none;
}

.booking-promo-submit {
    width: 100%;
    margin: 0;
    padding: 16px 24px;
    border: none;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-hover) 100%);
    color: #ffffff;
    font-size: 1.05rem;
    font-weight: 700;
    font-family: 'Manrope', 'Roboto', -apple-system, sans-serif;
    letter-spacing: 0.02em;
    cursor: pointer;
    box-shadow: 0 10px 28px rgba(193, 0, 78, 0.32);
    transition: filter 0.2s ease, transform 0.15s ease;
}

.booking-promo-submit:hover {
    filter: brightness(1.06);
}

.booking-promo-submit:active {
    transform: scale(0.99);
}

@media (max-width: 560px) {
    .booking-form-grid {
        grid-template-columns: 1fr;
    }

    .booking-cta--promo .booking-bg--promo {
        background-size: 140px 140px, 120px 120px, auto, auto, auto;
    }
}

/* ========================================
   Footer (dark, multi-column)
   ======================================== */
.footer--dark {
    --footer-bg: #0f1014;
    --footer-heading: #ffffff;
    --footer-muted: #c2c8d2;
    background:
        radial-gradient(1200px 320px at 12% -8%, rgba(193, 0, 78, 0.24), rgba(193, 0, 78, 0)),
        radial-gradient(800px 260px at 85% 115%, rgba(11, 99, 206, 0.2), rgba(11, 99, 206, 0)),
        var(--footer-bg);
    border-top: none;
    padding: 56px 0 26px;
}

.footer-top-grid {
    display: grid;
    grid-template-columns: 1.2fr repeat(4, minmax(0, 1fr));
    gap: 26px;
    align-items: start;
}

.footer-brand-col {
    min-width: 0;
}

.footer-brand {
    display: inline-block;
    text-decoration: none;
    color: var(--footer-heading);
    margin-bottom: 12px;
    line-height: 0;
}

.footer-brand-logo {
    display: block;
    width: auto;
    max-width: min(260px, 88vw);
    height: auto;
}

.footer-brand:hover .footer-brand-logo {
    opacity: 0.9;
}

.footer-brand:focus-visible .footer-brand-logo {
    opacity: 1;
    outline: 2px solid rgba(255, 214, 232, 0.9);
    outline-offset: 4px;
    border-radius: 4px;
}

.footer-col-title {
    margin: 0 0 13px;
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--footer-heading);
}

.footer-col-text {
    margin: 0 0 9px;
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 0.97rem;
    line-height: 1.6;
    color: var(--footer-muted);
}

.footer-col-text:last-child {
    margin-bottom: 0;
}

.footer-col-link {
    color: var(--footer-muted);
    text-decoration: none;
    transition: color 0.2s, opacity 0.2s;
}

.footer-col-link:hover {
    color: #fff;
    opacity: 1;
}

.footer-col--social .footer-social-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-social-circle {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1.5px solid rgba(255, 255, 255, 0.42);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.03);
    transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.footer-social-circle:hover {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-hover) 100%);
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.28);
}

.footer-rule-bar {
    margin-top: 30px;
    height: 1px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.26), rgba(255, 255, 255, 0));
    width: 100%;
}

.footer-copy {
    margin: 20px 0 0;
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 0.85rem;
    color: var(--footer-muted);
}

.footer-copy .footer-brand-mark {
    color: var(--brand-red);
    font-weight: 600;
}

/* ========================================
   Page Hero (Inner Pages)
   ======================================== */
.page-hero {
    padding: 20px 0;
    text-align: center;
    background: radial-gradient(ellipse 80% 50% at 50% 0%, rgba(193, 0, 78, 0.08) 0%, transparent 60%);
}

.page-hero .tag {
    margin-bottom: 16px;
}

.page-hero h1 {
    margin-bottom: 20px;
}

.page-hero p {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 640px;
    margin: 0 auto;
}

/* About page — lead block */
.about-page-lead {
    padding: clamp(40px, 6vw, 72px) 0 clamp(48px, 7vw, 80px);
    background:
        radial-gradient(ellipse 80% 60% at 0% 15%, rgba(193, 0, 78, 0.08) 0%, transparent 58%),
        radial-gradient(ellipse 55% 45% at 100% 75%, rgba(193, 0, 78, 0.05) 0%, transparent 52%),
        linear-gradient(180deg, #ffffff 0%, #faf8f9 100%);
}

.about-page-lead__inner {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(260px, 0.92fr);
    grid-template-rows: auto 1fr;
    gap: clamp(20px, 3vw, 28px) clamp(36px, 5vw, 64px);
    align-items: start;
}

.about-page-lead__head {
    grid-column: 1;
    grid-row: 1;
    max-width: 36rem;
}

.about-page-lead__title {
    font-family: 'Noto Serif', Georgia, 'Times New Roman', serif;
    font-size: clamp(2.35rem, 4.8vw, 3.5rem);
    line-height: 1.1;
    margin: 0 0 18px;
    color: var(--text-dark);
    font-weight: 700;
    letter-spacing: -0.03em;
}

.about-page-lead__accent {
    display: block;
    width: 56px;
    height: 4px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--accent), rgba(193, 0, 78, 0.25));
}

.about-page-lead__figure {
    grid-column: 2;
    grid-row: 1 / -1;
    margin: 0;
    position: relative;
    align-self: center;
    justify-self: end;
    width: 100%;
    max-width: min(480px, 100%);
}

.about-page-lead__figure::before {
    content: "";
    position: absolute;
    inset: -8% -6% -4% -10%;
    background: radial-gradient(ellipse 70% 60% at 40% 30%, rgba(193, 0, 78, 0.14), transparent 65%);
    z-index: 0;
    pointer-events: none;
}

.about-page-lead__photo-frame {
    position: relative;
    z-index: 1;
    border-radius: 20px;
    overflow: hidden;
    box-shadow:
        0 28px 56px rgba(0, 0, 0, 0.12),
        0 0 0 1px rgba(0, 0, 0, 0.05);
}

.about-page-lead__img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    aspect-ratio: 4 / 5;
    max-height: min(640px, 85vh);
}

.about-page-lead__highlight {
    grid-column: 1;
    grid-row: 2;
    margin: 0;
    max-width: 40rem;
    padding: clamp(22px, 3vw, 32px) clamp(22px, 3vw, 36px);
    background: var(--white);
    border-radius: 16px;
    box-shadow:
        0 4px 24px rgba(193, 0, 78, 0.08),
        0 0 0 1px rgba(0, 0, 0, 0.04);
    border-left: 4px solid var(--accent);
}

.about-page-lead__highlight p {
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.78;
    color: var(--text-muted);
    font-weight: 400;
}

.about-page-lead__highlight p + p {
    margin-top: 1.25rem;
}

/* About — values (matches home services-section pattern) */
.about-page-values.services-section {
    padding-top: clamp(56px, 7vw, 88px);
    padding-bottom: clamp(64px, 8vw, 96px);
}

.about-page-values__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    padding: 6px 4px 4px;
}

.about-page-values__grid .service-card {
    min-height: 100%;
}

@media (max-width: 1100px) and (min-width: 701px) {
    .about-page-values__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 700px) {
    .about-page-values__grid {
        grid-template-columns: 1fr;
        max-width: 520px;
        margin: 0 auto;
    }
}

@media (max-width: 900px) {
    .about-page-lead__inner {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto;
        gap: 28px;
    }

    .about-page-lead__head {
        grid-column: 1;
        grid-row: 1;
        max-width: none;
        text-align: center;
    }

    .about-page-lead__accent {
        margin: 0 auto;
    }

    .about-page-lead__figure {
        grid-column: 1;
        grid-row: 2;
        justify-self: center;
        max-width: min(400px, 100%);
    }

    .about-page-lead__highlight {
        grid-column: 1;
        grid-row: 3;
        max-width: none;
    }
}

/* Content Section */
.content-section {
    padding: 20px 0;
}

.content-section h2 {
    margin-bottom: 20px;
}

.content-section p {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    line-height: 1.8;
}

/* Services Grid (inner pages only — avoids clashing with home .service-card) */
.content-section .services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px;
    padding: 20px 0;
}

.content-section .service-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
}

.content-section .service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}

.content-section .service-card .bento-icon {
    margin-bottom: 20px;
}

.content-section .service-card h3 {
    margin-bottom: 12px;
}

.content-section .service-card p {
    font-size: 1.05rem;
    color: var(--text-muted);
}

/* Services page — list view with descriptions */
.services-catalog {
    padding: clamp(28px, 4vw, 56px) 0 clamp(40px, 6vw, 88px);
    background:
        radial-gradient(ellipse 80% 60% at 100% 0%, rgba(193, 0, 78, 0.06), transparent 55%),
        radial-gradient(ellipse 70% 50% at 0% 100%, rgba(107, 91, 122, 0.06), transparent 50%),
        var(--bg-soft);
}

.services-catalog__heading {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 600;
    line-height: 1.25;
    margin: 0 0 clamp(20px, 3vw, 32px);
    letter-spacing: -0.02em;
    color: var(--text-dark);
}

.services-list {
    list-style: none;
    margin: 0;
    padding: 0;
    width: 100%;
    border-radius: var(--radius-md);
    border: 1px solid rgba(193, 0, 78, 0.12);
    background: var(--white);
    box-shadow:
        0 1px 2px rgba(26, 11, 46, 0.04),
        0 16px 40px rgba(26, 11, 46, 0.06);
    overflow: hidden;
}

.services-list__item {
    margin: 0;
    border-bottom: 1px solid rgba(193, 0, 78, 0.1);
}

.services-list__item:last-child {
    border-bottom: none;
}

.services-list__row {
    display: flex;
    align-items: flex-start;
    gap: clamp(16px, 3vw, 24px);
    padding: clamp(22px, 3vw, 28px) clamp(20px, 3vw, 28px);
    transition: background 0.2s ease;
}

@media (hover: hover) {
    .services-list__item:hover .services-list__row {
        background: rgba(193, 0, 78, 0.04);
    }
}

@media (hover: none) {
    .services-list__item:active .services-list__row {
        background: rgba(193, 0, 78, 0.07);
    }
}

.services-list__icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    font-size: 1.5rem;
    line-height: 1;
    background: linear-gradient(
        155deg,
        rgba(193, 0, 78, 0.11) 0%,
        rgba(255, 255, 255, 0.95) 100%
    );
    border-radius: 14px;
    box-shadow:
        inset 0 0 0 1px rgba(193, 0, 78, 0.12),
        0 2px 10px rgba(193, 0, 78, 0.06);
}

.services-list__icon--blue {
    background: linear-gradient(
        155deg,
        rgba(59, 130, 246, 0.16) 0%,
        rgba(255, 255, 255, 0.95) 100%
    );
    box-shadow:
        inset 0 0 0 1px rgba(59, 130, 246, 0.18),
        0 2px 10px rgba(59, 130, 246, 0.08);
}

.services-list__body {
    min-width: 0;
    flex: 1;
}

.services-list__title {
    font-size: clamp(1.12rem, 2vw, 1.3rem);
    font-weight: 600;
    line-height: 1.3;
    margin: 0 0 8px;
    letter-spacing: -0.02em;
    color: var(--text-dark);
}

.services-list__desc {
    margin: 0;
    font-size: 1.02rem;
    line-height: 1.65;
    color: var(--text-muted);
}

/* Services page — mobile & small screens */
@media (max-width: 768px) {
    .services-page .container {
        padding-left: max(16px, env(safe-area-inset-left, 0px));
        padding-right: max(16px, env(safe-area-inset-right, 0px));
    }

    .page-hero--services {
        padding: clamp(16px, 4vw, 22px) 0 clamp(8px, 2vw, 14px);
        text-align: left;
    }

    .page-hero--services h1 {
        font-size: clamp(1.55rem, 6.5vw, 2rem);
        line-height: 1.2;
        letter-spacing: -0.03em;
        margin-bottom: 12px;
    }

    .page-hero--services p {
        font-size: 1rem;
        line-height: 1.65;
        max-width: none;
        margin: 0;
        text-align: left;
    }

    .services-catalog {
        padding: 18px 0 clamp(32px, 8vw, 48px);
    }

    .services-catalog__heading {
        font-size: 1.22rem;
        margin-bottom: 14px;
        line-height: 1.3;
    }

    .services-list {
        border-radius: var(--radius-sm);
        box-shadow:
            0 1px 3px rgba(26, 11, 46, 0.06),
            0 10px 28px rgba(26, 11, 46, 0.06);
    }

    .services-list__row {
        gap: 14px;
        padding: 16px 14px;
        align-items: center;
    }

    .services-list__icon {
        width: 48px;
        height: 48px;
        font-size: 1.38rem;
    }

    .services-list__title {
        font-size: 1.06rem;
        line-height: 1.35;
        margin-bottom: 6px;
    }

    .services-list__desc {
        font-size: 0.94rem;
        line-height: 1.6;
        overflow-wrap: break-word;
        word-break: break-word;
    }

    .services-page .booking-cta--promo {
        padding-left: max(12px, env(safe-area-inset-left, 0px));
        padding-right: max(12px, env(safe-area-inset-right, 0px));
        padding-bottom: max(28px, env(safe-area-inset-bottom, 0px));
    }

    .services-page .booking-promo-card {
        padding: clamp(20px, 5vw, 28px) clamp(16px, 4vw, 22px);
    }
}

@media (max-width: 400px) {
    .services-list__row {
        padding: 14px 12px;
        gap: 12px;
    }

    .services-list__icon {
        width: 44px;
        height: 44px;
        font-size: 1.25rem;
        border-radius: 12px;
    }
}

/* Tech Grid */
.tech-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    padding: 20px 0;
}

.tech-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding: 32px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.tech-item-icon {
    width: 64px;
    height: 64px;
    min-width: 64px;
    background: rgba(193, 0, 78, 0.1);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
}

.tech-item h3 {
    margin-bottom: 8px;
}

.tech-item p {
    font-size: 1.05rem;
    color: var(--text-muted);
    margin: 0;
}

/* ========================================
   Technology page — centered gallery & cards
   ======================================== */
.technology-page .tech-spectrum {
    padding: 40px 0 20px;
}

.technology-page .bento-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    max-width: 720px;
    margin: 0 auto;
    justify-items: stretch;
}

@media (min-width: 768px) {
    .technology-page .bento-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        max-width: 920px;
    }

    .technology-page .bento-item.bento-wide {
        grid-column: 1 / -1;
    }
}

/* Home page: keep technology section full container width */
.home-technologies .bento-grid {
    max-width: none;
    margin: 0;
}

@media (min-width: 768px) {
    .home-technologies .bento-grid {
        max-width: none;
    }
}

.technology-page .bento-item {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.technology-page .bento-item > img {
    width: 100%;
    min-height: 220px;
    max-height: 300px;
    object-fit: cover;
    display: block;
}

.technology-page .bento-item:has(> img) {
    position: relative;
    min-height: 220px;
}

.technology-page .bento-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(to top, rgba(26, 11, 46, 0.78), transparent 50%);
    padding: 24px;
    text-align: center;
}

.technology-page .bento-overlay h3 {
    margin: 0;
    color: var(--white);
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.35);
}

.technology-page .bento-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    height: 100%;
    min-height: 200px;
    padding: 28px 24px;
    box-sizing: border-box;
}

.technology-page .bento-card.light {
    background: linear-gradient(160deg, #f8f4ff 0%, var(--white) 55%);
}

.technology-page .bento-card .bento-icon {
    font-size: 2rem;
    margin-bottom: 14px;
    line-height: 1;
}

.technology-page .bento-card h3 {
    margin: 0 0 12px;
}

.technology-page .bento-card p {
    margin: 0 0 16px;
    font-size: 1.02rem;
    color: var(--text-muted);
    line-height: 1.65;
    flex: 1;
}

.technology-page .bento-link {
    font-weight: 600;
    color: var(--accent);
    font-size: 0.95rem;
}

.technology-page .technology-details {
    background: var(--white);
}

.technology-page .technology-tech-list {
    padding-top: 0;
    justify-items: center;
    justify-content: center;
    grid-template-columns: repeat(auto-fit, minmax(280px, 400px));
}

.technology-page .technology-tech-list .tech-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 400px;
    width: 100%;
    justify-self: center;
}

.technology-page .technology-tech-list .tech-item-icon {
    margin: 0;
}

.home-technologies-head {
    padding: 20px 0 0;
    text-align: center;
}

.home-technologies-head .section-title {
    margin-bottom: 16px;
}

.home-technologies-intro {
    max-width: 640px;
    margin: 0 auto;
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.75;
}

.home-technologies-footer {
    text-align: center;
    padding: 24px 0 40px;
    background: var(--white);
}

/* Home advantages section (replaces old technology block on home) */
.home-advantages {
    padding: 66px 0 74px;
    background: #ffffff;
}

.home-advantages-grid {
    display: grid;
    grid-template-columns: 1.06fr 1fr;
    gap: 38px 44px;
    align-items: start;
}

.home-advantages-tag {
    margin: 0 0 16px;
    color: var(--accent);
    font-size: 1rem;
    font-weight: 500;
}

.home-advantages-title {
    margin: 0;
    max-width: 560px;
    font-size: clamp(2rem, 4.5vw, 3.5rem);
    line-height: 1.18;
    color: var(--text-dark);
    letter-spacing: -0.02em;
}

.home-advantages-contact-card {
    margin-top: 34px;
    display: grid;
    grid-template-columns: 1fr 200px;
    align-items: end;
    border-radius: 12px;
    overflow: hidden;
    background: linear-gradient(95deg, #fceef3 0%, #faf8f9 55%, #f5f5f5 100%);
}

.home-advantages-contact-content {
    padding: 28px;
}

.home-advantages-contact-content h3 {
    margin: 0 0 14px;
    font-size: 2rem;
    line-height: 1.1;
    color: var(--text-dark);
    text-transform: uppercase;
}

.home-advantages-contact-content a {
    color: var(--accent);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.home-advantages-contact-image {
    width: 100%;
    height: 100%;
    max-height: 240px;
    object-fit: cover;
    object-position: top center;
    display: block;
}

.home-advantages-right {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 34px;
}

.home-adv-item {
    min-width: 0;
}

.home-adv-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    font-size: 1.18rem;
    font-weight: 700;
}

.home-adv-icon--blue {
    background: rgba(193, 0, 78, 0.1);
    color: var(--accent);
}

.home-adv-icon--red {
    background: rgba(193, 0, 78, 0.14);
    color: var(--accent-hover);
}

.home-adv-icon--green {
    background: rgba(0, 0, 0, 0.05);
    color: var(--text-dark);
}

.home-adv-icon--yellow {
    background: rgba(193, 0, 78, 0.08);
    color: var(--accent);
}

.home-adv-item h3 {
    margin: 0 0 10px;
    color: var(--text-dark);
    font-size: 2rem;
    line-height: 1.2;
}

.home-adv-item p {
    margin: 0;
    color: var(--text-muted);
    font-size: 1.23rem;
    line-height: 1.6;
}

/* Home trust section */
.home-trust {
    padding: 52px 0 66px;
    background: #faf7f8;
}

.home-trust-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr);
    gap: 44px;
    align-items: center;
}

.home-trust-media {
    position: relative;
    padding: 8px 0 0 12px;
}

.home-trust-main-image {
    width: min(100%, 520px);
    border-radius: 12px;
    display: block;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.12);
}

.home-trust-badge {
    position: absolute;
    top: -16px;
    left: -10px;
    width: 120px;
    min-height: 96px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.1);
    display: grid;
    place-content: center;
    text-align: center;
    padding: 10px 12px;
    font-size: 0.93rem;
    line-height: 1.35;
    color: var(--text-muted);
}

.home-trust-skills {
    position: absolute;
    right: 6%;
    bottom: -18px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.1);
    padding: 14px 16px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.home-trust-content {
    max-width: 560px;
}

.home-trust-tag {
    margin: 0 0 14px;
    color: var(--accent);
    font-size: 1rem;
    font-weight: 500;
}

.home-trust-title {
    margin: 0 0 20px;
    color: var(--text-dark);
    font-size: clamp(2.1rem, 3.8vw, 3.4rem);
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.home-trust-text {
    margin: 0 0 24px;
    color: var(--text-muted);
    font-size: 1.14rem;
    line-height: 1.65;
    max-width: 48ch;
}

.home-trust-phone {
    width: min(100%, 520px);
    min-height: 86px;
    display: inline-flex;
    align-items: center;
    gap: 18px;
    padding: 16px 28px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-hover) 100%);
    color: #fff;
    text-decoration: none;
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 700;
    letter-spacing: 0.02em;
    box-shadow: 0 16px 32px rgba(193, 0, 78, 0.3);
}

.home-trust-phone:hover {
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 18px 36px rgba(193, 0, 78, 0.34);
}

.home-trust-phone-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.24);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

/* About Content */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    align-items: center;
    padding: 20px 0;
}

.about-content img {
    width: 100%;
    border-radius: var(--radius-lg);
}

@media (max-width: 768px) {
    .about-content {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   Contacts Page
   ======================================== */
.page-hero--contacts {
    padding: clamp(40px, 5vw, 64px) 0 clamp(28px, 4vw, 44px);
    background:
        radial-gradient(ellipse 85% 55% at 50% -12%, rgba(193, 0, 78, 0.1) 0%, transparent 58%),
        linear-gradient(180deg, #ffffff 0%, #faf8f9 100%);
}

.contacts-page__eyebrow {
    margin: 0 auto 14px;
    max-width: 42rem;
    font-family: 'Manrope', 'Roboto', -apple-system, sans-serif;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent);
}

.contacts-page__title {
    margin: 0 auto 16px;
    max-width: 42rem;
    font-family: 'Noto Serif', Georgia, 'Times New Roman', serif;
    font-size: clamp(2.35rem, 4.5vw, 3.25rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: var(--text-dark);
}

.contacts-page__intro {
    margin: 0 auto;
    max-width: 36rem;
    font-family: 'Manrope', 'Roboto', -apple-system, sans-serif;
    font-size: 1.08rem;
    line-height: 1.65;
    color: var(--text-muted);
}

.contacts-section--modern {
    padding: clamp(16px, 3vw, 28px) 0 clamp(40px, 5vw, 56px);
    background: #f5f3f4;
}

.contacts-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr);
    gap: clamp(22px, 3vw, 36px);
    align-items: start;
}

.contact-card--modern {
    margin: 0;
    padding: 0;
    overflow: hidden;
    background: var(--white);
    border-radius: 20px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow:
        0 20px 48px rgba(0, 0, 0, 0.07),
        0 2px 8px rgba(0, 0, 0, 0.04);
}

.contact-card__header {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 26px 28px 22px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    background: linear-gradient(180deg, rgba(193, 0, 78, 0.04) 0%, transparent 100%);
}

.contact-card__badge-icon {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: rgba(193, 0, 78, 0.1);
    color: var(--accent);
}

.contact-card__badge-icon svg {
    display: block;
}

.contact-card__header-text {
    min-width: 0;
}

.contact-card__title {
    margin: 0 0 6px;
    font-family: 'Manrope', 'Roboto', -apple-system, sans-serif;
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text-dark);
}

.contact-card__subtitle {
    margin: 0;
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.45;
}

.contact-card__body {
    padding: 8px 0 12px;
}

.contact-card__block {
    display: flex;
    gap: 16px;
    padding: 18px 28px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.contact-card__block--last {
    border-bottom: none;
}

.contact-card__icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: #f4f4f5;
    color: var(--accent);
}

.contact-card__icon svg {
    display: block;
}

.contact-card__block-content {
    min-width: 0;
    padding-top: 2px;
}

.contact-address--modern {
    margin: 0;
    flex: 1;
    padding-top: 2px;
    font-style: normal;
    font-size: 1.05rem;
    line-height: 1.65;
    color: var(--text-dark);
}

.contact-hours {
    display: block;
    font-size: 1.08rem;
    line-height: 1.55;
    color: var(--text-dark);
    font-weight: 500;
}

.contact-card-wide {
    grid-column: 1 / -1;
}

.contact-label {
    display: block;
    font-size: 0.78rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 6px;
    font-weight: 600;
}

.contact-link--modern {
    font-size: 1.2rem;
    font-weight: 700;
}

.contact-link {
    color: var(--text-dark);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s;
}

.contact-link:hover {
    color: var(--accent);
}

.contact-hint {
    display: block;
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 400;
    margin-top: 4px;
}

.contacts-map-shell {
    background: var(--white);
    border-radius: 20px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    overflow: hidden;
    box-shadow:
        0 20px 48px rgba(0, 0, 0, 0.07),
        0 2px 8px rgba(0, 0, 0, 0.04);
}

.contacts-map-heading {
    margin: 0;
    padding: 22px 24px 16px;
    font-family: 'Manrope', 'Roboto', -apple-system, sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text-dark);
}

.contacts-map.contacts-map--modern {
    margin: 0 24px 24px;
    width: auto;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.06);
    aspect-ratio: 16 / 10;
    min-height: 280px;
}

.contacts-map--modern iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.contacts-map {
    position: relative;
}

.contacts-map iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Legacy grid helpers (if reused elsewhere) */
.contacts-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.contact-card:not(.contact-card--modern) {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow);
}

.contact-card:not(.contact-card--modern) h3 {
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.contact-address:not(.contact-address--modern) {
    font-style: normal;
    font-size: 1.15rem;
    color: var(--text-dark);
    line-height: 1.7;
    margin-bottom: 24px;
}

.contact-meta {
    margin-bottom: 16px;
    font-size: 1.05rem;
    color: var(--text-muted);
}

.contact-meta:last-child {
    margin-bottom: 0;
}

.contacts-maps {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    justify-items: center;
}

.contacts-map-title {
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.contacts-maps > div {
    width: min(980px, 100%);
}

@media (max-width: 960px) {
    .contacts-layout {
        grid-template-columns: 1fr;
    }

    .contacts-map.contacts-map--modern {
        margin: 0 18px 20px;
        min-height: 260px;
    }

    .contacts-map-heading {
        padding: 20px 18px 14px;
    }

    .contact-card__header {
        padding: 22px 20px 18px;
    }

    .contact-card__block {
        padding: 16px 20px;
    }
}

/* Contacts — free consultation CTA strip */
.contacts-cta-banner {
    padding: 12px 0 44px;
    background: #f5f3f4;
}

.contacts-cta-banner__inner {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px 28px;
    padding: 22px 28px;
    background: var(--white);
    border-radius: 16px;
    box-shadow:
        0 12px 32px rgba(0, 0, 0, 0.08),
        0 0 0 1px rgba(0, 0, 0, 0.04);
}

.contacts-cta-banner__label {
    margin: 0;
    font-family: 'Manrope', 'Roboto', -apple-system, sans-serif;
    font-size: clamp(1.15rem, 2.2vw, 1.5rem);
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -0.02em;
    color: #1d3557;
}

.contacts-cta-banner__phone {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 12px 20px 12px 14px;
    min-height: 56px;
    border-radius: 14px;
    background: linear-gradient(135deg, #1e8fe6 0%, #1570c4 100%);
    color: #ffffff;
    text-decoration: none;
    font-family: 'Manrope', 'Roboto', -apple-system, sans-serif;
    font-size: clamp(1.05rem, 2vw, 1.35rem);
    font-weight: 700;
    letter-spacing: 0.02em;
    box-shadow: 0 10px 28px rgba(30, 143, 230, 0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
    flex-shrink: 0;
}

.contacts-cta-banner__phone:hover {
    color: #ffffff;
    filter: brightness(1.05);
    transform: translateY(-1px);
    box-shadow: 0 14px 34px rgba(30, 143, 230, 0.42);
}

.contacts-cta-banner__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.22);
    color: #ffffff;
}

.contacts-cta-banner__icon svg {
    display: block;
}

.contacts-cta-banner__number {
    white-space: nowrap;
}

@media (max-width: 700px) {
    .contacts-cta-banner__inner {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
        padding: 22px 20px;
    }

    .contacts-cta-banner__phone {
        justify-content: center;
        width: 100%;
    }
}

@media (max-width: 900px) {
    .contacts-cards {
        grid-template-columns: 1fr;
    }

    .contacts-maps {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   Responsive
   ======================================== */
@media (max-width: 1024px) {
    .hero--banner {
        padding: 44px 0 36px;
    }

    .hero-inner {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1.5rem;
    }

    .hero-copy {
        max-width: 100%;
        margin: 0 auto;
    }

    .hero--banner .hero-text {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-media {
        justify-self: center;
        max-width: min(673px, 96vw);
    }

    .hero-image-frame {
        max-height: min(530px, 66vh);
        transform: none;
    }

    .hero-float-card {
        position: relative;
        left: auto;
        bottom: auto;
        margin: -2.5rem auto 0;
        max-width: 22rem;
    }

    .mission-inner {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .mission-image-wrap {
        max-width: 400px;
        margin: 0 auto;
    }

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

    .services-grid {
        grid-auto-columns: calc((100% - (2 * 18px)) / 3);
        gap: 18px;
    }

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

    .home-advantages-title {
        max-width: 100%;
    }

    .home-advantages-contact-card {
        grid-template-columns: 1fr 180px;
        margin-top: 22px;
    }

    .home-trust-inner {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .home-trust-content {
        max-width: 100%;
    }

    .about-home-inner {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .about-home-content {
        max-width: 100%;
    }

    .about-home-side {
        justify-self: center;
        align-self: auto;
    }

    .about-home-side-image {
        width: min(280px, 72vw);
    }

    .footer-top-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .footer-brand-col {
        grid-column: 1 / -1;
    }

    .team-detail-inner {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 20px;
    }
}

@media (max-width: 1100px) {
    .header-inner {
        gap: 12px 16px;
    }

    .logo {
        max-width: 210px;
    }

    .logo-image {
        height: 56px;
    }

    .nav {
        gap: 18px;
    }

    .nav a {
        font-size: 1rem;
    }

    .header-contacts-address,
    .header-contacts-line {
        font-size: 0.82rem;
    }
}

@media (max-width: 900px) {
    .logo-image {
        height: 50px;
    }

    .nav {
        gap: 12px;
    }

    .nav a {
        font-size: 0.92rem;
    }
}

@media (max-width: 820px) {
    .nav {
        gap: 8px;
    }

    .nav a {
        font-size: 0.85rem;
    }

    .header-contacts-address,
    .header-contacts-line {
        font-size: 0.78rem;
    }
}

@media (max-width: 768px) {
    body.nav-drawer-open {
        overflow: hidden;
    }

    .header {
        position: relative;
        z-index: 1002;
    }

    .lang-dropdown.is-open {
        z-index: 1010;
    }

    .lang-dropdown-menu {
        z-index: 1011;
    }

    .nav-drawer-backdrop {
        display: block;
        position: fixed;
        inset: 0;
        z-index: 1000;
        background: rgba(26, 11, 46, 0.45);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity 0.32s ease, visibility 0.32s;
    }

    .nav-drawer-backdrop.is-open {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .header-inner {
        flex-wrap: wrap;
        align-items: center;
    }

    .nav-toggle {
        display: flex;
        width: 42px;
        height: 42px;
        padding: 0;
        border: 2px solid rgba(193, 0, 78, 0.35);
        border-radius: var(--radius-md);
        background: var(--white);
        align-items: center;
        justify-content: center;
    }

    .nav-toggle.is-open {
        border-color: var(--accent);
        background: rgba(193, 0, 78, 0.06);
        box-shadow: 0 16px 40px rgba(193, 0, 78, 0.15);
    }

    .nav-toggle.is-open span:nth-child(1) {
        transform: translateY(4px) rotate(45deg);
    }

    .nav-toggle.is-open span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.is-open span:nth-child(3) {
        transform: translateY(-4px) rotate(-45deg);
    }

    .nav {
        display: flex;
        flex: 0 0 auto;
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        width: min(100% - 40px, 320px);
        max-width: 100vw;
        margin: 0;
        padding:
            calc(20px + env(safe-area-inset-top, 0px))
            calc(16px + env(safe-area-inset-right, 0px))
            calc(24px + env(safe-area-inset-bottom, 0px))
            calc(20px + env(safe-area-inset-left, 0px));
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        gap: 6px;
        background: #fff;
        border-radius: 0;
        border: none;
        border-left: 1px solid rgba(193, 0, 78, 0.14);
        box-shadow: -16px 0 48px rgba(0, 0, 0, 0.14);
        z-index: 1001;
        transform: translateX(100%);
        visibility: hidden;
        pointer-events: none;
        transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.32s;
    }

    .nav.is-open {
        transform: translateX(0);
        visibility: visible;
        pointer-events: auto;
    }

    .nav a {
        width: 100%;
        text-align: left;
        padding: 14px 16px;
    }

    .nav a:hover,
    .nav a.active {
        border-radius: 12px;
        background: rgba(193, 0, 78, 0.08);
    }

    .header-actions {
        align-self: auto;
        width: auto;
        justify-content: flex-end;
        margin-left: auto;
        flex-wrap: nowrap;
        gap: 10px;
    }

    .header-contacts {
        display: none;
        flex-direction: column;
        flex-wrap: wrap;
        gap: 4px;
        text-align: center;
        align-items: center;
        max-width: none;
    }

    .header-contacts > p + p {
        padding-left: 0;
        margin-left: 0;
        border-left: none;
    }

    .services-head {
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 20px;
    }

    .services-slider-btn {
        display: none;
    }

    .services-grid {
        grid-auto-columns: minmax(240px, 88%);
        gap: 14px;
    }

    .services-footer {
        justify-content: center;
        margin-top: 16px;
    }

    .home-advantages {
        padding: 48px 0 56px;
    }

    .home-advantages-tag,
    .home-advantages-title {
        text-align: center;
    }

    .home-advantages-right {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .home-advantages-contact-card {
        grid-template-columns: 1fr;
    }

    .home-advantages-contact-content {
        text-align: center;
        padding: 24px 20px 16px;
    }

    .home-advantages-contact-image {
        max-height: 220px;
    }

    .home-trust {
        padding: 44px 0 56px;
    }

    .home-trust-media {
        justify-self: center;
        padding: 8px 0 0;
    }

    .home-trust-title,
    .home-trust-tag,
    .home-trust-text {
        text-align: center;
    }

    .home-trust-phone {
        width: 100%;
        justify-content: center;
    }

    .home-trust-badge {
        left: 2px;
    }

    .home-trust-skills {
        right: 2px;
        bottom: -14px;
    }

    .about-home {
        padding: 42px 0 52px;
    }

    .about-home-media {
        transform: rotate(-4deg);
    }

    .about-home-eyebrow,
    .about-home-title,
    .about-home-text {
        text-align: center;
    }

    .about-home-content {
        text-align: center;
    }

    .about-home-btn {
        display: inline-flex;
        margin: 0 auto;
    }

    .about-home-decor--right {
        right: 50%;
        transform: translateX(120px);
    }

    .footer-top-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .footer-brand-col {
        grid-column: auto;
    }

    .footer--dark {
        padding: 44px 0 24px;
    }

    .footer-brand {
        justify-content: flex-start;
    }
}

@media (max-width: 768px) and (prefers-reduced-motion: reduce) {
    .nav,
    .nav-drawer-backdrop {
        transition: none;
    }
}

@media (max-width: 600px) {
    .hero-actions {
        flex-direction: column;
    }

    .hero-btn {
        width: 100%;
    }

    .booking-form {
        padding: 0;
    }

    .mission-stats {
        flex-direction: column;
        gap: 20px;
    }

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