:root {
    --cc-black: #0d0d0f;
    --cc-ink: #171719;
    --cc-muted: #676767;
    --cc-line: rgba(13, 13, 15, 0.12);
    --cc-orange: #ff6a00;
    --cc-orange-dark: #d94f00;
    --cc-orange-soft: #fff0e4;
    --cc-white: #ffffff;
    --cc-ice: #f7f7f4;
    --cc-teal: #13b7a6;
    --cc-shadow: 0 24px 70px rgba(13, 13, 15, 0.14);
}

* {
    letter-spacing: 0;
}

html {
    scroll-padding-top: 92px;
}

body {
    background: var(--cc-ice);
    color: var(--cc-ink);
    font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body,
p {
    line-height: 1.7;
}

h1,
h2,
h3,
h4,
h5,
h6,
.headline,
.section-heading {
    color: var(--cc-black);
    font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-weight: 850;
}

a {
    color: var(--cc-orange);
}

img {
    max-width: 100%;
}

.site-header {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.88);
    border-bottom: 1px solid rgba(13, 13, 15, 0.08);
    backdrop-filter: blur(18px);
}

.site-header .navbar {
    padding: 14px 0;
}

.brand-mark img {
    width: 178px;
    height: auto;
    display: block;
}

.navbar-toggler {
    border: 1px solid var(--cc-line);
    border-radius: 8px;
    padding: 10px;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 3px rgba(255, 106, 0, 0.18);
}

.nav-link {
    color: var(--cc-black);
    font-size: 0.94rem;
    font-weight: 750;
    padding: 10px 13px !important;
}

.nav-link:hover,
.nav-link:focus {
    color: var(--cc-orange);
}

.btn {
    border-radius: 8px;
    font-weight: 800;
    padding: 0.9rem 1.25rem;
}

.btn-lg {
    min-height: 54px;
    padding: 1rem 1.45rem;
}

.btn-primary,
.btn-primary:focus {
    background: var(--cc-orange);
    color: var(--cc-white);
    border: 1px solid var(--cc-orange);
    box-shadow: 0 14px 30px rgba(255, 106, 0, 0.28);
}

.btn-primary:hover,
.btn-primary:active {
    background: var(--cc-orange-dark);
    border-color: var(--cc-orange-dark);
    color: var(--cc-white);
    transform: translateY(-1px);
}

.btn-outline-light {
    border: 1px solid rgba(255, 255, 255, 0.24);
    color: var(--cc-white);
    background: rgba(255, 255, 255, 0.08);
}

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

.btn-nav {
    background: var(--cc-black);
    color: var(--cc-white);
    padding: 0.72rem 1rem;
}

.btn-nav:hover,
.btn-nav:focus {
    background: var(--cc-orange);
    color: var(--cc-white);
}

.hero-section {
    position: relative;
    min-height: 92vh;
    overflow: hidden;
    margin-top: 0 !important;
    padding: 132px 0 76px;
    color: var(--cc-white);
    background:
        linear-gradient(rgba(13, 13, 15, 0.78), rgba(13, 13, 15, 0.88)),
        url("../images/web-application-development.png") right 9% center / min(44vw, 520px) no-repeat,
        var(--cc-black);
}

.hero-section::after {
    content: "";
    position: absolute;
    right: -9vw;
    bottom: -24vw;
    width: 56vw;
    max-width: 720px;
    aspect-ratio: 1;
    border: 70px solid rgba(255, 106, 0, 0.26);
    border-radius: 50%;
    pointer-events: none;
}

.hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.03fr) minmax(360px, 0.78fr);
    gap: 56px;
    align-items: center;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 18px;
    color: var(--cc-orange);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
}

.eyebrow::before {
    content: "";
    width: 28px;
    height: 3px;
    background: currentColor;
    border-radius: 999px;
}

.headline {
    max-width: 900px;
    margin: 0;
    color: var(--cc-white);
    font-size: clamp(3rem, 7vw, 5.8rem);
    line-height: 0.95;
}

.hero-lead {
    max-width: 680px;
    margin: 26px 0 0;
    color: rgba(255, 255, 255, 0.76);
    font-size: 1.18rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 34px;
}

.hero-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    max-width: 760px;
    margin-top: 52px;
}

.hero-metrics div {
    min-height: 122px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
}

.hero-metrics strong {
    display: block;
    color: var(--cc-white);
    font-size: 1.7rem;
    line-height: 1.1;
}

.hero-metrics span {
    display: block;
    margin-top: 8px;
    color: rgba(255, 255, 255, 0.66);
    font-size: 0.92rem;
}

.hero-visual {
    align-self: stretch;
    min-height: 520px;
    display: flex;
    align-items: center;
}

.dashboard-shell {
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 8px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.34);
    backdrop-filter: blur(18px);
}

.dashboard-topbar {
    display: flex;
    gap: 8px;
    padding: 15px 18px;
    background: rgba(255, 255, 255, 0.09);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.dashboard-topbar span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.36);
}

.dashboard-topbar span:first-child {
    background: var(--cc-orange);
}

.dashboard-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    padding: 18px;
}

.status-panel,
.data-card {
    border-radius: 8px;
    background: var(--cc-white);
    color: var(--cc-black);
}

.status-panel {
    grid-column: 1 / -1;
    padding: 22px;
}

.status-header {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    color: var(--cc-muted);
    font-size: 0.86rem;
    font-weight: 800;
}

.status-header strong {
    color: var(--cc-teal);
}

.flow-line {
    height: 12px;
    width: 72%;
    margin-top: 18px;
    background: var(--cc-black);
    border-radius: 999px;
}

.flow-line.is-wide {
    width: 100%;
    background: var(--cc-orange);
}

.flow-line.is-short {
    width: 45%;
    background: var(--cc-teal);
}

.data-card {
    min-height: 128px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 20px;
    font-weight: 850;
}

.data-card svg,
.data-card i {
    font-size: 1.5rem;
}

.data-card.orange {
    background: var(--cc-orange);
    color: var(--cc-white);
}

.data-card.dark {
    background: #202024;
    color: var(--cc-white);
}

.hero-device {
    grid-column: 1 / -1;
    justify-self: center;
    max-width: 260px;
    margin: 12px 0 4px;
    filter: drop-shadow(0 24px 28px rgba(0, 0, 0, 0.2));
}

.section {
    padding: 96px 0;
}

.section-head {
    max-width: 760px;
    margin-bottom: 40px;
}

.section-head.compact {
    margin-right: auto;
    margin-left: auto;
    text-align: center;
}

.section-head.compact .eyebrow {
    justify-content: center;
}

.section-head h2,
.split-layout h2,
.about-panel h2,
.contact-intro h2 {
    margin: 0;
    font-size: clamp(2rem, 4.1vw, 3.85rem);
    line-height: 1;
}

.section-head p:not(.eyebrow),
.split-layout p,
.about-copy p,
.contact-intro p {
    color: var(--cc-muted);
    font-size: 1.06rem;
}

.section-head p:not(.eyebrow) {
    margin: 18px 0 0;
}

.services-section {
    background: var(--cc-white);
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.service-card {
    min-height: 318px;
    padding: 28px;
    border: 1px solid var(--cc-line);
    border-radius: 8px;
    background: var(--cc-white);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.service-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 106, 0, 0.3);
    box-shadow: var(--cc-shadow);
}

.service-icon {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    background: var(--cc-orange);
    border-radius: 8px;
}

.service-icon::before {
    content: "";
    width: 24px;
    height: 24px;
    background: var(--cc-white);
    mask: var(--service-icon) center / contain no-repeat;
    -webkit-mask: var(--service-icon) center / contain no-repeat;
}

.icon-websites {
    --service-icon: url("../fontawesome/svgs/solid/window-maximize.svg");
}

.icon-applications {
    --service-icon: url("../fontawesome/svgs/solid/layer-group.svg");
}

.icon-backends {
    --service-icon: url("../fontawesome/svgs/solid/server.svg");
}

.icon-automation {
    --service-icon: url("../fontawesome/svgs/solid/chart-line.svg");
}

.service-card h3 {
    margin: 28px 0 12px;
    font-size: 1.26rem;
}

.service-card p {
    margin: 0;
    color: var(--cc-muted);
}

.process-section {
    background: var(--cc-black);
    color: var(--cc-white);
}

.process-section h2,
.process-section h3 {
    color: var(--cc-white);
}

.process-section p {
    color: rgba(255, 255, 255, 0.66);
}

.split-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(360px, 0.75fr);
    gap: 72px;
    align-items: start;
}

.inline-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 14px;
    color: var(--cc-white);
    font-weight: 850;
    text-decoration: none;
}

.inline-link:hover,
.inline-link:focus {
    color: var(--cc-orange);
}

.process-list {
    display: grid;
    gap: 14px;
}

.process-step {
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 18px;
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.06);
}

.process-step span {
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    color: var(--cc-black);
    background: var(--cc-orange);
    border-radius: 8px;
    font-weight: 900;
}

.process-step h3 {
    margin: 0 0 6px;
    font-size: 1.1rem;
}

.process-step p {
    margin: 0;
}

.clients-section {
    background: var(--cc-ice);
}

.client-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
}

.client-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 150px;
  padding: 28px;
  background: var(--cc-white);
  border: 1px solid var(--cc-line);
  border-radius: 8px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-sizing: border-box;

  width: calc((100% - 72px) / 4);
  flex: 0 0 calc((100% - 72px) / 4);
}

@media (max-width: 767.98px) {
  .client-grid {
    gap: 16px;
  }

  .client-logo {
    width: 100%;
    flex: 0 0 100%;
  }
}

.client-logo:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 40px rgba(13, 13, 15, 0.08);
}

.client-logo img {
    max-height: 94px;
    object-fit: contain;
    display: block;
}

.about-section {
    background: var(--cc-white);
}

.about-panel {
    display: grid;
    grid-template-columns: minmax(0, 0.86fr) minmax(360px, 1fr);
    gap: 62px;
    padding: 54px;
    border: 1px solid var(--cc-line);
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(255, 106, 0, 0.1), rgba(255, 255, 255, 0) 42%),
        var(--cc-white);
}

.about-copy p:last-child {
    margin-bottom: 0;
}

.form-section {
    background: var(--cc-orange);
}

.contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.72fr) minmax(420px, 0.68fr);
    gap: 62px;
    align-items: start;
}

.contact-intro {
    position: sticky;
    top: 120px;
}

.contact-intro .eyebrow,
.contact-intro .eyebrow::before {
    color: var(--cc-black);
}

.contact-intro h2 {
    color: var(--cc-black);
}

.contact-intro p {
    color: rgba(13, 13, 15, 0.72);
}

.contact-note {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 26px;
    padding: 18px;
    color: var(--cc-black);
    background: rgba(255, 255, 255, 0.35);
    border: 1px solid rgba(13, 13, 15, 0.12);
    border-radius: 8px;
    font-weight: 800;
}

.lead-form-wrapper {
    padding: 28px;
    background: var(--cc-white);
    border: 1px solid rgba(13, 13, 15, 0.12);
    border-radius: 8px;
    box-shadow: var(--cc-shadow);
}

#formmessage {
    display: none;
}

.form-message {
    margin-bottom: 14px;
    padding: 12px 14px;
    border-radius: 8px;
    color: var(--cc-black);
    font-weight: 750;
}

.form-control {
    min-height: 58px;
    border: 1px solid rgba(13, 13, 15, 0.13);
    border-radius: 8px;
    background: #fbfbfa;
    color: var(--cc-black);
    font-weight: 600;
    padding: 0.95rem 1rem;
}

textarea.form-control {
    min-height: 220px;
}

.form-control:focus {
    border-color: var(--cc-orange);
    background: var(--cc-white);
    box-shadow: 0 0 0 4px rgba(255, 106, 0, 0.13);
}

.recaptcha-wrap {
    overflow-x: auto;
    padding-bottom: 2px;
}

.footer {
    background: var(--cc-black);
    color: rgba(255, 255, 255, 0.64);
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 110px;
}

.footer-brand img {
    width: 152px;
    filter: brightness(0) invert(1);
}

.copyright {
    font-size: 0.92rem;
}

@media (max-width: 1199.98px) {
    .hero-grid,
    .split-layout,
    .about-panel,
    .contact-layout {
        grid-template-columns: 1fr;
    }

    .hero-visual {
        min-height: 0;
    }

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

    .contact-intro {
        position: static;
    }
}

@media (max-width: 991.98px) {
    .site-header .navbar {
        padding: 10px 0;
    }

    .navbar-collapse {
        padding: 16px 0 8px;
    }

    .nav-link {
        padding: 10px 0 !important;
    }

    .btn-nav {
        display: inline-flex;
        margin-top: 8px;
    }

    .hero-section {
        min-height: auto;
        padding: 112px 0 58px;
        background:
            linear-gradient(rgba(13, 13, 15, 0.8), rgba(13, 13, 15, 0.9)),
            url("../images/web-application-development.png") right 20px bottom 20px / 280px no-repeat,
            var(--cc-black);
    }

    .hero-metrics {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 72px 0;
    }

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

@media (max-width: 767.98px) {
    .brand-mark img {
        width: 148px;
    }

    .headline {
        font-size: 2.78rem;
    }

    .hero-actions {
        display: grid;
    }

    .service-grid,
    .client-grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        min-height: auto;
    }

    .dashboard-body {
        grid-template-columns: 1fr;
    }

    .process-step {
        grid-template-columns: 1fr;
    }

    .about-panel,
    .lead-form-wrapper {
        padding: 24px;
    }

    .footer-inner {
        align-items: flex-start;
        flex-direction: column;
        justify-content: center;
    }
}

@media (max-width: 420px) {
    .headline {
        font-size: 2.35rem;
    }

    .section-head h2,
    .split-layout h2,
    .about-panel h2,
    .contact-intro h2 {
        font-size: 2rem;
    }
}
