/* Live site — Donezo-inspired shell (matches admin visual language) */

:root {
    --primary: #154b34;
    --primary-dark: #0f2f22;
    --primary-soft: #1f6b4a;
    --primary-mint: #d8f3e7;
    --primary-light: #eaf7f1;
    --accent: #3d9b6e;
    --bg: #f3f5f4;
    --surface: #ffffff;
    --text: #1a2e26;
    --text-muted: #6b7c74;
    --border: #e5ebe8;
    --font-display: 'Plus Jakarta Sans', system-ui, sans-serif;
    --font-body: 'Plus Jakarta Sans', system-ui, sans-serif;
    --radius: 20px;
    --radius-sm: 14px;
    --shadow: 0 4px 20px rgba(15, 47, 34, 0.05);
    --shadow-lift: 0 12px 28px rgba(15, 47, 34, 0.1);
    --bottom-nav-h: 72px;
}

body.app-body {
    font-family: var(--font-body);
    color: var(--text);
    background:
        radial-gradient(1200px 600px at 85% -10%, rgba(61, 155, 110, 0.09), transparent 55%),
        radial-gradient(900px 500px at 0% 100%, rgba(21, 75, 52, 0.05), transparent 50%),
        var(--bg);
    letter-spacing: -0.01em;
}

h1, h2, h3, .navbar-brand, .section-head h2 {
    font-family: var(--font-display);
    letter-spacing: -0.03em;
}

/* —— Buttons —— */
.btn-dark {
    background: linear-gradient(145deg, var(--primary-soft), var(--primary));
    border-color: transparent;
    border-radius: 999px;
    font-weight: 700;
    box-shadow: 0 8px 18px rgba(21, 75, 52, 0.22);
}
.btn-dark:hover,
.btn-dark:focus {
    background: var(--primary-dark);
    border-color: transparent;
    color: #fff;
}
.btn-outline-dark {
    color: var(--primary);
    border-color: var(--border);
    border-radius: 999px;
    font-weight: 600;
    background: var(--surface);
}
.btn-outline-dark:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}
.btn-light {
    border-radius: 999px;
    font-weight: 700;
}

/* —— Chrome / header —— */
.app-header {
    background: color-mix(in srgb, var(--surface) 92%, transparent);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
}
.app-logo-wrap {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(145deg, var(--primary-soft), var(--primary));
    color: #fff !important;
    font-size: 0.95rem;
    box-shadow: 0 8px 18px rgba(21, 75, 52, 0.28);
}
.app-logo-img { border-radius: 50%; object-fit: cover; }
.app-header-title {
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--text);
}
.app-header-sub { color: var(--text-muted); font-weight: 500; }
.app-profile-btn,
.app-header-actions .app-profile-btn,
.site-navbar .app-profile-btn {
    width: 40px;
    height: 40px;
    border: 1px solid var(--border) !important;
    background: var(--surface);
    box-shadow: var(--shadow);
}
.header-profile-initial {
    background: var(--primary-mint);
    color: var(--primary);
    font-weight: 800;
}

.site-navbar {
    background: color-mix(in srgb, var(--surface) 94%, transparent) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border) !important;
    box-shadow: var(--shadow) !important;
    min-height: 72px;
}
.site-navbar .navbar-brand {
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--text) !important;
    gap: 10px;
}
.site-navbar .brand-fa {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, var(--primary-soft), var(--primary));
    color: #fff !important;
    font-size: 0.95rem;
    box-shadow: 0 8px 18px rgba(21, 75, 52, 0.28);
}
.site-navbar .nav-link {
    color: var(--text-muted) !important;
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 999px;
    padding: 8px 14px !important;
    transition: color 0.15s ease, background 0.15s ease;
}
.site-navbar .nav-link:hover,
.site-navbar .nav-link.active {
    color: var(--primary) !important;
    background: var(--primary-light);
}
.site-navbar .app-icon-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--text);
    box-shadow: var(--shadow);
}
.site-navbar .app-icon-btn:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}
.site-navbar .btn-dark {
    padding: 10px 18px;
    font-size: 0.88rem;
}

.top-bar {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    font-weight: 600;
    letter-spacing: 0.01em;
}

/* —— Hero —— */
.hero-section {
    background: var(--primary-dark, #0f2f22);
}
body.hero-landing .hero-overlay {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
}
body.hero-landing .hero-overlay-spot {
    background:
        radial-gradient(ellipse at center,
            color-mix(in srgb, var(--accent, #3d9b6e) 28%, transparent) 0%,
            color-mix(in srgb, var(--primary, #154b34) 10%, transparent) 42%,
            transparent 72%);
}
.hero-brand {
    font-family: var(--font-display);
    font-weight: 800;
    letter-spacing: -0.04em;
    color: var(--hero-ink, #fff);
    text-shadow: 0 10px 36px var(--hero-shadow, color-mix(in srgb, var(--primary-dark, #0f2f22) 55%, transparent));
}
.hero-welcome {
    color: var(--accent, #3d9b6e);
    font-weight: 700;
}
.hero-tagline {
    font-family: var(--font-body);
    font-style: normal;
    font-weight: 600;
    color: var(--hero-ink-muted, rgba(255, 255, 255, 0.94));
}
.hero-about {
    color: var(--hero-ink-soft, color-mix(in srgb, #fff 78%, var(--primary-mint, #d8f3e7)));
}
.hero-cta {
    border-radius: calc(var(--radius, 14px) * 0.45) !important;
}
.hero-cta-primary {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    background: var(--hero-cta-bg, var(--accent, #3d9b6e)) !important;
    color: var(--hero-cta-fg, #fff) !important;
    border-radius: calc(var(--radius, 14px) * 0.45) !important;
    box-shadow: 0 12px 28px color-mix(in srgb, var(--hero-cta-bg, var(--accent, #3d9b6e)) 35%, transparent) !important;
}
.hero-cta-primary .hero-cta-label {
    position: relative;
    z-index: 1;
}
.hero-cta-primary.has-bg-anim {
    background: color-mix(in srgb, var(--hero-cta-bg, var(--accent, #3d9b6e)) 42%, #0a1f16) !important;
}
.hero-cta-primary:hover {
    background: var(--hero-cta-hover-bg, color-mix(in srgb, var(--accent, #3d9b6e) 82%, #fff)) !important;
    color: var(--hero-cta-hover-fg, var(--primary-dark, #0f2f22)) !important;
    transform: translateY(-2px);
}
.hero-cta-primary.has-bg-anim:hover {
    background: color-mix(in srgb, var(--hero-cta-hover-bg, var(--accent, #3d9b6e)) 55%, #0a1f16) !important;
    color: var(--hero-cta-fg, #fff) !important;
}
.hero-cta-ghost {
    border-radius: calc(var(--radius, 14px) * 0.45) !important;
    background: transparent !important;
    color: var(--hero-ghost-fg, #fff) !important;
    border: 2px solid var(--hero-ghost-border, color-mix(in srgb, #fff 72%, transparent)) !important;
}
.hero-cta-ghost:hover {
    background: color-mix(in srgb, var(--hero-ghost-fg, #fff) 10%, transparent) !important;
    border-color: var(--hero-ghost-fg, #fff) !important;
    color: var(--hero-ghost-fg, #fff) !important;
}

/* —— Sections —— */
.section-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 999px;
    background: var(--primary-mint);
    color: var(--primary);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.section-head { margin-bottom: 18px; }
.section-head h2 {
    font-size: clamp(1.55rem, 3.5vw, 1.9rem);
    font-weight: 800;
    color: var(--text);
    margin-top: 8px;
}
.section-sub {
    color: var(--text-muted);
    font-size: 0.95rem;
    max-width: 36rem;
    margin-left: auto;
    margin-right: auto;
}
.section-alt {
    background:
        radial-gradient(800px 320px at 100% 0%, rgba(61, 155, 110, 0.06), transparent 60%),
        color-mix(in srgb, var(--bg) 92%, var(--primary-mint, #d8f3e7));
}

.app-section {
    /* Vertical rhythm from section-fit.css; Bootstrap py-* zeroed to avoid double padding */
    padding-top: 0;
    padding-bottom: 0;
}
.app-shell > .app-section.hero-section {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    height: 100vh;
    height: 100svh;
    height: 100dvh;
    max-height: 100dvh;
    overflow: hidden;
}

.app-card,
.service-card,
.gallery-item,
.contact-item,
.why-card,
.faq-item,
.review-card,
.team-card,
.blog-card,
.social-card {
    border-radius: var(--radius) !important;
    border-color: var(--border) !important;
    box-shadow: var(--shadow);
}

.service-card {
    background: var(--surface);
    overflow: hidden;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.service-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lift);
}
.service-card.featured {
    border-color: transparent !important;
    box-shadow: 0 14px 30px rgba(21, 75, 52, 0.18);
    outline: 2px solid var(--primary-mint);
}
.service-thumb.placeholder {
    background: var(--primary-light);
    color: var(--primary);
}
.service-price { color: var(--primary); font-weight: 800; }
.category-title {
    font-weight: 800;
    letter-spacing: -0.02em;
}
.category-title i { color: var(--accent); }

.gallery-item {
    overflow: hidden;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.gallery-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lift);
}

.contact-item {
    background: var(--surface) !important;
    padding: 14px 16px !important;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.contact-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lift);
}
.contact-item i { color: var(--primary) !important; }

/* Filters / search —— Donezo pill search */
.filter-chips.minimal .filter-chip {
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--text-muted);
    border-radius: 999px;
    padding: 8px 14px;
    font-weight: 600;
    box-shadow: var(--shadow);
}
.filter-chips.minimal .filter-chip:hover {
    color: var(--primary);
    background: var(--primary-light);
    border-color: color-mix(in srgb, var(--border) 70%, var(--primary));
}
.filter-chips.minimal .filter-chip.active {
    color: #fff;
    background: linear-gradient(145deg, var(--primary-soft), var(--primary));
    border-color: transparent;
}
.service-search-input {
    border-radius: 999px !important;
    border: 1px solid var(--border) !important;
    background: var(--surface) !important;
    color: var(--text) !important;
    box-shadow: var(--shadow);
    padding: 12px 18px !important;
    text-align: left !important;
    font-weight: 500;
}
.service-search-input:focus {
    border-color: var(--accent) !important;
    box-shadow: 0 0 0 3px rgba(61, 155, 110, 0.18) !important;
}

/* —— Bottom nav —— */
.bottom-nav {
    height: calc(var(--bottom-nav-h) + env(safe-area-inset-bottom));
    background: color-mix(in srgb, var(--surface) 96%, transparent);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-top: 1px solid var(--border);
    box-shadow: 0 -8px 24px rgba(15, 47, 34, 0.06);
}
.bottom-nav-item {
    color: var(--text-muted);
    border-radius: 14px;
    max-width: 76px;
    min-height: 54px;
    font-weight: 600;
}
.bottom-nav-item.active {
    color: var(--primary);
    background: var(--primary-light);
}
.bottom-nav-book .bottom-book-icon {
    background: linear-gradient(145deg, var(--primary-soft), var(--primary)) !important;
    color: #fff !important;
    box-shadow: 0 10px 22px rgba(21, 75, 52, 0.28);
}
.bottom-nav-book .nav-label { color: var(--primary) !important; font-weight: 700; }
.bottom-nav-more.is-open .bottom-nav-more-btn { color: var(--primary); }
.bottom-more-fabs {
    background: color-mix(in srgb, var(--surface) 96%, transparent) !important;
    border-color: var(--border) !important;
    box-shadow: var(--shadow-lift) !important;
}
.bottom-more-fab {
    background: var(--primary-light, #f3e8ff) !important;
    border: 1px solid color-mix(in srgb, var(--primary) 18%, var(--border)) !important;
    color: var(--text) !important;
    box-shadow: none !important;
    border-radius: 14px !important;
}
.bottom-more-fab > i {
    color: var(--primary) !important;
}
.bottom-more-fab:hover,
.bottom-more-fab:focus-visible {
    background: var(--primary) !important;
    color: #fff !important;
    border-color: var(--primary) !important;
}
.bottom-more-fab:hover > i,
.bottom-more-fab:focus-visible > i {
    color: #fff !important;
}
.bottom-more-fab-label {
    color: inherit !important;
}

/* —— Toasts / panels —— */
.welcome-toast {
    background: var(--primary-dark);
    border-radius: 999px;
    font-weight: 600;
    box-shadow: 0 10px 28px rgba(15, 47, 34, 0.28);
}
.notif-panel,
.appt-panel {
    border-radius: var(--radius) var(--radius) 0 0;
    border-color: var(--border);
    box-shadow: var(--shadow-lift);
}
.appt-dock-tab {
    background: linear-gradient(145deg, var(--primary-soft), var(--primary)) !important;
    border: none !important;
    box-shadow: 0 10px 24px rgba(21, 75, 52, 0.3);
}

/* —— Auth —— */
.auth-wave-logo {
    background: linear-gradient(145deg, var(--primary-soft), var(--primary)) !important;
    color: #fff !important;
    box-shadow: 0 12px 28px color-mix(in srgb, var(--primary) 30%, transparent);
}
.auth-welcome-fs .auth-wave-logo,
.auth-forms-brand .auth-forms-logo {
    background: color-mix(in srgb, #fff 70%, var(--primary-mint, #d8f3e7)) !important;
    color: var(--primary, #154b34) !important;
    border: 2px solid color-mix(in srgb, #fff 55%, var(--primary, #154b34)) !important;
    box-shadow: 0 10px 28px color-mix(in srgb, var(--primary, #154b34) 18%, transparent);
}
.auth-wave-brand-name {
    font-weight: 800 !important;
    letter-spacing: -0.03em;
}
.auth-wave-sheet,
.auth-forms-card,
.auth-welcome-fs-sheet {
    border: none !important;
    box-shadow: 0 -12px 40px color-mix(in srgb, var(--primary-dark, #0f2f22) 12%, transparent);
}
@media (max-width: 767.98px) {
    .auth-forms-card,
    .auth-welcome-fs-sheet {
        border-radius: 28px 28px 0 0 !important;
    }
}
@media (min-width: 768px) {
    .auth-forms-card {
        border-radius: 28px !important;
        box-shadow:
            0 24px 60px color-mix(in srgb, var(--primary-dark, #0f2f22) 16%, transparent),
            0 1px 0 rgba(255, 255, 255, 0.65) inset;
    }
    .auth-welcome-fs-sheet {
        border-radius: 28px !important;
        box-shadow:
            0 24px 60px color-mix(in srgb, var(--primary-dark, #0f2f22) 16%, transparent),
            0 1px 0 rgba(255, 255, 255, 0.65) inset;
    }
}
.auth-wave-field {
    border-radius: 999px !important;
    border: 1.5px solid color-mix(in srgb, var(--border, #e5ebe8) 88%, var(--primary, #154b34)) !important;
    background: color-mix(in srgb, var(--surface, #fff) 92%, var(--primary-light, #eaf7f1)) !important;
    color: var(--text) !important;
    padding: 12px 16px !important;
}
.auth-wave-modal.is-forms .auth-wave-field {
    padding: 10px 14px !important;
}
.auth-wave-field:focus-within {
    border-color: var(--primary) !important;
    background: var(--surface, #fff) !important;
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 16%, transparent);
}
.auth-wave-field-phone .phone-cc-select {
    color: var(--text) !important;
}
.auth-wave-field select {
    color: var(--text) !important;
}
.auth-wave-primary-btn {
    background: linear-gradient(
        105deg,
        var(--primary, #154b34) 0%,
        var(--accent, #3d9b6e) 55%,
        color-mix(in srgb, var(--accent, #3d9b6e) 70%, var(--primary-mint, #d8f3e7)) 100%
    ) !important;
    border: none !important;
    box-shadow: 0 12px 28px color-mix(in srgb, var(--primary) 32%, transparent) !important;
}
.auth-wave-outline-btn {
    border-radius: 999px !important;
    border: 1.5px solid var(--text, #1a2e26) !important;
    background: var(--surface, #fff) !important;
    color: var(--text, #1a2e26) !important;
    font-weight: 700 !important;
}
.auth-wave-secondary-btn {
    border-radius: 999px !important;
    border: 1px solid var(--border) !important;
    background: var(--surface) !important;
    font-weight: 700 !important;
    color: var(--text) !important;
}
.auth-wave-secondary-btn:hover {
    background: var(--primary-light) !important;
    border-color: color-mix(in srgb, var(--border) 70%, var(--primary)) !important;
    color: var(--primary) !important;
}

/* —— Loading —— */
.loading-screen {
    background:
        radial-gradient(900px 500px at 80% -10%, rgba(61, 155, 110, 0.12), transparent 55%),
        var(--bg) !important;
}
.loading-gradient-overlay {
    background: linear-gradient(
        165deg,
        rgba(21, 75, 52, 0.35) 0%,
        rgba(243, 245, 244, 0.72) 55%,
        rgba(15, 47, 34, 0.4) 100%
    ) !important;
}
.loading-title {
    font-weight: 800 !important;
    letter-spacing: -0.03em;
    color: var(--text) !important;
}
.loading-subtitle { color: var(--text-muted) !important; }
.loading-auth-icon {
    border-radius: 18px !important;
    border-color: var(--border) !important;
    box-shadow: var(--shadow) !important;
}
.loading-logo i,
#loadingIcon {
    color: var(--primary);
}

/* —— Motion —— */
@media (prefers-reduced-motion: no-preference) {
    .service-card,
    .gallery-item,
    .contact-item,
    .site-navbar .nav-link,
    .site-navbar .app-icon-btn,
    .filter-chips.minimal .filter-chip,
    .hero-cta,
    .hero-cta-primary,
    .hero-cta-ghost {
        transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.15s ease, border-color 0.15s ease;
    }
    .hero-brand {
        animation: donezoHeroIn 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
    }
    .hero-welcome {
        animation: donezoHeroIn 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.05s both;
    }
    .hero-tagline {
        animation: donezoHeroIn 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.12s both;
    }
    .hero-about {
        animation: donezoHeroIn 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.16s both;
    }
    .hero-btns {
        animation: donezoHeroIn 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.22s both;
    }
    .hero-visual {
        animation: donezoHeroVisual 1s cubic-bezier(0.22, 1, 0.36, 1) 0.12s both;
    }
}

@keyframes donezoHeroIn {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes donezoHeroVisual {
    from { opacity: 0; transform: translateX(24px); }
    to { opacity: 1; transform: translateX(0); }
}

/* Account dropdown (legacy Bootstrap menus only — not profile sheet) */
.account-menu.dropdown-menu,
.dropdown-menu.account-menu {
    border-radius: 18px !important;
    border: 1px solid var(--border) !important;
    box-shadow: var(--shadow-lift) !important;
    padding: 8px !important;
}
/* Desktop profile sheet: flush padding so brand/panel/footer match mobile sheet rhythm */
.account-menu.dropdown-menu.account-menu--desktop,
.dropdown-menu.account-menu.account-menu--desktop {
    border-radius: 20px !important;
    padding: 0 !important;
    box-shadow: 0 16px 40px color-mix(in srgb, var(--primary-dark, #0f2f22) 14%, transparent) !important;
}
.account-menu .dropdown-item {
    border-radius: 12px;
    font-weight: 600;
    padding: 10px 12px;
}
.account-menu .dropdown-item:hover {
    background: var(--primary-light);
    color: var(--primary);
}

/* Forms in modals */
.app-modal {
    border-radius: 22px !important;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-lift);
}
.app-modal .btn-dark { border-radius: 999px; }

/* FAQ / why-us soft cards */
#faq .accordion-item,
.faq-accordion .accordion-item {
    border: 1px solid var(--border) !important;
    border-radius: var(--radius) !important;
    overflow: hidden;
    margin-bottom: 10px;
    box-shadow: var(--shadow);
    background: var(--surface);
}
#faq .accordion-button {
    font-weight: 700;
    color: var(--text);
    background: var(--surface);
}
#faq .accordion-button:not(.collapsed) {
    background: var(--primary-light);
    color: var(--primary);
    box-shadow: none;
}
#faq .accordion-button:focus {
    box-shadow: 0 0 0 3px rgba(61, 155, 110, 0.16);
}

.seo-why-home {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
/* Prefer swipe carousel when present */
.why-us-carousel.h-scroll-wrap {
    display: flex;
}
.seo-why-home li {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 18px 18px 16px;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    gap: 6px;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.seo-why-home li:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lift);
}
.seo-why-home strong {
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--text);
}
.seo-why-home span {
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.5;
}
.seo-home-faq {
    max-width: 720px;
    margin: 0 auto;
}
.seo-home-faq details {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 4px 18px;
    margin-bottom: 10px;
    box-shadow: var(--shadow);
}
.seo-home-faq summary {
    cursor: pointer;
    font-weight: 700;
    padding: 14px 0;
    list-style: none;
    color: var(--text);
}
.seo-home-faq summary::-webkit-details-marker { display: none; }
.seo-home-faq details[open] summary { color: var(--primary); }
.seo-home-faq details p {
    margin: 0 0 14px;
    color: var(--text-muted);
    line-height: 1.55;
}
.seo-home-faq a { color: var(--primary); font-weight: 600; }
