/* =====================================================
   BUILD MY FOOD BUSINESS
   Powered by BuildFrame Digital System
===================================================== */

:root {
    --espresso: #2d1b14;
    --coffee: #5c3b2e;
    --caramel: #b45309;
    --cheese: #f59e0b;
    --orange: #ea580c;
    --cream: #fff8f0;
    --soft-cream: #fffaf3;
    --white: #ffffff;
    --dark: #1f2937;
    --muted: #6b7280;
    --border: rgba(45, 27, 20, 0.12);
    --shadow: 0 20px 45px rgba(45, 27, 20, 0.16);
    --shadow-soft: 0 12px 28px rgba(45, 27, 20, 0.12);
    --radius-xl: 28px;
    --radius-lg: 22px;
    --radius-md: 16px;
    --container: 1180px;
}

/* =====================================================
   RESET
===================================================== */

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

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    font-family: Arial, Helvetica, sans-serif;
    background:
        radial-gradient(circle at top left, rgba(245, 158, 11, 0.16), transparent 28%),
        linear-gradient(180deg, var(--cream), #ffffff 48%, var(--soft-cream));
    color: var(--dark);
    line-height: 1.6;
}

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

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

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

.container {
    width: min(var(--container), calc(100% - 40px));
    margin: 0 auto;
}

/* =====================================================
   HEADER
===================================================== */

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 248, 240, 0.9);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(45, 27, 20, 0.08);
}

.header-inner {
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 14px;
}

.brand-mark {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    background:
        linear-gradient(135deg, var(--cheese), var(--orange));
    box-shadow: 0 12px 24px rgba(234, 88, 12, 0.28);
    font-size: 1.45rem;
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.brand-title {
    color: var(--espresso);
    font-weight: 900;
    letter-spacing: -0.03em;
    font-size: 1rem;
    text-transform: uppercase;
}

.brand-subtitle {
    color: var(--caramel);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 26px;
}

.main-nav a {
    font-weight: 800;
    font-size: 0.92rem;
    color: var(--coffee);
    transition: color 0.2s ease;
}

.main-nav a:hover {
    color: var(--orange);
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 14px;
    color: var(--espresso);
    background: rgba(245, 158, 11, 0.18);
    cursor: pointer;
}

/* =====================================================
   BUTTONS
===================================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 22px;
    border-radius: 999px;
    font-weight: 900;
    font-size: 0.92rem;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}

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

.btn-primary {
    color: #2d1b14;
    background: linear-gradient(135deg, var(--cheese), #fbbf24);
    box-shadow: 0 14px 26px rgba(245, 158, 11, 0.28);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #fbbf24, var(--orange));
}

.btn-outline {
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.72);
    background: rgba(255, 255, 255, 0.08);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.18);
}

.btn-dark {
    color: var(--white);
    background: var(--espresso);
    box-shadow: 0 14px 26px rgba(45, 27, 20, 0.28);
}

/* =====================================================
   HERO
===================================================== */

.hero-section {
    position: relative;
    overflow: hidden;
    min-height: 580px;
    display: flex;
    align-items: center;
    background:
        linear-gradient(135deg, rgba(45, 27, 20, 0.94), rgba(92, 59, 46, 0.84), rgba(234, 88, 12, 0.72)),
        url("https://images.unsplash.com/photo-1555396273-367ea4eb4db5?auto=format&fit=crop&w=1800&q=80");
    background-size: cover;
    background-position: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 18% 20%, rgba(245, 158, 11, 0.3), transparent 28%),
        linear-gradient(90deg, rgba(45, 27, 20, 0.9), rgba(45, 27, 20, 0.32));
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 780px;
    padding: 96px 0;
    color: var(--white);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    padding: 9px 16px;
    border-radius: 999px;
    margin-bottom: 22px;
    background: rgba(255, 255, 255, 0.13);
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: #fff7ed;
    font-weight: 900;
    font-size: 0.82rem;
    letter-spacing: 0.04em;
}

.hero-content h1 {
    max-width: 760px;
    font-size: clamp(3rem, 7vw, 6.2rem);
    line-height: 0.95;
    letter-spacing: -0.075em;
    font-weight: 950;
    margin-bottom: 24px;
}

.hero-lead {
    max-width: 670px;
    color: rgba(255, 255, 255, 0.88);
    font-size: 1.17rem;
    line-height: 1.85;
    margin-bottom: 28px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 22px;
}

.hero-note {
    color: rgba(255, 255, 255, 0.76);
    font-size: 0.94rem;
    font-weight: 800;
}

/* =====================================================
   INTRO SECTION
===================================================== */

.intro-section {
    padding: 42px 0 20px;
}

.intro-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: -78px;
    position: relative;
    z-index: 5;
}

.intro-card {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 26px;
    box-shadow: var(--shadow-soft);
}

.intro-icon {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    margin-bottom: 16px;
    background: rgba(245, 158, 11, 0.18);
    font-size: 1.4rem;
}

.intro-card h3 {
    color: var(--espresso);
    font-size: 1.25rem;
    margin-bottom: 8px;
}

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

/* =====================================================
   SECTIONS
===================================================== */

.business-section,
.features-section,
.experience-section {
    padding: 72px 0;
}

.section-heading {
    max-width: 760px;
    margin-bottom: 34px;
}

.section-kicker {
    display: inline-block;
    margin-bottom: 10px;
    color: var(--orange);
    font-size: 0.78rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-weight: 950;
}

.section-heading h2,
.experience-text h2,
.cta-inner h2 {
    color: var(--espresso);
    font-size: clamp(2.2rem, 4vw, 4rem);
    line-height: 1.02;
    letter-spacing: -0.06em;
    font-weight: 950;
    margin-bottom: 16px;
}

.section-heading p,
.experience-text p,
.cta-inner p {
    color: var(--muted);
    max-width: 760px;
    font-size: 1.02rem;
    line-height: 1.85;
}

/* =====================================================
   BUSINESS CARDS
   M&N STYLE + FOOD COLORS
===================================================== */

.business-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.business-card {
    position: relative;
    overflow: hidden;
    min-height: 260px;
    border-radius: 24px;
    background: var(--espresso);
    box-shadow: var(--shadow-soft);
    isolation: isolate;
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.business-card:hover {
    transform: translateY(-7px);
    box-shadow: var(--shadow);
}

.business-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.business-card:hover img {
    transform: scale(1.06);
}

.business-card::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(180deg,
            rgba(45, 27, 20, 0.12) 0%,
            rgba(45, 27, 20, 0.42) 42%,
            rgba(45, 27, 20, 0.9) 100%);
}

.card-content {
    position: absolute;
    inset: auto 0 0 0;
    z-index: 2;
    padding: 22px;
    color: var(--white);
}

.card-content span {
    display: inline-flex;
    width: 36px;
    height: 36px;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    margin-bottom: 10px;
    background: rgba(245, 158, 11, 0.94);
    box-shadow: 0 10px 20px rgba(245, 158, 11, 0.24);
    font-size: 1.15rem;
}

.card-content h3 {
    font-size: 1.24rem;
    line-height: 1.1;
    letter-spacing: -0.045em;
    font-weight: 950;
    margin-bottom: 8px;
}

.card-content p {
    min-height: 48px;
    color: rgba(255, 255, 255, 0.84);
    font-size: 0.84rem;
    line-height: 1.55;
    margin-bottom: 14px;
}

.card-content a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 15px;
    border-radius: 999px;
    background: var(--white);
    color: var(--espresso);
    font-size: 0.78rem;
    font-weight: 950;
    box-shadow: 0 10px 18px rgba(0, 0, 0, 0.18);
    transition:
        transform 0.2s ease,
        background 0.2s ease;
}

.card-content a:hover {
    transform: translateY(-2px);
    background: #fff7ed;
}

/* =====================================================
   FEATURES
===================================================== */

.features-section {
    background:
        radial-gradient(circle at right top, rgba(245, 158, 11, 0.13), transparent 28%),
        #ffffff;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.feature-card {
    min-height: 230px;
    border-radius: var(--radius-lg);
    background: var(--white);
    border: 1px solid var(--border);
    padding: 28px;
    box-shadow: var(--shadow-soft);
}

.feature-card span {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    margin-bottom: 18px;
    background: rgba(245, 158, 11, 0.18);
    font-size: 1.5rem;
}

.feature-card h3 {
    color: var(--espresso);
    font-size: 1.25rem;
    margin-bottom: 10px;
}

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

/* =====================================================
   EXPERIENCE SECTION
===================================================== */

.experience-section {
    background:
        linear-gradient(135deg, rgba(45, 27, 20, 0.95), rgba(92, 59, 46, 0.93)),
        url("https://images.unsplash.com/photo-1551218808-94e220e084d2?auto=format&fit=crop&w=1600&q=80");
    background-size: cover;
    background-position: center;
    color: var(--white);
}

.experience-inner {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 36px;
    align-items: center;
}

.experience-text h2 {
    color: var(--white);
}

.experience-text p {
    color: rgba(255, 255, 255, 0.8);
}

.experience-flow {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.experience-flow span {
    padding: 10px 16px;
    border-radius: 999px;
    background: rgba(245, 158, 11, 0.16);
    border: 1px solid rgba(245, 158, 11, 0.32);
    color: #fed7aa;
    font-weight: 900;
    font-size: 0.85rem;
}

.experience-panel {
    border-radius: var(--radius-xl);
    padding: 32px;
    background: rgba(255, 255, 255, 0.94);
    color: var(--dark);
    box-shadow: var(--shadow);
}

.panel-badge {
    display: inline-flex;
    padding: 8px 13px;
    border-radius: 999px;
    margin-bottom: 18px;
    background: rgba(245, 158, 11, 0.18);
    color: var(--orange);
    font-weight: 950;
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.experience-panel h3 {
    color: var(--espresso);
    font-size: 1.8rem;
    line-height: 1.15;
    letter-spacing: -0.05em;
    margin-bottom: 14px;
}

.experience-panel p {
    color: var(--muted);
    margin-bottom: 18px;
}

.experience-panel ul {
    display: grid;
    gap: 8px;
    list-style: none;
    color: var(--coffee);
    font-weight: 800;
}

/* =====================================================
   CTA
===================================================== */

.cta-section {
    padding: 80px 0;
}

.cta-inner {
    border-radius: var(--radius-xl);
    padding: clamp(34px, 5vw, 60px);
    background:
        radial-gradient(circle at top right, rgba(245, 158, 11, 0.28), transparent 30%),
        linear-gradient(135deg, var(--espresso), var(--coffee), var(--orange));
    color: var(--white);
    box-shadow: var(--shadow);
}

.cta-inner h2 {
    color: var(--white);
    max-width: 820px;
}

.cta-inner p {
    color: rgba(255, 255, 255, 0.84);
}

.cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 26px;
}

.cta-section .btn-dark {
    background: var(--white);
    color: var(--espresso);
}

/* =====================================================
   FOOTER
===================================================== */

.site-footer {
    padding: 46px 0 56px;
    text-align: center;
    background: var(--espresso);
    color: var(--white);
}

.footer-inner h3 {
    font-size: 1.4rem;
    margin-bottom: 8px;
}

.footer-inner p {
    color: rgba(255, 255, 255, 0.72);
    margin-bottom: 8px;
}

.footer-tagline {
    font-weight: 800;
    color: #fed7aa !important;
}

.powered-by {
    margin-top: 22px;
    color: #fbbf24;
    font-weight: 950;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.82rem;
}

.footer-owl {
    font-size: 2rem;
    margin: 8px 0;
}

.site-footer small {
    color: rgba(255, 255, 255, 0.56);
}

/* =====================================================
   RESPONSIVE
===================================================== */

@media (max-width: 1100px) {
    .business-grid {
        grid-template-columns: repeat(3, 1fr);
    }

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

@media (max-width: 860px) {
    .main-nav {
        position: absolute;
        top: 78px;
        left: 20px;
        right: 20px;
        display: none;
        flex-direction: column;
        align-items: flex-start;
        padding: 20px;
        border-radius: 20px;
        background: var(--white);
        border: 1px solid var(--border);
        box-shadow: var(--shadow-soft);
    }

    .main-nav.is-open {
        display: flex;
    }

    .nav-toggle {
        display: grid;
        place-items: center;
    }

    .hero-section {
        min-height: 620px;
    }

    .intro-grid {
        grid-template-columns: 1fr;
        margin-top: -50px;
    }

    .business-grid,
    .features-grid,
    .experience-inner {
        grid-template-columns: 1fr 1fr;
    }

    .business-card {
        min-height: 240px;
    }
}

@media (max-width: 640px) {
    .container {
        width: min(100% - 28px, var(--container));
    }

    .brand-title {
        font-size: 0.85rem;
    }

    .brand-subtitle {
        font-size: 0.58rem;
    }

    .brand-mark {
        width: 42px;
        height: 42px;
    }

    .hero-content {
        padding: 82px 0;
    }

    .hero-content h1 {
        font-size: 3rem;
    }

    .hero-lead {
        font-size: 1rem;
    }

    .hero-actions,
    .cta-actions {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .business-grid,
    .features-grid,
    .experience-inner {
        grid-template-columns: 1fr;
    }

    .business-card {
        min-height: 255px;
    }

    .business-section,
    .features-section,
    .experience-section {
        padding: 56px 0;
    }

    .experience-panel {
        padding: 24px;
    }
}

/* =====================================================
   BUILDFRAME FOOTER
===================================================== */

.buildframe-footer {
    background: #061525;
    color: #cdefff;
    text-align: center;
    padding: 12px 20px;
    font-size: 0.8rem;
    font-weight: 700;
}

/* =====================================================
   BUILDFRAME CHAT
===================================================== */

.buildframe-chat {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 9999;
}

.buildframe-chat-btn {
    width: 62px;
    height: 62px;
    border: none;
    border-radius: 50%;
    overflow: hidden;
    cursor: pointer;
    background: #071a2f;
    box-shadow: 0 0 20px rgba(79, 195, 255, 0.5);
}

.buildframe-chat-btn img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.buildframe-chat-panel {
    display: none;
    position: absolute;
    right: 0;
    bottom: 75px;
    width: 260px;
    background: #071a2f;
    color: #ffffff;
    padding: 18px;
    border-radius: 18px;
    border: 1px solid #4fc3ff;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.buildframe-chat-panel.active {
    display: block;
}

.buildframe-chat-panel strong {
    display: block;
    margin-bottom: 8px;
    color: #ffffff;
}

.buildframe-chat-panel p {
    color: #bfefff;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 12px;
}

.buildframe-chat-panel a {
    display: block;
    color: #4fc3ff;
    font-weight: 700;
    margin-top: 8px;
}

/* =====================================================
   BUILDFRAME FOOTER
===================================================== */

.buildframe-footer {
    background: #061525;
    color: #cdefff;
    text-align: center;
    padding: 12px 20px;
    font-size: 0.78rem;
    font-weight: 700;
}

/* =====================================================
   BUILDFRAME CHAT
===================================================== */

.buildframe-chat {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 9999;
}

.buildframe-chat-btn {
    width: 62px;
    height: 62px;
    border: none;
    border-radius: 50%;
    overflow: hidden;
    cursor: pointer;
    background: #071a2f;
    box-shadow: 0 0 20px rgba(79, 195, 255, 0.5);
}

.buildframe-chat-btn img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.buildframe-chat-panel {
    display: none;
    position: absolute;
    right: 0;
    bottom: 75px;
    width: 260px;
    background: #071a2f;
    color: #ffffff;
    padding: 18px;
    border-radius: 18px;
    border: 1px solid #4fc3ff;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.buildframe-chat-panel.active {
    display: block;
}

.buildframe-chat-panel strong {
    display: block;
    margin-bottom: 8px;
}

.buildframe-chat-panel p {
    color: #bfefff;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 12px;
}

.buildframe-chat-panel a {
    display: block;
    color: #4fc3ff;
    font-weight: 700;
    margin-top: 8px;
    text-decoration: none;
}

.buildframe-logo-bubble {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    overflow: hidden;
    z-index: 9999;
    box-shadow: 0 0 20px rgba(79, 195, 255, .6);
    transition: .3s;
}

.buildframe-logo-bubble:hover {
    transform: scale(1.08);
}

.buildframe-logo-bubble img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}