
:root {
    --dark-bg: #0C0F15;
    --darker-bg: #10131A;
    --card-bg: #1a1f2a;
    --card-bg-hover: #222a38;
    --accent: #4a8fe7;
    --accent-hover: #6ba7ff;
    --accent-glow: rgba(74, 143, 231, 0.25);
    --text-primary: #ffffff;
    --text-secondary: #8a9bb5;
    --text-muted: #5a6a80;
    --border-color: rgba(255, 255, 255, 0.08);
    --border-light: rgba(255, 255, 255, 0.15);
    --border-radius: 12px;
    --transition: all 0.3s ease;
    --brand-blue: #a8d0ff;
    --scrollbar-width: 10px;
    --navbar-height: 60px;
}

::-webkit-scrollbar {
    width: var(--scrollbar-width);
}
::-webkit-scrollbar-track {
    background: var(--darker-bg);
}
::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, var(--accent), #2a73d6);
    border-radius: 10px;
    border: 2px solid var(--darker-bg);
}
::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(to bottom, var(--accent-hover), #3a83e6);
}
html {
    scrollbar-width: thin;
    scrollbar-color: var(--accent) var(--darker-bg);
}

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}
body {
    background-color: var(--dark-bg);
    color: var(--text-primary);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    background-image:
        radial-gradient(circle at 10% 20%, rgba(30, 60, 100, 0.15) 0%, transparent 25%),
        radial-gradient(circle at 90% 80%, rgba(30, 80, 120, 0.15) 0%, transparent 25%);
}
a {
    color: inherit;
    text-decoration: none;
}
ul, ol {
    list-style: none;
}
img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

header {
    position: fixed;
    top: 20px;
    width: 100%;
    z-index: 1000;
    display: flex;
    justify-content: center;
    padding: 0 20px;
    transition: top 0.3s ease;
}

.nav-container {
    display: flex;
    flex-direction: column;
    width: calc(100% - 30px);
    max-width: 1250px;
    min-height: var(--navbar-height);
    padding: 0 25px;
    border-radius: 100px;
    border: 1px solid var(--border-light);
    background: rgba(31, 31, 31, 0.3);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    position: relative;
    z-index: 1000;
    margin: 0 auto;
    overflow: hidden;
    transition: border-radius 0.3s ease, max-height 0.4s ease;
}

.nav-top-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    min-height: var(--navbar-height);
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    position: relative;
    z-index: 10;
    transition: opacity 0.3s;
}
.logo:hover {
    opacity: 0.8;
}
.logo-img {
    height: 44px;
    width: auto;
}
.logo-text {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: 1px;
}
.logo-text .brand-highlight {
    color: var(--brand-blue);
}

.nav-menu {
    display: flex;
    gap: 50px;
    justify-content: center;
    flex: 1;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}
.nav-link {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: var(--transition);
    position: relative;
    padding: 8px 0;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 8px;
}
.nav-link:hover {
    color: var(--accent);
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: var(--transition);
}
.nav-link:hover::after {
    width: 100%;
}
.nav-link svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 10;
}
.nav-contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--accent);
    color: white;
    border: none;
    padding: 10px 22px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    white-space: nowrap;
}
.nav-contact-btn:hover {
    background: var(--accent-hover);
    box-shadow: 0 4px 20px var(--accent-glow);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    z-index: 10;
    width: 38px;
    height: 38px;
    border-radius: 8px;
    transition: background 0.2s ease;
}
.menu-toggle:hover { background: rgba(74,143,231,0.1); }
.menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: transform 0.35s cubic-bezier(0.23, 1, 0.32, 1),
                opacity 0.2s ease,
                width 0.3s ease;
    transform-origin: center;
}
.menu-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.menu-toggle.active span:nth-child(2) {
    opacity: 0;
    width: 0;
}
.menu-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 140px 0 120px;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse at 70% 30%, rgba(74, 143, 231, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 20% 80%, rgba(74, 143, 231, 0.05) 0%, transparent 50%);
    pointer-events: none;
}
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
}
.hero-subtitle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 24px;
    padding: 6px 16px;
    background: rgba(74, 143, 231, 0.1);
    border: 1px solid rgba(74, 143, 231, 0.2);
    border-radius: 20px;
    animation: fadeInUp 0.6s ease both;
}
.hero-subtitle-dot {
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
    animation: pulse 2s infinite;
}
.hero-title {
    font-size: clamp(28px, 4vw, 48px);
    font-weight: 800;
    line-height: 1.3;
    color: var(--text-primary);
    margin-bottom: 24px;
    text-shadow: 4px 4px 0 rgba(74, 143, 231, 0.1);
    animation: fadeInUp 0.6s 0.1s ease both;
}
.hero-title .brand-highlight {
    color: var(--brand-blue);
}
.hero-description {
    font-size: 17px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 40px;
    max-width: 560px;
    animation: fadeInUp 0.6s 0.2s ease both;
}
.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    animation: fadeInUp 0.6s 0.3s ease both;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--accent);
    color: white;
    border: none;
    padding: 14px 32px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}
.cta-button:hover {
    background: var(--accent-hover);
    box-shadow: 0 8px 30px var(--accent-glow);
    transform: translateY(-2px);
}
.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-light);
    padding: 14px 32px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}
.btn-secondary:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: rgba(74, 143, 231, 0.05);
}

.stats-panel {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: -40px auto 0;
    padding: 0 20px;
}
.stats-panel-inner {
    display: flex;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    overflow: hidden;
}
.stats-panel-item {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 28px 32px;
    border-right: 1px solid var(--border-color);
    transition: background 0.3s;
}
.stats-panel-item:last-child {
    border-right: none;
}
.stats-panel-item:hover {
    background: rgba(74, 143, 231, 0.04);
}
.stats-panel-icon {
    width: 48px;
    height: 48px;
    background: rgba(74, 143, 231, 0.1);
    border: 1px solid rgba(74, 143, 231, 0.2);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.stats-panel-icon svg {
    width: 22px;
    height: 22px;
    color: var(--accent);
}
.stats-panel-content {
    display: flex;
    flex-direction: column;
}
.stats-panel-number {
    font-size: 26px;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.2;
}
.stats-panel-label {
    font-size: 13px;
    color: var(--text-secondary);
    font-weight: 500;
    margin-top: 2px;
}

.stats-panel-indicators {
    display: none;
    gap: 8px;
    justify-content: center;
    margin-bottom: 16px;
}
.indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: var(--transition);
}
.indicator.active {
    background: var(--accent);
    width: 24px;
    border-radius: 4px;
}

.section {
    padding: 100px 0;
    position: relative;
}
.section-title {
    font-size: clamp(22px, 3vw, 32px);
    font-weight: 800;
    color: var(--text-primary);
    text-align: center;
    margin-bottom: 12px;
}
.section-subtitle {
    font-size: 16px;
    color: var(--text-secondary);
    text-align: center;
    max-width: 560px;
    margin: 0 auto 60px;
    line-height: 1.7;
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.highlight-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}
.highlight-card:hover {
    border-color: rgba(74, 143, 231, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}
.highlight-media {
    width: 100%;
    aspect-ratio: 16 / 10;
    background: linear-gradient(135deg, #141a24 0%, #1a2235 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}
.highlight-media .service-emoji {
    font-size: 52px;
    filter: drop-shadow(0 4px 12px rgba(0,0,0,0.3));
}
.highlight-media .svc-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 12px;
    transition: transform 0.35s ease;
}
.highlight-card:hover .svc-img {
    transform: scale(1.06);
}
.highlight-content {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.highlight-kicker {
    font-size: 11px;
    font-weight: 700;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 8px;
}
.highlight-title {
    font-size: 17px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
    line-height: 1.4;
}
.highlight-description {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
    flex: 1;
}
.highlight-price {
    margin-top: 16px;
    font-size: 14px;
    font-weight: 700;
    color: var(--accent);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: rgba(74, 143, 231, 0.1);
    border: 1px solid rgba(74, 143, 231, 0.2);
    border-radius: 6px;
    align-self: flex-start;
}

.portfolio-preview-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 48px;
    margin-top: 16px;
}
.portfolio-preview-items {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr 1fr;
    gap: 12px;
    height: 320px;
}
.ppi {
    background: linear-gradient(135deg, #141a24, #1a2235);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    transition: var(--transition);
}
.ppi:hover { border-color: rgba(74,143,231,0.35); transform: scale(1.04); }
.ppi-1 { grid-column: span 2; font-size: 44px; }
.ppi-4 { background: linear-gradient(135deg, #141a14, #0e1410); }
.ppi-5 { background: linear-gradient(135deg, #0a0f1a, #060a14); }

.portfolio-preview-badge {
    display: inline-block;
    background: rgba(74,143,231,0.1);
    border: 1px solid rgba(74,143,231,0.25);
    border-radius: 100px;
    padding: 5px 14px;
    font-size: 12px;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 20px;
}
.portfolio-preview-title {
    font-size: 28px;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.3;
    margin-bottom: 14px;
}
.portfolio-preview-desc {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 28px;
}
.portfolio-preview-stats {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 32px;
}
.pps-item { display: flex; flex-direction: column; gap: 4px; }
.pps-num { font-size: 22px; font-weight: 800; color: var(--text-primary); }
.pps-label { font-size: 12px; color: var(--text-muted); font-weight: 500; }
.pps-divider { width: 1px; height: 36px; background: var(--border-color); }

@media (max-width: 800px) {
    .portfolio-preview-block { grid-template-columns: 1fr; padding: 28px; gap: 28px; }
    .portfolio-preview-items { height: 200px; }
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.portfolio-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: var(--transition);
}
.portfolio-card:hover {
    border-color: rgba(74, 143, 231, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}
.portfolio-card.featured {
    grid-column: span 2;
}
.portfolio-img {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: linear-gradient(135deg, #141a24 0%, #1a2235 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    overflow: hidden;
}
.portfolio-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.portfolio-info {
    padding: 20px 24px;
}
.portfolio-tag {
    font-size: 11px;
    font-weight: 700;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 8px;
}
.portfolio-name {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}
.portfolio-desc {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    position: relative;
}
.process-grid::before {
    content: '';
    position: absolute;
    top: 50px;
    left: 60px;
    right: 60px;
    height: 2px;
    background: linear-gradient(90deg, var(--accent) 0%, rgba(74, 143, 231, 0.2) 50%, var(--accent) 100%);
    opacity: 0.3;
}
.process-step {
    text-align: center;
    position: relative;
}
.step-number {
    width: 72px;
    height: 72px;
    background: var(--card-bg);
    border: 2px solid var(--border-color);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 800;
    color: var(--accent);
    margin: 0 auto 20px;
    position: relative;
    z-index: 1;
    transition: var(--transition);
}
.process-step:hover .step-number {
    background: rgba(74, 143, 231, 0.1);
    border-color: var(--accent);
    box-shadow: 0 0 30px var(--accent-glow);
}
.step-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}
.step-desc {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.review-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 28px;
    transition: var(--transition);
    position: relative;
}
.review-card::before {
    content: '"';
    position: absolute;
    top: 16px;
    right: 24px;
    font-size: 48px;
    font-weight: 800;
    color: rgba(74, 143, 231, 0.08);
    line-height: 1;
}
.review-card:hover {
    border-color: rgba(74, 143, 231, 0.3);
}
.review-stars {
    color: #f5a623;
    font-size: 14px;
    margin-bottom: 16px;
    letter-spacing: 2px;
}
.review-text {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
}
.review-author {
    display: flex;
    align-items: center;
    gap: 12px;
}
.review-avatar {
    width: 42px;
    height: 42px;
    background: rgba(74, 143, 231, 0.1);
    border: 1px solid rgba(74, 143, 231, 0.2);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 700;
    color: var(--accent);
}
.review-name {
    font-weight: 700;
    font-size: 15px;
    color: var(--text-primary);
}
.review-role {
    font-size: 13px;
    color: var(--text-muted);
}

.faq-section {
    background: linear-gradient(180deg, transparent 0%, rgba(26, 31, 42, 0.3) 50%, transparent 100%);
}
.faq-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.faq-item {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: var(--transition);
}
.faq-item:hover {
    border-color: rgba(74, 143, 231, 0.2);
}
.faq-item.active {
    border-color: rgba(74, 143, 231, 0.3);
}
.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    cursor: pointer;
    font-weight: 600;
    font-size: 15px;
    color: var(--text-primary);
    transition: var(--transition);
    user-select: none;
}
.faq-question:hover {
    color: var(--accent);
}
.faq-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    transition: transform 0.3s ease;
    color: var(--text-muted);
}
.faq-icon svg {
    width: 16px;
    height: 16px;
}
.faq-item.active .faq-icon {
    transform: rotate(180deg);
    color: var(--accent);
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
    padding: 0 24px;
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
}
.faq-item.active .faq-answer {
    max-height: 300px;
    padding: 0 24px 20px;
}
.faq-answer a {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 3px;
}
.faq-answer a:hover {
    color: var(--accent-hover);
}

.cta-section {
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse at 50% 50%, rgba(74, 143, 231, 0.08) 0%, transparent 60%);
    pointer-events: none;
}
.cta-title {
    font-size: clamp(22px, 3vw, 34px);
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 16px;
    position: relative;
}
.cta-subtitle {
    font-size: 17px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    position: relative;
}
.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
}

footer {
    position: relative;
    overflow: hidden;
    border-top: 1px solid var(--border-color);
    background: var(--darker-bg);
}
.footer-gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(180deg, rgba(74, 143, 231, 0.03) 0%, transparent 100%);
    pointer-events: none;
}
.footer-content {
    position: relative;
    z-index: 2;
    padding: 60px 20px 30px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 50px;
}
.footer-column h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
}
.footer-column p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 280px;
}
.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.footer-links a {
    font-size: 15px;
    color: var(--text-secondary);
    transition: var(--transition);
}
.footer-links a:hover {
    color: var(--accent);
}

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}
.social-link {
    width: 42px;
    height: 42px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: var(--transition);
}
.social-link:hover {
    background: rgba(74, 143, 231, 0.1);
    border-color: var(--accent);
    color: var(--accent);
}
.social-link svg {
    width: 18px;
    height: 18px;
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
    font-size: 13px;
    color: var(--text-muted);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 1024px) {
    .highlights-grid { grid-template-columns: repeat(2, 1fr); }
    .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
    .portfolio-card.featured { grid-column: span 2; }
    .process-grid { grid-template-columns: repeat(2, 1fr); gap: 30px; }
    .process-grid::before { display: none; }
    .reviews-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
    .portfolio-preview-block { gap: 32px; padding: 36px; }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: relative;
        left: 0;
        transform: none;
        flex-direction: column;
        gap: 0;
        width: 100%;
        padding: 10px 0 16px;
        border-top: 1px solid var(--border-color);
        margin-top: 10px;
    }
    .nav-container.menu-open .nav-menu { display: flex; }
    .nav-container.menu-open { border-radius: 20px !important; overflow: visible; }
    .nav-container { overflow: hidden; }
    .nav-link { padding: 13px 0; font-size: 16px; border-bottom: 1px solid rgba(255,255,255,0.04); }
    .nav-link:last-child { border-bottom: none; }
    .menu-toggle { display: flex; }
    .nav-contact-btn { display: none; }
    .lang-switcher { display: none; }

    .hero {
        min-height: unset;
        padding: 110px 0 80px;
    }
    .hero-title { font-size: clamp(24px, 6vw, 36px); }
    .hero-buttons { flex-direction: column; gap: 12px; }
    .cta-button, .btn-secondary { width: 100%; justify-content: center; text-align: center; }

    .stats-panel-inner { flex-direction: column; }
    .stats-panel-item { border-right: none; border-bottom: 1px solid var(--border-color); padding: 20px 24px; }
    .stats-panel-item:last-child { border-bottom: none; }

    .highlights-grid,
    .portfolio-grid,
    .reviews-grid { grid-template-columns: 1fr; }
    .portfolio-card.featured { grid-column: span 1; }
    .process-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 30px; }

    .portfolio-preview-block {
        grid-template-columns: 1fr;
        padding: 24px;
        gap: 24px;
    }
    .portfolio-preview-items { height: 160px; }
    .portfolio-preview-title { font-size: 22px; }

    .highlight-media { aspect-ratio: 4/3; }

    .section { padding: 60px 0; }
    .cta-section { padding: 60px 0; }
    .section-title { font-size: clamp(24px, 5vw, 32px); }

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

@media (max-width: 480px) {
    header { top: 12px; padding: 0 12px; }
    .nav-container { padding: 0 16px; }

    .hero-title { font-size: 22px; }
    .hero-description { font-size: 15px; }
    .hero-buttons { flex-direction: column; }
    .stats-panel { margin-top: 0; }

    .stats-panel-number { font-size: 28px; }

    .highlights-grid { grid-template-columns: 1fr; gap: 14px; }
    .highlight-content { padding: 18px; }
    .highlight-title { font-size: 16px; }

    .portfolio-preview-block { padding: 20px; }
    .portfolio-preview-items { height: 130px; gap: 8px; }
    .portfolio-preview-stats { gap: 16px; }
    .pps-num { font-size: 18px; }

    .step-number { width: 56px; height: 56px; font-size: 18px; }

    .review-card { padding: 20px; }

    .order-input, .order-textarea, .order-select { font-size: 16px; } /* prevents iOS zoom */

    .footer-grid { gap: 24px; }
    .social-links { flex-wrap: wrap; }
}

.lang-switcher {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-right: 10px;
}
.lang-btn {
    background: none;
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 600;
    padding: 5px 9px;
    border-radius: 6px;
    cursor: pointer;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: var(--transition);
}
.lang-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
}
.lang-btn.active {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
}

.service-tags-row {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin: 12px 0 4px;
}
.svc-tag {
    font-size: 11px;
    color: var(--text-secondary);
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    padding: 3px 8px;
    font-weight: 500;
}
.svc-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--accent);
    font-weight: 700;
    font-size: 13px;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 16px;
    transition: gap 0.2s, color 0.2s;
}
.svc-link:hover {
    gap: 12px;
    color: var(--accent-hover);
}

.highlight-content {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.highlight-price {
    margin-top: 12px;
}

.builders-section {
    background: rgba(26, 31, 42, 0.3);
}
.builders-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}
.builder-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: var(--transition);
}
.builder-card:hover {
    border-color: rgba(74, 143, 231, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}
.builder-img-wrap {
    position: relative;
    overflow: hidden;
}
.builder-img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}
.builder-card:hover .builder-img {
    transform: scale(1.04);
}
.builder-img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 55%, rgba(10,13,21,0.7) 100%);
    pointer-events: none;
}

.order-section {
    background: rgba(26, 31, 42, 0.2);
    border-top: 1px solid var(--border-color);
}
.order-form-wrapper {
    max-width: 640px;
    margin: 0 auto;
}
.order-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.order-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.order-label {
    font-size: 12px;
    font-weight: 700;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 1.5px;
}
.order-input,
.order-textarea,
.order-select {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    padding: 14px 18px;
    border-radius: 10px;
    outline: none;
    transition: var(--transition);
    width: 100%;
}
.order-input:focus,
.order-textarea:focus,
.order-select:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-glow);
}
.order-input::placeholder,
.order-textarea::placeholder {
    color: var(--text-muted);
}
.order-textarea {
    min-height: 120px;
    resize: vertical;
    line-height: 1.6;
}
.order-select {
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%238a9bb5' d='M1.41 0L6 4.58 10.59 0 12 1.41l-6 6-6-6z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}
.order-select option {
    background: var(--card-bg);
    color: var(--text-primary);
}
.order-form-btn {
    margin-top: 8px;
    width: 100%;
    justify-content: center;
}
.order-form-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}
.order-msg {
    font-size: 13px;
    padding: 12px 16px;
    border-radius: 8px;
    display: none;
    align-items: center;
    gap: 10px;
}
.order-msg.success {
    display: flex;
    color: #4caf50;
    background: rgba(76, 175, 80, 0.08);
    border: 1px solid rgba(76, 175, 80, 0.25);
}
.order-msg.error {
    display: flex;
    color: #f44336;
    background: rgba(244, 67, 54, 0.08);
    border: 1px solid rgba(244, 67, 54, 0.25);
}
.order-msg-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    flex-shrink: 0;
    animation: pulse 1.2s infinite;
}
.order-msg.success .order-msg-dot { background: #4caf50; }
.order-msg.error .order-msg-dot   { background: #f44336; }

.reviews-preview-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}
@media (max-width: 900px) {
    .reviews-preview-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 580px) {
    .reviews-preview-grid { grid-template-columns: 1fr; }
}
