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

:root {
    --ink: #161a18;
    --muted: #5d665f;
    --muted-strong: #394039;
    --green: #62b233;
    --green-dark: #3f8f24;
    --green-soft: #edf7e8;
    --surface: #ffffff;
    --canvas: #f7f9f5;
    --line: #dfe8db;
    --line-strong: #c9d7c4;
    --shadow: 0 18px 48px rgba(24, 32, 25, 0.1);
    --shadow-soft: 0 10px 28px rgba(24, 32, 25, 0.07);
    --radius: 8px;
}

html {
    scroll-behavior: smooth;
}

body {
    min-width: 320px;
    overflow-x: hidden;
    background:
        linear-gradient(90deg, rgba(98, 178, 51, 0.04) 0 1px, transparent 1px 88px),
        linear-gradient(180deg, rgba(98, 178, 51, 0.03) 0 1px, transparent 1px 88px),
        var(--canvas);
    color: var(--ink);
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
}

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

a {
    color: inherit;
}

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

.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 0;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(18px);
    box-shadow: 0 10px 32px rgba(23, 29, 24, 0.05);
}

.nav-shell,
.navbar .container {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 2rem;
    align-items: center;
    min-height: 84px;
}

.nav-brand {
    display: flex;
    align-items: center;
}

.brand-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.brand-logo {
    width: 152px;
    height: auto;
}

.nav-menu {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: clamp(1.2rem, 2.4vw, 2.5rem);
    list-style: none;
}

.nav-link {
    color: var(--muted-strong);
    font-family: 'Poppins', sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0;
    text-decoration: none;
    text-transform: uppercase;
    transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link:focus-visible {
    color: var(--green-dark);
}

.nav-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 1.1rem;
    border: 1px solid rgba(98, 178, 51, 0.46);
    border-radius: 5px;
    color: var(--green-dark);
    font-family: 'Poppins', sans-serif;
    font-size: 0.78rem;
    font-weight: 800;
    text-decoration: none;
    text-transform: uppercase;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.nav-cta:hover,
.nav-cta:focus-visible {
    background: var(--green);
    color: white;
    transform: translateY(-1px);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    justify-self: end;
    width: 42px;
    height: 42px;
    border: 1px solid var(--line);
    border-radius: 5px;
    background: white;
    cursor: pointer;
    align-items: center;
    justify-content: center;
}

.nav-toggle span {
    width: 20px;
    height: 2px;
    border-radius: 2px;
    background: var(--ink);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 1.35rem;
    border: 1px solid transparent;
    border-radius: 5px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.84rem;
    font-weight: 800;
    line-height: 1;
    text-decoration: none;
    text-transform: uppercase;
    cursor: pointer;
    transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease, color 0.22s ease;
}

.btn-primary {
    background: var(--green);
    color: white;
    box-shadow: 0 14px 26px rgba(98, 178, 51, 0.25);
}

.btn-primary:hover,
.btn-primary:focus-visible {
    background: var(--green-dark);
    transform: translateY(-2px);
    box-shadow: 0 18px 34px rgba(98, 178, 51, 0.3);
}

.btn-secondary {
    background: var(--ink);
    color: white;
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
    background: #2a302c;
    transform: translateY(-2px);
}

.btn-ghost {
    border-color: var(--line-strong);
    background: rgba(255, 255, 255, 0.78);
    color: var(--ink);
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
    border-color: rgba(98, 178, 51, 0.52);
    color: var(--green-dark);
    transform: translateY(-2px);
}

.eyebrow {
    margin-bottom: 0.75rem;
    color: var(--green-dark);
    font-family: 'Poppins', sans-serif;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

h1,
h2,
h3,
h4 {
    font-family: 'Poppins', sans-serif;
    letter-spacing: 0;
    color: var(--ink);
}

h1 {
    max-width: 720px;
    margin-bottom: 1rem;
    font-size: clamp(2.55rem, 6vw, 5.2rem);
    font-weight: 700;
    line-height: 0.98;
    text-transform: uppercase;
}

h1 span {
    display: block;
    color: var(--green);
}

h2 {
    margin-bottom: 1rem;
    font-size: clamp(1.9rem, 3vw, 3rem);
    font-weight: 600;
    line-height: 1.12;
}

h3 {
    margin-bottom: 0.65rem;
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.25;
}

p {
    color: var(--muted);
}

main {
    background: rgba(255, 255, 255, 0.36);
}

section {
    padding: 92px 0;
    scroll-margin-top: 86px;
}

.section-tight {
    padding: 72px 0;
}

.section-heading {
    width: min(720px, 100%);
    margin-bottom: 2.4rem;
}

.section-heading.centered {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.hero {
    position: relative;
    min-height: calc(100vh - 84px);
    display: grid;
    align-items: center;
    padding: 86px 0 76px;
    overflow: hidden;
    border-bottom: 1px solid var(--line);
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.82) 48%, rgba(247, 249, 245, 0.48) 100%),
        radial-gradient(circle at 82% 18%, rgba(98, 178, 51, 0.18), transparent 34%),
        var(--surface);
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(135deg, transparent 0 48%, rgba(98, 178, 51, 0.11) 48% 48.3%, transparent 48.3%),
        linear-gradient(45deg, transparent 0 62%, rgba(22, 26, 24, 0.06) 62% 62.2%, transparent 62.2%);
    opacity: 0.58;
}

.hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(380px, 1.08fr);
    gap: clamp(2rem, 5vw, 5rem);
    align-items: center;
}

.hero-subtitle {
    max-width: 570px;
    margin-bottom: 1.45rem;
    color: #3f4941;
    font-size: clamp(1.05rem, 1.6vw, 1.25rem);
}

.hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem 1.1rem;
    margin-bottom: 1.8rem;
}

.hero-tags span {
    position: relative;
    display: inline-flex;
    align-items: center;
    color: var(--ink);
    font-family: 'Poppins', sans-serif;
    font-size: 0.88rem;
    font-weight: 700;
}

.hero-tags span + span::before {
    content: "";
    width: 2px;
    height: 16px;
    margin-right: 1.1rem;
    background: var(--green);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
}

.hero-visual {
    position: relative;
    min-height: 520px;
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(244, 248, 241, 0.82)),
        linear-gradient(90deg, transparent 0 46px, rgba(98, 178, 51, 0.12) 46px 47px),
        linear-gradient(180deg, transparent 0 46px, rgba(22, 26, 24, 0.07) 46px 47px);
    background-size: auto, 94px 94px, 94px 94px;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.hero-visual::before {
    content: "";
    position: absolute;
    right: -80px;
    top: -65px;
    width: 390px;
    height: 390px;
    border: 1px solid rgba(98, 178, 51, 0.22);
    border-radius: 50%;
}

.hero-visual::after {
    content: "";
    position: absolute;
    inset: auto 24px 28px auto;
    width: 220px;
    height: 140px;
    border: 1px solid rgba(22, 26, 24, 0.12);
    background:
        linear-gradient(90deg, transparent 24%, rgba(98, 178, 51, 0.25) 24% 27%, transparent 27% 50%, rgba(98, 178, 51, 0.25) 50% 53%, transparent 53%),
        linear-gradient(180deg, rgba(22, 26, 24, 0.1), rgba(255, 255, 255, 0.2));
    opacity: 0.72;
}

.hero-panel {
    position: absolute;
    border: 1px solid rgba(22, 26, 24, 0.12);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.86);
    box-shadow: var(--shadow-soft);
}

.hero-panel-main {
    top: 74px;
    left: 58px;
    width: min(70%, 440px);
    padding: 1.1rem;
}

.panel-topline {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.panel-topline span {
    width: 42px;
    height: 5px;
    border-radius: 999px;
    background: var(--green);
}

.panel-topline span:nth-child(2) {
    width: 78px;
    background: rgba(22, 26, 24, 0.22);
}

.panel-topline span:nth-child(3) {
    width: 54px;
    background: rgba(98, 178, 51, 0.3);
}

.circuit-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.85rem;
}

.circuit-grid span {
    aspect-ratio: 1;
    border: 1px solid rgba(98, 178, 51, 0.34);
    border-radius: 5px;
    background:
        linear-gradient(90deg, transparent 46%, rgba(98, 178, 51, 0.3) 46% 54%, transparent 54%),
        linear-gradient(180deg, transparent 46%, rgba(98, 178, 51, 0.3) 46% 54%, transparent 54%),
        rgba(237, 247, 232, 0.58);
}

.hero-panel-side {
    right: 22px;
    bottom: 48px;
    width: min(290px, calc(100% - 44px));
    padding: 1rem 1.1rem;
    background: rgba(22, 26, 24, 0.9);
}

.hero-panel-side p {
    margin-bottom: 0.2rem;
    color: rgba(255, 255, 255, 0.62);
    font-family: 'Poppins', sans-serif;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
}

.hero-panel-side strong {
    color: white;
    font-size: 0.94rem;
}

.hero-equipment-card {
    position: absolute;
    left: 60px;
    bottom: 62px;
    width: min(270px, calc(100% - 120px));
    padding: 1rem;
    border: 1px solid rgba(98, 178, 51, 0.2);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: var(--shadow-soft);
}

.hero-equipment-card img {
    width: 150px;
    margin-bottom: 0.65rem;
}

.hero-equipment-card span {
    color: var(--muted-strong);
    font-family: 'Poppins', sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
}

.about {
    background: var(--surface);
    border-bottom: 1px solid var(--line);
}

.about-grid {
    display: grid;
    grid-template-columns: minmax(260px, 0.78fr) minmax(0, 1.22fr);
    gap: clamp(2rem, 5vw, 4.5rem);
    align-items: center;
}

.about-media {
    position: relative;
}

.about-media::after {
    content: "";
    position: absolute;
    inset: 22px -18px -18px 22px;
    z-index: 0;
    border: 1px solid rgba(98, 178, 51, 0.35);
    border-radius: 8px;
}

.about-photo {
    position: relative;
    z-index: 1;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.section-copy p {
    margin-bottom: 1rem;
    color: var(--muted-strong);
    font-size: 1.02rem;
}

.check-list {
    display: grid;
    gap: 0.55rem;
    margin-top: 1.35rem;
    list-style: none;
}

.check-list li {
    position: relative;
    padding-left: 1.6rem;
    color: var(--muted-strong);
}

.check-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.54rem;
    width: 8px;
    height: 8px;
    border: 2px solid var(--green);
    border-radius: 50%;
}

.services,
.projects {
    background: var(--canvas);
}

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

.service-card,
.benefit-card,
.portfolio-item {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: var(--shadow-soft);
    transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.service-card,
.benefit-card {
    padding: 1.55rem;
    overflow: visible;
}

.service-card:hover,
.benefit-card:hover,
.portfolio-item:hover {
    border-color: rgba(98, 178, 51, 0.48);
    box-shadow: var(--shadow);
    transform: translateY(-4px);
}

.service-icon,
.line-icon {
    display: inline-grid;
    place-items: center;
    width: 48px;
    height: 48px;
    margin-bottom: 1.15rem;
    border: 1px solid rgba(98, 178, 51, 0.36);
    border-radius: 6px;
    background: var(--green-soft);
    color: var(--green-dark);
    font-family: 'Poppins', sans-serif;
    font-size: 0.88rem;
    font-weight: 800;
}

.service-icon svg,
.line-icon svg {
    width: 31px;
    height: 31px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.line-icon svg {
    width: 34px;
    height: 34px;
}

.service-card p,
.benefit-card p,
.portfolio-item p {
    font-size: 0.95rem;
    line-height: 1.65;
}

.service-card h3,
.benefit-card h3,
.portfolio-item h3 {
    overflow-wrap: anywhere;
}

.benefits {
    background: white;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.benefit-card {
    background: linear-gradient(180deg, #ffffff, #fbfdf9);
}

.portfolio-item {
    overflow: hidden;
}

.portfolio-image {
    width: 100%;
    height: 174px;
    object-fit: cover;
    object-position: center;
}

.portfolio-body {
    padding: 1.45rem;
}

.tech-tag {
    display: inline-flex;
    margin-top: 0.55rem;
    padding: 0.36rem 0.62rem;
    border: 1px solid rgba(98, 178, 51, 0.32);
    border-radius: 999px;
    background: var(--green-soft);
    color: var(--green-dark);
    font-family: 'Poppins', sans-serif;
    font-size: 0.75rem;
    font-weight: 800;
}

.contact {
    position: relative;
    overflow: hidden;
    background: #111713;
    color: white;
}

.contact::before {
    display: none;
}

.contact-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 0.82fr) minmax(360px, 1.18fr);
    gap: clamp(2rem, 5vw, 4rem);
    align-items: start;
}

.contact h2,
.contact h3 {
    color: white;
}

.contact p {
    color: rgba(255, 255, 255, 0.78);
}

.contact .eyebrow {
    color: #8ed56a;
}

.contact-details {
    display: grid;
    gap: 0.45rem;
    margin-top: 1.6rem;
    padding-top: 1.35rem;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.contact-details p {
    margin: 0;
}

.contact-details a {
    color: #9be277;
    text-decoration: none;
}

.contact-details a:hover,
.contact-details a:focus-visible {
    text-decoration: underline;
}

.contact-form {
    padding: clamp(1.25rem, 3vw, 2rem);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(14px);
    box-shadow: 0 24px 58px rgba(0, 0, 0, 0.22);
}

.hidden-field {
    display: none;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.45rem;
    color: rgba(255, 255, 255, 0.82);
    font-family: 'Roboto', sans-serif;
    font-size: 0.8rem;
    font-weight: 400;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.82rem 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.94);
    color: var(--ink);
    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--green);
    box-shadow: 0 0 0 3px rgba(98, 178, 51, 0.26);
}

.form-group textarea {
    resize: vertical;
}

.footer {
    background: #121613;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-grid,
.footer-content {
    display: grid;
    grid-template-columns: 1.3fr repeat(3, minmax(150px, 1fr));
    gap: 2rem;
}

.footer-logo {
    width: 170px;
    margin-bottom: 1rem;
}

.footer-section h4 {
    margin-bottom: 0.9rem;
    color: #9be277;
    font-size: 0.95rem;
}

.footer-section p,
.footer-bottom p {
    color: rgba(255, 255, 255, 0.68);
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 0.45rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.76);
    text-decoration: none;
}

.footer-section a:hover,
.footer-section a:focus-visible {
    color: #9be277;
}

.footer-bottom {
    margin-top: 2rem;
    padding-top: 1.2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.profile-overlay {
    position: fixed;
    inset: 0;
    z-index: 1050;
    background: rgba(15, 17, 14, 0.48);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.24s ease;
}

body.profile-open .profile-overlay {
    opacity: 1;
    pointer-events: auto;
}

.profile-badge {
    position: fixed;
    right: 0;
    top: clamp(116px, 44vh, calc(100vh - 150px));
    z-index: 1100;
    display: flex;
    align-items: center;
    font-family: 'Roboto', sans-serif;
}

.profile-trigger {
    display: grid;
    gap: 0.52rem;
    place-items: center;
    min-width: 92px;
    padding: 1rem 0.82rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-right: 0;
    border-radius: 10px 0 0 10px;
    background: var(--ink);
    color: white;
    box-shadow: 0 12px 28px rgba(31, 31, 31, 0.2);
    cursor: default;
    animation: profileBadgeFloat 3.6s ease-in-out infinite;
    transform-origin: right center;
}

.profile-trigger-mark {
    display: inline-grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 999px;
    background: var(--green);
    color: white;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 800;
    box-shadow: 0 0 0 0 rgba(98, 178, 51, 0.45);
    animation: profileMarkPulse 2.4s ease-out infinite;
}

.profile-trigger-text {
    font-family: 'Poppins', sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0;
    text-align: center;
}

.profile-card {
    position: absolute;
    right: 92px;
    top: 50%;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto;
    width: min(460px, calc(100vw - 96px));
    max-height: calc(100vh - 124px);
    overflow: hidden;
    padding: 1.1rem;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 18px 42px rgba(31, 31, 31, 0.2);
    opacity: 0;
    pointer-events: none;
    transform: translate(18px, -50%);
    transition: opacity 0.24s ease, transform 0.24s ease;
}

.profile-badge:hover .profile-card,
.profile-badge:focus-within .profile-card,
.profile-badge.is-open .profile-card {
    opacity: 1;
    pointer-events: auto;
    transform: translate(0, -50%);
}

.profile-card-kicker {
    margin-bottom: 0.15rem;
    color: var(--green-dark);
    font-family: 'Poppins', sans-serif;
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
}

.profile-head {
    display: grid;
    grid-template-columns: 74px 1fr;
    gap: 0.85rem;
    align-items: center;
    margin-bottom: 0.85rem;
}

.profile-photo {
    width: 74px;
    height: 74px;
    object-fit: cover;
    border: 3px solid var(--green);
    border-radius: 50%;
    box-shadow: 0 10px 20px rgba(31, 31, 31, 0.14);
}

.profile-card h2 {
    margin-bottom: 0.15rem;
    font-size: 1.3rem;
}

.profile-role {
    margin-bottom: 0;
    color: var(--ink);
    font-weight: 700;
    line-height: 1.3;
}

.profile-facts {
    display: grid;
    gap: 0.58rem;
    min-height: 0;
    margin-bottom: 0.9rem;
    overflow: hidden;
}

.profile-facts div {
    padding-bottom: 0.58rem;
    border-bottom: 1px solid var(--line);
}

.profile-facts dt {
    color: var(--green-dark);
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
}

.profile-facts dd {
    margin-top: 0.2rem;
    color: var(--ink);
    font-size: 0.93rem;
    line-height: 1.35;
}

.profile-actions {
    display: grid;
    gap: 0.55rem;
    padding-top: 0.15rem;
    background: rgba(255, 255, 255, 0.98);
}

.profile-download {
    width: 100%;
    text-align: center;
}

.legal-page {
    min-height: calc(100vh - 150px);
    background: var(--canvas);
}

.legal-page h1 {
    margin-bottom: 2rem;
}

.legal-card {
    padding: 2rem;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
    box-shadow: var(--shadow-soft);
}

.legal-card h2 {
    margin-top: 2rem;
    font-size: 1.45rem;
}

.legal-card h2:first-child {
    margin-top: 0;
}

.legal-card h3 {
    margin-top: 1rem;
    font-size: 1.1rem;
}

.legal-card a {
    color: var(--green-dark);
    font-weight: 700;
}

.legal-note,
.legal-actions {
    margin-top: 2rem;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes unfoldCard {
    from {
        opacity: 0;
        transform: translateY(18px) scaleY(0.82);
        transform-origin: top center;
    }
    to {
        opacity: 1;
        transform: translateY(0) scaleY(1);
        transform-origin: top center;
    }
}

@keyframes profileBadgeFloat {
    0%,
    100% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(-6px);
    }
}

@keyframes profileMarkPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(98, 178, 51, 0.45);
    }
    70%,
    100% {
        box-shadow: 0 0 0 14px rgba(98, 178, 51, 0);
    }
}

@media (max-width: 980px) {
    .nav-shell {
        grid-template-columns: auto auto;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 84px;
        left: 0;
        display: grid;
        width: 100%;
        padding: 1.3rem 20px 1.6rem;
        border-bottom: 1px solid var(--line);
        background: white;
        box-shadow: 0 20px 38px rgba(23, 29, 24, 0.12);
        transform: translateX(-105%);
        transition: transform 0.24s ease;
    }

    .nav-menu.active {
        transform: translateX(0);
    }

    .nav-cta {
        display: none;
    }

    .hero {
        min-height: auto;
        padding-top: 68px;
    }

    .hero-grid,
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

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

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

@media (max-width: 720px) {
    .container {
        width: min(100% - 28px, 1220px);
    }

    section,
    .section-tight {
        padding: 56px 0;
        scroll-margin-top: 86px;
    }

    .brand-logo {
        width: 132px;
    }

    .nav-shell {
        min-height: 74px;
    }

    .nav-menu {
        top: 74px;
    }

    .hero {
        padding: 48px 0 56px;
    }

    .hero-tags span + span::before {
        display: none;
    }

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

    .hero-panel-main {
        top: 34px;
        left: 22px;
        width: calc(100% - 44px);
    }

    .hero-equipment-card {
        left: 22px;
        bottom: 34px;
        width: calc(100% - 44px);
    }

    .hero-panel-side {
        right: 22px;
        bottom: 126px;
    }

    .services-grid,
    .portfolio-grid,
    .benefits-grid,
    .form-row,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .about-media::after {
        inset: 16px -10px -10px 16px;
    }

    .profile-badge {
        top: auto;
        right: 14px;
        bottom: 14px;
    }

    .profile-trigger {
        min-width: 66px;
        padding: 0.82rem;
        border-right: 1px solid rgba(255, 255, 255, 0.12);
        border-radius: 999px;
    }

    .profile-trigger-mark {
        width: 42px;
        height: 42px;
    }

    .profile-trigger-text {
        display: none;
    }

    .profile-card {
        top: auto;
        right: 0;
        bottom: 64px;
        width: min(420px, calc(100vw - 28px));
        max-height: calc(100vh - 104px);
        transform: translateY(14px);
    }

    .profile-badge:hover .profile-card,
    .profile-badge:focus-within .profile-card,
    .profile-badge.is-open .profile-card {
        transform: translateY(0);
    }
}

@media (max-width: 460px) {
    h1 {
        font-size: 2.28rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    .hero-actions {
        display: grid;
    }

    .btn {
        width: 100%;
    }

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

    .hero-panel-side {
        display: none;
    }

    .service-card,
    .benefit-card,
    .portfolio-body,
    .contact-form,
    .legal-card {
        padding: 1.15rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

@media (max-height: 900px) {
    .profile-optional {
        display: none;
    }
}

@media (max-height: 760px) {
    .profile-card {
        width: min(430px, calc(100vw - 96px));
        padding: 1rem;
    }

    .profile-head {
        grid-template-columns: 58px 1fr;
        gap: 0.7rem;
        margin-bottom: 0.65rem;
    }

    .profile-photo {
        width: 58px;
        height: 58px;
    }

    .profile-card h2 {
        font-size: 1.18rem;
    }

    .profile-role,
    .profile-facts dd {
        font-size: 0.88rem;
    }

    .profile-facts {
        gap: 0.46rem;
        margin-bottom: 0.7rem;
    }

    .profile-facts div {
        padding-bottom: 0.46rem;
    }

    .profile-detail {
        display: none;
    }
}

@media (max-height: 640px) {
    .profile-fact:nth-of-type(6) {
        display: none;
    }

    .profile-download {
        padding: 9px 14px;
        font-size: 0.92rem;
    }
}

/* Reference-style composition: centered white stage, compact hero, and the portrait/services row directly below it. */
body {
    background:
        linear-gradient(90deg, rgba(31, 41, 36, 0.045) 0 1px, transparent 1px 88px),
        linear-gradient(180deg, rgba(31, 41, 36, 0.035) 0 1px, transparent 1px 88px),
        #f3f5f1;
}

body::before,
body::after {
    content: "";
    position: fixed;
    z-index: -1;
    pointer-events: none;
    opacity: 0.42;
}

body::before {
    left: 0;
    top: 130px;
    width: 280px;
    height: 520px;
    background:
        linear-gradient(35deg, transparent 0 49%, rgba(103, 118, 107, 0.22) 49% 50%, transparent 50%),
        linear-gradient(145deg, transparent 0 49%, rgba(103, 118, 107, 0.18) 49% 50%, transparent 50%),
        repeating-linear-gradient(0deg, transparent 0 54px, rgba(103, 118, 107, 0.13) 54px 55px),
        repeating-linear-gradient(90deg, transparent 0 54px, rgba(103, 118, 107, 0.13) 54px 55px);
}

body::after {
    right: 0;
    bottom: 80px;
    width: 310px;
    height: 360px;
    border: 1px solid rgba(103, 118, 107, 0.16);
    border-radius: 46% 54% 45% 55%;
    background:
        radial-gradient(circle at 62% 34%, transparent 0 26px, rgba(103, 118, 107, 0.18) 27px 28px, transparent 29px),
        linear-gradient(135deg, transparent 0 46%, rgba(103, 118, 107, 0.18) 46% 47%, transparent 47%);
}

.navbar,
main,
.footer {
    width: min(100%, 1440px);
    margin-inline: auto;
}

.navbar {
    position: sticky;
    border-left: 1px solid rgba(223, 232, 219, 0.82);
    border-right: 1px solid rgba(223, 232, 219, 0.82);
    border-bottom: 0;
    background: rgba(255, 255, 255, 0.97);
}

main {
    background: #ffffff;
    box-shadow: 0 24px 70px rgba(20, 28, 23, 0.08);
}

.nav-shell,
.navbar .container {
    min-height: 86px;
}

.navbar .nav-shell {
    grid-template-columns: auto 1fr auto auto;
}

.hero {
    min-height: 430px;
    padding: 46px 0 34px;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.99) 0%, rgba(255, 255, 255, 0.95) 47%, rgba(245, 248, 243, 0.88) 100%),
        radial-gradient(circle at 70% 30%, rgba(98, 178, 51, 0.16), transparent 32%);
}

.hero::before {
    opacity: 0.36;
}

.hero-grid {
    grid-template-columns: minmax(390px, 0.9fr) minmax(460px, 1.1fr);
    gap: clamp(2.6rem, 5vw, 4.5rem);
}

h1 {
    max-width: 590px;
    font-size: clamp(2.65rem, 4.25vw, 4.25rem);
    line-height: 1.04;
}

.hero-copy {
    position: relative;
    z-index: 2;
    min-width: 0;
}

.hero-subtitle {
    max-width: 510px;
    font-size: 1.04rem;
}

.hero-tags {
    margin-bottom: 1.4rem;
}

.hero-actions .btn {
    min-width: 180px;
}

.hero-visual {
    min-height: 390px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.hero-visual::before,
.hero-visual::after,
.hero-equipment-card {
    display: none;
}

.desk-scene {
    position: absolute;
    inset: 0;
}

.hero-image {
    width: 100%;
    height: 390px;
    object-fit: cover;
    object-position: center;
    filter: saturate(0.95) contrast(1.03);
}

.blueprint-lines {
    position: absolute;
    left: 28px;
    right: 28px;
    bottom: 44px;
    height: 84px;
    border-top: 2px solid rgba(22, 26, 24, 0.1);
    background:
        linear-gradient(12deg, transparent 0 48%, rgba(22, 26, 24, 0.12) 48% 49%, transparent 49%),
        linear-gradient(165deg, transparent 0 42%, rgba(98, 178, 51, 0.16) 42% 43%, transparent 43%);
}

.desk-lamp {
    position: absolute;
    left: 72px;
    top: 48px;
    width: 84px;
    height: 150px;
    border-left: 5px solid rgba(22, 26, 24, 0.32);
    transform: rotate(-20deg);
    transform-origin: bottom;
}

.desk-lamp::before {
    content: "";
    position: absolute;
    left: -26px;
    top: -18px;
    width: 72px;
    height: 40px;
    border-radius: 50% 50% 44% 44%;
    background: #2d332f;
    box-shadow: 0 18px 30px rgba(252, 218, 133, 0.36);
}

.desk-lamp::after {
    content: "";
    position: absolute;
    left: 2px;
    top: 18px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 230, 159, 0.64);
    filter: blur(8px);
}

.monitor {
    position: absolute;
    left: 190px;
    top: 54px;
    width: 270px;
    height: 172px;
    border: 11px solid #232a25;
    border-radius: 6px;
    background: #f7faf6;
    box-shadow: 0 18px 34px rgba(22, 26, 24, 0.16);
}

.monitor::before {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -58px;
    width: 14px;
    height: 48px;
    background: #232a25;
    transform: translateX(-50%);
}

.monitor::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -68px;
    width: 110px;
    height: 12px;
    border-radius: 999px;
    background: #232a25;
    transform: translateX(-50%);
}

.monitor-screen {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    height: 100%;
    padding: 20px;
    background:
        linear-gradient(90deg, transparent 0 49%, rgba(98, 178, 51, 0.14) 49% 51%, transparent 51%),
        linear-gradient(180deg, transparent 0 49%, rgba(98, 178, 51, 0.12) 49% 51%, transparent 51%),
        #fbfdfb;
}

.monitor-screen span {
    border: 1px solid rgba(63, 143, 36, 0.34);
    background: rgba(237, 247, 232, 0.72);
}

.controller {
    position: absolute;
    left: 128px;
    bottom: 82px;
    width: 92px;
    height: 76px;
    border: 7px solid #2c342e;
    border-radius: 4px;
    background: linear-gradient(90deg, #343d36 0 26%, #202621 26% 100%);
    box-shadow: 0 14px 24px rgba(22, 26, 24, 0.18);
}

.controller span {
    position: absolute;
    top: 14px;
    width: 9px;
    height: 30px;
    border-radius: 999px;
    background: var(--green);
}

.controller span:nth-child(1) { left: 38px; }
.controller span:nth-child(2) { left: 54px; opacity: 0.8; }
.controller span:nth-child(3) { left: 70px; opacity: 0.6; }

.laptop {
    position: absolute;
    right: 170px;
    bottom: 88px;
    width: 168px;
    height: 106px;
    border: 8px solid #222922;
    border-radius: 7px 7px 2px 2px;
    background: #161b17;
    box-shadow: 0 14px 28px rgba(22, 26, 24, 0.18);
}

.laptop::after {
    content: "";
    position: absolute;
    left: -18px;
    right: -18px;
    bottom: -18px;
    height: 12px;
    border-radius: 0 0 12px 12px;
    background: #2c342e;
}

.laptop span {
    display: block;
    width: 64%;
    height: 4px;
    margin: 14px auto 0;
    border-radius: 999px;
    background: rgba(98, 178, 51, 0.82);
}

.laptop span:nth-child(2) {
    width: 48%;
    background: rgba(255, 255, 255, 0.36);
}

.laptop span:nth-child(3) {
    width: 58%;
}

.cabinet {
    position: absolute;
    right: 22px;
    top: 38px;
    width: 146px;
    height: 260px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    padding: 18px;
    border: 8px solid #3a423d;
    border-radius: 4px;
    background:
        linear-gradient(90deg, transparent 0 48%, rgba(98, 178, 51, 0.35) 48% 52%, transparent 52%),
        #212721;
    box-shadow: 0 18px 34px rgba(22, 26, 24, 0.24);
}

.cabinet span {
    min-height: 34px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 3px;
    background:
        linear-gradient(180deg, rgba(132, 226, 94, 0.8), rgba(98, 178, 51, 0.35) 34%, transparent 34%),
        #303832;
}

.hero-panel-side {
    right: 20px;
    bottom: 28px;
    width: 285px;
    border-radius: 5px;
    background: rgba(26, 33, 29, 0.92);
}

.intro-panel {
    padding: 28px 0 38px;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: #fff;
}

.intro-grid {
    display: grid;
    grid-template-columns: 250px minmax(310px, 0.9fr) minmax(410px, 1.35fr);
    gap: 2rem;
    align-items: start;
}

.intro-panel .about-media::after {
    display: none;
}

.intro-panel .about-photo {
    aspect-ratio: 1 / 1.12;
    border-radius: 7px;
}

.intro-panel h2 {
    font-size: 1.52rem;
    font-weight: 600;
}

.intro-panel .section-copy p,
.intro-panel .check-list li {
    font-size: 0.9rem;
}

.intro-panel .check-list {
    gap: 0.32rem;
    margin-top: 0.95rem;
}

.intro-services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 0.75rem;
    align-items: stretch;
}

.intro-services > .eyebrow {
    grid-column: 1 / -1;
    margin: 0;
}

.mini-service-card {
    min-height: 100%;
    padding: 1.05rem;
    border: 1px solid var(--line);
    border-radius: 7px;
    background: #fff;
    box-shadow: var(--shadow-soft);
    overflow: visible;
}

.mini-service-card h3 {
    font-size: 0.9rem;
    line-height: 1.25;
    text-transform: uppercase;
    overflow-wrap: normal;
    word-break: normal;
    hyphens: auto;
}

.mini-service-card p {
    font-size: 0.82rem;
    line-height: 1.55;
}

.services {
    padding-top: 54px;
}

.services .section-heading,
.projects .section-heading {
    margin-bottom: 1.5rem;
}

.services .section-heading h2,
.projects .section-heading h2,
.benefits .section-heading h2 {
    font-size: clamp(1.55rem, 2.2vw, 2.2rem);
    font-weight: 600;
}

.benefits {
    padding: 44px 0;
}

.benefits-grid {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.benefit-card {
    border: 0;
    border-right: 1px solid var(--line);
    box-shadow: none;
}

.benefit-card:last-child {
    border-right: 0;
}

@media (max-width: 1180px) {
    .hero-grid,
    .intro-grid {
        grid-template-columns: 1fr;
    }

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

    .intro-services {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    }
}

@media (max-width: 980px) {
    .navbar .nav-shell {
        grid-template-columns: auto auto;
    }
}

@media (max-width: 780px) {
    .hero-grid {
        gap: 1.4rem;
    }

    .hero-visual {
        min-height: 330px;
        overflow: hidden;
    }

    .hero-image {
        height: 330px;
    }

    .monitor {
        left: 72px;
        width: 230px;
    }

    .cabinet {
        right: 14px;
        width: 118px;
    }

    .desk-lamp,
    .laptop {
        display: none;
    }

    .controller {
        left: 34px;
    }

    .intro-services,
    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .benefit-card {
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .benefit-card:last-child {
        border-bottom: 0;
    }
}

@media (max-width: 1180px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }

    .hero-copy {
        max-width: 720px;
    }
}

@media (max-width: 460px) {
    h1 {
        max-width: 100%;
        font-size: clamp(1.78rem, 8.1vw, 2.12rem);
        line-height: 1.08;
        overflow-wrap: normal;
    }

    .hero-image {
        height: 300px;
    }
}
