:root {
    color-scheme: light;
    --ink: #111827;
    --muted: #4b5565;
    --soft: #f7f9fc;
    --paper: #ffffff;
    --line: #e6eaf2;
    --navy: #17243a;
    --blue: #3867e8;
    --green: #4caf5d;
    --purple: #9248e8;
    --orange: #e96f2c;
    --yellow: #ffd545;
    --red: #ec6a61;
    --radius: 14px;
    --radius-lg: 20px;
    --radius-pill: 999px;
    --shadow: 0 18px 48px rgba(17, 24, 39, 0.12);
    --soft-shadow: 0 10px 28px rgba(17, 24, 39, 0.08);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: #fff;
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
}

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

.site-header {
    position: sticky;
    top: 20px;
    z-index: 30;
    margin-bottom: 40px;
    padding: 0 22px;
}

.site-header-inner {
    display: flex;
    width: min(1180px, 100%);
    min-height: 66px;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-inline: auto;
    border-radius: var(--radius-pill);
    padding: 8px 8px 8px 22px;
    background: var(--navy);
    box-shadow: 0 18px 40px rgba(17, 24, 39, 0.22), 0 2px 10px rgba(17, 24, 39, 0.16);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.brand-mark {
    display: grid;
    width: 40px;
    height: 40px;
    flex: 0 0 auto;
    place-items: center;
    overflow: hidden;
}

.brand-mark img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transform: scale(1.25);
}

.brand-copy {
    display: grid;
    line-height: 1.1;
}

.brand-copy strong {
    color: #fff;
    font-size: 1.08rem;
}

.brand-copy small {
    margin-top: 4px;
    color: rgba(255, 255, 255, 0.56);
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-link {
    padding: 10px 14px;
    border-radius: var(--radius-pill);
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.93rem;
    font-weight: 700;
    transition: color 160ms ease, background 160ms ease;
}

.nav-link:hover,
.nav-link.is-active {
    color: #fff;
    background: rgba(255, 255, 255, 0.14);
}

@media (min-width: 1021px) {
    .site-nav .nav-link:last-child {
        padding-right: 14px;
        margin-right: 10px;
    }
}

.nav-cta {
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    gap: 10px;
    border-radius: var(--radius-pill);
    padding: 8px 8px 8px 18px;
    color: #fff;
    background: var(--blue);
    box-shadow: 0 10px 22px rgba(56, 103, 232, 0.36);
    font-weight: 800;
    transition: transform 160ms ease, box-shadow 160ms ease;
}

.nav-cta:hover {
    transform: translateY(-1px);
}

.nav-cta::after {
    content: "→";
    display: inline-flex;
    width: 28px;
    height: 28px;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.24);
    font-size: 0.85rem;
}

.nav-toggle {
    display: none;
    width: 46px;
    height: 46px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
}

.nav-toggle span {
    display: block;
    width: 16px;
    height: 2px;
    margin: 4px auto;
    background: #fff;
}

.hero {
    position: relative;
    overflow: hidden;
    color: #fff;
    background: #1a2f66;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(31, 62, 142, 0.92), rgba(70, 86, 171, 0.78)),
        linear-gradient(180deg, rgba(16, 32, 76, 0.62), rgba(23, 55, 128, 0.86)),
        url("../img/resulslab-hero.png") center right / cover no-repeat;
    filter: saturate(0.9);
}

.dot-grid {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-image: radial-gradient(circle, rgba(255, 255, 255, 0.16) 1px, transparent 1px);
    background-size: 28px 28px;
    mask-image: radial-gradient(circle at 30% 40%, #000 0%, transparent 72%);
    -webkit-mask-image: radial-gradient(circle at 30% 40%, #000 0%, transparent 72%);
}

.page-hero .dot-grid {
    background-image: radial-gradient(circle, rgba(56, 103, 232, 0.16) 1px, transparent 1px);
}

.hero-content,
.page-hero,
.section,
.cta-band,
.project-gallery-wrap {
    width: min(1180px, calc(100% - 44px));
    margin-inline: auto;
}

.hero-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 460px);
    align-items: center;
    gap: clamp(32px, 5vw, 64px);
    padding: clamp(64px, 8vw, 104px) 0;
    text-align: left;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin: 0 0 14px;
    color: var(--blue);
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
}

.eyebrow .tag-dot {
    width: 7px;
    height: 7px;
    flex: 0 0 auto;
    border-radius: 50%;
    background: var(--blue);
    box-shadow: 0 0 0 0 rgba(56, 103, 232, 0.5);
    animation: dot-breathe 2.4s ease-in-out infinite;
}

.hero .eyebrow {
    color: #dce7ff;
}

.hero .eyebrow .tag-dot {
    background: var(--yellow);
    box-shadow: 0 0 0 0 rgba(255, 213, 69, 0.55);
}

@keyframes dot-breathe {
    0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 currentColor; opacity: 1; }
    50% { transform: scale(1.3); opacity: 0.7; }
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1 {
    max-width: 640px;
    margin-bottom: 20px;
    color: var(--navy);
    font-size: clamp(2.6rem, 5.6vw, 4.4rem);
    line-height: 1.04;
    letter-spacing: 0;
}

.hero h1 {
    color: #fff;
}

.hero h1 span {
    display: block;
    color: var(--yellow);
}

h2 {
    margin-bottom: 16px;
    color: var(--navy);
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1.08;
    letter-spacing: 0;
}

h3 {
    margin-bottom: 10px;
    color: var(--navy);
    font-size: 1.32rem;
    line-height: 1.2;
}

.hero-copy {
    max-width: 560px;
    color: #f2f5ff;
    font-size: clamp(1.02rem, 1.6vw, 1.15rem);
    font-weight: 650;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin: 32px 0 40px;
}

.card-link.card-link-yellow {
    margin-top: 0;
    --accent: var(--yellow);
}

.button {
    position: relative;
    display: inline-flex;
    min-height: 52px;
    align-items: center;
    gap: 10px;
    border: 1px solid transparent;
    border-radius: var(--radius-pill);
    padding: 8px 8px 8px 24px;
    font-weight: 900;
    cursor: pointer;
    transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease, color 160ms ease;
}

.button:hover {
    transform: translateY(-1px);
}

.button::after {
    content: "→";
    display: inline-flex;
    width: 30px;
    height: 30px;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 0.88rem;
    transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

.button-primary {
    color: #1a2b69;
    padding: 8px 28px;
    background-image: linear-gradient(90deg, var(--navy) 0 50%, #ffe36a 50% 100%);
    background-size: 200% 100%;
    background-position: 100% 0;
    box-shadow: 0 16px 34px rgba(245, 184, 61, 0.32);
    transition: background-position 380ms cubic-bezier(.65, 0, .35, 1), color 260ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.button-primary::after {
    display: none;
}

.button-primary:hover {
    background-position: 0 0;
    color: #fff;
    box-shadow: 0 16px 34px rgba(23, 36, 58, 0.34);
}

.button-secondary {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.58);
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
}

.button-secondary::after {
    background: rgba(255, 255, 255, 0.18);
}

.button-dark {
    color: #fff;
    background-image: linear-gradient(90deg, var(--navy) 0 50%, var(--blue) 50% 75%, var(--green) 75% 100%);
    background-size: 200% 100%;
    background-position: 100% 0;
    box-shadow: 0 16px 34px rgba(56, 103, 232, 0.26);
    transition: background-position 420ms cubic-bezier(.65, 0, .35, 1), transform 160ms ease, box-shadow 160ms ease;
}

.button-dark:hover {
    background-position: 0 0;
}

.button-dark::after {
    background: rgba(255, 255, 255, 0.22);
}

.hero-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: min(560px, 100%);
    margin: 0;
    gap: 12px;
}

.hero-metrics div {
    min-height: 106px;
    padding: 18px 16px;
    border: 1px solid rgba(255, 255, 255, 0.34);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.16);
    box-shadow: 0 16px 32px rgba(20, 40, 86, 0.18);
    backdrop-filter: blur(12px);
}

.hero-metrics dt {
    color: #fff;
    font-size: 1.3rem;
    font-weight: 950;
}

.hero-metrics dd {
    margin: 4px 0 0;
    color: #f3f6ff;
    font-size: 0.92rem;
    font-weight: 760;
}

.hero-visual {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    min-height: 420px;
}

.hero-visual-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 0;
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(120, 160, 255, 0.55), transparent 68%);
    filter: blur(6px);
    transform: translate(-50%, -50%);
}

.robot {
    position: relative;
    z-index: 1;
    width: min(320px, 82%);
    animation: robot-float 4.5s ease-in-out infinite;
}

.robot svg {
    display: block;
    width: 100%;
    height: auto;
    overflow: visible;
}

@keyframes robot-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.robot-head {
    transform-box: fill-box;
    transform-origin: 50% 100%;
}

.robot-body {
    transform-box: fill-box;
    transform-origin: 50% 0%;
}

.robot-pupil {
    transform-box: fill-box;
    transform-origin: 50% 50%;
}

.robot-socket {
    transform-box: fill-box;
    transform-origin: 50% 50%;
    animation: robot-blink 6s ease-in-out infinite;
}

.robot-antenna-light {
    transform-box: fill-box;
    transform-origin: 50% 50%;
    animation: dot-breathe 2.4s ease-in-out infinite;
}

@keyframes robot-blink {
    0%, 96%, 100% { transform: scaleY(1); }
    98% { transform: scaleY(0.08); }
}

.robot-speech {
    position: absolute;
    top: -10%;
    right: -10%;
    left: auto;
    z-index: 2;
    width: 230px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 14px 18px 34px;
    color: #f3f6ff;
    background: rgba(255, 255, 255, 0.16);
    filter: drop-shadow(0 10px 14px rgba(20, 40, 86, 0.28));
    backdrop-filter: blur(10px);
    font-size: 0.86rem;
    font-weight: 700;
    line-height: 1.42;
    animation: robot-float 4.5s ease-in-out infinite;
    clip-path: path("M20 0H210A20 20 0 0 1 230 20V80A20 20 0 0 1 210 100L54 100C50 108 40 116 30 120C26 112 24 106 24 100L20 100A20 20 0 0 1 0 80V20A20 20 0 0 1 20 0Z");
}

@media (max-width: 1020px) {
    .hero-content {
        grid-template-columns: minmax(0, 1fr);
        text-align: center;
    }

    h1 {
        max-width: 640px;
        margin-inline: auto;
    }

    .eyebrow,
    .hero-actions {
        justify-content: center;
    }

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

    .robot-speech {
        display: none;
    }
}

.section {
    padding: clamp(62px, 8vw, 106px) 0;
}

.section-compact {
    padding-top: 74px;
}

.section-muted {
    width: 100%;
    max-width: none;
    padding-inline: max(22px, calc((100vw - 1180px) / 2));
    background: linear-gradient(180deg, #ffffff 0%, #f6f8fc 100%);
}

.section-heading {
    max-width: 850px;
    margin: 0 auto 40px;
    text-align: center;
}

.section-heading p:not(.eyebrow),
.page-hero p {
    color: var(--muted);
}

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

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

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

.info-card,
.project-card,
.contact-form,
.detail-block {
    border: 2px solid #d7e7ff;
    border-radius: var(--radius-lg);
    background: #f0f6ff;
    box-shadow: var(--soft-shadow);
}

.info-card,
.project-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 250px;
    padding: 30px;
    overflow: visible;
    text-align: center;
    transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.info-card h2,
.project-card h2 {
    font-size: 1.32rem;
    line-height: 1.2;
}

.info-card h2,
.info-card h3,
.project-card h2,
.project-card h3 {
    min-height: 2.4em;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-body-flex {
    display: flex;
    flex: 1;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.info-card .card-link,
.project-card .card-link {
    margin-top: 30px;
}

.info-card:hover,
.project-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 42px rgba(17, 24, 39, 0.14);
}

.info-card:nth-child(6n+2),
.project-card:nth-child(6n+2) {
    border-color: #c8f1d3;
    background: #effbf2;
}

.info-card:nth-child(6n+3),
.project-card:nth-child(6n+3) {
    border-color: #e4cffd;
    background: #f7f0ff;
}

.info-card:nth-child(6n+4),
.project-card:nth-child(6n+4) {
    border-color: #ffd9ab;
    background: #fff7ed;
}

.info-card:nth-child(6n+5),
.project-card:nth-child(6n+5) {
    border-color: #b8ecec;
    background: #eafdfd;
}

.info-card:nth-child(6n),
.project-card:nth-child(6n) {
    border-color: #ffd0e0;
    background: #fff0f6;
}

.project-card:nth-child(6n+1) {
    border-color: #d7e7ff;
    background: #f0f6ff;
}

.icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    margin: 0 auto 22px;
    border-radius: 50%;
    font-size: 26px;
    color: #fff;
    background: linear-gradient(135deg, var(--blue), #5b83f0);
    box-shadow: 0 12px 24px rgba(56, 103, 232, 0.25);
}

.info-card:nth-child(6n+2) .icon,
.project-card:nth-child(6n+2) .icon {
    background: linear-gradient(135deg, var(--green), #5fcf71);
    box-shadow: 0 12px 24px rgba(76, 175, 93, 0.25);
}

.info-card:nth-child(6n+3) .icon,
.project-card:nth-child(6n+3) .icon {
    background: linear-gradient(135deg, var(--purple), #a857ee);
    box-shadow: 0 12px 24px rgba(146, 72, 232, 0.25);
}

.info-card:nth-child(6n+4) .icon,
.project-card:nth-child(6n+4) .icon {
    background: linear-gradient(135deg, var(--orange), #f08b42);
    box-shadow: 0 12px 24px rgba(233, 111, 44, 0.25);
}

.info-card:nth-child(6n+5) .icon,
.project-card:nth-child(6n+5) .icon {
    background: linear-gradient(135deg, #14b8a6, #5eead4);
    box-shadow: 0 12px 24px rgba(20, 184, 166, 0.25);
}

.info-card:nth-child(6n) .icon,
.project-card:nth-child(6n) .icon {
    background: linear-gradient(135deg, #ec4899, #f472b6);
    box-shadow: 0 12px 24px rgba(236, 72, 153, 0.25);
}

.project-card-more {
    border-color: var(--line) !important;
    border-style: dashed !important;
    background: var(--soft) !important;
}

.project-card-more .icon {
    background: linear-gradient(135deg, var(--navy), #47597c) !important;
}

.project-card-more p {
    color: var(--muted) !important;
    background: var(--line) !important;
}

.project-card-more .card-link {
    --accent: var(--blue) !important;
}

.info-card span,
.project-card p {
    display: inline-flex;
    margin-bottom: 16px;
    border-radius: 999px;
    padding: 5px 11px;
    color: #2f5dcc;
    background: #dfeaff;
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
}

.info-card:nth-child(6n+2) span,
.project-card:nth-child(6n+2) p {
    color: #2f8741;
    background: #dcf7e3;
}

.info-card:nth-child(6n+3) span,
.project-card:nth-child(6n+3) p {
    color: #7b35ca;
    background: #eadcff;
}

.info-card:nth-child(6n+4) span,
.project-card:nth-child(6n+4) p {
    color: #c15719;
    background: #ffe6ce;
}

.info-card:nth-child(6n+5) span,
.project-card:nth-child(6n+5) p {
    color: #0f766e;
    background: #ccfbf1;
}

.info-card:nth-child(6n) span,
.project-card:nth-child(6n) p {
    color: #be185d;
    background: #fce7f3;
}

.info-card:nth-child(6n+5) span {
    color: #0f766e;
    background: #ccfbf1;
}

.info-card:nth-child(6n) span {
    color: #be185d;
    background: #fce7f3;
}

.info-card p,
.project-card span,
.split-section p,
.detail-block p {
    color: var(--muted);
}

.card-link {
    --accent: var(--blue);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 46px;
    margin-top: 24px;
    border: none;
    border-radius: var(--radius-pill);
    padding: 8px 8px 8px 18px;
    color: #fff;
    font: inherit;
    cursor: pointer;
    background-image: linear-gradient(90deg, var(--navy) 0 50%, var(--accent) 50% 100%);
    background-size: 200% 100%;
    background-position: 100% 0;
    box-shadow: 0 10px 22px rgba(56, 103, 232, 0.22);
    font-weight: 900;
    transition: background-position 380ms cubic-bezier(.65, 0, .35, 1), transform 160ms ease, box-shadow 160ms ease;
}

.card-link:hover {
    background-position: 0 0;
    transform: translateY(-1px);
}

.info-card:nth-child(6n+2) .card-link,
.project-card:nth-child(6n+2) .card-link {
    --accent: var(--green);
}

.info-card:nth-child(6n+3) .card-link,
.project-card:nth-child(6n+3) .card-link {
    --accent: var(--purple);
}

.info-card:nth-child(6n+4) .card-link,
.project-card:nth-child(6n+4) .card-link {
    --accent: var(--orange);
}

.info-card:nth-child(6n+5) .card-link,
.project-card:nth-child(6n+5) .card-link {
    --accent: #14b8a6;
}

.info-card:nth-child(6n) .card-link,
.project-card:nth-child(6n) .card-link {
    --accent: #ec4899;
}

.card-link::after {
    content: "→";
    display: inline-flex;
    width: 26px;
    height: 26px;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.24);
    font-size: 0.82rem;
}

.split-section {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(300px, 1fr);
    gap: clamp(28px, 6vw, 72px);
    align-items: center;
}

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

.process-list > div {
    border: 2px solid #d7e7ff;
    border-radius: var(--radius);
    padding: 20px 22px;
    background: #f0f6ff;
    box-shadow: var(--soft-shadow);
    font-weight: 780;
    display: flex;
    align-items: center;
    gap: 18px;
    min-height: 84px;
}

.process-list > div:nth-child(6n+2) {
    border-color: #c8f1d3;
    background: #effbf2;
}

.process-list > div:nth-child(6n+3) {
    border-color: #e4cffd;
    background: #f7f0ff;
}

.process-list > div:nth-child(6n+4) {
    border-color: #ffd9ab;
    background: #fff7ed;
}

.process-list > div:nth-child(6n+5) {
    border-color: #b8ecec;
    background: #eafdfd;
}

.process-list > div:nth-child(6n) {
    border-color: #ffd0e0;
    background: #fff0f6;
}

.process-list strong {
    display: grid;
    width: 54px;
    height: 54px;
    flex: 0 0 auto;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    background: var(--blue);
    font-size: 1.4rem;
    box-shadow: 0 10px 20px rgba(56, 103, 232, 0.22);
}

.process-list > div:nth-child(6n+2) strong {
    background: var(--green);
}

.process-list > div:nth-child(6n+3) strong {
    background: var(--purple);
}

.process-list > div:nth-child(6n+4) strong {
    background: var(--orange);
}

.process-list > div:nth-child(6n+5) strong {
    background: #14b8a6;
}

.process-list > div:nth-child(6n) strong {
    background: #ec4899;
}

.detail-process-list > div {
    align-items: flex-start;
    min-height: 0;
}

.detail-process-list h3 {
    margin: 0 0 6px;
    font-size: 1.05rem;
}

.detail-process-list p {
    margin: 0;
    color: var(--muted);
}

.project-grid-detailed .project-card {
    min-height: 330px;
}

.tag-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-top: 22px;
}

.tag-row b {
    border-radius: 999px;
    padding: 6px 10px;
    color: #2f5dcc;
    background: #e0eaff;
    font-size: 0.78rem;
}

.cta-band {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    margin-bottom: 76px;
    padding: clamp(28px, 4vw, 44px);
    border-radius: var(--radius-lg);
    color: #fff;
    background: linear-gradient(135deg, var(--navy), var(--blue));
    box-shadow: 0 22px 48px rgba(56, 103, 232, 0.22);
}

.cta-band .eyebrow,
.cta-band h2 {
    color: #fff;
}

.cta-band h2 {
    max-width: 780px;
    margin-bottom: 0;
    line-height: 1;
    padding-top: 6px;
}

.page-hero {
    position: relative;
    display: grid;
    justify-items: center;
    padding: clamp(72px, 8vw, 116px) 0 40px;
    text-align: center;
}

.page-hero .eyebrow {
    justify-content: center;
}

.page-hero h1 {
    font-size: clamp(2.4rem, 5.6vw, 4.6rem);
}

.page-hero p {
    max-width: 850px;
    color: var(--muted);
    font-size: 1.14rem;
    font-weight: 620;
}

.contact-layout {
    display: grid;
    gap: 20px;
}

.contact-info-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.contact-info-row .contact-link {
    padding: 18px 20px;
    border: 2px solid #c8f1d3;
    border-radius: var(--radius-lg);
    background: #effbf2;
    box-shadow: var(--soft-shadow);
}

.contact-split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 24px;
    align-items: stretch;
}

.contact-form {
    padding: 28px;
    display: grid;
    gap: 16px;
    align-content: start;
}

.contact-form label {
    display: grid;
    gap: 8px;
    color: var(--navy);
    font-weight: 800;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 13px 14px;
    color: var(--ink);
    background: #fbfcff;
    font: inherit;
    outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: rgba(56, 103, 232, 0.66);
    box-shadow: 0 0 0 3px rgba(56, 103, 232, 0.12);
}

.contact-form textarea {
    resize: vertical;
}

.contact-submit {
    justify-self: start;
}

.contact-privacy-note {
    margin: -8px 0 0;
    color: var(--muted);
    font-size: 0.85rem;
}

.contact-privacy-note a {
    color: var(--blue);
    text-decoration: underline;
}

.notice {
    border-radius: 10px;
    padding: 12px 14px;
    font-weight: 800;
}

.notice p {
    margin: 0;
}

.notice-error {
    color: #9a241e;
    background: #fff1f0;
}

.notice-success {
    color: #23763a;
    background: #ecfbf0;
}

.contact-map {
    min-height: 320px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 2px solid #c8f1d3;
    background: #effbf2;
}

.contact-map iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
    color: var(--muted);
    font-weight: 750;
}

.contact-link .icon {
    flex: 0 0 auto;
    width: 42px;
    height: 42px;
    margin: 0;
    font-size: 18px;
    color: #fff;
}

.grecaptcha-badge {
    right: auto !important;
    left: 4px !important;
}

.whatsapp-widget {
    position: fixed;
    right: 22px;
    bottom: 80px;
    z-index: 80;
    display: grid;
    width: 46px;
    height: 46px;
    place-items: center;
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    box-shadow: 0 10px 24px rgba(17, 24, 39, 0.2);
    transition: transform 150ms ease;
}

.whatsapp-widget i {
    font-size: 22px;
}

.whatsapp-widget:hover {
    transform: translateY(-2px);
}

.lang-widget {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 80;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lang-widget-options {
    position: absolute;
    bottom: calc(100% + 10px);
    left: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateX(-50%) translateY(10px) scale(0.9);
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms;
}

.lang-widget.is-open .lang-widget-options {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0) scale(1);
}

.lang-widget-flag,
.lang-widget-toggle {
    display: grid;
    width: 46px;
    height: 46px;
    place-items: center;
    border: 2px solid transparent;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 10px 24px rgba(17, 24, 39, 0.2);
    font-size: 1.25rem;
    line-height: 1;
    cursor: pointer;
    transition: transform 150ms ease, border-color 150ms ease;
}

.lang-widget-flag:hover {
    transform: translateY(-2px);
}

.lang-widget-flag.is-current {
    border-color: var(--green);
}

.lang-widget-toggle {
    background: var(--navy);
    color: #fff;
    border: none;
}

.lang-widget-toggle:hover {
    transform: translateY(-2px);
}

@media (max-width: 560px) {
    .lang-widget {
        right: 14px;
        bottom: 14px;
    }

    .whatsapp-widget {
        right: 14px;
        bottom: 72px;
    }
}

.detail-content {
    display: grid;
    gap: 18px;
    max-width: 980px;
}

.project-gallery-wrap {
    max-width: 980px;
    margin-bottom: 40px;
}

.project-gallery-wrap + .detail-content {
    padding-top: 0;
}

.project-gallery,
.testimonial-gallery {
    position: relative;
}

.project-gallery-track {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--navy);
    box-shadow: var(--shadow);
}

.project-gallery-slide {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
}

.project-gallery-slide[hidden] {
    display: none;
}

.project-gallery-slide img,
.project-gallery-slide iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
    object-fit: cover;
}

.project-gallery-arrow {
    position: absolute;
    top: 50%;
    z-index: 5;
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border: none;
    border-radius: 50%;
    transform: translateY(-50%);
    color: #fff;
    background: rgba(13, 24, 48, 0.55);
    font-size: 1rem;
    cursor: pointer;
    transition: background 150ms ease, transform 150ms ease;
}

.project-gallery-arrow:hover {
    background: rgba(13, 24, 48, 0.82);
}

.project-gallery-arrow.prev {
    left: 14px;
}

.project-gallery-arrow.next {
    right: 14px;
}

.project-gallery-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
}

.project-gallery-dot {
    width: 9px;
    height: 9px;
    padding: 0;
    border: none;
    border-radius: 5px;
    background: var(--line);
    cursor: pointer;
    transition: width 150ms ease, background 150ms ease;
}

.project-gallery-dot.is-active {
    width: 22px;
    background: var(--blue);
}

.testimonial-gallery-track {
    max-width: 760px;
    margin: 0 auto;
}

.testimonial-slide {
    display: block;
    padding: 8px 66px;
    text-align: center;
}

.testimonial-slide[hidden] {
    display: none;
}

.testimonial-quote-icon {
    color: var(--blue);
    font-size: 1.6rem;
}

.testimonial-quote {
    margin: 14px 0 20px;
    color: var(--ink);
    font-size: 1.14rem;
    font-weight: 620;
    line-height: 1.6;
}

.testimonial-author strong {
    display: block;
    color: var(--navy);
}

.testimonial-author span {
    color: var(--muted);
    font-size: 0.9rem;
}

.detail-block {
    padding: clamp(24px, 4vw, 36px);
}

.detail-block:nth-child(6n+2) {
    border-color: #c8f1d3;
    background: #effbf2;
}

.detail-block:nth-child(6n+3) {
    border-color: #e4cffd;
    background: #f7f0ff;
}

.detail-block:nth-child(6n+4) {
    border-color: #ffd9ab;
    background: #fff7ed;
}

.detail-block:nth-child(6n+5) {
    border-color: #b8ecec;
    background: #eafdfd;
}

.detail-block:nth-child(6n) {
    border-color: #ffd0e0;
    background: #fff0f6;
}

.detail-block h2 {
    color: var(--navy);
    font-size: clamp(1.35rem, 2.6vw, 2.15rem);
}

.detail-block p {
    margin-bottom: 0;
    font-size: 1.04rem;
}

.site-footer {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    width: min(1180px, 100% - 28px);
    margin: 0 auto 14px;
    padding: 38px clamp(22px, 4vw, 64px);
    border-radius: var(--radius-lg);
    overflow: hidden;
    color: #dce5f7;
    background: var(--navy);
}

.footer-brand-group {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 14px;
}

.footer-logo {
    width: 120px;
    height: 120px;
    flex: 0 0 auto;
    object-fit: contain;
}

.footer-brand {
    position: relative;
    z-index: 1;
    display: inline-flex;
    margin-bottom: 6px;
    color: #fff;
    font-weight: 900;
}

.site-footer p {
    position: relative;
    z-index: 1;
    margin-bottom: 0;
}

.footer-social {
    position: relative;
    z-index: 1;
    display: flex;
    gap: 10px;
}

.footer-social a {
    display: grid;
    width: 36px;
    height: 36px;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    transition: background 160ms ease, transform 160ms ease;
}

.footer-social a:hover {
    background: rgba(255, 255, 255, 0.22);
    transform: translateY(-2px);
}

.footer-social i {
    font-size: 16px;
}

@media (max-width: 1020px) {
    .site-nav {
        position: absolute;
        top: 74px;
        right: 8px;
        left: 8px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        padding: 12px;
        border: 1px solid rgba(255, 255, 255, 0.12);
        border-radius: var(--radius-lg);
        background: var(--navy);
        box-shadow: 0 18px 40px rgba(17, 24, 39, 0.28);
    }

    .site-nav.is-open {
        display: flex;
    }

    .nav-toggle {
        display: block;
        margin-left: auto;
    }

    .split-section,
    .contact-split {
        grid-template-columns: 1fr;
    }

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

    .hero-metrics {
        grid-template-columns: 1fr;
        max-width: 520px;
    }

    .cta-band,
    .site-footer {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 700px) {
    .service-grid,
    .service-grid-large,
    .project-grid {
        grid-template-columns: 1fr;
    }

    .contact-info-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {
    .site-header-inner,
    .hero-content,
    .page-hero,
    .section,
    .cta-band {
        width: min(100% - 28px, 1180px);
    }

    .brand-copy small {
        display: none;
    }

    .hero {
        min-height: auto;
    }

    .hero-content {
        padding: 58px 0;
    }

    h1 {
        font-size: clamp(2.35rem, 13vw, 3.5rem);
    }

    .hero-actions .button,
    .hero-actions .card-link,
    .cta-band .button,
    .contact-form .button,
    .contact-form .card-link {
        width: 100%;
    }

    .info-card,
    .project-card {
        min-height: auto;
    }

    .testimonial-slide {
        padding: 8px 44px;
    }
}

body.rl-modal-open {
    overflow: hidden;
}

.rl-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: grid;
    place-items: center;
    padding: 20px;
    background: rgba(13, 24, 48, 0.56);
    backdrop-filter: blur(2px);
    animation: rl-modal-fade 160ms ease;
}

.rl-modal-overlay[hidden] {
    display: none;
}

.rl-modal {
    width: min(380px, 100%);
    text-align: center;
    border-radius: var(--radius-lg);
    padding: 28px 26px;
    background: var(--paper);
    box-shadow: 0 30px 70px rgba(5, 10, 25, 0.35);
    animation: rl-modal-pop 180ms ease;
}

.rl-modal-icon {
    display: grid;
    width: 54px;
    height: 54px;
    margin: 0 auto 14px;
    place-items: center;
    border-radius: 50%;
    color: var(--red);
    background: #fff1f0;
    font-size: 1.3rem;
}

.rl-modal-icon-success {
    color: var(--green);
    background: #ecfbf0;
}

.rl-modal h3 {
    margin: 0 0 8px;
    color: var(--navy);
}

.rl-modal p {
    margin: 0 0 22px;
    color: var(--muted);
}

.rl-modal-actions {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.rl-modal-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: none;
    border-radius: 999px;
    padding: 11px 22px;
    color: #fff;
    background: var(--navy);
    font-weight: 800;
    font-size: 0.92rem;
    cursor: pointer;
    transition: transform 150ms ease;
}

.rl-modal-btn:hover {
    transform: translateY(-1px);
}

@keyframes rl-modal-fade {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes rl-modal-pop {
    from { opacity: 0; transform: scale(0.94) translateY(6px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}
