:root {
    --brand: #872649;
    --brand-dark: #5f1932;
    --brand-ink: #2c1821;
    --brand-soft: #d4b2bf;
    --brand-blush: #f7edf1;
    --brand-line: rgba(135, 38, 73, 0.16);
    --brand-shadow: 0 28px 70px rgba(69, 18, 38, 0.16);
    --surface: #ffffff;
    --surface-alt: #fbf7f9;
    --text: #302129;
    --muted: #6f6168;
    --topbar: #261720;
}

html, body {
    margin: 0;
    padding: 0;
    background: linear-gradient(180deg, #fff 0%, #fbf7f9 100%);
    color: var(--text);
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
}

a {
    color: var(--brand);
    text-decoration: none;
}

a:hover {
    color: var(--brand-dark);
}

.site-topbar {
    background: var(--topbar);
    color: rgba(255,255,255,0.82);
    font-size: .9rem;
    padding: .7rem 0;
}

.site-topbar i {
    color: var(--brand-soft);
}

.topbar-copy,
.topbar-meta span {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
}

.site-navbar {
    background: rgba(255,255,255,0.96);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(26, 10, 18, 0.07);
    box-shadow: 0 10px 26px rgba(36, 13, 22, 0.06);
}

.navbar-toggler {
    border: 1px solid rgba(135,38,73,0.18);
    border-radius: 14px;
    padding: .55rem .7rem;
    box-shadow: none !important;
}

.navbar-toggler:focus {
    border-color: rgba(135,38,73,0.4);
}

.navbar-toggler-icon {
    background-image: none;
    width: 1.35rem;
    height: 1.35rem;
    position: relative;
}

.navbar-toggler-icon::before,
.navbar-toggler-icon::after,
.navbar-toggler-icon {
    display: inline-block;
}

.navbar-toggler-icon::before,
.navbar-toggler-icon::after {
    content: "";
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    border-radius: 999px;
    background: var(--brand-dark);
    box-shadow: 0 6px 0 var(--brand-dark);
}

.navbar-toggler-icon::before {
    top: .2rem;
}

.navbar-toggler-icon::after {
    top: .8rem;
    box-shadow: none;
}

.brand-logo {
    width: 58px;
    height: 58px;
    object-fit: contain;
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(247,237,241,0.94));
    box-shadow: 0 14px 34px rgba(135, 38, 73, 0.12);
}

.brand-title {
    display: block;
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--brand-dark);
    line-height: 1.05;
}

.brand-tagline {
    color: var(--muted);
    font-size: .85rem;
}

.navbar-nav .nav-link {
    color: var(--text);
    font-size: .87rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    padding: 1.45rem 1.1rem !important;
    position: relative;
}

.navbar-nav .nav-link.active,
.navbar-nav .nav-link:hover {
    color: var(--brand-dark);
}

.navbar-nav .nav-link.active::after,
.navbar-nav .nav-link:hover::after {
    content: "";
    position: absolute;
    inset-inline: 1rem;
    bottom: .9rem;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--brand), var(--brand-dark));
}

.nav-cta {
    margin-left: .4rem;
}

.hero-section {
    padding: 0 0 4rem;
    background: linear-gradient(180deg, #fff 0, #fcf7f9 100%);
}

.hero-shell {
    position: relative;
    overflow: hidden;
    min-height: 540px;
    padding: 4.5rem 4rem;
    border-radius: 0 0 36px 36px;
    background:
        radial-gradient(circle at 78% 32%, rgba(212,178,191,0.22), transparent 18%),
        radial-gradient(circle at 16% 72%, rgba(255,255,255,0.10), transparent 20%),
        linear-gradient(110deg, rgba(31,19,24,0.96) 0%, rgba(62,23,40,0.95) 45%, rgba(96,25,50,0.92) 100%);
    box-shadow: var(--brand-shadow);
}

.hero-shell::before,
.hero-shell::after {
    content: "";
    position: absolute;
    width: 430px;
    height: 430px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.07);
    filter: blur(0.2px);
}

.hero-shell::before {
    top: -180px;
    right: -120px;
    background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.02) 46%, transparent 70%);
}

.hero-shell::after {
    bottom: -240px;
    left: -150px;
    background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.02) 46%, transparent 70%);
}

.hero-ornament {
    position: absolute;
    border-radius: 999px;
    z-index: 1;
}

.hero-ornament-a {
    right: 10%;
    top: 18%;
    width: 82px;
    height: 82px;
    background: radial-gradient(circle at 35% 30%, #d9b7c3 0, #9e4d6a 28%, #5f1932 72%);
    box-shadow: 0 0 0 14px rgba(255,255,255,0.04), -110px -40px 0 -18px rgba(255,255,255,0.16), -140px -65px 0 -44px rgba(255,255,255,0.06);
}

.hero-ornament-b {
    left: 9%;
    bottom: 18%;
    width: 70px;
    height: 70px;
    background: radial-gradient(circle at 35% 30%, #d9b7c3 0, #9e4d6a 28%, #5f1932 72%);
    box-shadow: 92px 54px 0 -28px rgba(255,255,255,0.14), 118px 72px 0 -52px rgba(255,255,255,0.05);
}

.hero-ornament-c {
    left: 64%;
    top: 46%;
    width: 112px;
    height: 112px;
    opacity: .16;
    background: radial-gradient(circle, rgba(255,255,255,0.55) 0%, rgba(255,255,255,0.04) 62%, transparent 76%);
    border: 1px solid rgba(255,255,255,0.08);
}

.hero-kicker,
.section-kicker,
.mini-kicker {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    text-transform: uppercase;
    letter-spacing: .16em;
    font-size: .78rem;
    font-weight: 700;
}

.hero-kicker {
    padding: .55rem .9rem;
    margin-bottom: 1.25rem;
    border-radius: 999px;
    background: rgba(255,255,255,0.10);
    color: #f6e7ed;
    border: 1px solid rgba(255,255,255,0.14);
}

.hero-shell h1 {
    color: #fff;
    font-size: clamp(2.3rem, 5vw, 4.6rem);
    font-weight: 800;
    line-height: 1.03;
    margin-bottom: 1rem;
    max-width: 720px;
}

.hero-shell .lead {
    color: rgba(255,255,255,0.82);
    font-size: 1.12rem;
    max-width: 670px;
}

.btn-brand {
    background: linear-gradient(135deg, var(--brand), var(--brand-dark));
    color: #fff;
    border: 0;
    border-radius: 14px;
    font-weight: 700;
    padding: .92rem 1.25rem;
    box-shadow: 0 16px 36px rgba(135, 38, 73, 0.22);
}

.btn-brand:hover,
.btn-brand:focus {
    background: linear-gradient(135deg, var(--brand-dark), var(--brand));
    color: #fff;
}

.btn-outline-brand {
    background: rgba(255,255,255,0.06);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.22);
    border-radius: 14px;
    font-weight: 700;
    padding: .92rem 1.25rem;
}

.btn-outline-brand:hover,
.btn-outline-brand:focus {
    color: #fff;
    background: rgba(255,255,255,0.11);
    border-color: rgba(255,255,255,0.35);
}

.hero-panel-grid {
    display: grid;
    gap: 1rem;
}

.hero-panel {
    position: relative;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: 24px;
    padding: 1.25rem 1.35rem;
    color: #fff;
    backdrop-filter: blur(10px);
}

.hero-panel span {
    display: block;
    color: rgba(255,255,255,0.68);
    font-size: .82rem;
    text-transform: uppercase;
    letter-spacing: .12em;
    margin-bottom: .45rem;
}

.hero-panel strong {
    display: block;
    font-size: 1.1rem;
    font-weight: 700;
}

.hero-panel-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    min-height: 140px;
}

.hero-logo {
    width: 88px;
    height: 88px;
    object-fit: contain;
    padding: .55rem;
    background: rgba(255,255,255,0.94);
    border-radius: 22px;
}

.hero-panel-logo p {
    color: rgba(255,255,255,0.72);
}

.section-block {
    padding: 4.5rem 0;
}

.section-heading {
    max-width: 860px;
    margin: 0 auto 2.4rem;
}

.section-kicker,
.mini-kicker {
    color: var(--brand);
}

.section-heading h2 {
    font-size: clamp(2rem, 3vw, 3rem);
    color: var(--brand-dark);
    font-weight: 800;
    margin-bottom: .85rem;
}

.section-heading p {
    color: var(--muted);
    font-size: 1.05rem;
}

.service-feature-card,
.editorial-card,
.cta-card,
.service-detail-card,
.location-card,
.contact-form-shell,
.contact-info-panel,
.metric-card,
.content-card,
.sidebar-card,
.footer-card,
.login-card,
.list-group-item {
    background: var(--surface);
    border: 1px solid var(--brand-line);
    border-radius: 28px;
    box-shadow: var(--brand-shadow);
}

.service-feature-card,
.service-detail-card,
.location-card {
    padding: 2rem 1.7rem;
    height: 100%;
}

.service-icon {
    width: 72px;
    height: 72px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.2rem;
    background: linear-gradient(135deg, rgba(135,38,73,0.12), rgba(95,25,50,0.08));
    color: var(--brand);
    font-size: 1.8rem;
}

.service-feature-card h3,
.editorial-card h2,
.editorial-card h3,
.cta-card h3,
.service-detail-card h3,
.location-card h3,
.contact-info-panel h3,
.content-card h3,
.sidebar-card h3 {
    color: var(--brand-dark);
    font-weight: 800;
}

.service-feature-card p,
.editorial-card p,
.editorial-card li,
.cta-card p,
.service-detail-card p,
.location-card p,
.contact-info-panel p,
.content-card p,
.content-card li,
.sidebar-card p,
.sidebar-card span,
.footer-card p,
.footer-card small {
    color: var(--muted);
}

.editorial-card,
.contact-info-panel,
.content-card,
.sidebar-card {
    padding: 2rem;
}

.editorial-card ul,
.content-card ul,
.content-card ol {
    padding-left: 1.2rem;
}

.cta-stack {
    display: grid;
    gap: 1.25rem;
}

.cta-card {
    padding: 1.8rem;
}

.cta-card-primary {
    background: linear-gradient(135deg, #fff 0%, var(--brand-blush) 100%);
}

.service-detail-card {
    min-height: 240px;
}

.sticky-card {
    position: sticky;
    top: 120px;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
}

.location-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
}

.location-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: .45rem .8rem;
    border-radius: 999px;
    background: rgba(135,38,73,0.08);
    color: var(--brand);
    font-size: .82rem;
    font-weight: 700;
}

.location-phone,
.info-line {
    display: flex;
    align-items: flex-start;
    gap: .75rem;
}

.location-phone i,
.info-line i {
    color: var(--brand);
    margin-top: .15rem;
}

.map-frame {
    width: 100%;
    min-height: 300px;
    border: 0;
    border-radius: 22px;
    background: #f7f0f3;
    margin-top: 1rem;
}

.contact-form-shell {
    padding: 2rem;
}

.contact-info-panel {
    height: 100%;
    background: linear-gradient(160deg, #fff 0%, var(--brand-blush) 100%);
}

.info-line {
    margin-bottom: 1rem;
}

.form-label {
    font-weight: 700;
    color: var(--brand-dark);
}

.form-control,
.form-select,
textarea {
    border-radius: 16px;
    border: 1px solid rgba(135,38,73,0.18);
    padding: .92rem 1rem;
    box-shadow: none !important;
}

.form-control:focus,
.form-select:focus,
textarea:focus {
    border-color: rgba(135,38,73,0.5);
}

.alert-success {
    background: #eefaf2;
    color: #17663d;
}

.alert-danger {
    background: #fef0f2;
    color: #8d2840;
}

.metric-card {
    padding: 1.6rem;
}

.metric-card span {
    display: block;
    color: var(--muted);
    margin-bottom: .4rem;
}

.metric-card strong {
    display: block;
    color: var(--brand-dark);
    font-size: 2rem;
    line-height: 1;
}

.content-card,
.sidebar-card {
    padding: 1.8rem;
}

.list-group-item {
    border: 1px solid var(--brand-line) !important;
    padding: 1rem 0;
    box-shadow: none;
    border-radius: 0;
    background: transparent;
}

.site-footer {
    padding: 0 0 2.4rem;
}

.footer-card {
    background: linear-gradient(135deg, #261720 0%, #3c1d2b 100%);
    color: rgba(255,255,255,0.86);
    padding: 1.55rem 1.7rem;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
}

.footer-card strong,
.footer-card small,
.footer-card p,
.footer-card div {
    color: inherit;
}

.login-shell {
    max-width: 560px;
}

.hero-section-admin .hero-shell {
    min-height: 320px;
    border-radius: 0 0 28px 28px;
}

.admin-area .site-navbar .nav-link,
.admin-area .site-topbar {
    display: none;
}

.table thead th {
    color: var(--brand-dark);
    border-bottom-color: rgba(135,38,73,0.18);
}

.table > :not(caption) > * > * {
    border-bottom-color: rgba(135,38,73,0.10);
}


.text-break-soft,
.location-card p,
.contact-info-panel p,
.footer-card p,
.footer-card small,
.topbar-meta span,
.topbar-copy span {
    overflow-wrap: anywhere;
}

.hero-actions {
    gap: 1rem;
}

.hero-actions .btn {
    min-width: 220px;
}

iframe.map-frame {
    max-width: 100%;
}

@media (max-width: 1199.98px) {
    .hero-shell {
        padding: 4rem 2.8rem;
    }
}

@media (max-width: 991.98px) {
    .site-topbar .container {
        align-items: flex-start !important;
    }

    .topbar-meta {
        gap: .65rem 1rem !important;
    }

    .site-navbar {
        padding: .55rem 0;
    }

    .navbar-brand {
        max-width: calc(100% - 72px);
        margin-right: 1rem;
    }

    .navbar-collapse {
        margin-top: 1rem;
        padding: 1rem 1.1rem;
        background: rgba(255,255,255,0.98);
        border: 1px solid rgba(135,38,73,0.10);
        border-radius: 22px;
        box-shadow: 0 20px 50px rgba(69,18,38,0.08);
    }

    .navbar-nav {
        align-items: flex-start !important;
    }

    .navbar-nav .nav-link {
        padding: .85rem 0 !important;
    }

    .navbar-nav .nav-link.active::after,
    .navbar-nav .nav-link:hover::after {
        display: none;
    }

    .nav-cta {
        margin-left: 0;
        margin-top: .5rem;
    }

    .hero-shell {
        min-height: auto;
        padding: 3rem 1.7rem;
        border-radius: 0 0 28px 28px;
    }

    .hero-panel-grid {
        grid-template-columns: 1fr;
    }

    .hero-panel {
        padding: 1.1rem 1.15rem;
    }

    .sticky-card {
        position: static;
    }

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

    .footer-card {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 767.98px) {
    .site-topbar {
        font-size: .82rem;
        padding: .55rem 0;
    }

    .topbar-copy {
        width: 100%;
    }

    .topbar-meta {
        width: 100%;
        flex-direction: column;
        gap: .45rem !important;
    }

    .brand-logo {
        width: 50px;
        height: 50px;
        border-radius: 14px;
    }

    .brand-title {
        font-size: 1.02rem;
    }

    .brand-tagline {
        display: none !important;
    }

    .hero-section {
        padding-bottom: 2.8rem;
    }

    .hero-shell {
        padding: 2.25rem 1rem;
        border-radius: 0 0 22px 22px;
    }

    .hero-shell h1 {
        font-size: 2rem;
        line-height: 1.06;
    }

    .hero-shell .lead {
        font-size: 1rem;
    }

    .hero-kicker,
    .section-kicker,
    .mini-kicker {
        letter-spacing: .11em;
        font-size: .72rem;
    }

    .hero-actions {
        display: flex;
        flex-direction: column;
    }

    .hero-actions .btn,
    .nav-cta {
        width: 100%;
        min-width: 0;
    }

    .hero-panel-logo {
        flex-direction: column;
        text-align: center;
        min-height: auto;
    }

    .hero-logo {
        width: 72px;
        height: 72px;
    }

    .hero-ornament-a,
    .hero-ornament-b {
        transform: scale(.68);
        opacity: .8;
    }

    .hero-ornament-c {
        display: none;
    }

    .section-block {
        padding: 3.3rem 0;
    }

    .section-heading {
        margin-bottom: 2rem;
    }

    .section-heading h2 {
        font-size: 1.8rem;
    }

    .contact-form-shell,
    .editorial-card,
    .contact-info-panel,
    .content-card,
    .sidebar-card,
    .location-card,
    .service-feature-card,
    .service-detail-card,
    .cta-card,
    .hero-panel {
        padding: 1.35rem;
        border-radius: 22px;
    }

    .service-icon {
        width: 60px;
        height: 60px;
        font-size: 1.45rem;
    }

    .location-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .map-frame {
        min-height: 240px;
        border-radius: 18px;
    }

    .form-control,
    .form-select,
    textarea {
        font-size: 16px;
    }
}

@media (max-width: 479.98px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .site-navbar .container {
        gap: .75rem;
    }

    .brand-title {
        font-size: .96rem;
    }

    .hero-shell h1 {
        font-size: 1.72rem;
    }

    .hero-shell .lead {
        font-size: .96rem;
    }

    .section-heading h2,
    .editorial-card h2 {
        font-size: 1.55rem;
    }

    .contact-form-shell,
    .editorial-card,
    .contact-info-panel,
    .content-card,
    .sidebar-card,
    .location-card,
    .service-feature-card,
    .service-detail-card,
    .cta-card,
    .hero-panel {
        padding: 1.15rem;
    }
}
