.home-page {
    --home-bg: #f7f9fc;
    --home-surface: #ffffff;
    --home-line: #dce4f0;
    --home-title: #16243b;
    --home-text: #3c4f69;
    --home-muted: #697d96;
    --home-accent: #2f78ff;
    --home-accent-strong: #1e64e5;
    --home-dark: #0f1d33;
    background: var(--home-bg);
    color: var(--home-text);
}

.home-page .container {
    position: relative;
    z-index: 1;
}

.home-hero-section {
    padding: 6.8rem 0 4rem;
    background: linear-gradient(180deg, #ffffff 0%, #f4f8ff 100%);
}

.home-hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 2rem;
    align-items: center;
}

.home-eyebrow {
    margin: 0 0 0.65rem;
    font-size: 0.75rem;
    font-weight: 700;
    color: #7b8fab;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.home-hero-copy h1 {
    margin: 0 0 0.45rem;
    font-size: clamp(2rem, 4.7vw, 3.55rem);
    line-height: 1.1;
    color: var(--home-title);
}

.home-hero-copy h1 span {
    color: var(--home-accent);
}

.home-hero-copy h2 {
    margin: 0 0 1rem;
    max-width: 550px;
    font-size: clamp(1.25rem, 2.2vw, 2rem);
    color: #1f3454;
    line-height: 1.25;
}

.home-hero-description {
    margin: 0 0 1.25rem;
    max-width: 620px;
    color: var(--home-muted);
    line-height: 1.75;
}

.home-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1.1rem;
}

.home-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    font-weight: 700;
    text-decoration: none;
    padding: 0.67rem 1.2rem;
    font-size: 0.92rem;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}

.home-btn:hover {
    transform: translateY(-1px);
    text-decoration: none;
}

.home-btn-primary {
    border: 1px solid transparent;
    background: var(--home-accent);
    color: #fff;
}

.home-btn-primary:hover {
    color: #fff;
    background: var(--home-accent-strong);
    box-shadow: 0 10px 18px rgba(47, 120, 255, 0.2);
}

.home-btn-outline {
    border: 1px solid #c5d7f4;
    background: #fff;
    color: #1f4f9f;
}

.home-btn-outline:hover {
    color: #173f84;
    border-color: #9abcf2;
}

.home-speciality-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.6rem;
}

.home-speciality-list li {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    color: #436087;
    font-size: 0.9rem;
    background: #fff;
    border: 1px solid #e1e8f4;
    border-radius: 0.8rem;
    padding: 0.6rem 0.7rem;
}

.home-speciality-list i {
    color: var(--home-accent);
}

.home-hero-image-wrap {
    margin: 0;
    border-radius: 1.1rem;
    overflow: hidden;
    border: 1px solid #d9e4f5;
    box-shadow: 0 28px 45px rgba(21, 52, 99, 0.11);
    min-height: 400px;
}

.home-hero-image-wrap img {
    width: 100%;
    height: 100%;
    min-height: 400px;
    object-fit: cover;
    display: block;
}

.home-section {
    padding: 4.3rem 0;
}

.home-about-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 1.8rem;
    align-items: center;
}

.home-about-image {
    margin: 0;
    border-radius: 1rem;
    overflow: hidden;
    border: 1px solid #d9e4f5;
}

.home-about-image img {
    width: 100%;
    min-height: 340px;
    object-fit: cover;
    display: block;
}

.home-section-kicker {
    margin: 0 0 0.45rem;
    color: #6a8bb8;
    font-size: 0.75rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-weight: 700;
}

.home-about-copy h3,
.home-section-header h3 {
    margin: 0 0 0.9rem;
    color: var(--home-title);
    font-size: clamp(1.45rem, 2.2vw, 2.15rem);
}

.home-about-copy p {
    color: var(--home-text);
    line-height: 1.74;
}

.home-about-meta {
    margin: 1.15rem 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0.6rem;
}

.home-about-meta li {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    color: #365174;
}

.home-about-meta i {
    color: var(--home-accent);
}

.home-light-panel {
    background: #f1f6ff;
    border-top: 1px solid #e0e9f6;
    border-bottom: 1px solid #e0e9f6;
}

.home-section-header {
    margin-bottom: 1.4rem;
}

.home-section-header p {
    margin: 0;
    max-width: 700px;
    color: #647b97;
}

.home-section-header-row {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1rem;
}

.home-inline-link {
    color: #256adf;
    text-decoration: none;
    font-weight: 700;
}

.home-inline-link:hover {
    color: #1554be;
    text-decoration: none;
}

.home-tech-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.8rem;
}

.home-tech-grid article {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    background: #fff;
    border: 1px solid #d8e3f3;
    border-radius: 0.8rem;
    padding: 0.8rem;
    color: #2e466b;
    font-weight: 600;
}

.home-tech-grid i {
    font-size: 1rem;
    color: var(--home-accent);
}

.home-project-note {
    margin: -0.5rem 0 1rem;
    color: #607896;
    font-size: 0.9rem;
}

.home-project-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.home-project-card {
    border: 1px solid #d8e3f3;
    border-radius: 0.95rem;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 10px 22px rgba(12, 34, 69, 0.06);
}

.home-project-card a {
    display: block;
}

.home-project-card img {
    width: 100%;
    height: 185px;
    object-fit: cover;
    display: block;
}

.home-project-body {
    padding: 0.9rem;
}

.home-project-body h4 {
    margin: 0 0 0.35rem;
    color: #16243b;
    font-size: 1.02rem;
}

.home-project-body p {
    margin: 0 0 0.65rem;
    color: #58708d;
    font-size: 0.92rem;
}

.home-project-body ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.home-project-body li {
    font-size: 0.76rem;
    color: #35557e;
    border: 1px solid #d0e0f6;
    border-radius: 999px;
    padding: 0.2rem 0.55rem;
    background: #f4f9ff;
}

.home-solutions-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 1.2rem;
    align-items: start;
}

.home-solutions-grid > div > p {
    color: #617896;
}

.home-solution-cards {
    display: grid;
    gap: 0.75rem;
}

.home-solution-cards article {
    display: grid;
    grid-template-columns: 40px 1fr;
    gap: 0.75rem;
    align-items: center;
    background: #fff;
    border: 1px solid #d6e2f2;
    border-radius: 0.85rem;
    padding: 0.8rem;
}

.home-solution-cards i {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: var(--home-accent);
}

.home-solution-cards h4 {
    margin: 0 0 0.2rem;
    color: #1b2c49;
    font-size: 1rem;
}

.home-solution-cards p {
    margin: 0;
    color: #5f7693;
    font-size: 0.9rem;
}

.home-impact-section {
    padding: 2.4rem 0;
    background: var(--home-dark);
}

.home-impact-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.9rem;
}

.home-impact-grid article {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(164, 189, 224, 0.24);
    border-radius: 0.8rem;
    text-align: center;
    padding: 1rem 0.8rem;
}

.home-impact-grid strong {
    display: block;
    color: #fff;
    font-size: clamp(1.5rem, 2.6vw, 2.05rem);
}

.home-impact-grid p {
    margin: 0.25rem 0 0;
    color: #c8d8ef;
    font-size: 0.9rem;
}

.home-contact-layout {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 1.2rem;
}

.home-contact-copy h3 {
    margin: 0 0 0.8rem;
    color: #16243b;
    font-size: clamp(1.4rem, 2.2vw, 2rem);
}

.home-contact-copy p {
    color: #5e7693;
}

.home-contact-copy ul {
    margin: 1rem 0 0;
    list-style: none;
    padding: 0;
}

.home-contact-copy li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.55rem;
    color: #365173;
}

.home-contact-copy i {
    color: var(--home-accent);
}

.home-contact-form-wrap {
    background: #fff;
    border: 1px solid #d5e0f0;
    border-radius: 0.9rem;
    padding: 1rem;
}

.home-contact-form-wrap h4 {
    margin: 0 0 0.85rem;
    color: #1b2d4b;
}

.home-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.home-form-field {
    margin-bottom: 0.75rem;
}

.home-form-field label {
    display: block;
    margin: 0 0 0.3rem;
    color: #365173;
    font-weight: 600;
    font-size: 0.86rem;
}

.home-form-field input,
.home-form-field textarea {
    width: 100%;
    border: 1px solid #cedced;
    border-radius: 0.7rem;
    background: #fff;
    color: #1f3556;
    padding: 0.63rem 0.72rem;
    outline: none;
}

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

.home-form-field input:focus,
.home-form-field textarea:focus {
    border-color: #9dc2f8;
    box-shadow: 0 0 0 3px rgba(59, 126, 225, 0.12);
}

.home-form-submit {
    margin-top: 0.15rem;
}

.home-form-submit button {
    border: 0;
}

.home-form-error {
    margin: 0.3rem 0 0;
    color: #b52424;
    font-size: 0.84rem;
}

@media (max-width: 1199px) {
    .home-hero-grid,
    .home-about-grid,
    .home-contact-layout,
    .home-solutions-grid {
        grid-template-columns: 1fr;
    }

    .home-tech-grid,
    .home-project-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .home-hero-section {
        padding-top: 6rem;
    }

    .home-section {
        padding: 3.2rem 0;
    }

    .home-speciality-list,
    .home-tech-grid,
    .home-project-grid,
    .home-impact-grid,
    .home-form-grid {
        grid-template-columns: 1fr;
    }

    .home-hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .home-btn {
        width: 100%;
    }

    .home-section-header-row {
        flex-direction: column;
        align-items: flex-start;
    }
}
