/* Tenant public-website themes. Palette/fonts come from CSS variables emitted per theme
   (see Libraries\SiteThemes::cssVars): --primary --accent --accent2 --primary-soft --surface
   --text --text-muted --sidebar-bg(dark) --font-heading --font-body. */

body[class*="theme-"] { background: var(--surface); color: var(--text); font-family: var(--font-body); }
body[class*="theme-"] h1, body[class*="theme-"] h2, body[class*="theme-"] h3,
body[class*="theme-"] h4, body[class*="theme-"] h5, body[class*="theme-"] h6 { font-family: var(--font-heading); color: var(--text); }
body[class*="theme-"] a:not(.btn):not(.nav-link):not(.brand) { color: var(--accent); }
.btn-dark, .btn-dark:hover { color: #fff; }
.btn-outline-dark { color: #111827; }
.btn-outline-dark:hover { color: #fff; }
.btn-outline-light:hover { color: #111827; }
.text-muted { color: var(--text-muted) !important; }

.btn-accent { background: var(--accent); border-color: var(--accent); color: #fff; font-weight: 600; }
.btn-accent:hover, .btn-accent:focus { background: var(--accent); border-color: var(--accent); color: #fff; filter: brightness(.92); }
.btn-outline-primary { color: var(--primary); border-color: var(--primary); }
.btn-outline-primary:hover { background: var(--primary); border-color: var(--primary); color: #fff; }
.btn-pill { border-radius: 999px; padding-left: 1.7rem; padding-right: 1.7rem; }
.grad-text { background: linear-gradient(90deg, var(--accent), var(--accent2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); margin-right: .5rem; }

.site-section { padding: 4.5rem 0; }
.alt-bg { background: var(--primary-soft); }
.sec-head { margin-bottom: 2.5rem; }
.sec-head h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 800; }
.sec-sub { color: var(--text-muted); max-width: 640px; margin: .5rem auto 0; }
.eyebrow-pill { display: inline-block; background: var(--primary-soft); color: var(--accent); font-size: .72rem; font-weight: 700; letter-spacing: .08em; padding: .4rem .85rem; border-radius: 999px; margin-bottom: 1rem; }
.hero { background: var(--primary-soft); padding: 4rem 0 3rem; }
.hero h1 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; }
.hero .lead { color: var(--text-muted); }

/* ---------- Top bars ---------- */
.topbar-ticker { background: #0b0b0f; color: #fff; overflow: hidden; white-space: nowrap; padding: .7rem 0; font-size: .72rem; font-weight: 700; letter-spacing: .04em; }
.ticker-track { display: inline-flex; gap: 3rem; animation: ticker 40s linear infinite; padding-left: 3rem; }
.ticker-track span { display: inline-flex; align-items: center; }
.topbar-ticker .dot { margin-right: .5rem; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.topbar-info { background: var(--sidebar-bg); color: rgba(255,255,255,.8); padding: .45rem 0; }
.topbar-announce { background: var(--accent); color: #fff; padding: .5rem 1rem; font-weight: 600; font-size: .9rem; }
.topbar-announce a { color: #fff; text-decoration: underline; }
.topbar-promo { background: var(--accent); color: #fff; padding: .5rem 1rem; font-weight: 600; font-size: .85rem; letter-spacing: .03em; }

/* ---------- Navigation ---------- */
.site-nav { position: sticky; top: 0; z-index: 30; background: #fff; border-bottom: 1px solid var(--border); padding: .85rem 0; }
.site-nav .brand { display: flex; align-items: center; gap: .6rem; font-weight: 700; color: var(--text); font-family: var(--font-heading); }
.site-nav .brand:hover { color: var(--text); }
.site-nav .brand .mark { width: 36px; height: 36px; border-radius: 10px; background: var(--primary); color: #fff; display: flex; align-items: center; justify-content: center; }
.brand-logo { height: 36px; border-radius: 50%; }
.site-nav .nav-link { color: var(--text-muted); font-weight: 600; font-size: .92rem; padding: .35rem 0; border-bottom: 2px solid transparent; }
.site-nav .nav-link:hover, .site-nav .nav-link.active { color: var(--text); }
.nav-login { color: var(--text-muted); }
@media (max-width: 991.98px) {
  .site-nav .navbar-collapse { padding: .75rem 0; }
  .nav-actions { margin-top: .75rem; }
}
.nav-pill .nav-link.active { border-bottom-color: #10b981; }
.nav-pill .nav-cta { background: #111827; border-color: #111827; border-radius: 999px; padding: .6rem 1.4rem; }
.nav-navy { background: var(--sidebar-bg); border-bottom-color: rgba(255,255,255,.08); }
.nav-navy .brand, .nav-navy .brand:hover, .nav-navy .nav-link:hover, .nav-navy .nav-link.active { color: #fff; }
.nav-navy .nav-link, .nav-navy .nav-login { color: rgba(255,255,255,.72); }
.nav-navy .nav-link.active { border-bottom-color: var(--accent); }
.nav-navy .navbar-toggler i { color: #fff; }
.nav-clean .nav-link.active { border-bottom-color: var(--accent); }
.nav-playful .nav-link { padding: .4rem .9rem; border-radius: 999px; border-bottom: 0; }
.nav-playful .nav-link:hover, .nav-playful .nav-link.active { background: var(--primary-soft); color: var(--primary); }
.nav-playful .nav-cta { border-radius: 999px; }
.nav-centered .container { flex-direction: column; gap: .5rem; }
.nav-centered .navbar-brand { margin: 0 auto; font-size: 1.6rem; }
.nav-centered .navbar-collapse { justify-content: center; width: 100%; }
.nav-centered .nav-link { text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; }
.nav-centered .nav-link.active { border-bottom-color: var(--accent); }
.nav-centered .nav-cta { border-radius: 0; text-transform: uppercase; letter-spacing: .1em; font-size: .78rem; }
.nav-dark { background: rgba(31,19,10,.96); border-bottom-color: rgba(255,255,255,.08); backdrop-filter: blur(8px); }
.nav-dark .brand, .nav-dark .brand:hover, .nav-dark .nav-link:hover, .nav-dark .nav-link.active { color: #fff; }
.nav-dark .nav-link, .nav-dark .nav-login { color: rgba(255,255,255,.7); }
.nav-dark .nav-link.active { border-bottom-color: var(--accent); }
.nav-dark .navbar-toggler i { color: #fff; }
.nav-shop .brand { font-size: 1.25rem; font-weight: 800; }
.nav-shop .nav-link { font-weight: 700; }
.nav-shop .nav-link.active { color: var(--accent); border-bottom-color: var(--accent); }
.nav-shop .nav-cta { border-radius: 999px; }

/* ---------- Lead form ---------- */
.lead-form-card { background: #fff; border: 1px solid var(--border); border-radius: 18px; padding: 1.6rem; box-shadow: 0 18px 40px rgba(15, 23, 42, .12); color: var(--text); }
.lead-form-card h4 { font-weight: 800; }
.lead-form-inline { color: var(--text); }
.lead-form .form-control, .lead-form .form-select { border-radius: 10px; padding: .65rem .85rem; }

/* ---------- Stats ---------- */
.stats-inline .stat-num { font-size: 1.9rem; font-weight: 800; }
.stats-inline .stat-num-0 { color: var(--accent); }
.stats-inline .stat-num-1 { color: #16a34a; }
.stats-inline .stat-num-2 { color: var(--accent2); }
.stats-band { padding: 2.25rem 0; background: var(--sidebar-bg); color: #fff; }
.stats-band .stat-big { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 800; font-family: var(--font-heading); }
.stats-band .stat-lab { opacity: .7; font-size: .9rem; }
.stats-gold .stat-big { color: var(--accent); }
.stats-accent { background: var(--accent); }
.stats-accent .stat-lab { opacity: .9; }

/* ---------- Services ---------- */
.svc-pastel { border-radius: 22px; padding: 1.75rem; height: 100%; box-shadow: 0 6px 18px rgba(15,23,42,.06); }
.svc-pastel h5 { font-weight: 700; margin-bottom: .5rem; }
.svc-pastel p { color: var(--text-muted); font-size: .95rem; }
.svc-ico { width: 54px; height: 54px; background: #fff; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 1.35rem; margin-bottom: 1.25rem; }
.svc-more { font-weight: 600; font-size: .88rem; color: var(--text) !important; border-bottom: 2px solid; padding-bottom: 1px; }
.svc-card { padding: 1.6rem; border-radius: 16px; transition: transform .15s, box-shadow .15s; }
.svc-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.svc-ico-sm { width: 46px; height: 46px; border-radius: 12px; background: var(--primary-soft); color: var(--accent); display: flex; align-items: center; justify-content: center; font-size: 1.2rem; margin-bottom: 1rem; }
.svc-icon-box { background: #fff; border: 1px solid var(--border); border-top: 3px solid var(--accent); border-radius: 12px; padding: 1.6rem; height: 100%; }
.svc-icon-box > i { font-size: 1.8rem; color: var(--accent); }
.svc-icon-box h5 { margin: .75rem 0 .4rem; font-weight: 700; }
.svc-icon-box p { color: var(--text-muted); margin: 0; font-size: .95rem; }
.svc-tile { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .75rem; padding: 2rem 1rem; border-radius: 18px; background: color-mix(in srgb, var(--tile) 12%, #fff); color: var(--text) !important; font-weight: 700; text-align: center; transition: transform .15s; height: 100%; }
.svc-tile:hover { transform: translateY(-4px); }
.svc-tile i { font-size: 2.2rem; color: var(--tile); }
.menu-item { margin-bottom: 1.6rem; }
.menu-line { display: flex; align-items: baseline; gap: .6rem; }
.menu-title { font-family: var(--font-heading); font-size: 1.35rem; font-weight: 600; }
.menu-dots { flex: 1; border-bottom: 1px dotted var(--text-muted); opacity: .5; transform: translateY(-4px); }
.menu-sum { color: var(--text-muted); margin: .15rem 0 0; }
.g-x-5 { --bs-gutter-x: 4rem; }
.row-list { max-width: 900px; margin: 0 auto; }
.row-item { display: flex; align-items: center; gap: 1.5rem; padding: 1.3rem .25rem; border-bottom: 1px solid var(--border); color: var(--text) !important; }
.row-item:hover { background: var(--primary-soft); }
.row-num { font-family: var(--font-heading); font-size: 1.7rem; color: var(--accent); min-width: 2.5rem; }
.row-body { flex: 1; display: flex; flex-direction: column; }
.row-body small { color: var(--text-muted); font-size: .92rem; }

/* ---------- Portfolio / team / testimonials / faq ---------- */
.port-card { border-radius: 16px; }
.port-media { position: relative; height: 190px; background: var(--primary-soft); overflow: hidden; }
.port-media img, .gal-tile img { width: 100%; height: 100%; object-fit: cover; }
.gal-ph { display: flex; align-items: center; justify-content: center; height: 100%; font-size: 2.2rem; color: var(--accent); background: var(--primary-soft); }
.port-badge { position: absolute; top: 12px; left: 12px; background: var(--accent); color: #fff; padding: .2rem .65rem; border-radius: 6px; font-size: .75rem; font-weight: 700; }
.gal-tile { position: relative; border-radius: 14px; overflow: hidden; background: var(--primary-soft); }
.gal-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: .8rem 1rem; color: #fff; font-weight: 600; background: linear-gradient(transparent, rgba(0,0,0,.65)); }
.team-photo { width: 100px; height: 100px; border-radius: 50%; object-fit: cover; }
.team-ph { display: inline-flex; align-items: center; justify-content: center; background: var(--primary); color: #fff; font-size: 2rem; font-weight: 700; }
.t-card { border-radius: 16px; }
.t-stars { color: #f59e0b; }
.t-avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--primary-soft); color: var(--accent); display: flex; align-items: center; justify-content: center; font-weight: 700; }
.sec-testimonials-quote .t-quote { font-family: var(--font-heading); font-size: 1.3rem; font-style: italic; }
.faq-item { border: 1px solid var(--border) !important; border-radius: 12px !important; overflow: hidden; }
.faq-item .accordion-button:not(.collapsed) { color: var(--accent); background: var(--primary-soft); box-shadow: none; }

/* ---------- Heroes ---------- */
.hero-agency { padding: 4.5rem 0 5rem; background: radial-gradient(circle at 90% 10%, #e0f2fe 0, transparent 40%), var(--surface); }
.hero-agency h1 { font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 800; line-height: 1.08; letter-spacing: -.03em; }
.hero-agency .lead { color: var(--text-muted); max-width: 560px; }
.hero-agency .eyebrow-pill { background: #e6f7f3; color: #0f766e; }
.mock-window { position: relative; background: #fff; border-radius: 18px; box-shadow: 0 30px 60px rgba(15,23,42,.14); transform: rotate(4deg); padding: 1rem 1.2rem 1.6rem; }
.mock-bar { display: flex; gap: 6px; margin-bottom: 1rem; }
.mock-bar i { width: 10px; height: 10px; border-radius: 50%; background: #cbd5e1; }
.mock-line { display: block; height: 10px; border-radius: 6px; background: #e2e8f0; margin: .55rem 0; }
.w40 { width: 40%; } .w50 { width: 50%; } .w60 { width: 60%; } .w80 { width: 80%; }
.mock-hero { height: 110px; border-radius: 10px; background: linear-gradient(135deg, #dbeafe, #dcfce7); margin: 1rem 0; }
.mock-chip { position: absolute; left: -36px; bottom: -18px; background: #fff; border-radius: 999px; padding: .55rem 1rem; font-weight: 700; font-size: .85rem; box-shadow: 0 10px 24px rgba(15,23,42,.15); }
.mock-chip .dot { background: #16a34a; }

.hero-realestate { background: linear-gradient(135deg, var(--sidebar-bg) 0%, var(--primary) 100%); color: #fff; padding: 6rem 0 5rem; }
.hero-realestate h1 { color: #fff !important; font-size: clamp(2.3rem, 5vw, 3.8rem); font-weight: 700; max-width: 780px; line-height: 1.12; }
.hero-realestate .lead { color: rgba(255,255,255,.8); max-width: 620px; }
.eyebrow-gold { display: inline-block; color: var(--accent); letter-spacing: .22em; text-transform: uppercase; font-size: .78rem; font-weight: 700; margin-bottom: 1rem; }
.search-bar { background: #fff; border-radius: 16px; padding: 1.1rem; margin-top: 2.25rem; max-width: 980px; box-shadow: 0 24px 50px rgba(0,0,0,.28); }
.cta-band { background: var(--sidebar-bg); color: #fff; padding: 3rem 0; }
.cta-band h3 { color: #fff !important; }

.hero-healthcare { background: linear-gradient(180deg, var(--primary-soft) 0%, #fff 100%); padding: 4.5rem 0 4rem; }
.hero-healthcare h1 { font-size: clamp(2.2rem, 4.5vw, 3.4rem); font-weight: 800; line-height: 1.12; }
.hero-healthcare .lead { color: var(--text-muted); }
.eyebrow-soft { display: inline-block; background: #fff; color: var(--accent); padding: .4rem .95rem; border-radius: 999px; font-weight: 700; font-size: .85rem; box-shadow: var(--shadow-sm); }
.trust-chips { display: flex; flex-wrap: wrap; gap: .75rem; }
.trust-chips span { background: #fff; border: 1px solid var(--border); border-radius: 999px; padding: .4rem .9rem; font-size: .85rem; font-weight: 600; }
.trust-chips i { color: var(--accent); margin-right: .35rem; }

.hero-education { background: linear-gradient(135deg, var(--primary) 0%, #312e81 100%); padding: 4.5rem 0; }
.hero-education h1 { color: #fff !important; font-size: clamp(2.2rem, 4.5vw, 3.4rem); font-weight: 800; line-height: 1.12; }
.hero-education .lead { color: rgba(255,255,255,.82); }
.badge-orange { display: inline-block; background: var(--accent); color: #fff; padding: .4rem 1rem; border-radius: 999px; font-weight: 700; font-size: .85rem; }
.edu-points { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; margin-bottom: 0; }
.edu-points i { color: var(--accent); margin-right: .3rem; }

.hero-salon { background: radial-gradient(circle at 50% 0, #3a2a2e 0, var(--sidebar-bg) 65%); color: #fff; padding: 7rem 0; }
.hero-salon h1 { color: #fff !important; font-size: clamp(2.8rem, 6vw, 5rem); font-weight: 600; font-style: italic; }
.hero-salon .lead { color: rgba(255,255,255,.75); max-width: 640px; }
.eyebrow-rose { display: block; color: var(--accent); letter-spacing: .32em; text-transform: uppercase; font-size: .78rem; margin-bottom: 1rem; }
.hero-salon .btn-accent { border-radius: 0; letter-spacing: .12em; text-transform: uppercase; font-size: .82rem; }

.hero-restaurant { background: linear-gradient(120deg, rgba(31,19,10,.96), rgba(124,45,18,.9)), var(--sidebar-bg); padding: 5rem 0; }
.hero-restaurant h1 { color: #fff !important; font-size: clamp(2.6rem, 5.5vw, 4.4rem); font-weight: 700; line-height: 1.08; }
.hero-restaurant .lead { color: rgba(255,255,255,.78); }
.eyebrow-amber { color: #fbbf24; letter-spacing: .18em; text-transform: uppercase; font-size: .78rem; font-weight: 700; }
.hours-strip { background: var(--accent); color: #fff; padding: 1.6rem 0; }
.hours-strip i { display: block; font-size: 1.5rem; margin-bottom: .25rem; }

.hero-professional { background: var(--primary-soft); padding: 5rem 0 4.5rem; }
.hero-professional h1 { color: var(--primary) !important; font-size: clamp(2.1rem, 4vw, 3.2rem); font-weight: 700; line-height: 1.2; }
.hero-professional .lead { color: var(--text-muted); }
.eyebrow-line { display: inline-block; border-left: 3px solid var(--accent); padding-left: .75rem; text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; font-weight: 700; color: var(--accent); margin-bottom: 1rem; }
.pro-points { list-style: none; padding: 0; margin: 1.5rem 0 0; }
.pro-points li { margin-bottom: .5rem; font-weight: 600; }
.pro-points i { color: var(--accent); margin-right: .5rem; }

.hero-retail { background: linear-gradient(135deg, var(--primary-soft) 0%, #fff7ed 100%); padding: 4.5rem 0; }
.hero-retail h1 { font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 800; line-height: 1.08; letter-spacing: -.03em; }
.hero-retail .lead { color: var(--text-muted); max-width: 520px; }
.tag-sale { display: inline-block; background: var(--accent); color: #fff; padding: .3rem .8rem; border-radius: 6px; font-weight: 700; font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; }
.retail-blob { width: 320px; height: 320px; border-radius: 50%; background: linear-gradient(135deg, var(--accent), var(--accent2)); display: flex; align-items: center; justify-content: center; color: #fff; font-size: 6rem; box-shadow: 0 30px 60px rgba(225,29,72,.3); }
.news-block { background: var(--sidebar-bg); }
.news-block h2 { color: #fff !important; }

/* ---------- Footer & extras ---------- */
.site-footer { background: var(--sidebar-bg); color: rgba(255,255,255,.7); padding: 3.5rem 0 1.75rem; }
.site-footer h5, .site-footer h6, .site-footer .footer-brand { color: #fff !important; }
.site-footer a { color: rgba(255,255,255,.85) !important; }
.site-footer a:hover { color: #fff !important; }
.footer-centered .footer-brand { font-family: var(--font-heading); font-size: 1.8rem; }
.breadcrumb-bar { background: var(--primary-soft); border-bottom: 1px solid var(--border); padding: .7rem 0; }
.breadcrumb-bar .breadcrumb { margin-bottom: 0; font-size: .87rem; }
.breadcrumb-bar a { color: var(--text-muted); font-weight: 600; }
.wa-fab { position: fixed; right: 1.4rem; bottom: 1.4rem; width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff !important; display: flex; align-items: center; justify-content: center; font-size: 1.7rem; box-shadow: 0 10px 24px rgba(37,211,102,.45); z-index: 50; }
.cookie-banner { position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 60; max-width: 560px; background: #fff; border: 1px solid var(--border); border-radius: 12px; box-shadow: 0 8px 24px rgba(20,21,31,.12); padding: 1.1rem 1.25rem; display: none; color: #14151f; }
.cookie-banner.show { display: block; }
@media (min-width: 992px) { .cookie-banner { left: 1.5rem; bottom: 1.5rem; } }
