/* ===== Variables ===== */
:root {
    --navy: #0c1a2e;
    --navy-light: #1a2b4c;
    --blue: #2563eb;
    --blue-light: #3b82f6;
    --blue-accent: #60a5fa;
    --white: #ffffff;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-800: #1e293b;
    --font: 'Montserrat', sans-serif;
    --transition: 0.3s ease;
    --shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
    --radius: 8px;
}

/* ===== Reset ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.7;
    color: var(--gray-600);
    background: var(--white);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition);
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== Typography ===== */
.section-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--blue);
    margin-bottom: 12px;
}

.section-label--light {
    color: var(--blue-accent);
}

.section-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--navy);
    line-height: 1.2;
    margin-bottom: 16px;
}

.section-title--light {
    color: var(--white);
}

.section-desc {
    max-width: 600px;
    margin: 0 auto;
    color: var(--gray-500);
}

.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-footer {
    text-align: center;
    margin-top: 48px;
}

.text-accent {
    color: var(--blue-accent);
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    font-family: var(--font);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border: 2px solid transparent;
    border-radius: var(--radius);
    cursor: pointer;
    transition: all var(--transition);
    white-space: nowrap;
}

.btn--primary {
    background: var(--blue);
    color: var(--white);
    border-color: var(--blue);
}

.btn--primary:hover {
    background: var(--blue-light);
    border-color: var(--blue-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.3);
}

.btn--outline {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}

.btn--outline:hover {
    background: var(--white);
    color: var(--navy);
}

.btn--outline-dark {
    background: transparent;
    color: var(--navy);
    border-color: var(--navy);
}

.btn--outline-dark:hover {
    background: var(--navy);
    color: var(--white);
}

.btn--outline-light {
    background: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.5);
}

.btn--outline-light:hover {
    background: var(--white);
    color: var(--navy);
    border-color: var(--white);
}

.btn--sm {
    padding: 10px 20px;
    font-size: 0.75rem;
}

.btn--full {
    width: 100%;
}

/* ===== Header ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: all var(--transition);
}

.header.scrolled {
    background: rgba(12, 26, 46, 0.95);
    backdrop-filter: blur(12px);
    padding: 10px 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.header__logo-img {
    height: 40px;
    width: auto;
}

.header__cta {
    flex-shrink: 0;
}

.nav__list {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav__link {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.85);
    position: relative;
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--blue-accent);
    transition: width var(--transition);
}

.nav__link:hover,
.nav__link.active {
    color: var(--white);
}

.nav__link:hover::after,
.nav__link.active::after {
    width: 100%;
}

.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.burger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    transition: all var(--transition);
}

.burger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.burger.active span:nth-child(2) {
    opacity: 0;
}

.burger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== Hero ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
}

.hero__bg {
    position: absolute;
    inset: 0;
    z-index: -1;
}

.hero__bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(12, 26, 46, 0.85) 0%,
        rgba(12, 26, 46, 0.6) 50%,
        rgba(12, 26, 46, 0.75) 100%
    );
}

.hero__content {
    max-width: 720px;
}

.hero__title {
    font-size: clamp(2rem, 5vw, 3.25rem);
    font-weight: 800;
    color: var(--white);
    line-height: 1.15;
    margin-bottom: 16px;
    text-transform: uppercase;
}

.hero__subtitle {
    font-size: clamp(0.875rem, 2vw, 1rem);
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 20px;
}

.hero__desc {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 36px;
    max-width: 560px;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

/* ===== Value Bar ===== */
.value-bar {
    background: var(--navy);
    padding: 32px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.value-bar__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.value-bar__item {
    display: flex;
    align-items: center;
    gap: 16px;
    color: var(--white);
}

.value-bar__icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.value-bar__icon svg {
    width: 32px;
    height: 32px;
    stroke: var(--blue-accent);
}

.value-bar__item strong {
    display: block;
    font-size: 0.875rem;
    font-weight: 700;
    margin-bottom: 2px;
}

.value-bar__item span {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.6);
}

/* ===== Sections ===== */
.section {
    padding: 96px 0;
}

.section--dark {
    background: var(--navy);
}

/* ===== About ===== */
.about {
    background: var(--white);
}

.about__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.about__text p {
    margin-bottom: 16px;
    color: var(--gray-500);
}

.about__text .btn {
    margin-top: 24px;
}

.about__visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.about__logo-wrap {
    position: relative;
    padding: 48px;
    background: var(--gray-50);
    border-radius: 12px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about__logo-wrap::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 800 400'%3E%3Cpath fill='%23e2e8f0' d='M400 200c-80 0-150-30-200-80 50 50 120 80 200 80s150-30 200-80c-50 50-120 80-200 80z'/%3E%3C/svg%3E") center/contain no-repeat;
    opacity: 0.3;
}

.about__logo {
    position: relative;
    max-width: 280px;
    width: 100%;
}

/* ===== Services ===== */
.services__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
}

.service-card {
    padding: 32px 24px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius);
    text-align: center;
    transition: all var(--transition);
}

.service-card:hover {
    border-color: var(--blue-accent);
    background: rgba(255, 255, 255, 0.04);
    transform: translateY(-4px);
}

.service-card__icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-card__icon svg {
    width: 40px;
    height: 40px;
    stroke: var(--blue-accent);
}

.service-card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 12px;
}

.service-card p {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
}

/* ===== Industries ===== */
.industries {
    background: var(--gray-50);
}

.industries__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.industry-card {
    position: relative;
    height: 280px;
    border-radius: var(--radius);
    overflow: hidden;
    background-size: cover;
    background-position: center;
    cursor: pointer;
}

.industry-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(12, 26, 46, 0.85) 0%, rgba(12, 26, 46, 0.3) 100%);
    transition: background var(--transition);
}

.industry-card:hover .industry-card__overlay {
    background: linear-gradient(to top, rgba(37, 99, 235, 0.85) 0%, rgba(12, 26, 46, 0.4) 100%);
}

.industry-card__content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px;
    text-align: center;
    z-index: 1;
}

.industry-card__icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
}

.industry-card__icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--white);
}

.industry-card h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--white);
}

/* ===== Products ===== */
.products__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.product-card {
    padding: 32px 24px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    text-align: center;
    transition: all var(--transition);
}

.product-card:hover {
    border-color: var(--blue);
    box-shadow: var(--shadow);
    transform: translateY(-4px);
}

.product-card__icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-50);
    border-radius: 50%;
}

.product-card__icon svg {
    width: 28px;
    height: 28px;
    stroke: var(--blue);
}

.product-card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 12px;
}

.product-card p {
    font-size: 0.875rem;
    color: var(--gray-500);
    line-height: 1.6;
}

/* ===== Why Choose Us ===== */
.why__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.why__text p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 32px;
}

.why__stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.stat {
    text-align: center;
    padding: 24px;
}

.stat__icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat__icon svg {
    width: 32px;
    height: 32px;
    stroke: var(--blue-accent);
}

.stat__number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1;
}

.stat__suffix {
    font-size: 2rem;
    font-weight: 800;
    color: var(--blue-accent);
}

.stat__label {
    display: block;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 8px;
}

/* ===== Contact ===== */
.contact {
    background: var(--white);
}

.contact__grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr 1fr;
    gap: 40px;
    align-items: start;
}

.contact__info {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.contact__item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.contact__icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-50);
    border-radius: 50%;
}

.contact__icon svg {
    width: 20px;
    height: 20px;
    stroke: var(--blue);
}

.contact__item strong {
    display: block;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 4px;
}

.contact__item span,
.contact__item a {
    font-size: 0.875rem;
    color: var(--gray-500);
    line-height: 1.5;
}

.contact__item a:hover {
    color: var(--blue);
}

/* ===== Form ===== */
.contact__form {
    background: var(--gray-50);
    padding: 32px;
    border-radius: var(--radius);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 6px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    font-family: var(--font);
    font-size: 0.875rem;
    color: var(--gray-800);
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    transition: border-color var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-alert {
    max-width: 600px;
    margin: 0 auto 32px;
    padding: 16px 24px;
    border-radius: var(--radius);
    font-size: 0.875rem;
    font-weight: 500;
    text-align: center;
}

.form-alert--success {
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.form-alert--error {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.contact__map {
    height: 100%;
    min-height: 400px;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.contact__map iframe {
    width: 100%;
    height: 100%;
    min-height: 400px;
}

/* ===== Footer ===== */
.footer {
    background: var(--navy);
    color: rgba(255, 255, 255, 0.7);
    padding-top: 64px;
}

.footer__inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
}

.footer__logo {
    height: 36px;
    width: auto;
    margin-bottom: 16px;
}

.footer__brand p {
    font-size: 0.875rem;
    line-height: 1.6;
    max-width: 280px;
}

.footer__links h4 {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer__links li {
    margin-bottom: 8px;
}

.footer__links a {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
}

.footer__links a:hover {
    color: var(--blue-accent);
}

.footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 20px 0;
    text-align: center;
}

.footer__bottom p {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.4);
}

/* ===== Animations ===== */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .value-bar__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .industries__grid,
    .products__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact__grid {
        grid-template-columns: 1fr;
    }

    .contact__map {
        min-height: 300px;
    }

    .footer__inner {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--navy);
        padding: 80px 32px 32px;
        transition: right var(--transition);
        box-shadow: -4px 0 24px rgba(0, 0, 0, 0.2);
    }

    .nav.open {
        right: 0;
    }

    .nav__list {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
    }

    .nav__link {
        font-size: 0.875rem;
    }

    .burger {
        display: flex;
    }

    .header__cta {
        display: none;
    }

    .about__grid,
    .why__grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about__visual {
        order: -1;
    }

    .value-bar__grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .industries__grid,
    .products__grid {
        grid-template-columns: 1fr;
    }

    .why__stats {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer__inner {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .hero__actions {
        flex-direction: column;
    }

    .hero__actions .btn {
        width: 100%;
        justify-content: center;
    }

    .section {
        padding: 64px 0;
    }
}

@media (max-width: 480px) {
    .why__stats {
        grid-template-columns: 1fr;
    }

    .stat__number {
        font-size: 2rem;
    }
}
