*, *::before, *::after {
    box-sizing: border-box;
}

:root {
    --pine-950: #0d2724;
    --pine-900: #133833;
    --pine-800: #1d4c45;
    --pine-700: #2c6d62;
    --moss-200: #caefe2;
    --moss-100: #e9faf4;
    --sun-300: #ffd3a8;
    --sun-400: #f6b377;
    --surface: #ffffff;
    --surface-soft: #f6fbfa;
    --text-main: #173935;
    --text-soft: #486964;
    --border: #d3e8e1;
    --shadow: 0 20px 40px rgba(19, 56, 51, 0.12);
}

html, body {
    margin: 0;
    padding: 0;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-family: "Outfit", "Segoe UI", sans-serif;
    color: var(--text-main);
    background: linear-gradient(180deg, #f4fbf8 0%, #ecf7f2 100%);
    overflow-x: hidden;
    position: relative;
}

h1, h2 {
    margin: 0;
    font-family: "Archivo", "Outfit", sans-serif;
    letter-spacing: -0.01em;
    color: var(--pine-950);
}

p {
    margin: 0;
}

a {
    color: inherit;
}

.bg-grid {
    position: fixed;
    inset: 0;
    z-index: -3;
    background-image:
        linear-gradient(rgba(31, 94, 84, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(31, 94, 84, 0.08) 1px, transparent 1px);
    background-size: 30px 30px;
    opacity: 0.42;
}

.bg-glow {
    position: fixed;
    z-index: -2;
    border-radius: 50%;
    filter: blur(2px);
}

.bg-glow-left {
    width: 320px;
    height: 320px;
    top: 4%;
    left: -95px;
    background: radial-gradient(circle, rgba(255, 211, 168, 0.45) 0%, transparent 68%);
    animation: float-shift 9s ease-in-out infinite;
}

.bg-glow-right {
    width: 360px;
    height: 360px;
    bottom: -70px;
    right: -90px;
    background: radial-gradient(circle, rgba(124, 212, 190, 0.45) 0%, transparent 70%);
    animation: float-shift 11s ease-in-out infinite reverse;
}

.site-header {
    width: min(1120px, 100% - 2rem);
    margin: 1rem auto 0;
    padding: 0.95rem 1.05rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(8px);
    box-shadow: var(--shadow);
}

.brand-link {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    text-decoration: none;
    color: var(--pine-900);
    font-weight: 800;
    font-size: 1.04rem;
}

.brand-logo {
    width: 36px;
    height: 36px;
    border-radius: 9px;
    background: #ffffff;
    padding: 3px;
}

.site-header nav {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.site-header nav a {
    text-decoration: none;
    font-weight: 700;
    color: var(--pine-800);
    border: 1px solid #c5ddd5;
    border-radius: 999px;
    padding: 0.48rem 0.8rem;
    background: #f1fbf7;
}

.site-header nav a:hover {
    background: #e7f8f2;
}

.layout {
    width: min(1120px, 100% - 2rem);
    margin: 1.25rem auto 1rem;
    display: grid;
    grid-template-columns: 1.9fr 1fr;
    gap: 1rem;
}

.panel {
    border: 1px solid var(--border);
    border-radius: 20px;
    background: var(--surface);
    box-shadow: var(--shadow);
}

.hero {
    padding: 1.8rem;
}

.status {
    display: inline-block;
    margin-bottom: 0.82rem;
    padding: 0.35rem 0.72rem;
    border: 1px solid #f3ca98;
    border-radius: 999px;
    background: #fff3e4;
    color: #93591d;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.74rem;
    font-weight: 800;
}

h1 {
    font-size: clamp(1.65rem, 2.6vw, 2.45rem);
    line-height: 1.16;
    max-width: 21ch;
}

.lead {
    margin-top: 0.95rem;
    color: var(--text-soft);
    line-height: 1.62;
    max-width: 62ch;
}

.actions {
    margin-top: 1.25rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.btn {
    text-decoration: none;
    border-radius: 12px;
    padding: 0.72rem 1.08rem;
    font-weight: 700;
    font-size: 0.92rem;
    border: 1px solid transparent;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}

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

.btn-primary {
    color: #ffffff;
    background: linear-gradient(180deg, #2c786a, #216257);
    box-shadow: 0 10px 20px rgba(33, 98, 87, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(180deg, #35897a, #275f56);
}

.btn-secondary {
    color: #3d5d57;
    background: #edf8f4;
    border-color: #cfe5de;
}

.btn-secondary:hover {
    background: #e3f3ee;
}

.btn-ghost {
    color: #92612d;
    background: #fff4e7;
    border-color: #f0cfac;
}

.btn-ghost:hover {
    background: #ffeed8;
}

.progress {
    margin-top: 1.25rem;
    padding: 0.92rem;
    border: 1px dashed #c6ddd5;
    border-radius: 14px;
    background: linear-gradient(180deg, #fbfefd, #f3faf7);
}

.progress-label {
    margin-bottom: 0.7rem;
    color: #315a52;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.72rem;
    font-weight: 800;
}

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

.step {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.72rem 0.7rem;
    border-radius: 12px;
    border: 1px solid #d6e8e2;
    background: #ffffff;
    box-shadow: inset 0 0 0 1px rgba(241, 250, 246, 0.9);
}

.step:not(:last-child)::after {
    content: "";
    position: absolute;
    right: -0.42rem;
    top: 50%;
    width: 0.44rem;
    height: 2px;
    background: #b8d4cb;
    transform: translateY(-50%);
}

.step.done {
    background: linear-gradient(180deg, #f2fcf8, #e7f6f0);
    border-color: #c2dfd5;
}

.step.current {
    background: linear-gradient(180deg, #fffaf2, #fff3e2);
    border-color: #efd3ad;
}

.step-marker {
    width: 1.65rem;
    height: 1.65rem;
    flex: 0 0 1.65rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.78rem;
    font-weight: 800;
    color: #426b63;
    background: #e9f5f1;
    border: 1px solid #c9e2da;
}

.step.done .step-marker {
    color: #ffffff;
    background: #2f7a6c;
    border-color: #2f7a6c;
}

.step.current .step-marker {
    color: #8c5622;
    background: #ffe8cd;
    border-color: #f1cb9f;
}

.step-copy {
    display: grid;
    gap: 0.18rem;
    min-width: 0;
}

.step-name {
    font-size: 0.84rem;
    color: #2f534d;
    font-weight: 700;
    line-height: 1.3;
}

.step-state {
    display: inline-flex;
    width: fit-content;
    padding: 0.12rem 0.42rem;
    border-radius: 999px;
    font-size: 0.66rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 800;
    color: #3f655e;
    background: #e8f4ef;
}

.step.done .step-state {
    color: #1f5b4f;
    background: #d7eee5;
}

.step.current .step-state {
    color: #8e561f;
    background: #ffe5c6;
}

.owner {
    padding: 1.32rem;
    align-self: start;
    background:
        radial-gradient(circle at 100% 0%, rgba(255, 211, 168, 0.44) 0%, transparent 48%),
        #ffffff;
}

.owner h2 {
    font-size: 1.18rem;
}

.owner ol {
    margin: 0.82rem 0 1rem;
    padding-left: 1.12rem;
    color: var(--text-soft);
    line-height: 1.6;
    display: grid;
    gap: 0.36rem;
}

.owner-link {
    display: block;
    text-decoration: none;
    color: var(--pine-800);
    font-weight: 700;
    padding: 0.45rem 0;
}

.owner-link:hover {
    text-decoration: underline;
}

.visitors {
    grid-column: 1 / -1;
    padding: 1.15rem 1.35rem;
    display: grid;
    gap: 0.5rem;
    background:
        linear-gradient(180deg, #ffffff, #f8fcfb);
}

.visitors p {
    color: var(--text-soft);
    line-height: 1.58;
}

.services {
    grid-column: 1 / -1;
    padding: 1.2rem 1.35rem;
    display: grid;
    gap: 0.9rem;
    background:
        radial-gradient(circle at 100% 0%, rgba(202, 239, 226, 0.5) 0%, transparent 45%),
        linear-gradient(180deg, #ffffff, #f4fbf9);
}

.services-head {
    display: grid;
    gap: 0.25rem;
}

.services-kicker {
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.72rem;
    font-weight: 800;
    color: #35655d;
}

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

.service-card {
    text-decoration: none;
    border: 1px solid #cde3dc;
    border-radius: 14px;
    background: #ffffff;
    padding: 0.9rem;
    display: grid;
    gap: 0.5rem;
    box-shadow: 0 8px 18px rgba(23, 57, 53, 0.08);
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.service-card:hover {
    transform: translateY(-2px);
    border-color: #accfc4;
    box-shadow: 0 12px 22px rgba(23, 57, 53, 0.12);
}

.service-card h3 {
    margin: 0;
    font-size: 1rem;
    line-height: 1.3;
    color: var(--pine-900);
}

.service-card p {
    color: #4b6b65;
    line-height: 1.55;
    font-size: 0.9rem;
}

.service-card span {
    font-size: 0.82rem;
    font-weight: 800;
    color: #1f6658;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.site-footer {
    width: min(1120px, 100% - 2rem);
    margin: 0 auto 1rem;
    padding: 1rem 1.1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.82rem;
    flex-wrap: wrap;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.84);
    color: #3f665f;
    font-size: 0.88rem;
}

.site-footer nav {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.site-footer nav a {
    color: var(--pine-700);
    font-weight: 600;
    text-decoration: none;
}

.site-footer nav a:hover {
    text-decoration: underline;
}

.reveal {
    opacity: 0;
    transform: translateY(12px);
    animation: reveal 650ms ease forwards;
}

.delay-1 {
    animation-delay: 120ms;
}

.delay-2 {
    animation-delay: 220ms;
}

.delay-3 {
    animation-delay: 320ms;
}

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

@keyframes float-shift {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-14px) scale(1.03);
    }
}

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

    .owner {
        order: 2;
    }

    .visitors {
        order: 3;
    }

    .services {
        order: 4;
    }

    .progress-track {
        grid-template-columns: 1fr;
    }

    .step:not(:last-child)::after {
        display: none;
    }

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

@media (max-width: 660px) {
    .site-header {
        margin-top: 0.75rem;
        padding: 0.78rem 0.82rem;
    }

    .brand-link {
        font-size: 0.95rem;
    }

    .site-header nav a {
        font-size: 0.82rem;
        padding: 0.42rem 0.68rem;
    }

    .hero {
        padding: 1.3rem;
    }

    .actions {
        flex-direction: column;
    }

    .btn {
        text-align: center;
    }

    .owner, .visitors, .services {
        padding: 1rem;
    }

    .site-footer {
        padding: 0.86rem 0.9rem;
        font-size: 0.82rem;
    }
}
