/* Global layout: header, footer, containers and shared components.
   The :root values below are fallbacks — the control panel injects the
   real palette right after this file loads. */

:root {
    --hb-gold: #c08010;
    --hb-gold-ink: #9c6108;
    --hb-gold-bright: #f2b134;
    --hb-gold-soft: #fff4dd;
    --hb-rose: #c9256a;
    --hb-rose-ink: #a81455;
    --hb-rose-soft: #ffeef4;
    --hb-lilac: #8f4fd6;
    --hb-lilac-soft: #f4edff;
    --hb-mint: #1f9d76;
    --hb-mint-soft: #e6f7f1;
    --hb-burgundy: #200000;
    --hb-cream: #fffaf0;
    --hb-ink: #2b1713;
    --hb-line: #f1e4d0;
    --hb-line-soft: #f8f0e2;
    --hb-muted: #7a6258;
    --hb-paper: #fffdf9;
    --hb-logo-height: 48px;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    background: var(--hb-cream);
    color: var(--hb-ink);
    font-family: var(--hb-font, Tahoma, Arial, sans-serif);
    font-size: var(--hb-base-size, 16px);
    line-height: 1.75;
    direction: rtl;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6 {
    line-height: 1.3;
    letter-spacing: -.01em;
}

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

a {
    color: var(--hb-gold-ink);
    text-decoration: none;
}

.hb-container {
    width: min(1180px, calc(100% - 32px));
    margin-inline: auto;
}

.hb-main {
    min-height: 60vh;
    padding: 48px 0;
}

/* Header and top bar live in header.css. */

/* Shared components */
.hb-eyebrow {
    margin: 0 0 10px;
    color: var(--hb-rose-ink);
    font-size: 14px;
    font-weight: 800;
    letter-spacing: .04em;
}

.hb-button,
.button,
button {
    border-radius: 999px !important;
}

.hb-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 28px;
    background: linear-gradient(115deg, var(--hb-gold-ink), var(--hb-rose) 60%, var(--hb-lilac));
    color: #fff !important;
    font-weight: 800;
    box-shadow: 0 14px 28px rgba(var(--hb-rose-rgb, 201, 37, 106), .24);
    transition: transform .18s ease, box-shadow .18s ease;
}

.hb-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 36px rgba(var(--hb-rose-rgb, 201, 37, 106), .3);
}

.hb-text-link {
    color: var(--hb-rose-ink);
    font-weight: 800;
}

.hb-trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 20px;
    margin-top: 32px;
    color: var(--hb-muted);
    font-size: 14px;
    font-weight: 700;
}

.hb-trust-row span::before {
    content: '✓';
    margin-inline-end: 7px;
    color: var(--hb-mint);
}

.hb-section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    margin-bottom: 24px;
}

.hb-section-heading h2 {
    margin: 0;
    color: var(--hb-burgundy);
    font-size: clamp(27px, 4vw, 42px);
}

.hb-section-heading a {
    color: var(--hb-rose-ink);
    font-weight: 800;
}

/* --------------------------------------------------------------------
 * Footer
 * ----------------------------------------------------------------- */

.hb-footer {
    position: relative;
    margin-top: 0;
    background: var(--hb-burgundy);
    color: #fff8df;
}

/* A thin band of the brand gradient where the page meets the footer. */
.hb-footer::before {
    content: '';
    position: absolute;
    inset-inline: 0;
    top: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--hb-gold), var(--hb-rose) 55%, var(--hb-lilac));
}

/* auto-fit rather than a fixed four, so the row stays balanced when a column
   has nothing to show yet and drops out. */
.hb-footer-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) repeat(auto-fit, minmax(150px, 1fr));
    gap: 40px;
    padding: 56px 0 44px;
}

/* Brand column */
.hb-footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    color: #fff8df;
    font-size: 20px;
    font-weight: 900;
}

.hb-footer-logo .hb-logo {
    height: calc(var(--hb-logo-height) * .8);
}

.hb-footer-brand p {
    max-width: 380px;
    margin: 16px 0 0;
    color: color-mix(in srgb, #fff8df 68%, transparent);
    font-size: 14.5px;
    line-height: 1.9;
}

.hb-footer-social {
    display: flex;
    gap: 10px;
    margin-top: 22px;
}

.hb-footer-social a {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 248, 223, .09);
    border: 1px solid rgba(255, 248, 223, .16);
    border-radius: 50%;
    color: #fff8df;
    transition: background-color .22s ease, transform .22s ease, border-color .22s ease;
}

.hb-footer-social a:hover {
    background: linear-gradient(135deg, var(--hb-rose), var(--hb-lilac));
    border-color: transparent;
    transform: translateY(-3px);
}

/* Link columns */
.hb-footer-col h3 {
    margin: 0 0 16px;
    color: var(--hb-gold-bright);
    font-size: 15px;
    font-weight: 800;
    letter-spacing: .02em;
}

.hb-footer-col ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.hb-footer-col li + li {
    margin-top: 11px;
}

.hb-footer-col a {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: color-mix(in srgb, #fff8df 74%, transparent);
    font-size: 14.5px;
    transition: color .2s ease, transform .2s ease;
}

.hb-footer-col a:hover {
    color: #fff8df;
    transform: translateX(-4px);
}

.hb-footer-contact .hb-icon {
    flex: 0 0 auto;
    opacity: .8;
}

.hb-footer-hours {
    display: flex;
    align-items: center;
    gap: 9px;
    color: color-mix(in srgb, #fff8df 66%, transparent);
    font-size: 14px;
}

.hb-footer-widget {
    margin-top: 22px;
}

.hb-footer-widget-title {
    margin: 0 0 10px;
    color: var(--hb-gold-bright);
    font-size: 15px;
}

/* Bottom bar */
.hb-footer-bar {
    border-top: 1px solid rgba(255, 248, 223, .12);
}

.hb-footer-bar-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px 24px;
    padding: 20px 0;
}

.hb-footer-bar p {
    margin: 0;
    color: color-mix(in srgb, #fff8df 60%, transparent);
    font-size: 13px;
}

.hb-footer-note {
    display: inline-flex;
    align-items: center;
    gap: 9px;
}

.hb-footer-note .hb-icon {
    color: var(--hb-gold-bright);
}

@media (max-width: 1024px) {
    .hb-footer-inner {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 34px;
    }

    .hb-footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 600px) {
    .hb-footer-inner {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 40px 0 32px;
    }

    .hb-footer-bar-inner {
        flex-direction: column;
        align-items: flex-start;
        padding: 16px 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hb-footer-social a,
    .hb-footer-col a {
        transition-duration: .01ms !important;
    }
}

@media (max-width: 768px) {
    .hb-main {
        padding: 28px 0;
    }

    .hb-section-heading {
        align-items: start;
        flex-direction: column;
        gap: 14px;
    }
}
