/* ============================================================
   SLAtech Hospitality — Main CSS
   Colors: #D97706 (amber primary) + #F59E0B (gold)
   Retrigger: 2026-06-02 (deploy-hospitality.yml #45 failed; logo wordmark refit pending propagation)
   ============================================================ */
:root {
    --hb-primary:      #D97706;
    --hb-primary-dark: #B45309;
    --hb-gold:         #F59E0B;
    --hb-gold-light:   #FDE68A;
    --hb-dark:         #1C1917;
    --hb-text:         #292524;
    --hb-muted:        #78716C;
    --hb-border:       #E7E5E4;
    --hb-bg:           #FFFBF5;
    --hb-white:        #FFFFFF;
    --hb-light:        #FEF3C7;
    --hb-radius:       12px;
    --hb-shadow:       0 1px 3px rgba(0,0,0,.08);
    --hb-shadow-md:    0 4px 16px rgba(0,0,0,.10);
    --hb-shadow-lg:    0 8px 40px rgba(0,0,0,.14);
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--hb-text);
    background: var(--hb-bg);
}
.he-body, .he-body * {
    font-family: 'Heebo', sans-serif;
}
/* Heebo ships up to 700 - clamp 800-weighted elements in HE context */
.he-body .hb-hero h1,
.he-body .hb-plan-price,
.he-body .hb-stat-val,
.he-body .hb-cta-section h2 { font-weight: 700; }

/* ── Navbar ──────────────────────────────────────────────── */
.hb-navbar {
    background: rgba(255, 251, 245, 0.96);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--hb-border);
    padding: 14px 0;
}
.hb-brand { text-decoration: none; display: inline-flex; align-items: center; }
.hb-logo-img { height: 36px; width: auto; display: block; }
.hb-nav-link {
    color: var(--hb-text) !important;
    font-weight: 500;
    font-size: .88rem;
    padding: 8px 12px !important;
    border-radius: 8px;
    text-decoration: none;
    transition: all .2s;
    display: inline-block;
}
.hb-nav-link:hover { background: var(--hb-light); color: var(--hb-primary) !important; }
.hb-nav-cta {
    background: var(--hb-primary);
    color: #fff !important;
    padding: 9px 20px;
    border-radius: var(--hb-radius);
    font-weight: 700;
    font-size: .85rem;
    text-decoration: none;
    transition: background .2s;
    display: inline-block;
}
.hb-nav-cta:hover { background: var(--hb-primary-dark); color: #fff !important; }
.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23D97706' stroke-linecap='round' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ── Buttons ─────────────────────────────────────────────── */
.btn-hb {
    background: var(--hb-primary);
    color: #fff;
    border: none;
    padding: 12px 28px;
    border-radius: var(--hb-radius);
    font-weight: 700;
    font-size: .95rem;
    text-decoration: none;
    display: inline-block;
    transition: background .2s, transform .15s;
}
.btn-hb:hover { background: var(--hb-primary-dark); color: #fff; transform: translateY(-1px); }
.btn-hb-outline {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255,255,255,.5);
    padding: 10px 28px;
    border-radius: var(--hb-radius);
    font-weight: 600;
    font-size: .95rem;
    text-decoration: none;
    display: inline-block;
    transition: all .2s;
}
.btn-hb-outline:hover { background: rgba(255,255,255,.15); border-color: #fff; color: #fff; }
.btn-hb-outline-dark {
    background: transparent;
    color: var(--hb-primary);
    border: 2px solid var(--hb-primary);
    padding: 10px 28px;
    border-radius: var(--hb-radius);
    font-weight: 600;
    font-size: .95rem;
    text-decoration: none;
    display: inline-block;
    transition: all .2s;
}
.btn-hb-outline-dark:hover { background: var(--hb-primary); color: #fff; }

/* ── Hero ────────────────────────────────────────────────── */
.hb-hero {
    background: linear-gradient(135deg, #1C1917 0%, #292524 50%, #3B1F0A 100%);
    color: #fff;
    padding: 90px 0 70px;
    position: relative;
    overflow: hidden;
}
.hb-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 70% 60% at 20% 50%, rgba(217,119,6,.18) 0%, transparent 60%),
        radial-gradient(ellipse 50% 70% at 80% 20%, rgba(245,158,11,.12) 0%, transparent 55%);
    pointer-events: none;
}
.hb-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px);
    background-size: 48px 48px;
    pointer-events: none;
}
.hb-hero h1 {
    font-size: clamp(1.9rem, 4vw, 2.8rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}
.hb-hero .lead {
    font-size: 1.05rem;
    color: rgba(255,255,255,.72);
    line-height: 1.7;
    max-width: 540px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 1;
}
.hb-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(245,158,11,.15);
    border: 1px solid rgba(245,158,11,.3);
    color: var(--hb-gold);
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: 0;
    padding: 6px 14px;
    border-radius: 100px;
    margin-bottom: 22px;
    position: relative;
    z-index: 1;
}
.hb-badge-dot {
    width: 7px; height: 7px;
    background: var(--hb-gold);
    border-radius: 50%;
    animation: hb-pulse 2s ease-in-out infinite;
}
@keyframes hb-pulse {
    0%,100% { opacity:1; transform:scale(1); }
    50% { opacity:.4; transform:scale(.6); }
}
.hb-hero .hb-trust {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 28px;
    position: relative;
    z-index: 1;
}
.hb-trust-item {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: .82rem;
    color: rgba(255,255,255,.6);
}
.hb-trust-item .ck { color: var(--hb-gold); font-weight: 700; }

/* Mascot float */
.hero-mascot-wrap {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    margin-bottom: -16px;
    z-index: 3;
    position: relative;
    animation: mascot-float 3.5s ease-in-out infinite;
}
@keyframes mascot-float {
    0%,100% { transform: translateY(0); }
    50%      { transform: translateY(-12px); }
}

/* Chat preview widget (hero right) */
.hb-widget-preview {
    background: rgba(255,255,255,.07);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: var(--hb-radius);
    padding: 20px;
    position: relative;
    z-index: 1;
    max-width: 380px;
    margin: 0 auto;
}
.hb-chat-head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255,255,255,.1);
}
.hb-chat-avatar {
    width: 40px; height: 40px;
    background: var(--hb-primary);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}
.hb-chat-name { font-size: .88rem; font-weight: 600; color: #fff; }
.hb-chat-status { font-size: .72rem; color: #4ade80; }
.hb-chat-msgs { display: flex; flex-direction: column; gap: 8px; min-height: 180px; }
.hb-msg {
    padding: 9px 13px;
    border-radius: 10px;
    font-size: .82rem;
    line-height: 1.5;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity .4s ease, transform .4s ease;
    max-width: 85%;
}
.hb-msg.visible { opacity: 1; transform: translateY(0); }
.hb-msg-bot {
    align-self: flex-start;
    background: rgba(255,255,255,.12);
    color: rgba(255,255,255,.9);
    border-radius: 3px 10px 10px 10px;
}
.hb-msg-user {
    align-self: flex-end;
    background: var(--hb-primary);
    color: #fff;
    border-radius: 10px 10px 3px 10px;
}
.hb-typing {
    align-self: flex-start;
    background: rgba(255,255,255,.12);
    border-radius: 3px 10px 10px 10px;
    padding: 10px 14px;
    display: flex; gap: 4px; align-items: center;
}
.hb-dot {
    width: 6px; height: 6px;
    background: rgba(255,255,255,.6);
    border-radius: 50%;
    animation: hbBounce 1.2s infinite;
}
.hb-dot:nth-child(2) { animation-delay: .2s; }
.hb-dot:nth-child(3) { animation-delay: .4s; }
@keyframes hbBounce {
    0%,60%,100% { transform: translateY(0); }
    30% { transform: translateY(-6px); }
}
.hb-chat-pill {
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 8px;
    padding: 8px 14px;
    color: rgba(255,255,255,.82);
    font-size: .8rem;
    text-align: left;
    cursor: pointer;
    transition: background .2s;
    width: 100%;
    font-family: inherit;
    margin-top: 6px;
}
.hb-chat-pill:hover { background: rgba(217,119,6,.25); }
[dir="rtl"] .hb-chat-pill { text-align: right; }

/* ── Stats counter row ───────────────────────────────────── */
.hb-stats-row {
    background: rgba(255,255,255,.06);
    border-top: 1px solid rgba(255,255,255,.08);
    margin-top: 48px;
    padding: 32px 0 0;
    position: relative;
    z-index: 1;
}
.hb-stat-val {
    font-size: 2rem;
    font-weight: 800;
    color: var(--hb-gold);
    line-height: 1;
}
.hb-stat-lbl { font-size: .78rem; color: rgba(255,255,255,.5); margin-top: 4px; }

/* ── Section ─────────────────────────────────────────────── */
.hb-section { padding: 80px 0; }
.hb-section-white { background: var(--hb-white); }
.hb-section-light { background: var(--hb-light); }
.hb-section-dark  { background: var(--hb-dark); color: #fff; }
.hb-eyebrow {
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0;
    color: var(--hb-primary);
    margin-bottom: 10px;
}
.he-body .hb-eyebrow { letter-spacing: 0; }

/* ── Pain cards ──────────────────────────────────────────── */
.hb-pain {
    background: var(--hb-white);
    border: 1px solid var(--hb-border);
    border-left: 3px solid var(--hb-primary);
    border-radius: var(--hb-radius);
    padding: 28px 24px;
    height: 100%;
    transition: box-shadow .25s;
}
.hb-pain:hover { box-shadow: var(--hb-shadow-md); }
[dir="rtl"] .hb-pain { border-left: 1px solid var(--hb-border); border-right: 3px solid var(--hb-primary); }
.hb-pain-icon { font-size: 2rem; margin-bottom: 12px; }
.hb-pain h3 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.hb-pain p { font-size: .88rem; color: var(--hb-muted); line-height: 1.65; margin: 0; }

/* ── Feature cards ───────────────────────────────────────── */
.hb-feature {
    background: var(--hb-white);
    border: 1px solid var(--hb-border);
    border-radius: var(--hb-radius);
    padding: 32px 28px;
    height: 100%;
    transition: box-shadow .25s, transform .25s;
    position: relative;
    overflow: hidden;
}
.hb-feature:hover { box-shadow: var(--hb-shadow-md); transform: translateY(-3px); }
.hb-feature::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--hb-primary), var(--hb-gold));
}
.hb-feature-icon {
    width: 56px; height: 56px;
    background: var(--hb-light);
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 18px;
}
.hb-feature h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 10px; color: var(--hb-text); }
.hb-feature p { font-size: .88rem; color: var(--hb-muted); line-height: 1.65; margin: 0; }
.hb-feature-badge {
    display: inline-block;
    background: var(--hb-light);
    color: var(--hb-primary-dark);
    font-size: .7rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 100px;
    margin-top: 12px;
}

/* ── Pricing ─────────────────────────────────────────────── */
.hb-plan {
    background: var(--hb-white);
    border: 1px solid var(--hb-border);
    border-radius: var(--hb-radius);
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: box-shadow .25s;
}
.hb-plan:hover { box-shadow: var(--hb-shadow-lg); }
.hb-plan-popular { border: 2px solid var(--hb-primary); }
.hb-plan-head {
    background: linear-gradient(135deg, var(--hb-primary) 0%, var(--hb-gold) 100%);
    color: #fff;
    padding: 28px 24px;
    text-align: center;
}
.hb-plan-name { font-size: 1.1rem; font-weight: 700; }
.hb-plan-price { font-size: 2.6rem; font-weight: 800; line-height: 1; margin: 8px 0 2px; }
.hb-plan-period { font-size: .82rem; opacity: .8; }
.hb-plan-body { padding: 24px; flex-grow: 1; display: flex; flex-direction: column; }
.hb-plan-body ul { list-style: none; padding: 0; margin: 0 0 20px; flex-grow: 1; }
.hb-plan-body li { padding: 8px 0; border-bottom: 1px solid var(--hb-border); font-size: .88rem; }
.hb-plan-body li::before {
    content: '✓';
    color: var(--hb-primary);
    font-weight: 700;
    margin-right: 8px;
}
[dir="rtl"] .hb-plan-body li::before { margin-right: 0; margin-left: 8px; }

/* ── How it works steps ──────────────────────────────────── */
.hb-step { text-align: center; }
.hb-step-icon {
    width: 64px; height: 64px;
    border-radius: 50%;
    background: var(--hb-light);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.7rem;
    margin: 0 auto 16px;
    border: 2px solid var(--hb-border);
}
.hb-step h3 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.hb-step p { font-size: .84rem; color: var(--hb-muted); line-height: 1.6; margin: 0; }

/* ── QR highlight ────────────────────────────────────────── */
.hb-qr-card {
    background: linear-gradient(135deg, var(--hb-primary) 0%, var(--hb-primary-dark) 100%);
    color: #fff;
    border-radius: 20px;
    padding: 40px 32px;
    position: relative;
    overflow: hidden;
}
.hb-qr-card::after {
    content: '📱';
    position: absolute;
    right: 24px; bottom: 16px;
    font-size: 5rem;
    opacity: .15;
}
[dir="rtl"] .hb-qr-card::after { right: auto; left: 24px; }

/* ── Testimonials ────────────────────────────────────────── */
.hb-testimonial {
    background: var(--hb-white);
    border: 1px solid var(--hb-border);
    border-radius: var(--hb-radius);
    padding: 28px 24px;
    height: 100%;
}
.hb-stars { color: var(--hb-gold); font-size: 1rem; margin-bottom: 12px; }
.hb-testimonial p { font-size: .9rem; color: var(--hb-text); line-height: 1.65; margin-bottom: 14px; font-style: italic; }
.hb-testimonial-author { font-size: .82rem; font-weight: 700; color: var(--hb-muted); }

/* ── CTA section ─────────────────────────────────────────── */
.hb-cta-section {
    background: linear-gradient(135deg, var(--hb-primary) 0%, var(--hb-primary-dark) 100%);
    color: #fff;
    padding: 80px 0 120px;
    text-align: center;
}
.hb-cta-section h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 800; margin-bottom: 16px; }
.hb-cta-section p { font-size: 1.05rem; opacity: .85; margin-bottom: 32px; }

/* ── Footer ──────────────────────────────────────────────── */
.hb-footer { background: var(--hb-dark); color: rgba(255,255,255,.7); }
.hb-footer-logo { opacity: .9; filter: brightness(10); }
.hb-footer-tagline { font-size: .85rem; color: rgba(255,255,255,.45); line-height: 1.6; margin-top: 8px; }
.hb-footer-heading { font-size: .78rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: 0; color: rgba(255,255,255,.35); margin-bottom: 12px; }
.he-body .hb-footer-heading { letter-spacing: 0; }
.hb-footer-links { margin: 0; padding: 0; }
.hb-footer-links li { margin-bottom: 8px; }
.hb-footer-links a { color: rgba(255,255,255,.55); text-decoration: none; font-size: .85rem; transition: color .2s; }
.hb-footer-links a:hover { color: var(--hb-gold); }
.hb-footer-divider { border-color: rgba(255,255,255,.08); margin: 24px 0; }
.hb-footer-copy { font-size: .8rem; color: rgba(255,255,255,.4); }
.hb-footer-policy { color: rgba(255,255,255,.4); text-decoration: none; font-size: .8rem; }
.hb-footer-policy:hover { color: var(--hb-gold); }
.hb-disclaimer {
    font-size: .78rem;
    color: rgba(255,255,255,.3);
    text-align: center;
    border-top: 1px solid rgba(255,255,255,.06);
    padding-top: 12px;
}

/* ── RTL overrides (direction only — Bootstrap-RTL handles flex) ── */
.he-body .hb-chat-name,
.he-body .hb-chat-status { text-align: right; }
.he-body .hb-msg-user { align-self: flex-start; border-radius: 10px 3px 10px 10px; }
.he-body .hb-msg-bot  { align-self: flex-end;   border-radius: 10px 10px 10px 3px; }
.he-body .hb-typing   { align-self: flex-end;   border-radius: 10px 3px 10px 10px; }
[dir="rtl"] .hb-stats-row .text-center { text-align: center !important; }

/* ── Animate in ──────────────────────────────────────────── */
.animate-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .6s ease, transform .6s ease;
}
.animate-in.visible { opacity: 1; transform: translateY(0); }

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 768px) {
    .hb-hero { padding: 60px 0 40px; }
    .hb-section { padding: 56px 0; }
    .hb-cta-section { padding: 56px 0 100px; }
    .hero-mascot-wrap img { width: 80px; height: auto; }
}

/* ── Specialty card links ─────────────────────────────────────── */
.specialty-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    cursor: pointer;
    transition: transform .2s, box-shadow .2s;
}
.specialty-card-link:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(217,119,6,.15);
    color: inherit;
}

/* ── Features sticky nav ──────────────────────────────────────── */
.feat-nav {
    position: sticky;
    top: 0;
    z-index: 90;
    background: #fff;
    border-bottom: 1px solid #e5e7eb;
    padding: 0 16px;
}
.feat-nav-inner {
    display: flex;
    gap: 0;
    max-width: 900px;
    margin: 0 auto;
    overflow-x: auto;
}
.feat-nav-link {
    padding: 14px 18px;
    font-size: .85rem;
    font-weight: 500;
    color: #6b7280;
    text-decoration: none;
    white-space: nowrap;
    border-bottom: 2px solid transparent;
    transition: color .15s, border-color .15s;
}
.feat-nav-link:hover { color: #D97706; }
.feat-nav-link.active {
    color: #D97706;
    border-bottom-color: #D97706;
    font-weight: 600;
}


/* Bundle F: Back-link to products hub (dark-text variant for light navbars) */

/* HOTFIX: Heebo font-weight cap at 700 for HE rendering. */
html[lang="he"] .hb-hero h1,
html[lang="he"] .hb-stat-val,
html[lang="he"] .hb-plan-price,
html[lang="he"] .hb-cta-section h2 { font-weight: 700; }
