/* Global Styles */
:root {
    --brand-red: #D32F2F;
    --brand-blue: #6EC2E8;
    --brand-blue-dark: #1A3F5E;
    --light-blue: #E9F6FE;
    --white: #FFFFFF;
    --gray-100: #F7F9FB;
    --gray-200: #E2E8F0;
    --gray-600: #4F5A6B;
    --gray-800: #1F2937;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: var(--gray-100);
    color: var(--gray-800);
    line-height: 1.6;
}

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

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

button,
input,
textarea,
select {
    font: inherit;
}

button {
    cursor: pointer;
    border: none;
}

.container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

.header {
    background: var(--white);
    border-bottom: 1px solid rgba(31, 41, 55, 0.08);
    position: sticky;
    top: 0;
    z-index: 50;
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    min-height: 70px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    font-size: 22px;
    color: var(--brand-blue-dark);
}

.brand img {
    height: 55px;
    width: auto;
    object-fit: contain;
}

.menu {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    align-items: center;
}

.menu a {
    color: var(--gray-800);
    font-weight: 600;
    transition: color 0.25s ease;
}

.menu a:hover,
.menu a.active {
    color: var(--brand-red);
}

.cta-phone {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--brand-red);
    font-weight: 700;
}

.hero {
    padding: 90px 0 80px;
    background: linear-gradient(180deg, var(--light-blue) 0%, #F2F9FD 100%);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
    gap: 48px;
}

.hero-copy h1 {
    font-size: clamp(2.75rem, 4vw, 4.2rem);
    line-height: 1.02;
    margin-bottom: 24px;
    color: var(--brand-blue-dark);
}

.hero-copy p {
    max-width: 640px;
    font-size: 1.05rem;
    margin-bottom: 30px;
    color: var(--gray-600);
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.button-primary,
.button-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 28px;
    border-radius: 999px;
    font-weight: 700;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.button-primary {
    background: var(--brand-red);
    color: var(--white);
}

.button-secondary {
    background: rgba(110, 194, 232, 0.16);
    color: var(--brand-blue-dark);
}

.button-primary:hover,
.button-secondary:hover {
    transform: translateY(-2px);
}

.hero-media {
    position: relative;
    min-height: 420px;
    height: 420px;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(17, 24, 39, 0.12);
}

.hero-placeholder {
    width: 100%;
    height: 100%;
    background-color: #1882b5;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-placeholder-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    background-color: #1882b5;
}

.contact-hero-image {
    transform: scale(1.18);
    transform-origin: center;
}

.image-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.section {
    padding: 80px 0;
}

.section-heading {
    display: grid;
    gap: 16px;
    margin-bottom: 45px;
}

.section-heading span {
    display: inline-block;
    color: var(--brand-red);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.84rem;
}

.section-heading h2 {
    font-size: clamp(2rem, 3vw, 3.25rem);
    line-height: 1.05;
    color: var(--brand-blue-dark);
}

.section-heading p {
    color: var(--gray-600);
    max-width: 720px;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 28px;
}

.projects-gallery {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
}

.gallery-item {
    display: block;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(31, 41, 55, 0.08);
    box-shadow: 0 10px 24px rgba(31, 41, 55, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.gallery-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 30px rgba(31, 41, 55, 0.14);
}

.gallery-item img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    display: block;
}

.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.9);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 28px;
    z-index: 2000;
}

.lightbox.open {
    display: flex;
}

.lightbox-image {
    max-width: min(1200px, 92vw);
    max-height: 88vh;
    width: auto;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.45);
}

.lightbox-close {
    position: absolute;
    top: 16px;
    right: 18px;
    border: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.24);
}

.card {
    background: var(--white);
    border: 1px solid rgba(31, 41, 55, 0.08);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 16px 40px rgba(31, 41, 55, 0.06);
}

.card-head {
    padding: 28px;
    display: grid;
    gap: 16px;
}

.card-head svg {
    width: 44px;
    height: 44px;
    color: var(--brand-red);
}

.card-head h3 {
    font-size: 1.2rem;
    color: var(--brand-blue-dark);
}

.card-head p,
.card-body p {
    color: var(--gray-600);
}

.card-body {
    padding: 0 28px 30px;
    display: grid;
    gap: 20px;
}

.card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--brand-blue-dark);
    font-weight: 700;
}

.card-link svg {
    width: 16px;
    height: 16px;
}

.image-block {
    aspect-ratio: 3 / 4;
    background: linear-gradient(135deg, rgba(110, 194, 232, 0.18), rgba(211, 47, 47, 0.16));
    border-radius: 24px;
    overflow: hidden;
    display: grid;
    place-items: center;
    color: var(--brand-blue-dark);
    font-weight: 700;
    text-align: center;
}

.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
}

.stat {
    background: var(--white);
    padding: 30px;
    border-radius: 24px;
    text-align: center;
    border: 1px solid rgba(31, 41, 55, 0.08);
}

.stat h3 {
    font-size: 2.5rem;
    color: var(--brand-blue-dark);
    margin-bottom: 10px;
}

.stat p {
    color: var(--gray-600);
}

.section-dark {
    background: var(--brand-blue-dark);
    color: var(--white);
}

.section-dark .section-heading h2,
.section-dark .section-heading span,
.section-dark .section-heading p {
    color: var(--white);
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
}

.process-step {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 24px;
    padding: 32px;
    display: grid;
    gap: 18px;
}

.process-step span {
    width: 56px;
    height: 56px;
    display: grid;
    place-items: center;
    background: var(--brand-red);
    color: var(--white);
    border-radius: 50%;
    font-weight: 700;
}

.process-step h3 {
    color: var(--white);
    font-size: 1.1rem;
}

.process-step p {
    color: rgba(255, 255, 255, 0.8);
}

.contact-banner {
    background: var(--brand-red);
    color: var(--white);
    border-radius: 28px;
    padding: 42px 32px;
    display: grid;
    grid-template-columns: 1.4fr 0.8fr;
    gap: 32px;
    align-items: center;
}

.contact-banner h3 {
    font-size: 2rem;
    line-height: 1.05;
}

.contact-banner p {
    color: rgba(255,255,255,0.9);
}

.contact-banner a {
    color: var(--white);
}

.footer {
    background: var(--brand-blue-dark);
    color: rgba(255,255,255,0.9);
    padding: 60px 0 32px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 28px;
    margin-bottom: 32px;
}

.footer-column h4 {
    margin-bottom: 18px;
    color: #ffffff;
}

.footer-column p,
.footer-column a,
.footer-column li {
    color: rgba(255,255,255,0.72);
    font-size: 0.97rem;
}

.footer-column li {
    margin-bottom: 10px;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.12);
    padding-top: 24px;
    color: rgba(255,255,255,0.7);
}

.footer-brand-inline {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.footer-logo {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.form-group {
    display: grid;
    gap: 10px;
}

.form-group label {
    font-weight: 600;
    color: var(--gray-800);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 16px 18px;
    border: 1px solid rgba(31, 41, 55, 0.14);
    border-radius: 16px;
    background: var(--white);
}

textarea {
    min-height: 160px;
    resize: vertical;
}

.form-actions {
    display: flex;
    justify-content: flex-end;
}

.button-submit {
    background: var(--brand-red);
    color: var(--white);
    padding: 16px 30px;
    border-radius: 999px;
    font-weight: 700;
}

.placeholder-block {
    min-height: 260px;
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(110, 194, 232, 0.12), rgba(211, 47, 47, 0.14));
    border: 1px dashed rgba(31, 41, 55, 0.16);
    display: grid;
    place-items: center;
    color: var(--brand-blue-dark);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.highlight-note {
    background: rgba(211, 47, 47, 0.08);
    border-left: 4px solid var(--brand-red);
    padding: 22px 22px 22px 18px;
    margin: 24px 0 0;
    border-radius: 18px;
}

.highlight-note p {
    margin: 0;
    color: var(--gray-800);
}

@media (max-width: 1024px) {
    .hero-grid,
    .contact-banner,
    .form-grid,
    .stats,
    .process-grid {
        grid-template-columns: 1fr;
    }

    .contact-banner {
        text-align: center;
    }

    .projects-gallery {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        align-items: flex-start;
        gap: 18px;
    }

    .menu {
        gap: 14px;
    }

    .hero {
        padding: 70px 0 60px;
    }

    .hero-copy h1 {
        font-size: 2.6rem;
    }

    .hero-actions {
        width: 100%;
        justify-content: flex-start;
    }

    .hero-media {
        min-height: 320px;
    }

    .button-primary,
    .button-secondary {
        width: fit-content;
    }

    .projects-gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    .menu {
        flex-direction: column;
        align-items: flex-start;
    }

    .button-primary,
    .button-secondary {
        width: 100%;
    }

    .contact-banner,
    .hero-grid {
        gap: 24px;
    }

    .projects-gallery {
        grid-template-columns: 1fr;
    }
}
