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

:root {
    --bg: #f6f1e8;
    --bg2: #ece4d6;
    --text: #2f281f;
    --muted: #6f6457;
    --border: #d9cfbf;
    --accent: #b06f57;
    --accent-strong: #8f5743;
    --accent-lt: #f6ebe6;
    --accent-border: #e4c8bc;
    --green: #7b4d3f;
    --green-lt: #f3e6e1;
    --font-body: 'Source Sans 3', sans-serif;
    --font-display: 'Bitter', serif;
    --radius: 10px;
}

html {
    scroll-behavior: smooth;
    scrollbar-color: var(--border) var(--bg);
}

/* Prevent accidental selection on controls and decorative labels. */
.unselectable,
.nav-logo,
.nav-links a,
.lang-btn,
.nav-toggle,
.hero-kicker,
.hero-note-label,
.section-label,
.btn,
.featured-tag,
.chip {
    user-select: none;
    -webkit-user-select: none;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg);
}

::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 999px;
    border: 2px solid var(--bg);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--muted);
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    font-weight: 400;
    line-height: 1.65;
}

/* Nav */
nav {
    position: sticky;
    top: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    gap: 1rem;
}

.nav-logo {
    font-family: var(--font-display);
    font-size: 1.1rem;
    color: var(--text);
    text-decoration: none;
}

.nav-logo span {
    color: var(--accent);
}

.nav-links {
    display: flex;
    gap: 1.75rem;
    list-style: none;
}

.nav-links a {
    font-size: .9rem;
    font-weight: 600;
    color: var(--muted);
    text-decoration: none;
    transition: color .18s;
}

.nav-links a:hover {
    color: var(--text);
}

/* Language switcher */
.lang-switch {
    display: flex;
    gap: .25rem;
    border: 1.5px solid var(--border);
    border-radius: 999px;
    padding: .15rem;
    flex-shrink: 0;
}

.lang-btn {
    font-family: var(--font-body);
    font-size: .75rem;
    font-weight: 700;
    padding: .25rem .6rem;
    border: none;
    border-radius: 999px;
    background: transparent;
    color: var(--muted);
    cursor: pointer;
    transition: all .18s;
    line-height: 1;
}

.lang-btn.active {
    background: var(--accent);
    color: #fff;
}

.lang-btn:hover:not(.active) {
    color: var(--text);
}

/* Hero */
.hero {
    background:
        radial-gradient(circle at top left, rgba(176, 111, 87, .16), transparent 36%),
        linear-gradient(180deg, #f4eee4 0%, var(--bg2) 100%);
    border-bottom: 1px solid var(--border);
    padding: 5.5rem 2rem 5rem;
}

.hero-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(280px, .85fr);
    gap: 2rem;
    align-items: end;
}

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

.hero-kicker {
    color: var(--accent);
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    margin-bottom: 1.1rem;
}

h1 {
    font-family: var(--font-display);
    font-size: clamp(2.4rem, 5vw, 4rem);
    line-height: 1.2;
    max-width: 12ch;
    margin: 0 0 1rem;
}

h1 em {
    font-style: italic;
    color: var(--accent);
}

.hero-sub {
    font-size: 1.02rem;
    color: var(--muted);
    max-width: 49ch;
    margin: 0 0 2.1rem;
}

.hero-cta {
    display: flex;
    gap: .85rem;
    flex-wrap: wrap;
}

.hero-note {
    background: rgba(255, 255, 255, .78);
    border: 1px solid rgba(224, 216, 204, .95);
    border-radius: 18px;
    padding: 1.45rem;
    box-shadow: 0 18px 45px rgba(44, 36, 23, .08);
    backdrop-filter: blur(10px);
}

.hero-note-label {
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 1rem;
}

.hero-note-item {
    padding: .95rem 0;
    border-top: 1px solid var(--border);
}

.hero-note-item:first-of-type {
    padding-top: 0;
    border-top: none;
}

.hero-note-item:last-of-type {
    padding-bottom: 0;
}

.hero-note-item h3 {
    font-size: .98rem;
    margin-bottom: .3rem;
}

.hero-note-item p {
    color: var(--muted);
    font-size: .88rem;
    line-height: 1.65;
}

.btn {
    display: inline-block;
    padding: .7rem 1.6rem;
    border-radius: var(--radius);
    font-family: var(--font-body);
    font-size: .9rem;
    font-weight: 700;
    text-decoration: none;
    transition: all .18s;
    cursor: pointer;
    border: none;
}

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

.btn-primary:hover {
    background: var(--accent-strong);
    transform: translateY(-1px);
}

.btn-ghost {
    background: transparent;
    color: var(--text);
    border: 1.5px solid var(--border);
}

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

/* Section shared */
.section {
    max-width: 980px;
    margin: 0 auto;
    padding: 5rem 2rem;
}

.section-label {
    display: inline-block;
    background: var(--accent-lt);
    color: var(--accent);
    border: 1px solid var(--accent-border);
    border-radius: 999px;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    padding: .3rem .85rem;
    margin-bottom: 1rem;
}

h2 {
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    line-height: 1.2;
    margin-bottom: .6rem;
}

.section-intro {
    color: var(--muted);
    max-width: 52ch;
    margin-bottom: 3rem;
    font-size: .97rem;
}

/* Why */
.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 1.25rem;
}

.why-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
}

.why-icon {
    font-size: 1.75rem;
    margin-bottom: .75rem;
}

.why-icon img {
    width: 2.5rem;
    height: 2.5rem;
    object-fit: contain;
}

.why-card h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: .4rem;
}

.why-card p {
    font-size: .875rem;
    color: var(--muted);
    line-height: 1.65;
}

/* Services */
#services {
    background: var(--bg2);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.services-wrap {
    max-width: 980px;
    margin: 0 auto;
    padding: 5rem 2rem;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.25rem;
}

.pricing-card {
    background: #fff;
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    position: relative;
}

.pricing-card.featured {
    border-color: var(--accent);
}

.featured-tag {
    position: absolute;
    top: -13px;
    left: 1.5rem;
    background: var(--accent);
    color: #fff;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    padding: .25rem .75rem;
    border-radius: 999px;
}

.pricing-card h3 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    margin-bottom: .3rem;
}

.price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent);
    margin: .75rem 0 .25rem;
    line-height: 1;
}

.price-note {
    font-size: .82rem;
    color: var(--muted);
    margin-bottom: 1.25rem;
    min-height: 2.8em;
}

.pricing-card ul {
    list-style: none;
    flex: 1;
    margin-bottom: 1.75rem;
}

.pricing-card li {
    font-size: .875rem;
    color: var(--muted);
    padding: .35rem 0;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: .5rem;
}

.pricing-card li::before {
    content: '✓';
    color: var(--green);
    font-weight: 700;
    flex-shrink: 0;
}

/* Work */
.work-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(280px, .8fr);
    gap: 1.25rem;
    align-items: stretch;
}

.work-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    display: block;
    transition: box-shadow .2s, transform .2s;
}

.featured-case {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, .95fr);
}

.work-card:hover {
    box-shadow: 0 6px 24px rgba(44, 36, 23, .08);
    transform: translateY(-2px);
}

.featured-case:hover .work-thumb img {
    transform: scale(1.03);
}

.work-thumb {
    height: 160px;
    background: var(--bg2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    border-bottom: 1px solid var(--border);
    overflow: hidden;
}

.featured-case .work-thumb {
    height: 100%;
    min-height: 260px;
    border-bottom: none;
    border-right: 1px solid var(--border);
}

.work-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    display: block;
    transition: transform .7s ease;
}

.work-info {
    padding: 1.25rem;
}

.work-tag {
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: .3rem;
}

.work-info h3 {
    font-family: var(--font-display);
    font-size: 1.05rem;
    margin-bottom: .25rem;
}

.work-info p {
    font-size: .85rem;
    color: var(--muted);
}

.work-points {
    list-style: none;
    margin-top: 1rem;
    display: grid;
    gap: .55rem;
}

.work-points li {
    display: flex;
    align-items: flex-start;
    gap: .5rem;
    color: var(--text);
    font-size: .85rem;
    line-height: 1.55;
}

.work-points li::before {
    content: '—';
    color: var(--accent);
    font-weight: 700;
}

.note-card {
    background: linear-gradient(160deg, var(--accent-lt), #fff 70%);
    border-style: dashed;
    border-width: 1.5px;
}

.note-card .work-info {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 1.5rem;
}

.note-card:hover {
    transform: none;
    box-shadow: none;
}

/* How it works */
#how {
    background: var(--bg2);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    counter-reset: steps;
}

.step {
    counter-increment: steps;
    padding-top: 1rem;
}

.step::before {
    content: counter(steps);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--accent-lt);
    color: var(--accent);
    font-weight: 700;
    font-size: .95rem;
    margin-bottom: 1rem;
    border: 1.5px solid var(--accent-border);
}

.step h3 {
    font-size: .95rem;
    font-weight: 700;
    margin-bottom: .4rem;
}

.step p {
    font-size: .875rem;
    color: var(--muted);
}

/* About */
.about-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text p {
    color: var(--muted);
    font-size: .95rem;
    margin-top: .75rem;
    line-height: 1.8;
}

.about-chips {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin-top: 1.5rem;
}

.chip {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 999px;
    font-size: .78rem;
    font-weight: 600;
    color: var(--muted);
    padding: .3rem .85rem;
}

.about-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: 0 12px 35px rgba(44, 36, 23, .05);
}

.about-card-row {
    display: flex;
    align-items: flex-start;
    gap: .85rem;
    padding: .85rem 0;
    border-bottom: 1px solid var(--border);
}

.about-card-row:last-child {
    border-bottom: none;
}

.about-row-icon {
    margin-top: .1rem;
    flex-shrink: 0;
}

.about-row-icon img {
    width: 1.25rem;
    height: 1.25rem;
    object-fit: contain;
    display: block;
    margin-top: 10px;
}

.about-row-label {
    font-size: .78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--muted);
    margin-bottom: .15rem;
}

.about-row-value {
    font-size: .9rem;
    font-weight: 600;
}

/* Contact */
.contact-box {
    background: linear-gradient(140deg, #c38a73, var(--accent-strong) 72%);
    border-radius: 14px;
    padding: 3rem;
    color: #fff;
    display: grid;
    grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
    gap: 2rem;
    align-items: start;
}

.contact-box h2 {
    font-family: var(--font-display);
    color: #fff;
    margin-bottom: .85rem;
}

.contact-copy {
    text-align: left;
}

.contact-box p {
    opacity: .85;
    max-width: 44ch;
    margin: 0 auto 2rem;
    font-size: .97rem;
}

.contact-copy p {
    margin: 0 0 1rem;
}

.contact-form {
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 14px;
    padding: 1.3rem;
    backdrop-filter: blur(8px);
}

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

.contact-field {
    display: flex;
    flex-direction: column;
    gap: .45rem;
    text-align: left;
}

.contact-field span {
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.contact-field input,
.contact-field textarea {
    width: 100%;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 10px;
    padding: .85rem 1rem;
    background: rgba(255, 255, 255, .97);
    color: var(--text);
    font-family: var(--font-body);
    font-size: .95rem;
    line-height: 1.5;
}

.contact-field input:focus,
.contact-field textarea:focus {
    outline: none;
    border-color: rgba(255, 255, 255, .95);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, .18);
}

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

.contact-field-full {
    grid-column: 1 / -1;
}

.contact-honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.contact-form-footer {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.contact-form-meta {
    flex: 1 1 220px;
}

.contact-meta {
    font-size: .84rem;
    opacity: .9;
    max-width: 38ch;
}

.contact-status {
    min-height: 1.4rem;
    margin: 0;
    font-size: .92rem;
    font-weight: 700;
    opacity: 1;
}

.contact-status[data-state="info"] {
    color: rgba(255, 255, 255, .88);
}

.contact-status[data-state="success"] {
    color: #fff8eb;
}

.contact-status[data-state="error"] {
    color: #ffe2cf;
}

.contact-captcha {
    flex: 0 1 auto;
}

.contact-captcha[hidden] {
    display: none;
}

.contact-form .btn {
    min-width: 180px;
    text-align: center;
}

.contact-form .btn:disabled {
    opacity: .7;
    cursor: wait;
    transform: none;
}

.btn-white {
    background: #fff;
    color: var(--accent);
    font-weight: 700;
}

.btn-white:hover {
    background: #f7ece7;
    transform: translateY(-1px);
}

.contact-email-link {
    display: block;
    margin-top: 1.25rem;
    font-size: .88rem;
    opacity: .75;
    color: #fff;
    text-decoration: none;
}

.contact-email-link:hover {
    opacity: 1;
}

.contact-noscript {
    margin-top: 1rem;
    font-size: .88rem;
    opacity: .92;
}

/* Footer */
footer {
    border-top: 1px solid var(--border);
    padding: 1.75rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: .82rem;
    color: var(--muted);
    max-width: 980px;
    margin: 0 auto;
}

/* Hamburger toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 110;
}

.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: transform .25s, opacity .25s;
}

.nav-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Tablet */
@media (max-width: 820px) {
    .hero {
        padding: 4rem 2rem 3.5rem;
    }

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

    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }

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

    .featured-case {
        grid-template-columns: 1fr;
    }

    .featured-case .work-thumb {
        min-height: 220px;
        border-right: none;
        border-bottom: 1px solid var(--border);
    }

    .about-inner {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

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

/* Mobile */
@media (max-width: 680px) {
    .nav-toggle {
        display: flex;
    }

    nav {
        padding: .85rem 1.25rem;
        flex-wrap: wrap;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        gap: 0;
        order: 10;
        padding-top: .75rem;
        border-top: 1px solid var(--border);
        margin-top: .75rem;
    }

    .nav-links.open {
        display: flex;
    }

    .nav-links li {
        border-bottom: 1px solid var(--border);
    }

    .nav-links li:last-child {
        border-bottom: none;
    }

    .nav-links a {
        display: block;
        padding: .75rem 0;
        font-size: .95rem;
    }

    .lang-switch {
        order: 5;
    }

    .hero {
        padding: 3rem 1.25rem 2.5rem;
    }

    .hero-inner {
        gap: 1.5rem;
    }

    .hero-copy {
        max-width: none;
    }

    h1 {
        font-size: 2rem;
        max-width: 11ch;
    }

    .hero-sub {
        font-size: .95rem;
    }

    .hero-note {
        padding: 1.2rem;
    }

    .section,
    .services-wrap {
        padding: 3rem 1.25rem;
    }

    .section-intro {
        margin-bottom: 2rem;
    }

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

    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: none;
    }

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

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

    .about-inner {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-box {
        padding: 2.5rem 1.5rem;
        border-radius: 10px;
    }

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

    .contact-form-footer {
        align-items: stretch;
    }

    .contact-form .btn {
        width: 100%;
    }

    footer {
        flex-direction: column;
        gap: .5rem;
        text-align: center;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .hero-cta .btn {
        width: 100%;
        max-width: 280px;
        text-align: center;
    }
}