/* Thongpin public site — coffee-cafe layout.
   White paper, indigo headings #3A261C, caramel button #CE6D06. */

:root,
[data-theme="day"],
[data-theme="night"] {
    --cafe-ink: #3A261C;
    --cafe-orange: #CE6D06;
    --cafe-orange-dark: #B35E05;
    --cafe-muted: #666666;
    --cafe-label: #7E7D7D;
    --cafe-line: #ECEAE6;
    --cafe-paper: #FFFFFF;
    --cafe-sand: #F7F5F2;
    --lux-bg: #FFFFFF;
    --lux-bg-alt: #F7F5F2;
    --lux-sand: #FFFFFF;
    --lux-sand-hover: #F7F5F2;
    --lux-border: #ECEAE6;
    --lux-brown-light: #FFFFFF;
    --lux-brown-mid: #F7F5F2;
    --lux-brown-warm: #F3E6D4;
    --lux-brown-rich: #CE6D06;
    --lux-espresso: #3A261C;
    --lux-espresso-mid: #3A261C;
    --lux-taupe: #666666;
    --lux-taupe-light: #7E7D7D;
    --lux-antique-gold: #CE6D06;
    --lux-antique-gold-soft: rgba(206, 109, 6, 0.18);
    --lux-amber: #CE6D06;
    --lux-amber-bright: #E08A1E;
    --lux-amber-glow: rgba(206, 109, 6, 0.28);
    --lux-midnight: #3A261C;
    --lux-cream: #FFFFFF;
    --lux-cream-muted: rgba(255, 255, 255, 0.86);
    --gold: #CE6D06;
    --gold-light: #E39A45;
    --gold-dark: #B35E05;
    --gold-glow: rgba(206, 109, 6, 0.28);
    --brown-dark: #3A261C;
    --brown: #3A261C;
    --brown-mid: #666666;
    --off-white: #F7F5F2;
    --cream: #F7F5F2;
    --gray-100: #F7F5F2;
    --gray-200: #ECEAE6;
    --gray-600: #666666;
    --text-primary: #3A261C;
    --text-muted: #666666;
    --bg-page: #FFFFFF;
}

body {
    background: #FFFFFF !important;
    color: #666666 !important;
    font-family: "IBM Plex Sans Thai", Mukta, sans-serif !important;
}

h1, h2, h3, h4, .about-brand {
    font-family: "IBM Plex Sans Thai", Mukta, sans-serif !important;
    color: #3A261C !important;
    font-weight: 700 !important;
    letter-spacing: -0.02em;
}

p, li, label,
.section-header p,
.credibility-head p,
.cred-card p,
.about-duo-card p,
.about-value p,
.service-card p,
.process-step p,
.why-card p,
.portfolio-info p,
.contact-item p,
.services-intro-text p,
.stat-label,
.trust-label,
.tech-board-head p {
    color: #666666 !important;
}

.section-tag {
    color: #7E7D7D !important;
    letter-spacing: 0.14em !important;
    text-transform: uppercase !important;
    font-size: 0.82rem !important;
    font-weight: 600 !important;
}

.section-tag::before,
.section-tag::after {
    display: none !important;
}

.section-header h2,
.credibility-head h2,
.about-feature-copy h2,
.tech-board-head h2 {
    font-size: clamp(2rem, 4vw, 2.75rem) !important;
    line-height: 1.2 !important;
}

/* Header — white bar, indigo links, orange menu */
body .header,
body .header:not(.scrolled),
body .header.scrolled {
    background: #FFFFFF !important;
    border-bottom: 1px solid #F0EEEA !important;
    box-shadow: 0 8px 24px rgba(58, 38, 28, 0.06) !important;
}

body .header .nav-link,
body .header:not(.scrolled) .nav-link,
body .header:not(.scrolled) .nav-link:hover,
body .header:not(.scrolled) .nav-link.active,
body .header.scrolled .nav-link,
body .header .nav-link:hover,
body .header .nav-link.active,
body .header.scrolled .nav-link:hover,
body .header.scrolled .nav-link.active {
    color: #3A261C !important;
}

body .header .nav-link::before,
body .header:not(.scrolled) .nav-link::before {
    background: #CE6D06 !important;
}

body.cafe-page .header-inner {
    display: grid !important;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    box-sizing: border-box !important;
    width: 100%;
    max-width: 1280px;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 40px !important;
    padding-right: 40px !important;
}

body.cafe-page .header-logo {
    justify-self: start;
    margin: 0 !important;
    padding: 0 !important;
}

body.cafe-page .header-actions {
    justify-self: end;
    margin: 0 !important;
    padding: 0 !important;
}

body.cafe-page .logo {
    display: inline-flex !important;
    align-items: center;
    gap: 12px;
    text-decoration: none !important;
}

body.cafe-page .logo-img {
    height: 54px !important;
    width: auto !important;
    max-width: 72px !important;
}

body.cafe-page .header .logo-img {
    height: 78px !important;
    max-width: 104px !important;
}

body.cafe-page .logo-name {
    display: block;
    max-width: 240px;
    color: #3A261C !important;
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.3;
}

[data-theme="night"] body.cafe-page .logo-name,
body.cafe-page .footer .logo-name {
    color: #F6EFE8 !important;
}

.lang-switch a {
    color: #7E7D7D !important;
}

.lang-switch a.active,
body .header:not(.scrolled) .lang-switch a.active {
    color: #FFFFFF !important;
    background: #CE6D06 !important;
    border-radius: 999px;
    padding: 2px 8px;
}

.theme-toggle {
    color: #3A261C !important;
    border-color: transparent !important;
    background: transparent !important;
}

.menu-toggle {
    width: 42px !important;
    height: 42px !important;
    border-radius: 6px !important;
    background: #CE6D06 !important;
    border: 0 !important;
    display: none !important;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4px;
}

.menu-toggle span {
    background: #FFFFFF !important;
    width: 16px !important;
    height: 2px !important;
}

/* Hero — one photo at a time, white type, pill button */
.hero.hero--banner {
    position: relative !important;
    overflow: hidden !important;
    background: #2A241C !important;
    height: clamp(520px, 72vh, 760px) !important;
    min-height: 520px !important;
    padding-top: 0 !important;
}

.hero.hero--banner .hero-slider {
    position: relative !important;
    height: 100% !important;
    min-height: 100% !important;
    background: #2A241C !important;
}

.hero.hero--banner .hero-slide {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    overflow: hidden !important;
    background: #2A241C !important;
}

.hero.hero--banner .hero-img {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center 40% !important;
    filter: sepia(0.45) saturate(0.55) contrast(1.05) !important;
}

.hero.hero--banner .hero-decor,
.hero.hero--banner .hero-scroll,
.hero.hero--banner .orb,
.hero.hero--banner .hero-grid-pattern {
    display: none !important;
}

.hero.hero--banner,
.hero.hero--banner .hero-bg,
.hero.hero--banner .hero-slide:not(.has-image) .hero-bg,
.hero.hero--banner .hero-slide:nth-child(2):not(.has-image) .hero-bg,
.hero.hero--banner .hero-slide:nth-child(3):not(.has-image) .hero-bg {
    background: #3A261C !important;
}

.hero.hero--banner .hero-overlay,
.hero.hero--banner .hero-slide:nth-child(2) .hero-overlay,
.hero.hero--banner .hero-slide:nth-child(3) .hero-overlay,
[data-theme="night"] .hero.hero--banner .hero-overlay,
[data-theme="day"] .hero.hero--banner .hero-overlay {
    background: linear-gradient(90deg, rgba(28, 18, 12, 0.62) 0%, rgba(28, 18, 12, 0.28) 55%, rgba(28, 18, 12, 0.12) 100%) !important;
}

.hero.hero--banner .hero-content {
    text-align: left !important;
    max-width: 720px !important;
    margin: 0 !important;
    padding-top: 8vh !important;
    padding-left: 40px !important;
    padding-right: 40px !important;
}

.hero.hero--banner .hero-badge,
.hero.hero--banner .hero-badge::before,
.hero.hero--banner .hero-badge::after {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    color: rgba(255, 255, 255, 0.9) !important;
    letter-spacing: 0.16em !important;
    text-transform: uppercase !important;
    padding: 0 !important;
    font-size: 0.78rem !important;
}

.hero.hero--banner .hero-badge::before,
.hero.hero--banner .hero-badge::after {
    content: none !important;
    display: none !important;
}

.hero.hero--banner h1,
.hero.hero--banner .hero-content h1 {
    color: #FFFFFF !important;
    font-size: clamp(2.6rem, 5.4vw, 4.4rem) !important;
    line-height: 1.12 !important;
    max-width: 12ch;
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.45);
}

.hero.hero--banner .hero-content p {
    color: rgba(255, 255, 255, 0.9) !important;
    font-size: 1.05rem !important;
    max-width: 38rem;
}

.hero.hero--banner .btn-primary,
.btn-primary,
.contact-form button,
.contact-form .btn {
    background: #CE6D06 !important;
    color: #FFFFFF !important;
    border: 0 !important;
    border-radius: 35px !important;
    box-shadow: none !important;
    padding: 12px 36px !important;
}

.hero.hero--banner .btn-primary:hover,
.btn-primary:hover,
.contact-form button:hover {
    background: #B35E05 !important;
}

.hero.hero--banner .btn-outline {
    background: transparent !important;
    color: #FFFFFF !important;
    border: 1px solid rgba(255, 255, 255, 0.75) !important;
    border-radius: 35px !important;
    padding: 12px 28px !important;
}

.hero.hero--banner .hero-dots {
    background: rgba(42, 24, 14, 0.55) !important;
    border-color: rgba(255, 255, 255, 0.18) !important;
}

.hero.hero--banner .hero-dot {
    background: rgba(255, 255, 255, 0.45) !important;
    width: 9px !important;
    height: 9px !important;
}

.hero.hero--banner .hero-dot.active {
    background: #CE6D06 !important;
    background-image: none !important;
}

/* Sections */
.credibility,
.about-v2,
.about-v2-bg,
.why,
.process,
.tech,
.tech.tech-board,
.stats {
    background: #FFFFFF !important;
}

.services-intro,
.services-intro--compact {
    background: #FFFFFF !important;
    border: 0 !important;
    box-shadow: 0 16px 40px rgba(58, 38, 28, 0.08) !important;
    color: #3A261C !important;
}

.services-intro::before,
.services-intro::after {
    display: none !important;
}

.services-intro-text h3 {
    color: #3A261C !important;
}

.stats-grid,
.hero.hero--banner + .stats .stats-grid {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

.stat-num {
    background: none !important;
    -webkit-text-fill-color: #CE6D06 !important;
    color: #CE6D06 !important;
}

.stat-item,
.stat-item:hover {
    background: transparent !important;
    color: #3A261C !important;
}

.lux-card,
.cred-card,
.about-duo-card,
.about-value,
.service-card,
.process-step,
.why-card,
.contact-item,
.portfolio-card,
.contact-form {
    background: #FFFFFF !important;
    border: 0 !important;
    border-radius: 18px !important;
    box-shadow: 0 16px 40px rgba(58, 38, 28, 0.08) !important;
}

.about-feature,
[data-theme="day"] .about-feature,
[data-theme="night"] .about-feature {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
}

.about-feature-copy h2,
.about-feature .about-brand,
.about-feature-copy h2 span {
    color: #3A261C !important;
    background: none !important;
    -webkit-text-fill-color: #3A261C !important;
}

.about-feature .about-legal,
.about-feature .about-lead,
.about-feature-copy .section-tag {
    color: #666666 !important;
    -webkit-text-fill-color: #666666 !important;
}

.about-feature-media,
.about-feature-media img {
    border: 0 !important;
    opacity: 1 !important;
    filter: none !important;
    border-radius: 22px !important;
}

.about-feature-media::before,
.about-feature-media::after {
    display: none !important;
}

.about-duo-icon,
.service-icon,
.why-icon,
.cred-icon,
.process-num {
    background: rgba(206, 109, 6, 0.1) !important;
    color: #CE6D06 !important;
    border: 0 !important;
}

.tab-btn.active {
    background: #CE6D06 !important;
    color: #FFFFFF !important;
    border-color: #CE6D06 !important;
    border-radius: 35px !important;
}

.tab-btn:not(.active) {
    color: #3A261C !important;
    background: #FFFFFF !important;
    border-color: #ECEAE6 !important;
    border-radius: 35px !important;
}

.tech-badge,
.trust-tags span,
.services-intro-tags span,
.about-mix-item {
    background: #FFFFFF !important;
    color: #3A261C !important;
    border: 1px solid #ECEAE6 !important;
    border-radius: 999px !important;
}

.about-mix-item.primary {
    background: #CE6D06 !important;
    color: #FFFFFF !important;
    border-color: #CE6D06 !important;
}

.cta {
    background: #3A261C !important;
}

.cta h2,
.cta p {
    color: #FFFFFF !important;
}

.cta .btn-primary {
    background: #CE6D06 !important;
    color: #FFFFFF !important;
}

.footer {
    background: #3A261C !important;
    color: rgba(255, 255, 255, 0.82) !important;
}

.footer h4,
.footer .logo-text,
.footer p,
.footer a {
    color: rgba(255, 255, 255, 0.86) !important;
}

.footer a:hover {
    color: #E39A45 !important;
}

.form-group input,
.form-group textarea {
    background: #FFFFFF !important;
    border: 1px solid #E6E2DC !important;
    border-radius: 12px !important;
    color: #3A261C !important;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #CE6D06 !important;
    box-shadow: 0 0 0 3px rgba(206, 109, 6, 0.16) !important;
}

.tech.tech-board {
    padding: clamp(72px, 9vw, 110px) 0 !important;
}

.tech-board-head h2 span {
    color: #CE6D06 !important;
}

.tech-board-head p {
    max-width: 36rem;
    margin: 0 0 28px;
}

.tech-board-row {
    display: grid;
    grid-template-columns: minmax(180px, 240px) 1fr;
    gap: 24px 40px;
    align-items: center;
    padding: 28px 0;
    border-top: 1px solid #ECEAE6;
}

.tech-board-row h3 {
    margin: 0;
    font-family: "IBM Plex Sans Thai", sans-serif !important;
    font-size: 0.78rem;
    font-weight: 600 !important;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #7E7D7D !important;
}

.tech-board-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 18px 28px;
}

.tech-logo {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
}

.tech-logo img {
    height: 36px;
    width: auto;
    max-width: 132px;
    object-fit: contain;
}

[data-theme="night"] body {
    background: #1A120E !important;
    color: #E8D9CC !important;
}

[data-theme="night"] h1,
[data-theme="night"] h2,
[data-theme="night"] h3,
[data-theme="night"] h4,
[data-theme="night"] .about-brand {
    color: #F6EFE8 !important;
}

@media (max-width: 760px) {
    .tech-board-row {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .tech-board-logos {
        justify-content: flex-start;
    }

    .hero.hero--banner h1,
    .hero.hero--banner .hero-content h1 {
        max-width: none;
    }
}

@media (max-width: 768px) {
    .hero.hero--banner .hero-overlay {
        background: linear-gradient(180deg, rgba(28, 18, 12, 0.55), rgba(28, 18, 12, 0.35)) !important;
    }
}

/* Kill leftover enterprise blue (#2563EB / #BFDBFE / #DBEAFE / #EFF6FF). */
.services .service-card,
.why .why-card,
.process .process-step,
.contact .contact-item,
.portfolio .portfolio-card,
.about-values,
.about-value,
.about-duo-card,
.service-tabs,
.services-intro,
.services-intro--compact {
    background: #FFFFFF !important;
    border: 1px solid #ECEAE6 !important;
    border-left: 1px solid #ECEAE6 !important;
    box-shadow: 0 16px 40px rgba(58, 38, 28, 0.06) !important;
}

.services,
.why,
.process,
.about-v2,
.about-v2-bg,
.trust-strip,
.tech,
.credibility,
.contact,
.portfolio {
    background: #F7F5F2 !important;
}

.credibility,
.about-v2,
.why,
.process,
.tech,
.tech.tech-board {
    background: #FFFFFF !important;
}

body .about-feature .about-mix-item,
body .about-feature .about-mix-item.primary {
    background: #FFFFFF !important;
    border: 1px solid #ECEAE6 !important;
    color: #3A261C !important;
}

body .about-feature .about-mix-item.primary {
    background: #CE6D06 !important;
    border-color: #CE6D06 !important;
    color: #FFFFFF !important;
}

.about-duo-num,
.service-link,
.about-value-icon,
.why-icon,
.cred-icon,
.service-icon,
.about-duo-icon,
.process-num {
    color: #CE6D06 !important;
}

.about-value-icon,
.why-icon,
.cred-icon,
.service-icon,
.about-duo-icon,
.process-num {
    background: rgba(206, 109, 6, 0.12) !important;
    border: 0 !important;
}

.about-value-icon svg,
.why-icon svg,
.cred-icon svg,
.service-icon svg,
.about-duo-icon svg,
.process-num svg,
.service-card svg {
    color: #CE6D06 !important;
    stroke: #CE6D06 !important;
}

.service-card:hover,
.why-card:hover,
.process-step:hover,
.about-duo-card:hover,
.about-value:hover,
.portfolio-card:hover,
.contact-item:hover {
    border-color: #E39A45 !important;
}

.about-duo-card::before {
    background: #CE6D06 !important;
}

.tab-btn.active,
.services .tab-btn.active {
    background: #CE6D06 !important;
    color: #FFFFFF !important;
    box-shadow: none !important;
}

.tab-btn:not(.active):hover {
    background: rgba(206, 109, 6, 0.08) !important;
    color: #3A261C !important;
}

.mock-block,
.mock-block.short {
    background: #F3E6D4 !important;
}

.trust-strip .trust-tags span,
.trust-strip .trust-tags span:hover {
    background: #FFFFFF !important;
    color: #3A261C !important;
    border: 1px solid #ECEAE6 !important;
}

/* Beat the old blue hero overlays (nth-child rules are more specific). */
.hero.hero--banner .hero-overlay,
.hero.hero--banner .hero-slide:nth-child(1) .hero-overlay,
.hero.hero--banner .hero-slide:nth-child(2) .hero-overlay,
.hero.hero--banner .hero-slide:nth-child(3) .hero-overlay,
.hero.hero--banner .hero-slide.has-image .hero-overlay {
    background: linear-gradient(105deg, rgba(28, 16, 10, 0.38) 0%, rgba(28, 16, 10, 0.08) 46%, rgba(28, 16, 10, 0) 72%) !important;
}

.hero.hero--banner .hero-slide:not(.has-image) .hero-bg,
.hero.hero--banner .hero-slide:nth-child(2):not(.has-image) .hero-bg,
.hero.hero--banner .hero-slide:nth-child(3):not(.has-image) .hero-bg {
    background: #3A261C !important;
}

.hero.hero--banner .hero-grid-pattern,
.hero.hero--banner .orb,
.hero.hero--banner .hero-decor {
    display: none !important;
}

.hero.hero--banner + .stats,
body .hero.hero--banner + .stats {
    background: #FFFFFF !important;
    background-image: none !important;
}

body .header.scrolled .nav-link,
body .header.scrolled .nav-link:hover,
body .header.scrolled .nav-link.active,
body .header:not(.scrolled) .nav-link,
body .header:not(.scrolled) .nav-link:hover,
body .header:not(.scrolled) .nav-link.active {
    color: #3A261C !important;
}

@media (max-width: 768px) {
    .hero.hero--banner .hero-overlay,
    .hero.hero--banner .hero-slide:nth-child(2) .hero-overlay,
    .hero.hero--banner .hero-slide:nth-child(3) .hero-overlay {
        background: linear-gradient(180deg, rgba(42, 24, 14, 0.66), rgba(42, 24, 14, 0.4)) !important;
    }
}

/* Top menu stays on the white bar. The orange button is only for a narrow screen. */
body.cafe-page .header-nav {
    display: flex !important;
    position: static !important;
    flex-direction: row !important;
    align-items: center;
    gap: clamp(12px, 1.6vw, 26px);
    min-width: 0;
    padding: 0 !important;
    background: transparent !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    opacity: 1 !important;
    transform: none !important;
}

body.cafe-page .menu-toggle {
    display: none !important;
}

@media (max-width: 768px) {
    body.cafe-page .header-inner {
        display: flex !important;
        justify-content: space-between;
    }

    body.cafe-page .header-logo {
        justify-self: start;
        margin-right: 0;
    }

    body.cafe-page .header-nav {
        display: none !important;
        position: absolute !important;
        top: calc(100% + 8px);
        right: 12px;
        left: 12px;
        flex-direction: column !important;
        align-items: flex-start;
        gap: 8px;
        padding: 16px 18px !important;
        background: #FFFFFF !important;
        border-radius: 14px !important;
        box-shadow: 0 16px 40px rgba(58, 38, 28, 0.14) !important;
        z-index: 50;
    }

    body.cafe-page .header-nav.open {
        display: flex !important;
    }

    body.cafe-page .menu-toggle {
        display: inline-flex !important;
    }
}

.cafe-kicker {
    margin: 0 0 12px;
    color: #7E7D7D !important;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.cafe-lead {
    max-width: 640px;
    margin: 12px 0 22px;
    color: #666666 !important;
    font-size: 1.05rem;
    line-height: 1.7;
}

.cafe-who,
.cafe-bottom {
    background: #FFFFFF !important;
    padding: 88px 0 36px;
}

.cafe-bottom-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto auto auto;
    column-gap: 72px;
    row-gap: 18px;
    align-items: start;
}

.cafe-bottom-col {
    display: grid;
    grid-template-rows: subgrid;
    grid-row: 1 / -1;
    align-items: start;
}

.cafe-bottom .cafe-kicker,
.cafe-bottom h2,
.cafe-bottom .cafe-lead,
.cafe-bottom .cafe-metrics,
.cafe-bottom .cafe-split-items {
    margin: 0 !important;
}

.cafe-bottom .cafe-metrics {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 22px 28px;
}

.cafe-bottom h2 {
    max-width: none;
    min-height: 0;
}

.cafe-who h2,
.cafe-bottom h2,
.cafe-products h2,
.cafe-split h2,
.cafe-gallery h2 {
    color: #3A261C !important;
    font-size: clamp(2.1rem, 4vw, 3.1rem) !important;
    line-height: 1.15 !important;
}

.cafe-who h2 {
    max-width: 14ch;
}

.cafe-metrics {
    display: flex;
    flex-wrap: wrap;
    gap: 28px 40px;
    margin-top: 28px;
}

.cafe-metrics strong {
    display: block;
    color: #CE6D06;
    font-size: 1.8rem;
    line-height: 1;
}

.cafe-metrics span {
    color: #666666;
    font-size: 0.92rem;
}

.cafe-photo-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin-top: 56px;
}

.cafe-photo-row img {
    width: 100%;
    height: 360px;
    object-fit: cover;
    border-radius: 24px;
    display: block;
}

.cafe-products {
    background: #F7F5F2 !important;
    padding: 88px 0 !important;
    text-align: center;
}

.cafe-products .cafe-lead {
    margin-left: auto;
    margin-right: auto;
}

.cafe-products .service-tabs {
    display: flex !important;
    justify-content: center;
    gap: 10px;
    margin: 8px auto 32px;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
}

.cafe-products .services-grid,
.cafe-products .services-grid--enterprise,
.cafe-products .services-grid--compact {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 22px !important;
    text-align: left;
}

.cafe-products .service-card {
    display: flex !important;
    flex-direction: column;
    padding: 0 !important;
    overflow: hidden;
    background: #FFFFFF !important;
    border: 0 !important;
    border-radius: 18px !important;
    box-shadow: 0 16px 40px rgba(58, 38, 28, 0.08) !important;
}

.cafe-card-photo img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.cafe-card-body {
    padding: 22px 22px 26px;
}

.cafe-card-body h3 {
    margin: 0 0 8px;
    color: #3A261C !important;
    font-size: 1.25rem !important;
}

.cafe-split {
    background: #FFFFFF !important;
    padding: 88px 0;
}

.cafe-split-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 48px 64px;
    align-items: start;
}

.cafe-split-items {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px 36px;
}

.cafe-split-items h3 {
    margin: 0 0 8px;
    color: #3A261C !important;
    font-size: 1.15rem !important;
}

.cafe-gallery {
    background: #FFFFFF !important;
    padding: 40px 0 88px !important;
    text-align: center;
}

.cafe-gallery .cafe-lead {
    margin-left: auto;
    margin-right: auto;
}

.cafe-gallery .portfolio-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 16px !important;
    text-align: left;
}

.cafe-gallery .portfolio-card {
    position: relative;
    background: transparent !important;
    box-shadow: none !important;
    border: 0 !important;
    padding: 0 !important;
}

.cafe-gallery .portfolio-mock {
    aspect-ratio: 1 / 1.05;
    border-radius: 16px;
    overflow: hidden;
}

.cafe-gallery .portfolio-mock img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cafe-gallery .portfolio-info {
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 12px;
    margin: 0;
    padding: 0;
    background: none;
}

.cafe-gallery .portfolio-info h3,
.cafe-gallery .portfolio-info p {
    color: #FFFFFF !important;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.45);
}

.cafe-gallery .portfolio-overlay {
    background: linear-gradient(transparent, rgba(28, 16, 10, 0.55));
}

@media (max-width: 900px) {
    .cafe-photo-row,
    .cafe-products .services-grid,
    .cafe-products .services-grid--enterprise,
    .cafe-products .services-grid--compact,
    .cafe-gallery .portfolio-grid,
    .cafe-split-grid {
        grid-template-columns: 1fr 1fr !important;
    }

    .cafe-photo-row img {
        height: 220px;
    }
}

@media (max-width: 640px) {
    .cafe-photo-row,
    .cafe-products .services-grid,
    .cafe-split-grid,
    .cafe-bottom-grid,
    .cafe-split-items,
    .cafe-gallery .portfolio-grid {
        grid-template-columns: 1fr !important;
    }

    .cafe-bottom-grid {
        grid-template-rows: none;
        row-gap: 40px;
    }

    .cafe-bottom-col {
        display: block;
        grid-row: auto;
    }

    .cafe-bottom .cafe-lead {
        margin-bottom: 16px !important;
    }
}

/* Night is the same coffee palette, only darker. This block stays last. */
[data-theme="night"] body,
[data-theme="night"] body.cafe-page {
    background: #1A120E !important;
    color: #E8D9CC !important;
}

[data-theme="night"] body .header,
[data-theme="night"] body .header:not(.scrolled),
[data-theme="night"] body .header.scrolled,
[data-theme="night"] .cafe-who,
[data-theme="night"] .cafe-bottom,
[data-theme="night"] .cafe-split,
[data-theme="night"] .cafe-gallery,
[data-theme="night"] .why,
[data-theme="night"] .tech,
[data-theme="night"] .tech.tech-board,
[data-theme="night"] .contact,
[data-theme="night"] .footer,
[data-theme="night"] footer {
    background: #1A120E !important;
    background-image: none !important;
    color: #E8D9CC !important;
    border-color: #3A2A22 !important;
}

[data-theme="night"] .cafe-products,
[data-theme="night"] .services,
[data-theme="night"] .credibility,
[data-theme="night"] .about-v2,
[data-theme="night"] .process,
[data-theme="night"] .trust-strip {
    background: #241812 !important;
    background-image: none !important;
}

[data-theme="night"] .cafe-products .service-card,
[data-theme="night"] .service-card,
[data-theme="night"] .why-card,
[data-theme="night"] .process-step,
[data-theme="night"] .contact-form,
[data-theme="night"] .contact-item,
[data-theme="night"] .cred-card,
[data-theme="night"] .about-value,
[data-theme="night"] .about-duo-card,
[data-theme="night"] body.cafe-page .header-nav.open {
    background: #2C1F18 !important;
    border-color: #4A382C !important;
    box-shadow: none !important;
    color: #E8D9CC !important;
}

[data-theme="night"] h1,
[data-theme="night"] h2,
[data-theme="night"] h3,
[data-theme="night"] h4,
[data-theme="night"] .cafe-who h2,
[data-theme="night"] .cafe-products h2,
[data-theme="night"] .cafe-split h2,
[data-theme="night"] .cafe-gallery h2,
[data-theme="night"] .cafe-card-body h3,
[data-theme="night"] .cafe-split-items h3,
[data-theme="night"] body .header .nav-link,
[data-theme="night"] body .header:not(.scrolled) .nav-link,
[data-theme="night"] body .header.scrolled .nav-link,
[data-theme="night"] body .header .nav-link:hover,
[data-theme="night"] body .header .nav-link.active {
    color: #F6EFE8 !important;
}

[data-theme="night"] p,
[data-theme="night"] .cafe-lead,
[data-theme="night"] .cafe-kicker,
[data-theme="night"] .cafe-metrics span,
[data-theme="night"] .section-header p,
[data-theme="night"] .lang-switch a {
    color: #C4B2A4 !important;
}

[data-theme="night"] .lang-switch a.active {
    color: #FFFFFF !important;
    background: #CE6D06 !important;
}

[data-theme="night"] body .header .theme-toggle,
[data-theme="night"] body .header .lang-switch,
[data-theme="night"] body .header:not(.scrolled) .lang-switch,
[data-theme="night"] body .header.scrolled .lang-switch {
    background: #2C1F18 !important;
    border: 1px solid #4A382C !important;
    color: #F6EFE8 !important;
    box-shadow: none !important;
}

[data-theme="night"] .theme-toggle {
    color: #F6EFE8 !important;
}

[data-theme="night"] .tab-btn:not(.active),
[data-theme="night"] .tab-btn:not(.active):hover {
    background: transparent !important;
    color: #E8D9CC !important;
    border-color: #4A382C !important;
}

[data-theme="night"] .form-group input,
[data-theme="night"] .form-group textarea,
[data-theme="night"] .contact-form input,
[data-theme="night"] .contact-form textarea {
    background: #2C1F18 !important;
    color: #F6EFE8 !important;
    border: 1px solid #4A382C !important;
}

[data-theme="night"] .footer a,
[data-theme="night"] footer a,
[data-theme="night"] .footer p,
[data-theme="night"] footer p,
[data-theme="night"] .footer h4,
[data-theme="night"] footer h4 {
    color: #E8D9CC !important;
}
