:root {
    --bg-dark: #111111;
    --bg-black: #050505;
    --c-primary: #f3b313;
    --c-primary-soft: #ffd46f;
    --c-white: #f5f5f5;
    --c-text: #e7e2d4;
    --c-card: rgba(255, 255, 255, 0.06);
    --c-border: rgba(243, 179, 19, 0.35);
    --radius: 18px;
    --shadow: 0 18px 45px rgba(0, 0, 0, 0.35);
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
}

body {
    font-family: 'Manrope', sans-serif;
    color: var(--c-text);
    background:
        radial-gradient(circle at 12% 20%, rgba(243, 179, 19, 0.18), transparent 42%),
        radial-gradient(circle at 88% 15%, rgba(255, 214, 125, 0.14), transparent 40%),
        linear-gradient(150deg, var(--bg-dark), var(--bg-black));
    min-height: 100vh;
    line-height: 1.55;
    overflow-x: hidden;
}

h1,
h2,
h3,
.brand-text {
    font-family: 'Space Grotesk', sans-serif;
    color: var(--c-white);
    margin-top: 0;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: min(1120px, 92vw);
    margin: 0 auto;
}

.bg-orb {
    position: fixed;
    width: 360px;
    height: 360px;
    border-radius: 50%;
    filter: blur(70px);
    z-index: -1;
    pointer-events: none;
}

.orb-one {
    background: rgba(243, 179, 19, 0.2);
    top: -80px;
    left: -80px;
}

.orb-two {
    background: rgba(255, 214, 125, 0.18);
    bottom: -90px;
    right: -90px;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    backdrop-filter: blur(12px);
    background: rgba(12, 12, 12, 0.76);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-grid {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0;
}

.brand {
    display: inline-flex;
    align-items: center;
    max-width: 285px;
}

.brand-logo {
    width: 100%;
    height: auto;
    display: block;
}

.site-nav {
    justify-self: center;
    display: flex;
    gap: 1.2rem;
    font-weight: 600;
}

.site-nav a {
    padding: 0.35rem 0.5rem;
    border-radius: 8px;
    transition: background-color 0.25s ease, color 0.25s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
    background: rgba(243, 179, 19, 0.16);
    color: var(--c-white);
}

.btn {
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.7rem 1.2rem;
    border-radius: 10px;
    border: 1px solid transparent;
    font-weight: 700;
    transition: transform 0.24s ease, box-shadow 0.24s ease, background-color 0.24s ease;
}

.btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, 0.35), transparent 65%);
    transform: translateX(-140%);
    transition: transform 0.55s ease;
}

.btn:hover,
.btn:focus-visible {
    transform: translateY(-2px);
}

.btn:hover::after,
.btn:focus-visible::after {
    transform: translateX(140%);
}

.btn-primary {
    color: #1b1404;
    background: linear-gradient(120deg, var(--c-primary), #ffd46f);
    box-shadow: 0 10px 30px rgba(243, 179, 19, 0.28);
}

.btn-secondary {
    border-color: var(--c-border);
    background: rgba(255, 255, 255, 0.04);
    color: var(--c-white);
}

.hero {
    padding: 6rem 0 4rem;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 2rem;
    align-items: center;
}

.eyebrow {
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--c-primary-soft);
    margin-bottom: 0.8rem;
}

h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    line-height: 1.12;
    margin-bottom: 1rem;
}

.hero-copy {
    max-width: 60ch;
    margin-bottom: 1.5rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.hero-panel {
    display: grid;
    gap: 1rem;
}

.hero-panel article,
.card,
.reason-item,
.contact-form,
.showcase-card {
    background: var(--c-card);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    backdrop-filter: blur(10px);
}

.hero-panel article {
    padding: 1.15rem;
}

.hero-visual {
    padding: 0;
    overflow: hidden;
}

.hero-visual img {
    width: 100%;
    display: block;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.hero-panel h3 {
    color: var(--c-primary);
    margin-bottom: 0.2rem;
    font-size: 1.8rem;
}

.section {
    padding: 4.5rem 0;
}

.section-heading {
    margin-bottom: 1.6rem;
}

h2 {
    font-size: clamp(1.6rem, 4vw, 2.35rem);
    margin-bottom: 0.5rem;
}

.card-grid,
.reasons-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.card,
.reason-item {
    padding: 1.2rem;
    transition: border-color 0.24s ease, transform 0.24s ease;
}

.card {
    position: relative;
    overflow: hidden;
}

.card img {
    width: 100%;
    display: block;
    height: 160px;
    border-radius: 12px;
    object-fit: cover;
    margin-bottom: 0.9rem;
    transition: transform 0.35s ease;
}

.card:hover,
.reason-item:hover {
    border-color: var(--c-primary-soft);
    transform: translateY(-4px);
}

.card:hover img {
    transform: scale(1.03);
}

.reason-item {
    overflow: hidden;
}

.reason-item img {
    width: 100%;
    display: block;
    height: 150px;
    border-radius: 12px;
    object-fit: cover;
    margin-bottom: 0.9rem;
}

.badge-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
}

.tech-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.55rem 0.95rem;
    border-radius: 999px;
    background: rgba(243, 179, 19, 0.13);
    border: 1px solid rgba(243, 179, 19, 0.38);
    color: var(--c-white);
    font-weight: 700;
}

.showcase-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.showcase-card {
    overflow: hidden;
    transition: transform 0.28s ease, border-color 0.28s ease;
}

.showcase-card img {
    width: 100%;
    height: 210px;
    display: block;
    object-fit: cover;
}

.showcase-card div {
    padding: 1rem 1.1rem 1.2rem;
}

.showcase-card:hover {
    transform: translateY(-5px);
    border-color: var(--c-primary-soft);
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.4rem;
}

.contact-copy {
    margin-bottom: 1rem;
}

.contact-info {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.45rem;
}

.contact-form {
    padding: 1.2rem;
    display: grid;
    gap: 0.55rem;
}

.contact-form label {
    font-weight: 700;
    color: var(--c-white);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    border-radius: 10px;
    border: 1px solid rgba(243, 179, 19, 0.4);
    background: rgba(5, 17, 30, 0.7);
    color: var(--c-white);
    padding: 0.7rem 0.85rem;
    font: inherit;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: 2px solid rgba(243, 179, 19, 0.5);
    outline-offset: 1px;
}

.form-feedback {
    padding: 0.7rem 0.8rem;
    border-radius: 10px;
    font-weight: 700;
}

.form-feedback.ok {
    background: rgba(40, 200, 130, 0.2);
    border: 1px solid rgba(40, 200, 130, 0.45);
}

.form-feedback.error {
    background: rgba(255, 100, 100, 0.2);
    border: 1px solid rgba(255, 100, 100, 0.45);
}

.hidden-field {
    position: absolute;
    left: -9999px;
}

.site-footer {
    padding: 1.5rem 0 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(0, 0, 0, 0.24);
}

.footer-grid {
    display: grid;
    gap: 0.8rem;
}

.footer-logo {
    width: min(280px, 65vw);
    height: auto;
    display: block;
}

.social-links {
    display: flex;
    gap: 0.8rem;
}

.social-links a {
    font-weight: 700;
    color: var(--c-primary-soft);
}

.social-links a:hover,
.social-links a:focus-visible {
    color: var(--c-white);
}

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.menu-toggle {
    display: none;
    justify-self: end;
    width: 42px;
    height: 40px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.05);
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    border-radius: 10px;
    background: var(--c-white);
    margin: 2.5px 0;
}

.chatbot-toggle {
    position: fixed;
    right: 1.2rem;
    bottom: 1.2rem;
    z-index: 120;
    border: 0;
    border-radius: 999px;
    padding: 0.85rem 1.1rem;
    font-weight: 800;
    color: #201602;
    background: linear-gradient(120deg, var(--c-primary), #ffdb80);
    box-shadow: 0 12px 34px rgba(243, 179, 19, 0.4);
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

/* Chatbot hidden temporarily until re-enabled by business decision. */
.chatbot-toggle,
.chatbot-panel {
    display: none !important;
}

body.chatbot-open .chatbot-toggle {
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px);
}

.chatbot-toggle:hover,
.chatbot-toggle:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 16px 36px rgba(243, 179, 19, 0.46);
}

.chatbot-panel {
    position: fixed;
    right: 1.2rem;
    bottom: 4.8rem;
    width: min(360px, 92vw);
    max-height: 72vh;
    border-radius: 16px;
    border: 1px solid rgba(243, 179, 19, 0.35);
    background: rgba(4, 14, 25, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: var(--shadow);
    z-index: 121;
    display: grid;
    grid-template-rows: auto 1fr auto;
    overflow: hidden;
}

.chatbot-panel header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.8rem 0.95rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.chatbot-panel header h3 {
    margin: 0;
    font-size: 1.05rem;
}

.chatbot-panel header button {
    border: 0;
    color: var(--c-white);
    font-weight: 800;
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    padding: 0;
    font-size: 1.2rem;
    line-height: 1;
    background: rgba(255, 255, 255, 0.1);
    cursor: pointer;
}

.chatbot-body {
    padding: 0.8rem 0.95rem;
    overflow-y: auto;
    display: grid;
    gap: 0.55rem;
}

.chatbot-msg {
    padding: 0.55rem 0.72rem;
    border-radius: 12px;
    max-width: 90%;
    font-size: 0.94rem;
}

.chatbot-msg.bot {
    background: rgba(243, 179, 19, 0.16);
    border: 1px solid rgba(243, 179, 19, 0.38);
}

.chatbot-msg.user {
    background: rgba(255, 255, 255, 0.11);
    margin-left: auto;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.chatbot-form {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0.5rem;
    padding: 0.75rem 0.95rem 0.95rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.chatbot-form input {
    border-radius: 10px;
    border: 1px solid rgba(243, 179, 19, 0.35);
    background: rgba(0, 0, 0, 0.3);
    color: var(--c-white);
    padding: 0.6rem 0.72rem;
}

.chatbot-form button {
    border: 0;
    border-radius: 10px;
    padding: 0.6rem 0.78rem;
    font-weight: 700;
    color: #201602;
    background: linear-gradient(120deg, #f3b313, #ffd56e);
    cursor: pointer;
}

@media (max-width: 980px) {
    .card-grid,
    .reasons-grid,
    .showcase-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hero-grid,
    .contact-layout {
        grid-template-columns: 1fr;
    }

    .hero {
        padding-top: 5rem;
    }
}

@media (max-width: 760px) {
    .header-grid {
        grid-template-columns: auto auto;
    }

    .menu-toggle {
        display: inline-flex;
    }

    .desktop-cta {
        display: none;
    }

    .site-nav {
        position: absolute;
        top: 68px;
        right: 4vw;
        left: 4vw;
        display: none;
        flex-direction: column;
        gap: 0.3rem;
        padding: 0.8rem;
        border-radius: 12px;
        background: rgba(4, 14, 25, 0.96);
        border: 1px solid rgba(255, 255, 255, 0.16);
    }

    .site-nav.open {
        display: flex;
    }

    .card-grid,
    .reasons-grid,
    .showcase-grid {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 3.5rem 0;
    }

    .chatbot-panel {
        right: 0.5rem;
        left: 0.5rem;
        bottom: 3.8rem;
        width: auto;
        max-height: 56vh;
        border-radius: 14px;
    }

    .chatbot-body {
        max-height: 170px;
    }

    .chatbot-form {
        display: none;
    }

    .chatbot-toggle {
        right: 0.7rem;
        bottom: 0.7rem;
        padding: 0.65rem 0.85rem;
        font-size: 0.92rem;
    }
}
