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

:root {
    --primary: #0f2b46;
    --primary-light: #1a3f66;
    --accent: #e85d04;
    --accent-light: #f48c42;
    --light: #f4f6f8;
    --dark: #0a1a2e;
    --text: #2d3748;
    --text-light: #718096;
    --white: #ffffff;
    --border: #e2e8f0;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text);
    line-height: 1.6;
    background: var(--white);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

body > footer {
    margin-top: auto;
}

/* NAV */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    z-index: 1000;
    padding: 0 5%;
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    height: 40px;
    width: auto;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo-text strong {
    font-size: 1rem;
    color: var(--primary);
    font-weight: 600;
    font-family: 'Inter', sans-serif;
}

.logo-text span {
    font-size: 0.7rem;
    color: var(--text-light);
    font-weight: 500;
    letter-spacing: 0.5px;
}



.nav-links {
    display: flex;
    gap: 32px;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s;
}

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

.nav-cta {
    background: var(--primary);
    color: var(--white) !important;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 600 !important;
    transition: background 0.2s !important;
}

.nav-cta:hover { background: var(--accent) !important; }

/* HERO */
.hero {
    padding: 160px 5% 100px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--white);
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 1;
}

.hero-inner {
    max-width: 900px;
    margin: 0 auto;
}

.hero h1 {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 24px;
}

.hero h1 em {
    color: var(--accent-light);
    font-style: normal;
}

.hero p {
    font-size: 1.15rem;
    opacity: 0.9;
    max-width: 680px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

.hero-btns {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
    font-size: 1rem;
    cursor: pointer;
    border: none;
}

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

.btn-primary:hover { background: var(--accent-light); transform: translateY(-1px); }

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

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

/* SECTION */
section { padding: 80px 5%; }

.section-inner { max-width: 1200px; margin: 0 auto; }

.section-label {
    text-transform: uppercase;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--accent);
    margin-bottom: 12px;
}

.section-title {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 16px;
    line-height: 1.2;
}

.section-sub {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 680px;
    line-height: 1.7;
}

/* SOLUTIONS PAGE */
.solutions { background: var(--white); flex: 1; display: flex; flex-direction: column; justify-content: center; }

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
    margin-top: 56px;
}

.solution-card {
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 32px 28px;
    background: var(--white);
    transition: all 0.25s;
}

.solution-card:hover {
    border-color: var(--primary);
    box-shadow: 0 8px 30px rgba(15,43,70,0.08);
}

.solution-icon {
    width: 52px;
    height: 52px;
    background: var(--light);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.solution-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 12px;
}

.solution-card p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.65;
}

/* PROCESS PAGE */
.process { background: var(--primary); color: var(--white); flex: 1; display: flex; flex-direction: column; justify-content: center; }

.process .section-label { color: var(--accent-light); }
.process .section-title { color: var(--white); }
.process .section-sub { color: rgba(255,255,255,0.7); }

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 32px;
    margin-top: 56px;
}

.step {
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 12px;
    padding: 32px 24px;
    text-align: center;
}

.step-num {
    width: 48px;
    height: 48px;
    background: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.2rem;
    margin: 0 auto 20px;
}

.step h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.step p {
    font-size: 0.9rem;
    opacity: 0.8;
    line-height: 1.6;
}

/* ABOUT PAGE */
.about-page {
    background: var(--white);
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.about-page::before {
    content: '';
    position: absolute;
    inset: 0;
    background-color: #e8edf2;
    background-image: radial-gradient(circle, #1a3f66 1px, transparent 1px);
    background-size: 28px 28px;
    opacity: 0.25;
    pointer-events: none;
}

.about-layout {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    padding: 100px 5%;
}


.about-left {
    position: relative;
}

.about-right {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.diamond-wrapper {
    width: 340px;
    height: 340px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.diamond-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: rotate(45deg);
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(15, 43, 70, 0.25);
}

.about-content {
    max-width: 520px;
    position: relative;
}

.about-content p {
    font-size: 1.2rem;
    color: var(--text);
    line-height: 1.8;
}

/* CONTACT / CTA */
.cta-section { background: var(--white); text-align: center; flex: 1; display: flex; flex-direction: column; justify-content: center; }

.cta-box {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: 20px;
    padding: 72px 40px;
    color: var(--white);
}

.cta-box h2 {
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 800;
    margin-bottom: 16px;
}

.cta-box p {
    opacity: 0.85;
    max-width: 560px;
    margin: 0 auto 36px;
    line-height: 1.7;
}

.cta-contacts {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-top: 32px;
}

.cta-contact {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
}

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

/* FOOTER */
footer {
    background: var(--dark);
    color: rgba(255,255,255,0.6);
    padding: 48px 5%;
    text-align: center;
    font-size: 0.9rem;
    flex-shrink: 0;
}

footer a { color: rgba(255,255,255,0.6); text-decoration: none; }
footer a:hover { color: var(--accent-light); }

/* MOBILE */
@media (max-width: 768px) {
    .nav-links { display: none; }
    .hero { padding: 130px 5% 80px; }
    .hero h1 { font-size: 2rem; }
    section { padding: 60px 5%; }
    .solutions-grid, .process-steps { grid-template-columns: 1fr; }
    .cta-contacts { flex-direction: column; gap: 16px; }
    .about-layout { grid-template-columns: 1fr; gap: 48px; padding: 100px 5% 60px; }
    .diamond-wrapper { width: 260px; height: 260px; }
}