/* ==========================================================================
   Юлия Тиунова — Юридическое бюро
   Blue background, white content surfaces
   ========================================================================== */
:root {
    /* Base palette */
    --indigo-bg: #041e42;
    --indigo-elevated: #0a2f5c;
    --light-blue: #8BA5C4;
    --light-blue-dark: #6B8BA8;
    --white: #ffffff;
    --light-gray: #f5f7fa;
    --medium-gray: #e0e5eb;

    /* Accents */
    --gold: #c9a227;
    --gold-bright: #d9b83d;
    --gold-deep: #a6851d;
    --gold-soft: rgba(201, 162, 39, 0.18);
    --gold-border-subtle: rgba(201, 162, 39, 0.45);

    /* Text — high contrast */
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.85);
    --text-muted: rgba(255, 255, 255, 0.65);
    --text-inverse: #1a1a1a;
    --text-inverse-secondary: rgba(26, 26, 26, 0.75);

    /* Text colors */

    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Playfair Display', Georgia, serif;

    --transition: all 0.25s cubic-bezier(0.25, 0.8, 0.25, 1);

    --header-height-desktop: 120px;
    --header-height-mobile: 111px;
}


/* ==========================================================================
   Reset & Base Styles
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
    font-size: 16px;
    background-color: #04142c;
}

html::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: -3;
    background-image:
        radial-gradient(ellipse 60% 55% at 50% 45%, rgba(2, 15, 33, 0.72) 0%, rgba(2, 15, 33, 0.32) 55%, transparent 80%),
        linear-gradient(160deg, rgba(0, 10, 18, 0.78) 0%, rgba(4, 30, 66, 0.78) 35%, rgba(6, 42, 79, 0.78) 65%, rgba(4, 30, 66, 0.78) 100%),
        url('back-new.jpg');
    background-size: cover, cover, cover;
    background-position: center, center, center;
    background-repeat: no-repeat, no-repeat, no-repeat;
    pointer-events: none;
}

body {
    position: relative;
    font-family: var(--font-body);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: -2;
    background:
        radial-gradient(ellipse 900px 700px at 8% -5%, rgba(201, 162, 39, 0.08), transparent 60%),
        radial-gradient(ellipse 800px 600px at 100% 15%, rgba(201, 162, 39, 0.06), transparent 55%),
        radial-gradient(ellipse 700px 900px at 95% 100%, rgba(201, 162, 39, 0.07), transparent 55%),
        radial-gradient(ellipse 600px 500px at 0% 85%, rgba(201, 162, 39, 0.04), transparent 55%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent 20%);
    pointer-events: none;
}

body::after {
    content: '';
    position: fixed;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(ellipse 900px 700px at 8% -5%, rgba(139, 165, 196, 0.15), transparent 60%),
        radial-gradient(ellipse 800px 600px at 100% 15%, rgba(91, 127, 167, 0.12), transparent 55%),
        radial-gradient(ellipse 700px 900px at 95% 100%, rgba(44, 93, 145, 0.15), transparent 55%),
        radial-gradient(ellipse 600px 500px at 0% 85%, rgba(139, 165, 196, 0.08), transparent 55%);
    pointer-events: none;
}

/* ==========================================================================
   Scrollbar
   ========================================================================== */
html {
    scrollbar-color: var(--gold) var(--indigo-bg);
    scrollbar-width: thin;
}

::-webkit-scrollbar {
    width: 11px;
    height: 11px;
}

::-webkit-scrollbar-track {
    background: var(--indigo-bg);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--gold-bright), var(--gold-deep));
    border-radius: 10px;
    border: 2px solid var(--indigo-bg);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gold-bright);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.25;
}

.hero h1 {
    color: var(--text-primary);
}

.section-header h2 {
    color: var(--white);
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.55), 0 1px 4px rgba(0, 0, 0, 0.4);
}

.about-text h2 {
    color: var(--text-primary);
}

h3 {
    color: var(--text-primary);
}

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

a {
    text-decoration: none;
    color: var(--text-primary);
    transition: var(--transition);
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ==========================================================================
   Typography & Headers
   ========================================================================== */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
    position: relative;
    display: inline-block;
    letter-spacing: 0.3px;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 56px;
    height: 3px;
    border-radius: 2px;
    background: var(--gold);
    box-shadow: 0 1px 8px rgba(201, 162, 39, 0.35);
}

.section-header p {
    color: rgba(255, 255, 255, 0.88);
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.5);
    font-size: 1.05rem;
    max-width: 560px;
    margin: 0 auto;
}

.services-subtitle {
    color: var(--gold-bright);
    font-weight: 700;
    font-size: 1.15rem;
    margin-top: 0.9rem;
    letter-spacing: 0.3px;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.5);
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 26px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 999px;
    cursor: pointer;
    text-align: center;
    transition: var(--transition);
    border: none;
    outline: none;
    letter-spacing: 0.3px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-deep) 100%) !important;
    background-size: 200% auto;
    background-position: left center;
    color: var(--white) !important;
    font-weight: 700;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-primary:hover {
    background-position: right center;
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: var(--white) !important;
    border: 3px solid var(--white);
}

.btn-secondary:hover {
    border-color: var(--gold);
    color: var(--gold) !important;
    transform: translateY(-2px);
}

.btn-block {
    display: flex;
    width: 100%;
}

/* ==========================================================================
   Header, Utility bar & Navbar
   ========================================================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 0 24px;
    transform: translateY(14px);
}

.navbar {
    max-width: 1100px;
    margin: 0 auto;
    background: rgba(4, 30, 66, 0.9);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 34px rgba(0, 0, 0, 0.35);
    padding: 1.1rem 0;
    border-radius: 999px;
    transition: var(--transition);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 15px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    animation: logoFadeIn 0.8s ease-out;
}

@keyframes logoFadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.logo-mark-wrap {
    position: relative;
    display: block;
}

.nav-container .logo-mark-wrap {
    margin-left: 5px;
}

.logo-mark {
    width: 58px;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.logo-mark-wrap:hover .logo-mark {
    transform: scale(1.1);
}

.logo-name {
    font-family: var(--font-body);
    font-size: 1.2rem;
    line-height: 1;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: 0.2px;
    white-space: nowrap;
}

.nav-container .logo-name-word {
    display: inline-block;
    opacity: 0;
    transform: translateX(-16px);
    animation: logoNameSlide 6.5s ease-in-out infinite;
}

.nav-container .logo-name-word:nth-child(1) { animation-delay: 0s; }
.nav-container .logo-name-word:nth-child(2) { animation-delay: 0.15s; }
.nav-container .logo-name-word:nth-child(3) { animation-delay: 0.3s; }
.nav-container .logo-name-word:nth-child(4) { animation-delay: 0.45s; }

@keyframes logoNameSlide {
    0% { transform: translateX(-16px); opacity: 0; }
    10% { transform: translateX(0); opacity: 1; }
    50% { transform: translateX(0); opacity: 1; }
    60% { transform: translateX(-16px); opacity: 0; }
    100% { transform: translateX(-16px); opacity: 0; }
}

.logo-name-accent {
    color: var(--gold);
    font-weight: 700;
}

.nav-social {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.nav-social .nav-social-icon {
    width: 40px;
    height: 40px;
}

.nav-social-icon svg {
    width: 18px;
    height: 18px;
}

.nav-social-icon.social-icon--max svg {
    width: 17px;
    height: 17px;
}


.mobile-nav-actions {
    display: none;
    align-items: center;
    gap: 0.7rem;
}

.nav-call-btn {
    display: none;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-deep) 100%);
    color: var(--white);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
    transition: var(--transition);
}

.nav-call-btn svg {
    width: 18px;
    height: 18px;
}

.nav-call-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.3);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    position: relative;
    z-index: 3;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: var(--header-height-mobile);
    padding-bottom: 60px;
}

.hero-container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr;
    max-width: 1180px;
    margin: 0 auto;
    text-align: center;
    gap: 3rem;
    align-items: center;
}

.hero-container .hero-tags,
.hero-container .hero-buttons {
    justify-content: center;
}

.hero-content {
    padding: 3rem;
    border-radius: 20px;
}

.hero h1 {
    font-family: 'Great Vibes', cursive;
    font-weight: 400;
    font-size: 7.5rem;
    margin-bottom: 1.3rem;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
    line-height: 1.1;
}

.hero-shimmer-word {
    display: inline-block;
    background: linear-gradient(90deg, var(--gold-bright) 0%, #fff 25%, var(--gold-bright) 50%, var(--gold-bright) 100%);
    background-size: 250% auto;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: heroShimmer 4s linear infinite;
}

@keyframes heroShimmer {
    0% { background-position: 200% center; }
    100% { background-position: -50% center; }
}

.hero-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.6rem;
    margin-bottom: 2.2rem;
    position: relative;
    z-index: 5;
}

.hero-tag-wrap {
    position: relative;
    display: inline-flex;
    border-radius: 20px;
}

.hero-tag-wrap.is-animated {
    animation: heroTagGlow 10s ease-in-out infinite;
}

.hero-tag-wrap:nth-child(1).is-animated { animation-delay: 0s; }
.hero-tag-wrap:nth-child(2).is-animated { animation-delay: 0.13s; }
.hero-tag-wrap:nth-child(3).is-animated { animation-delay: 0.26s; }

@keyframes heroTagGlow {
    0%, 100% { box-shadow: 0 0 0 0 rgba(201, 162, 39, 0); }
    5%, 25% { box-shadow: 0 0 22px 4px rgba(201, 162, 39, 0.55); }
    35%, 100% { box-shadow: 0 0 0 0 rgba(201, 162, 39, 0); }
}

.hero-tag-dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    --shift: 0px;
    transform: translateX(calc(-50% + var(--shift))) translateY(6px) scale(0.92);
    transform-origin: top center;
    display: flex;
    flex-direction: column;
    width: max-content;
    max-width: 280px;
    min-width: 250px;
    background: rgba(4, 30, 66, 0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--gold-border-subtle);
    border-radius: 14px;
    padding: 0.7rem;
    margin-top: 14px;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), visibility 0.4s;
    text-align: left;
    z-index: 30;
}

.hero-tag-dropdown::before {
    content: '';
    position: absolute;
    top: -6px;
    left: calc(50% - var(--shift));
    width: 12px;
    height: 12px;
    background: rgba(4, 30, 66, 0.97);
    border-left: 1px solid var(--gold-border-subtle);
    border-top: 1px solid var(--gold-border-subtle);
    transform: translateX(-50%) rotate(45deg);
    border-radius: 3px 0 0 0;
}

.hero-tag-dropdown.is-shifted::before {
    display: none;
}

.hero-tag-wrap.open .hero-tag-dropdown {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(calc(-50% + var(--shift))) translateY(0) scale(1);
}

.hero-tag-dropdown-title {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: var(--gold);
    padding: 0.4rem 0.7rem 0.6rem;
}

.hero-tag-dropdown a {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    padding: 0.65rem 0.7rem;
    border-radius: 8px;
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--text-secondary);
    opacity: 0;
    transform: translateX(-8px);
    transition: background 0.2s ease, color 0.2s ease, opacity 0.25s ease, transform 0.25s ease, padding-left 0.2s ease;
}

.hero-tag-dropdown a::before {
    content: '';
    width: 4px;
    height: 4px;
    margin-top: 0.6em;
    flex-shrink: 0;
    border-radius: 50%;
    background: currentColor;
    opacity: 0.6;
}

.hero-tag-wrap.open .hero-tag-dropdown a:nth-child(2) { opacity: 1; transform: translateX(0); transition-delay: 0.05s; }
.hero-tag-wrap.open .hero-tag-dropdown a:nth-child(3) { opacity: 1; transform: translateX(0); transition-delay: 0.09s; }
.hero-tag-wrap.open .hero-tag-dropdown a:nth-child(4) { opacity: 1; transform: translateX(0); transition-delay: 0.13s; }
.hero-tag-wrap.open .hero-tag-dropdown a:nth-child(5) { opacity: 1; transform: translateX(0); transition-delay: 0.17s; }

.hero-tag-dropdown a:hover,
.hero-tag-dropdown a:focus-visible {
    background: var(--gold-soft);
    color: var(--gold-bright);
    padding-left: 1rem;
    outline: none;
}

.hero-tag-dropdown a.is-picked {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-deep) 100%) !important;
    color: var(--white) !important;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    font-family: inherit;
    font-size: 0.88rem;
    font-weight: 600;
    letter-spacing: 0.2px;
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.03);
    padding: 9px 14px 9px 16px;
    border-radius: 20px;
    border: 1px solid transparent;
    appearance: none;
    -webkit-appearance: none;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 3px 0 rgba(0, 0, 0, 0.22), 0 4px 10px rgba(0, 0, 0, 0.18);
    transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.hero-tag:hover {
    border-color: var(--gold);
    background: var(--gold-soft);
    color: var(--gold-bright);
    transform: translateY(-5px);
    box-shadow: 0 8px 0 rgba(0, 0, 0, 0.22), 0 10px 18px rgba(201, 162, 39, 0.22);
}

.hero-tag:active {
    transform: translateY(1px);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.22), 0 2px 6px rgba(0, 0, 0, 0.2);
}

.hero-tag-wrap.open .hero-tag {
    border-color: var(--gold);
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-deep) 100%);
    color: var(--white);
    transform: translateY(1px);
    box-shadow: 0 1px 0 rgba(166, 133, 29, 0.6), 0 4px 14px rgba(201, 162, 39, 0.4);
}

.hero-tag--accent {
    color: var(--white);
    background: rgba(255, 255, 255, 0.06);
}

.tag-icon {
    width: 15px;
    height: 15px;
    flex-shrink: 0;
    margin-right: 6px;
    pointer-events: none;
}

.tag-chevron {
    width: 12px;
    height: 12px;
    flex-shrink: 0;
    margin-left: 7px;
    opacity: 0.55;
    pointer-events: none;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.2s ease;
}

.hero-tag-wrap.open .tag-chevron {
    transform: rotate(180deg);
    opacity: 1;
}

.tag-ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.55);
    transform: scale(0);
    opacity: 0.55;
    pointer-events: none;
    animation: tagRippleOut 0.6s ease-out forwards;
}

@keyframes tagRippleOut {
    to {
        transform: scale(1);
        opacity: 0;
    }
}

@keyframes tagHintPulse {
    0%, 100% {
        box-shadow: 0 3px 0 rgba(0, 0, 0, 0.22), 0 4px 10px rgba(0, 0, 0, 0.18), 0 0 0 0 rgba(201, 162, 39, 0.55);
    }
    50% {
        box-shadow: 0 3px 0 rgba(0, 0, 0, 0.22), 0 4px 10px rgba(0, 0, 0, 0.18), 0 0 0 9px rgba(201, 162, 39, 0);
    }
}

.hero-tag.hint-pulse {
    animation: tagHintPulse 1.1s ease-out 2;
}

.hero-buttons {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.hero-buttons .btn {
    font-size: 1.05rem;
    padding: 14px 30px;
}

.hero-phone-btn {
    display: inline-flex;
    align-items: center;
    height: 57px;
    width: 57px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-deep) 100%);
    color: var(--white);
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
    transition: width 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.3s ease;
    white-space: nowrap;
    flex-shrink: 0;
}

.hero-phone-btn:hover {
    width: 199px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.3);
}

.hero-phone-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 57px;
    height: 57px;
    flex-shrink: 0;
}

.hero-phone-icon svg {
    width: 20px;
    height: 20px;
}

.hero-phone-number {
    font-size: 0.9rem;
    line-height: 1;
    font-weight: 700;
    padding-right: 1.3rem;
}

.hero-cta-hint {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    padding: 0.7rem 1.2rem;
    border-radius: 999px;
    background: rgba(4, 30, 66, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    animation: heroCtaPulse 2.2s ease-in-out infinite;
    margin-bottom: 44px;
}

.hero-cta-text {
    letter-spacing: 0.2px;
}

.hero-cta-arrow {
    display: inline-flex;
    color: var(--gold-bright);
    animation: heroCtaArrowBounce 1.6s ease-in-out infinite;
}

.hero-cta-arrow svg {
    width: 22px;
    height: 22px;
}

@keyframes heroCtaPulse {
    0%, 100% { opacity: 0.9; transform: translateY(0); }
    50% { opacity: 1; transform: translateY(-3px); }
}

@keyframes heroCtaArrowBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(6px); }
}


.hero-photo-card {
    padding: 1.1rem;
    border-radius: 20px;
    position: relative;
}

.hero-photo-inner {
    border-radius: 14px;
    overflow: hidden;
}

.hero-photo {
    width: 100%;
    height: 460px;
    object-fit: cover;
    object-position: center 20%;
    display: block;
    border-radius: 14px;
}

.hero-photo-badge {
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-deep) 100%);
    color: var(--white);
    padding: 10px 28px;
    border-radius: 999px;
    text-align: center;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35), 0 0 20px rgba(201, 162, 39, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.25);
    white-space: nowrap;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
}

.hero-photo-badge:hover {
    transform: translateX(-50%) translateY(-3px);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.4), 0 0 26px rgba(201, 162, 39, 0.4);
}

.hero-badge-title {
    display: block;
    font-weight: 700;
    font-size: 0.92rem;
    margin-bottom: 0.15rem;
}

.hero-badge-subtitle {
    display: block;
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

/* ==========================================================================
   Trust strip — floating stat band bridging hero and about
   ========================================================================== */
.trust-strip {
    position: relative;
    z-index: 2;
}

.trust-strip-inner {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.2rem;
}

.trust-benefits {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.2rem;
    padding-top: 1.2rem;
}

.trust-item--full {
    grid-column: 1 / -1;
}

.trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 0.6rem;
    min-height: 170px;
    padding: 2rem 1.4rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(4, 30, 66, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: var(--transition);
}

.trust-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: transparent;
    border: 1.5px solid var(--gold-border-subtle);
    color: var(--gold);
    margin-bottom: 0.2rem;
    transition: var(--transition);
}

.trust-icon svg {
    width: 24px;
    height: 24px;
}

.trust-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.3);
    border-color: var(--gold-border-subtle);
}

.trust-item:hover .trust-icon {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--white);
    transform: translateY(-2px) scale(1.08);
    box-shadow: 0 8px 18px rgba(201, 162, 39, 0.35);
}

.trust-num {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--text-primary);
    text-shadow: 0 1px 8px rgba(255, 255, 255, 0.5);
}

.trust-label {
    font-size: 0.85rem;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 0.6px;
    font-weight: 600;
    line-height: 1.35;
}

/* ==========================================================================
   About Section
   ========================================================================== */
.about {
    padding: 7.5rem 0 5.5rem;
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 3rem;
    align-items: center;
}

.about-photo-card {
    padding: 1.1rem;
    border-radius: 20px;
    position: relative;
}

.about-photo-inner {
    border-radius: 14px;
    overflow: hidden;
}

.about-photo {
    width: 100%;
    height: 460px;
    object-fit: cover;
    object-position: center 20%;
    display: block;
    border-radius: 14px;
}

.about-text {
    padding: 2.8rem;
    border-radius: 20px;
}

.about-text h2 {
    font-size: 2.3rem;
    margin-bottom: 0.4rem;
}

.about-text h3 {
    font-size: 1.15rem;
    color: var(--gold);
    margin-bottom: 1.3rem;
    font-family: var(--font-body);
    font-weight: 500;
}

.about-text p {
    color: var(--text-primary);
    margin-bottom: 1.2rem;
    font-size: 1.02rem;
}

.about-principle {
    font-family: var(--font-heading);
    font-style: italic;
    color: var(--text-primary) !important;
    font-size: 1.15rem !important;
    padding-left: 1.2rem;
    border-left: 2px solid var(--gold);
    margin-top: 1.6rem !important;
}

/* ==========================================================================
   Services Section
   ========================================================================== */
.services {
    padding: 5.5rem 0;
}

.services-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.2rem;
}

.service-row {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.2rem;
    min-height: 280px;
    padding: 2.2rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(4, 30, 66, 0.55);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    transition: var(--transition);
}

.service-row:hover {
    background: rgba(10, 47, 92, 0.65);
    border-color: var(--gold-border-subtle);
    transform: translateY(-4px);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.25);
}

.service-row--accent {
    border-color: var(--gold-border-subtle);
}

.service-row-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--gold);
    background: linear-gradient(135deg, rgba(139, 165, 196, 0.18), rgba(201, 162, 39, 0.18));
    border: 1px solid var(--gold-border-subtle);
    transition: var(--transition);
}

.service-row:hover .service-row-icon {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-deep) 100%);
    color: var(--white);
    border-color: transparent;
    transform: scale(1.08);
    box-shadow: 0 8px 20px rgba(201, 162, 39, 0.35);
}

.service-row-body {
    flex: 1;
    min-width: 0;
    width: 100%;
}

.service-row-body h3 {
    font-size: 1.2rem;
    margin-bottom: 0.6rem;
    line-height: 1.35;
}

.service-row-body p {
    color: var(--text-primary);
    font-size: 0.98rem;
    line-height: 1.55;
}

.service-row-badge {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--gold);
    background: transparent;
    border: 1px solid var(--gold-border-subtle);
    padding: 2px 9px;
    border-radius: 20px;
    vertical-align: middle;
    margin: 0.3rem 0 0;
}

.service-row-arrow {
    flex-shrink: 0;
    align-self: flex-end;
    margin-top: auto;
    color: var(--text-muted);
    transition: var(--transition);
    width: 22px;
    height: 22px;
}

.service-row:hover .service-row-arrow {
    color: var(--text-primary);
    transform: translateX(4px);
}

/* ==========================================================================
   Process Section
   ========================================================================== */
.process {
    padding: 5.5rem 0;
    overflow-y: hidden;
}

.process-track {
    position: relative;
    max-width: 900px;
    height: 4px;
    margin: 0 auto 3rem;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.12);
}

.process-track-fill {
    display: block;
    height: 100%;
    width: 25%;
    border-radius: 4px;
    background: linear-gradient(90deg, var(--gold-deep), var(--gold-bright));
    transition: width 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.process-track-point {
    position: absolute;
    top: 50%;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--indigo-bg);
    border: 2px solid var(--gold-border-subtle);
    transform: translate(-50%, -50%);
    z-index: 1;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.6rem;
}

.process-step {
    padding: 2rem 1.6rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(4, 30, 66, 0.55);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    cursor: pointer;
    touch-action: manipulation;
}

.process-steps .process-step {
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), border-color 0.4s ease, box-shadow 0.4s ease;
}

.process-steps .process-step.active {
    transform: translateY(-6px) scale(1.03);
    border-color: var(--gold-border-subtle);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.3);
}

.process-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: var(--gold-soft);
    color: var(--gold);
    margin-bottom: 1rem;
    transition: var(--transition);
}

.process-icon svg {
    width: 20px;
    height: 20px;
}

.process-steps .process-step.active .process-icon {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-deep) 100%);
    color: var(--white);
}

.process-num {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 0.8rem;
    transition: color 0.4s ease;
}

.process-step.active .process-num {
    color: var(--gold-bright);
}

.process-step h3 {
    font-size: 1.05rem;
    margin-bottom: 0.6rem;
}

.process-step p {
    color: var(--text-primary);
    font-size: 0.92rem;
}

.process-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.4rem;
    margin-top: 2.8rem;
}

.process-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--gold-border-subtle);
    background: transparent;
    color: var(--white);
    cursor: pointer;
    transition: var(--transition);
    flex-shrink: 0;
}

.process-arrow svg {
    width: 18px;
    height: 18px;
}

.process-arrow:hover {
    background: var(--gold-soft);
    border-color: var(--gold);
    color: var(--gold-bright);
    transform: scale(1.08);
}

.process-nav-dots {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.process-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: var(--transition);
}

.process-dot:hover {
    background: rgba(255, 255, 255, 0.5);
}

.process-dot.active {
    background: var(--gold);
    width: 26px;
    border-radius: 5px;
}

/* ==========================================================================
   Reviews Section
   ========================================================================== */
.reviews {
    padding: 5.5rem 0;
}

.reviews-slider {
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
}

.reviews-track {
    display: flex;
    gap: 1.6rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding-bottom: 0.5rem;
    scrollbar-width: none;
}

.reviews-track::-webkit-scrollbar {
    display: none;
}

.review-card {
    flex: 0 0 calc(50% - 0.8rem);
    scroll-snap-align: start;
}

@media (max-width: 768px) {
    .review-card {
        flex: 0 0 85%;
    }
}

.reviews-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: rgba(4, 30, 66, 0.85);
    color: var(--white);
    cursor: pointer;
    transition: var(--transition);
    backdrop-filter: blur(6px);
}

.reviews-arrow:hover {
    background: var(--gold-soft);
    border-color: var(--gold);
    color: var(--gold-bright);
    transform: translateY(-50%) scale(1.08);
}

.reviews-arrow svg {
    width: 18px;
    height: 18px;
}

.reviews-arrow--prev {
    left: -20px;
}

.reviews-arrow--next {
    right: -20px;
}

@media (max-width: 768px) {
    .reviews-arrow--prev {
        left: 8px;
    }
    .reviews-arrow--next {
        right: 8px;
    }
}

.review-card {
    display: flex;
    flex-direction: column;
    padding: 2.4rem;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: #0b1c3a;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.review-card:hover {
    border-color: var(--gold-border-subtle);
    transform: translateY(-4px);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.25);
}

.review-card--featured {
    border-color: rgba(255, 215, 0, 0.35);
    background: #0f2240;
}

.review-card--featured .review-stars {
    font-size: 1.25rem;
    margin-bottom: 1.2rem;
}

.review-case-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    border: 1px solid var(--gold-border-subtle);
    background: rgba(255, 215, 0, 0.12);
    color: var(--gold);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 0.9rem;
}

.review-card--featured .review-text {
    font-size: 1.1rem;
    line-height: 1.75;
}

.review-card--featured .review-author {
    border-top-color: rgba(255, 215, 0, 0.25);
}

.review-stars {
    color: var(--gold);
    letter-spacing: 2px;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.review-text {
    color: var(--text-primary);
    font-size: 1.02rem;
    line-height: 1.7;
    margin-bottom: 1.6rem;
    flex: 1;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding-top: 1.2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.review-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    flex-shrink: 0;
    background: var(--gold-soft);
    color: var(--gold);
    border: 1px solid var(--gold-border-subtle);
}

.review-avatar svg {
    width: 17px;
    height: 17px;
}

.review-author-name {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: 0.2px;
}

/* ==========================================================================
   FAQ Section
   ========================================================================== */
.faq {
    padding: 5.5rem 0;
}

.faq-list {
    max-width: 780px;
    margin: 0 auto;
    padding: 0.6rem 2rem;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(4, 30, 66, 0.55);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.faq-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.2rem;
    padding: 1.4rem 0.2rem;
    background: none;
    border: none;
    text-align: left;
    font-family: var(--font-body);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    transition: var(--transition);
}

.faq-question:hover {
    color: var(--gold);
}

.faq-toggle-icon {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    color: var(--gold);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle-icon {
    transform: rotate(45deg);
}

.faq-answer {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.35s ease;
}

.faq-item.active .faq-answer {
    grid-template-rows: 1fr;
}

.faq-answer-inner {
    overflow: hidden;
}

.faq-answer p {
    padding: 0 0.2rem 1.4rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.65;
    max-width: 65ch;
}

/* ==========================================================================
   Contact Section
   ========================================================================== */
.contact {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 6rem 0;
}

.contact-wrapper {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 2.5rem;
}

.contact-info {
    padding: 3rem 2.6rem;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: none;
    background: rgba(4, 30, 66, 0.55);
    backdrop-filter: blur(6px);
}

.contact-lead {
    width: 100%;
    padding-bottom: 0.6rem;
    margin-bottom: 2.8rem;
}

.contact-lead-profile {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    margin-bottom: 1rem;
}

.contact-lead-avatar {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center 20%;
    border: 2px solid var(--gold);
    flex-shrink: 0;
}

.contact-profile-role {
    color: var(--gold);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.contact-subtitle {
    color: var(--text-primary);
    margin-bottom: 2.2rem;
    font-size: 1.02rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1.1rem;
    padding: 1.1rem 1.4rem;
    border-radius: 12px;
    transition: var(--transition);
}

.contact-item:hover {
    background: rgba(255, 255, 255, 0.04);
}

.contact-icon {
    font-size: 1.4rem;
}

.contact-item h4 {
    font-family: var(--font-body);
    font-size: 0.8rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 0.1rem;
    font-weight: 600;
}

.contact-item p {
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--text-primary);
}

.contact-item a {
    color: var(--text-primary);
}

.contact-item a:hover {
    color: var(--gold);
}

.contact-item-link {
    display: flex;
    align-items: center;
    gap: 1.1rem;
    text-decoration: none;
    color: inherit;
    width: 100%;
}

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

.small-text {
    font-size: 0.82rem !important;
    color: var(--text-muted) !important;
    font-weight: 400 !important;
}

.contact-map {
    margin-top: 1.6rem;
}

.contact-map-frame {
    display: block;
    width: 100%;
    height: 240px;
    border: 1px solid var(--gold-border-subtle);
    border-radius: 14px;
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.3);
}

.contact-map-link {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-top: 0.9rem;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--gold);
}

.contact-map-link svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

.contact-map-link:hover {
    color: var(--gold-bright);
}

/* Contact Form */
.contact-form {
    display: flex;
    flex-direction: column;
    padding: 3rem 2.6rem;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: none;
    background: rgba(4, 30, 66, 0.55);
    backdrop-filter: blur(6px);
}

.contact-form form {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.contact-form .form-group:has(textarea) {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.contact-form .form-group:has(textarea) textarea {
    flex: 1;
    min-height: 120px;
}

.form-heading {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 1.7rem;
    margin-bottom: 0.4rem;
}

.form-heading-icon {
    font-size: 1.5rem;
    line-height: 1;
    animation: wave 2.5s ease-in-out infinite;
    transform-origin: 70% 70%;
}

@keyframes wave {
    0%, 60%, 100% { transform: rotate(0deg); }
    10% { transform: rotate(14deg); }
    20% { transform: rotate(-8deg); }
    30% { transform: rotate(14deg); }
    40% { transform: rotate(-4deg); }
    50% { transform: rotate(10deg); }
}

.form-heading-sub {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 1.6rem;
}

.form-group {
    margin-bottom: 1.4rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.55rem;
    font-size: 0.88rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 13px 16px;
    background-color: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

#consultation-form .btn-block {
    margin-top: 0.6rem;
    padding: 20px 28px;
    font-size: 1.1rem;
    letter-spacing: 0.4px;
    border-radius: 12px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold);
    background-color: rgba(255, 255, 255, 0.14);
    box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.2);
}

.form-group select option {
    background-color: var(--white);
    color: var(--text-inverse);
}

/* ==========================================================================
   Footer
   ========================================================================== */
footer {
    color: var(--text-muted);
    padding: 4.5rem 0 0;
    font-size: 0.9rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-top {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 3rem;
    padding-bottom: 3rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 1rem;
}

.footer-logo .logo-mark {
    width: 34px;
}

.footer-logo .logo-name {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
}

.footer-tagline {
    max-width: 32ch;
    line-height: 1.6;
    margin-bottom: 1.4rem;
}

.footer-nav,
.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.footer-nav h4,
.footer-contact h4 {
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--text-primary);
    margin-bottom: 0.3rem;
}

.footer-nav a,
.footer-contact a,
.footer-contact span {
    color: var(--text-muted);
    font-size: 0.92rem;
}

.footer-nav a:hover,
.footer-contact a:hover {
    color: var(--gold);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    padding: 1.6rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-social {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    margin-top: 1rem;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: var(--white);
    flex-shrink: 0;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transition: var(--transition);
}

.social-icon svg {
    width: 22px;
    height: 22px;
}

.social-badge-text {
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.2px;
}

.social-icon:hover {
    transform: scale(1.1);
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.social-icon--whatsapp { background: #25d366; }
.social-icon--telegram { background: #26a5e4; }
.social-icon--vk { background: #0077ff; }
.social-icon--max { background: linear-gradient(135deg, #4a90e2, #9b59d6); }

.social-icon--max svg {
    width: 20px;
    height: 20px;
}

.copyright {
    color: var(--text-secondary);
}

.footer-links {
    display: flex;
    gap: 1.4rem;
}

.footer-links a {
    color: var(--text-secondary);
}

.footer-links a:hover {
    color: var(--text-primary);
}

/* ==========================================================================
   Animations
   ========================================================================== */
.fade-in-up {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s cubic-bezier(0.25, 0.8, 0.25, 1), transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
    will-change: opacity, transform;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.12s; }
.delay-2 { transition-delay: 0.24s; }
.delay-3 { transition-delay: 0.36s; }

/* ==========================================================================
   Responsive Design
   ========================================================================== */
@media (min-width: 769px) {
    .hero {
        padding-top: var(--header-height-desktop);
    }

    .trust-strip-inner {
        margin-top: -64px;
    }
}

@media (max-width: 992px) {
    .hero-container,
    .about-container,
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 2.2rem;
    }

    .hero h1 {
        font-size: 3.5rem;
    }

    .hero-photo,
    .about-photo {
        height: 380px;
    }

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

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

    .footer-top {
        grid-template-columns: 1fr 1fr;
        row-gap: 2.5rem;
    }

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

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

    .trust-benefits {
        grid-template-columns: 1fr;
    }

    .trust-item {
        border-right: none;
        border-bottom: 1px solid var(--medium-gray);
    }

    .trust-item:nth-child(2n) {
        border-right: none;
    }

    .trust-item:nth-last-child(-n+2) {
        border-bottom: none;
    }
}

@media (max-width: 768px) {
    .nav-links-wrapper {
        display: none;
    }

    .nav-call-btn {
        display: inline-flex;
    }

    .logo-name {
        font-size: 0.85rem;
        letter-spacing: 0.1px;
    }

    .logo-mark {
        width: 44px;
    }

    .hero h1 {
        font-size: 2.8rem;
    }

    .hero {
        justify-content: flex-start;
    }

    .hero-content,
    .contact-form,
    .contact-info,
    .about-text {
        padding: 1.8rem 1.4rem;
    }

    .review-card,
    .process-step {
        padding: 1.6rem 1.3rem;
    }

    .service-row {
        padding: 1.1rem 1.3rem;
        gap: 0.9rem;
    }

    .service-row-icon {
        width: 38px;
        height: 38px;
    }

    .services,
    .process,
    .reviews,
    .about {
        padding: 3.5rem 0;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .process-steps {
        display: flex;
        grid-template-columns: none;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        touch-action: pan-x;
        scroll-snap-type: x mandatory;
        gap: 1.2rem;
        margin: 0 -20px;
        padding: 0.5rem 20px 0.75rem;
        scrollbar-width: none;
    }

    .process-steps::-webkit-scrollbar {
        display: none;
    }

    .process-step {
        flex: 0 0 82%;
        scroll-snap-align: center;
        touch-action: pan-x;
    }

    .services-list {
        grid-template-columns: 1fr;
    }

    .trust-strip-inner {
        grid-template-columns: 1fr;
    }

    .trust-item {
        border-right: none;
        border-bottom: none;
    }

    .footer-top {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-brand {
        align-items: center;
    }

    .footer-bottom {
        justify-content: center;
        text-align: center;
    }

    .contact-info,
    .contact-form {
        padding: 1.8rem 1.2rem;
    }

    #consultation-form .btn-block {
        padding: 14px 18px;
        font-size: 1rem;
        border-radius: 10px;
    }

    .footer-container {
        flex-direction: column;
        text-align: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    .tag-ripple,
    .hero-tag.hint-pulse {
        animation: none !important;
    }

    .hero-tag,
    .hero-tag-dropdown,
    .hero-tag-dropdown a,
    .tag-chevron {
        transition-duration: 0.01ms !important;
    }
}
