/* =============================================================
   OLV Limited — стили сайта
   Вынесено из inline-CSS index.html. Без Tailwind.
   ============================================================= */

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

html,
body {
    overflow-x: clip
}

img,
picture,
video,
canvas,
svg,
iframe {
    max-width: 100%;
    height: auto;
    display: block
}

body,
p,
h1,
h2,
h3,
h4,
h5,
h6,
li,
a,
span,
div,
section,
article,
header,
footer,
nav,
main,
aside,
small,
strong,
em,
b,
i,
blockquote,
pre,
code {
    overflow-wrap: anywhere;
    word-wrap: break-word;
    hyphens: auto
}

/* CSS Variables */
:root {
    --color-black: #000000;
    --color-white: #FFFFFF;
    --color-light-grey: #F4F4F4;
    --color-dark-text: #1A1A1A;
    --color-purple: #6F3CFF;
    --color-purple-hover: #825CFF;
    --color-muted-grey: #A3A3A3;

    --font-primary: 'Inter', sans-serif;

    --spacing-section-desktop: 200px;
    --spacing-section-mobile: 100px;

    --transition-smooth: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-primary);
    color: var(--color-dark-text);
    background-color: var(--color-white);
    line-height: 1.6;
    overflow-x: hidden;
    font-size: 18px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    text-transform: uppercase;
    font-weight: 900;
    line-height: 0.95;
    letter-spacing: -0.02em;
    margin-bottom: 30px;
}

.headline-hero {
    font-size: clamp(52px, 8vw, 130px);
    color: var(--color-white);
    margin-bottom: 40px;
}

.headline-section {
    font-size: clamp(44px, 6vw, 100px);
}

.headline-feature {
    font-size: clamp(34px, 5vw, 80px);
}

.body-large {
    font-size: clamp(17px, 2vw, 24px);
    font-weight: 300;
    line-height: 1.5;
    max-width: 800px;
}

.body-regular {
    font-size: 17px;
    font-weight: 400;
    color: var(--color-muted-grey);
    line-height: 1.7;
}

.text-purple {
    color: var(--color-purple);
}

.text-white {
    color: var(--color-white);
}

.text-black {
    color: var(--color-black);
}

/* Layout & Spacing */
.container {
    width: 100%;
    max-width: 1800px;
    margin: 0 auto;
    padding: 0 5%;
}

.section-padding {
    padding-top: var(--spacing-section-desktop);
    padding-bottom: var(--spacing-section-desktop);
}

.bg-black {
    background-color: var(--color-black);
    color: var(--color-white);
}

.bg-white {
    background-color: var(--color-white);
    color: var(--color-dark-text);
}

.bg-light {
    background-color: var(--color-light-grey);
    color: var(--color-dark-text);
}

.bg-black .body-regular {
    color: #cccccc;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 28px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transition: var(--transition-smooth);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(0, 0, 0, 0.92);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 18px 5%;
}

.logo {
    font-size: 22px;
    font-weight: 900;
    text-transform: uppercase;
    color: var(--color-white);
    letter-spacing: -1px;
    position: relative;
    z-index: 1001;
}

.logo img {
    display: inline-block;
    max-height: 44px;
    width: auto;
    vertical-align: middle;
    background: #fff;
    padding: 4px 10px;
    border-radius: 4px;
}

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-links a {
    color: var(--color-white);
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease;
    position: relative;
    padding: 4px 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: 0;
    left: 0;
    background-color: var(--color-purple);
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: var(--color-purple);
}

.nav-links a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    z-index: 1001;
    gap: 6px;
    padding: 4px;
}

.hamburger span {
    display: block;
    width: 28px;
    height: 2px;
    background: var(--color-white);
    transition: all 0.3s ease;
    transform-origin: center;
}

/* Hamburger open state */
.hamburger.toggle span:nth-child(1) {
    transform: rotate(-45deg) translate(-4px, 6px);
}

.hamburger.toggle span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.hamburger.toggle span:nth-child(3) {
    transform: rotate(45deg) translate(-4px, -6px);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 18px 36px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    cursor: pointer;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

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

.btn-primary:hover {
    background-color: var(--color-purple-hover);
}

.btn-outline {
    background-color: transparent;
    color: var(--color-white);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.btn-outline:hover {
    background-color: var(--color-white);
    color: var(--color-black);
    border-color: var(--color-white);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    background-color: var(--color-black);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4;
    animation: heroZoom 20s ease-in-out infinite alternate;
}

/* Gradient overlay */
.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.2) 50%, rgba(0, 0, 0, 0.75) 100%);
    z-index: 1;
}

@keyframes heroZoom {
    from {
        transform: scale(1);
    }

    to {
        transform: scale(1.08);
    }
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 1200px;
    width: 100%;
}

.hero-accent {
    width: 60px;
    height: 4px;
    background-color: var(--color-purple);
    margin-bottom: 36px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-top: 48px;
    flex-wrap: wrap;
}

/* About & Background Sections */
.split-editorial {
    display: flex;
    gap: 10%;
    align-items: center;
}

.split-editorial.reverse {
    flex-direction: row-reverse;
}

.split-content {
    flex: 1;
}

.split-image-container {
    flex: 1;
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/5;
    min-height: 500px;
}

.split-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(20%);
    transition: transform 1.2s ease;
    display: block;
}

.split-image-container:hover img {
    transform: scale(1.04);
}

/* Values Section */
.values-list {
    margin-top: 80px;
    border-top: 1px solid rgba(0, 0, 0, 0.15);
}

.bg-light .values-list {
    border-top-color: rgba(0, 0, 0, 0.15);
}

.value-item {
    display: flex;
    padding: 52px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.15);
    align-items: flex-start;
    gap: 24px;
}

.value-number {
    font-size: 20px;
    font-weight: 800;
    color: var(--color-purple);
    width: 10%;
    flex-shrink: 0;
}

.value-title {
    width: 40%;
    font-size: clamp(26px, 4vw, 56px);
    margin: 0;
    line-height: 1;
    flex-shrink: 0;
    text-transform: uppercase;
}

.value-desc {
    flex: 1;
    font-size: 18px;
    color: #555;
    padding-left: 5%;
    line-height: 1.7;
}

/* Services Section */
.services-header {
    margin-bottom: 120px;
}

.service-row {
    display: flex;
    gap: 8%;
    align-items: center;
    margin-bottom: 160px;
}

.service-row:nth-child(even) {
    flex-direction: row-reverse;
}

.service-row:last-child {
    margin-bottom: 0;
}

.service-image {
    flex: 6;
    position: relative;
    overflow: hidden;
    min-height: 500px;
}

.service-image img {
    width: 100%;
    height: 100%;
    min-height: 500px;
    object-fit: cover;
    transition: transform 1.4s ease;
    display: block;
}

.service-row:hover .service-image img {
    transform: scale(1.04);
}

.service-content {
    flex: 4;
}

.service-number {
    font-size: 14px;
    font-weight: 700;
    color: var(--color-purple);
    margin-bottom: 20px;
    display: block;
    letter-spacing: 0.1em;
}

/* Marquee */
.marquee-section {
    background-color: var(--color-purple);
    padding: 36px 0;
    overflow: hidden;
    white-space: nowrap;
}

.marquee-container {
    display: flex;
    width: max-content;
    animation: marquee 30s linear infinite;
    will-change: transform;
}

.marquee-content {
    display: flex;
    align-items: center;
    gap: 0;
}

.marquee-text {
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 900;
    color: var(--color-white);
    text-transform: uppercase;
    white-space: nowrap;
    padding: 0 40px;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10%;
}

.form-group {
    margin-bottom: 36px;
    position: relative;
}

.form-label {
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 10px;
    color: var(--color-muted-grey);
}

.form-control {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    padding: 14px 0;
    font-size: 17px;
    color: var(--color-white);
    font-family: var(--font-primary);
    transition: border-color 0.3s ease;
    outline: none;
    border-radius: 0;
    -webkit-appearance: none;
}

.form-control:focus {
    border-bottom-color: var(--color-purple);
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

/* Сообщения формы */
.form-msg {
    display: none;
    padding: 14px 20px;
    margin-bottom: 24px;
    font-size: 14px;
    color: #fff;
}

.form-msg.success {
    display: block;
    background: rgba(111, 60, 255, 0.2);
    border-left: 3px solid var(--color-purple);
}

.form-msg.error {
    display: block;
    background: rgba(255, 60, 60, 0.15);
    border-left: 3px solid #ff3c3c;
}

/* Footer */
.footer {
    padding: 100px 0 50px;
    background-color: #0a0a0a;
    color: var(--color-white);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 80px;
}

.footer-col h4 {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-purple);
    margin-bottom: 20px;
    font-weight: 700;
}

.footer-col p,
.footer-col a {
    color: var(--color-muted-grey);
    font-size: 14px;
    text-decoration: none;
    line-height: 2;
    display: block;
}

.footer-col a:hover {
    color: var(--color-white);
}

/* Логотип в футере */
.footer-brand .footer-logo {
    display: block;
    max-height: 52px;
    width: auto;
    margin-bottom: 20px;
    background: #fff;
    padding: 6px 12px;
    border-radius: 4px;
}

.footer-brand .footer-name {
    font-size: 20px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -0.5px;
    margin-bottom: 14px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: var(--color-muted-grey);
    flex-wrap: wrap;
    gap: 10px;
}

/* Animations & Reveal */
.reveal {
    opacity: 1;
    transform: none;
    transition: none;
}

.reveal.active {
    opacity: 1;
    transform: none;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .service-image img {
        height: 50vh;
    }
}

@media (max-width: 1024px) {

    .split-editorial,
    .split-editorial.reverse,
    .service-row,
    .service-row:nth-child(even) {
        flex-direction: column;
        gap: 48px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 72px;
    }

    .value-item {
        flex-direction: column;
        gap: 16px;
    }

    .value-number,
    .value-title {
        width: 100%;
    }

    .value-desc {
        padding-left: 0;
    }

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

    .service-image img {
        height: 400px;
    }
}

@media (max-width: 768px) {
    .section-padding {
        padding-top: var(--spacing-section-mobile);
        padding-bottom: var(--spacing-section-mobile);
    }

    .hamburger {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background-color: var(--color-black);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.5s cubic-bezier(0.16, 1, 0.3, 1);
        gap: 8px;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        font-size: 28px;
        font-weight: 700;
        letter-spacing: -0.01em;
        padding: 12px 20px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-buttons .btn {
        width: 100%;
        text-align: center;
    }

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

    .footer-bottom {
        flex-direction: column;
        gap: 8px;
    }

    .service-image img {
        height: 56vw;
        min-height: 260px;
    }

    .services-header {
        margin-bottom: 72px;
    }

    .service-row {
        margin-bottom: 80px;
    }
}

@media (max-width: 480px) {
    .value-title {
        font-size: clamp(28px, 9vw, 44px);
    }

    .hero-buttons {
        width: 100%;
    }

    .hero-buttons .btn {
        width: 100%;
        text-align: center;
    }

    .container {
        padding: 0 20px;
    }

    .service-row {
        margin-bottom: 60px;
    }
}

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .marquee-container {
        animation-play-state: paused;
    }

    .hero-bg {
        animation: none;
    }
}
