/* site.css - premium look of the public website (index.php).
   Loaded after css/public.css. Colours come from the system theme (Settings > Theme) through the --t-* variables
   that index.php prints, so the website always matches the colours chosen in the system. */

:root {
    --sx-brand: var(--t-brand, #8B7355);
    --sx-brand-dark: var(--t-brand-dark, #6F5C44);
    --sx-brand-soft: var(--t-brand-soft, #F3EEE7);
    --sx-gold: var(--t-gold, #D4AF37);
    --sx-ink: #1F1A15;
    --sx-text: #4B443C;
    --sx-muted: #7C7268;
    --sx-page: var(--t-page, #F8F5F2);
    --sx-band: var(--t-head-bg, #F5EEE3);
    --sx-line: rgba(31, 26, 21, .09);
    --sx-radius: 20px;
    --sx-shadow: 0 24px 60px -28px rgba(31, 26, 21, .35);
    --sx-shadow-sm: 0 10px 30px -18px rgba(31, 26, 21, .30);
    --sx-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --sx-sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    --sx-nav-h: 78px;
}

html { scroll-behavior: smooth; }
body.sx {
    font-family: var(--sx-sans);
    color: var(--sx-text);
    background: var(--sx-page);
    font-size: 16px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}
body.sx h1, body.sx h2, body.sx h3, body.sx h4 { font-family: var(--sx-serif); color: var(--sx-ink); letter-spacing: -.01em; }
body.sx .sx-hero h1, body.sx .sx-cta h2, body.sx .sx-quick h3, body.sx .dark h2, body.sx .sx-quote.dark p { color: #fff; }
body.sx a { transition: color .2s, background .2s, border-color .2s, transform .2s, box-shadow .2s; }
body.sx section[id], body.sx div[id="appointment"] { scroll-margin-top: calc(var(--sx-nav-h) - 8px); }
.sx-wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ---------- reveal on scroll ---------- */
.js .sx-reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s cubic-bezier(.2, .7, .2, 1), transform .8s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--d, 0s); }
.js .sx-reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .sx-reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* ---------- buttons ---------- */
.sx-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
    min-height: 52px; padding: .85rem 1.8rem; border-radius: 999px; border: 1.5px solid transparent;
    font-family: var(--sx-sans); font-weight: 600; font-size: .95rem; letter-spacing: .02em; text-decoration: none; cursor: pointer; line-height: 1.2;
}
.sx-btn-gold { background: var(--sx-gold); color: #1F1A15; box-shadow: 0 14px 30px -14px var(--sx-gold); }
.sx-btn-gold:hover { background: #fff; color: var(--sx-ink); transform: translateY(-2px); }
.sx-btn-brand { background: var(--sx-brand); color: #fff; box-shadow: 0 14px 30px -16px var(--sx-brand); }
.sx-btn-brand:hover { background: var(--sx-brand-dark); color: #fff; transform: translateY(-2px); }
.sx-btn-ghost { background: rgba(255, 255, 255, .06); color: #fff; border-color: rgba(255, 255, 255, .55); backdrop-filter: blur(6px); }
.sx-btn-ghost:hover { background: #fff; color: var(--sx-ink); border-color: #fff; transform: translateY(-2px); }
.sx-btn-outline { background: transparent; color: var(--sx-brand-dark); border-color: var(--sx-brand); }
.sx-btn-outline:hover { background: var(--sx-brand); color: #fff; transform: translateY(-2px); }
.sx-btn-sm { min-height: 44px; padding: .55rem 1.3rem; font-size: .88rem; }

/* ---------- navigation ---------- */
.sx-nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1030; height: var(--sx-nav-h);
    display: flex; align-items: center; transition: background .3s, box-shadow .3s, height .3s;
}
.sx-nav .sx-wrap { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.sx-brand { display: flex; align-items: center; gap: .75rem; text-decoration: none; color: #fff; }
.sx-brand img { width: 44px; height: 44px; border-radius: 50%; background: #fff; padding: 2px; object-fit: contain; box-shadow: 0 6px 18px -8px rgba(0, 0, 0, .5); }
.sx-brand span { font-family: var(--sx-serif); font-weight: 700; font-size: 1.45rem; letter-spacing: .01em; line-height: 1; color: inherit; }
.sx-menu { display: flex; align-items: center; gap: .25rem; list-style: none; margin: 0; padding: 0; }
.sx-menu a.sx-link { position: relative; display: block; padding: .6rem .95rem; color: rgba(255, 255, 255, .9); text-decoration: none; font-weight: 500; font-size: .93rem; letter-spacing: .02em; }
.sx-menu a.sx-link::after { content: ''; position: absolute; left: .95rem; right: .95rem; bottom: .3rem; height: 2px; background: var(--sx-gold); transform: scaleX(0); transform-origin: left; transition: transform .3s; }
.sx-menu a.sx-link:hover { color: #fff; }
.sx-menu a.sx-link:hover::after { transform: scaleX(1); }
.sx-nav-actions { display: flex; align-items: center; gap: .6rem; }
.sx-staff { color: rgba(255, 255, 255, .8); font-size: .85rem; text-decoration: none; padding: .4rem .6rem; }
.sx-staff:hover { color: #fff; }
.sx-burger { display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .45); background: rgba(255, 255, 255, .08); color: #fff; align-items: center; justify-content: center; font-size: 1.15rem; }
.sx-nav.scrolled { background: rgba(255, 255, 255, .94); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); box-shadow: 0 8px 30px -18px rgba(31, 26, 21, .5); --sx-nav-h: 68px; height: 68px; }
.sx-nav.scrolled .sx-brand, .sx-nav.scrolled .sx-menu a.sx-link, .sx-nav.scrolled .sx-staff { color: var(--sx-ink); }
.sx-nav.scrolled .sx-burger { color: var(--sx-ink); border-color: var(--sx-line); background: #fff; }
@media (max-width: 991.98px) {
    .sx-menu, .sx-nav-actions .sx-staff, .sx-nav-actions .sx-btn { display: none; }
    .sx-burger { display: inline-flex; width: 44px; border: 0 !important; background: transparent !important; box-shadow: none; font-size: 1.5rem; }
    .sx-brand span { font-size: 1.25rem; }
}

/* slide-in menu (phones + tablets) */
#siteMenu.site-menu { border: 0; background: #fff; }
#siteMenu .site-menu-header { background: var(--sx-ink) !important; border-bottom: 3px solid var(--sx-gold) !important; }
#siteMenu .nav-label { color: var(--sx-brand) !important; }
#siteMenu .nav-link:hover, #siteMenu .nav-link:focus-visible { background: var(--sx-brand-soft) !important; box-shadow: inset 4px 0 0 var(--sx-gold) !important; }
#siteMenu .site-menu-cta { background: var(--sx-brand) !important; color: #fff !important; }

/* ---------- hero ---------- */
.sx-hero {
    position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; color: #fff; overflow: hidden;
    background-size: cover; background-position: center; background-color: #2b241c; padding: calc(var(--sx-nav-h) + 40px) 0 150px;
}
.sx-hero::before { content: ''; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(20, 15, 10, .86) 0%, rgba(20, 15, 10, .62) 45%, rgba(20, 15, 10, .18) 100%), linear-gradient(0deg, rgba(20, 15, 10, .55), transparent 40%); }
/* banner slideshow: pictures sit under the dark overlay (::before) and crossfade */
.sx-slides { position: absolute; inset: 0; z-index: 0; }
.sx-slide { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transition: opacity 1.2s ease; }
.sx-slide.on { opacity: 1; }
.sx-hero::before { z-index: 1; }
.sx-dots { position: absolute; left: 50%; bottom: 96px; z-index: 3; transform: translateX(-50%); display: flex; gap: 10px; }
.sx-dot { width: 10px; height: 10px; padding: 0; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .8); background: transparent; cursor: pointer; transition: background .2s, transform .2s; }
.sx-dot.on { background: var(--sx-gold); border-color: var(--sx-gold); transform: scale(1.2); }
@media (prefers-reduced-motion: reduce) { .sx-slide { transition: none; } }
.sx-hero .sx-wrap { position: relative; z-index: 2; }
.sx-hero-inner { max-width: 720px; }
.sx-eyebrow { display: inline-flex; align-items: center; gap: .8rem; font-size: .78rem; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--sx-gold); margin-bottom: 1.4rem; }
.sx-eyebrow::before { content: ''; width: 42px; height: 1.5px; background: currentColor; }
.sx-hero h1 { color: #fff; font-weight: 700; font-size: clamp(2.5rem, 6.2vw, 4.9rem); line-height: 1.05; margin: 0 0 1.2rem; text-wrap: balance; }
.sx-hero .sx-tagline { font-family: var(--sx-serif); font-style: italic; font-size: clamp(1.1rem, 2vw, 1.45rem); color: var(--sx-gold); margin: -.2rem 0 1rem; }
.sx-hero .sx-lead { font-size: clamp(1rem, 1.5vw, 1.2rem); color: rgba(255, 255, 255, .86); max-width: 560px; margin: 0 0 2.2rem; font-weight: 300; }
.sx-hero-btns { display: flex; flex-wrap: wrap; gap: .9rem; margin-bottom: 2.2rem; }
.sx-points { list-style: none; display: flex; flex-wrap: wrap; gap: .6rem 1.6rem; padding: 0; margin: 0; font-size: .92rem; color: rgba(255, 255, 255, .88); }
.sx-points li { display: inline-flex; align-items: center; gap: .5rem; }
.sx-points i { color: var(--sx-gold); font-size: .85rem; }
.sx-scroll { position: absolute; left: 50%; bottom: 34px; z-index: 2; transform: translateX(-50%); width: 28px; height: 46px; border: 1.5px solid rgba(255, 255, 255, .6); border-radius: 20px; display: none; }
.sx-scroll::after { content: ''; position: absolute; left: 50%; top: 9px; width: 4px; height: 8px; margin-left: -2px; border-radius: 4px; background: #fff; animation: sxScroll 1.8s infinite; }
@keyframes sxScroll { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }
@media (min-width: 992px) { .sx-scroll { display: block; } }

/* ---------- numbers strip ---------- */
.sx-stats-wrap { position: relative; z-index: 5; margin-top: -78px; }
.sx-stats { display: grid; grid-template-columns: repeat(var(--cols, 4), 1fr); background: #fff; border-radius: 24px; box-shadow: var(--sx-shadow); padding: 34px 12px; border: 1px solid var(--sx-line); }
.sx-stat { text-align: center; padding: 6px 18px; position: relative; }
.sx-stat + .sx-stat::before { content: ''; position: absolute; left: 0; top: 12%; bottom: 12%; width: 1px; background: var(--sx-line); }
.sx-stat b { display: block; font-family: var(--sx-serif); font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; line-height: 1.1; color: var(--sx-brand); }
.sx-stat span { display: block; margin-top: .35rem; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; color: var(--sx-muted); font-weight: 500; }
@media (max-width: 767.98px) {
    .sx-stats { grid-template-columns: repeat(2, 1fr); padding: 22px 8px; row-gap: 18px; }
    .sx-stat:nth-child(3)::before { display: none; }
    .sx-stat span { font-size: .72rem; }
}

/* ---------- sections ---------- */
.sx-section { padding: 110px 0; position: relative; }
.sx-section.alt { background: var(--sx-band); }
.sx-section.dark { background: var(--sx-ink); color: rgba(255, 255, 255, .78); }
.sx-head { max-width: 680px; margin: 0 auto 56px; text-align: center; }
.sx-head .sx-eyebrow { color: var(--sx-brand); margin-bottom: 1rem; }
.sx-head .sx-eyebrow::before, .sx-head .sx-eyebrow::after { content: ''; width: 34px; height: 1.5px; background: var(--sx-gold); }
.sx-head h2 { font-size: clamp(2rem, 4.2vw, 3.1rem); line-height: 1.12; margin: 0 0 1rem; font-weight: 700; text-wrap: balance; }
.sx-head p { color: var(--sx-muted); font-size: 1.05rem; margin: 0; }
.dark .sx-head h2 { color: #fff; }
.dark .sx-head p { color: rgba(255, 255, 255, .65); }
@media (max-width: 767.98px) { .sx-section { padding: 72px 0; } .sx-head { margin-bottom: 38px; } .sx-wrap { padding: 0 18px; } }

/* ---------- services ---------- */
.sx-toolbar { display: flex; flex-direction: column; align-items: center; gap: 22px; margin-bottom: 34px; }
.sx-section .filter-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; margin: 0; }
.sx-section .filter-tab {
    display: inline-flex; align-items: center; gap: .55rem; padding: .6rem 1.2rem; border: 1px solid var(--sx-line); background: #fff; color: var(--sx-text);
    border-radius: 999px; font-weight: 500; font-size: .92rem; text-decoration: none; min-height: 44px;
}
.sx-section .filter-tab:hover { border-color: var(--sx-brand); color: var(--sx-brand-dark); background: #fff; }
.sx-section .filter-tab.active { background: var(--sx-brand); color: #fff; border-color: var(--sx-brand); box-shadow: 0 12px 26px -14px var(--sx-brand); }
.sx-section .filter-tab .count { background: var(--sx-brand-soft); color: var(--sx-brand-dark); margin: 0; padding: .05rem .55rem; border-radius: 999px; font-size: .74rem; font-weight: 600; }
.sx-section .filter-tab.active .count { background: rgba(255, 255, 255, .22); color: #fff; }
.sx-search { width: 100%; max-width: 560px; }
.sx-search .input-group { background: #fff; border: 1px solid var(--sx-line); border-radius: 999px; padding: 5px 5px 5px 20px; box-shadow: var(--sx-shadow-sm); }
.sx-search .form-control { border: 0; background: transparent; box-shadow: none; padding: .6rem .2rem; font-size: .98rem; }
.sx-search .btn { width: 48px; height: 48px; border-radius: 50% !important; background: var(--sx-brand); color: #fff; border: 0; padding: 0; }
.sx-search .btn:hover { background: var(--sx-brand-dark); }
.sx-results { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 22px; flex-wrap: wrap; }
.sx-results .results-count { color: var(--sx-muted); font-size: .92rem; padding: 0; background: none; box-shadow: none; }
.sx-results .sort-options, .sx-section .sort-options { background: none; box-shadow: none; padding: 0; margin: 0; }
.sx-section .sort-select { border: 1px solid var(--sx-line); border-radius: 999px; padding: .55rem 2.2rem .55rem 1.1rem; background-color: #fff; font-size: .9rem; color: var(--sx-text); }

.services-grid { display: grid !important; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 28px; }
.sx-section .service-card {
    display: flex; flex-direction: column; background: #fff; border-radius: var(--sx-radius); overflow: hidden; border: 1px solid var(--sx-line);
    box-shadow: var(--sx-shadow-sm); padding: 0; text-align: left; transition: transform .35s cubic-bezier(.2, .7, .2, 1), box-shadow .35s; height: 100%;
}
.sx-section .service-card:hover { transform: translateY(-8px); box-shadow: var(--sx-shadow); }
.sx-section .service-image { position: relative; aspect-ratio: 4 / 3; height: auto; overflow: hidden; background: var(--sx-band); margin: 0; border-radius: 0; }
.sx-section .svc-ph { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 3rem; color: var(--sx-brand); opacity: .55; background: linear-gradient(145deg, var(--sx-brand-soft), var(--sx-band)); }
.sx-section .service-image img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.sx-section .service-card:hover .service-image img { transform: scale(1.07); }
.sx-section .service-image::after { content: ''; position: absolute; z-index: 2; inset: auto 0 0 0; height: 45%; background: linear-gradient(0deg, rgba(20, 15, 10, .3), transparent); pointer-events: none; }
.sx-section .service-badge {
    position: absolute; top: 14px; left: 14px; z-index: 3; background: rgba(255, 255, 255, .92); color: var(--sx-brand-dark); padding: .3rem .8rem; border-radius: 999px;
    font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; backdrop-filter: blur(6px); box-shadow: 0 6px 16px -8px rgba(0, 0, 0, .35);
}
.sx-section .service-info { display: flex; flex-direction: column; flex: 1; padding: 22px 24px 24px; text-align: left; }
.sx-section .service-title { font-family: var(--sx-serif); font-size: 1.28rem; font-weight: 700; color: var(--sx-ink); margin: 0 0 .45rem; line-height: 1.25; text-align: left; }
.sx-section .service-desc { color: var(--sx-muted); font-size: .92rem; margin: 0 0 1.1rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.9em; }
.sx-section .service-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 16px; border-top: 1px solid var(--sx-line); }
.sx-section .service-price { font-family: var(--sx-serif); font-size: 1.3rem; font-weight: 700; color: var(--sx-brand-dark); line-height: 1.1; }
.sx-section .service-price small { display: block; font-family: var(--sx-sans); font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: var(--sx-muted); font-weight: 500; margin-bottom: 2px; }
.sx-section .service-book { display: inline-flex; align-items: center; gap: .5rem; background: var(--sx-brand); color: #fff; border: 0; border-radius: 999px; padding: .65rem 1.2rem; font-weight: 600; font-size: .86rem; min-height: 44px; cursor: pointer; }
.sx-section .service-book:hover { background: var(--sx-ink); transform: translateX(2px); }
.no-services { grid-column: 1 / -1; text-align: center; padding: 70px 20px; background: #fff; border-radius: var(--sx-radius); border: 1px dashed var(--sx-line); }
.sx-section .pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: .45rem; margin-top: 48px; }
.sx-section .page-link { border: 1px solid var(--sx-line); background: #fff; color: var(--sx-text); border-radius: 999px !important; min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; padding: 0 1rem; font-weight: 500; box-shadow: none; }
.sx-section .page-link:hover { border-color: var(--sx-brand); color: var(--sx-brand-dark); background: #fff; }
.sx-section .page-link.active { background: var(--sx-brand); border-color: var(--sx-brand); color: #fff; }
.loading-spinner { border-color: var(--sx-band) !important; border-top-color: var(--sx-brand) !important; }

/* ---------- booking form ---------- */
.sx-book { padding: 90px 0; background: linear-gradient(180deg, var(--sx-band), var(--sx-page)); }
.sx-book .checkout-container { background: #fff; border-radius: 26px; box-shadow: var(--sx-shadow); padding: 38px; border: 1px solid var(--sx-line); }
.sx-book .booking-summary { background: var(--sx-brand-soft); border: 1px solid var(--sx-line); border-radius: 18px; padding: 22px; }
.sx-book .booking-summary h5 { font-family: var(--sx-serif); color: var(--sx-ink); }
.sx-book .step-title { font-family: var(--sx-serif); color: var(--sx-ink); }
.sx-book .step-number { background: var(--sx-brand) !important; color: #fff !important; }
.sx-book .form-control, .sx-book .form-select { border-radius: 12px; border: 1px solid rgba(31, 26, 21, .16); padding: .75rem 1rem; min-height: 48px; }
.sx-book .form-control:focus, .sx-book .form-select:focus { border-color: var(--sx-brand); box-shadow: 0 0 0 4px rgba(139, 115, 85, .15); }
.sx-book .form-label { font-weight: 600; font-size: .86rem; color: var(--sx-ink); }
.btn-gold { background: var(--sx-brand); color: #fff; border: 0; border-radius: 999px; padding: .8rem 1.8rem; font-weight: 600; box-shadow: 0 14px 28px -16px var(--sx-brand); }
.btn-gold:hover { background: var(--sx-brand-dark); color: #fff; }
.security-badge { background: var(--sx-brand-soft) !important; color: var(--sx-brand-dark) !important; border-radius: 999px; }
@media (max-width: 767.98px) { .sx-book .checkout-container { padding: 20px 16px; border-radius: 20px; } .sx-book { padding: 56px 0; } }

/* ---------- about ---------- */
.sx-about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.sx-photo { position: relative; padding: 0 0 38px 38px; }
.sx-photo::before { content: ''; position: absolute; left: 0; bottom: 0; width: 72%; height: 72%; border-radius: 26px; background: var(--sx-brand-soft); border: 1px solid var(--sx-line); }
.sx-photo img { position: relative; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 26px; box-shadow: var(--sx-shadow); display: block; }
.sx-photo-tag { position: absolute; right: -14px; bottom: 6px; background: var(--sx-brand); color: #fff; padding: 18px 24px; border-radius: 18px; font-family: var(--sx-serif); font-weight: 700; font-size: 1.05rem; box-shadow: var(--sx-shadow); max-width: 220px; line-height: 1.3; }
.sx-photo-tag i { color: var(--sx-gold); margin-right: .45rem; }
.sx-about h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); margin: 0 0 1.2rem; line-height: 1.15; }
.sx-about .sx-eyebrow { color: var(--sx-brand); }
.sx-about p { color: var(--sx-text); }
.sx-features { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 26px; margin-top: 32px; }
.sx-feature { display: flex; gap: 14px; align-items: flex-start; }
.sx-feature .ico { flex: 0 0 46px; height: 46px; border-radius: 14px; display: flex; align-items: center; justify-content: center; background: var(--sx-brand-soft); color: var(--sx-brand); font-size: 1.05rem; border: 1px solid var(--sx-line); }
.sx-feature.text-danger .ico, .sx-feature.c-danger .ico { color: #B5546A; background: #FBEDEF; }
.sx-feature.c-warning .ico { color: #B8860B; background: #FBF3DC; }
.sx-feature.c-primary .ico { color: #2C5AA0; background: #E8EFF9; }
.sx-feature.c-secondary .ico { color: #5A6678; background: #EDEFF3; }
.sx-feature h5 { font-family: var(--sx-sans); font-size: 1rem; font-weight: 600; margin: 0 0 .2rem; color: var(--sx-ink); }
.sx-feature p { margin: 0; font-size: .9rem; color: var(--sx-muted); line-height: 1.55; }
@media (max-width: 991.98px) { .sx-about-grid { grid-template-columns: 1fr; gap: 56px; } .sx-photo { max-width: 520px; margin: 0 auto; } }
/* Desktop: the picture sits on the left and the story wraps around it; once the picture ends, the text uses the full width */
@media (min-width: 992px) {
    .sx-about-grid { display: block; }
    .sx-about-grid::after { content: ''; display: table; clear: both; }
    .sx-about-grid > .sx-photo { float: left; width: calc(50% - 28px); margin: 6px 56px 26px 0; }
    .sx-about-grid .sx-features { clear: both; }
}
@media (max-width: 575.98px) { .sx-features { grid-template-columns: 1fr; } .sx-photo { padding: 0 0 28px 22px; } .sx-photo-tag { right: 6px; padding: 14px 18px; font-size: .95rem; } }

.sx-quote { max-width: 820px; margin: 96px auto 0; text-align: center; position: relative; padding-top: 34px; }
.sx-quote::before { content: '\201C'; position: absolute; top: -26px; left: 50%; transform: translateX(-50%); font-family: var(--sx-serif); font-size: 7rem; line-height: 1; color: var(--sx-gold); opacity: .55; }
.sx-quote p { font-family: var(--sx-serif); font-style: italic; font-size: clamp(1.3rem, 2.6vw, 1.9rem); line-height: 1.5; color: var(--sx-ink); margin: 0 0 1rem; }
.sx-quote cite { font-style: normal; font-size: .8rem; letter-spacing: .22em; text-transform: uppercase; color: var(--sx-brand); font-weight: 600; }
.dark .sx-quote p { color: #fff; }

/* team spotlight */
.sx-team { display: grid; grid-template-columns: 5fr 6fr; gap: 70px; align-items: center; margin-top: 110px; }
.sx-team-photo { position: relative; max-width: 440px; margin: 0 auto; }
.sx-team-photo img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 24px; box-shadow: var(--sx-shadow); display: block; }
.sx-team-photo::after { content: ''; position: absolute; inset: 18px -18px -18px 18px; border: 1.5px solid var(--sx-gold); border-radius: 30px; z-index: -1; }
.sx-team h3 { font-size: clamp(1.7rem, 3vw, 2.4rem); margin: 0 0 1rem; }
.sx-team .sx-eyebrow { color: var(--sx-brand); }
@media (max-width: 991.98px) { .sx-team { grid-template-columns: 1fr; gap: 50px; margin-top: 72px; } }

/* ---------- how it works ---------- */
.sx-steps { display: grid; grid-template-columns: repeat(var(--cols, 4), 1fr); gap: 26px; counter-reset: s; position: relative; }
.sx-step { position: relative; background: #fff; border: 1px solid var(--sx-line); border-radius: var(--sx-radius); padding: 34px 28px 30px; box-shadow: var(--sx-shadow-sm); counter-increment: s; transition: transform .3s, box-shadow .3s; }
.sx-step:hover { transform: translateY(-6px); box-shadow: var(--sx-shadow); }
.sx-step::before { content: counter(s, decimal-leading-zero); display: block; font-family: var(--sx-serif); font-size: 3.4rem; font-weight: 700; line-height: 1; color: var(--sx-brand); opacity: .22; margin-bottom: 14px; }
.sx-step::after { content: ''; position: absolute; left: 28px; top: 0; width: 46px; height: 3px; background: var(--sx-gold); border-radius: 0 0 4px 4px; }
.sx-step h4 { font-size: 1.22rem; margin: 0 0 .5rem; font-weight: 700; }
.sx-step p { margin: 0; color: var(--sx-muted); font-size: .94rem; }
@media (max-width: 991.98px) { .sx-steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575.98px) { .sx-steps { grid-template-columns: 1fr; gap: 16px; } .sx-step { padding: 26px 22px; } .sx-step::before { font-size: 2.6rem; } }

/* ---------- reviews ---------- */
.sx-reviews { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 26px; }
.sx-review { background: #fff; border: 1px solid var(--sx-line); border-radius: var(--sx-radius); padding: 32px 30px; box-shadow: var(--sx-shadow-sm); display: flex; flex-direction: column; }
.sx-stars { color: var(--sx-gold); letter-spacing: 3px; font-size: .9rem; margin-bottom: 14px; }
.sx-review blockquote { margin: 0 0 22px; font-family: var(--sx-serif); font-style: italic; font-size: 1.12rem; line-height: 1.65; color: var(--sx-ink); flex: 1; }
.sx-review footer { display: flex; align-items: center; gap: 14px; padding-top: 18px; border-top: 1px solid var(--sx-line); }
.sx-review .av { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; flex: none; background: var(--sx-brand-soft); display: flex; align-items: center; justify-content: center; color: var(--sx-brand); font-weight: 700; font-family: var(--sx-serif); font-size: 1.2rem; }
.sx-review .nm { font-weight: 600; color: var(--sx-ink); line-height: 1.2; }
.sx-review .sub { font-size: .78rem; color: var(--sx-muted); letter-spacing: .08em; text-transform: uppercase; }

/* ---------- gallery ---------- */
.sx-gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 230px; gap: 16px; }
.sx-gitem { position: relative; overflow: hidden; border-radius: 20px; cursor: zoom-in; background: var(--sx-band); border: 0; padding: 0; }
.sx-gitem:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.sx-gitem:nth-child(6n + 4) { grid-column: span 2; }
.sx-gitem img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .9s cubic-bezier(.2, .7, .2, 1); }
.sx-gitem:hover img { transform: scale(1.08); }
.sx-gitem figcaption { position: absolute; inset: auto 0 0 0; padding: 40px 20px 18px; color: #fff; font-family: var(--sx-serif); font-size: 1.05rem; background: linear-gradient(0deg, rgba(20, 15, 10, .72), transparent); transform: translateY(100%); transition: transform .4s; text-align: left; }
.sx-gitem:hover figcaption { transform: none; }
.sx-gitem { margin: 0; }
@media (max-width: 991.98px) { .sx-gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 190px; } .sx-gitem:nth-child(6n + 4) { grid-column: auto; } }
@media (max-width: 575.98px) { .sx-gallery { grid-auto-rows: 150px; gap: 10px; } .sx-gitem { border-radius: 14px; } .sx-gitem figcaption { transform: none; padding: 26px 12px 10px; font-size: .85rem; } }
.sx-lightbox { position: fixed; inset: 0; z-index: 2000; background: rgba(12, 9, 6, .93); display: none; align-items: center; justify-content: center; padding: 28px; }
.sx-lightbox.open { display: flex; }
.sx-lightbox img { max-width: 100%; max-height: 88vh; border-radius: 14px; box-shadow: 0 30px 80px rgba(0, 0, 0, .6); }
.sx-lightbox button { position: absolute; top: 18px; right: 18px; width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .14); color: #fff; font-size: 1.2rem; }

/* ---------- faq ---------- */
.sx-faq { max-width: 860px; margin: 0 auto; display: grid; gap: 14px; }
.sx-faq details { background: #fff; border: 1px solid var(--sx-line); border-radius: 18px; padding: 0; box-shadow: var(--sx-shadow-sm); transition: box-shadow .3s, border-color .3s; }
.sx-faq details[open] { border-color: var(--sx-brand); box-shadow: var(--sx-shadow); }
.sx-faq summary { list-style: none; cursor: pointer; padding: 22px 26px; font-family: var(--sx-serif); font-weight: 600; font-size: 1.12rem; color: var(--sx-ink); display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.sx-faq summary::-webkit-details-marker { display: none; }
.sx-faq summary::after { content: '+'; flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--sx-brand-soft); color: var(--sx-brand); display: flex; align-items: center; justify-content: center; font-family: var(--sx-sans); font-size: 1.3rem; transition: transform .3s, background .3s; }
.sx-faq details[open] summary::after { content: '\2212'; background: var(--sx-brand); color: #fff; }
.sx-faq .ans { padding: 0 26px 24px; color: var(--sx-text); }

/* ---------- call to action ---------- */
.sx-cta { position: relative; padding: 100px 0; text-align: center; color: #fff; background: linear-gradient(135deg, var(--sx-brand-dark), var(--sx-brand)); background-size: cover; background-position: center; overflow: hidden; }
.sx-cta::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 80% 0%, rgba(255, 255, 255, .16), transparent 55%), rgba(20, 15, 10, .18); }
.sx-cta.has-img::before { background: linear-gradient(135deg, rgba(20, 15, 10, .82), rgba(20, 15, 10, .55)); }
.sx-cta .sx-wrap { position: relative; z-index: 1; max-width: 820px; }
.sx-cta h2 { color: #fff; font-size: clamp(2rem, 4.6vw, 3.4rem); margin: 0 0 1rem; line-height: 1.12; text-wrap: balance; }
.sx-cta p { color: rgba(255, 255, 255, .85); font-size: 1.1rem; margin: 0 0 2rem; }
.sx-cta .row-btns { display: flex; flex-wrap: wrap; gap: .9rem; justify-content: center; }

/* ---------- contact ---------- */
.sx-contact-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 28px; align-items: stretch; }
.sx-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.sx-info { background: #fff; border: 1px solid var(--sx-line); border-radius: 20px; padding: 26px 24px; box-shadow: var(--sx-shadow-sm); }
.sx-info .ico { width: 50px; height: 50px; border-radius: 15px; background: var(--sx-brand); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; margin-bottom: 16px; box-shadow: 0 12px 24px -14px var(--sx-brand); }
.sx-info h5 { font-family: var(--sx-sans); font-size: .76rem; letter-spacing: .18em; text-transform: uppercase; color: var(--sx-muted); font-weight: 600; margin: 0 0 .4rem; }
.sx-info p, .sx-info a { margin: 0; color: var(--sx-ink); font-weight: 500; text-decoration: none; word-break: break-word; }
.sx-info a:hover { color: var(--sx-brand); }
.sx-map, .sx-quick { border-radius: 24px; overflow: hidden; border: 1px solid var(--sx-line); box-shadow: var(--sx-shadow-sm); min-height: 360px; background: #fff; }
.sx-map iframe { width: 100%; height: 100%; min-height: 360px; border: 0; display: block; }
.sx-quick { background: linear-gradient(150deg, var(--sx-brand-dark), var(--sx-brand)); color: #fff; padding: 40px 36px; display: flex; flex-direction: column; justify-content: center; border: 0; }
.sx-quick h3 { color: #fff; font-size: 1.9rem; margin: 0 0 .7rem; }
.sx-quick p { color: rgba(255, 255, 255, .85); margin: 0 0 1.6rem; }
.sx-quick .sx-btn { width: 100%; margin-bottom: .8rem; }
.sx-map-link { display: inline-flex; margin-top: 10px; font-size: .88rem; font-weight: 600; color: var(--sx-brand-dark); text-decoration: none; }
.sx-wa { margin-top: 28px; display: flex; align-items: center; gap: 26px; background: #fff; border: 1px solid var(--sx-line); border-left: 5px solid #25D366; border-radius: 22px; padding: 28px 32px; box-shadow: var(--sx-shadow-sm); }
.sx-wa .ico { flex: none; width: 66px; height: 66px; border-radius: 50%; background: #25D366; color: #fff; font-size: 2rem; display: flex; align-items: center; justify-content: center; box-shadow: 0 14px 28px -12px #25D366; }
.sx-wa h3 { font-size: 1.35rem; margin: 0 0 .3rem; }
.sx-wa p { margin: 0; color: var(--sx-muted); }
.sx-wa .sx-btn { flex: none; background: #25D366; color: #fff; }
.sx-wa .sx-btn:hover { background: #128C7E; color: #fff; }
.sx-qr { margin-top: 56px; text-align: center; }
.sx-qr h4 { font-family: var(--sx-sans); font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; color: var(--sx-muted); font-weight: 600; margin-bottom: 22px; }
.sx-qr-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 22px; }
.sx-qr-item { background: #fff; border: 1px solid var(--sx-line); border-radius: 18px; padding: 16px; text-decoration: none; color: var(--sx-ink); font-weight: 600; font-size: .88rem; box-shadow: var(--sx-shadow-sm); display: flex; flex-direction: column; align-items: center; gap: 10px; }
.sx-qr-item img { width: 132px; height: 132px; border-radius: 10px; }
@media (max-width: 991.98px) {
    /* phones and tablets: two QR codes per row */
    .sx-qr-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; max-width: 460px; margin: 0 auto; }
    .sx-qr-item { padding: 12px; }
    .sx-qr-item img { width: 100%; max-width: 132px; height: auto; aspect-ratio: 1; }
}
@media (max-width: 991.98px) { .sx-contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 767.98px) {
    .sx-cards { grid-template-columns: 1fr 1fr; gap: 12px; }
    .sx-info { padding: 20px 16px; }
    .sx-wa { flex-direction: column; text-align: center; padding: 28px 22px; border-left-width: 1px; border-top: 5px solid #25D366; }
    .sx-quick { padding: 32px 24px; }
}
@media (max-width: 420px) { .sx-cards { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
.sx-footer { background: #17130F; color: rgba(255, 255, 255, .66); padding: 90px 0 0; position: relative; }
.sx-footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1.2fr 1.1fr; gap: 50px; padding-bottom: 60px; }
.sx-footer h5 { font-family: var(--sx-sans); font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; color: #fff; font-weight: 600; margin: 0 0 1.4rem; }
.sx-footer .sx-brand { margin-bottom: 1.2rem; }
.sx-footer p { font-size: .94rem; margin: 0 0 1rem; }
.sx-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .7rem; }
.sx-footer a { color: rgba(255, 255, 255, .66); text-decoration: none; font-size: .94rem; }
.sx-footer a:hover { color: var(--sx-gold); }
.sx-footer .li-ico { display: flex; gap: .8rem; align-items: flex-start; font-size: .94rem; }
.sx-footer .li-ico i { color: var(--sx-gold); margin-top: .35rem; width: 16px; text-align: center; }
.sx-social { display: flex; gap: .6rem; flex-wrap: wrap; margin-top: 1.2rem; }
.sx-social a { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .2); display: inline-flex; align-items: center; justify-content: center; color: #fff; font-size: 1rem; }
.sx-social a:hover { background: var(--sx-gold); border-color: var(--sx-gold); color: #1F1A15; transform: translateY(-3px); }
.sx-copy { border-top: 1px solid rgba(255, 255, 255, .1); padding: 26px 0; font-size: .85rem; text-align: center; color: rgba(255, 255, 255, .5); }
@media (max-width: 991.98px) { .sx-footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; } }
@media (max-width: 575.98px) { .sx-footer { padding-top: 60px; } .sx-footer-grid { grid-template-columns: 1fr; gap: 34px; } }

/* ---------- floating helpers ---------- */
.sx-fab { position: fixed; right: 20px; bottom: 22px; z-index: 1040; display: flex; flex-direction: column; gap: 12px; align-items: flex-end; }
.sx-fab a, .sx-fab button { width: 56px; height: 56px; border-radius: 50%; border: 0; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; color: #fff; box-shadow: 0 16px 34px -12px rgba(0, 0, 0, .5); text-decoration: none; cursor: pointer; }
.sx-fab .wa { background: #25D366; }
.sx-fab .wa:hover { background: #128C7E; transform: scale(1.06); }
.sx-fab .up { width: 46px; height: 46px; font-size: 1rem; background: var(--sx-ink); opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .3s, transform .3s, visibility .3s; }
.sx-fab .up.show { opacity: 1; visibility: visible; transform: none; }
@media (max-width: 767.98px) {
    .sx-fab { right: 14px; bottom: calc(18px + env(safe-area-inset-bottom)); }
}

/* ---------- misc ---------- */
.processing-overlay { z-index: 3000; }
.terms-modal .modal-content { border-radius: 22px; border: 0; }
.terms-modal .modal-header { border-bottom-color: var(--sx-line); }
.terms-modal h6 { font-family: var(--sx-serif); font-size: 1.1rem; color: var(--sx-ink); margin-top: 1.2rem; }
.checkout-notification { z-index: 4000; }

.sx-section .service-image:not(:has(img))::after { display: none; }
@media (max-width: 575.98px) {
    .services-grid { gap: 18px; }
    .sx-section .service-image { aspect-ratio: 16 / 10; }
    .sx-section .service-info { padding: 18px 18px 20px; }
}

/* ---------- install-app banner (public site) ---------- */
.sx-install[hidden], .sx-install-link[hidden] { display: none !important; }
.sx-install { position: fixed; left: 14px; right: 14px; bottom: 16px; z-index: 1045; display: flex; align-items: center; gap: 12px; max-width: 520px; margin: 0 auto; padding: 12px 14px; background: #fff; border: 1px solid var(--sx-line, #e8e0d6); border-radius: 18px; box-shadow: 0 18px 40px -16px rgba(31, 26, 21, .5); }
.sx-install img { width: 44px; height: 44px; border-radius: 10px; object-fit: contain; flex: none; background: #fff; }
.sx-install .txt { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.25; font-size: .85rem; color: #6b5f52; }
.sx-install .txt strong { font-size: .95rem; color: var(--sx-ink, #1F1A15); }
.sx-install .sx-btn { flex: none; padding: 9px 16px; min-height: 40px; }
.sx-install .x { flex: none; border: 0; background: transparent; font-size: 1.6rem; line-height: 1; color: #6b5f52; padding: 0 4px; cursor: pointer; }
.sx-install-link { margin-top: 10px; }
.sx-install-link i { margin-right: 6px; }
@media (max-width: 767.98px) {
    body.has-install .sx-fab { display: none; }
}

/* iPhone / iPad "Add to Home Screen" steps */
.sx-ios[hidden] { display: none !important; }
.sx-ios { position: fixed; inset: 0; z-index: 1060; background: rgba(31, 26, 21, .55); display: flex; align-items: flex-end; justify-content: center; padding: 14px; }
.sx-ios .box { position: relative; width: 100%; max-width: 440px; background: #fff; border-radius: 20px; padding: 22px 20px calc(20px + env(safe-area-inset-bottom)); box-shadow: 0 24px 60px -20px rgba(0, 0, 0, .6); }
.sx-ios h4 { font-size: 1.1rem; margin: 0 28px 12px 0; color: var(--sx-ink, #1F1A15); }
.sx-ios ol { padding-left: 1.2rem; margin: 0 0 16px; color: #4d4338; line-height: 1.5; }
.sx-ios li { margin-bottom: 8px; }
.sx-ios .shr { vertical-align: -4px; color: #007aff; }
.sx-ios .warn { background: #fff4e0; border: 1px solid #f0d9a8; border-radius: 10px; padding: 8px 10px; font-size: .88rem; color: #6b4e12; }
.sx-ios .x { position: absolute; top: 8px; right: 12px; border: 0; background: transparent; font-size: 1.8rem; line-height: 1; color: #6b5f52; cursor: pointer; }
.sx-ios .sx-btn { width: 100%; justify-content: center; }

/* About: "Our story" text with headings */
.sx-story p { margin-bottom: 1rem; line-height: 1.75; }
.sx-story .sx-story-h { font-family: var(--sx-sans); font-weight: 700; font-size: 1.15rem; color: var(--sx-ink); margin: 1.6rem 0 .6rem; }
.sx-story em { color: var(--sx-brand-dark, inherit); }
