/* =====================================================
   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;
    --container: 1280px;
}

/* 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.92);
    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: 950;
    letter-spacing: -0.03em;
    font-size: 1rem;
    text-transform: uppercase;
}

.brand-subtitle {
    color: var(--caramel);
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(120, 80, 40, 0.12);
    padding: 8px;
    border-radius: 999px;
    box-shadow: 0 12px 30px rgba(80, 45, 15, 0.08);
    backdrop-filter: blur(14px);
}

.main-nav a {
    color: #3a2618;
    text-decoration: none;
    font-weight: 850;
    font-size: 0.92rem;
    padding: 10px 14px;
    border-radius: 999px;
    transition: all 0.25s ease;
}

.main-nav a:hover {
    background: #fff3df;
    color: #9a5a12;
}

.main-nav .login-btn {
    background: linear-gradient(135deg, #c88b3a, #f2b35b);
    color: #fff !important;
    padding: 11px 20px;
    box-shadow: 0 10px 22px rgba(200, 139, 58, 0.32);
}

.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: 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-outline {
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.72);
    background: rgba(255, 255, 255, 0.08);
}

.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: 620px;
    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: 820px;
    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;
}

.hero-content h1 {
    max-width: 780px;
    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: 700px;
    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 */

.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: 820px;
    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 INSPIRATION CARDS */

.business-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.business-card {
    position: relative;
    overflow: hidden;
    min-height: 355px;
    border-radius: 28px;
    background: #111827;
    box-shadow: var(--shadow-soft);
    isolation: isolate;
    transition: 0.25s ease;
}

.business-card:nth-child(3n + 1) {
    min-height: 410px;
}

.business-card:nth-child(4n + 2) {
    border-radius: 18px 42px 18px 42px;
}

.business-card:nth-child(5n + 3) {
    min-height: 330px;
}

.business-card:nth-child(6n + 4) {
    border-radius: 42px 18px 42px 18px;
}

.business-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow);
}

.business-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 62%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.business-card:hover img {
    transform: scale(1.07);
}

.business-card::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(180deg,
            rgba(0, 0, 0, 0.05) 0%,
            rgba(0, 0, 0, 0.15) 42%,
            rgba(0, 0, 0, 0.78) 100%);
}

/* different faces */
.business-card:nth-child(1),
.business-card:nth-child(8n + 1) {
    background: linear-gradient(160deg, #f7fee7, #2f5d35);
}

.business-card:nth-child(2),
.business-card:nth-child(8n + 2) {
    background: linear-gradient(160deg, #3b2417, #120805);
}

.business-card:nth-child(3),
.business-card:nth-child(8n + 3) {
    background: linear-gradient(160deg, #7f1d1d, #f59e0b);
}

.business-card:nth-child(4),
.business-card:nth-child(8n + 4) {
    background: linear-gradient(160deg, #020617, #ea580c);
}

.business-card:nth-child(5),
.business-card:nth-child(8n + 5) {
    background: linear-gradient(160deg, #fff1f2, #be185d);
}

.business-card:nth-child(6),
.business-card:nth-child(8n + 6) {
    background: linear-gradient(160deg, #431407, #f97316);
}

.business-card:nth-child(7),
.business-card:nth-child(8n + 7) {
    background: linear-gradient(160deg, #0f172a, #0e7490);
}

.business-card:nth-child(8),
.business-card:nth-child(8n) {
    background: linear-gradient(160deg, #030712, #b45309);
}

.card-content {
    position: absolute;
    inset: auto 0 0 0;
    z-index: 2;
    min-height: 46%;
    padding: 20px;
    color: var(--white);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.card-content span {
    display: inline-flex;
    width: fit-content;
    min-width: 44px;
    height: 34px;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    margin-bottom: 10px;
    padding: 0 12px;
    background: rgba(255, 255, 255, 0.9);
    color: #111827;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.18);
    font-size: 0.9rem;
    font-weight: 950;
}

.card-content h3 {
    font-size: 1.35rem;
    line-height: 1.05;
    letter-spacing: -0.045em;
    font-weight: 950;
    margin-bottom: 8px;
}

.card-content p {
    min-height: 52px;
    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;
    width: fit-content;
    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);
}

.card-content a:hover {
    transform: translateY(-2px);
    background: #fff7ed;
}

/* FEATURE CARDS */

.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(4, 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 */

.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);
}

/* 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);
}

/* BUILDFRAME FOOTER */

.buildframe-footer {
    background: #061525;
    color: #cdefff;
    text-align: center;
    padding: 14px 20px;
    font-size: 0.78rem;
    font-weight: 700;
}

.buildframe-footer a {
    color: #43d9ff;
}

.buildframe-logo-bubble {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 64px;
    height: 64px;
    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;
}

/* RESPONSIVE */

@media (max-width: 1200px) {
    .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;
    }

    .intro-grid,
    .business-grid,
    .features-grid,
    .experience-inner {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 640px) {
    .container {
        width: min(100% - 28px, var(--container));
    }

    .brand-title {
        font-size: 0.85rem;
    }

    .brand-subtitle {
        font-size: 0.58rem;
    }

    .hero-content h1 {
        font-size: 3rem;
    }

    .hero-actions,
    .cta-actions {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .intro-grid,
    .business-grid,
    .features-grid,
    .experience-inner {
        grid-template-columns: 1fr;
    }

    .business-card {
        min-height: 340px;
    }
}

/* ======================================================
BUILDFRAME PROMOTIONAL FOOTER
====================================================== */

.footer-logo-center {

    display: flex;

    justify-content: center;

    margin-bottom: 45px;

}

.footer-logo {

    width: 80px;

    height: auto;

    display: block;

}

.buildframe-footer-grid {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 40px;
}

.footer-logo {
    width: 80px;
    height: auto;
    display: block;
    margin: 0 auto 15px;
}

.footer-column h3,
.footer-column h4 {
    margin-bottom: 15px;
}

.footer-column p,
.footer-column li {
    color: #d6e3ff;
    line-height: 1.7;
}

.footer-column ul {
    padding-left: 18px;
}

.footer-column a {
    color: #69a7ff;
    text-decoration: none;
}

.footer-column a:hover {
    text-decoration: underline;
}

.footer-bottom {
    margin-top: 45px;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, .12);
    text-align: center;
    color: #9db5d8;
    font-size: .9rem;
}

/* ======================================================
BUILD YOUR BUSINESS YOUR WAY
====================================================== */

.build-way-section {
    padding: 80px 0;
    background: linear-gradient(180deg, #fffdf8 0%, #fff6e8 100%);
}

.build-way-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 45px;
}

.build-way-card {
    background: #ffffff;
    border-radius: 28px;
    padding: 40px;
    border: 1px solid rgba(0, 0, 0, .08);
    box-shadow: 0 18px 40px rgba(0, 0, 0, .08);
    transition: .3s;
    display: flex;
    flex-direction: column;
}

.build-way-card:hover {
    transform: translateY(-8px);
}

.build-way-card.featured {
    background: linear-gradient(135deg, #0f172a, #1e3a5f);
    color: #ffffff;
}

.build-way-card.featured p {
    color: rgba(255, 255, 255, .88);
}

.build-way-icon {
    font-size: 60px;
    margin-bottom: 25px;
}

.build-way-card h3 {
    font-size: 2rem;
    margin-bottom: 15px;
}

.build-way-card p {
    line-height: 1.8;
    color: #64748b;
    margin-bottom: 30px;
    flex: 1;
}

.build-way-card .btn {
    align-self: flex-start;
}

@media (max-width:900px) {

    .build-way-grid {

        grid-template-columns: 1fr;

    }

}