/* =====================================================================
   Maria Kahsay Law Office — Complete Stylesheet
   Ethiopian flag colors: green (#078930), gold (#FCDD09), red (#DA121A)
   Light background (#fefdf7), dark text (#14201a)
   ===================================================================== */

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--background);
    color: var(--foreground);
    line-height: 1.6;
    font-size: 16px;
    transition: background-color .3s ease, color .3s ease;
    overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color .2s ease; }
button { cursor: pointer; border: none; background: none; font-family: inherit; color: inherit; }
input, textarea, select { font-family: inherit; font-size: inherit; color: inherit; }

.font-serif { font-family: 'Playfair Display', Georgia, serif; }

/* ---- Container ---- */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 1rem; }

/* ---- Ethiopian flag tricolor strip ---- */
.tricolor { display: flex; height: 4px; width: 100%; }
.tricolor-green { flex: 1; background: #078930; }
.tricolor-yellow { flex: 1; background: #FCDD09; }
.tricolor-red { flex: 1; background: #DA121A; }

/* =====================================================================
   Navbar
   ===================================================================== */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; }
.navbar {
    background: color-mix(in srgb, var(--background) 90%, transparent);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    transition: all .3s ease;
}
.navbar.scrolled { background: color-mix(in srgb, var(--background) 96%, transparent); box-shadow: 0 1px 12px rgba(0,0,0,.06); }
.nav-container { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 1rem; }
.nav-logo { display: flex; align-items: center; gap: .5rem; }
.nav-logo-icon {
    width: 36px; height: 36px; border-radius: 8px;
    background: var(--primary); color: var(--primary-fg);
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,.15); ring: 2px solid color-mix(in srgb, var(--gold) 30%, transparent);
    border: 2px solid color-mix(in srgb, var(--gold) 30%, transparent);
}
.nav-logo-title { font-weight: 700; font-size: 1rem; color: var(--foreground); line-height: 1.2; }
.nav-logo-subtitle { font-size: 10px; text-transform: uppercase; letter-spacing: .08em; color: var(--primary); font-weight: 600; }

.nav-links { display: flex; align-items: center; gap: .25rem; }
.nav-link {
    padding: .5rem .75rem; font-size: .875rem; font-weight: 500; border-radius: 6px;
    color: color-mix(in srgb, var(--foreground) 75%, transparent);
    transition: all .2s ease;
}
.nav-link:hover { color: var(--primary); background: color-mix(in srgb, var(--accent) 50%, transparent); }
.nav-link.active { color: var(--primary); background: var(--accent); }

.nav-actions { display: flex; align-items: center; gap: .25rem; }

/* ---- Buttons ---- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
    padding: .625rem 1.25rem; font-size: .875rem; font-weight: 600;
    border-radius: 8px; border: 1px solid transparent;
    transition: all .2s ease; cursor: pointer; white-space: nowrap;
    line-height: 1.2;
}
.btn-sm { padding: .4rem .8rem; font-size: .8rem; }
.btn-lg { padding: .8rem 1.75rem; font-size: 1rem; height: 48px; }
.btn-primary {
    background: var(--primary); color: var(--primary-fg);
    border: 2px solid color-mix(in srgb, var(--gold) 50%, transparent);
}
.btn-primary:hover { background: color-mix(in srgb, var(--primary) 88%, black); transform: translateY(-1px); }
.btn-gold { background: var(--gold); color: var(--foreground); }
.btn-gold:hover { background: color-mix(in srgb, var(--gold) 88%, black); }
.btn-outline {
    background: transparent; color: var(--primary); border: 1px solid var(--primary);
}
.btn-outline:hover { background: var(--primary); color: var(--primary-fg); }
.btn-danger { background: var(--red); color: white; }
.btn-danger:hover { background: color-mix(in srgb, var(--red) 88%, black); }
.btn-block { width: 100%; }

/* ---- Icon buttons ---- */
.icon-btn {
    width: 36px; height: 36px; border-radius: 8px;
    display: inline-flex; align-items: center; justify-content: center;
    color: color-mix(in srgb, var(--foreground) 70%, transparent);
    transition: all .2s ease;
}
.icon-btn:hover { background: var(--accent); color: var(--primary); }

/* ---- Theme toggle ---- */
.theme-toggle .theme-icon-dark { display: none; }
html[data-theme="dark"] .theme-toggle .theme-icon-light { display: none; }
html[data-theme="dark"] .theme-toggle .theme-icon-dark { display: inline-flex; }

/* ---- Hamburger ---- */
.hamburger { display: none; }

/* ---- Mobile menu ---- */
.mobile-menu-overlay {
    position: fixed; inset: 0; z-index: 999;
    background: rgba(0,0,0,.2); backdrop-filter: blur(2px);
}
.mobile-menu {
    position: absolute; top: 68px; right: 16px; z-index: 1000;
    width: 288px; max-width: calc(100vw - 2rem);
    background: color-mix(in srgb, var(--background) 95%, transparent);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border);
    border-radius: 16px; overflow: hidden;
    box-shadow: 0 12px 32px rgba(0,0,0,.18);
}
.mobile-menu-content { padding: .5rem; max-height: 80vh; overflow-y: auto; }
.mobile-menu-link {
    display: flex; align-items: center; justify-content: space-between;
    padding: .625rem 1rem; border-radius: 8px; font-size: .875rem; font-weight: 500;
    color: var(--foreground);
}
.mobile-menu-link:hover { background: var(--accent); color: var(--primary); }
.mobile-menu-link.active { background: var(--accent); color: var(--primary); }
.mobile-menu-divider { height: 1px; background: var(--border); margin: .375rem 0; }
.mobile-menu-cta { margin-top: .375rem; }

/* =====================================================================
   Main content
   ===================================================================== */
.main-content { min-height: 100vh; }

/* =====================================================================
   Hero section
   ===================================================================== */
.hero {
    position: relative; min-height: 100vh;
    display: flex; align-items: center; overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-bg::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(to right,
        color-mix(in srgb, white 85%, transparent),
        color-mix(in srgb, white 55%, transparent),
        color-mix(in srgb, white 25%, transparent));
}
html[data-theme="dark"] .hero-bg::after {
    background: linear-gradient(to right,
        color-mix(in srgb, var(--background) 90%, transparent),
        color-mix(in srgb, var(--background) 65%, transparent),
        color-mix(in srgb, var(--background) 30%, transparent));
}
.hero-icons { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 1; }
.hero-icons svg { position: absolute; opacity: .2; }
.hero-content { position: relative; z-index: 2; padding: 7rem 1rem 4rem; max-width: 800px; }

.hero-badge {
    display: inline-flex; align-items: center; gap: .4rem;
    padding: .375rem .875rem; border-radius: 9999px;
    background: color-mix(in srgb, white 40%, transparent);
    border: 1px solid color-mix(in srgb, white 60%, transparent);
    color: #078930; font-size: .75rem; font-weight: 600;
    text-transform: uppercase; letter-spacing: .08em;
    margin-bottom: 1.5rem; backdrop-filter: blur(12px);
}
html[data-theme="dark"] .hero-badge {
    background: color-mix(in srgb, var(--background) 70%, transparent);
    color: var(--primary);
}
.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 6vw, 3.75rem); font-weight: 700; line-height: 1.1;
    color: #14201a; margin-bottom: 1.5rem;
}
html[data-theme="dark"] .hero-title { color: var(--foreground); }
.hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.25rem); color: rgba(20,32,26,.8);
    line-height: 1.6; margin-bottom: 2rem; max-width: 640px;
}
html[data-theme="dark"] .hero-subtitle { color: color-mix(in srgb, var(--foreground) 80%, transparent); }
.hero-actions { display: flex; flex-direction: column; gap: .75rem; }
@media (min-width: 640px) { .hero-actions { flex-direction: row; } }
.hero-stats {
    display: flex; flex-wrap: wrap; gap: 2rem; margin-top: 2.5rem;
    padding-top: 2rem; border-top: 1px solid rgba(7,137,48,.2);
}
.hero-stat { display: flex; align-items: center; gap: .5rem; color: #14201a; font-size: .875rem; font-weight: 500; }
html[data-theme="dark"] .hero-stat { color: var(--foreground); }

/* =====================================================================
   Section base
   ===================================================================== */
.section { padding: 5rem 0; }
@media (min-width: 1024px) { .section { padding: 7rem 0; } }
.section-accent { background: color-mix(in srgb, var(--accent) 30%, transparent); }
.section-eyebrow {
    display: inline-flex; align-items: center; gap: .5rem;
    color: var(--primary); font-size: .875rem; font-weight: 600;
    text-transform: uppercase; letter-spacing: .08em; margin-bottom: .75rem;
}
.section-eyebrow::before { content: ''; width: 2rem; height: 1px; background: var(--primary); }
.section-eyebrow.both::after { content: ''; width: 2rem; height: 1px; background: var(--primary); }
.section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.75rem, 4vw, 2.5rem); font-weight: 700;
    color: var(--foreground); line-height: 1.2; margin-bottom: 1rem;
}
.section-subtitle { color: color-mix(in srgb, var(--foreground) 70%, transparent); max-width: 640px; }
.section-center { text-align: center; max-width: 640px; margin: 0 auto 3.5rem; }
.section-center .section-subtitle { margin: 0 auto; }

/* =====================================================================
   About preview
   ===================================================================== */
.about-preview-grid { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 1024px) { .about-preview-grid { grid-template-columns: 1fr 1fr; } }
.about-image-wrap { position: relative; order: 2; }
@media (min-width: 1024px) { .about-image-wrap { order: 1; } }
.about-image {
    position: relative; border-radius: 16px; overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,.2);
}
.about-image img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.about-image::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(to top, color-mix(in srgb, var(--primary) 30%, transparent), transparent);
}
.about-image-badge {
    position: absolute; bottom: -1.5rem; right: 0;
    background: var(--primary); color: var(--primary-fg);
    border-radius: 12px; padding: 1.25rem; max-width: 220px;
    box-shadow: 0 12px 32px rgba(0,0,0,.25);
}
@media (min-width: 1024px) { .about-image-badge { right: 1.5rem; } }
.about-image-badge .big {
    font-family: 'Playfair Display', serif; font-size: 1.875rem;
    font-weight: 700; color: var(--gold);
}
.about-image-badge .text { font-size: .875rem; color: color-mix(in srgb, var(--primary-fg) 85%, transparent); }

.about-content { order: 1; }
@media (min-width: 1024px) { .about-content { order: 2; } }
.about-name {
    font-family: 'Playfair Display', serif; font-size: clamp(1.75rem, 4vw, 2.25rem);
    font-weight: 700; color: var(--foreground); margin-bottom: .25rem;
}
.about-title { display: block; font-size: 1.125rem; font-weight: 400; color: color-mix(in srgb, var(--foreground) 60%, transparent); margin-top: .25rem; }
.about-text { color: color-mix(in srgb, var(--foreground) 75%, transparent); line-height: 1.7; margin-bottom: 1rem; }
.about-text:last-of-type { margin-bottom: 2rem; }

/* ---- Stats grid ---- */
.stats-grid {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem;
    margin-bottom: 2rem;
}
@media (min-width: 640px) { .stats-grid { grid-template-columns: repeat(4, 1fr); } }
.stat-card {
    text-align: center; padding: 1rem; border-radius: 12px;
    background: color-mix(in srgb, var(--accent) 40%, transparent);
    border: 1px solid var(--border);
    transition: all .3s ease;
}
.stat-card:hover { transform: translateY(-4px); box-shadow: 0 8px 20px rgba(0,0,0,.08); }
.stat-icon { width: 24px; height: 24px; color: var(--primary); margin: 0 auto .5rem; }
.stat-value { font-family: 'Playfair Display', serif; font-size: 1.5rem; font-weight: 700; color: var(--foreground); }
.stat-label { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: color-mix(in srgb, var(--foreground) 60%, transparent); margin-top: .125rem; }

/* =====================================================================
   Practice areas
   ===================================================================== */
.practice-grid { display: grid; gap: 1.5rem; }
@media (min-width: 640px) { .practice-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .practice-grid { grid-template-columns: repeat(3, 1fr); } }
.practice-card {
    background: var(--card); border: 1px solid var(--border);
    border-radius: 16px; padding: 1.75rem;
    transition: all .3s ease; height: 100%;
}
.practice-card:hover { transform: translateY(-6px); border-color: color-mix(in srgb, var(--primary) 30%, transparent); box-shadow: 0 12px 32px rgba(0,0,0,.08); }
.practice-icon-wrap {
    position: relative; width: 56px; height: 56px; border-radius: 12px;
    background: color-mix(in srgb, var(--primary) 10%, transparent);
    display: flex; align-items: center; justify-content: center; margin-bottom: 1.25rem;
    color: var(--primary); transition: all .5s ease;
}
.practice-card:hover .practice-icon-wrap {
    background: var(--primary); color: var(--primary-fg);
    transform: scale(1.1) rotate(6deg);
}
.practice-card:hover .practice-icon-ring { opacity: 1; }
.practice-icon-ring {
    position: absolute; inset: 0; border-radius: 12px;
    border: 1px dashed color-mix(in srgb, var(--primary) 30%, transparent);
    opacity: 0; transition: opacity .3s ease;
}
.practice-card:hover .practice-icon-ring { border-color: color-mix(in srgb, var(--gold) 30%, transparent); }
.practice-title {
    font-family: 'Playfair Display', serif; font-size: 1.25rem; font-weight: 700;
    color: var(--foreground); margin-bottom: .5rem;
    transition: color .2s ease;
}
.practice-card:hover .practice-title { color: var(--primary); }
.practice-desc { font-size: .875rem; color: color-mix(in srgb, var(--foreground) 70%, transparent); line-height: 1.7; margin-bottom: 1rem; }
.practice-link {
    display: inline-flex; align-items: center; gap: .25rem;
    color: var(--primary); font-size: .875rem; font-weight: 500;
    opacity: 0; transition: opacity .3s ease;
}
.practice-card:hover .practice-link { opacity: 1; }

/* ---- Spinning ring decoration ---- */
.spin-slow { animation: spin-slow 20s linear infinite; }
@keyframes spin-slow { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

/* =====================================================================
   Cases preview & gallery
   ===================================================================== */
.case-grid { display: grid; gap: 1.5rem; }
@media (min-width: 640px) { .case-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .case-grid { grid-template-columns: repeat(3, 1fr); } }
.case-card {
    background: var(--card); border: 1px solid var(--border);
    border-radius: 16px; overflow: hidden;
    display: flex; flex-direction: column;
    transition: all .3s ease;
}
.case-card:hover { transform: translateY(-6px); border-color: color-mix(in srgb, var(--primary) 30%, transparent); box-shadow: 0 12px 32px rgba(0,0,0,.08); }
.case-image-wrap { position: relative; aspect-ratio: 16/9; overflow: hidden; }
.case-image-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.case-card:hover .case-image-wrap img { transform: scale(1.08); }
.case-badge {
    position: absolute; top: .75rem; left: .75rem;
    padding: .25rem .625rem; border-radius: 9999px;
    font-size: .75rem; font-weight: 600; backdrop-filter: blur(8px);
    display: inline-flex; align-items: center; gap: .25rem;
}
.case-badge.won { background: #16a34a; color: white; animation: pulse-glow 2s ease-in-out infinite; }
.case-badge.settled { background: var(--gold); color: var(--foreground); }
.case-badge.pending { background: #f59e0b; color: white; }
.case-badge.lost { background: #dc2626; color: white; }
.case-year { position: absolute; bottom: .75rem; right: .75rem; padding: .125rem .5rem; background: rgba(0,0,0,.6); color: white; font-size: .75rem; border-radius: 4px; backdrop-filter: blur(8px); }
.case-body { padding: 1.25rem; flex: 1; display: flex; flex-direction: column; }
.case-type { font-size: .75rem; font-weight: 600; color: var(--primary); text-transform: uppercase; letter-spacing: .05em; margin-bottom: .375rem; display: flex; align-items: center; gap: .25rem; }
.case-title { font-family: 'Playfair Display', serif; font-weight: 700; color: var(--foreground); margin-bottom: .5rem; line-height: 1.3; }
.case-summary { font-size: .875rem; color: color-mix(in srgb, var(--foreground) 70%, transparent); line-height: 1.6; flex: 1; }
.case-client { margin-top: .75rem; padding-top: .75rem; border-top: 1px solid var(--border); font-size: .75rem; color: color-mix(in srgb, var(--foreground) 60%, transparent); }

/* ---- Case filter chips ---- */
.case-filters { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; margin-bottom: 2rem; }
.case-filter {
    padding: .5rem 1rem; border-radius: 9999px;
    background: var(--accent); color: color-mix(in srgb, var(--foreground) 70%, transparent);
    font-size: .875rem; font-weight: 500; transition: all .2s ease;
}
.case-filter:hover { color: var(--primary); }
.case-filter.active { background: var(--primary); color: var(--primary-fg); }

/* ---- Type stats cards ---- */
.type-stats-grid { display: grid; gap: 1rem; }
@media (min-width: 640px) { .type-stats-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .type-stats-grid { grid-template-columns: repeat(3, 1fr); } }
.type-stat-card { background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 1.25rem; }
.type-stat-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: .75rem; }
.type-stat-title { font-family: 'Playfair Display', serif; font-weight: 600; font-size: .875rem; color: var(--foreground); }
.type-stat-badge { padding: .25rem .625rem; border-radius: 9999px; background: var(--secondary); color: var(--secondary-fg); font-size: .75rem; font-weight: 600; }
.type-stat-progress { display: flex; align-items: center; gap: .5rem; margin-bottom: .75rem; }
.type-stat-track { flex: 1; height: 8px; border-radius: 9999px; background: var(--muted); overflow: hidden; }
.type-stat-fill { height: 100%; background: var(--primary); border-radius: 9999px; transition: width .5s ease; }
.type-stat-rate { font-size: .75rem; font-weight: 600; color: var(--foreground); width: 2.5rem; text-align: right; }
.type-stat-meta { display: flex; gap: .75rem; font-size: .75rem; }
.type-stat-meta .won { color: #16a34a; display: inline-flex; align-items: center; gap: .25rem; }
.type-stat-meta .settled { color: var(--gold); display: inline-flex; align-items: center; gap: .25rem; }
.type-stat-meta .pending { color: #f59e0b; display: inline-flex; align-items: center; gap: .25rem; }

/* =====================================================================
   Testimonials
   ===================================================================== */
.testimonial-grid { display: grid; gap: 1.5rem; }
@media (min-width: 768px) { .testimonial-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .testimonial-grid { grid-template-columns: repeat(3, 1fr); } }
.testimonial-card {
    background: var(--card); border: 1px solid var(--border);
    border-radius: 16px; padding: 1.75rem;
    box-shadow: 0 1px 3px rgba(0,0,0,.04); height: 100%;
    transition: all .3s ease;
}
.testimonial-card:hover { transform: translateY(-4px); box-shadow: 0 12px 24px rgba(0,0,0,.08); }
.testimonial-quote-icon { width: 32px; height: 32px; color: color-mix(in srgb, var(--gold) 50%, transparent); margin-bottom: .75rem; }
.testimonial-stars { display: flex; gap: .125rem; margin-bottom: .75rem; }
.testimonial-stars svg { width: 16px; height: 16px; color: var(--gold); }
.testimonial-content { color: var(--foreground); line-height: 1.6; margin-bottom: 1.25rem; font-size: .9375rem; }
.testimonial-author { display: flex; align-items: center; gap: .75rem; padding-top: 1rem; border-top: 1px solid var(--border); }
.testimonial-avatar {
    width: 40px; height: 40px; border-radius: 9999px;
    background: var(--primary); color: var(--primary-fg);
    display: flex; align-items: center; justify-content: center;
    font-weight: 600;
}
.testimonial-author-name { font-weight: 600; font-size: .875rem; color: var(--foreground); }
.testimonial-author-type { font-size: .75rem; color: color-mix(in srgb, var(--foreground) 60%, transparent); }

/* =====================================================================
   CTA section
   ===================================================================== */
.cta-wrap { border-radius: 24px; overflow: hidden; position: relative; box-shadow: 0 12px 32px rgba(0,0,0,.15); }
.cta-bg { position: absolute; inset: 0; background: linear-gradient(to right, #078930, color-mix(in srgb, #078930 90%, black), color-mix(in srgb, #078930 80%, black)); }
.cta-circle-1 { position: absolute; top: -4rem; right: -4rem; width: 12rem; height: 12rem; background: color-mix(in srgb, #FCDD09 15%, transparent); border-radius: 50%; }
.cta-circle-2 { position: absolute; bottom: -3rem; left: -3rem; width: 8rem; height: 8rem; background: color-mix(in srgb, #FCDD09 10%, transparent); border-radius: 50%; }
.cta-content { position: relative; padding: 2rem; display: flex; flex-direction: column; align-items: center; gap: 1.5rem; text-align: center; }
@media (min-width: 1024px) {
    .cta-content { padding: 3rem; flex-direction: row; justify-content: space-between; text-align: left; }
}
.cta-icon { width: 40px; height: 40px; color: #FCDD09; }
.cta-title { font-family: 'Playfair Display', serif; font-size: clamp(1.5rem, 3vw, 1.875rem); font-weight: 700; color: white; margin-bottom: .5rem; }
.cta-subtitle { color: rgba(255,255,255,.85); }
.cta-btn {
    background: #FCDD09; color: #14201a; font-weight: 600;
    padding: .75rem 2rem; border-radius: 8px; height: 48px; white-space: nowrap;
    border: 2px solid rgba(255,255,255,.3);
    display: inline-flex; align-items: center; gap: .25rem;
}
.cta-btn:hover { background: color-mix(in srgb, #FCDD09 88%, black); }

/* =====================================================================
   Page header (interior pages)
   ===================================================================== */
.page-header {
    background: color-mix(in srgb, var(--accent) 50%, transparent);
    border-bottom: 1px solid var(--border);
    padding: 3.5rem 0; margin-top: 64px;
}
.page-header-eyebrow {
    display: inline-flex; align-items: center; gap: .5rem;
    color: var(--primary); font-size: .875rem; font-weight: 600;
    text-transform: uppercase; letter-spacing: .08em; margin-bottom: .75rem;
}
.page-header-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.25rem, 5vw, 3rem); font-weight: 700;
    color: var(--foreground); margin-bottom: .75rem; line-height: 1.2;
}
.page-header-subtitle { color: color-mix(in srgb, var(--foreground) 70%, transparent); max-width: 640px; font-size: 1.125rem; }
.page-back {
    display: inline-flex; align-items: center; gap: .25rem;
    color: color-mix(in srgb, var(--foreground) 60%, transparent);
    font-size: .875rem; margin-bottom: 1rem;
}
.page-back:hover { color: var(--primary); }

/* =====================================================================
   FAQ accordion
   ===================================================================== */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { border: 1px solid var(--border); border-radius: 12px; margin-bottom: .75rem; overflow: hidden; background: var(--card); }
.faq-question {
    width: 100%; text-align: left; padding: 1rem 1.25rem;
    font-weight: 600; font-size: 1rem; color: var(--foreground);
    display: flex; justify-content: space-between; align-items: center; gap: 1rem;
    transition: background .2s ease;
}
.faq-question:hover { background: color-mix(in srgb, var(--accent) 50%, transparent); }
.faq-icon { width: 20px; height: 20px; color: var(--primary); transition: transform .3s ease; flex-shrink: 0; }
.faq-item.open .faq-icon { transform: rotate(180deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .3s ease, padding .3s ease; padding: 0 1.25rem; color: color-mix(in srgb, var(--foreground) 75%, transparent); }
.faq-item.open .faq-answer { padding: 0 1.25rem 1.25rem; max-height: 1000px; }

/* =====================================================================
   Blog
   ===================================================================== */
.blog-grid { display: grid; gap: 2rem; }
@media (min-width: 768px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .blog-grid { grid-template-columns: repeat(3, 1fr); } }
.blog-card {
    background: var(--card); border: 1px solid var(--border);
    border-radius: 16px; overflow: hidden; display: flex; flex-direction: column;
    transition: all .3s ease;
}
.blog-card:hover { transform: translateY(-6px); box-shadow: 0 12px 32px rgba(0,0,0,.08); }
.blog-image { aspect-ratio: 16/9; overflow: hidden; }
.blog-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.blog-card:hover .blog-image img { transform: scale(1.08); }
.blog-body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.blog-meta { font-size: .75rem; color: var(--primary); text-transform: uppercase; letter-spacing: .05em; font-weight: 600; margin-bottom: .5rem; }
.blog-title { font-family: 'Playfair Display', serif; font-size: 1.25rem; font-weight: 700; color: var(--foreground); margin-bottom: .75rem; line-height: 1.3; }
.blog-excerpt { color: color-mix(in srgb, var(--foreground) 70%, transparent); font-size: .875rem; line-height: 1.6; flex: 1; }
.blog-readmore { margin-top: 1rem; color: var(--primary); font-size: .875rem; font-weight: 500; display: inline-flex; align-items: center; gap: .25rem; }

/* Single post */
.blog-post { max-width: 760px; margin: 0 auto; }
.blog-post-image { border-radius: 16px; overflow: hidden; margin-bottom: 2rem; aspect-ratio: 16/9; }
.blog-post-image img { width: 100%; height: 100%; object-fit: cover; }
.blog-post-content { font-size: 1rem; line-height: 1.8; color: color-mix(in srgb, var(--foreground) 85%, transparent); }
.blog-post-content p { margin-bottom: 1.25rem; }

/* =====================================================================
   Contact
   ===================================================================== */
.contact-grid { display: grid; gap: 3rem; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 1fr 1fr; } }
.contact-info-item { display: flex; align-items: flex-start; gap: 1rem; margin-bottom: 1.25rem; }
.contact-info-icon { width: 44px; height: 44px; border-radius: 12px; background: color-mix(in srgb, var(--primary) 10%, transparent); color: var(--primary); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-info-label { font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 600; color: color-mix(in srgb, var(--foreground) 60%, transparent); }
.contact-info-value { color: var(--foreground); font-weight: 500; }
.contact-info-value:hover { color: var(--primary); }

.contact-form-card { background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 1.5rem 2rem; box-shadow: 0 1px 3px rgba(0,0,0,.04); }
@media (min-width: 1024px) { .contact-form-card { padding: 2rem; } }

.form-group { margin-bottom: 1rem; }
.form-row { display: grid; gap: 1rem; }
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }
.form-label { display: block; font-size: .875rem; font-weight: 500; color: var(--foreground); margin-bottom: .375rem; }
.form-label .req { color: var(--red); }
.form-input, .form-textarea, .form-select {
    width: 100%; padding: .625rem .75rem; font-size: .875rem;
    background: var(--background); border: 1px solid var(--input);
    border-radius: 8px; transition: border-color .2s ease, box-shadow .2s ease;
    color: var(--foreground);
}
.form-input:focus, .form-textarea:focus, .form-select:focus {
    outline: none; border-color: var(--primary);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 20%, transparent);
}
.form-textarea { min-height: 120px; resize: vertical; }
.form-error { color: var(--red); font-size: .75rem; margin-top: .25rem; }
.form-hint { color: color-mix(in srgb, var(--foreground) 60%, transparent); font-size: .75rem; margin-top: .25rem; }

.map-embed { border: 1px solid var(--border); border-radius: 16px; overflow: hidden; margin-top: 1rem; background: var(--card); }
.map-embed iframe { width: 100%; height: 360px; border: 0; display: block; }

/* =====================================================================
   Footer
   ===================================================================== */
.site-footer { background: var(--foreground); color: var(--background); }
.footer-container { padding: 1.25rem 1rem; }
.footer-grid { display: grid; gap: 1.25rem; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(4, 1fr); } }
.footer-brand-row { display: flex; align-items: center; gap: .5rem; margin-bottom: .375rem; }
.footer-logo-icon { width: 28px; height: 28px; border-radius: 6px; background: var(--primary); color: var(--primary-fg); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.footer-brand-title { font-size: .875rem; font-weight: 700; line-height: 1.2; color: var(--background); }
.footer-brand-sub { font-size: 9px; text-transform: uppercase; letter-spacing: .08em; color: color-mix(in srgb, var(--background) 55%, transparent); line-height: 1.2; }
.footer-desc { font-size: 11px; line-height: 1.4; color: color-mix(in srgb, var(--background) 60%, transparent); }
.footer-heading { font-family: 'Playfair Display', serif; font-weight: 600; margin-bottom: .5rem; color: var(--gold); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; }
.footer-links { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: .25rem .75rem; font-size: .75rem; }
.footer-links a { color: color-mix(in srgb, var(--background) 65%, transparent); }
.footer-links a:hover { color: var(--gold); }
.footer-contact { list-style: none; display: flex; flex-direction: column; gap: .25rem; font-size: 11px; color: color-mix(in srgb, var(--background) 70%, transparent); }
.footer-contact li { display: flex; align-items: flex-start; gap: .375rem; }
.footer-icon { color: var(--gold); margin-top: 2px; flex-shrink: 0; }
.footer-contact a:hover { color: var(--gold); }
.footer-help-text { font-size: 11px; color: color-mix(in srgb, var(--background) 65%, transparent); margin-bottom: .5rem; line-height: 1.4; }
.footer-bottom {
    border-top: 1px solid color-mix(in srgb, var(--background) 15%, transparent);
    margin-top: 1rem; padding-top: .625rem;
    display: flex; flex-direction: column; gap: .25rem;
    font-size: 10px; color: color-mix(in srgb, var(--background) 45%, transparent); text-align: center;
}
@media (min-width: 640px) { .footer-bottom { flex-direction: row; justify-content: space-between; align-items: center; text-align: left; } }
.footer-credit { text-align: center; font-size: 10px; color: color-mix(in srgb, var(--background) 35%, transparent); margin-top: .25rem; }
.footer-credit-link { font-weight: 600; color: color-mix(in srgb, var(--background) 60%, transparent); text-decoration: underline; }

/* ---- Floating WhatsApp ---- */
.whatsapp-float {
    position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 900;
    width: 56px; height: 56px; border-radius: 50%;
    background: #25D366; color: white;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 8px 24px rgba(37,211,102,.4);
    animation: float 3s ease-in-out infinite;
}
.whatsapp-float:hover { transform: scale(1.08); }

/* =====================================================================
   Animations
   ===================================================================== */
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes float-slow { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes float-reverse { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(8px); } }
@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--primary) 40%, transparent); }
    50% { box-shadow: 0 0 0 10px color-mix(in srgb, var(--primary) 0%, transparent); }
}
@keyframes bounce-x { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(6px); } }
@keyframes shimmer { 0% { background-position: -1000px 0; } 100% { background-position: 1000px 0; } }
@keyframes reveal { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }

.animate-float { animation: float 4s ease-in-out infinite; }
.animate-float-slow { animation: float-slow 6s ease-in-out infinite; }
.animate-float-reverse { animation: float-reverse 5s ease-in-out infinite; }
.animate-pulse-glow { animation: pulse-glow 2s ease-in-out infinite; }
.animate-bounce-x { animation: bounce-x 1.2s ease-in-out infinite; }
.animate-spin-slow { animation: spin-slow 20s linear infinite; }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .7s ease, transform .7s ease; }
.reveal.revealed { opacity: 1; transform: translateY(0); }
.reveal.reveal-left { transform: translateX(-30px); }
.reveal.reveal-right { transform: translateX(30px); }
.reveal.reveal-left.revealed { transform: translateX(0); }
.reveal.reveal-right.revealed { transform: translateX(0); }

/* img-zoom wrapper */
.img-zoom img { transition: transform .5s ease; }
.img-zoom:hover img { transform: scale(1.08); }

/* card-lift */
.card-lift { transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease; }
.card-lift:hover { transform: translateY(-6px); box-shadow: 0 12px 32px rgba(0,0,0,.08); }

/* =====================================================================
   Flash messages
   ===================================================================== */
.flash {
    padding: .75rem 1rem; border-radius: 8px; margin-bottom: 1rem;
    font-size: .875rem; font-weight: 500;
}
.flash-success { background: color-mix(in srgb, #16a34a 15%, transparent); color: #15803d; border: 1px solid color-mix(in srgb, #16a34a 30%, transparent); }
.flash-error { background: color-mix(in srgb, var(--red) 15%, transparent); color: var(--red); border: 1px solid color-mix(in srgb, var(--red) 30%, transparent); }
.flash-info { background: color-mix(in srgb, var(--primary) 15%, transparent); color: var(--primary); border: 1px solid color-mix(in srgb, var(--primary) 30%, transparent); }
html[data-theme="dark"] .flash-success { color: #4ade80; }
html[data-theme="dark"] .flash-error { color: #f87171; }

/* =====================================================================
   Responsive — mobile-only / desktop-only
   ===================================================================== */
.mobile-only { display: none !important; }
@media (max-width: 1023px) {
    .desktop-only { display: none !important; }
    .mobile-only { display: inline-flex !important; }
    .hamburger { display: inline-flex; }
    .nav-links { display: none; }
}

/* =====================================================================
   Dark theme adjustments for footer
   ===================================================================== */
html[data-theme="dark"] .site-footer {
    background: var(--dark-background);
    color: var(--foreground);
}
html[data-theme="dark"] .site-footer .footer-brand-title,
html[data-theme="dark"] .site-footer .footer-brand-sub,
html[data-theme="dark"] .site-footer .footer-desc,
html[data-theme="dark"] .site-footer .footer-links a,
html[data-theme="dark"] .site-footer .footer-contact,
html[data-theme="dark"] .site-footer .footer-help-text,
html[data-theme="dark"] .site-footer .footer-bottom,
html[data-theme="dark"] .site-footer .footer-credit,
html[data-theme="dark"] .site-footer .footer-credit-link {
    color: var(--foreground);
}
html[data-theme="dark"] .site-footer .footer-links a { color: color-mix(in srgb, var(--foreground) 80%, transparent); }
html[data-theme="dark"] .site-footer .footer-bottom { border-color: color-mix(in srgb, var(--foreground) 15%, transparent); }

/* =====================================================================
   Utility classes (Tailwind-like)
   ===================================================================== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.hidden { display: none !important; }
.mt-1 { margin-top: .25rem; } .mt-2 { margin-top: .5rem; } .mt-3 { margin-top: .75rem; } .mt-4 { margin-top: 1rem; } .mt-6 { margin-top: 1.5rem; } .mt-8 { margin-top: 2rem; }
.mb-1 { margin-bottom: .25rem; } .mb-2 { margin-bottom: .5rem; } .mb-3 { margin-bottom: .75rem; } .mb-4 { margin-bottom: 1rem; } .mb-6 { margin-bottom: 1.5rem; } .mb-8 { margin-bottom: 2rem; }
.py-1 { padding-top: .25rem; padding-bottom: .25rem; } .py-2 { padding-top: .5rem; padding-bottom: .5rem; } .py-4 { padding-top: 1rem; padding-bottom: 1rem; } .py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.px-2 { padding-left: .5rem; padding-right: .5rem; } .px-4 { padding-left: 1rem; padding-right: 1rem; }
.gap-2 { gap: .5rem; } .gap-4 { gap: 1rem; }
.flex { display: flex; } .inline-flex { display: inline-flex; } .flex-col { flex-direction: column; } .flex-wrap { flex-wrap: wrap; } .items-center { align-items: center; } .justify-center { justify-content: center; } .justify-between { justify-content: space-between; }
.grid { display: grid; } .grid-cols-2 { grid-template-columns: repeat(2, 1fr); } .grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
.w-full { width: 100%; }
.text-sm { font-size: .875rem; } .text-xs { font-size: .75rem; } .text-lg { font-size: 1.125rem; } .text-xl { font-size: 1.25rem; }
.font-bold { font-weight: 700; } .font-semibold { font-weight: 600; } .font-medium { font-weight: 500; }
.uppercase { text-transform: uppercase; } .tracking-wider { letter-spacing: .08em; }
.rounded { border-radius: 6px; } .rounded-lg { border-radius: 8px; } .rounded-xl { border-radius: 12px; } .rounded-full { border-radius: 9999px; }
.no-scroll { overflow: hidden; }

/* =====================================================================
   ADMIN PANEL
   ===================================================================== */
.admin-body { background: var(--background); }
.admin-layout { display: flex; min-height: 100vh; }

/* ---- Sidebar ---- */
.admin-sidebar {
    width: 256px; background: var(--sidebar);
    display: flex; flex-direction: column;
    border-right: 1px solid var(--sidebar-border);
    position: fixed; top: 0; bottom: 0; left: 0; z-index: 100;
}
.admin-sidebar-header { padding: 1.25rem; border-bottom: 1px solid var(--sidebar-border); display: flex; align-items: center; gap: .5rem; }
.admin-sidebar-logo { width: 36px; height: 36px; border-radius: 8px; background: var(--gold); color: var(--primary); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.admin-sidebar-title { font-size: .875rem; font-weight: 700; color: var(--sidebar-foreground); line-height: 1.2; }
.admin-sidebar-subtitle { font-size: 10px; text-transform: uppercase; letter-spacing: .08em; color: color-mix(in srgb, var(--sidebar-foreground) 60%, transparent); }
.admin-sidebar-nav { flex: 1; padding: .75rem; overflow-y: auto; display: flex; flex-direction: column; gap: .25rem; }
.admin-sidebar-footer { padding: .75rem; border-top: 1px solid var(--sidebar-border); }

.admin-nav-link {
    display: flex; align-items: center; gap: .75rem;
    padding: .625rem .75rem; border-radius: 8px;
    font-size: .875rem; font-weight: 500;
    color: color-mix(in srgb, var(--sidebar-foreground) 80%, transparent);
    transition: all .2s ease;
}
.admin-nav-link:hover { background: var(--sidebar-accent); color: var(--sidebar-foreground); }
.admin-nav-link.active { background: var(--sidebar-primary); color: var(--sidebar-primary-foreground); box-shadow: 0 1px 3px rgba(0,0,0,.08); }
.nav-badge {
    margin-left: auto; padding: 0 .375rem; min-width: 18px; height: 18px;
    border-radius: 9999px; background: var(--red); color: white;
    font-size: 10px; font-weight: 700;
    display: inline-flex; align-items: center; justify-content: center;
}
.admin-nav-link.active .nav-badge { background: color-mix(in srgb, var(--sidebar-primary-foreground) 20%, transparent); }

/* Mobile sidebar */
.admin-mobile-overlay { position: fixed; inset: 0; z-index: 99; background: rgba(0,0,0,.4); }
.admin-sidebar-mobile { display: flex !important; z-index: 100; }
.admin-sidebar-mobile[hidden] { display: none !important; }

/* ---- Main ---- */
.admin-main { flex: 1; margin-left: 256px; display: flex; flex-direction: column; min-width: 0; }
@media (max-width: 1023px) { .admin-main { margin-left: 0; } }

.admin-topbar {
    position: sticky; top: 0; z-index: 50;
    background: color-mix(in srgb, var(--background) 90%, transparent);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    height: 56px;
    display: flex; align-items: center; justify-content: space-between;
    padding: 0 1rem; gap: 1rem;
}
.admin-topbar-left { display: flex; align-items: center; gap: .75rem; }
.admin-topbar-title { font-size: 1rem; font-weight: 600; color: var(--foreground); text-transform: capitalize; }
.admin-topbar-right { display: flex; align-items: center; gap: .75rem; }

/* ---- User badge ---- */
.admin-user { display: flex; align-items: center; gap: .5rem; padding-left: .5rem; border-left: 1px solid var(--border); }
.admin-user-info { text-align: right; line-height: 1.2; }
.admin-user-name { font-size: .875rem; font-weight: 500; color: var(--foreground); }
.admin-user-role { font-size: 10px; color: color-mix(in srgb, var(--foreground) 60%, transparent); }
.admin-user-avatar { width: 32px; height: 32px; border-radius: 9999px; background: var(--primary); color: var(--primary-fg); display: flex; align-items: center; justify-content: center; font-size: .75rem; font-weight: 600; }

/* ---- Notifications ---- */
.notifications-bell { position: relative; }
.bell-badge {
    position: absolute; top: 0; right: 0; padding: 0 4px; min-width: 16px; height: 16px;
    border-radius: 9999px; background: var(--red); color: white;
    font-size: 9px; font-weight: 700;
    display: inline-flex; align-items: center; justify-content: center;
}
.notifications-dropdown {
    position: absolute; top: calc(100% + 8px); right: 0;
    width: 320px; max-width: calc(100vw - 2rem);
    background: var(--card); border: 1px solid var(--border); border-radius: 12px;
    box-shadow: 0 12px 32px rgba(0,0,0,.18); overflow: hidden; z-index: 60;
}
.notifications-header { padding: .75rem 1rem; font-weight: 600; font-size: .875rem; border-bottom: 1px solid var(--border); color: var(--foreground); }
.notifications-empty { padding: 1.5rem 1rem; text-align: center; color: color-mix(in srgb, var(--foreground) 60%, transparent); font-size: .875rem; }
.notification-item { display: block; padding: .75rem 1rem; border-bottom: 1px solid var(--border); transition: background .2s ease; }
.notification-item:hover { background: var(--accent); }
.notification-item.unread { background: color-mix(in srgb, var(--primary) 5%, transparent); }
.notification-title { font-size: .8125rem; font-weight: 600; color: var(--foreground); margin-bottom: .125rem; }
.notification-message { font-size: .75rem; color: color-mix(in srgb, var(--foreground) 65%, transparent); margin-bottom: .25rem; }
.notification-time { font-size: 11px; color: color-mix(in srgb, var(--foreground) 50%, transparent); }

/* ---- Admin content ---- */
.admin-content { padding: 1rem; overflow-x: hidden; }
@media (min-width: 1024px) { .admin-content { padding: 1.5rem; } }
.admin-content-inner { max-width: 1100px; margin: 0 auto; }

/* ---- Admin login ---- */
.admin-login-wrap {
    min-height: 100vh; display: flex; align-items: center; justify-content: center;
    padding: 1rem; background: var(--accent);
    position: relative;
}
.admin-login-card {
    width: 100%; max-width: 420px;
    background: var(--card); border: 1px solid var(--border);
    border-radius: 20px; padding: 2.5rem;
    box-shadow: 0 20px 60px rgba(0,0,0,.12);
    position: relative; z-index: 1;
}
.admin-login-logo { width: 56px; height: 56px; border-radius: 12px; background: var(--primary); color: var(--primary-fg); display: flex; align-items: center; justify-content: center; margin: 0 auto 1rem; box-shadow: 0 8px 20px rgba(0,0,0,.15); }
.admin-login-title { font-family: 'Playfair Display', serif; font-size: 1.5rem; font-weight: 700; text-align: center; color: var(--foreground); margin-bottom: .25rem; }
.admin-login-subtitle { text-align: center; color: color-mix(in srgb, var(--foreground) 60%, transparent); font-size: .875rem; margin-bottom: 2rem; }

/* ---- Stat grid (dashboard) ---- */
.admin-stat-grid { display: grid; gap: 1rem; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 768px) { .admin-stat-grid { grid-template-columns: repeat(4, 1fr); } }
.admin-stat-card { background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 1.25rem; display: flex; flex-direction: column; gap: .25rem; transition: all .2s ease; }
.admin-stat-card:hover { border-color: color-mix(in srgb, var(--primary) 30%, transparent); transform: translateY(-2px); }
.admin-stat-icon { width: 36px; height: 36px; border-radius: 8px; background: color-mix(in srgb, var(--primary) 10%, transparent); color: var(--primary); display: inline-flex; align-items: center; justify-content: center; margin-bottom: .5rem; }
.admin-stat-value { font-family: 'Playfair Display', serif; font-size: 1.875rem; font-weight: 700; color: var(--foreground); line-height: 1; }
.admin-stat-label { font-size: .75rem; text-transform: uppercase; letter-spacing: .05em; color: color-mix(in srgb, var(--foreground) 60%, transparent); }

/* ---- Admin section header ---- */
.admin-section-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.25rem; gap: 1rem; flex-wrap: wrap; }
.admin-section-head h2 { font-family: 'Playfair Display', serif; font-size: 1.25rem; font-weight: 700; color: var(--foreground); }
.admin-actions { display: flex; gap: .5rem; flex-wrap: wrap; }

/* ---- Admin table ---- */
.admin-table-wrap { background: var(--card); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; overflow-x: auto; }
.admin-table { width: 100%; border-collapse: collapse; min-width: 600px; }
.admin-table th, .admin-table td { padding: .75rem 1rem; text-align: left; font-size: .875rem; border-bottom: 1px solid var(--border); }
.admin-table th { background: var(--accent); font-weight: 600; color: var(--foreground); font-size: .75rem; text-transform: uppercase; letter-spacing: .05em; }
.admin-table tr:last-child td { border-bottom: none; }
.admin-table tr:hover td { background: color-mix(in srgb, var(--accent) 30%, transparent); }
.admin-table td.wrap { white-space: normal; max-width: 360px; }

/* ---- Badges / pills ---- */
.badge { display: inline-flex; align-items: center; gap: .25rem; padding: .25rem .625rem; border-radius: 9999px; font-size: .75rem; font-weight: 600; }
.badge-green { background: color-mix(in srgb, #16a34a 15%, transparent); color: #16a34a; }
.badge-gold { background: color-mix(in srgb, var(--gold) 20%, transparent); color: var(--gold); }
.badge-red { background: color-mix(in srgb, var(--red) 15%, transparent); color: var(--red); }
.badge-blue { background: color-mix(in srgb, var(--primary) 15%, transparent); color: var(--primary); }
.badge-gray { background: var(--secondary); color: var(--secondary-fg); }
html[data-theme="dark"] .badge-green { color: #4ade80; }
html[data-theme="dark"] .badge-red { color: #f87171; }

/* ---- Card ---- */
.card { background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 1.5rem; }
.card-title { font-family: 'Playfair Display', serif; font-weight: 600; font-size: 1.125rem; color: var(--foreground); margin-bottom: 1rem; }

/* ---- Inline form row ---- */
.admin-form-row { display: grid; gap: 1rem; margin-bottom: 1rem; }
@media (min-width: 640px) { .admin-form-row { grid-template-columns: 1fr 1fr; } }

/* ---- Toggle switch ---- */
.toggle { position: relative; display: inline-block; width: 40px; height: 22px; }
.toggle input { opacity: 0; width: 0; height: 0; }
.toggle-slider {
    position: absolute; inset: 0; cursor: pointer;
    background: var(--input); border-radius: 9999px; transition: background .3s ease;
}
.toggle-slider::before {
    content: ''; position: absolute; height: 16px; width: 16px;
    left: 3px; top: 3px; background: white; border-radius: 50%;
    transition: transform .3s ease;
}
.toggle input:checked + .toggle-slider { background: var(--primary); }
.toggle input:checked + .toggle-slider::before { transform: translateX(18px); }

/* ---- Image upload ---- */
.image-upload { display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; }
.image-preview { width: 120px; height: 80px; border-radius: 8px; overflow: hidden; background: var(--accent); border: 1px solid var(--border); }
.image-preview img { width: 100%; height: 100%; object-fit: cover; }

/* ---- Color swatches ---- */
.preset-grid { display: grid; gap: .75rem; }
@media (min-width: 640px) { .preset-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .preset-grid { grid-template-columns: repeat(4, 1fr); } }
.preset-card { border: 1px solid var(--border); border-radius: 12px; padding: 1rem; cursor: pointer; transition: all .2s ease; background: var(--card); }
.preset-card:hover { border-color: var(--primary); transform: translateY(-2px); }
.preset-card.active { border-color: var(--primary); border-width: 2px; }
.preset-swatches { display: flex; gap: .25rem; margin-bottom: .5rem; }
.preset-swatch { width: 24px; height: 24px; border-radius: 6px; border: 1px solid var(--border); }
.preset-name { font-size: .875rem; font-weight: 600; color: var(--foreground); }
.preset-desc { font-size: .75rem; color: color-mix(in srgb, var(--foreground) 60%, transparent); margin-top: .125rem; }

/* ---- Color input ---- */
.color-input-wrap { display: flex; align-items: center; gap: .5rem; }
.color-input-swatch { width: 36px; height: 36px; border-radius: 6px; border: 1px solid var(--border); overflow: hidden; cursor: pointer; }
.color-input-swatch input[type="color"] { width: 200%; height: 200%; transform: translate(-25%, -25%); border: none; padding: 0; cursor: pointer; }

/* ---- Empty state ---- */
.empty-state { text-align: center; padding: 3rem 1rem; color: color-mix(in srgb, var(--foreground) 60%, transparent); font-size: .875rem; }

/* ---- Modal ---- */
.modal-overlay { position: fixed; inset: 0; z-index: 1000; background: rgba(0,0,0,.5); display: flex; align-items: center; justify-content: center; padding: 1rem; }
.modal { background: var(--card); border-radius: 16px; max-width: 600px; width: 100%; max-height: 90vh; overflow-y: auto; box-shadow: 0 20px 60px rgba(0,0,0,.25); }
.modal-head { padding: 1.25rem 1.5rem; border-bottom: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; }
.modal-title { font-family: 'Playfair Display', serif; font-size: 1.125rem; font-weight: 700; color: var(--foreground); }
.modal-body { padding: 1.5rem; }
.modal-foot { padding: 1rem 1.5rem; border-top: 1px solid var(--border); display: flex; justify-content: flex-end; gap: .5rem; }

/* ---- Pagination ---- */
.pagination { display: flex; gap: .25rem; justify-content: center; margin-top: 1.5rem; }
.pagination a, .pagination span { padding: .375rem .75rem; border: 1px solid var(--border); border-radius: 6px; font-size: .875rem; color: var(--foreground); }
.pagination a:hover { background: var(--accent); }
.pagination .current { background: var(--primary); color: var(--primary-fg); border-color: var(--primary); }

/* ---- Scrollbar (thin) ---- */
.scrollbar-thin::-webkit-scrollbar { width: 6px; height: 6px; }
.scrollbar-thin::-webkit-scrollbar-track { background: transparent; }
.scrollbar-thin::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }

/* ---- Print friendly ---- */
@media print { .site-header, .site-footer, .whatsapp-float { display: none !important; } }
