:root{
    --container: 1450px;

    /* Brand tokens */
    --primary: #e20613;
    --primary-hover: #c10510;
    --secondary: #16171e;
    --primary-rgb: 226, 6, 19;
    --secondary-rgb: 22, 23, 30;

    /* UI tokens */
    --text: #16171e;
    --muted: rgba(22, 23, 30, .72);
    --border: rgba(22, 23, 30, .12);
    --white: #ffffff;
}

/* Local Inter font (WOFF2). Files are expected at:
   /theme/assets/fonts/inter/Inter-*.woff2
*/
@font-face{
    font-family: "Inter";
    src: url("../fonts/inter/Inter-Regular.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face{
    font-family: "Inter";
    src: url("../fonts/inter/Inter-Medium.woff2") format("woff2");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}
@font-face{
    font-family: "Inter";
    src: url("../fonts/inter/Inter-SemiBold.woff2") format("woff2");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}
@font-face{
    font-family: "Inter";
    src: url("../fonts/inter/Inter-Bold.woff2") format("woff2");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

*{ box-sizing: border-box; }
html, body{ height: 100%; }
[hidden]{ display: none !important; }
body{
    margin: 0;
    font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    color: var(--text);
    background: #ffffff;
    overflow-x: hidden; /* prevent horizontal scroll caused by full-bleed (100vw) sections */
}

/* Fixed contact buttons (global) */
.fixed-contact{
    position: fixed;
    left: 0;
    right: 0;
    bottom: calc(14px + env(safe-area-inset-bottom));
    pointer-events: none;
    z-index: 9999;
}
.fixed-contact-btn{
    pointer-events: auto;
    width: 56px;
    height: 56px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    color: #ffffff;
    text-decoration: none;
    box-shadow: 0 16px 32px rgba(0,0,0,.22);
    position: absolute;
    bottom: 0;
    transition: transform .2s ease, filter .2s ease;
}
.fixed-contact-btn:hover{
    transform: translateY(-2px);
    filter: brightness(1.03);
}
.fixed-contact-btn i{ font-size: 20px; }

.fixed-contact-btn--phone{
    left: 14px;
    background: var(--primary);
}
.fixed-contact-btn--wa{
    right: 14px;
    background: #16a34a;
}

.fixed-contact-btn::after{
    content: "";
    position: absolute;
    inset: -10px;
    border-radius: 999px;
    border: 2px solid rgba(255,255,255,.0);
    opacity: .0;
    transform: scale(.9);
}
.fixed-contact-btn--phone::after{
    border-color: rgba(var(--primary-rgb), .40);
    animation: fixedPulseRed 1.15s ease-in-out infinite;
}
.fixed-contact-btn--wa::after{
    border-color: rgba(34, 197, 94, .40);
    animation: fixedPulseGreen 1.15s ease-in-out infinite;
}
@keyframes fixedPulseRed{
    0%{ transform: scale(.90); opacity: .55; }
    60%{ transform: scale(1.15); opacity: .12; }
    100%{ transform: scale(1.25); opacity: 0; }
}
@keyframes fixedPulseGreen{
    0%{ transform: scale(.90); opacity: .55; }
    60%{ transform: scale(1.15); opacity: .12; }
    100%{ transform: scale(1.25); opacity: 0; }
}

@media (max-width: 860px){
    .fixed-contact-btn--phone{ left: 7px; }
    .fixed-contact-btn--wa{ right: 7px; }
}
a{ color: inherit; text-decoration: none; }

.container{
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 16px;
}

/* Header */
.site-header{
    background: var(--white);
    border-bottom: 1px solid var(--border);
}
.topbar{
    background: var(--primary);
    color: rgba(255,255,255,.92);
    font-size: 14px;
}
.topbar-inner{
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 48px;
}
.topbar a{ color: rgba(255,255,255,.92); }
.topbar-item{
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
}
.topbar-inner > .topbar-item:first-child{
    /* Slight nudge left to match the screenshot alignment (icon + text together) */
    transform: none;
}
.topbar-icon{
    display: inline-flex;
    color: rgba(255,255,255,.96);
}
.topbar-link:hover{ opacity: .9; }

.topbar-icon i{
    font-size: 15px;
    line-height: 1;
}

/* Desktop: topbar items flush left/right */
@media (min-width: 861px){
    .topbar-inner > .topbar-item{ justify-self: auto; }
    .topbar-inner > .topbar-link{ justify-self: auto; }
}

.navbar{
    background: var(--white);
}
.navbar-inner{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    padding: 18px 0;
    transition: padding .18s ease;
}
.brand{
    display: inline-flex;
    align-items: center;
    gap: 12px;
}
.brand-logo{
    display: block;
    height: 60px;
    width: auto;
    transition: height .18s ease;
    object-fit: contain;
    object-position: left center;
}
.brand-mark{
    display: inline-flex;
    flex-direction: column;
    line-height: 1.05;
    font-weight: 700;
    letter-spacing: .2px;
}
.brand-sub{
    font-weight: 500;
    letter-spacing: .4px;
}

/* Sticky header (navbar only) */
.site-header.is-scrolled .topbar{
    display: none;
}
.site-header.is-scrolled .navbar{
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border);
}
.site-header.is-scrolled .navbar-inner{
    padding: 10px 0;
}
.site-header.is-scrolled .brand-logo{
    height: 55px;
}

.nav-area{
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 16px;
    flex: 1;
}
.nav{
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 20px;
}
.nav-link{
    color: rgba(22, 23, 30, .92);
    font-weight: 500;
    padding: 8px 6px;
    border-radius: 8px;
    font-size: 16px;
    background: transparent;
    border: 0;
    cursor: pointer;
}
.nav-link:hover{ color: var(--primary); }
.nav-link.is-active{ color: var(--primary); }

.nav-item{
    position: relative;
    display: inline-flex;
    align-items: center;
}
.nav-item.is-active > .nav-link{
    color: var(--primary);
}
.nav-trigger{
    font: inherit;
    font-weight: 600;
    appearance: none;
    -webkit-appearance: none;
    color: inherit;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.nav-trigger.nav-link{
    /* keep same size, just slightly bolder than other items */
    font-weight: 600;
}
.nav-trigger::after{
    content: "";
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid currentColor;
    transform: translateY(1px);
    opacity: .9;
}
.nav-item--dropdown:hover .nav-trigger::after,
.nav-item--dropdown:focus-within .nav-trigger::after{
    transform: translateY(1px) rotate(180deg);
}

.dropdown{
    position: absolute;
    top: calc(100% + 14px);
    left: 0;
    min-width: 260px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 10px;
    box-shadow: none;
    display: none;
    opacity: 0;
    transform: translateY(-6px);
    z-index: 50;
}
.nav-item--dropdown:hover .dropdown,
.nav-item--dropdown:focus-within .dropdown{
    display: block;
    opacity: 1;
    transform: translateY(0);
}
.dropdown::before{
    content: "";
    position: absolute;
    top: -7px;
    left: 18px;
    width: 12px;
    height: 12px;
    background: var(--white);
    border-left: 1px solid var(--border);
    border-top: 1px solid var(--border);
    transform: rotate(45deg);
}
.dropdown-link{
    display: block;
    padding: 9px 10px;
    font-size: 14px;
    font-weight: 500;
    color: rgba(22, 23, 30, .92);
    border-radius: 0;
}
/* Divider line between items (reliable across browsers) */
.dropdown-link + .dropdown-link{
    border-top: 1px solid rgba(22, 23, 30, .14);
}
.dropdown-link:first-child{ border-radius: 8px 8px 0 0; }
.dropdown-link:last-child{ border-radius: 0 0 8px 8px; }
.dropdown-link:hover{ color: var(--primary); }
.dropdown-link.is-active{ color: var(--primary); }

.btn{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    padding: 0 14px;
    border-radius: 10px;
    font-weight: 600;
    border: 1px solid transparent;
}
.btn-primary{
    background: var(--primary);
    color: var(--white);
}
.btn-primary:hover{ background: var(--primary-hover); }

.btn-cta{
    background: var(--secondary);
    color: var(--white);
    border-color: var(--secondary);
    height: auto;
    padding: 5px 10px;
    font-weight: 600;
    font-size: 16px;
    border-radius: 5px;
}
.btn-cta:hover{
    background: rgba(var(--secondary-rgb), .92);
    border-color: rgba(var(--secondary-rgb), .92);
}

/* Content */
.hero{
    padding: 48px 0;
}
.hero h1{
    margin: 0 0 10px;
    font-size: 42px;
    line-height: 1.15;
}
.hero p{
    margin: 0 0 18px;
    color: var(--muted);
    font-size: 16px;
}

/* Home hero slider */
.home-hero{
    position: relative;
}

/* Global section spacing (Home) */
.home{
    --home-section-space: 60px;
}
@media (max-width: 576px){
    .home{ --home-section-space: 40px; }
}
.home-hero-slider{
    position: relative;
    height: 720px;
    background: var(--secondary);
    overflow: hidden;
}
.home-hero-slider::before{
    content: "";
    position: absolute;
    inset: 0;
    background-image: var(--hero-img);
    background-size: cover;
    background-position: center;
    transform: scale(1.02);
    transition: opacity .35s ease, transform .6s ease;
    opacity: 1;
    z-index: 0;
}
.home-hero-slider.is-switching::before{
    transform: scale(1.04);
}
.home-hero-overlay{
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,.35) 0%,
        rgba(0,0,0,.45) 45%,
        rgba(0,0,0,.55) 100%
    );
    z-index: 1;
}
.home-hero-content{
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    z-index: 2;
    text-align: center;
    padding: 0 10px;
}
.home-hero-title{
    margin: 0 0 10px;
    color: #ffffff;
    font-weight: 700;
    font-size: clamp(26px, 2.9vw, 46px);
    letter-spacing: .08em;
    text-transform: uppercase;
    text-shadow: 0 10px 28px rgba(0,0,0,.45);
}
.home-hero-desc{
    margin: 0;
    color: rgba(255,255,255,.92);
    font-size: clamp(14px, 1.35vw, 19px);
    line-height: 1.45;
    text-shadow: 0 10px 28px rgba(0,0,0,.45);
}

.home-hero-ctas{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    max-width: 520px;
    margin: 18px auto 0;
}
.home-hero-cta{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 9px 10px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,.22);
    color: #ffffff;
    text-decoration: none;
    background: rgba(255,255,255,.08);
    backdrop-filter: blur(6px);
    transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.home-hero-cta:hover{
    transform: translateY(-1px);
    background: rgba(255,255,255,.12);
    border-color: rgba(255,255,255,.32);
}
.home-hero-cta-ico{
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    background: rgba(0,0,0,.18);
    border: 1px solid rgba(255,255,255,.14);
}
.home-hero-cta-ico i{ font-size: 15px; }
.home-hero-cta-text{ font-weight: 700; letter-spacing: .01em; font-size: 14px; }

/* Phone (primary) */
.home-hero-cta--phone{
    border-color: rgba(var(--primary-rgb), .65);
    background: rgba(var(--primary-rgb), .14);
}
.home-hero-cta--phone:hover{
    background: rgba(var(--primary-rgb), .20);
    border-color: rgba(var(--primary-rgb), .80);
}
.home-hero-cta--phone .home-hero-cta-ico{
    background: rgba(var(--primary-rgb), .22);
    border-color: rgba(var(--primary-rgb), .35);
    position: relative;
}
.home-hero-cta--phone .home-hero-cta-ico::after{
    content: "";
    position: absolute;
    inset: -6px;
    border-radius: 12px;
    border: 2px solid rgba(var(--primary-rgb), .35);
    animation: heroPulseRed 1.6s ease-in-out infinite;
}

/* WhatsApp (green) */
.home-hero-cta--wa{
    border-color: rgba(34, 197, 94, .55);
    background: rgba(34, 197, 94, .14);
}
.home-hero-cta--wa:hover{
    background: rgba(34, 197, 94, .20);
    border-color: rgba(34, 197, 94, .70);
}
.home-hero-cta--wa .home-hero-cta-ico{
    background: rgba(34, 197, 94, .22);
    border-color: rgba(34, 197, 94, .35);
    position: relative;
}
.home-hero-cta--wa .home-hero-cta-ico::after{
    content: "";
    position: absolute;
    inset: -6px;
    border-radius: 12px;
    border: 2px solid rgba(34, 197, 94, .35);
    animation: heroPulseGreen 1.6s ease-in-out infinite;
}
@keyframes heroPulseGreen{
    0%{ transform: scale(.95); opacity: .55; }
    60%{ transform: scale(1.08); opacity: .10; }
    100%{ transform: scale(1.12); opacity: 0; }
}
@keyframes heroPulseRed{
    0%{ transform: scale(.95); opacity: .55; }
    60%{ transform: scale(1.08); opacity: .10; }
    100%{ transform: scale(1.12); opacity: 0; }
}
.home-hero-arrow{
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,.25);
    background: rgba(0,0,0,.30);
    color: #ffffff;
    display: grid;
    place-items: center;
    z-index: 3;
    cursor: pointer;
    transition: background .2s ease, border-color .2s ease;
}
.home-hero-arrow:hover{
    background: rgba(0,0,0,.45);
    border-color: rgba(255,255,255,.38);
}
.home-hero-arrow i{ font-size: 20px; }
.home-hero-arrow--prev{ left: 16px; }
.home-hero-arrow--next{ right: 16px; }

/* Show hero arrows on hover (desktop) */
@media (hover: hover) and (pointer: fine){
    .home-hero-arrow{
        opacity: 0;
        visibility: hidden;
    }
    .home-hero-slider:hover .home-hero-arrow{
        opacity: 1;
        visibility: visible;
    }
}

.home-hero-features{
    position: relative;
    margin-top: -80px;
    z-index: 5;
}
.home-hero-features-bg{
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(var(--secondary-rgb), .95) 0%, rgba(var(--primary-rgb), .95) 100%);
    border-radius: 0;
}
.home-hero-features .container{ position: relative; z-index: 1; }
.home-hero-features-grid{
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
}
.home-hero-feature{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 20px 12px;
    color: rgba(255,255,255,.92);
    text-align: left;
    min-height: 78px;
}
.home-hero-feature + .home-hero-feature{
    box-shadow: inset 1px 0 0 rgba(255,255,255,.12);
}
.home-hero-feature-ico{
    width: 48px;
    height: 48px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    background: rgba(255,255,255,.10);
    color: #ffffff;
    flex: 0 0 48px;
}
.home-hero-feature-ico i{ font-size: 18px; }
.home-hero-feature-text{
    font-weight: 700;
    font-size: 14.5px;
    line-height: 1.2;
}

@media (max-width: 860px){
    .home-hero-slider{ height: 520px; }
    .home-hero-arrow{ width: 40px; height: 40px; }
    .home-hero-arrow--prev{ left: 10px; }
    .home-hero-arrow--next{ right: 10px; }
    .home-hero-features{ margin-top: -72px; }
    .home-hero-feature{ min-height: 72px; padding: 16px 10px; }
    .home-hero-features-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .home-hero-feature + .home-hero-feature{ box-shadow: none; }
    .home-hero-feature:nth-child(2n){
        box-shadow: inset 1px 0 0 rgba(255,255,255,.12);
    }
    .home-hero-feature:nth-child(n+3){
        box-shadow: inset 0 1px 0 rgba(255,255,255,.12);
    }
}

@media (max-width: 576px){
    .home-hero-slider{ height: 440px; }
    .home-hero-features{ margin-top: -58px; }
    /* Mobile: single-piece background (no segmented look) */
    .home-hero-features{
        background: linear-gradient(
            135deg,
            rgba(var(--secondary-rgb), 1) 0%,
            rgba(var(--secondary-rgb), 1) 45%,
            rgba(var(--primary-rgb), 1) 100%
        );
    }
    .home-hero-features-bg{ display: none; }
    /* Mobile: 2 columns */
    .home-hero-features-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .home-hero-feature{
        justify-content: flex-start;
        text-align: left;
        padding: 14px 12px;
        min-height: 74px;
    }
    /* Mobile: remove divider lines */
    .home-hero-feature,
    .home-hero-feature + .home-hero-feature,
    .home-hero-feature:nth-child(2n),
    .home-hero-feature:nth-child(n+3){
        box-shadow: none !important;
    }
    .home-hero-feature-text{
        display: inline-block;
    }
}

/* Home about */
.home-about{
    padding: var(--home-section-space) 0;
}
.home-about-grid{
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr);
    align-items: center;
    gap: 70px;
}
.home-about-media{
    position: relative;
    padding: 18px 0 0 18px;
}
.home-about-media::before{
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 110px;
    height: 110px;
    background-image: radial-gradient(rgba(var(--primary-rgb), .55) 1.6px, transparent 1.6px);
    background-size: 12px 12px;
    border-radius: 12px;
    z-index: 0;
}
.home-about-media::after{
    content: "";
    position: absolute;
    right: -10px;
    top: 24px;
    width: 72px;
    height: 72px;
    background-image: radial-gradient(rgba(22,23,30,.55) 1.6px, transparent 1.6px);
    background-size: 12px 12px;
    border-radius: 12px;
    z-index: 0;
}
.home-about-img{
    position: relative;
    z-index: 1;
    width: 100%;
    height: auto;
    border-radius: 22px;
    display: block;
}
.home-about-title{
    margin: 0 0 12px;
    font-size: 25px;
    font-weight: 700;
    color: var(--secondary);
}
.home-about-text{
    display: grid;
    gap: 10px;
    color: rgba(22, 23, 30, .80);
    font-size: 15px;
    line-height: 1.65;
}
.home-about-text p{ margin: 0; }
.home-about-btn{
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 18px;
    padding: 9px 14px;
    border-radius: 6px;
    background: var(--secondary);
    color: #ffffff;
    text-decoration: none;
    font-weight: 700;
    font-size: 13.5px;
}
.home-about-btn:hover{ filter: brightness(.92); color: #ffffff; }

@media (max-width: 860px){
    .home-about{ padding: 54px 0; }
    .home-about-grid{ grid-template-columns: 1fr; gap: 26px; }
    .home-about-media{ padding: 0; }
    .home-about-media::after{ right: 0; }
    .home-about-title{ font-size: 25px; }
}

/* Home services */
.home-services{
    padding: var(--home-section-space) 0;
    background: #ffffff;
}
.home-section-head{
    text-align: center;
    margin-bottom: 22px;
}
.home-section-title{
    margin: 0;
    font-size: 26px;
    font-weight: 700;
    color: var(--secondary);
}
.home-section-divider{
    margin: 10px auto 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}
.home-section-line{
    width: 78px;
    height: 1px;
    background: rgba(22, 23, 30, .18);
}
.home-section-icon{
    width: 34px;
    height: 34px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    background: rgba(var(--primary-rgb), .10);
    color: var(--primary);
}
.home-section-icon i{ font-size: 14px; }
.home-section-desc{
    margin: 0 auto;
    max-width: 760px;
    color: rgba(22, 23, 30, .78);
    font-size: 15px;
    line-height: 1.6;
}

.services-grid.services-grid--home{
    grid-template-columns: repeat(4, minmax(0, 1fr));
}
@media (max-width: 1100px){
    .services-grid.services-grid--home{ grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 560px){
    .services-grid.services-grid--home{ grid-template-columns: 1fr; }
    .home-section-line{ width: 56px; }
}

/* Home CTA */
.home-cta{
    padding: var(--home-section-space) 0;
    background: #ffffff;
}
.home-cta-card{
    position: relative;
    border-radius: 16px;
    padding: 44px 26px;
    color: #ffffff;
    overflow: hidden;
    box-shadow: 0 18px 42px rgba(22, 23, 30, .10);
    background:
        radial-gradient(900px 240px at 18% 50%, rgba(var(--secondary-rgb), .65) 0%, rgba(var(--secondary-rgb), 0) 65%),
        radial-gradient(900px 260px at 82% 50%, rgba(var(--primary-rgb), .50) 0%, rgba(var(--primary-rgb), 0) 62%),
        linear-gradient(90deg, var(--secondary) 0%, var(--primary) 100%);
}
.home-cta-card::before{
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        repeating-radial-gradient(circle at 20% 30%, rgba(255,255,255,.05) 0 1px, transparent 1px 22px),
        repeating-radial-gradient(circle at 80% 60%, rgba(255,255,255,.04) 0 1px, transparent 1px 26px);
    opacity: .9;
    pointer-events: none;
}
.home-cta-title{
    position: relative;
    margin: 0 0 18px;
    text-align: center;
    font-weight: 700;
    font-size: 24px;
    letter-spacing: .02em;
}
.home-cta-row{
    position: relative;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 18px;
    max-width: 760px;
    margin: 0 auto;
}
.home-cta-item{
    display: grid;
    gap: 6px;
    text-decoration: none;
    color: #ffffff;
    text-align: center;
    padding: 10px 12px;
    border-radius: 12px;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.10);
}
.home-cta-item:hover{
    background: rgba(255,255,255,.10);
    border-color: rgba(255,255,255,.16);
    color: #ffffff;
}
.home-cta-k{
    font-size: 13px;
    opacity: .88;
    font-weight: 600;
}
.home-cta-v{
    font-size: 16px;
    font-weight: 700;
}
.home-cta-badge{
    width: 56px;
    height: 56px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    background: rgba(255,255,255,.95);
    color: #101116;
    font-weight: 700;
    font-size: 22px;
    border: 4px solid rgba(255,255,255,.25);
    box-shadow: 0 18px 42px rgba(0,0,0,.25);
}
.home-cta-dots{
    position: absolute;
    width: 120px;
    height: 120px;
    background-image: radial-gradient(rgba(255,255,255,.40) 1.6px, transparent 1.6px);
    background-size: 12px 12px;
    opacity: .26;
    pointer-events: none;
}
.home-cta-dots--left{ left: 10px; top: 10px; }
.home-cta-dots--right{ right: 10px; bottom: 10px; }

@media (max-width: 860px){
    .home-cta-card{ padding: 32px 18px; }
    .home-cta-title{ font-size: 20px; }
}
@media (max-width: 576px){
    .home-cta-row{
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .home-cta-badge{
        width: 50px;
        height: 50px;
        margin: 2px auto;
    }
    .home-cta-item{
        text-align: center;
        justify-items: center;
    }
}

/* Home stats */
.home-stats{
    padding: var(--home-section-space) 0;
    background: var(--secondary);
    color: #ffffff;
}
.home-stats-head{
    text-align: center;
    margin-bottom: 22px;
}
.home-stats-title{
    margin: 0;
    font-size: 26px;
    font-weight: 700;
    color: #ffffff;
}
.home-stats-divider{
    margin: 10px auto 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}
.home-stats-line{
    width: 120px;
    height: 1px;
    background: rgba(255,255,255,.22);
}
.home-stats-icon{
    width: 26px;
    height: 26px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    color: rgba(255,255,255,.90);
}
.home-stats-icon i{ font-size: 12px; }

.home-stats-grid{
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 0;
    margin-top: 18px;
}
.home-stat{
    padding: 18px 10px;
    text-align: center;
}
.home-stat-ico{
    font-size: 34px;
    color: rgba(255,255,255,.90);
}
.home-stat-line{
    width: 100%;
    height: 1px;
    margin: 14px 0 14px;
    background: rgba(255,255,255,.14);
    position: relative;
}
.home-stat-line::after{
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: rgba(255,255,255,.26);
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}
.home-stat-num{
    font-size: 22px;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: .02em;
}
.home-stat-label{
    margin-top: 8px;
    font-size: 12px;
    font-weight: 700;
    color: rgba(255,255,255,.92);
    text-transform: uppercase;
    letter-spacing: .06em;
}

@media (max-width: 1100px){
    .home-stats-grid{ grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
    .home-stat{ padding: 18px 14px; border: 1px solid rgba(255,255,255,.10); border-radius: 14px; }
    .home-stat-line{ width: 80%; margin-left: auto; margin-right: auto; }
}
@media (max-width: 560px){
    .home-stats-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
    .home-stats-line{ width: 70px; }
    .home-stats-title{ font-size: 22px; }
}

/* Home reviews */
.home-reviews{
    padding: var(--home-section-space) 0;
    background: #ffffff;
}
.home-reviews-carousel{
    position: relative;
    margin-top: 18px;
}
.home-reviews-viewport{
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    scrollbar-width: none;
}
.home-reviews-viewport::-webkit-scrollbar{ display: none; }
.home-reviews-track{
    display: flex;
    gap: 18px;
    padding: 2px 2px;
    width: 100%;
}
.home-review-card{
    scroll-snap-align: start;
    flex: 0 0 auto;
}
/* Desktop: 4 in view */
.home-review-card{
    flex-basis: calc((100% - 18px * 3) / 4);
}
@media (max-width: 980px){
    /* Tablet: 2 in view */
    .home-review-card{ flex-basis: calc((100% - 18px) / 2); }
}
@media (max-width: 560px){
    /* Mobile: 1 in view */
    .home-review-card{ flex-basis: 100%; }
}

/* Home SEO text block (About-like, without image/button) */
.home-seo{
    padding: var(--home-section-space) 0;
    background: #ffffff;
}
.home-about-grid--textonly{
    grid-template-columns: 1fr;
    gap: 0;
}
.home-seo .home-about-content{
    max-width: none;
    margin: 0;
    text-align: left;
}
.home-seo .home-about-title{
    text-align: left;
}

/* Home gallery */
.home-gallery{
    padding: var(--home-section-space) 0;
    background: #ffffff;
}

/* Home Regions (above Photo Gallery) */
.home-regions{
    padding: var(--home-section-space) 0;
    background: #ffffff;
}

.regions-carousel{
    position: relative;
    margin-top: 18px;
}
.regions-viewport{
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}
.regions-viewport::-webkit-scrollbar{ display: none; }
.regions-track{
    display: flex;
    gap: 18px;
    padding: 0 2px;
}
.region-card{
    flex: 0 0 auto;
    width: calc((100% - 18px * 3) / 4); /* Desktop: 4 in view */
    background: #ffffff;
    border: 1px solid rgba(22, 23, 30, .08);
    border-radius: 8px;
    padding: 14px 14px;
    box-shadow: none;
    scroll-snap-align: start;
    text-align: left;
}
.region-ico{
    width: 56px;
    height: 56px;
    border-radius: 999px;
    background: rgba(22, 23, 30, .04);
    display: grid;
    place-items: center;
    margin: 0 0 12px;
    color: var(--primary);
    font-size: 24px;
}
.region-title{
    margin: 0 0 10px;
    font-size: 16px;
    font-weight: 800;
    color: rgba(22, 23, 30, .92);
}
.region-desc{
    margin: 0 0 12px;
    font-size: 14px;
    line-height: 1.65;
    color: rgba(22, 23, 30, .72);
    min-height: 48px;
}

/* Short/compact cards */
.region-title,
.region-desc{
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.region-title{ -webkit-line-clamp: 2; line-clamp: 2; }
.region-desc{ -webkit-line-clamp: 3; line-clamp: 3; }
.region-link{
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 800;
    color: rgba(22, 23, 30, .92);
    text-decoration: none;
}
.region-link-ico{
    width: 22px;
    height: 22px;
    display: grid;
    place-items: center;
    color: rgba(22, 23, 30, .92);
}
.region-link:hover{ color: var(--primary); }
.region-link:hover .region-link-ico{ color: var(--primary); }

.regions-arrow{
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 999px;
    border: 1px solid rgba(22, 23, 30, .12);
    background: rgba(0,0,0,.35);
    color: #ffffff;
    display: grid;
    place-items: center;
    z-index: 3;
    cursor: pointer;
    transition: opacity .2s ease, background .2s ease, border-color .2s ease;
}
.regions-arrow:hover{
    background: rgba(0,0,0,.55);
    border-color: rgba(255,255,255,.18);
}
.regions-arrow--prev{ left: -6px; }
.regions-arrow--next{ right: -6px; }
/* keep arrows inside so both are visible */
@media (max-width: 1450px){
    .regions-arrow--prev{ left: 6px; }
    .regions-arrow--next{ right: 6px; }
}
@media (hover: hover) and (pointer: fine){
    .regions-arrow{ opacity: 0; visibility: hidden; }
    .regions-carousel:hover .regions-arrow{ opacity: 1; visibility: visible; }
}
@media (max-width: 980px){
    /* Tablet: 2 in view */
    .region-card{ width: calc((100% - 18px) / 2); }
}
@media (max-width: 560px){
    /* Mobile: 1 in view */
    .region-card{ width: 100%; }
}
.home-gallery-grid{
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr)); /* Desktop: 4 columns */
    gap: 14px;
}
.home-gallery-item{
    display: block;
    text-decoration: none;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 18px 36px rgba(22, 23, 30, .10);
    aspect-ratio: 4 / 3; /* all equal */
}
.home-gallery-img{
    width: 100%;
    display: block;
    background: rgba(22, 23, 30, .06);
    object-fit: cover;
    height: 100%;
}
@media (max-width: 980px){
    /* Tablet: 2 columns */
    .home-gallery-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 576px){
    /* Mobile: 2 columns */
    .home-gallery-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .home-gallery-item{ box-shadow: 0 14px 28px rgba(22, 23, 30, .10); }
}

/* Home FAQ */
.home-faq{
    padding: var(--home-section-space) 0;
    background: #ffffff;
}
.home-faq-grid{
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-top: 18px;
}
.home-faq-item{
    position: relative;
    border: 1px solid rgba(22, 23, 30, .10);
    border-radius: 14px;
    padding: 18px 18px;
    background: #ffffff;
}
.home-faq-item::before{
    content: "S.S.S";
    position: absolute;
    top: 0;
    right: 0;
    background: var(--primary);
    color: #ffffff;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .04em;
    padding: 9px 14px;
    border-top-right-radius: 14px;
    border-bottom-left-radius: 14px;
    line-height: 1;
}
.home-faq-q{
    margin: 0 0 10px;
    font-size: 16px;
    font-weight: 700;
    color: var(--secondary);
}
.home-faq-a{
    margin: 0;
    font-size: 14.5px;
    line-height: 1.65;
    color: rgba(22, 23, 30, .78);
}
.home-faq-a a{
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}
.home-faq-a a:hover{ text-decoration: underline; }

@media (max-width: 860px){
    .home-faq-grid{ grid-template-columns: 1fr; }
}

/* Home contact map (reuses .contact-map) */
.home-contact{
    padding: var(--home-section-space) 0;
    background: #ffffff;
}
.home-contact-bleed{
    margin-top: 18px;
    /* mobile/tablet: align with container paddings like other sections */
    padding: 0 16px;
}
.home-contact-mapwrap{
    position: relative;
    border-radius: 10px; /* mobile keeps current rounded style */
    background: #ffffff; /* remove gray background behind the mobile card */
}
.home-contact-iframe{
    width: 100%;
    height: 400px;
    border: 0;
    display: block;
    border-radius: 10px; /* ensure map corners are rounded (esp. mobile bottom corners) */
}
.contact-map-iframe{
    width: 100%;
    height: 400px;
    border: 0;
    display: block;
}
.home-contact-card{
    margin-top: 14px; /* mobile: under the map */
    background: #ffffff;
    border: 1px solid rgba(22, 23, 30, .10);
    border-radius: 12px;
    padding: 16px 16px;
    box-shadow: 0 18px 34px rgba(22, 23, 30, .12);
    position: relative;
    overflow: hidden;
}
.home-contact-card::before{
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 2px;
    background: var(--primary);
}
.home-contact-logo{
    height: 50px;
    width: auto;
    display: block;
    margin: 8px auto 12px; /* centered */
}
.home-contact-list{
    display: grid;
    gap: 0;
}
.home-contact-item{
    display: grid;
    grid-template-columns: 20px 1fr;
    gap: 8px;
    align-items: start;
}
.home-contact-item + .home-contact-item{
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid rgba(22, 23, 30, .10);
}
.home-contact-ico{
    width: 20px;
    height: 20px;
    display: grid;
    place-items: center;
    color: var(--primary);
    font-size: 13px;
}
.home-contact-val{
    color: rgba(22, 23, 30, .90);
    font-weight: 500;
    font-size: 14px;
    text-decoration: none;
    line-height: 1.45;
}
.home-contact-val:hover{ color: var(--primary); }

@media (min-width: 861px){
    /* Desktop: align map to container (no full-bleed) + card overlay on the right */
    .home-contact-bleed{
        width: 100%;
        max-width: var(--container);
        margin-left: auto;
        margin-right: auto;
        padding: 0 16px;
    }
    .home-contact-mapwrap{
        border-radius: 10px;
    }
    .home-contact-card{
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        right: 16px;
        margin: 0;
        width: min(380px, calc(100% - 28px));
    }
}

/* Match global mobile container padding (7px) */
@media (max-width: 860px){
    .home-contact-bleed{ padding: 0 7px; }
}

.home-reviews-arrow{
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 999px;
    border: 1px solid rgba(22, 23, 30, .12);
    background: rgba(0,0,0,.35);
    color: #ffffff;
    display: grid;
    place-items: center;
    z-index: 3;
    cursor: pointer;
    transition: opacity .2s ease, background .2s ease, border-color .2s ease;
}
.home-reviews-arrow:hover{
    background: rgba(0,0,0,.55);
    border-color: rgba(255,255,255,.18);
}
.home-reviews-arrow i{ font-size: 20px; }
.home-reviews-arrow--prev{ left: -6px; }
.home-reviews-arrow--next{ right: -6px; }

/* Show arrows like hero: hover devices only */
@media (hover: hover) and (pointer: fine){
    .home-reviews-arrow{ opacity: 0; }
    .home-reviews-carousel:hover .home-reviews-arrow{ opacity: 1; }
}
@media (max-width: 560px){
    .home-reviews-arrow{
        width: 40px;
        height: 40px;
    }
    .home-reviews-arrow--prev{ left: 6px; }
    .home-reviews-arrow--next{ right: 6px; }
}

/* Page hero / breadcrumbs (Contact) */
.page-hero{
    position: relative;
    margin-top: 0;
    margin-bottom: 35px;
    height: 125px;
    overflow: hidden;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-image: var(--page-hero-bg, url("../../Photo/Galeri 1.png"));
}
.page-hero::before{
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .55); /* darken for readable text */
    z-index: 0;
}
.page-hero-sides{
    position: absolute;
    inset: 0;
    background: transparent;
    z-index: 1;
}
.page-hero-center{
    position: absolute;
    inset: 0;
    width: min(640px, 100%);
    margin: 0 auto;
    background: rgba(0,0,0,.15);
    transform: skewX(-45deg);
    z-index: 2;
}
.page-hero-inner{
    height: 100%;
        display: flex;
        flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    transform: skewX(45deg);
    position: relative;
    z-index: 3;
}
.page-hero-title{
    margin: 0;
    color: #ffffff;
    font-size: 30px;
    line-height: 1.05;
    font-weight: 700;
}
.breadcrumbs{
    color: rgba(255,255,255,.92);
    font-weight: 600;
    font-size: 14px;
}
.breadcrumbs a{ color: rgba(255,255,255,.92); }
.breadcrumbs a:hover{ color: #ffffff; }
.breadcrumbs-sep{ padding: 0 8px; opacity: .9; }

/* Contact page */
.contact-page{ padding-top: 0; padding-bottom: 35px; }
.contact-top{
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 28px;
    align-items: start;
}
.contact-block-title{
    margin: 0 0 14px;
    font-size: 19px;
    font-weight: 700;
    color: rgba(22, 23, 30, .92);
    position: relative;
    padding-bottom: 12px;
}
.contact-block-title-row{
    display: inline-flex;
    align-items: center;
    gap: 10px;
}
.contact-block-ico{
    color: var(--primary);
    font-size: 18px;
}
.contact-block-title::after{
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    /* Red only under the left icon (+5px), rest gray */
    background: linear-gradient(
        to right,
        var(--primary) 0,
        var(--primary) 33px,
        rgba(22, 23, 30, .12) 33px,
        rgba(22, 23, 30, .12) 100%
    );
}
.contact-block-title--map{
    margin: 0 0 14px;
}
.contact-office{
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    color: rgba(22, 23, 30, .92);
    margin: 0 0 14px;
}
.contact-office i{ color: var(--primary); }
.contact-cards{
    border-top: 1px solid rgba(22, 23, 30, .12);
}
.contact-card{
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr);
    align-items: center;
    min-height: 60px;
    border-bottom: 1px solid rgba(22, 23, 30, .12);
}
.contact-card-label,
.contact-card-value{
    min-width: 0; /* prevent grid overflow on narrow screens */
}
.contact-card-ico{
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    justify-self: center;
    align-self: center;
    border-radius: 8px;
    /* match footer menu item background */
    background: rgba(22, 23, 30, .06);
    color: var(--secondary);
    font-size: 18px;
}
.contact-card-meta{
    padding: 0 14px;
    min-width: 0;
    display: flex;
    align-items: baseline;
    gap: 8px;
    flex-wrap: wrap;
}
.contact-card-label{
    font-weight: 700;
    color: rgba(22, 23, 30, .92);
}
.contact-card-colon{
    color: rgba(22, 23, 30, .55);
    font-weight: 700;
}
.contact-card-value{
    color: rgba(22, 23, 30, .76);
    font-weight: 600;
    min-width: 0;
    overflow-wrap: break-word; /* avoid mid-word breaking like "Yetkil i" */
    word-break: break-word;
}
.contact-card-value a{ color: rgba(22, 23, 30, .76); }
.contact-card-value a:hover{ color: var(--primary); }

.contact-form-title{
    margin: 0 0 14px;
    font-size: 18px;
    font-weight: 800;
    color: rgba(22, 23, 30, .92);
}
.form-card{
    border: 0;
    border-radius: 8px;
    padding: 16px;
    background: #ffffff;
}
.form-row{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 12px;
}
.form-field{
    display: grid;
    grid-template-columns: 44px 1fr;
    align-items: center;
    border: 1px solid rgba(22, 23, 30, .12);
    border-radius: 8px;
    overflow: hidden;
    background: rgba(22, 23, 30, .02);
    min-height: 44px;
}
.form-field{ min-width: 0; }
.form-field input,
.form-field textarea{ min-width: 0; width: 100%; }

/* Contact page responsive: prevent horizontal scroll on mobile */
@media (max-width: 860px){
    .contact-top{ grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 560px){
    .contact-page{ padding-left: 7px; padding-right: 7px; }
    .contact-card{
        grid-template-columns: 54px minmax(0, 1fr);
        align-items: center;
    }
    .contact-card-ico{ justify-self: start; margin-left: 6px; }
    .contact-card-meta{
        padding: 0 10px;
        gap: 6px;
        flex-wrap: wrap; /* mobile: allow wrap if needed, but never split words */
        font-size: 13.5px;
        line-height: 1.25;
    }
    .contact-card-label{ font-size: 13.5px; white-space: nowrap; }
    .contact-card-colon{ white-space: nowrap; }
    .contact-card-value{
        font-size: 13.5px;
        white-space: normal; /* show full text */
        overflow: visible;
        text-overflow: clip;
    }
    .form-row{ grid-template-columns: 1fr; }
}
.form-field--textarea{
    grid-template-columns: 44px 1fr;
    align-items: stretch;
}
.form-ico{
    height: 100%;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    /* match footer menu item background */
    color: var(--secondary);
    background: rgba(22, 23, 30, .06);
}
.form-field input,
.form-field textarea{
    border: 0;
    outline: none;
    padding: 12px 12px;
    background: transparent;
    font-family: inherit;
    font-size: 14.5px;
    color: rgba(22, 23, 30, .92);
    resize: vertical;
}
.form-field textarea{ padding-top: 12px; padding-bottom: 12px; }
.form-submit{
    width: 100%;
    height: 44px;
    margin-top: 10px;
    border-radius: 8px;
}

.contact-map{
    margin-top: 35px;
    border-radius: 10px;
    overflow: hidden;
    border: 0;
}
.contact-map iframe{
    width: 100%;
    height: 400px;
    border: 0;
    display: block;
}

/* About page */
.about-page{ padding-bottom: 35px; }
.about-grid{
    display: grid;
    grid-template-columns: 3fr 1fr; /* ~75% / 25% */
    column-gap: 40px;
    align-items: start;
}
.about-hero-img{
    width: 100%;
    height: auto;
    display: block;
    border-radius: 5px;
    margin-bottom: 18px;
}
.about-text{
    margin: 0 0 16px;
    font-size: 15px;
    line-height: 1.75;
    color: rgba(22, 23, 30, .78);
}
ul.about-list,
ol.about-list{
    margin: 0 0 16px 18px;
    padding: 0;
    color: rgba(22, 23, 30, .78);
    font-size: 15px;
    line-height: 1.75;
}
.about-list li + li{ margin-top: 6px; }
.about-list a{ color: rgba(22, 23, 30, .78); }
.about-list a:hover{ color: var(--primary); }
.about-list--plain{
    list-style: disc;
    margin: 0 0 16px 0;
    padding-left: 18px;
}
.about-subtitle{
    font-size: 17px; /* base 19px title'dan bir tık küçük */
    margin-top: 18px;
}

/* Gallery page */
.gallery-page .contact-block-title{ margin-bottom: 18px; }
.gallery-grid{
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}
.gallery-item{
    display: block;
    border-radius: 10px;
    overflow: hidden;
    background: rgba(22, 23, 30, .04);
}
.gallery-img{
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: block;
    transform: scale(1);
    transition: transform .22s ease;
}
.gallery-item:hover .gallery-img{ transform: scale(1.03); }

/* FAQ page */
.faq-list{
    display: grid;
    gap: 12px;
}
.faq-item{
    border: 1px solid rgba(22, 23, 30, .12);
    border-radius: 10px;
    background: #ffffff;
    overflow: hidden;
}
.faq-item > summary{ list-style: none; }
.faq-item > summary::-webkit-details-marker{ display: none; }
.faq-q{
    padding: 14px 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    font-weight: 700;
    color: rgba(22, 23, 30, .92);
}
.faq-q::after{
    content: "\f078"; /* fa-chevron-down */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: rgba(22, 23, 30, .55);
    font-size: 12px;
    transition: transform .18s ease;
}
.faq-item[open] .faq-q::after{ transform: rotate(180deg); }
.faq-a{
    padding: 0 14px 14px;
    border-top: 1px solid rgba(22, 23, 30, .10);
}
.faq-a .about-text:last-child{ margin-bottom: 0; }

/* Lightbox */
.lightbox{
    position: fixed;
    inset: 0;
    z-index: 9999;
}
.lightbox-backdrop{
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.72);
}
.lightbox-dialog{
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
}
.lightbox-img{
    max-width: min(1100px, 100%);
    max-height: 82vh;
    width: auto;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 18px 60px rgba(0,0,0,.45);
    background: #111;
}
.lightbox-close{
    position: absolute;
    top: 18px;
    right: 18px;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    border: 0;
    background: rgba(255,255,255,.10);
    color: #ffffff;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}
.lightbox-close:hover{ background: rgba(255,255,255,.16); }
.lightbox-nav{
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 52px;
    height: 52px;
    border-radius: 10px;
    border: 0;
    background: rgba(255,255,255,.10);
    color: #ffffff;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}
.lightbox-nav:hover{ background: rgba(255,255,255,.16); }
.lightbox-prev{ left: 18px; }
.lightbox-next{ right: 18px; }

html.is-lightbox-open,
html.is-lightbox-open body{
    overflow: hidden;
}

/* Reviews page */
.reviews-grid{
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}
.review-card{
    border: 1px solid rgba(22, 23, 30, .12);
    border-radius: 10px;
    background: #ffffff;
    padding: 18px 18px 22px;
    text-align: center;
}
.review-top{
    display: flex;
    justify-content: center;
    margin-top: 2px;
    margin-bottom: 10px;
}
.review-google{
    width: 46px;
    height: auto;
    display: block;
}
.review-name{
    font-size: 16px;
    font-weight: 700;
    color: rgba(22, 23, 30, .92);
    margin-bottom: 8px;
}
.review-stars{
    color: #f4b400;
    font-size: 14px;
    white-space: nowrap;
    margin-bottom: 14px;
}
.review-text{
    color: rgba(22, 23, 30, .72);
    font-size: 14.5px;
    line-height: 1.7;
    max-width: 340px;
    margin: 0 auto;
}

@media (max-width: 980px){
    .reviews-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px){
    .reviews-grid{ grid-template-columns: 1fr; }
    .review-card{ padding-left: 14px; padding-right: 14px; }
    .review-google{ width: 42px; }
}

/* Services page */
.services-grid{
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}
.service-card{
    border: 1px solid rgba(22, 23, 30, .12);
    border-radius: 14px;
    background: #ffffff;
    overflow: hidden;
    box-shadow: 0 10px 26px rgba(0, 0, 0, .06);
}
.service-media{
    display: block;
    text-decoration: none;
}
.service-img{
    width: 100%;
    height: 190px;
    object-fit: cover;
    display: block;
}
.service-body{
    padding: 14px 14px 16px;
}
.service-title{
    margin: 0 0 8px;
    font-size: 16px;
    font-weight: 700;
    color: rgba(22, 23, 30, .92);
}
.service-desc{
    margin: 0 0 12px;
    font-size: 14.5px;
    line-height: 1.7;
    color: rgba(22, 23, 30, .72);
}
.service-btn{
    display: inline-flex;
    align-items: center;
    justify-content: center;
        gap: 8px;
    padding: 9px 11px;
    border-radius: 5px;
    background: var(--primary);
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
}
.service-btn:hover{ filter: brightness(.95); }
.service-btn i{ font-size: 13px; }

@media (max-width: 1100px){
    .services-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .service-img{ height: 180px; }
}
@media (max-width: 560px){
    .services-grid{ grid-template-columns: 1fr; }
    .service-img{ height: 200px; }
}

/* Post (detail) page */
.post-back{
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 11px;
    border-radius: 5px;
    background: rgba(22, 23, 30, .06);
    color: rgba(22, 23, 30, .92);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 12px;
}
.post-back:hover{ background: rgba(22, 23, 30, .08); }
.post-back i{ font-size: 13px; }

.post-map{ margin-top: 28px; }
.post-map .contact-map{ margin-top: 0; }

.post-faq-stack{
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    margin-bottom: 16px;
}

.post-title{
    margin: 0 0 14px;
    font-size: 20px;
    font-weight: 800;
    color: rgba(22, 23, 30, .92);
}

/* Post TOC (collapsible) */
.post-toc{
    margin: 10px 0 14px;
    border: 1px solid rgba(22, 23, 30, .10);
    border-radius: 5px;
    background: rgba(22, 23, 30, .01);
    overflow: hidden;
}
.post-toc-summary{
    list-style: none;
    cursor: pointer;
    padding: 10px 12px;
    font-size: 14px;
    font-weight: 700;
    color: rgba(22, 23, 30, .92);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}
.post-toc-summary::-webkit-details-marker{ display: none; }
.post-toc-summary::after{
    content: "\f078"; /* fa-chevron-down */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 12px;
    opacity: .75;
}
.post-toc[open] .post-toc-summary::after{
    transform: rotate(180deg);
}
.post-toc-body{
    padding: 10px 12px 12px;
    border-top: 1px solid rgba(22, 23, 30, .08);
    background: #ffffff;
}
.post-toc-nav a{
    display: grid;
    grid-template-columns: 14px 1fr;
    align-items: center;
    gap: 8px;
    padding: 7px 8px;
    border-radius: 5px;
    font-size: 14px;
    color: rgba(22, 23, 30, .82);
    text-decoration: none;
}
.post-toc-nav a::before{
    content: "\f105"; /* fa-angle-right */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: var(--primary);
    font-size: 13px;
    line-height: 1;
}
.post-toc-nav a:hover{
    background: rgba(22, 23, 30, .04);
    color: rgba(22, 23, 30, .92);
}
/* keep all headings aligned */
.post-toc-nav a[data-lvl="3"],
.post-toc-nav a[data-lvl="4"]{ padding-left: 8px; }

/* Post hero overlays (meta left, share right) */
.post-hero{
    position: relative;
    margin-bottom: 14px;
}
.post-hero-top{
    position: absolute;
    left: 10px;
    right: 10px;
    top: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    pointer-events: none; /* allow only buttons to be clickable via pointer-events below */
}
.post-hero-meta{
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 7px 10px;
    border-radius: 5px;
    background: rgba(255,255,255,.86);
    border: 1px solid rgba(22, 23, 30, .10);
    color: rgba(22, 23, 30, .92);
    font-size: 13px;
    font-weight: 600;
    pointer-events: auto;
}
.post-hero-meta-item{
    display: inline-flex;
    align-items: center;
    gap: 7px;
}
.post-hero-meta-item i{ color: rgba(22, 23, 30, .92); font-size: 13px; }
.post-hero-meta-sep{ opacity: .55; }

.post-hero-share{
    display: inline-flex;
    align-items: center;
    gap: 8px;
    pointer-events: auto;
}
.post-share-btn{
    width: 30px;
    height: 30px;
    border-radius: 5px;
    display: grid;
    place-items: center;
    background: rgba(255,255,255,.86);
    border: 1px solid rgba(22, 23, 30, .10);
    color: rgba(22, 23, 30, .92);
    text-decoration: none;
}
.post-share-btn:hover{
    background: rgba(255,255,255,.96);
    border-color: rgba(22, 23, 30, .14);
}
.post-share-btn i{ font-size: 14px; }

@media (max-width: 560px){
    .post-hero-top{ left: 8px; right: 8px; top: 8px; }
    .post-share-btn{ width: 28px; height: 28px; }
}

/* Post content typography (user-editable HTML in content area) */
.post-content{
    font-size: 14.4px;
    line-height: 1.75;
    color: rgba(22, 23, 30, .78);
    overflow-wrap: anywhere; /* prevent mobile overflow from long words/urls */
    word-break: break-word;
}
.post-content p{ margin: 0 0 16px; }
.post-content a{ word-break: break-word; }
.post-content img{ max-width: 100%; height: auto; border-radius: 5px; }
.post-content h2,
.post-content h3,
.post-content h4{
    margin: 18px 0 12px;
    color: rgba(22, 23, 30, .92);
    font-weight: 800;
    line-height: 1.25;
}
.post-content h2{ font-size: 20px; }
.post-content h3{ font-size: 20px; }
.post-content h4{ font-size: 20px; }

.post-content ul,
.post-content ol{
    margin: 0 0 16px 18px;
    padding: 0;
}
.post-content ul{ list-style: disc; } /* dotted bullets */
.post-content li{
    margin: 6px 0;
}

.post-table{
    width: 100%;
    overflow-x: auto;
    border: 1px solid rgba(22, 23, 30, .12);
    border-radius: 5px;
    background: #ffffff;
    max-width: 100%;
}
.post-content .post-table{ margin: 0 0 10px; }
.post-table table{
    width: 100%;
    border-collapse: collapse;
    min-width: 0; /* keep minimal tables from forcing overflow */
    table-layout: auto;
}
.post-table th,
.post-table td{
    padding: 12px 12px;
    border-bottom: 1px solid rgba(22, 23, 30, .10);
    border-right: 1px solid rgba(22, 23, 30, .10);
    text-align: left;
    vertical-align: top;
    font-size: 14.4px;
}
.post-table th:last-child,
.post-table td:last-child{ border-right: 0; }
.post-table tr:last-child td{ border-bottom: 0; }
.post-table thead th{
    background: rgba(22, 23, 30, .04);
    font-weight: 800;
    color: rgba(22, 23, 30, .92);
}

@media (max-width: 560px){
    /* avoid any layout push on very small screens */
    .post-table table{ min-width: 0; }
}

/* Minimal default table styling inside post content (covers plain <table> too) */
.post-content table{
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    margin: 0 0 10px;
}
.post-content th,
.post-content td{
    padding: 10px 12px;
    border: 1px solid rgba(22, 23, 30, .10);
    font-size: inherit;
}
.post-content thead th{
    background: rgba(22, 23, 30, .04);
    color: rgba(22, 23, 30, .92);
    font-weight: 700;
}

@media (max-width: 860px){
    .post-meta{ font-size: 13.5px; }
}

/* 404 */
.error-404{
    padding: 0;
}
.error-404-inner{
    position: relative;
    /* Try to center between header and footer visually */
    min-height: calc(100vh - 260px);
    display: grid;
    place-content: center;
    gap: 18px;
    text-align: center;
    isolation: isolate;
    padding: 36px 0 54px;
    overflow: hidden;
}
.error-404-watermark{
    position: absolute;
    inset: 50% auto auto 50%;
    transform: translate(-50%, -50%);
    font-size: clamp(190px, 28vw, 540px);
    line-height: 1;
    font-weight: 700;
    color: rgba(22, 23, 30, .14);
    z-index: -1;
    user-select: none;
    pointer-events: none;
}
.error-404-title{
    margin: 0;
    font-size: clamp(20px, 2vw, 30px);
    font-weight: 700;
    color: var(--secondary);
    letter-spacing: .02em;
    background: rgba(255, 255, 255, .72);
    padding: 10px 16px;
    border-radius: 8px;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}
.btn-404{
    background: #111111;
    color: var(--white);
    padding: 11px 16px;
    border-radius: 6px;
    font-weight: 700;
    letter-spacing: .03em;
    text-transform: uppercase;
    width: fit-content;
    min-width: 210px;
    margin: 0 auto;
}
.btn-404:hover{
    background: #000000;
    color: var(--white);
}

@media (max-width: 576px){
    .error-404-inner{
        min-height: calc(100vh - 220px);
        padding: 28px 0 40px;
    }
    .error-404-watermark{
        /* Full width, centered, with 5px horizontal padding (no overflow) */
        inset: 50% 5px auto 5px; /* top right bottom left */
        transform: translateY(-50%);
        text-align: center;
        white-space: nowrap;
        /* keep it readable and never clip the last digit */
        font-size: min(calc((100vw - 10px) * 0.72), 360px);
        letter-spacing: 0;
    }
}
.sidebar-card{
    border: 1px solid rgba(22, 23, 30, .12);
    border-radius: 10px;
    padding: 14px;
    background: #ffffff;
}
.sidebar-stack{
    display: grid;
    gap: 18px;
}
.about-sidebar{
    position: sticky;
    top: 110px;
}

/* Sidebar quick menu (about) */
.sidebar-card--menu{ padding: 0; overflow: hidden; }
.sidebar-menu-head{
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 14px 12px;
    font-size: 16px;
    font-weight: 700;
    color: rgba(22, 23, 30, .92);
}
.sidebar-menu-head i{ color: var(--primary); }
.sidebar-menu{
    border-top: 1px solid rgba(22, 23, 30, .12);
}
.sidebar-row{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 14px;
    background: #ffffff;
    border-bottom: 1px solid rgba(22, 23, 30, .10);
    cursor: pointer;
}
.sidebar-row-left{
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: rgba(22, 23, 30, .92);
    font-weight: 700;
    font-size: 14.5px;
}
.sidebar-row-left i{ color: rgba(22, 23, 30, .55); }
.sidebar-link{ text-decoration: none; }
.sidebar-link:hover .sidebar-row-left{ color: var(--primary); }
.sidebar-link.is-active .sidebar-row-left{ color: var(--primary); }
.sidebar-row.is-active .sidebar-row-left{ color: var(--primary); }

.sidebar-group{ margin: 0; }
.sidebar-group > summary{ list-style: none; }
.sidebar-group > summary::-webkit-details-marker{ display: none; }
.sidebar-row-caret{
    color: rgba(22, 23, 30, .45);
    font-size: 12px;
    transition: transform .18s ease;
}
.sidebar-group[open] > summary .sidebar-row-caret{ transform: rotate(180deg); }
.sidebar-group[open] > summary{
    background: #ffffff;
}
.sidebar-sub{
    background: #ffffff;
    padding: 0;
    border-bottom: 1px solid rgba(22, 23, 30, .10);
}
.sidebar-sub-link{
    display: block;
    padding: 14px 14px;
    border-radius: 0;
    background: #ffffff;
    border: 0;
    border-bottom: 1px solid rgba(22, 23, 30, .10);
    color: rgba(22, 23, 30, .92);
    font-weight: 600;
    font-size: 14.5px;
}
.sidebar-sub-link + .sidebar-sub-link{ margin-top: 0; }
.sidebar-sub-link:hover{
    color: var(--primary);
    border-bottom-color: rgba(var(--primary-rgb), .28);
}
.sidebar-sub-link.is-active{
    color: var(--primary);
    border-bottom-color: rgba(var(--primary-rgb), .28);
}

/* Sidebar CTAs */
.sidebar-cta{
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 14px;
    text-decoration: none;
}
.sidebar-cta-ico{
    width: 54px;
    height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: transparent;
    flex: 0 0 54px;
    font-size: 34px;
}
.sidebar-cta-ico--phone{
    color: var(--primary);
    border: 0;
}
.sidebar-cta-ico--whatsapp{
    color: #25D366;
    border: 0;
}
.sidebar-cta-body{
    display: grid;
    gap: 4px;
}
.sidebar-cta-body strong{
    color: rgba(22, 23, 30, .92);
    font-weight: 700;
}
.sidebar-cta-body span{
    color: rgba(22, 23, 30, .68);
    font-size: 13.5px;
    line-height: 1.35;
}

/* Footer (new) */
.site-footer{
    margin-top: 80px;
    background: #ffffff;
    color: rgba(22, 23, 30, .86);
    border-top: 1px solid var(--border);
    background-image: var(--footer-bg, url("../../Photo/footer-bacround.jpg"));
    background-repeat: no-repeat;
    background-position: center top;
    background-size: cover;
    position: relative;
}
.site-footer::before{
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, .62);
    z-index: 0;
    pointer-events: none;
}
.site-footer > *{
    position: relative;
    z-index: 1;
}
@media (max-width: 560px){
    .site-footer{ border-top: 0; }
}
.footer-wrap{
    padding: 34px 0 42px;
}
.footer-columns{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 64px;
    align-items: start;
}
.footer-title{
    margin: 0 0 14px;
    color: rgba(22, 23, 30, .96);
    font-size: 20px;
    font-weight: 700;
    letter-spacing: .2px;
}
.footer-sep{
    height: 1px;
    width: 100%;
    background: rgba(22, 23, 30, .12);
    margin: 0 0 18px;
}
.footer-text{
    margin: 0 0 18px;
    font-size: 14.5px;
    line-height: 1.7;
    color: rgba(22, 23, 30, .72);
    max-width: 390px;
}
.footer-more-btn{
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--primary);
    color: #ffffff;
    padding: 10px 10px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 14.5px;
}
.footer-more-btn:hover{ filter: brightness(.95); }
.footer-more-ico{
    width: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    border: 2px solid rgba(255,255,255,.92);
    flex: 0 0 22px;
}

/* Footer social icons */
.footer-social{
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
}
.footer-social-link{
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: grid;
    place-items: center;
    background: rgba(22, 23, 30, .06);
    color: rgba(22, 23, 30, .92);
    border: 1px solid rgba(22, 23, 30, .10);
    transition: transform .2s ease, background .2s ease, border-color .2s ease, color .2s ease;
}
.footer-social-link:hover{
    transform: translateY(-1px);
    background: rgba(22, 23, 30, .04);
    border-color: rgba(22, 23, 30, .14);
}
.footer-social-link i{ font-size: 16px; }

/* Brand hover colors */
.footer-social-link.is-facebook:hover{ color: #1877F2; }
.footer-social-link.is-instagram:hover{ color: #E4405F; }
.footer-social-link.is-twitter:hover{ color: #000000; }
.footer-social-link.is-linkedin:hover{ color: #0A66C2; }
.footer-social-link.is-rss:hover{ color: #F59E0B; }
.footer-social-link.is-sitemap:hover{ color: var(--primary); }
.footer-more-ico i{ font-size: 12px; }

.footer-menu-grid{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.footer-menu-link{
    display: block;
    padding: 10px 10px;
    background: rgba(22, 23, 30, .06);
    color: rgba(22, 23, 30, .92);
    font-weight: 600;
    font-size: 14.5px;
    border-radius: 2px;
}
.footer-menu-link:hover{
    background: rgba(22, 23, 30, .08);
    color: rgba(22, 23, 30, .98);
}

.footer-contact-list{
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 14px;
}
.footer-contact-list li{
    display: flex;
    gap: 12px;
    align-items: center;
    color: rgba(22, 23, 30, .82);
    font-size: 14.5px;
    line-height: 1.55;
    padding: 6px 0;
}
.footer-contact-list a{
    color: rgba(22, 23, 30, .82);
    font-weight: 600;
}
.footer-contact-list a:hover{ color: var(--primary); }
.footer-contact-ico{
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 34px;
    color: var(--secondary);
    background: rgba(22, 23, 30, .06);
    border-radius: 6px;
    margin-top: 0;
}
.footer-contact-ico i{ font-size: 15px; }

.footer-bar{
    background: var(--primary);
    color: rgba(255,255,255,.95);
    padding: 14px 0;
}
.footer-bar-inner{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    text-align: left;
    font-size: 14.5px;
    font-weight: 600;
}
.footer-bar-agency{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}
.footer-bar-agency img{
    height: 34px;
    width: auto;
    display: block;
}

/* Responsive */
@media (max-width: 860px){
    /* mobile header: no topbar, navbar always fixed */
    .topbar{ display: none !important; }
    .navbar{
        position: fixed !important;
        top: 0;
        left: 0;
        right: 0;
        z-index: 1100;
        border-top: 5px solid var(--primary);
        border-bottom: 1px solid var(--border);
    }
    .navbar-inner{ padding: 10px 0 !important; }
    .brand-logo{ height: 55px !important; }

    .nav{ display: none !important; }
    .btn-cta{ display: none !important; }
    .mobile-actions{ display: inline-flex !important; }

    /* Mobile header horizontal padding (only header area) */
    .site-header .container{ padding-left: 7px !important; padding-right: 7px !important; }

    /* Footer responsive (new) */
    /* Mobile: create more breathing room from footer top border */
    .footer-wrap{ padding: 34px 0 34px; }
    .footer-columns{
        grid-template-columns: 1fr;
        gap: 34px;
        padding-top: 28px;
    }
    .footer-sep{ margin-bottom: 22px; }
    .footer-text{ max-width: none; }
    .footer-menu-grid{ grid-template-columns: 1fr 1fr; }
    .footer-bar{
        margin-top: 20px;
        padding: 18px 0;
    }
    .footer-bar-inner{
        flex-direction: column;
        justify-content: center;
        text-align: center;
    }
    .footer-bar-agency img{ height: 32px; }
    /* Contact responsive */
    .page-hero{ height: 110px; }
    .page-hero-title{ font-size: 25px; }
    .page-hero-center{ width: min(440px, 100%); }
    .contact-top{ grid-template-columns: 1fr; gap: 35px; }
    .contact-card{ grid-template-columns: 54px 140px 1fr; }
    .contact-card-ico{ width: 42px; height: 42px; }
    .form-row{ grid-template-columns: 1fr; }
    /* Mobile: form kartının sağ/sol iç boşluğu, tablodaki hizaya yaklaşsın */
    .form-card{ padding-left: 0; padding-right: 0; }
    .contact-map iframe{ height: 280px; }
    .contact-map-iframe{ height: 280px; }

    /* About responsive */
    .about-grid{
        grid-template-columns: 1fr;
        row-gap: 35px;
    }
    .about-sidebar{ position: static; top: auto; }

    .gallery-img{ height: 240px; }
}

@media (max-width: 1100px){
    .gallery-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 560px){
    .gallery-grid{ grid-template-columns: 1fr; }
    .gallery-img{ height: 220px; }
    .lightbox-nav{ width: 46px; height: 46px; }
}

@media (max-width: 576px){
    .container{ padding: 0 7px; }
}

/* cache-bust: 2026-01-19 */

/* Scrollbar (global) */
html{
    scrollbar-width: thin; /* Firefox */
    scrollbar-color: var(--secondary) rgba(22, 23, 30, .12);
}
/* Chrome / Edge / Safari */
*::-webkit-scrollbar{
    width: 6px;
    height: 6px;
}
*::-webkit-scrollbar-track{
    background: rgba(22, 23, 30, .08);
}
*::-webkit-scrollbar-thumb{
    background: var(--secondary);
    border-radius: 999px;
    border: 2px solid rgba(22, 23, 30, .08);
}
*::-webkit-scrollbar-thumb:hover{
    background: var(--secondary);
}

/* Admin auth (login) */
.admin-auth{
    min-height: 100vh;
    background: var(--auth-bg) center / cover no-repeat;
    display: grid;
    place-items: center;
    padding: 28px 14px;
    position: relative;
}
.admin-auth-overlay{
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,.45); /* lighter overlay, image still visible */
}
.admin-auth-wrap{
    position: relative;
    z-index: 1;
    width: min(520px, 100%);
    display: grid;
    gap: 14px;
    justify-items: center;
}
.admin-auth-brand{
    display: grid;
    gap: 6px;
    justify-items: center;
}
.admin-auth-logo{
    height: 56px;
    width: auto;
    display: block;
}
.admin-auth-sub{
    font-size: 12px;
    color: rgba(22,23,30,.65);
    font-weight: 600;
}
.admin-auth-card{
    width: 100%;
    background: #fff;
    border: 1px solid rgba(22,23,30,.10);
    border-radius: 10px;
    padding: 18px 18px 16px;
}
.admin-auth-title{
    margin: 6px 0 16px;
    text-align: center;
    font-size: 20px;
    font-weight: 800;
    color: rgba(22,23,30,.92);
}
.admin-auth-title-logo{
    display: grid;
    place-items: center;
    margin: 4px 0 16px;
}
.admin-auth-title-logo img{
    height: 52px;
    width: auto;
    display: block;
}
.admin-auth-error{
    margin: -6px 0 12px;
    padding: 10px 12px;
    border-radius: 8px;
    background: rgba(var(--primary-rgb), .08);
    border: 1px solid rgba(var(--primary-rgb), .18);
    color: rgba(22,23,30,.92);
    font-weight: 600;
    font-size: 13px;
}
.admin-auth-form{ display: grid; gap: 10px; }
.admin-auth-label{
    font-size: 13px;
    font-weight: 700;
    color: rgba(22,23,30,.88);
    margin-top: 4px;
}
.admin-auth-field{
    display: grid;
    grid-template-columns: 48px 1fr;
    border: 1px solid rgba(22,23,30,.12);
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
}
.admin-auth-ico{
    display: grid;
    place-items: center;
    color: rgba(22,23,30,.65);
    background: rgba(22,23,30,.03);
    border-right: 1px solid rgba(22,23,30,.08);
}
.admin-auth-field input{
    border: 0;
    outline: none;
    padding: 12px 12px;
    font-size: 14px;
}
.admin-auth-remember{
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: rgba(22,23,30,.78);
    user-select: none;
    margin: 6px 0 4px;
}
.admin-auth-submit{
    border: 0;
    cursor: pointer;
    width: 100%;
    padding: 13px 14px;
    border-radius: 6px;
    background: var(--primary);
    color: #fff;
    font-weight: 700;
    font-size: 14px;
}
.admin-auth-submit:hover{ background: var(--primary-hover); }
.admin-auth-foot{
    font-size: 12px;
    color: rgba(22,23,30,.65);
    text-align: center;
    margin-top: 8px;
}
.admin-auth-foot-link{
    color: var(--secondary);
    text-decoration: none;
    font-weight: 700; /* a bit bold */
}
.admin-auth-foot-link:hover{
    color: var(--secondary);
    text-decoration: underline;
}

/* Admin panel minimal */
.admin-layout{
    --admin-bg: #f5f6f8;
    --admin-card: #ffffff;
    --admin-border: rgba(22,23,30,.10);
    --admin-text: rgba(22,23,30,.92);
    --admin-muted: rgba(22,23,30,.65);
    --admin-side: #ffffff;
    --admin-top: #ffffff;
    --admin-shadow: 0 18px 40px rgba(22,23,30,.10);

    min-height: 100vh;
    background: var(--admin-bg);
    display: grid;
    grid-template-columns: 260px 1fr;
}
.admin-overlay{
    display: none;
}
.admin-sidebar{
    background: var(--admin-side);
    border-right: 1px solid var(--admin-border);
    padding: 12px 10px;
    position: sticky;
    top: 0;
    height: 100vh;
}
.admin-brand{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 6px 14px;
}
.admin-brand-link{
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--admin-text);
    font-weight: 700;
}
.admin-brand-logo{
    height: 36px;
    width: auto;
    display: block;
}
.admin-brand-mark{
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    background: rgba(var(--primary-rgb), .12);
    color: var(--primary);
    font-weight: 700;
}
.admin-brand-text{ display: none; }
.admin-collapse{
    width: 34px;
    height: 34px;
    border-radius: 10px;
    border: 1px solid var(--admin-border);
    background: #fff;
    cursor: pointer;
    display: grid;
    place-items: center;
    color: var(--admin-muted);
}
.admin-collapse:hover{ border-color: rgba(22,23,30,.18); color: var(--admin-text); }

.admin-nav{
    display: grid;
    gap: 0;
    padding: 4px 4px;
}
.admin-nav-link{
    display: grid;
    grid-template-columns: 38px 1fr;
    align-items: center;
    gap: 8px;
    padding: 9px 8px;
    border-radius: 10px;
    text-decoration: none;
    color: rgba(22,23,30,.78);
    font-weight: 600;
    font-size: 14.8px;
    border: 0;
    background: transparent;
    position: relative;
}

/* Admin media library (WordPress-like) */
.admin-media-field{
    display: grid;
    grid-template-columns: 96px 1fr;
    gap: 14px;
    align-items: center;
}
.admin-media-preview{
    width: 96px;
    height: 72px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(22, 23, 30, .12);
    background: rgba(255,255,255,.8);
    display: grid;
    place-items: center;
}
.admin-media-preview--small{
    width: 72px;
    height: 72px;
}
.admin-media-preview img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.admin-media-actions .admin-help{ margin-top: 8px; }

.admin-media-modal{
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
}
.admin-media-modal.is-open{ display: block; }
.admin-media-backdrop{
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, .55);
}
.admin-media-dialog{
    position: absolute;
    inset: 22px;
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    display: grid;
    grid-template-rows: auto 1fr;
    box-shadow: 0 30px 80px rgba(0,0,0,.25);
}
.admin-media-head{
    padding: 14px 16px;
    border-bottom: 1px solid rgba(22, 23, 30, .10);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    background: rgba(255,255,255,.92);
}
.admin-media-title{
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    color: rgba(22, 23, 30, .92);
}
.admin-media-head-actions{
    display: inline-flex;
    align-items: center;
    gap: 10px;
}
.admin-media-close-btn{
    padding: 9px 10px;
    border-radius: 10px;
}
.admin-media-body{
    display: grid;
    grid-template-columns: 1fr 340px;
    min-height: 0;
}
.admin-media-grid-wrap{
    min-width: 0;
    display: grid;
    grid-template-rows: auto 1fr;
}
.admin-media-toolbar{
    padding: 10px 16px;
    border-bottom: 1px solid rgba(22, 23, 30, .08);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    font-size: 13px;
    color: rgba(22, 23, 30, .70);
}
.admin-media-status{ color: rgba(22, 23, 30, .62); }
.admin-media-grid{
    padding: 14px 16px 16px;
    overflow: auto;
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(8, minmax(0, 1fr));
}
.admin-media-item{
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(22, 23, 30, .10);
    background: rgba(22, 23, 30, .02);
    cursor: pointer;
    aspect-ratio: 1/1;
}
.admin-media-item img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.admin-media-item.is-selected{
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}
.admin-media-item-badge{
    position: absolute;
    left: 8px;
    bottom: 8px;
    padding: 4px 7px;
    font-size: 11.5px;
    border-radius: 999px;
    background: rgba(255,255,255,.88);
    color: rgba(22, 23, 30, .88);
    border: 1px solid rgba(22, 23, 30, .10);
    max-width: calc(100% - 16px);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.admin-media-side{
    border-left: 1px solid rgba(22, 23, 30, .10);
    background: rgba(255,255,255,.96);
    min-height: 0;
    overflow: auto;
}
.admin-media-side-inner{
    padding: 16px;
}
.admin-media-side-preview{
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(22, 23, 30, .12);
    background: rgba(22, 23, 30, .02);
    aspect-ratio: 16/11;
    display: grid;
    place-items: center;
}
.admin-media-side-preview img{
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.admin-media-side-meta{
    margin-top: 12px;
    font-size: 13px;
    color: rgba(22, 23, 30, .70);
}
.admin-media-side-label{
    font-weight: 700;
    color: rgba(22, 23, 30, .86);
    margin-bottom: 6px;
}
.admin-media-side-name{ font-weight: 700; color: rgba(22, 23, 30, .86); }
.admin-media-side-path{ margin-top: 4px; word-break: break-all; }

@media (max-width: 1100px){
    .admin-media-grid{ grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .admin-media-body{ grid-template-columns: 1fr 320px; }
}
@media (max-width: 860px){
    .admin-media-dialog{ inset: 10px; border-radius: 12px; }
    .admin-media-body{ grid-template-columns: 1fr; }
    .admin-media-side{ border-left: 0; border-top: 1px solid rgba(22, 23, 30, .10); }
    .admin-media-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* FTN AI Modal (admin) */
.admin-ai-modal{
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
}
.admin-ai-modal.is-open{ display: block; }
.admin-ai-backdrop{
    position: absolute;
    inset: 0;
    background: rgba(15, 16, 20, .55);
}
.admin-ai-dialog{
    position: absolute;
    inset: 22px;
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    display: grid;
    grid-template-rows: auto 1fr;
    box-shadow: 0 30px 80px rgba(0,0,0,.25);
}
.admin-ai-head{
    padding: 14px 16px;
    border-bottom: 1px solid rgba(22, 23, 30, .10);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    background: rgba(255,255,255,.92);
}
.admin-ai-title{
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    color: rgba(22, 23, 30, .92);
}
.admin-ai-close-btn{
    padding: 9px 10px;
    border-radius: 10px;
}
.admin-ai-body{ padding: 14px 16px 16px; }
.admin-ai-grid{
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 14px;
    height: 100%;
    min-height: 0;
}
.admin-ai-left{ min-width: 0; }
.admin-ai-right{
    min-width: 0;
    border-left: 1px solid rgba(22, 23, 30, .10);
    padding-left: 14px;
}
.admin-ai-status{
    padding: 10px 12px;
    border-radius: 10px;
    background: rgba(22, 23, 30, .06);
    color: rgba(22, 23, 30, .88);
    font-weight: 600;
    margin-bottom: 10px;
}
.admin-ai-status.is-loading{ background: rgba(250, 204, 21, .18); }
.admin-ai-status.is-ok{ background: rgba(34, 197, 94, .14); }
.admin-ai-status.is-err{ background: rgba(220, 38, 38, .12); }

@media (max-width: 860px){
    .admin-ai-dialog{ inset: 10px; border-radius: 12px; }
    .admin-ai-grid{ grid-template-columns: 1fr; }
    .admin-ai-right{
        border-left: 0;
        padding-left: 0;
        border-top: 1px solid rgba(22, 23, 30, .10);
        padding-top: 12px;
    }
}
.admin-nav-text{ font-size: 14.8px; }
.admin-nav-link::after{
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background: rgba(22,23,30,.10);
}
.admin-nav-link::before{
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 2px;
    height: 20px;
    transform: translateY(-50%);
    border-radius: 999px;
    background: var(--primary);
    opacity: 0;
}
.admin-nav-ico{
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: transparent;
    display: grid;
    place-items: center;
    color: var(--secondary);
    font-size: 18px;
}
.admin-nav-link:hover{
    color: var(--admin-text);
}
.admin-nav-link.is-active{
    color: var(--admin-text);
}
.admin-nav-link.is-active::before{ opacity: 1; }
.admin-nav-link.is-active .admin-nav-ico{ color: var(--primary); }

/* Admin nav group (dropdown) */
.admin-nav-group{
    margin: 2px 0;
}
.admin-nav-group > summary{
    list-style: none;
    cursor: pointer;
}
.admin-nav-group > summary::-webkit-details-marker{ display: none; }
.admin-nav-link--group{
    grid-template-columns: 38px 1fr 20px;
}
.admin-nav-caret{
    display: grid;
    place-items: center;
    opacity: .75;
}
.admin-nav-group[open] .admin-nav-caret i{ transform: rotate(180deg); }
.admin-nav-caret i{ transition: transform .18s ease; }
.admin-nav-sub{
    margin-left: 0;
    padding: 6px 4px 8px;
    display: grid;
    gap: 6px;
}
.admin-nav-sublink{
    display: grid;
    grid-template-columns: 38px 1fr;
    align-items: center;
    gap: 0;
    padding: 10px 8px;
    border-radius: 10px;
    color: rgba(22,23,30,.72);
    position: relative;
    font-weight: 600;
    font-size: 14px;
}
.admin-nav-sublink i{
    width: 38px;
    display: grid;
    place-items: center;
    color: rgba(22,23,30,.62);
}
.admin-nav-sublink.is-active i{ color: var(--primary); }
.admin-nav-sublink::after{
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background: rgba(22,23,30,.10);
}
.admin-nav-sublink:hover{ color: rgba(22,23,30,.92); }
.admin-nav-sublink.is-active{ color: rgba(22,23,30,.92); }

/* collapsed: hide dropdown content and caret */
.admin-layout.is-collapsed .admin-nav-link--group{ grid-template-columns: 38px; }
.admin-layout.is-collapsed .admin-nav-caret{ display: none; }
.admin-layout.is-collapsed .admin-nav-group[open] .admin-nav-sub{ display: none; }

.admin-main{
    min-width: 0;
    display: grid;
    grid-template-rows: 64px 1fr;
}
.admin-topbar{
    background: var(--admin-top);
    border-bottom: 1px solid var(--admin-border);
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 14px;
    position: sticky;
    top: 0;
    z-index: 50;
}
.admin-burger{
    width: 40px;
    height: 40px;
    border-radius: 12px;
    border: 1px solid var(--admin-border);
    background: #fff;
    display: grid;
    place-items: center;
    color: var(--secondary);
    cursor: pointer;
}
.admin-burger:hover{ border-color: rgba(22,23,30,.18); }
.admin-topbar-spacer{ flex: 1; }
.admin-topbar-actions{
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.admin-license{
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 10px;
    border-radius: 10px;
    background: rgba(22, 23, 30, .04);
    border: 1px solid rgba(22, 23, 30, .08);
    color: rgba(22, 23, 30, .86);
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    user-select: none;
    white-space: nowrap;
}
.admin-license i{ color: #16a34a; } /* green */
.admin-icon-btn{
    width: 40px;
    height: 40px;
    border-radius: 12px;
    border: 1px solid var(--admin-border);
    background: #fff;
    cursor: pointer;
    display: grid;
    place-items: center;
    color: var(--secondary);
    position: relative;
}
.admin-icon-btn:hover{ border-color: rgba(22,23,30,.18); }
.admin-badge{
    position: absolute;
    top: 9px;
    right: 10px;
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: var(--primary);
    box-shadow: 0 0 0 2px #fff;
}
.admin-userbox{
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding-left: 6px;
}
.admin-avatar{
    width: 36px;
    height: 36px;
    border-radius: 999px;
    background: rgba(22,23,30,.06);
    display: grid;
    place-items: center;
    font-weight: 700;
    color: var(--secondary);
    overflow: hidden;
}
.admin-avatar-logo{
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.admin-user-meta{ line-height: 1.1; }
.admin-user-name{ font-weight: 700; color: var(--admin-text); font-size: 13px; }
.admin-user-role{ font-size: 11px; color: var(--admin-muted); font-weight: 700; margin-top: 2px; }
.admin-logout{
    margin-left: 8px;
    text-decoration: none;
    font-weight: 700;
    color: var(--primary);
}
.admin-logout--icon{
    width: 40px;
    height: 40px;
    border-radius: 12px;
    border: 1px solid var(--admin-border);
    background: #fff;
    display: grid;
    place-items: center;
    color: var(--secondary);
    margin-left: 0;
}
.admin-logout--icon:hover{ border-color: rgba(22,23,30,.18); color: var(--primary); }
.admin-logout:hover{ color: var(--primary-hover); }

.admin-content{
    padding: 18px 14px 28px;
    min-width: 0;
}
.admin-page-head{
    margin-bottom: 14px;
}
.admin-page-title{
    margin: 0 0 6px;
    font-weight: 700;
    color: var(--admin-text);
    letter-spacing: -.02em;
    font-size: 18px;
}
.admin-page-desc{
    margin: 0;
    color: var(--admin-muted);
    font-weight: 600;
    font-size: 13px;
}
.admin-content{
    font-size: 14px;
}
.admin-card h1,
.admin-card h2,
.admin-card h3{
    font-weight: 700;
}

/* Admin dashboard */
.admin-stats-grid{
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 14px;
}
.admin-stats-grid > *{ min-width: 0; }
.admin-stat{
    border-radius: 10px;
    padding: 14px 14px;
    color: #ffffff;
    position: relative;
    overflow: hidden;
    min-height: 86px;
}
.admin-stat-label{
    font-weight: 600;
    font-size: 13px;
    opacity: .92;
}
.admin-stat-value{
    margin-top: 4px;
    font-weight: 700;
    font-size: 26px;
    line-height: 1.05;
    letter-spacing: -0.02em;
}
.admin-stat-sub{
    margin-top: 6px;
    font-weight: 600;
    font-size: 12px;
    opacity: .92;
}
.admin-stat-line{
    position: absolute;
    right: 10px;
    top: 12px;
    width: 120px;
    height: 60px;
    opacity: .28;
    background: radial-gradient(circle at 10% 70%, rgba(255,255,255,.8) 0 2px, transparent 3px),
        linear-gradient(135deg, transparent 0 30%, rgba(255,255,255,.55) 30% 32%, transparent 32% 55%, rgba(255,255,255,.55) 55% 57%, transparent 57% 100%);
    border-radius: 10px;
}
.admin-stat--purple{ background: linear-gradient(135deg, #6d5bd0, #8b78ff); }
.admin-stat--green{ background: linear-gradient(135deg, #1aa36a, #30d285); }
.admin-stat--orange{ background: linear-gradient(135deg, #ff7a18, #ffb000); }
.admin-stat--blue{ background: linear-gradient(135deg, #3b82f6, #4fc3ff); }

.admin-two-col{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}
.admin-two-col > *{ min-width: 0; }
.admin-card-title{
    font-weight: 700;
    font-size: 14px;
    color: rgba(22,23,30,.92);
    margin-bottom: 10px;
}
.admin-list{ display: grid; gap: 8px; }
.admin-list-row{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(22,23,30,.08);
}
.admin-list-row:last-child{ border-bottom: 0; padding-bottom: 0; }
.admin-list-link{
    color: rgba(22,23,30,.78);
    text-decoration: none;
    font-weight: 600;
    font-size: 13px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.admin-list-link:hover{ color: var(--primary); }
.admin-list-muted{
    color: rgba(22,23,30,.65);
    font-weight: 600;
    font-size: 12px;
}
.admin-pill{
    min-width: 34px;
    text-align: center;
    padding: 4px 8px;
    border-radius: 999px;
    background: rgba(22,23,30,.06);
    color: rgba(22,23,30,.72);
    font-weight: 700;
    font-size: 12px;
}
.admin-empty{
    color: rgba(22,23,30,.65);
    font-weight: 600;
    font-size: 13px;
}
@media (max-width: 1100px){
    .admin-stats-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .admin-two-col{ grid-template-columns: 1fr; }
}
@media (max-width: 560px){
    .admin-stats-grid{ grid-template-columns: 1fr; }
    .admin-stat-value{ font-size: 24px; }
}
.admin-card{
    background: var(--admin-card);
    border: 1px solid var(--admin-border);
    border-radius: 12px;
    box-shadow: var(--admin-shadow);
    min-width: 0;
}
.admin-card--pad{ padding: 16px; }

.admin-alert{
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid rgba(22,23,30,.12);
    font-weight: 700;
    margin-bottom: 12px;
}
.admin-alert--success{ background: rgba(34,197,94,.10); border-color: rgba(34,197,94,.20); color: rgba(22,23,30,.92); }
.admin-alert--error{ background: rgba(239,68,68,.10); border-color: rgba(239,68,68,.22); color: rgba(22,23,30,.92); }

.admin-form-row{ display: grid; gap: 8px; margin-top: 12px; }
.admin-form-row--split{
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 14px;
}
.admin-label{
    font-weight: 700;
    color: var(--admin-text);
    font-size: 13px;
}
.admin-help{
    margin-top: 4px;
    font-size: 12px;
    color: var(--admin-muted);
    font-weight: 600;
}
.admin-textarea{
    width: 100%;
    border: 1px solid var(--admin-border);
    border-radius: 12px;
    padding: 12px 12px;
    font-size: 14px;
    font-family: inherit;
    outline: none;
    resize: vertical;
}
.admin-textarea:focus{ border-color: rgba(var(--primary-rgb), .35); box-shadow: 0 0 0 4px rgba(var(--primary-rgb), .08); }

.admin-input{
    width: 100%;
    border: 1px solid var(--admin-border);
    border-radius: 5px;
    padding: 10px 10px;
    font-size: 14px;
    font-family: inherit;
    outline: none;
    background: #fff;
}
.admin-input:focus{ border-color: rgba(var(--primary-rgb), .35); box-shadow: 0 0 0 4px rgba(var(--primary-rgb), .08); }

.admin-color-grid{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.admin-color-row{
    display: grid;
    grid-template-columns: 46px 1fr;
    gap: 10px;
    align-items: center;
    margin-top: 6px;
}
.admin-color{
    width: 46px;
    height: 40px;
    border: 1px solid var(--admin-border);
    border-radius: 5px;
    padding: 0;
    background: #fff;
    cursor: pointer;
}
.admin-color-field .admin-input{
    padding: 10px 10px;
}
@media (max-width: 560px){
    .admin-color-grid{ grid-template-columns: 1fr; }
}

.admin-settings-grid{
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}
.admin-settings-grid--single{
    grid-template-columns: 1fr !important;
}

.admin-table-wrap{
    width: 100%;
    overflow: auto;
    max-width: 100%;
    -webkit-overflow-scrolling: touch;
    border: 1px solid rgba(22,23,30,.10);
    border-radius: 12px;
    background: #fff;
}
.admin-table{
    width: 100%;
    border-collapse: collapse;
    min-width: 520px;
}
.admin-table th,
.admin-table td{
    padding: 12px 12px;
    border-bottom: 1px solid rgba(22,23,30,.08);
    text-align: left;
    font-size: 14px;
    color: rgba(22,23,30,.82);
}
.admin-table th{
    font-weight: 700;
    background: rgba(22,23,30,.03);
}
.admin-btn--sm{
    padding: 8px 10px;
    font-size: 13px;
}
.admin-btn--danger{
    color: #ef4444;
    border-color: rgba(239,68,68,.28);
    background: #fff;
}
.admin-btn--danger:hover{
    border-color: rgba(239,68,68,.42);
    background: rgba(239,68,68,.06);
}
.admin-table-toolbar{ margin-bottom: 10px; }
.admin-table-actions{
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.admin-table-actionform{ display: inline-block; }
.admin-divider{
    height: 1px;
    background: rgba(22,23,30,.10);
    margin: 12px 0;
}
.admin-inline-actions{ display: inline-block; margin-right: 10px; margin-top: 6px; }
.admin-check{
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: rgba(22,23,30,.78);
    font-size: 13px;
}
.admin-check input{ width: 16px; height: 16px; }
.admin-check--row{ display: flex; width: 100%; justify-content: flex-start; }
.admin-checklist{
    display: grid;
    gap: 8px;
    padding: 8px 0;
}
.admin-nav-toggle-grid{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-top: 10px;
}
.admin-nav-toggle-col{
    border: 1px solid rgba(22,23,30,.10);
    border-radius: 10px;
    padding: 10px 10px;
    background: rgba(22,23,30,.02);
    display: grid;
    gap: 8px;
}
@media (max-width: 560px){
    .admin-nav-toggle-grid{ grid-template-columns: 1fr; }
}
@media (max-width: 1100px){
    .admin-settings-grid{ grid-template-columns: 1fr; }
}
.admin-block-title{
    font-weight: 700;
    color: var(--admin-text);
    margin-top: 4px;
}
.admin-countdown{
    display: inline-flex;
    gap: 10px;
    margin-top: 10px;
}
.admin-countdown-item{
    border: 1px solid rgba(22,23,30,.10);
    border-radius: 5px;
    padding: 10px 12px;
    min-width: 92px;
    text-align: center;
    background: rgba(22,23,30,.02);
}
.admin-countdown-num{ font-weight: 700; font-size: 18px; color: var(--secondary); }
.admin-countdown-lbl{ font-weight: 600; font-size: 12px; color: rgba(22,23,30,.65); margin-top: 2px; }

/* Maintenance page */
.maintenance{
    min-height: 100vh;
    background: var(--maint-bg) center / cover no-repeat;
    display: grid;
    place-items: center;
    padding: 28px 14px;
    position: relative;
}
.maintenance-overlay{
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,.45); /* match login feel */
}
.maintenance-wrap{
    position: relative;
    z-index: 1;
    width: min(560px, 100%);
}
.maintenance-card{
    background: rgba(255,255,255,.92);
    border: 1px solid rgba(255,255,255,.35);
    border-radius: 14px;
    box-shadow: 0 26px 60px rgba(0,0,0,.18);
    padding: 18px 18px 16px;
    text-align: center;
    backdrop-filter: blur(10px);
}
.maintenance-top{
    display: grid;
    place-items: center;
    margin-bottom: 8px;
}
.maintenance-logo{
    height: 54px;
    width: auto;
    display: block;
}
.maintenance-ico{
    width: 62px;
    height: 62px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    margin: 10px auto 10px;
    background: rgba(var(--primary-rgb), .10);
    color: var(--primary);
    font-size: 26px;
}
.maintenance-title{
    margin: 0 0 8px;
    font-weight: 700;
    font-size: 22px;
    color: rgba(22,23,30,.92);
}
.maintenance-text{
    margin: 0;
    color: rgba(22,23,30,.72);
    font-weight: 600;
    line-height: 1.6;
    font-size: 14px;
}
.maintenance-countdown{
    margin: 14px auto 0;
    display: inline-flex;
    gap: 12px;
}
.maintenance-countdown-item{
    border: 1px solid rgba(22,23,30,.10);
    border-radius: 10px;
    padding: 12px 14px;
    min-width: 110px;
    background: rgba(255,255,255,.85);
}
.maintenance-countdown-num{
    font-weight: 700;
    font-size: 26px;
    color: var(--secondary);
    letter-spacing: -.02em;
}
.maintenance-countdown-lbl{
    font-weight: 600;
    font-size: 12px;
    color: rgba(22,23,30,.65);
    margin-top: 4px;
}
.maintenance-actions{ margin-top: 16px; }
.maintenance-link{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 14px;
    border-radius: 5px;
    background: var(--primary);
    color: #fff;
    text-decoration: none;
    font-weight: 700;
}
.maintenance-link:hover{ background: var(--primary-hover); }

.admin-switch{ position: relative; display: inline-flex; align-items: center; }
.admin-switch input{ position: absolute; opacity: 0; pointer-events: none; }
.admin-switch-ui{
    width: 54px;
    height: 30px;
    border-radius: 999px;
    background: rgba(22,23,30,.18);
    position: relative;
    transition: background .2s ease;
    border: 1px solid rgba(22,23,30,.12);
}
.admin-switch-ui::after{
    content: "";
    position: absolute;
    top: 50%;
    left: 3px;
    width: 24px;
    height: 24px;
    border-radius: 999px;
    background: #fff;
    transform: translateY(-50%);
    transition: left .2s ease;
    box-shadow: 0 10px 20px rgba(22,23,30,.18);
}
.admin-switch input:checked + .admin-switch-ui{
    background: rgba(var(--primary-rgb), .90);
    border-color: rgba(var(--primary-rgb), .35);
}
.admin-switch input:checked + .admin-switch-ui::after{ left: 27px; }

.admin-form-actions{
    margin-top: 14px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.admin-btn{
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    border-radius: 5px;
    border: 1px solid var(--admin-border);
    background: #fff;
    text-decoration: none;
    font-weight: 700;
    color: var(--secondary);
    cursor: pointer;
}
.admin-btn--primary{
    background: var(--primary);
    border-color: rgba(var(--primary-rgb), .25);
    color: #fff;
}
.admin-btn--primary:hover{ background: var(--primary-hover); }
.admin-btn:hover{ border-color: rgba(22,23,30,.18); }

/* collapsed sidebar */
.admin-layout.is-collapsed{ grid-template-columns: 84px 1fr; }
.admin-layout.is-collapsed .admin-brand-text{ display: none; }
.admin-layout.is-collapsed .admin-brand-logo{ display: none; }
.admin-layout.is-collapsed .admin-nav-link{ grid-template-columns: 38px; }
.admin-layout.is-collapsed .admin-nav-text{ display: none; }
.admin-layout.is-collapsed .admin-collapse i{ transform: rotate(180deg); }

/* mobile */
@media (max-width: 980px){
    .admin-layout{ grid-template-columns: 1fr; }
    .admin-sidebar{
        position: fixed;
        left: 0;
        top: 0;
        transform: translateX(-105%);
        transition: transform .22s ease;
        z-index: 9990;
        box-shadow: 0 22px 50px rgba(22,23,30,.18);
        width: 260px;
    }
    .admin-layout.is-mobile-open .admin-sidebar{ transform: translateX(0); }
    .admin-overlay{
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,.35);
        opacity: 0;
        pointer-events: none;
        transition: opacity .22s ease;
        z-index: 9989;
    }
    .admin-layout.is-mobile-open .admin-overlay{
        opacity: 1;
        pointer-events: auto;
    }
    .admin-user-meta{ display: none; }
}

/* Desktop: no burger icon (sidebar is visible) */
@media (min-width: 981px){
    .admin-burger{ display: none; }
}

/* Toast / popup (success/error) */
.toast{
    position: fixed;
    top: 18px;
    right: 18px;
    width: min(360px, calc(100% - 28px));
    background: #ffffff;
    border: 1px solid rgba(22,23,30,.12);
    border-radius: 12px;
    box-shadow: 0 18px 40px rgba(22,23,30,.14);
    z-index: 9999;
    overflow: hidden;
}
.toast-inner{
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 12px;
    padding: 12px 12px 10px;
    align-items: center;
}
.toast-ico{
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    font-size: 20px;
    color: #ffffff;
}
.toast--success .toast-ico{ background: #16a34a; }
.toast--error .toast-ico{ background: #dc2626; }
.toast-title{
    font-weight: 800;
    color: rgba(22,23,30,.92);
    line-height: 1.15;
}
.toast-msg{
    margin-top: 2px;
    font-size: 13px;
    color: rgba(22,23,30,.72);
    font-weight: 600;
}
.toast-bar{
    height: 3px;
    width: 100%;
    transform-origin: left center;
    transform: scaleX(0);
}
.toast--success .toast-bar{ background: #22c55e; }
.toast--error .toast-bar{ background: #ef4444; }
.toast.is-show .toast-bar{
    animation: toastProgress var(--toast-ms, 1500ms) linear forwards;
}
@keyframes toastProgress{
    from{ transform: scaleX(0); }
    to{ transform: scaleX(1); }
}
@media (max-width: 560px){
    .toast{
        left: 50%;
        right: auto;
        transform: translateX(-50%);
        top: 14px;
    }
}

/* Mobile actions + drawer */
.mobile-actions{
    display: none;
    align-items: center;
    gap: 6px;
}
.mobile-icon-link,
.mobile-menu-btn{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    height: auto;
    padding: 4px;
    border-radius: 0;
    background: transparent;
    border: 0;
    color: var(--secondary);
}
.mobile-menu-btn{ cursor: pointer; }
.mobile-actions i{
    font-size: 26px;
    line-height: 1;
}

.mobile-drawer[hidden]{ display: none; }
.mobile-drawer{
    position: fixed;
    inset: 0;
    z-index: 1200;
}
.mobile-drawer-backdrop{
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.28);
}
.mobile-drawer-panel{
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    width: min(86vw, 360px);
    background: var(--white);
    border-left: 1px solid var(--border);
    display: flex;
    flex-direction: column;
}
.mobile-drawer-head{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 14px;
    border-bottom: 1px solid var(--border);
}
.mobile-drawer-title{
    font-size: 16px;
    font-weight: 600;
    color: rgba(22, 23, 30, .95);
}
.mobile-drawer-close{
    width: 36px;
    height: 36px;
    border-radius: 10px;
    border: 0;
    background: transparent;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.mobile-drawer-close i{
    font-size: 26px; /* same as nav icons */
    line-height: 1;
    color: var(--secondary); /* make close icon secondary color */
}
.mobile-drawer-close:hover i{ color: var(--primary); }
.mobile-drawer-body{
    padding: 10px 14px 18px;
    overflow: auto;
}

.mobile-menu-cta{
    padding: 12px 0 6px;
}
.mobile-cta-call{
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    padding: 12px 12px;
    border-radius: 5px;
    background: var(--secondary);
    color: var(--white);
    font-weight: 600;
}
.mobile-cta-call:hover{ opacity: .95; }

.mobile-cta-wa{
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    padding: 12px 12px;
    border-radius: 5px;
    background: rgba(34, 197, 94, .90);
    color: var(--white);
    font-weight: 600;
    text-decoration: none;
    margin-top: 10px;
}
.mobile-cta-wa:hover{ opacity: .95; }

/* When mobile drawer is open, prevent background scroll */
html.is-mobile-menu-open,
html.is-mobile-menu-open body{
    overflow: hidden;
}

@media (max-width: 860px){
    .mobile-drawer-panel{
        left: 0;
        right: 0;
        width: 100vw;
        max-width: none;
        border-left: 0;
    }
}
.mobile-nav-link{
    display: block;
    padding: 12px 10px;
    border-radius: 0;
    font-weight: 600;
    color: rgba(22, 23, 30, .92);
    border-bottom: 1px solid rgba(22, 23, 30, .12);
}
.mobile-nav-link.is-active{ color: var(--primary); }
.mobile-nav-group{
    border: 0;
    border-radius: 0;
    margin: 0;
    overflow: visible;
}
.mobile-nav-group > summary{
    list-style: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.mobile-nav-group > summary::-webkit-details-marker{ display: none; }
.mobile-nav-group > summary::after{
    content: "\f107"; /* fa-angle-down */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: rgba(22, 23, 30, .7);
    font-size: 16px;
    margin-left: 12px;
}
.mobile-nav-group[open] > summary::after{
    transform: rotate(180deg);
}
.mobile-nav-sub{
    padding: 8px 10px 10px;
    border-top: 1px solid rgba(22, 23, 30, .12);
    background: rgba(22, 23, 30, .02);
}
.mobile-sub-link{
    display: block;
    padding: 10px 8px;
    border-radius: 0;
    font-weight: 500;
    color: rgba(22, 23, 30, .92);
    font-size: 14px;
}
.mobile-sub-link + .mobile-sub-link{
    border-top: 1px solid rgba(22, 23, 30, .12);
}
.mobile-sub-link.is-active{ color: var(--primary); }

