:root {
    --pcg-ink: #1f2a28;
    --pcg-clay: #c97f5f;
    --pcg-sand: #f3ede5;
    --pcg-mist: #e8f0ec;
}

#logo .brand-mark {
    align-items: center;
    background: rgba(255, 255, 255, 0.94);
    border-radius: 999px;
    box-shadow: 0 14px 35px rgba(31, 42, 40, 0.12);
    display: inline-flex;
    gap: 0.75rem;
    padding: 0.55rem 0.95rem;
    text-decoration: none;
}

#logo .brand-mark__icon {
    align-items: center;
    background: linear-gradient(135deg, var(--pcg-clay), #e5b08c);
    border-radius: 50%;
    color: #fff;
    display: inline-flex;
    font-size: 0.82rem;
    font-weight: 700;
    height: 2.6rem;
    justify-content: center;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    width: 2.6rem;
}

#logo .brand-mark__text {
    color: var(--pcg-ink);
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

#logo .brand-mark__eyebrow {
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

#logo .brand-mark__name {
    font-size: 1rem;
    font-weight: 700;
}

.footer-brand {
    color: #fff;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    line-height: 1.2;
}

.footer-brand span {
    color: rgba(255, 255, 255, 0.7);
    display: block;
    font-size: 0.75rem;
    letter-spacing: 0.16em;
    margin-bottom: 0.45rem;
    text-transform: uppercase;
}

.pcg-note,
.portal-status {
    background: var(--pcg-sand);
    border-left: 4px solid var(--pcg-clay);
    border-radius: 0.75rem;
    color: var(--pcg-ink);
    padding: 1rem 1.1rem;
}

.portal-status {
    margin-top: 1rem;
}

.pcg-muted {
    color: rgba(31, 42, 40, 0.78);
}

.pcg-card {
    background: #fff;
    border-radius: 1rem;
    box-shadow: 0 16px 40px rgba(31, 42, 40, 0.08);
    padding: 2rem;
}

.pcg-checklist {
    list-style: none;
    margin: 0;
    padding: 0;
}

.pcg-checklist li {
    margin-bottom: 0.75rem;
    padding-left: 1.4rem;
    position: relative;
}

.pcg-checklist li::before {
    color: var(--pcg-clay);
    content: "+";
    font-weight: 700;
    left: 0;
    position: absolute;
    top: 0;
}

@media (max-width: 767.98px) {
    #logo .brand-mark {
        padding: 0.5rem 0.75rem;
    }

    #logo .brand-mark__name {
        font-size: 0.88rem;
    }
}
/* ====== Navigation Fix ====== */
header.transparent #mainmenu > li > a,
header.transparent #mainmenu > li.has-child:after {
    color: var(--pcg-ink) !important;
}
header.transparent #topbar,
header.transparent #topbar a,
header.transparent .topbar-widget a {
    color: var(--pcg-ink);
}
header.transparent .social-icons a i {
    color: var(--pcg-ink);
}
header.smaller #mainmenu > li > a,
header.smaller #mainmenu > li.has-child:after {
    color: var(--pcg-ink) !important;
}
header.smaller {
    background: rgba(255, 255, 255, 0.97) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}
#mainmenu > li > a:hover {
    color: var(--pcg-clay) !important;
}
.btn-main.btn-line {
    border-color: var(--pcg-clay);
    color: var(--pcg-clay);
}
.btn-main.btn-line:hover {
    background: var(--pcg-clay);
    color: #fff;
}

/* ====== Compact nav for single row ====== */
#mainmenu > li {
    margin-right: 14px;
}
#mainmenu > li > a {
    font-size: 13px;
    padding-top: 20px;
    padding-bottom: 20px;
}
#mainmenu li ul {
    min-width: 200px;
}

/* ====== Header business info bar ====== */
.pcg-info-bar {
    background: var(--pcg-ink);
    color: rgba(255,255,255,0.85);
    font-size: 0.78rem;
    padding: 6px 0;
    letter-spacing: 0.02em;
}
.pcg-info-bar a {
    color: rgba(255,255,255,0.9);
    text-decoration: none;
}
.pcg-info-bar a:hover {
    color: #fff;
}
.pcg-info-bar .fa-solid,
.pcg-info-bar .icofont-location-pin,
.pcg-info-bar .icofont-phone {
    color: var(--pcg-clay);
    margin-right: 5px;
}

/* ====== Premium Footer ====== */
footer {
    background: linear-gradient(160deg, #1a2522 0%, #0f1a17 100%) !important;
    padding-top: 60px !important;
}
footer .footer-brand {
    font-size: 1.6rem;
    margin-bottom: 10px;
}
footer .widget h2 {
    font-size: 1rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 18px;
    color: rgba(255,255,255,0.95);
}
footer .widget ul li {
    margin-bottom: 8px;
}
footer .widget ul li a {
    color: rgba(255,255,255,0.65);
    transition: color 0.2s, padding-left 0.2s;
}
footer .widget ul li a:hover {
    color: var(--pcg-clay);
    padding-left: 4px;
}
footer .social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 50%;
    margin-right: 6px;
    transition: all 0.3s;
}
footer .social-icons a:hover {
    background: var(--pcg-clay);
    border-color: var(--pcg-clay);
}
footer .pcg-footer-contact {
    background: rgba(255,255,255,0.04);
    border-radius: 12px;
    padding: 20px;
    border: 1px solid rgba(255,255,255,0.06);
}
footer .pcg-footer-contact .fw-bold {
    font-size: 0.85rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 4px;
}
.subfooter {
    margin-top: 40px;
    padding: 18px 0;
    border-top: 1px solid rgba(255,255,255,0.08);
    font-size: 0.82rem;
    color: rgba(255,255,255,0.45);
}
.subfooter a {
    color: rgba(255,255,255,0.55) !important;
}
.subfooter a:hover {
    color: var(--pcg-clay) !important;
}

/* ====== Dropdown animation ====== */
#mainmenu li ul {
    transition: opacity 0.25s ease, visibility 0.25s ease;
    border-radius: 8px;
    box-shadow: 0 12px 32px rgba(0,0,0,0.12);
    border: 1px solid rgba(0,0,0,0.06);
    overflow: hidden;
}
#mainmenu li li a {
    padding: 8px 18px;
    font-size: 13px;
    transition: all 0.2s;
}
#mainmenu li li a:hover,
#mainmenu ul li:hover > a {
    background: var(--pcg-sand) !important;
    color: var(--pcg-ink) !important;
}

/* ====== Hero Slider Background Fallback ====== */
.swiper-inner[data-bgimage] {
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
}


/* ====== Nav Visibility Fix: frosted glass header ====== */
header.transparent {
    background: rgba(255, 255, 255, 0.88) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
}

/* ====== Hero Text Readability ====== */
/* Dark gradient overlay on all swiper slides for text contrast */
.swiper-inner::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to right,
        rgba(31, 42, 40, 0.55) 0%,
        rgba(31, 42, 40, 0.35) 40%,
        rgba(31, 42, 40, 0.15) 70%,
        rgba(31, 42, 40, 0.05) 100%
    );
    z-index: 0;
    pointer-events: none;
}

/* Center-aligned hero (home3) gets a uniform overlay instead */
.sw-caption.text-center ~ .sw-overlay,
.text-center .sw-overlay {
    display: none;
}
section .sw-caption.text-center {
    /* override handled by the ::after overlay */
}

/* Ensure caption text sits above the overlay */
.sw-caption {
    z-index: 2 !important;
}

/* Hero text styles for max readability */
.sw-caption h1,
.sw-caption .fs-84,
.sw-caption .fs-72 {
    color: #ffffff !important;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45),
                 0 1px 3px rgba(0, 0, 0, 0.3);
}

.sw-caption .subtitle {
    color: rgba(255, 255, 255, 0.92) !important;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.4);
}

.sw-caption p,
.sw-caption .lead {
    color: rgba(255, 255, 255, 0.9) !important;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.35);
}

/* Swiper nav arrows visible on overlay */
.swiper-button-next,
.swiper-button-prev,
.swiper-button-next.dark,
.swiper-button-prev.dark {
    color: #ffffff !important;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.swiper-pagination {
    color: #ffffff !important;
}

/* Home4 hero (non-slider) already has bg-dark - just ensure text readability */
.section-dark h1 {
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* Hide duplicate topbar (pcg-info-bar provides this info) */
#topbar { display: none !important; }
