:root {
    --bg: #f3efe6;
    --paper: #fffef8;
    --ink: #1f1e1a;
    --muted: #59564d;
    --brand: #d96c0f;
    --brand-dark: #a74f0a;
    --line: #dad2c3;
    --night: #181b20;
    --radius: 18px;
    --shadow-soft: 0 18px 40px rgba(19, 17, 11, 0.12);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 0;
}

body {
    font-family: 'Manrope', sans-serif;
    color: var(--ink);
    background:
        radial-gradient(1200px 500px at 80% -5%, #f7d7ae 0%, transparent 65%),
        radial-gradient(900px 400px at -5% 35%, #ecd9bf 0%, transparent 60%),
        var(--bg);
    line-height: 1.65;
}

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

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

.container {
    width: min(1140px, 92%);
    margin: 0 auto;
}

.section-pad {
    padding: 120px 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 50;
    backdrop-filter: blur(10px);
    background: rgba(24, 27, 32, 0.83);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 74px;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-family: 'Oswald', sans-serif;
    letter-spacing: 0.3px;
}

.logo-mark {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #ffc07a, #d96c0f);
    color: #191913;
    font-size: 1rem;
}

.logo-text {
    font-size: 1.35rem;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 22px;
    color: #f2ede2;
}

.nav-links a {
    font-weight: 600;
    position: relative;
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -7px;
    width: 100%;
    height: 2px;
    background: var(--brand);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 220ms ease;
}

.nav-links a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.menu-toggle {
    display: none;
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: #fff;
    background: transparent;
    padding: 9px 13px;
    border-radius: 10px;
    font-weight: 700;
}

.hero {
    position: relative;
    overflow: clip;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    scroll-margin-top: 0;
    padding: 0 !important;
    margin-top: 0;
}

.hero.section-pad {
    padding: 0 !important;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(110deg, rgba(17, 19, 24, 0.8) 30%, rgba(17, 19, 24, 0.3) 65%),
        url('https://images.unsplash.com/photo-1432836431433-925d3cc0a5cd?auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
    z-index: -1;
}

.hero-grid {
    min-height: min(88vh, 820px);
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 38px;
}

.hero-content {
    color: #fff;
}

.eyebrow {
    display: inline-block;
    font-size: 0.83rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: #e4ccb0;
    margin-bottom: 14px;
    font-weight: 700;
}

.eyebrow.center {
    display: block;
    text-align: center;
    color: var(--brand);
}

.hero h1 {
    font-family: 'Oswald', sans-serif;
    font-size: clamp(2.1rem, 5vw, 4rem);
    text-transform: uppercase;
    line-height: 1.05;
    margin-bottom: 18px;
}

.lead {
    color: #ece8df;
    max-width: 62ch;
    font-size: 1.05rem;
}

.hero-actions {
    margin: 28px 0 34px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-height: 48px;
    padding: 10px 24px;
    border-radius: 999px;
    font-weight: 800;
    transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

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

.btn-primary {
    background: linear-gradient(135deg, #f2973f, #d96c0f);
    color: #fff;
    box-shadow: 0 12px 30px rgba(185, 90, 18, 0.35);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #df8838, #bf580d);
}

.btn-ghost {
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.55);
    background: rgba(255, 255, 255, 0.08);
}

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

.stats div {
    padding: 14px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
}

.stats strong {
    display: block;
    font-family: 'Oswald', sans-serif;
    font-size: 1.4rem;
}

.stats span {
    font-size: 0.84rem;
    color: #ded7ca;
}

.hero-media img {
    border-radius: 26px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
    transform: rotate(-2deg);
}

.section-title {
    text-align: center;
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    font-size: clamp(1.7rem, 3vw, 2.8rem);
    line-height: 1.15;
    margin-bottom: 30px;
}

.section-title.left {
    text-align: left;
}

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

.service {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 26px 22px;
    transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
    box-shadow: 0 6px 16px rgba(37, 31, 19, 0.08);
}

.service:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-soft);
    border-color: #c78c5c;
}

.service h3 {
    font-family: 'Oswald', sans-serif;
    margin-bottom: 9px;
    font-size: 1.35rem;
}

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

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

.project-card {
    overflow: hidden;
    border-radius: 20px;
    border: 1px solid var(--line);
    background: var(--paper);
    box-shadow: 0 10px 24px rgba(26, 21, 12, 0.1);
}

.project-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 500ms ease;
}

.project-card:hover img {
    transform: scale(1.07);
}

.project-copy {
    padding: 18px;
}

.project-copy h3 {
    font-family: 'Oswald', sans-serif;
    margin-bottom: 7px;
}

.project-copy p {
    color: var(--muted);
}

.alt-bg {
    background: linear-gradient(180deg, #f0e6d7, #f6efe2);
}

.about-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 26px;
    align-items: center;
}

.about-wrap p {
    color: #4f4a40;
}

.about-list {
    list-style: none;
    margin-top: 18px;
    display: grid;
    gap: 9px;
}

.about-list li {
    padding-left: 26px;
    position: relative;
    font-weight: 600;
}

.about-list li::before {
    content: "";
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    left: 5px;
    top: 9px;
    background: var(--brand);
}

.about-image img {
    border-radius: 22px;
    min-height: 360px;
    object-fit: cover;
    box-shadow: var(--shadow-soft);
}

.contact-wrap {
    display: grid;
    grid-template-columns: 1fr 0.9fr;
    gap: 20px;
}

#contact-form,
.contact-card {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 8px 20px rgba(34, 29, 21, 0.09);
}

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

#contact-form {
    display: grid;
    gap: 12px;
}

#contact-form input,
#contact-form textarea {
    border: 1px solid #cfc6b6;
    border-radius: 12px;
    padding: 13px 14px;
    font: inherit;
    background: #fff;
}

#contact-form input:focus,
#contact-form textarea:focus {
    outline: 2px solid #f2c08f;
    border-color: #e39f57;
}

#contact-form textarea {
    min-height: 130px;
    resize: vertical;
}

.hidden-botcheck {
    display: none;
}

.form-status {
    min-height: 24px;
    color: var(--brand-dark);
    font-weight: 700;
}

.contact-card h3 {
    font-family: 'Oswald', sans-serif;
    margin-bottom: 8px;
    font-size: 1.5rem;
}

.contact-card ul {
    margin: 16px 0;
    list-style: none;
    display: grid;
    gap: 8px;
}

.contact-card li {
    color: var(--muted);
}

.contact-lines p {
    margin-bottom: 6px;
}

.web3-note {
    margin-top: 14px;
    text-align: center;
    color: #6d6457;
    font-size: 0.94rem;
}

.cta-strip {
    padding: 18px 0 52px;
}

.cta-strip-wrap {
    border-radius: 20px;
    background: linear-gradient(125deg, #1a1d23, #242a33);
    color: #fff;
    padding: 26px 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.cta-strip-wrap h2 {
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
}

.site-footer {
    background: var(--night);
    color: #dbd5c7;
    padding: 24px 0;
}

.footer-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.footer-wrap a {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 3px;
}

#home {
    padding-top: 0;
    margin-top: 0;
}

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 650ms ease, transform 650ms ease;
}

.reveal.delay-1 {
    transition-delay: 140ms;
}

.reveal.delay-2 {
    transition-delay: 260ms;
}

.reveal.in-view {
    opacity: 1;
    transform: translateY(0);
}

.illustrative-note {
    text-align: center;
    color: #8b7e6f;
    font-size: 0.9rem;
    margin-top: 28px;
    padding: 14px;
    background: rgba(217, 108, 15, 0.06);
    border-radius: 12px;
    border: 1px solid rgba(217, 108, 15, 0.12);
}

/* WhatsApp floating action button (icon + optional text) */
.whatsapp-fab {
    position: fixed;
    right: 18px;
    bottom: 18px;
    height: 56px;
    padding: 0 14px 0 12px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #25D366;
    color: #fff;
    box-shadow: 0 14px 30px rgba(37, 99, 55, 0.18);
    z-index: 9999;
    transition: transform 160ms ease, box-shadow 160ms ease;
}

.whatsapp-fab:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 36px rgba(37, 99, 55, 0.22);
}

.whatsapp-fab svg { display: block; flex-shrink: 0; }
.wa-text { display: none; font-weight: 800; color: #06361a; font-size: 0.95rem; }

@media (min-width: 480px) {
    .wa-text { display: inline-block; }
    .whatsapp-fab { min-width: 170px; }
}

@media (max-width: 420px) {
    .whatsapp-fab { right: 12px; bottom: 12px; height: 50px; padding: 0 10px; }
}

@media (max-width: 1024px) {
    .hero-grid,
    .about-wrap,
    .contact-wrap {
        grid-template-columns: 1fr;
    }

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

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

@media (max-width: 760px) {
    .menu-toggle {
        display: inline-flex;
    }

    .nav-links {
        position: absolute;
        top: 74px;
        right: 4%;
        width: min(280px, 92vw);
        background: #222831;
        border: 1px solid rgba(255, 255, 255, 0.18);
        border-radius: 14px;
        padding: 14px;
        display: none;
        flex-direction: column;
        gap: 12px;
    }

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

    .section-pad {
        padding: 90px 0;
        min-height: auto;
    }

    .hero,
    .hero.section-pad {
        padding-top: 84px !important;
        min-height: 100vh;
    }

    .hero-grid {
        min-height: calc(100vh - 84px);
        align-items: start;
    }

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

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

    .cta-strip-wrap,
    .footer-wrap {
        flex-direction: column;
        align-items: flex-start;
    }
}