
:root {
    --bg: #f8f6fb;
    --surface: #ffffff;
    --surface-soft: #f3eef8;
    --text: #23172e;
    --muted: #6c6177;
    --line: #e2d9eb;
    --primary: #6f4d88;
    --primary-strong: #56376f;
    --primary-soft: #ede5f4;
    --banner: #4d315f;
    --dark: #1f1528;
    --shadow: 0 20px 54px rgba(50, 26, 72, 0.10);
    --radius: 24px;
    --container: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.65;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1rem; }
h1,h2,h3,h4 { margin: 0 0 1rem; line-height: 1.12; }
.container { width: min(calc(100% - 2rem), var(--container)); margin: 0 auto; }
.narrow { max-width: 860px; }
.section { padding: 4.5rem 0; }
.section-top { padding-top: 1.8rem; }
.section-soft { background: linear-gradient(180deg, rgba(111, 77, 136, 0.05), rgba(111, 77, 136, 0.02)); }
.grid { display: grid; gap: 1.5rem; }
.card-grid { display: grid; gap: 1.5rem; }
.two-col { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.three-col { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 1.5rem;
}
.subtle-card { background: rgba(255,255,255,0.86); }
.eyebrow {
    display: inline-block;
    margin-bottom: 0.75rem;
    color: var(--primary-strong);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-size: 0.78rem;
    font-weight: 800;
}
.eyebrow.light { color: rgba(255,255,255,0.84); }
.section-heading { margin-bottom: 2rem; text-align: center; }
.section-heading.left { text-align: left; }
.section-heading.tight { margin-bottom: 0; }
.center-text { text-align: center; }
.stack-lg > * + * { margin-top: 1rem; }
.top-gap { margin-top: 1rem; }
.small-note { font-size: 0.95rem; color: var(--muted); }

.site-banner {
    background: linear-gradient(135deg, var(--banner), #684281);
    color: #fff;
    font-size: 0.94rem;
}
.banner-inner {
    min-height: 52px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    text-align: center;
    color: #fff;
    font-weight: 700;
    padding: 0.85rem 0;
}
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(248, 246, 251, 0.95);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(111, 77, 136, 0.08);
}
.nav-shell {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 82px;
}
.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.9rem;
    min-width: 0;
}
.brand img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 0.25rem;
}
.brand strong { display: block; font-size: 1rem; }
.brand span { display: block; font-size: 0.88rem; color: var(--muted); }
.site-nav {
    display: flex;
    align-items: center;
    gap: 0.7rem;
}
.site-nav a {
    color: var(--muted);
    font-weight: 600;
    padding: 0.68rem 0.9rem;
    border-radius: 999px;
}
.site-nav a.active,
.site-nav a:hover {
    color: var(--primary-strong);
    background: rgba(111, 77, 136, 0.10);
}
.nav-toggle {
    display: none;
    border: 1px solid var(--line);
    background: #fff;
    border-radius: 14px;
    padding: 0.7rem 0.85rem;
    font-size: 1.1rem;
}
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    padding: 0.95rem 1.3rem;
    border-radius: 999px;
    font-weight: 700;
    transition: 0.18s ease;
}
.button:hover { transform: translateY(-1px); }
.button-small { padding: 0.8rem 1rem; }
.button-accent {
    background: var(--primary);
    color: #fff !important;
}
.button-accent:hover { background: var(--primary-strong); }
.button-light {
    background: #fff;
    color: var(--text) !important;
    border: 1px solid var(--line);
}
.button-outline-light {
    background: rgba(255,255,255,0.12);
    color: #fff !important;
    border: 1px solid rgba(255,255,255,0.42);
    backdrop-filter: blur(8px);
}
.hero {
    position: relative;
    min-height: 76vh;
    display: flex;
    align-items: stretch;
    overflow: hidden;
}
.hero-slideshow,
.hero-slide,
.hero-overlay {
    position: absolute;
    inset: 0;
}
.hero-slide { opacity: 0; transition: opacity 0.8s ease; }
.hero-slide.is-active { opacity: 1; }
.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hero-overlay {
    background:
        linear-gradient(180deg, rgba(24, 16, 33, 0.56), rgba(24, 16, 33, 0.42)),
        linear-gradient(90deg, rgba(57, 35, 75, 0.16), rgba(57, 35, 75, 0.10));
}
.hero-copy-shell {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 5rem 0;
}
.hero-copy {
    max-width: 860px;
    text-align: center;
    color: #fff;
    padding: 2rem;
}
.hero-copy h1 {
    font-size: clamp(2.5rem, 6vw, 4.9rem);
    color: #fff;
    text-wrap: balance;
}
.hero-copy p {
    font-size: 1.15rem;
    max-width: 760px;
    margin: 0 auto;
    color: rgba(255,255,255,0.92);
}
.hero-actions,
.cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    margin-top: 1.6rem;
}
.hero-actions.centered { justify-content: center; }
.intro-grid {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 1.5rem;
    align-items: start;
}
.feature-list { display: grid; gap: 1rem; }
.feature-item h3 { margin-bottom: 0.4rem; }
.service-card h3, .team-card h3 { margin-bottom: 0.35rem; }
.price-tag {
    display: inline-flex;
    padding: 0.42rem 0.75rem;
    border-radius: 999px;
    background: var(--primary-soft);
    color: var(--primary-strong);
    font-size: 0.82rem;
    font-weight: 700;
    margin-bottom: 0.9rem;
}
.team-card {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}
.team-photo {
    width: 92px;
    height: 92px;
    border-radius: 24px;
    object-fit: cover;
    flex: 0 0 auto;
    background: linear-gradient(180deg, rgba(111,77,136,0.16), rgba(111,77,136,0.08));
}
.team-photo-placeholder {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-strong);
    font-size: 2rem;
    font-weight: 800;
}
.role {
    color: var(--primary-strong);
    font-weight: 700;
    margin-bottom: 0.5rem;
}
.map-section {
    grid-template-columns: 0.95fr 1.05fr;
    align-items: start;
}
.quick-details {
    display: grid;
    gap: 1rem;
    margin-top: 1.2rem;
}
.quick-details.compact {
    gap: 0.75rem;
    margin-top: 0.75rem;
}
.quick-details div { display: grid; gap: 0.25rem; }
.contact-action-box .cta-actions {
    margin-top: 1.2rem;
}
.home-contact-grid {
    align-items: stretch;
}
.map-card {
    position: relative;
    z-index: 0;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    min-height: 420px;
    display: flex;
    flex-direction: column;
}
.map-frame {
    position: relative;
    z-index: 0;
    width: 100%;
    min-height: 420px;
}
.leaflet-pane,
.leaflet-top,
.leaflet-bottom,
.leaflet-control {
    z-index: 1 !important;
}
.about-layout {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 1.5rem;
    align-items: start;
}
.stat-panel { display: grid; gap: 1rem; }

.logo-panel {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 320px;
    padding: 2rem;
}
.about-logo {
    width: min(100%, 320px);
    max-height: 320px;
    object-fit: contain;
    display: block;
}
.stat-item {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--line);
}
.stat-item:last-child { border-bottom: 0; padding-bottom: 0; }
.stat-item span { color: var(--muted); }
.service-row {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
}
.service-price {
    white-space: nowrap;
    color: var(--primary-strong);
    font-size: 1.1rem;
}
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 0.95fr;
    gap: 1.5rem;
    align-items: start;
}
.contact-cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}
.contact-card span {
    display: block;
    font-size: 0.88rem;
    color: var(--muted);
    margin-bottom: 0.35rem;
}
.contact-card strong { font-size: 1.05rem; }
.contact-card.highlight { background: linear-gradient(180deg, rgba(111,77,136,0.11), rgba(111,77,136,0.05)); }
.hours-panel { margin-top: 0; }
.hours-list { display: grid; gap: 0.75rem; }
.hours-list div {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    border-bottom: 1px solid var(--line);
    padding-bottom: 0.75rem;
}
.site-footer {
    background: var(--dark);
    color: rgba(255,255,255,0.9);
    padding: 2.4rem 0 2rem;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 1.5rem;
}
.site-footer p,
.site-footer a { color: rgba(255,255,255,0.76); }
.footer-bottom {
    margin-top: 1.6rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255,255,255,0.10);
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    font-size: 0.92rem;
}
.debug-box {
    white-space: pre-wrap;
    word-break: break-word;
    background: #f6f1fb;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 1rem;
}

@media (max-width: 980px) {
    .intro-grid,
    .map-section,
    .about-layout,
    .contact-layout,
    .footer-grid,
    .three-col,
    .contact-cards {
        grid-template-columns: 1fr;
    }
    .service-row,
    .footer-bottom,
    .banner-inner {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 780px) {
    .nav-toggle { display: inline-flex; }
    .site-nav {
        display: none;
        position: absolute;
        left: 1rem;
        right: 1rem;
        top: calc(100% + 0.75rem);
        flex-direction: column;
        align-items: stretch;
        background: rgba(255,255,255,0.98);
        border: 1px solid var(--line);
        border-radius: 20px;
        box-shadow: var(--shadow);
        padding: 1rem;
    }
    .site-nav.is-open { display: flex; }
    .site-nav a, .site-nav .button { text-align: center; }
    .hero { min-height: 72vh; }
    .hero-copy { padding: 1.5rem 0.25rem; }
    .hero-copy h1 { font-size: clamp(2.2rem, 10vw, 3.4rem); }
    .hero-copy p { font-size: 1rem; }
    .section { padding: 3.6rem 0; }
    .team-card { flex-direction: column; }
}


.brands-section,
.brands-footer {
    width: 100%;
}
.brands-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1rem;
    align-items: stretch;
}
.brands-grid.is-footer {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    margin-top: 1.2rem;
}
.brand-chip {
    min-height: 118px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    background: rgba(255,255,255,0.78);
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 1rem;
    text-align: center;
    box-shadow: var(--shadow);
}
.brand-chip img {
    max-height: 48px;
    width: auto;
    object-fit: contain;
}
.brands-grid.is-footer .brand-chip {
    min-height: 92px;
    box-shadow: none;
    background: rgba(255,255,255,0.5);
}
.brand-chip span {
    font-size: 0.9rem;
    color: var(--muted);
    font-weight: 700;
}
.image-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin: 0 0 1.5rem;
}
.image-tile {
    margin: 0;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--line);
    background: var(--surface);
    box-shadow: var(--shadow);
    aspect-ratio: 1.25 / 0.9;
}
.image-tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.site-footer {
    padding-top: 2rem;
}
@media (max-width: 980px) {
    .brands-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}
@media (max-width: 760px) {
    .brands-grid,
    .image-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .brands-grid.is-footer {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 520px) {
    .brands-grid,
    .brands-grid.is-footer,
    .image-strip {
        grid-template-columns: 1fr;
    }
    .brand-chip img {
        max-height: 54px;
    }
}

.button-facebook {
    background: #1877f2;
    color: #fff !important;
}
.button-facebook:hover { background: #1666cf; }
.map-attribution {
    padding: 0.7rem 1rem 0.95rem;
    font-size: 0.82rem;
    color: var(--muted);
    background: var(--surface);
    border-top: 1px solid var(--line);
    text-align: left;
}
.brands-footer { display: none; }

@media (max-width: 900px) {
    .contact-layout,
    .about-layout,
    .intro-grid,
    .map-section,
    .two-col,
    .three-col,
    .card-grid,
    .footer-grid {
        grid-template-columns: 1fr !important;
    }
    .service-row {
        flex-direction: column;
        align-items: flex-start;
    }
    .map-card,
    .map-frame {
        min-height: 320px;
    }
}

.contact-layout { grid-template-columns: 1fr; }


.home-hours-panel {
    max-width: 100%;
}

@media (max-width: 720px) {
    .banner-inner {
        min-height: 0;
        padding: 0.9rem 0;
        align-items: center;
    }
}


.welcome-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(320px, 0.95fr);
    gap: 1.25rem;
    align-items: center;
}
.welcome-heading h2 {
    max-width: 16ch;
}
.welcome-card {
    max-width: 700px;
}
.home-contact-grid,
.contact-cards-grid {
    align-items: stretch;
}
.home-contact-grid > .card,
.home-contact-grid > .contact-action-box,
.home-contact-grid > .hours-panel {
    height: 100%;
}
.contact-action-box,
.hours-panel {
    display: flex;
    flex-direction: column;
}
.contact-action-box .cta-actions {
    margin-top: auto;
}
@media (max-width: 900px) {
    .welcome-grid {
        grid-template-columns: 1fr;
    }
    .welcome-heading h2,
    .welcome-card {
        max-width: none;
    }
}

.home-contact-grid > * { height: 100%; }
.contact-action-box, .hours-panel { display: flex; flex-direction: column; }


.button-facebook {
    background: #1877f2;
    color: #fff !important;
}
.button-facebook:hover { background: #1668d4; }
.button-danger {
    background: #8b2f45;
    color: #fff !important;
}
.admin-wrap { max-width: 1320px; }
.admin-login-card { max-width: 560px; margin: 0 auto; }
.admin-login-form,
.admin-row-form { display: grid; gap: 1rem; }
.admin-login-form label,
.admin-field { display: grid; gap: 0.45rem; }
.admin-login-form input,
.admin-field input,
.admin-field textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 0.85rem 0.95rem;
    font: inherit;
    background: #fff;
    color: var(--text);
}
.admin-field textarea { min-height: 120px; resize: vertical; }
.admin-header {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
    margin-bottom: 1.5rem;
}
.admin-layout {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 1.5rem;
    align-items: start;
}
.admin-sidebar {
    position: sticky;
    top: 100px;
}
.admin-table-nav { display: grid; gap: 0.45rem; }
.admin-table-nav a {
    padding: 0.8rem 0.95rem;
    border-radius: 14px;
    color: var(--muted);
    font-weight: 600;
}
.admin-table-nav a:hover,
.admin-table-nav a.active {
    background: var(--primary-soft);
    color: var(--primary-strong);
}
.admin-table-card,
.admin-create,
.admin-rows-stack { display: grid; gap: 1rem; }
.admin-table-head {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: end;
}
.admin-fields-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}
.admin-field-wide { grid-column: 1 / -1; }
.admin-form-actions,
.admin-row-topline { display: flex; gap: 0.75rem; align-items: center; }
.admin-delete-form { margin: -0.35rem 0 0.65rem; }
.admin-upload-box {
    display: grid;
    gap: 0.5rem;
    padding: 0.75rem;
    background: var(--surface-soft);
    border: 1px dashed var(--line);
    border-radius: 14px;
}
.admin-upload-box img {
    max-width: 180px;
    max-height: 120px;
    object-fit: contain;
    border-radius: 10px;
    background: #fff;
    border: 1px solid var(--line);
}
.admin-flash {
    margin-bottom: 1rem;
    padding: 1rem 1.1rem;
    border-radius: 16px;
    font-weight: 600;
}
.admin-flash-success { background: #e8f6ec; color: #225f34; border: 1px solid #bfe4c9; }
.admin-flash-error { background: #fff0f1; color: #8b2f45; border: 1px solid #f0c5cb; }
@media (max-width: 980px) {
    .admin-layout { grid-template-columns: 1fr; }
    .admin-sidebar { position: static; }
    .admin-fields-grid { grid-template-columns: 1fr; }
    .admin-header { align-items: start; flex-direction: column; }
}

.admin-filter-form{margin:0 0 1rem}.admin-filter-label{display:flex;gap:.75rem;align-items:center;flex-wrap:wrap}.admin-filter-label select{padding:.65rem .8rem;border:1px solid #d9d1e6;border-radius:12px;background:#fff}.image-tile img{display:block;width:100%;height:100%;object-fit:cover}

.admin-field-compact input{max-width:12rem}


.admin-static-value {
    min-height: 48px;
    display: flex;
    align-items: center;
    padding: 0.85rem 0.95rem;
    border: 1px solid rgba(33, 22, 58, 0.14);
    border-radius: 14px;
    background: #f6f3fb;
    color: #2b2340;
    font-weight: 600;
    line-height: 1.35;
    word-break: break-word;
}
