:root {
    /* LUXURY 2026 PALETTE - DARK MODE */
    --bg-core: #050505;       /* Ultra Dark */
    --bg-secondary: #0f0f0f;  /* Slightly lighter for cards/sections */
    --bg-tertiary: #141414;
    
    --text-main: #e0e0e0;     /* Off-white */
    --text-muted: #888888;
    
    --accent-gold: #D4AF37;   /* Classic Gold */
    --accent-gold-dim: #8a7020;
    --accent-gradient: linear-gradient(135deg, #D4AF37 0%, #F2D06B 50%, #D4AF37 100%);
    
    --border-light: rgba(255, 255, 255, 0.08);
    
    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Montserrat', sans-serif;
    
    --spacing-container: 1400px; /* Wider layout */
    --spacing-section: 140px;    /* More breathing room */
}

/* RESET & BASE */
* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    background-color: var(--bg-core);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.8;
    font-weight: 300;
    overflow-x: hidden;
    font-size: 16px;
}

/* TYPOGRAPHY STATEMENT */
h1, h2, h3, h4, h5 {
    font-family: var(--font-heading);
    color: var(--text-main);
    font-weight: 400;
    line-height: 1.2;
}

h1 {
    font-size: 5rem;
    letter-spacing: -1px;
    margin-bottom: 2rem;
}

h2 {
    font-size: 3.5rem;
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
}

.gold-text {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-style: italic;
}

.subtitle {
    font-family: var(--font-body);
    text-transform: uppercase;
    letter-spacing: 4px;
    font-size: 0.85rem;
    color: var(--accent-gold);
    margin-bottom: 1.5rem;
    display: block;
    font-weight: 600;
}

p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    max-width: 700px;
}

a { text-decoration: none; color: inherit; transition: 0.4s ease; }
img { max-width: 100%; height: auto; }

/* UTILITIES */
.container {
    max-width: var(--spacing-container);
    margin: 0 auto;
    padding: 0 40px;
}

.text-center { text-align: center; }
.text-right { text-align: right; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.mb-large { margin-bottom: 5rem; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; }

/* BUTTONS 2026 */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 18px 45px;
    font-family: var(--font-body);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.5s ease;
    border: 1px solid var(--border-light);
    background: transparent;
    color: var(--text-main);
}

.btn::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: var(--accent-gold);
    transition: all 0.5s ease;
    z-index: -1;
}

.btn:hover::before { left: 0; }
.btn:hover { border-color: var(--accent-gold); color: var(--bg-core); }

.btn-gold {
    border-color: var(--accent-gold);
    color: var(--accent-gold);
}
.btn-gold:hover { color: var(--bg-core); }

/* HEADER - GLASSMORPHISM */
header {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 30px 0;
    z-index: 1000;
    transition: all 0.4s ease;
    mix-blend-mode: difference; /* Innovative touch */
    color: white;
}

header.menu-open {
    mix-blend-mode: normal;
}

header.scrolled {
    background: rgba(5, 5, 5, 0.8);
    backdrop-filter: blur(20px);
    padding: 20px 0;
    mix-blend-mode: normal;
    border-bottom: 1px solid var(--border-light);
}

nav { display: flex; justify-content: space-between; align-items: center; }

.logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 2px;
}

header .logo img { max-height: 50px; }
footer .logo img { max-height: 40px; }

.nav-links { display: flex; align-items: center; gap: 50px; list-style: none; }
.nav-links a {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.7;
}
.nav-links a:hover, .nav-links a.active { opacity: 1; color: var(--accent-gold); }

/* Header CTA */
.nav-links .btn {
    padding: 10px 18px;
    line-height: 1;
    border-color: var(--accent-gold);
    color: var(--accent-gold);
    opacity: 1;
    mix-blend-mode: normal;
}
.nav-links .btn:hover {
    color: var(--bg-core);
}

/* Language Switcher */
.lang-switcher select {
    appearance: none;
    -webkit-appearance: none;
    background: transparent;
    border: 1px solid var(--border-light);
    color: var(--text-main);
    padding: 8px 12px;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    cursor: pointer;
    opacity: 0.9;
}
.lang-switcher select:hover { border-color: var(--accent-gold); opacity: 1; }

/* Hide Google banner and branding */
.goog-te-banner-frame { display: none !important; }
body { top: 0 !important; }
.goog-logo-link { display: none !important; }
.goog-te-gadget { height: 0 !important; overflow: hidden !important; }
.skiptranslate { display: none !important; }

.lang-switcher .lang-flags {
    display: flex;
    align-items: center;
    gap: 10px;
}
.lang-switcher .lang-flag {
    background: transparent;
    border: 1px solid var(--border-light);
    color: var(--text-main);
    padding: 6px 8px;
    line-height: 1;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.95rem;
    transition: border-color 0.3s ease, color 0.3s ease, background 0.3s ease;
}
.lang-switcher .lang-flag:hover,
.lang-switcher .lang-flag.active {
    border-color: var(--accent-gold);
    color: var(--accent-gold);
}

.menu-toggle {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: white; /* Ensure visibility with mix-blend-mode */
}

/* HERO SECTION - CINEMATIC */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: radial-gradient(circle at center, rgba(20,20,20,0) 0%, #050505 100%),
                url('../img/hero-luxury.jpg') center/cover no-repeat; /* Placeholder */
    opacity: 0.4;
    transform: scale(1.1);
    animation: zoomOut 20s infinite alternate;
    z-index: 0;
}

@keyframes zoomOut { from { transform: scale(1.1); } to { transform: scale(1.0); } }

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1000px;
    padding-left: 5%;
}

.hero-line {
    width: 100px;
    height: 1px;
    background: var(--accent-gold);
    margin-bottom: 30px;
}

.hero-carousel {
    margin-top: 35px;
    width: min(860px, 92vw);
    height: clamp(180px, 26vh, 340px);
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border-light);
    background: rgba(255,255,255,0.03);
}

.hero-carousel::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 20%, rgba(212,175,55,0.12) 0%, rgba(5,5,5,0.0) 45%),
                linear-gradient(to top, rgba(5,5,5,0.55) 0%, rgba(5,5,5,0.0) 55%);
    pointer-events: none;
}

.hero-carousel img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 900ms ease;
    transform: translateZ(0) scale(1.04);
    will-change: opacity, transform;
}

.hero-carousel img.is-active {
    opacity: 1;
    animation: heroKenBurns 9s ease-out forwards;
}

@keyframes heroKenBurns {
    from { transform: translateZ(0) scale(1.08); }
    to { transform: translateZ(0) scale(1.0); }
}

.hero-bg-carousel.hero-carousel {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    margin-top: 0;
    border: 0;
    background: none;
    z-index: 0;
}

.hero-bg-carousel.hero-carousel::after {
    background: radial-gradient(circle at center, rgba(20,20,20,0) 0%, #050505 100%),
                linear-gradient(to top, rgba(5,5,5,0.65) 0%, rgba(5,5,5,0.05) 55%);
    opacity: 0.9;
}

@media (prefers-reduced-motion: reduce) {
    .hero-carousel img { transition: none; }
    .hero-carousel img.is-active { animation: none; }
}

/* SECTIONS - ASYMMETRICAL */
section { padding: var(--spacing-section) 0; position: relative; }
section.pt-reduced { padding-top: 60px; }

.bg-dark { background-color: var(--bg-secondary); }
.bg-secondary { background-color: var(--bg-tertiary); } /* Even darker or lighter? Let's use tertiary for contrast */

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 60px;
}

.process-step {
    padding: 40px;
    border: 1px solid var(--border-light);
    position: relative;
    transition: all 0.4s ease;
    background: var(--bg-core);
}

.process-step:hover {
    border-color: var(--accent-gold);
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.step-number {
    font-size: 3rem;
    font-family: var(--font-heading);
    color: var(--accent-gold);
    opacity: 0.3;
    margin-bottom: 20px;
    line-height: 1;
}

.grid-asym {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 80px;
    align-items: center;
}

.grid-asym.reversed { grid-template-columns: 0.8fr 1.2fr; }
.grid-asym.reversed .text-col { order: 2; }

.image-frame {
    position: relative;
    height: 600px;
    overflow: hidden;
}

.image-frame img, .image-placeholder {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.image-frame:hover img, .image-frame:hover .image-placeholder { transform: scale(1.05); }

.image-placeholder {
    background-color: #1a1a1a;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    font-family: var(--font-heading);
    font-size: 2rem;
}

/* CARDS 2026 */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px; /* Minimal gap */
    background: var(--border-light); /* Create borders via gap */
    border: 1px solid var(--border-light);
}

.card-item {
    background: var(--bg-core);
    padding: 60px 40px;
    transition: all 0.4s ease;
    position: relative;
}

.card-item:hover { background: var(--bg-secondary); }

.card-number {
    font-family: var(--font-heading);
    font-size: 4rem;
    color: rgba(255,255,255,0.03);
    position: absolute;
    top: 20px; right: 30px;
    transition: 0.4s;
}

.card-item:hover .card-number { color: rgba(212, 175, 55, 0.1); }

.card-item h3 { font-size: 1.8rem; margin-bottom: 20px; }

/* FORMS - MINIMALIST */
input, select, textarea {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--border-light);
    padding: 20px 0;
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 1.1rem;
    transition: all 0.3s;
}

input:focus, select:focus, textarea:focus {
    border-bottom-color: var(--accent-gold);
    outline: none;
}

label {
    font-size: 0.8rem;
    letter-spacing: 2px;
    color: var(--text-muted);
    margin-top: 20px;
    display: block;
}

/* ANIMATIONS */
.fade-in { opacity: 0; transform: translateY(30px); transition: all 0.8s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* REVIEWS CAROUSEL */
.reviews-carousel-wrapper {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 30px;
    /* Hide scrollbar */
    -ms-overflow-style: none;
    scrollbar-width: none;
}
.reviews-carousel-wrapper::-webkit-scrollbar { display: none; }

.reviews-track {
    display: flex;
    gap: 30px;
    width: max-content;
    padding: 0 40px; /* Side padding */
    animation: scroll 60s linear infinite;
}

.reviews-track:hover { animation-play-state: paused; }

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.review-card {
    background: var(--bg-core);
    border: 1px solid var(--border-light);
    padding: 40px;
    min-width: 400px;
    max-width: 400px;
    border-radius: 4px;
    position: relative;
    transition: 0.3s;
}

.review-card:hover {
    border-color: var(--accent-gold);
    transform: translateY(-10px);
}

.review-stars {
    color: var(--accent-gold);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.review-text {
    font-style: italic;
    color: var(--text-main);
    font-size: 1rem;
    margin-bottom: 20px;
    line-height: 1.6;
}

.review-author {
    color: var(--text-muted);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .reviews-track { animation: none; overflow-x: scroll; width: 100%; gap: 20px; padding: 0 20px; }
    .review-card { min-width: 300px; max-width: 300px; padding: 25px; }
}

@media (max-width: 1024px) {
    :root { --spacing-section: 100px; }
    .container { padding: 0 24px; }
    h1 { font-size: 3.5rem; }
    h2 { font-size: 2.5rem; }
    p { font-size: 1.05rem; }
    .grid-asym, .grid-asym.reversed { grid-template-columns: 1fr; gap: 40px; }
    .grid-3 { grid-template-columns: 1fr; margin-top: 40px; }
    .hero-content { padding-left: 20px; }
    .hero-carousel { width: calc(100vw - 40px); }
    .cards-grid { grid-template-columns: 1fr; }
    .image-frame { height: 480px; }
    .process-step { padding: 32px; }
    .card-item { padding: 44px 28px; }
    
    .menu-toggle { display: block; }
    
    .nav-links {
        display: none;
        flex-direction: column;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: #050505; /* Solid dark background */
        padding: 110px 24px 40px;
        z-index: 999;
        text-align: center;
        justify-content: center;
        align-items: center;
        border-bottom: none;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .nav-links.active {
        display: flex;
        animation: fadeInMenu 0.5s ease;
    }
    
    .nav-links li { margin: 18px 0; }
    .nav-links a { font-size: 1.35rem; }
    .lang-switcher select { font-size: 0.95rem; padding: 10px 12px; }
}

@media (max-width: 768px) {
    :root { --spacing-section: 80px; }
    .container { padding: 0 18px; }
    .grid-2 { grid-template-columns: 1fr; gap: 22px; }

    h1 { font-size: 2.6rem; }
    h2 { font-size: 2.0rem; margin-bottom: 2.2rem; }
    p { font-size: 1rem; }

    header { padding: 18px 0; }
    header.scrolled { padding: 14px 0; }
    .logo img { max-height: 42px; }
    .menu-toggle { font-size: 1.8rem; padding: 12px; }

    .hero { padding-top: 90px; min-height: 100svh; height: 100svh; }
    .hero-line { width: 70px; margin-bottom: 20px; }
    .hero-content { padding-left: 0; }
    .hero-carousel { height: clamp(160px, 24vh, 260px); }

    .image-frame { height: 360px; }
    .process-step { padding: 26px; }
    .card-item { padding: 34px 22px; }

    .concierge-widget { bottom: 16px; right: 16px; }
    .concierge-toggle { padding: 12px 16px; gap: 10px; }
    .widget-text { font-size: 0.85rem; letter-spacing: 1.5px; }
    .concierge-box { width: min(350px, calc(100vw - 32px)); }
}

@media (max-width: 480px) {
    :root { --spacing-section: 64px; }
    .container { padding: 0 14px; }

    h1 { font-size: 2.2rem; }
    h2 { font-size: 1.7rem; }

    .btn { padding: 14px 26px; }
    .nav-links { padding: 100px 16px 28px; }
    .nav-links a { font-size: 1.15rem; }
    .nav-links .btn { width: 100%; }

    .hero { padding-top: 86px; }
    .image-frame { height: 300px; }

    .widget-text { display: none; }
    .concierge-box { width: calc(100vw - 28px); }

    #cookie-banner { left: 12px !important; right: 12px !important; bottom: 12px !important; }
}

@keyframes fadeInMenu {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* CONCIERGE WIDGET */
.concierge-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 10000;
    font-family: var(--font-body);
}

.concierge-toggle {
    background: rgba(5, 5, 5, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid var(--accent-gold);
    color: var(--accent-gold);
    padding: 15px 25px;
    border-radius: 50px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    transition: all 0.4s ease;
}

.concierge-toggle:hover {
    background: var(--accent-gold);
    color: var(--bg-core);
    transform: translateY(-5px);
}

.widget-icon { font-size: 1.5rem; }
.widget-text { font-size: 0.9rem; text-transform: uppercase; letter-spacing: 2px; font-weight: 600; }

.concierge-box {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 350px;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-light);
    border-top: 3px solid var(--accent-gold);
    border-radius: 4px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.8);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.concierge-box.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.concierge-header {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-light);
}

.header-title {
    color: var(--accent-gold);
    font-family: var(--font-heading);
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.close-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.5rem;
    cursor: pointer;
    transition: 0.3s;
}
.close-btn:hover { color: white; }

.concierge-body { padding: 25px; }

.concierge-welcome {
    font-size: 0.9rem;
    color: var(--text-main);
    margin-bottom: 20px;
    line-height: 1.6;
}

#whatsapp-message {
    width: 100%;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border-light);
    border-radius: 0;
    color: white;
    padding: 15px;
    font-family: var(--font-body);
    margin-bottom: 20px;
    resize: none;
    transition: 0.3s;
}

#whatsapp-message:focus {
    outline: none;
    border-color: var(--accent-gold);
    background: rgba(255,255,255,0.08);
}

.btn-gold-full {
    width: 100%;
    padding: 15px;
    background: var(--accent-gold);
    color: var(--bg-core);
    border: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.btn-gold-full:hover {
    background: #fff;
    color: var(--bg-core);
}

.admin-shell { max-width: 1400px; margin: 0 auto; }
.admin-topbar { display:flex; align-items:flex-end; justify-content: space-between; gap: 18px; padding: 22px; border: 1px solid var(--border-light); background: rgba(10,10,10,0.55); backdrop-filter: blur(10px); border-radius: 14px; }
.admin-topbar-actions { display:flex; gap: 10px; align-items:center; flex-wrap: wrap; }
.admin-grid { display:grid; grid-template-columns: 240px 1fr; gap: 16px; margin-top: 16px; }
.admin-nav { border: 1px solid var(--border-light); background: rgba(10,10,10,0.55); border-radius: 14px; padding: 10px; height: fit-content; position: sticky; top: 120px; }
.admin-nav-item { width: 100%; text-align: left; padding: 12px 14px; border-radius: 10px; border: 1px solid transparent; background: transparent; color: var(--text-main); cursor:pointer; font-weight: 600; letter-spacing: 0.5px; }
.admin-nav-item:hover { border-color: var(--border-light); background: rgba(255,255,255,0.03); }
.admin-nav-item.is-active { border-color: rgba(212, 175, 55, 0.35); background: rgba(212, 175, 55, 0.08); }
.admin-main { min-width: 0; }
.admin-view { display:none; }
.admin-view.is-active { display:block; }
.admin-cards { display:grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.admin-card { border: 1px solid var(--border-light); background: rgba(10,10,10,0.55); border-radius: 14px; padding: 18px; backdrop-filter: blur(10px); }
.admin-card-inset { height: 100%; }
.admin-card-kpi-label { color: var(--text-muted); font-size: 0.85rem; letter-spacing: 2px; text-transform: uppercase; }
.admin-card-kpi { font-size: 2.2rem; font-family: var(--font-heading); margin-top: 8px; }
.admin-section-title { font-family: var(--font-heading); font-size: 1.2rem; margin-bottom: 14px; }
.admin-subtitle { color: var(--accent-gold); font-weight: 600; letter-spacing: 2px; text-transform: uppercase; font-size: 0.75rem; margin-bottom: 10px; }
.admin-muted { color: var(--text-muted); font-size: 0.95rem; }
.admin-row { display:flex; gap: 10px; align-items:center; justify-content: space-between; flex-wrap: wrap; }
.admin-grid-2 { display:grid; grid-template-columns: 1fr 420px; gap: 14px; }
.admin-grid-3 { display:grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 14px; }
.admin-field { position: relative; display:flex; flex-direction: column; gap: 8px; margin-top: 14px; }
.admin-field label { font-size: 0.85rem; letter-spacing: 1px; text-transform: uppercase; color: var(--text-muted); }
.admin-table-wrap { overflow:auto; border-radius: 12px; border: 1px solid var(--border-light); }
.admin-table { width: 100%; border-collapse: collapse; min-width: 720px; }
.admin-table th, .admin-table td { padding: 12px 14px; border-bottom: 1px solid var(--border-light); font-size: 0.95rem; }
.admin-table th { text-align: left; color: var(--text-muted); font-weight: 600; letter-spacing: 1px; text-transform: uppercase; font-size: 0.75rem; background: rgba(255,255,255,0.02); }
.admin-table tr:hover td { background: rgba(255,255,255,0.02); }
.admin-link { background: none; border: none; color: var(--text-main); cursor: pointer; padding: 0; text-align: left; font-weight: 600; }
.admin-link:hover { color: var(--accent-gold); }
.admin-mini-list { display:flex; flex-direction: column; gap: 10px; }
.admin-mini-item { display:flex; justify-content: space-between; gap: 12px; border: 1px solid var(--border-light); background: rgba(255,255,255,0.02); padding: 12px 14px; border-radius: 12px; }

.pill { display:inline-flex; align-items:center; justify-content:center; padding: 6px 10px; border-radius: 999px; font-size: 0.75rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; border: 1px solid var(--border-light); margin-left: 6px; }
.pill-confirmed { background: rgba(46, 204, 113, 0.12); border-color: rgba(46, 204, 113, 0.35); }
.pill-pending { background: rgba(241, 196, 15, 0.10); border-color: rgba(241, 196, 15, 0.30); }
.pill-optioned { background: rgba(52, 152, 219, 0.10); border-color: rgba(52, 152, 219, 0.30); }
.pill-cancelled { background: rgba(231, 76, 60, 0.12); border-color: rgba(231, 76, 60, 0.40); }
.pill-quote_pending { background: rgba(241, 196, 15, 0.10); border-color: rgba(241, 196, 15, 0.30); }
.pill-quote_sent { background: rgba(46, 204, 113, 0.12); border-color: rgba(46, 204, 113, 0.35); }
.pill-priority { background: rgba(255,255,255,0.03); }
.pill-priority-high { border-color: rgba(231, 76, 60, 0.35); background: rgba(231, 76, 60, 0.12); }
.pill-priority-medium { border-color: rgba(212, 175, 55, 0.35); background: rgba(212, 175, 55, 0.08); }
.pill-priority-low { border-color: rgba(255,255,255,0.12); background: rgba(255,255,255,0.02); }

.admin-calendar { margin-top: 12px; }
.admin-calendar-header { display:flex; align-items:flex-end; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.admin-calendar-actions { display:flex; gap: 10px; align-items:center; flex-wrap: wrap; }
.admin-seg { display:flex; border: 1px solid var(--border-light); border-radius: 999px; overflow:hidden; }
.admin-seg-item { background: transparent; border: none; color: var(--text-main); cursor:pointer; padding: 10px 14px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; font-size: 0.75rem; }
.admin-seg-item.is-active { background: rgba(212, 175, 55, 0.12); }

.admin-month { display:grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 10px; }
.admin-month-head { color: var(--text-muted); text-transform: uppercase; letter-spacing: 2px; font-size: 0.75rem; padding: 8px 6px; }
.admin-day { border: 1px solid var(--border-light); background: rgba(255,255,255,0.02); border-radius: 14px; min-height: 98px; padding: 10px; cursor:pointer; display:flex; flex-direction: column; justify-content: space-between; }
.admin-day.is-empty { opacity: 0.35; cursor: default; }
.admin-day.is-today { border-color: rgba(212, 175, 55, 0.45); box-shadow: 0 0 0 1px rgba(212, 175, 55, 0.22) inset; }
.admin-day-num { font-weight: 800; letter-spacing: 1px; font-size: 0.95rem; }
.admin-day-events { display:flex; gap: 6px; align-items:center; flex-wrap: wrap; }
.admin-day-dots { display:flex; gap: 6px; align-items:center; flex-wrap: wrap; }
.admin-event-badge { width: 100%; border-radius: 10px; padding: 6px 8px; border: 1px solid var(--border-light); background: rgba(255,255,255,0.02); font-size: 0.72rem; font-weight: 800; letter-spacing: 0.6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.admin-platform-pill { display:inline-flex; align-items:center; padding: 5px 9px; border-radius: 999px; border: 1px solid var(--border-light); font-size: 0.72rem; font-weight: 800; letter-spacing: 0.7px; margin-right: 8px; }
.tag-default { background: rgba(255,255,255,0.02); border-color: rgba(255,255,255,0.12); }
.tag-takeachef { background: rgba(241, 196, 15, 0.14); border-color: rgba(241, 196, 15, 0.35); }
.tag-chefondemand { background: rgba(212, 175, 55, 0.14); border-color: rgba(212, 175, 55, 0.35); }
.tag-clochez { background: rgba(230, 126, 34, 0.14); border-color: rgba(230, 126, 34, 0.35); }
.admin-dot { width: 10px; height: 10px; border-radius: 999px; border: 1px solid rgba(255,255,255,0.18); }
.admin-dot.tag-default { background: rgba(255,255,255,0.24); }
.admin-dot.tag-takeachef { background: rgba(241, 196, 15, 0.92); border-color: rgba(241, 196, 15, 0.92); }
.admin-dot.tag-chefondemand { background: rgba(212, 175, 55, 0.92); border-color: rgba(212, 175, 55, 0.92); }
.admin-dot.tag-clochez { background: rgba(230, 126, 34, 0.92); border-color: rgba(230, 126, 34, 0.92); }
.dot-confirmed { background: rgba(46, 204, 113, 0.75); }
.dot-pending { background: rgba(241, 196, 15, 0.75); }
.dot-optioned { background: rgba(52, 152, 219, 0.75); }
.dot-pr-high { box-shadow: 0 0 0 2px rgba(231, 76, 60, 0.35); }
.dot-pr-medium { box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.25); }
.dot-pr-low { box-shadow: 0 0 0 2px rgba(255,255,255,0.10); }
.admin-more { color: var(--text-muted); font-size: 0.8rem; }

.admin-week { display:grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 10px; }
.admin-week-day { border: 1px solid var(--border-light); background: rgba(255,255,255,0.02); border-radius: 14px; padding: 12px; min-height: 140px; }
.admin-week-head { font-weight: 800; letter-spacing: 1px; font-size: 0.9rem; margin-bottom: 12px; }
.admin-week-event { border: 1px solid var(--border-light); border-radius: 12px; padding: 10px; background: rgba(0,0,0,0.25); margin-bottom: 10px; }
.admin-event-row { display:flex; justify-content: space-between; gap: 14px; align-items: center; border: 1px solid var(--border-light); background: rgba(255,255,255,0.02); border-radius: 14px; padding: 12px 14px; margin-bottom: 10px; }

.admin-modal { position: fixed; inset: 0; z-index: 99999; display:flex; align-items:center; justify-content:center; }
.admin-modal[hidden] { display:none !important; }
.admin-modal-backdrop { position:absolute; inset:0; background: rgba(0,0,0,0.72); backdrop-filter: blur(8px); }
.admin-modal-panel { position: relative; width: min(920px, calc(100% - 24px)); max-height: calc(100% - 24px); overflow:auto; border-radius: 16px; border: 1px solid var(--border-light); background: rgba(10,10,10,0.92); padding: 18px; }
.admin-modal-head { display:flex; align-items:center; justify-content: space-between; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--border-light); }
.admin-modal-actions { display:flex; justify-content:flex-end; gap: 10px; margin-top: 16px; }
.admin-icon-btn { width: 40px; height: 40px; border-radius: 999px; border: 1px solid var(--border-light); background: transparent; color: var(--text-main); cursor:pointer; font-size: 1.4rem; line-height: 1; }
.admin-icon-btn:hover { border-color: rgba(212, 175, 55, 0.35); }

.admin-alert { border-radius: 12px; padding: 12px 14px; border: 1px solid var(--border-light); margin-top: 14px; font-weight: 600; }
.admin-alert-danger { background: rgba(231, 76, 60, 0.12); border-color: rgba(231, 76, 60, 0.35); }

.admin-dropdown { position: absolute; margin-top: 8px; width: min(520px, 100%); border-radius: 14px; border: 1px solid var(--border-light); background: rgba(10,10,10,0.98); overflow:hidden; padding: 8px; z-index: 5; }
.admin-dropdown[hidden] { display:none !important; }
.admin-dd-item { width: 100%; text-align: left; border-radius: 12px; border: 1px solid transparent; background: transparent; color: var(--text-main); padding: 10px 12px; cursor: pointer; }
.admin-dd-item:hover { border-color: rgba(212, 175, 55, 0.35); background: rgba(212, 175, 55, 0.08); }

@media (max-width: 1024px) {
    .admin-grid { grid-template-columns: 1fr; }
    .admin-nav { position: relative; top: 0; display:flex; gap: 10px; }
    .admin-nav-item { width: auto; }
    .admin-grid-2 { grid-template-columns: 1fr; }
    .admin-cards { grid-template-columns: 1fr; }
    .admin-week { grid-template-columns: 1fr; }
}

body.admin-standalone .admin-shell { max-width: none; margin: 0; }
body.admin-standalone .admin-nav { top: 16px; }
@media (max-width: 1024px) {
    body.admin-standalone .admin-nav { position: relative; top: 0; overflow-x: auto; }
    body.admin-standalone .admin-nav-item { white-space: nowrap; }
}

@media (max-width: 520px) {
    .admin-calendar-header { align-items: stretch; }
    .admin-calendar-actions { width: 100%; justify-content: flex-start; gap: 8px; }
    .admin-seg { width: 100%; }
    .admin-seg-item { flex: 1; text-align:center; padding: 10px 12px; }
    .admin-month { gap: 6px; }
    .admin-month-head { font-size: 0.65rem; padding: 6px 2px; letter-spacing: 1px; text-align: center; }
    .admin-day { min-height: 64px; padding: 8px; border-radius: 12px; }
    .admin-day-num { font-size: 0.9rem; }
    .admin-day-dots { gap: 4px; }
    .admin-dot { width: 8px; height: 8px; }
    .admin-more { font-size: 0.75rem; }
}
