/* ============================================================
   RWC — Real World Consultancy
   Premium Corporate Design System
   Inspired by najidalqimam.sa
   ============================================================ */

/* ── Google Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@400;500;600;700;800;900&family=Roboto:wght@300;400;500;700&display=swap');

/* ── Design Tokens ── */
:root, [data-theme="light"] {
    --rwc-primary: #12758a;
    --rwc-primary-dark: #0d5a6b;
    --rwc-primary-light: #1a8fa5;
    --rwc-primary-pale: rgba(18,117,138,0.08);
    --rwc-primary-mid: #12758a;

    --rwc-teal: #12758a;
    --rwc-teal-light: #e8f4f7;

    /* Backward compat aliases */
    --rwc-gold: #12758a;
    --rwc-gold-light: #1a8fa5;
    --rwc-gold-pale: rgba(18,117,138,0.08);
    --rwc-gold-bright: #1a8fa5;
    --rwc-blue: #12758a;
    --rwc-blue-dark: #0d5a6b;

    /* Backgrounds */
    --bg-body: #ffffff;
    --bg-surface: #ffffff;
    --bg-surface-2: #f5f7fa;
    --bg-surface-3: #eef1f5;
    --bg-dark: #1a2332;

    /* Text */
    --text-primary: #1a1a2e;
    --text-secondary: #555555;
    --text-muted: #888888;
    --text-light: #aaaaaa;

    /* Borders */
    --border: #e8eef3;
    --border-light: #f0f3f7;

    /* Shadows */
    --shadow-xs: 0 1px 3px rgba(0,0,0,0.04);
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 36px rgba(0,0,0,0.1);
    --shadow-xl: 0 16px 48px rgba(0,0,0,0.12);

    /* Radii */
    --r-xs: 4px;
    --r-sm: 6px;
    --r-md: 10px;
    --r-lg: 14px;
    --r-xl: 18px;
    --r-2xl: 24px;

    /* Transitions */
    --t-fast: 0.2s ease;
    --t-base: 0.3s ease;
    --t-slow: 0.5s ease;

    /* Nav */
    --nav-bg: rgba(255,255,255,0.98);
    --nav-scrolled: rgba(255,255,255,1);

    /* Footer */
    --footer-bg: #1a2332;
    --footer-text: #8899aa;
    --footer-head: #ffffff;

    /* Sidebar (admin) */
    --sidebar-bg: #1a2332;
    --sidebar-text: #8899aa;
    --sidebar-active-bg: rgba(18,117,138,0.15);
    --sidebar-active: #1a8fa5;
    --sidebar-hover: rgba(255,255,255,0.05);
    --sidebar-w: 268px;

    /* Compat aliases */
    --rwc-accent: #12758a;
    --rwc-accent-dark: #0d5a6b;
    --rwc-accent-light: #1a8fa5;
    --border-color: #e8eef3;
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 14px;
    --radius-xl: 18px;
    --navbar-bg: rgba(255,255,255,0.98);
    --navbar-scrolled-bg: rgba(255,255,255,1);
    --sidebar-width: 268px;
    --sidebar-active-text: #1a8fa5;
    --sidebar-hover-bg: rgba(255,255,255,0.05);
    --footer-heading: #ffffff;
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
}

[data-theme="dark"] {
    --bg-body: #0f1219;
    --bg-surface: #1a2030;
    --bg-surface-2: #1f2738;
    --bg-surface-3: #252e40;
    --text-primary: #e8eef5;
    --text-secondary: #99aabb;
    --text-muted: #667788;
    --text-light: #445566;
    --border: rgba(255,255,255,0.08);
    --border-light: rgba(255,255,255,0.04);
    --shadow-sm: 0 2px 10px rgba(0,0,0,0.3);
    --shadow-md: 0 8px 28px rgba(0,0,0,0.4);
    --shadow-lg: 0 16px 48px rgba(0,0,0,0.5);
    --nav-bg: rgba(15,18,25,0.95);
    --nav-scrolled: rgba(15,18,25,1);
}

/* ── Base ── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }

body {
    font-family: 'Roboto', system-ui, -apple-system, sans-serif;
    background: var(--bg-body);
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.7;
    font-size: 15px;
    -webkit-font-smoothing: antialiased;
    transition: background var(--t-base), color var(--t-base);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
    line-height: 1.25;
    color: var(--text-primary);
}

a { color: var(--rwc-teal); text-decoration: none; transition: color var(--t-fast); }
a:hover { color: var(--rwc-primary-dark); }
img { max-width: 100%; height: auto; }

.text-muted { color: var(--text-muted) !important; }
.text-secondary { color: var(--text-secondary) !important; }
.text-accent { color: var(--rwc-teal) !important; }
.fw-500 { font-weight: 500; }
.fw-600 { font-weight: 600; }
.fw-800 { font-weight: 800; }

/* ── Section Titles ── */
.section-eyebrow {
    font-family: 'Raleway', sans-serif;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--rwc-teal);
    display: block;
    margin-bottom: 0.75rem;
}

.section-title {
    font-family: 'Raleway', sans-serif;
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.section-subtitle {
    font-size: 1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 3rem;
    line-height: 1.75;
}

.section-rule {
    display: flex; align-items: center; gap: 0.5rem;
    margin: 0.75rem 0 1.75rem;
}
.section-rule .rule-dot {
    width: 40px; height: 3px;
    background: var(--rwc-teal);
    border-radius: 2px;
}
.text-center .section-rule { justify-content: center; }

/* ── Section Bands ── */
.section { padding: 80px 0; }
.section-sm { padding: 56px 0; }
.section-light { background: var(--bg-body); }
.section-white { background: var(--bg-surface); }
.section-tinted { background: var(--bg-surface-2); }
.section-surface { background: var(--bg-surface); padding: 80px 0; }
.section-surface-2 { background: var(--bg-surface-2); padding: 80px 0; }
.section-dark {
    background: var(--bg-dark);
    color: #fff;
}

/* ── Buttons ── */
.btn {
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
    letter-spacing: 0.03em;
    border-radius: var(--r-xl);
    transition: all var(--t-base);
    font-size: 0.85rem;
    padding: 0.65rem 1.5rem;
}

.btn-primary {
    background: var(--rwc-teal);
    border-color: var(--rwc-teal);
    color: #fff;
}
.btn-primary:hover {
    background: var(--rwc-primary-dark);
    border-color: var(--rwc-primary-dark);
    color: #fff;
    box-shadow: 0 4px 14px rgba(18,117,138,0.3);
}

.btn-gold, .btn-accent {
    background: var(--rwc-teal);
    border: 2px solid var(--rwc-teal);
    color: #fff;
    font-weight: 700;
    border-radius: var(--r-xl);
}
.btn-gold:hover, .btn-accent:hover {
    background: var(--rwc-primary-dark);
    border-color: var(--rwc-primary-dark);
    color: #fff;
    box-shadow: 0 4px 16px rgba(18,117,138,0.3);
    transform: translateY(-1px);
}
.btn-gold span, .btn-gold i, .btn-accent span, .btn-accent i { position: relative; z-index: 1; }

.btn-outline-primary {
    border: 2px solid var(--rwc-teal);
    color: var(--rwc-teal);
    background: transparent;
    border-radius: var(--r-xl);
}
.btn-outline-primary:hover {
    background: var(--rwc-teal);
    color: #fff;
}

.btn-outline-gold, .btn-outline-accent {
    border: 2px solid var(--rwc-teal);
    color: var(--rwc-teal);
    background: transparent;
    border-radius: var(--r-xl);
}
.btn-outline-gold:hover, .btn-outline-accent:hover {
    background: var(--rwc-teal);
    color: #fff;
}

/* ── Navbar — Light with teal accents ── */
#mainNavbar {
    background: var(--nav-bg);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    padding-top: 0.8rem;
    padding-bottom: 0.8rem;
    z-index: 1040;
    transition: all var(--t-base);
}

#mainNavbar.scrolled {
    background: var(--nav-scrolled);
    box-shadow: var(--shadow-md);
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

#mainNavbar .navbar-brand {
    font-family: 'Raleway', sans-serif;
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--text-primary) !important;
    display: flex; align-items: center; gap: 0.6rem;
}

.brand-monogram {
    width: 36px; height: 36px;
    background: var(--rwc-teal);
    border-radius: var(--r-sm);
    display: flex; align-items: center; justify-content: center;
    font-family: 'Raleway', sans-serif;
    font-size: 0.85rem; font-weight: 900;
    color: #fff;
}

#mainNavbar .navbar-brand .brand-name { color: var(--text-primary); }
#mainNavbar .navbar-brand .brand-accent { color: var(--rwc-teal); }

#mainNavbar .nav-link {
    font-family: 'Raleway', sans-serif;
    color: var(--text-secondary) !important;
    font-weight: 600;
    font-size: 0.85rem;
    padding: 0.45rem 0.9rem;
    position: relative;
    transition: color var(--t-fast);
}

#mainNavbar .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0.9rem; right: 0.9rem;
    height: 2px;
    background: var(--rwc-teal);
    transform: scaleX(0);
    transition: transform var(--t-base);
}

#mainNavbar .nav-link:hover,
#mainNavbar .nav-link.active { color: var(--rwc-teal) !important; }
#mainNavbar .nav-link:hover::after,
#mainNavbar .nav-link.active::after { transform: scaleX(1); }

#mainNavbar .dropdown-menu {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-lg);
    padding: 0.5rem;
}

#mainNavbar .dropdown-item {
    color: var(--text-secondary);
    font-size: 0.85rem;
    padding: 0.55rem 1rem;
    border-radius: var(--r-sm);
    transition: all var(--t-fast);
}
#mainNavbar .dropdown-item:hover {
    background: var(--rwc-primary-pale);
    color: var(--rwc-teal);
}

.nav-cta {
    background: var(--rwc-teal) !important;
    color: #fff !important;
    font-weight: 700 !important;
    border-radius: var(--r-xl) !important;
    padding: 0.4rem 1.1rem !important;
    font-size: 0.8rem !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover {
    background: var(--rwc-primary-dark) !important;
    box-shadow: 0 4px 14px rgba(18,117,138,0.3) !important;
}

.theme-toggle-btn {
    width: 34px; height: 34px;
    background: var(--bg-surface-2);
    border: 1px solid var(--border);
    color: var(--text-secondary);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; font-size: 0.9rem;
    transition: all var(--t-fast);
}
.theme-toggle-btn:hover { background: var(--bg-surface-3); color: var(--rwc-teal); }

/* ── Video Background ── */
.video-bg-wrap {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.video-bg-wrap video {
    position: absolute;
    top: 50%; left: 50%;
    min-width: 100%; min-height: 100%;
    width: auto; height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

.video-bg-wrap .video-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

/* Page hero video */
.page-hero .video-bg-wrap .video-overlay {
    background: rgba(0, 0, 0, 0.7);
}

/* ── Hero ── */
.hero-section {
    min-height: 100vh;
    background: #000;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 4px;
    background: var(--rwc-teal);
    z-index: 2;
}

.hero-badge {
    display: inline-flex; align-items: center; gap: 0.5rem;
    background: rgba(18,117,138,0.15);
    border: 1px solid rgba(18,117,138,0.35);
    border-radius: var(--r-xl);
    padding: 0.35rem 1rem;
    font-size: 0.72rem; font-weight: 700;
    font-family: 'Raleway', sans-serif;
    color: var(--rwc-teal);
    letter-spacing: 0.08em; text-transform: uppercase;
    margin-bottom: 1.5rem;
}
.hero-badge .badge-dot {
    width: 6px; height: 6px;
    background: var(--rwc-teal);
    border-radius: 50%;
    animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.8); }
}

.hero-title {
    font-family: 'Raleway', sans-serif;
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 800; color: #fff;
    line-height: 1.15; margin-bottom: 1.5rem;
}
.hero-title em {
    font-style: normal; color: var(--rwc-teal);
}

.hero-lead {
    font-size: clamp(1rem, 1.5vw, 1.15rem);
    color: rgba(255,255,255,0.65);
    max-width: 520px; line-height: 1.8;
    margin-bottom: 2.5rem;
}

.hero-actions { display: flex; gap: 0.875rem; flex-wrap: wrap; margin-bottom: 3rem; }

.hero-stats {
    display: flex; gap: 0; flex-wrap: wrap;
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255,255,255,0.08);
}
.hero-stat { padding: 0 2rem 0 0; }
.hero-stat + .hero-stat { padding-left: 2rem; border-left: 1px solid rgba(255,255,255,0.1); }
.hero-stat .stat-n {
    font-family: 'Raleway', sans-serif;
    font-size: 2.2rem; font-weight: 900;
    color: var(--rwc-teal); line-height: 1;
}
.hero-stat .stat-l {
    font-size: 0.75rem; color: rgba(255,255,255,0.45);
    margin-top: 0.3rem; font-weight: 500;
    letter-spacing: 0.04em; text-transform: uppercase;
}

.hero-slide {
    position: absolute; inset: 0;
    opacity: 0; transition: opacity 1s ease;
    display: flex; align-items: center;
}
.hero-slide:first-child { opacity: 1; }
.hero-slides-wrap { position: relative; width: 100%; min-height: 100vh; }

/* ── Page Hero ── */
.page-hero {
    background: var(--bg-dark);
    padding: 130px 0 64px;
    position: relative; overflow: hidden;
    border-bottom: 3px solid var(--rwc-teal);
}
.page-hero::before {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(ellipse at 30% 50%, rgba(18,117,138,0.08) 0%, transparent 60%);
    pointer-events: none;
}
.page-hero h1 {
    font-family: 'Raleway', sans-serif;
    color: #fff; font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800; position: relative; z-index: 1;
}
.page-hero .lead {
    color: rgba(255,255,255,0.55); font-size: 1rem;
    max-width: 540px; position: relative; z-index: 1;
}
.page-hero .breadcrumb { background: transparent; padding: 0; margin: 0 0 1rem; position: relative; z-index: 1; }
.page-hero .breadcrumb-item, .page-hero .breadcrumb-item a { color: rgba(255,255,255,0.45); font-size: 0.825rem; }
.page-hero .breadcrumb-item.active { color: var(--rwc-teal); }

/* ── Cards ── */
.card {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--r-xl);
    box-shadow: var(--shadow-xs);
    transition: all var(--t-base);
}
.card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
    border-color: rgba(18,117,138,0.2);
}

.service-card {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--r-xl);
    padding: 2rem;
    height: 100%;
    position: relative; overflow: hidden;
    transition: all var(--t-base);
}
.service-card::before {
    content: ''; position: absolute;
    top: 0; left: 0; right: 0; height: 3px;
    background: var(--rwc-teal);
    transform: scaleX(0); transform-origin: left;
    transition: transform var(--t-base);
}
.service-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-6px);
    border-color: rgba(18,117,138,0.25);
}
.service-card:hover::before { transform: scaleX(1); }

.service-card .service-icon {
    width: 56px; height: 56px;
    background: var(--rwc-primary-pale);
    border: 1px solid rgba(18,117,138,0.15);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.4rem; color: var(--rwc-teal);
    margin-bottom: 1.25rem;
    transition: all var(--t-base);
}
.service-card:hover .service-icon {
    background: var(--rwc-teal);
    color: #fff;
    transform: scale(1.08);
}

.service-card h4 { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.6rem; }
.service-card p { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.7; }

.service-card .learn-more {
    font-family: 'Raleway', sans-serif;
    font-size: 0.8rem; font-weight: 700;
    color: var(--rwc-teal);
    display: inline-flex; align-items: center; gap: 0.35rem;
    transition: gap var(--t-fast);
}
.service-card:hover .learn-more { gap: 0.6rem; }

/* ── Industry Cards ── */
.industry-card {
    position: relative; border-radius: var(--r-xl);
    overflow: hidden; height: 280px;
    cursor: pointer; box-shadow: var(--shadow-sm);
    transition: all var(--t-base);
}
.industry-card:hover { transform: scale(1.02); }
.industry-card img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--t-slow); }
.industry-card:hover img { transform: scale(1.06); }
.industry-card-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(26,35,50,0.9) 0%, rgba(26,35,50,0.3) 60%, transparent 100%);
    display: flex; align-items: flex-end; padding: 1.5rem;
}
.industry-card h5 { color: #fff; font-size: 1.05rem; font-weight: 700; }
.industry-card .ind-arrow {
    font-size: 0.75rem; font-weight: 600; color: var(--rwc-teal);
    opacity: 0; transform: translateX(-6px);
    transition: all var(--t-base); text-transform: uppercase; letter-spacing: 0.05em;
}
.industry-card:hover .ind-arrow { opacity: 1; transform: translateX(0); }

/* ── Post Cards ── */
.post-card {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--r-xl);
    overflow: hidden; height: 100%;
    transition: all var(--t-base);
}
.post-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-5px); }
.post-card .post-thumbnail { height: 200px; overflow: hidden; }
.post-card .post-thumbnail img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--t-slow); }
.post-card:hover .post-thumbnail img { transform: scale(1.06); }
.post-card .post-body { padding: 1.5rem; }
.post-card .post-category {
    font-size: 0.72rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: 0.1em; color: var(--rwc-teal); margin-bottom: 0.5rem;
}
.post-card .post-title { font-size: 1rem; font-weight: 700; margin-bottom: 0.5rem; line-height: 1.4; }
.post-card .post-excerpt { font-size: 0.875rem; color: var(--text-secondary); line-height: 1.7; }
.post-card .post-meta {
    font-size: 0.75rem; color: var(--text-muted);
    display: flex; gap: 1rem; flex-wrap: wrap;
    margin-top: 1rem; padding-top: 0.75rem;
    border-top: 1px solid var(--border);
}

/* ── Team Cards ── */
.team-card {
    background: var(--bg-surface);
    border-radius: var(--r-xl); overflow: hidden;
    text-align: center;
    border: 1px solid var(--border);
    transition: all var(--t-base);
}
.team-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-5px); }
.team-card .photo-wrapper { height: 240px; overflow: hidden; }
.team-card .photo-wrapper img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--t-slow); }
.team-card:hover .photo-wrapper img { transform: scale(1.06); }
.team-card .card-body { padding: 1.25rem; }
.team-card .member-name { font-size: 1rem; font-weight: 700; margin-bottom: 0.2rem; }
.team-card .member-position { font-size: 0.8rem; color: var(--rwc-teal); font-weight: 600; text-transform: uppercase; letter-spacing: 0.03em; }

/* ── Pillar Cards ── */
.pillar-card {
    text-align: center; padding: 2rem 1.5rem;
    background: var(--bg-surface);
    border-radius: var(--r-xl);
    border: 1px solid var(--border);
    height: 100%;
    transition: all var(--t-base);
}
.pillar-card:hover { box-shadow: var(--shadow-md); border-color: rgba(18,117,138,0.25); transform: translateY(-4px); }
.pillar-icon { font-size: 2.25rem; color: var(--rwc-teal); margin-bottom: 1rem; display: block; transition: transform var(--t-base); }
.pillar-card:hover .pillar-icon { transform: scale(1.1); }
.pillar-card h5 { font-size: 1rem; font-weight: 700; margin-bottom: 0.5rem; }
.pillar-card p { font-size: 0.875rem; color: var(--text-secondary); margin: 0; line-height: 1.65; }

/* ── Why Us ── */
.why-us-item {
    display: flex; gap: 1rem; align-items: flex-start;
    margin-bottom: 1.5rem; padding: 1.1rem;
    border-radius: var(--r-lg);
    transition: all var(--t-fast);
}
.why-us-item:hover { background: var(--bg-surface-2); transform: translateX(4px); }
.why-us-item .icon-box {
    flex-shrink: 0; width: 46px; height: 46px;
    background: var(--rwc-primary-pale);
    border: 1px solid rgba(18,117,138,0.15);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem; color: var(--rwc-teal);
    transition: all var(--t-base);
}
.why-us-item:hover .icon-box { background: var(--rwc-teal); color: #fff; }
.why-us-item h6 { font-weight: 700; font-size: 0.9rem; margin-bottom: 0.2rem; }
.why-us-item p { font-size: 0.85rem; color: var(--text-secondary); margin: 0; line-height: 1.65; }

/* ── Contact Info ── */
.contact-info-item {
    display: flex; align-items: flex-start; gap: 1rem;
    margin-bottom: 1.5rem; padding: 1.25rem;
    background: var(--bg-surface-2);
    border-radius: var(--r-lg);
    border: 1px solid var(--border);
    transition: all var(--t-fast);
}
.contact-info-item:hover { transform: translateX(4px); box-shadow: var(--shadow-sm); }
.contact-info-item .icon {
    flex-shrink: 0; width: 44px; height: 44px;
    background: var(--rwc-primary-pale);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem; color: var(--rwc-teal);
}

/* ── Forms ── */
.form-control, .form-select {
    background: var(--bg-surface);
    border: 1.5px solid var(--border);
    border-radius: var(--r-lg);
    color: var(--text-primary);
    font-family: 'Roboto', sans-serif;
    font-size: 0.9rem;
    padding: 0.7rem 1rem;
    transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.form-control:focus, .form-select:focus {
    border-color: var(--rwc-teal);
    box-shadow: 0 0 0 3px rgba(18,117,138,0.1);
    outline: none;
}
.form-label { font-size: 0.85rem; font-weight: 600; color: var(--text-secondary); margin-bottom: 0.4rem; }

/* ── Newsletter ── */
.newsletter-section {
    background: var(--bg-dark);
    padding: 64px 0;
    border-top: 3px solid var(--rwc-teal);
}
.newsletter-section h3 { font-family: 'Raleway', serif; color: #fff; font-size: clamp(1.4rem, 2.5vw, 1.8rem); font-weight: 700; }
.newsletter-section p { color: rgba(255,255,255,0.55); }
.newsletter-input-group {
    display: flex;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: var(--r-xl);
    overflow: hidden; max-width: 440px;
}
.newsletter-input-group input {
    background: transparent; border: none; color: #fff;
    font-size: 0.9rem; padding: 0.7rem 1rem; flex: 1; outline: none;
}
.newsletter-input-group input::placeholder { color: rgba(255,255,255,0.3); }
.newsletter-input-group button {
    background: var(--rwc-teal); border: none; color: #fff;
    font-weight: 700; font-size: 0.85rem;
    padding: 0.7rem 1.5rem; cursor: pointer;
    transition: all var(--t-fast);
}
.newsletter-input-group button:hover { background: var(--rwc-primary-dark); }

/* ── Footer ── */
.site-footer { background: var(--footer-bg); color: var(--footer-text); padding-top: 64px; }
.footer-brand { font-family: 'Raleway', sans-serif; font-size: 1.2rem; font-weight: 700; color: var(--footer-head); display: flex; align-items: center; gap: 0.6rem; margin-bottom: 1rem; }
.footer-desc { font-size: 0.85rem; color: var(--footer-text); line-height: 1.75; max-width: 280px; margin-bottom: 1.25rem; }
.footer-heading { font-family: 'Raleway', sans-serif; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.15em; color: rgba(255,255,255,0.4); margin-bottom: 1rem; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 0.5rem; }
.footer-links a { color: var(--footer-text); font-size: 0.85rem; text-decoration: none; transition: color var(--t-fast); }
.footer-links a:hover { color: var(--rwc-teal); }
.footer-contact-item { display: flex; align-items: flex-start; gap: 0.6rem; margin-bottom: 0.6rem; font-size: 0.85rem; color: var(--footer-text); }
.footer-contact-item i { color: var(--rwc-teal); width: 16px; flex-shrink: 0; margin-top: 2px; }
.footer-contact-item a { color: var(--footer-text); text-decoration: none; }
.footer-contact-item a:hover { color: var(--rwc-teal); }

.social-links { display: flex; gap: 0.5rem; }
.social-links a {
    width: 36px; height: 36px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,0.5); font-size: 0.85rem;
    transition: all var(--t-fast);
}
.social-links a:hover { background: var(--rwc-teal); border-color: var(--rwc-teal); color: #fff; }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.06);
    padding: 1.25rem 0; margin-top: 3rem;
    font-size: 0.8rem; color: rgba(255,255,255,0.25);
    display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 0.5rem;
}
.footer-bottom a { color: rgba(255,255,255,0.3); transition: color var(--t-fast); }
.footer-bottom a:hover { color: var(--rwc-teal); }

/* ── Admin ── */
.admin-wrapper { display: flex; min-height: 100vh; background: var(--bg-body); }
.admin-sidebar { width: var(--sidebar-w); background: var(--sidebar-bg); flex-shrink: 0; position: fixed; top: 0; left: 0; height: 100vh; overflow-y: auto; z-index: 1000; display: flex; flex-direction: column; border-right: 1px solid rgba(255,255,255,0.04); }
.sidebar-header { padding: 1.25rem 1.5rem; border-bottom: 1px solid rgba(255,255,255,0.05); }
.sidebar-brand { font-family: 'Raleway', sans-serif; font-size: 1.1rem; font-weight: 700; color: #fff; text-decoration: none; display: flex; align-items: center; gap: 0.7rem; }
.sidebar-brand span { color: var(--rwc-teal); }
.sidebar-brand .brand-icon { width: 34px; height: 34px; background: var(--rwc-teal); border-radius: var(--r-sm); display: flex; align-items: center; justify-content: center; font-size: 0.95rem; color: #fff; }
.sidebar-nav { padding: 1rem 0; flex: 1; }
.sidebar-section-label { font-size: 0.65rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.18em; color: rgba(255,255,255,0.2); padding: 1rem 1.5rem 0.35rem; }
.sidebar-nav a { display: flex; align-items: center; gap: 0.75rem; padding: 0.6rem 1.5rem; color: var(--sidebar-text); font-size: 0.85rem; font-weight: 500; text-decoration: none; transition: all var(--t-fast); border-left: 2px solid transparent; }
.sidebar-nav a i { font-size: 1rem; width: 18px; opacity: 0.7; }
.sidebar-nav a:hover { background: var(--sidebar-hover); color: rgba(255,255,255,0.9); border-left-color: rgba(255,255,255,0.15); }
.sidebar-nav a.active { background: var(--sidebar-active-bg); color: var(--sidebar-active); border-left-color: var(--rwc-teal); font-weight: 600; }
.sidebar-nav a.active i { color: var(--rwc-teal); opacity: 1; }
.sidebar-footer { padding: 1rem 1.5rem; border-top: 1px solid rgba(255,255,255,0.05); }
.admin-main { flex: 1; margin-left: var(--sidebar-w); display: flex; flex-direction: column; min-height: 100vh; }
.admin-topbar { background: var(--bg-surface); border-bottom: 1px solid var(--border); padding: 0.8rem 1.75rem; position: sticky; top: 0; z-index: 900; display: flex; align-items: center; gap: 1rem; box-shadow: var(--shadow-xs); }
.admin-topbar .page-title { font-size: 1rem; font-weight: 700; margin: 0; flex: 1; }
.admin-content { padding: 1.75rem; flex: 1; }

/* Stat cards */
.stat-card { background: var(--bg-surface); border: 1px solid var(--border); border-radius: var(--r-xl); padding: 1.5rem; display: flex; align-items: center; gap: 1.25rem; transition: all var(--t-base); }
.stat-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.stat-card .stat-icon { width: 52px; height: 52px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; }
.stat-card .stat-icon.primary { background: var(--rwc-primary-pale); color: var(--rwc-teal); }
.stat-card .stat-icon.accent { background: var(--rwc-primary-pale); color: var(--rwc-teal); }
.stat-card .stat-icon.success { background: rgba(25,135,84,0.1); color: #198754; }
.stat-card .stat-icon.warning { background: rgba(255,193,7,0.12); color: #b8860b; }
.stat-card .stat-icon.danger { background: rgba(220,53,69,0.1); color: #dc3545; }
.stat-card .stat-value { font-size: 1.8rem; font-weight: 800; line-height: 1; }
.stat-card .stat-label { font-size: 0.8rem; color: var(--text-muted); margin-top: 0.2rem; }

/* Admin table */
.admin-table-card { background: var(--bg-surface); border: 1px solid var(--border); border-radius: var(--r-xl); overflow: hidden; }
.admin-table-card .table-header { padding: 1rem 1.5rem; border-bottom: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 0.75rem; }
.admin-table-card .table-header h5 { margin: 0; font-size: 0.95rem; font-weight: 700; }
.admin-table-card .table { margin: 0; color: var(--text-primary); }
.admin-table-card .table thead th { background: var(--bg-surface-2); border-color: var(--border); font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); padding: 0.8rem 1.25rem; }
.admin-table-card .table td { border-color: var(--border); vertical-align: middle; padding: 0.8rem 1.25rem; font-size: 0.85rem; }

/* Status badges */
.badge-status { font-size: 0.72rem; font-weight: 600; padding: 0.3em 0.75em; border-radius: 100px; letter-spacing: 0.03em; text-transform: capitalize; display: inline-flex; align-items: center; gap: 0.3em; }
.badge-status::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.badge-status.pending { background: rgba(255,152,0,0.1); color: #e68a00; }
.badge-status.confirmed { background: rgba(18,117,138,0.1); color: var(--rwc-teal); }
.badge-status.cancelled, .badge-status.inactive { background: rgba(220,53,69,0.08); color: #c0392b; }
.badge-status.active { background: rgba(25,135,84,0.08); color: #157a4b; }
.badge-status.draft { background: rgba(100,116,139,0.08); color: #64748b; }
.badge-status.new { background: rgba(18,117,138,0.08); color: var(--rwc-teal); }
.badge-status.read { background: rgba(100,116,139,0.08); color: #6b7280; }
.badge-status.replied { background: rgba(16,185,129,0.08); color: #059669; }

/* Booking Calendar */
.booking-calendar { background: var(--bg-surface); border: 1px solid var(--border); border-radius: var(--r-xl); overflow: hidden; }
.calendar-header { background: var(--rwc-teal); color: #fff; padding: 1rem; display: flex; align-items: center; justify-content: space-between; }
.calendar-header button { background: rgba(255,255,255,0.15); border: none; color: #fff; width: 32px; height: 32px; border-radius: var(--r-sm); cursor: pointer; display: flex; align-items: center; justify-content: center; }
.calendar-grid { padding: 1rem; }
.calendar-day-names { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; margin-bottom: 0.5rem; }
.calendar-day-names span { text-align: center; font-size: 0.72rem; font-weight: 700; color: var(--text-muted); text-transform: uppercase; }
.calendar-days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.calendar-day { aspect-ratio: 1; display: flex; align-items: center; justify-content: center; font-size: 0.85rem; border-radius: var(--r-sm); cursor: pointer; transition: all var(--t-fast); border: 1px solid transparent; font-weight: 500; }
.calendar-day:not(.empty):not(.blocked):not(.past):hover { background: var(--rwc-teal); color: #fff; }
.calendar-day.selected { background: var(--rwc-teal); color: #fff; font-weight: 700; }
.calendar-day.today { border-color: var(--rwc-teal); color: var(--rwc-teal); font-weight: 700; }
.calendar-day.blocked { background: var(--bg-surface-2); color: var(--text-light); cursor: not-allowed; text-decoration: line-through; }
.calendar-day.past { opacity: 0.3; cursor: not-allowed; }

/* Page link */
.page-link { color: var(--rwc-teal); }
.page-item.active .page-link { background: var(--rwc-teal); border-color: var(--rwc-teal); }

/* Sidebar responsive */
.sidebar-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 999; display: none; }
.sidebar-overlay.show { display: block; }
@media (max-width: 991.98px) {
    .admin-sidebar { transform: translateX(-100%); transition: transform var(--t-base); }
    .admin-sidebar.open { transform: translateX(0); }
    .admin-main { margin-left: 0; }
}
@media (max-width: 767.98px) {
    .hero-title { font-size: 2rem; }
    .section { padding: 56px 0; }
}

/* Utilities */
.overline { font-family: 'Raleway', sans-serif; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--rwc-teal); }
.img-cover { width: 100%; height: 100%; object-fit: cover; }
