@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+TC:wght@500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');

/* ============================================================
   VegManage Marketing Site - Plant-Powered. System-Driven.
   Palette inspired by forest green, cream, olive, and warm orange.
   ============================================================ */

:root {
    --cream: #f7f4ec;
    --cream-soft: #fbf9f2;
    --paper: #ffffff;
    --ink: #1d2a20;
    --ink-soft: #54624f;
    --muted: #8a9487;
    --line: rgba(29, 42, 32, 0.10);
    --line-soft: rgba(29, 42, 32, 0.06);

    --forest: #1f4a32;
    --forest-dark: #123021;
    --forest-deep: #0d2418;
    --leaf: #4a7a3f;
    --leaf-bright: #72a24f;
    --sage: #a9c09a;
    --olive: #cadcb0;

    --amber: #e38a3d;
    --amber-soft: #f3b071;
    --clay: #c3582a;

    --shadow-sm: 0 4px 14px rgba(29, 42, 32, 0.06);
    --shadow: 0 18px 40px rgba(29, 42, 32, 0.08);
    --shadow-lg: 0 28px 60px rgba(29, 42, 32, 0.14);

    --radius-sm: 14px;
    --radius: 22px;
    --radius-lg: 32px;
    --radius-xl: 40px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Manrope', 'Segoe UI', 'PingFang TC', 'Noto Sans TC', sans-serif;
    color: var(--ink);
    background: var(--cream);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    font-feature-settings: 'palt';
}

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

a {
    color: inherit;
}

h1, h2, h3, h4 {
    font-family: 'Noto Serif TC', 'Manrope', serif;
    color: var(--ink);
    line-height: 1.25;
    margin: 0;
    letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.4rem, 4.2vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 2.8vw, 2.4rem); }
h3 { font-size: 1.2rem; }

p { margin: 0; }

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

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--leaf);
    font-family: 'Manrope', sans-serif;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 700;
    margin: 0 0 10px;
}

.eyebrow::before {
    content: '';
    width: 22px;
    height: 2px;
    background: currentColor;
    border-radius: 2px;
}

.eyebrow.on-dark {
    color: var(--olive);
}

/* ============================================================
   Header / Navigation
   ============================================================ */

.marketing-header {
    position: sticky;
    top: 0;
    z-index: 30;
    background: rgba(247, 244, 236, 0.92);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    padding: 18px 0;
}

.brand-mark {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    color: var(--ink);
}

.brand-mark-icon {
    position: relative;
    display: inline-grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: linear-gradient(140deg, var(--forest) 0%, var(--leaf) 70%, var(--leaf-bright) 100%);
    color: #fff;
    font-weight: 800;
    box-shadow: 0 10px 24px rgba(31, 74, 50, 0.25);
}

.brand-mark-icon::after {
    content: '';
    position: absolute;
    top: 8px;
    right: 6px;
    width: 14px;
    height: 14px;
    background: var(--amber);
    border-radius: 4px 10px 4px 10px;
    transform: rotate(18deg);
    box-shadow: 0 4px 10px rgba(227, 138, 61, 0.35);
}

.brand-mark strong {
    display: block;
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.brand-mark small {
    display: block;
    font-size: 0.78rem;
    color: var(--ink-soft);
    letter-spacing: 0.08em;
    font-weight: 500;
}

.nav-shell {
    display: flex;
    align-items: center;
    gap: 20px;
}

.site-links {
    display: flex;
    align-items: center;
    gap: 6px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.site-links a {
    display: inline-flex;
    align-items: center;
    padding: 10px 16px;
    border-radius: 999px;
    color: var(--ink);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: background 0.2s ease, color 0.2s ease;
}

.site-links a:hover,
.site-links a.active {
    background: rgba(31, 74, 50, 0.08);
    color: var(--forest);
}

.site-links a.cta {
    background: var(--forest);
    color: #fff;
    padding: 10px 20px;
    margin-left: 6px;
}

.site-links a.cta:hover {
    background: var(--forest-dark);
    color: #fff;
}

.nav-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.9);
    color: var(--forest);
    cursor: pointer;
    position: relative;
    padding: 0;
}

.nav-toggle span,
.nav-toggle::before,
.nav-toggle::after {
    content: '';
    position: absolute;
    display: block;
    width: 18px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle::before { transform: translateY(-6px); }
.nav-toggle::after  { transform: translateY(6px); }

.marketing-header.is-open .nav-toggle span   { opacity: 0; }
.marketing-header.is-open .nav-toggle::before{ transform: rotate(45deg); }
.marketing-header.is-open .nav-toggle::after { transform: rotate(-45deg); }

/* ============================================================
   Buttons
   ============================================================ */

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 26px;
    border-radius: 999px;
    background: var(--forest);
    color: #fff;
    text-decoration: none;
    border: 1px solid var(--forest);
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: transform 0.15s ease, background 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 10px 22px rgba(18, 48, 33, 0.25);
}

.button:hover {
    background: var(--forest-dark);
    transform: translateY(-1px);
    box-shadow: 0 14px 30px rgba(18, 48, 33, 0.3);
}

.button.ghost {
    background: transparent;
    color: var(--forest);
    border-color: rgba(31, 74, 50, 0.22);
    box-shadow: none;
}

.button.ghost:hover {
    background: rgba(31, 74, 50, 0.06);
    color: var(--forest-dark);
}

.button.ghost-light {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: none;
}

.button.ghost-light:hover {
    background: rgba(255, 255, 255, 0.22);
}

.button.amber {
    background: var(--amber);
    border-color: var(--amber);
    color: #fff;
    box-shadow: 0 10px 22px rgba(227, 138, 61, 0.35);
}

.button.amber:hover {
    background: var(--clay);
    border-color: var(--clay);
}

.button-arrow::after {
    content: '→';
    display: inline-block;
    transition: transform 0.2s ease;
}

.button:hover .button-arrow::after,
.button-arrow:hover::after {
    transform: translateX(3px);
}

/* ============================================================
   Hero Section
   ============================================================ */

.hero {
    position: relative;
    padding: 56px 0 40px;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(900px 520px at 15% 15%, rgba(114, 162, 79, 0.12), transparent 60%),
        radial-gradient(700px 420px at 90% 10%, rgba(227, 138, 61, 0.08), transparent 60%);
    pointer-events: none;
}

.hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
    align-items: center;
}

.hero-copy .eyebrow {
    margin-bottom: 20px;
}

.hero-copy h1 {
    font-size: clamp(2.6rem, 4.8vw, 4.2rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.015em;
}

.hero-copy h1 em {
    font-style: normal;
    color: var(--forest);
    background: linear-gradient(120deg, var(--forest) 0%, var(--leaf-bright) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-lead {
    margin-top: 22px;
    font-size: 1.1rem;
    color: var(--ink-soft);
    line-height: 1.8;
    max-width: 560px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 32px;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 48px;
    padding-top: 28px;
    border-top: 1px solid var(--line);
}

.hero-stats div strong {
    display: block;
    font-family: 'Noto Serif TC', serif;
    font-size: 2rem;
    color: var(--forest);
    letter-spacing: -0.02em;
}

.hero-stats div span {
    display: block;
    margin-top: 4px;
    color: var(--ink-soft);
    font-size: 0.82rem;
    letter-spacing: 0.04em;
}

.hero-visual {
    position: relative;
    aspect-ratio: 1 / 1.05;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    background: linear-gradient(135deg, #f6f1e4 0%, #eaead1 100%);
}

.hero-visual img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    padding: 18px;
}

.hero-visual::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 55%, rgba(13, 36, 24, 0.08) 100%);
    pointer-events: none;
}

.hero-float-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(8px);
    border-radius: 18px;
    padding: 16px 18px;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 220px;
    z-index: 2;
}

.hero-float-card.top-right {
    top: 28px;
    right: -22px;
}

.hero-float-card.bottom-left {
    bottom: 28px;
    left: -22px;
}

.hero-float-card .icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--leaf-bright), var(--leaf));
    color: #fff;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.hero-float-card .icon.amber {
    background: linear-gradient(135deg, var(--amber-soft), var(--amber));
}

.hero-float-card strong {
    display: block;
    font-size: 0.95rem;
    color: var(--ink);
}

.hero-float-card span {
    display: block;
    font-size: 0.75rem;
    color: var(--ink-soft);
    margin-top: 2px;
}

/* ============================================================
   Section styles
   ============================================================ */

.section {
    padding: 84px 0;
    position: relative;
}

.section.tight {
    padding: 56px 0;
}

.section.on-cream {
    background: var(--cream-soft);
}

.section.on-forest {
    background: linear-gradient(135deg, var(--forest-deep) 0%, var(--forest) 70%, var(--leaf) 130%);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.section.on-forest::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('../img/brand/leaf-pattern.png');
    background-size: 420px auto;
    opacity: 0.05;
    pointer-events: none;
}

.section.on-forest h2,
.section.on-forest h3,
.section.on-forest h1 {
    color: #fff;
}

.section-head {
    max-width: 760px;
    margin: 0 auto 48px;
    text-align: center;
}

.section-head h2 {
    font-size: clamp(2rem, 3.2vw, 2.8rem);
}

.section-head p {
    margin-top: 16px;
    font-size: 1.05rem;
    color: var(--ink-soft);
    line-height: 1.8;
}

.section-head.on-dark p {
    color: rgba(255, 255, 255, 0.78);
}

.section-head.left {
    margin: 0 0 40px;
    text-align: left;
    max-width: 640px;
}

/* ============================================================
   Feature Grid (4 pillars)
   ============================================================ */

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

.pillar {
    position: relative;
    padding: 34px 26px 28px;
    background: var(--paper);
    border-radius: var(--radius-lg);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.pillar:hover {
    transform: translateY(-4px);
    border-color: rgba(114, 162, 79, 0.35);
    box-shadow: var(--shadow);
}

.pillar-icon {
    width: 58px;
    height: 58px;
    border-radius: 18px;
    display: grid;
    place-items: center;
    margin-bottom: 22px;
    background: linear-gradient(140deg, rgba(114, 162, 79, 0.2) 0%, rgba(74, 122, 63, 0.15) 100%);
    color: var(--forest);
    font-size: 1.6rem;
}

.pillar:nth-child(2) .pillar-icon {
    background: linear-gradient(140deg, rgba(227, 138, 61, 0.22), rgba(227, 138, 61, 0.12));
    color: var(--clay);
}

.pillar:nth-child(3) .pillar-icon {
    background: linear-gradient(140deg, rgba(169, 192, 154, 0.35), rgba(114, 162, 79, 0.18));
    color: var(--forest);
}

.pillar:nth-child(4) .pillar-icon {
    background: linear-gradient(140deg, rgba(31, 74, 50, 0.16), rgba(31, 74, 50, 0.08));
    color: var(--forest-dark);
}

.pillar h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.pillar p {
    color: var(--ink-soft);
    font-size: 0.93rem;
    line-height: 1.75;
}

/* ============================================================
   Featured dishes
   ============================================================ */

.dish-row-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 36px;
}

.dish-row-head h2 {
    max-width: 520px;
}

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

.dish-card {
    position: relative;
    background: var(--paper);
    border-radius: var(--radius-lg);
    border: 1px solid var(--line);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    display: flex;
    flex-direction: column;
}

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

.dish-media {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #eef3e8;
}

.dish-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.dish-card:hover .dish-media img {
    transform: scale(1.05);
}

.dish-tag {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.94);
    color: var(--forest);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    backdrop-filter: blur(6px);
}

.dish-body {
    padding: 22px 24px 26px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
}

.dish-body h3 {
    font-size: 1.25rem;
}

.dish-body p {
    color: var(--ink-soft);
    font-size: 0.92rem;
    line-height: 1.7;
    flex: 1;
}

.dish-body .meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 12px;
    border-top: 1px dashed var(--line);
    margin-top: auto;
}

.dish-body .price {
    font-family: 'Noto Serif TC', serif;
    font-size: 1.4rem;
    color: var(--forest);
    font-weight: 700;
}

.dish-body .price small {
    font-size: 0.7rem;
    color: var(--ink-soft);
    font-weight: 500;
    margin-right: 4px;
}

.dish-body .size {
    font-size: 0.78rem;
    color: var(--ink-soft);
    letter-spacing: 0.06em;
}

/* ============================================================
   Process / Flow strip
   ============================================================ */

.flow-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
    position: relative;
}

.flow-step {
    position: relative;
    padding: 28px 22px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius);
    color: #fff;
    backdrop-filter: blur(6px);
}

.flow-step .num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: linear-gradient(140deg, var(--leaf-bright), var(--leaf));
    color: #fff;
    font-family: 'Noto Serif TC', serif;
    font-size: 1.1rem;
    margin-bottom: 18px;
}

.flow-step h3 {
    font-size: 1.15rem;
    margin-bottom: 8px;
    color: #fff;
}

.flow-step p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.75;
}

.flow-step:nth-child(2) .num { background: linear-gradient(140deg, var(--amber-soft), var(--amber)); }
.flow-step:nth-child(3) .num { background: linear-gradient(140deg, #8ac567, var(--leaf)); }
.flow-step:nth-child(4) .num { background: linear-gradient(140deg, #c6d9a5, var(--sage)); color: var(--forest-dark); }

/* ============================================================
   Integration / ERP modules
   ============================================================ */

.integration {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 56px;
    align-items: center;
}

.integration-visual {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    background: var(--cream-soft);
}

.integration-visual img {
    width: 100%;
    height: auto;
    display: block;
}

.module-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-top: 32px;
}

.module {
    padding: 20px 22px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.module:hover {
    border-color: rgba(114, 162, 79, 0.4);
    transform: translateY(-2px);
}

.module-top {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.module-code {
    display: inline-flex;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(31, 74, 50, 0.08);
    color: var(--forest);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.module h3 {
    font-size: 1.05rem;
}

.module p {
    font-size: 0.86rem;
    color: var(--ink-soft);
    line-height: 1.65;
}

/* ============================================================
   Testimonials / trust
   ============================================================ */

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

.trust-card {
    padding: 30px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    position: relative;
}

.trust-card::before {
    content: '“';
    position: absolute;
    top: 18px;
    right: 24px;
    font-family: 'Noto Serif TC', serif;
    font-size: 4rem;
    color: var(--sage);
    opacity: 0.5;
    line-height: 1;
}

.trust-card p {
    color: var(--ink);
    font-size: 0.96rem;
    line-height: 1.8;
    margin-bottom: 22px;
}

.trust-foot {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 18px;
    border-top: 1px solid var(--line);
}

.avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--leaf-bright), var(--leaf));
    color: #fff;
    display: grid;
    place-items: center;
    font-weight: 700;
    flex-shrink: 0;
}

.trust-foot strong {
    display: block;
    font-size: 0.95rem;
}

.trust-foot span {
    display: block;
    font-size: 0.78rem;
    color: var(--ink-soft);
}

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

.cta-banner {
    margin: 0 auto;
    padding: 64px 56px;
    background: linear-gradient(135deg, var(--forest-deep) 0%, var(--forest) 60%, var(--leaf) 120%);
    border-radius: var(--radius-xl);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.cta-banner::before,
.cta-banner::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.cta-banner::before {
    width: 360px;
    height: 360px;
    background: radial-gradient(circle, rgba(227, 138, 61, 0.25), transparent 70%);
    top: -120px;
    right: -60px;
}

.cta-banner::after {
    width: 260px;
    height: 260px;
    background: radial-gradient(circle, rgba(114, 162, 79, 0.3), transparent 70%);
    bottom: -120px;
    left: -40px;
}

.cta-banner-grid {
    display: grid;
    grid-template-columns: 1.4fr 0.6fr;
    gap: 40px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.cta-banner h2 {
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    color: #fff;
}

.cta-banner p {
    margin-top: 14px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 1.02rem;
    line-height: 1.8;
}

.cta-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* ============================================================
   Footer
   ============================================================ */

.marketing-footer {
    background: var(--forest-deep);
    color: rgba(255, 255, 255, 0.78);
    padding: 64px 0 32px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr 0.7fr 0.9fr;
    gap: 40px;
}

.footer-grid h4 {
    color: #fff;
    font-family: 'Manrope', sans-serif;
    font-size: 0.82rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    margin-bottom: 18px;
    font-weight: 700;
}

.footer-brand p {
    margin-top: 14px;
    line-height: 1.8;
    font-size: 0.92rem;
    max-width: 320px;
}

.footer-brand .brand-mark {
    color: #fff;
}

.footer-brand .brand-mark strong {
    color: #fff;
}

.footer-brand .brand-mark small {
    color: rgba(255, 255, 255, 0.6);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.78);
    text-decoration: none;
    font-size: 0.92rem;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: var(--leaf-bright);
}

.footer-meta {
    display: grid;
    gap: 10px;
    font-size: 0.9rem;
}

.footer-meta strong {
    color: #fff;
    display: block;
    font-weight: 600;
}

.footer-bottom {
    margin-top: 48px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    gap: 16px;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.58);
}

/* ============================================================
   Menu page (brand site /menu.php)
   ============================================================ */

.page-shell {
    padding: 64px 0 96px;
}

.page-head {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: center;
    margin-bottom: 48px;
}

.page-head h1 {
    font-size: clamp(2.4rem, 4vw, 3.4rem);
    margin-bottom: 16px;
}

.page-head p {
    color: var(--ink-soft);
    font-size: 1.05rem;
    line-height: 1.8;
    max-width: 520px;
}

.page-head-media {
    position: relative;
    aspect-ratio: 5 / 4;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.page-head-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.category-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 18px 24px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    margin-bottom: 48px;
    position: sticky;
    top: 88px;
    z-index: 5;
    backdrop-filter: blur(14px);
    background: rgba(255, 255, 255, 0.92);
}

.category-nav a {
    padding: 10px 18px;
    border-radius: 999px;
    color: var(--ink);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: background 0.2s ease, color 0.2s ease;
    border: 1px solid transparent;
}

.category-nav a:hover,
.category-nav a.active {
    background: rgba(31, 74, 50, 0.08);
    color: var(--forest);
    border-color: rgba(31, 74, 50, 0.15);
}

.category-section {
    margin-bottom: 72px;
    scroll-margin-top: 160px;
}

.category-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 28px;
    padding-bottom: 22px;
    border-bottom: 1px solid var(--line);
}

.category-head h2 {
    font-size: clamp(1.6rem, 2.4vw, 2.1rem);
}

.category-head p {
    max-width: 480px;
    color: var(--ink-soft);
    font-size: 0.95rem;
}

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

/* ============================================================
   Booking page
   ============================================================ */

.booking-shell {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 40px;
    padding: 72px 0 96px;
    align-items: stretch;
}

.booking-intro {
    position: relative;
    padding: 44px;
    border-radius: var(--radius-lg);
    color: #fff;
    background: linear-gradient(140deg, var(--forest-deep) 0%, var(--forest) 60%, var(--leaf) 130%);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.booking-intro::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('../img/brand/leaf-pattern.png');
    background-size: 360px auto;
    opacity: 0.06;
    pointer-events: none;
}

.booking-intro h1 {
    color: #fff;
    font-size: clamp(2.2rem, 3.8vw, 3rem);
    margin-bottom: 20px;
}

.booking-intro p {
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.85;
    font-size: 1.02rem;
}

.booking-features {
    margin-top: auto;
    padding-top: 36px;
    display: grid;
    gap: 16px;
}

.booking-features div {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.booking-features .check {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.14);
    display: grid;
    place-items: center;
    flex-shrink: 0;
    color: var(--leaf-bright);
    font-weight: 700;
}

.booking-features strong {
    display: block;
    color: #fff;
    font-size: 0.98rem;
    margin-bottom: 2px;
}

.booking-features span {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
}

.booking-card {
    padding: 40px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.booking-card h2 {
    font-size: 1.4rem;
    margin-bottom: 8px;
}

.booking-card > p {
    color: var(--ink-soft);
    font-size: 0.92rem;
    margin-bottom: 24px;
}

.booking-card form {
    display: grid;
    gap: 18px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

label {
    display: block;
    font-weight: 600;
    color: var(--ink);
    font-size: 0.9rem;
}

label > span {
    display: block;
    margin-bottom: 8px;
    font-size: 0.82rem;
    color: var(--ink-soft);
    letter-spacing: 0.03em;
    font-weight: 600;
}

input,
textarea,
select {
    width: 100%;
    padding: 13px 16px;
    border-radius: 14px;
    border: 1px solid var(--line);
    background: #fff;
    font: inherit;
    color: var(--ink);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: var(--leaf);
    box-shadow: 0 0 0 4px rgba(114, 162, 79, 0.18);
}

textarea {
    resize: vertical;
    min-height: 96px;
    font-family: inherit;
}

.booking-card button[type="submit"] {
    margin-top: 8px;
}

.booking-flash {
    width: min(1200px, calc(100% - 40px));
    margin: 18px auto 0;
    padding: 16px 22px;
    border-radius: 16px;
    background: #fffdf9;
    border: 1px solid var(--line);
    border-left: 4px solid var(--leaf);
    font-weight: 600;
    color: var(--ink);
}

.booking-flash-error {
    border-left-color: var(--clay);
}

/* ============================================================
   Partners strip
   ============================================================ */

.partners-strip {
    padding: 48px 0 72px;
    text-align: center;
}

.partners-strip p {
    color: var(--ink-soft);
    letter-spacing: 0.16em;
    text-transform: uppercase;
    font-size: 0.78rem;
    font-weight: 600;
    margin-bottom: 28px;
}

.partners-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 48px;
    color: var(--muted);
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.08em;
}

.partners-logos span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    opacity: 0.65;
    transition: opacity 0.2s ease;
}

.partners-logos span:hover {
    opacity: 1;
}

.partners-logos span::before {
    content: '◆';
    color: var(--leaf-bright);
}

/* ============================================================
   Responsive
   ============================================================ */

@media (max-width: 1080px) {
    .hero-grid,
    .integration,
    .page-head,
    .booking-shell,
    .cta-banner-grid {
        grid-template-columns: 1fr;
    }

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

    .dish-grid,
    .trust-grid,
    .category-dish-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

    .hero-float-card.top-right { right: 12px; }
    .hero-float-card.bottom-left { left: 12px; }
}

@media (max-width: 720px) {
    /* --- Viewport overflow fix (zoom issue) --- */
    html, body {
        overflow-x: hidden;
    }

    h1 { font-size: 2.1rem; }
    .section { padding: 56px 0; }

    /* --- Sticky horizontal-scroll category nav --- */
    .category-nav {
        position: sticky;
        top: 76px;
        z-index: 10;
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        gap: 8px;
        padding: 14px 16px;
        border-radius: 16px;
        margin-bottom: 32px;
        scrollbar-width: none;          /* Firefox */
        -ms-overflow-style: none;       /* IE/Edge */
    }
    .category-nav::-webkit-scrollbar {
        display: none;                  /* Chrome/Safari */
    }
    .category-nav a {
        flex-shrink: 0;
        padding: 8px 16px;
        font-size: 0.85rem;
    }
    .category-section {
        scroll-margin-top: 140px;
    }

    .nav-toggle { display: inline-flex; }

    .nav {
        position: relative;
    }

    .site-links {
        position: absolute;
        top: calc(100% + 10px);
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
        padding: 16px;
        background: #fff;
        border: 1px solid var(--line);
        border-radius: 20px;
        box-shadow: var(--shadow);
        width: min(240px, calc(100vw - 32px));
        opacity: 0;
        pointer-events: none;
        transform: translateY(-6px);
        transition: opacity 0.2s ease, transform 0.2s ease;
    }

    .site-links a {
        justify-content: flex-start;
    }

    .marketing-header.is-open .site-links {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }

    .pillars,
    .flow-grid,
    .dish-grid,
    .trust-grid,
    .category-dish-grid,
    .module-grid,
    .footer-grid,
    .form-row,
    .hero-stats {
        grid-template-columns: 1fr;
    }

    .dish-row-head,
    .category-head {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .cta-banner {
        padding: 44px 26px;
    }

    .booking-intro,
    .booking-card {
        padding: 32px 26px;
    }

    .hero-float-card {
        display: none;
    }

    .partners-logos {
        gap: 24px;
    }
}

/* ============================================================
   Brand story grid (storefront / team / office)
   ============================================================ */

.brand-story-section {
    position: relative;
    overflow: hidden;
}

.brand-story-section::before {
    content: '';
    position: absolute;
    inset: -20px -40px auto auto;
    width: 380px;
    height: 380px;
    background: url('../img/brand/leaf-pattern.png') no-repeat center / contain;
    opacity: 0.08;
    pointer-events: none;
    transform: rotate(-8deg);
}

.brand-story-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
    margin-top: 40px;
    position: relative;
    z-index: 1;
}

.brand-story-card {
    margin: 0;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.brand-story-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.brand-story-card img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    display: block;
}

.brand-story-card figcaption {
    padding: 22px 24px 26px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.brand-story-card figcaption strong {
    font-size: 1.08rem;
    color: var(--ink);
}

.brand-story-card figcaption span {
    color: var(--muted);
    font-size: 0.92rem;
    line-height: 1.65;
}

@media (max-width: 1080px) {
    .brand-story-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .brand-story-grid {
        grid-template-columns: 1fr;
    }
    .brand-story-section::before {
        display: none;
    }
}

/* ============================================================
   Partners strip visual
   ============================================================ */

.partners-visual {
    max-width: 760px;
    margin: 0 auto 28px;
    opacity: 0.92;
}

.partners-visual img {
    width: 100%;
    height: auto;
    display: block;
    filter: grayscale(0.15);
}

/* ============================================================
   Pillars section — ui-icons decorative backdrop
   ============================================================ */

.pillars-section {
    position: relative;
    overflow: hidden;
}

.pillars-section::after {
    content: '';
    position: absolute;
    right: -40px;
    bottom: -40px;
    width: 260px;
    height: 260px;
    background: url('../img/brand/ui-icons.png') no-repeat center / contain;
    opacity: 0.1;
    pointer-events: none;
}

