:root {
    --bg: #0B0D10;
    --surface: #12151A;
    --surface-2: #171B22;
    --accent: #2DD4BF;
    --accent-ink: #042F2E;
    --text: #E8EEF2;
    --muted: #9AA4B2;
    --line: rgba(255, 255, 255, 0.08);
    --header-h: 72px;
    --wrap: 1120px;
    --radius: 16px;
    --font-body: "Inter", system-ui, sans-serif;
    --font-display: "Space Grotesk", system-ui, sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

html,
body {
    margin: 0;
    padding: 0;
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

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

button,
input,
select,
textarea {
    font: inherit;
    color: inherit;
}

h1,
h2,
h3 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -0.03em;
    margin: 0;
}

p {
    margin: 0;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: absolute;
    left: 1rem;
    top: -4rem;
    z-index: 100;
    background: var(--accent);
    color: var(--accent-ink);
    padding: 0.6rem 1rem;
    border-radius: 8px;
    font-weight: 600;
}

.skip-link:focus {
    top: 1rem;
}

.wrap {
    width: min(var(--wrap), calc(100% - 2.5rem));
    margin-inline: auto;
}

#services,
#process,
#about,
#contact {
    scroll-margin-top: calc(var(--header-h) + 12px);
}

/* Header */

.site-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 50;
    background: transparent;
    border-bottom: 1px solid transparent;
    transition: background 0.25s ease, border-color 0.25s ease, backdrop-filter 0.25s ease;
}

.site-header.is-scrolled,
.site-header.is-open {
    background: rgba(11, 13, 16, 0.82);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom-color: var(--line);
}

.header-inner {
    width: min(var(--wrap), calc(100% - 2.5rem));
    margin-inline: auto;
    min-height: var(--header-h);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border: 1px solid var(--accent);
    border-radius: 8px;
    color: var(--accent);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.04em;
}

.brand-name {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: -0.02em;
}

.nav-desktop {
    display: flex;
    align-items: center;
    gap: 1.75rem;
}

.nav-desktop a {
    color: var(--muted);
    font-size: 0.92rem;
    font-weight: 500;
    transition: color 0.15s ease;
}

.nav-desktop a:hover,
.nav-desktop a:focus-visible {
    color: var(--text);
}

.menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: transparent;
    cursor: pointer;
    align-items: center;
    justify-content: center;
}

.menu-toggle-bars,
.menu-toggle-bars::before,
.menu-toggle-bars::after {
    display: block;
    width: 16px;
    height: 1.5px;
    background: var(--text);
    position: relative;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-toggle-bars::before,
.menu-toggle-bars::after {
    content: "";
    position: absolute;
    left: 0;
}

.menu-toggle-bars::before { top: -5px; }
.menu-toggle-bars::after { top: 5px; }

.site-header.is-open .menu-toggle-bars {
    background: transparent;
}

.site-header.is-open .menu-toggle-bars::before {
    top: 0;
    transform: rotate(45deg);
}

.site-header.is-open .menu-toggle-bars::after {
    top: 0;
    transform: rotate(-45deg);
}

.nav-mobile {
    display: none;
    flex-direction: column;
    padding: 0.5rem 1.25rem 1.5rem;
    border-top: 1px solid var(--line);
}

.nav-mobile a {
    padding: 0.85rem 0;
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 600;
    border-bottom: 1px solid var(--line);
}

.nav-mobile a:last-child {
    border-bottom: 0;
}

/* Buttons */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0.7rem 1.25rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.95rem;
    border: 1px solid transparent;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.btn:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
}

.btn-primary {
    background: var(--accent);
    color: var(--accent-ink);
}

.btn-primary:hover {
    background: #5EEAD4;
}

.btn-ghost {
    background: transparent;
    color: var(--text);
    border-color: rgba(255, 255, 255, 0.18);
}

.btn-ghost:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.btn:disabled {
    opacity: 0.65;
    cursor: wait;
}

/* Hero */

.hero {
    position: relative;
    min-height: 100vh;
    display: grid;
    align-items: end;
    overflow: hidden;
    padding: calc(var(--header-h) + 4rem) 0 5rem;
}

.parallax-frame {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.parallax-layer {
    position: absolute;
    inset: -14% 0;
    background-size: cover;
    background-position: center;
    will-change: transform;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(11, 13, 16, 0.35) 0%, rgba(11, 13, 16, 0.55) 45%, rgba(11, 13, 16, 0.92) 100%),
        linear-gradient(90deg, rgba(11, 13, 16, 0.55) 0%, rgba(11, 13, 16, 0.15) 55%);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 40rem;
    margin-left: max(1.25rem, calc((100% - var(--wrap)) / 2));
    margin-right: auto;
    width: min(40rem, calc(100% - 2.5rem));
}

.eyebrow {
    color: var(--accent);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    margin-bottom: 0.85rem;
}

.hero h1 {
    font-size: clamp(2.4rem, 6vw, 4.1rem);
    margin-bottom: 1rem;
}

.lead,
.section-intro {
    color: var(--muted);
    font-size: 1.05rem;
    max-width: 38rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.75rem;
}

/* Sections */

.section {
    position: relative;
    padding: 6.5rem 0;
}

.section-head {
    margin-bottom: 2.5rem;
}

.section-head h2 {
    font-size: clamp(1.8rem, 3.4vw, 2.6rem);
    margin-bottom: 0.75rem;
}

.services,
.about,
.contact {
    background: var(--bg);
}

/* Packages */

.package-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    align-items: stretch;
}

.package-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.6rem 1.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.package-card--featured {
    background: var(--surface-2);
    border-color: var(--accent);
    box-shadow: 0 0 0 1px rgba(45, 212, 191, 0.18), 0 24px 60px rgba(0, 0, 0, 0.28);
    transform: translateY(-8px);
}

.badge {
    align-self: flex-start;
    margin: 0;
    padding: 0.25rem 0.65rem;
    border-radius: 999px;
    background: var(--accent);
    color: var(--accent-ink);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.package-card h3 {
    font-size: 1.45rem;
}

.price {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 600;
    letter-spacing: -0.03em;
}

.price span {
    color: var(--muted);
    font-size: 0.95rem;
    font-weight: 500;
}

.package-summary {
    color: var(--muted);
    font-size: 0.95rem;
}

.package-card ul {
    list-style: none;
    margin: 0 0 0.5rem;
    padding: 0;
    display: grid;
    gap: 0.55rem;
    flex: 1;
}

.package-card li {
    position: relative;
    padding-left: 1.15rem;
    color: var(--text);
    font-size: 0.95rem;
}

.package-card li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
}

.package-card .btn {
    width: 100%;
    margin-top: auto;
}

.addons {
    margin-top: 3rem;
    padding: 1.5rem 1.6rem;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.addons h3 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.addons ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.addons li {
    color: var(--muted);
    font-size: 0.95rem;
}

.addons strong {
    display: block;
    color: var(--text);
    margin-bottom: 0.25rem;
}

/* Process */

.process {
    overflow: hidden;
    min-height: 0;
}

.process .parallax-layer {
    filter: saturate(0.85) brightness(0.55);
}

.process-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(11, 13, 16, 0.72), rgba(11, 13, 16, 0.88));
}

.process-content {
    position: relative;
    z-index: 1;
}

.steps {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

.steps li {
    background: rgba(18, 21, 26, 0.78);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.4rem 1.25rem;
    backdrop-filter: blur(10px);
}

.step-num {
    display: block;
    color: var(--accent);
    font-family: var(--font-display);
    font-weight: 700;
    letter-spacing: 0.08em;
    margin-bottom: 0.7rem;
}

.steps h3 {
    font-size: 1.2rem;
    margin-bottom: 0.55rem;
}

.steps p {
    color: var(--muted);
    font-size: 0.95rem;
}

/* About */

.about-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: 3rem;
    align-items: start;
}

.about-copy {
    display: grid;
    gap: 1rem;
    color: var(--muted);
    font-size: 1.05rem;
}

/* Contact */

.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: 3rem;
    align-items: start;
}

.contact-form {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.6rem;
    display: grid;
    gap: 1rem;
}

.honeypot {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.field {
    display: grid;
    gap: 0.4rem;
}

.field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.field label {
    font-size: 0.85rem;
    font-weight: 600;
}

.optional {
    color: var(--muted);
    font-weight: 500;
}

.field input,
.field select,
.field textarea {
    width: 100%;
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 0.75rem 0.85rem;
    outline: none;
    transition: border-color 0.15s ease;
}

.field textarea {
    resize: vertical;
    min-height: 140px;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    border-color: var(--accent);
}

.form-footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
}

altcha-widget {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    pointer-events: none;
}

.form-status {
    margin: 0;
    font-size: 0.92rem;
}

.form-status.is-success {
    color: var(--accent);
}

.form-status.is-error {
    color: #FCA5A5;
}

.form-status[hidden] {
    display: none;
}

/* Footer */

.site-footer {
    border-top: 1px solid var(--line);
    padding: 1.5rem 0 2rem;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    color: var(--muted);
    font-size: 0.9rem;
}

.footer-inner a:hover {
    color: var(--accent);
}

body.menu-open {
    overflow: hidden;
}

/* Responsive */

@media (max-width: 980px) {
    .package-grid,
    .steps,
    .addons ul,
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .package-card--featured {
        transform: none;
    }

    .hero {
        align-items: center;
        padding-top: calc(var(--header-h) + 3rem);
    }
}

@media (max-width: 760px) {
    :root {
        --header-h: 64px;
    }

    .nav-desktop {
        display: none;
    }

    .menu-toggle {
        display: inline-flex;
    }

    .nav-mobile:not([hidden]) {
        display: flex;
    }

    .field-row,
    .footer-inner {
        grid-template-columns: 1fr;
        flex-direction: column;
        align-items: flex-start;
    }

    .section {
        padding: 4.5rem 0;
    }

    .hero-content {
        margin-left: auto;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .site-header,
    .btn,
    .nav-desktop a,
    .parallax-layer {
        transition: none;
    }

    .parallax-layer {
        transform: none !important;
        will-change: auto;
    }
}
