/* ==========================================================================
   PDH WEB - MODERN MEDICAL DESIGN SYSTEM 2.0
   Professional Healthcare Portal for Pluak Daeng Hospital
   ========================================================================== */

:root {
    /* Brand Colors */
    --primary-color: #0d9488;
    --primary-dark: #0f766e;
    --primary-light: #f0fdfa;
    --primary-border: #99f6e4;
    
    --secondary-color: #0284c7;
    --secondary-dark: #0369a1;
    --secondary-light: #f0f9ff;
    
    --accent-warning: #f59e0b;
    --accent-danger: #ef4444;
    --accent-success: #10b981;
    
    /* Neutrals */
    --bg-main: #f8fafc;
    --bg-surface: #ffffff;
    --text-main: #0f172a;
    --text-muted: #64748b;
    --text-light: #94a3b8;
    --border-color: #e2e8f0;
    
    /* Typography */
    --font-thai: 'Prompt', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-en: 'Plus Jakarta Sans', sans-serif;
    
    /* Radius */
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius-pill: 9999px;
    
    /* Shadows */
    --shadow-sm: 0 2px 6px rgba(15, 23, 42, 0.04);
    --shadow-md: 0 10px 25px -5px rgba(15, 23, 42, 0.06), 0 8px 10px -6px rgba(15, 23, 42, 0.04);
    --shadow-lg: 0 20px 40px -12px rgba(15, 23, 42, 0.1);
    --shadow-glow-teal: 0 10px 30px rgba(13, 148, 136, 0.25);
    
    --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base Setup */
*, *::before, *::after {
    box-sizing: border-box;
}

body {
    font-family: var(--font-thai);
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.65;
    letter-spacing: normal !important;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

/* Typography Headings */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-thai);
    font-weight: 700;
    color: var(--text-main);
    line-height: 1.35;
    margin-bottom: 0.5rem;
    letter-spacing: normal !important;
}

p {
    line-height: 1.7;
    margin-bottom: 1rem;
}

/* --------------------------------------------------------------------------
   TOP NOTICE BAR
   -------------------------------------------------------------------------- */
.top-notice-bar {
    background: linear-gradient(90deg, #090d16, #0f172a);
    color: #e2e8f0;
    font-size: 0.85rem;
    padding: 9px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-notice-bar a.hover-white:hover {
    color: #ffffff !important;
}

.device-indicator-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.12);
    color: #38bdf8;
    padding: 3px 10px;
    border-radius: var(--radius-pill);
    font-size: 0.76rem;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

/* --------------------------------------------------------------------------
   STICKY MAIN NAVBAR
   -------------------------------------------------------------------------- */
.main-navbar {
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.9);
    padding: 12px 0;
    box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.05);
}

.hospital-logo {
    width: 48px !important;
    height: 48px !important;
    min-width: 48px !important;
    max-width: 48px !important;
    border-radius: 14px;
    object-fit: cover;
    box-shadow: 0 4px 12px rgba(13, 148, 136, 0.25);
    border: 2px solid #ffffff;
    flex-shrink: 0;
}

.brand-text-block {
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 1.15;
}

.brand-title {
    font-size: 1.22rem;
    font-weight: 800;
    color: #0f172a;
    white-space: nowrap;
    letter-spacing: -0.01em;
}

.brand-subtitle {
    font-family: var(--font-en);
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    white-space: nowrap;
}

.navbar-nav .nav-link {
    color: #334155;
    font-weight: 600;
    font-size: 0.94rem;
    padding: 8px 16px !important;
    border-radius: var(--radius-pill);
    transition: var(--transition);
    white-space: nowrap !important;
    display: inline-flex;
    align-items: center;
}

.navbar-nav .nav-link:hover, 
.navbar-nav .nav-link.active {
    color: var(--primary-color) !important;
    background-color: var(--primary-light);
}

.dropdown-menu-modern {
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    min-width: 240px;
}

.dropdown-menu-modern .dropdown-item {
    font-size: 0.92rem;
    font-weight: 500;
    color: #334155;
    transition: var(--transition);
}

.dropdown-menu-modern .dropdown-item:hover {
    background-color: var(--primary-light);
    color: var(--primary-color);
    transform: translateX(4px);
}

.btn-emergency-hotline {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: #ffffff !important;
    font-weight: 700;
    font-size: 0.95rem;
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.35);
    transition: var(--transition);
    white-space: nowrap !important;
}

.btn-emergency-hotline:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(239, 68, 68, 0.45);
    background: linear-gradient(135deg, #f87171, #dc2626);
    color: #ffffff !important;
}

/* --------------------------------------------------------------------------
   HERO BANNER CAROUSEL
   -------------------------------------------------------------------------- */
.hero-wrapper {
    padding-top: 24px;
}

.hero-carousel-container {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: 0 20px 45px -10px rgba(15, 23, 42, 0.15);
    background: #0f172a;
    border: 1px solid rgba(226, 232, 240, 0.6);
}

.banner-carousel-img {
    height: 460px;
    width: 100%;
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
}

.banner-carousel-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.1) 0%, rgba(15, 23, 42, 0.75) 100%);
    display: flex;
    align-items: flex-end;
    padding: 36px 40px;
    color: #ffffff;
}

@media (max-width: 992px) {
    .banner-carousel-img {
        height: 320px;
    }
    .banner-carousel-overlay {
        padding: 20px;
    }
}

@media (max-width: 768px) {
    .banner-carousel-img {
        height: 220px;
    }
}

/* Carousel Glass Controls */
.carousel-control-prev, .carousel-control-next {
    width: 60px;
    opacity: 0.8;
}

.carousel-glass-btn {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(8px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0f172a;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: var(--transition);
}

.carousel-control-prev:hover .carousel-glass-btn,
.carousel-control-next:hover .carousel-glass-btn {
    background: #ffffff;
    transform: scale(1.1);
    color: var(--primary-color);
}

/* --------------------------------------------------------------------------
   FAST-TRACK 4 HUB CARDS
   -------------------------------------------------------------------------- */
.fast-track-wrapper {
    position: relative;
    z-index: 10;
    margin-top: -30px;
    margin-bottom: 48px;
}

@media (max-width: 992px) {
    .fast-track-wrapper {
        margin-top: 24px;
    }
}

.fast-track-card {
    background: #ffffff;
    border-radius: var(--radius-lg);
    padding: 28px 20px;
    border: 1px solid rgba(226, 232, 240, 0.9);
    box-shadow: 0 10px 30px -5px rgba(15, 23, 42, 0.07);
    text-align: center;
    transition: var(--transition);
    display: block;
    text-decoration: none;
    height: 100%;
}

.fast-track-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px -10px rgba(13, 148, 136, 0.2);
    border-color: rgba(13, 148, 136, 0.4);
}

.fast-track-icon {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: 16px;
    transition: var(--transition);
}

.fast-track-card:hover .fast-track-icon {
    transform: scale(1.1) rotate(4deg);
}

.fast-track-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 4px;
}

.fast-track-desc {
    font-size: 0.84rem;
    color: var(--text-muted);
    margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   GLASSMORPHISM & GENERAL CARDS
   -------------------------------------------------------------------------- */
.glass-card {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(226, 232, 240, 0.85);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.glass-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(13, 148, 136, 0.3);
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--primary-light);
    color: var(--primary-color);
    padding: 6px 16px;
    border-radius: var(--radius-pill);
    font-size: 0.85rem;
    font-weight: 700;
    border: 1px solid var(--primary-border);
}

.section-title {
    font-size: 2rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.3;
}

/* --------------------------------------------------------------------------
   BUTTONS
   -------------------------------------------------------------------------- */
.btn-modern-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: #ffffff !important;
    font-weight: 600;
    padding: 10px 24px;
    border-radius: var(--radius-pill);
    border: none;
    box-shadow: 0 4px 14px rgba(13, 148, 136, 0.35);
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    line-height: 1.5;
    text-decoration: none;
}

.btn-modern-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(13, 148, 136, 0.45);
    background: linear-gradient(135deg, #14b8a6, var(--primary-dark));
}

.btn-modern-outline {
    background: #ffffff;
    color: var(--primary-color) !important;
    border: 1.5px solid var(--primary-color);
    font-weight: 600;
    padding: 9px 22px;
    border-radius: var(--radius-pill);
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    line-height: 1.5;
    text-decoration: none;
}

.btn-modern-outline:hover {
    background: var(--primary-color);
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(13, 148, 136, 0.25);
}

/* --------------------------------------------------------------------------
   FLOATING SOCIAL & DEVICE WIDGETS
   -------------------------------------------------------------------------- */
.floating-social-widget {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 1050;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
}

.social-btn-line {
    background: #06c755;
    color: #ffffff !important;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(6, 199, 85, 0.4);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
    position: relative;
}

.social-btn-facebook {
    background: #1877f2;
    color: #ffffff !important;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(24, 119, 242, 0.4);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
    position: relative;
}

.social-btn-line:hover, .social-btn-facebook:hover {
    transform: scale(1.12) translateY(-3px);
    color: #ffffff !important;
}

.social-badge-label {
    position: absolute;
    right: 62px;
    background: #0f172a;
    color: #ffffff;
    font-size: 0.78rem;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 20px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.social-btn-line:hover .social-badge-label,
.social-btn-facebook:hover .social-badge-label {
    opacity: 1;
}

.floating-device-indicator {
    position: fixed;
    bottom: 28px;
    left: 28px;
    z-index: 1050;
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(12px);
    color: #ffffff;
    padding: 8px 16px;
    border-radius: var(--radius-pill);
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255, 255, 255, 0.15);
    font-size: 0.82rem;
}

.device-icon-bubble {
    width: 28px;
    height: 28px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
}

.device-text-title {
    font-weight: 700;
    display: block;
    line-height: 1.2;
}

.device-text-sub {
    font-size: 0.72rem;
    color: #94a3b8;
    display: block;
}

/* --------------------------------------------------------------------------
   FOOTER SECTION
   -------------------------------------------------------------------------- */
.footer-section {
    background: #090d16;
    color: #ffffff;
    padding-top: 64px;
    padding-bottom: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-link {
    color: #94a3b8;
    text-decoration: none;
    display: block;
    padding: 4px 0;
    font-size: 0.92rem;
    transition: var(--transition);
}

.footer-link:hover {
    color: #38bdf8;
    transform: translateX(4px);
}

.visitor-counter-bar {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    padding: 16px 24px;
    margin-bottom: 32px;
}

.stat-badge-chip {
    background: rgba(255, 255, 255, 0.08);
    padding: 6px 14px;
    border-radius: var(--radius-pill);
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.stat-badge-chip .label {
    color: #94a3b8;
}

.stat-badge-chip .val {
    font-weight: 700;
    color: #ffffff;
}

.stat-badge-chip .val.highlight {
    color: #38bdf8;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 24px;
}

/* Calm care theme: clear, service-first, and easy to scan. */
:root {
    --primary-color: #0b5e96;
    --primary-dark: #074976;
    --secondary-color: #2f9ed8;
    --primary-light: #eaf5fb;
    --primary-border: #c9e3f1;
    --text-muted: #607080;
    --radius-lg: 20px;
    --shadow-md: 0 12px 32px rgba(25, 72, 108, 0.08);
    --shadow-lg: 0 20px 48px rgba(25, 72, 108, 0.14);
}

body { background: #f6f9fb; color: #183047; letter-spacing: 0.005em; }
.top-notice-bar { background: #073b63; min-height: 36px; font-size: 0.78rem; }
.device-indicator-pill, .floating-device-indicator { display: none !important; }

.main-navbar {
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid #e2edf3;
    box-shadow: 0 5px 18px rgba(27, 74, 110, 0.05);
    backdrop-filter: blur(14px);
}
.hospital-logo { border-radius: 14px; box-shadow: 0 4px 12px rgba(11, 94, 150, 0.15); }
.brand-title { color: #123a59; font-size: 1.05rem; font-weight: 700; }
.brand-subtitle { color: #6990aa; font-size: 0.62rem; letter-spacing: 0.12em; }
.navbar-nav .nav-link { color: #38556b; font-size: 0.9rem; font-weight: 500; padding: 0.7rem 0.72rem !important; }
.navbar-nav .nav-link:hover, .navbar-nav .nav-link.active { color: var(--primary-color); background: #edf7fc; }
.btn-emergency-hotline { background: #df5347; box-shadow: none; }

.hero-wrapper { padding: 30px 0 0; background: radial-gradient(circle at 86% 8%, #d7effb 0, transparent 24%), linear-gradient(180deg, #edf8fc 0%, #f6f9fb 100%); }
.hero-carousel-container { border-radius: 24px; overflow: hidden; box-shadow: 0 20px 45px rgba(18, 73, 109, 0.16); }
.banner-carousel-img { min-height: 400px; }
.banner-carousel-overlay { background: linear-gradient(90deg, rgba(4, 43, 73, 0.84) 0%, rgba(8, 73, 116, 0.57) 48%, rgba(8, 73, 116, 0.10) 100%); padding: clamp(2rem, 6vw, 5rem); }

.fast-track-wrapper { margin-top: -38px; margin-bottom: 64px; }
.fast-track-card { padding: 24px 18px; border-radius: 16px; border-color: #e1ebf1; box-shadow: 0 10px 24px rgba(26, 78, 115, 0.08); }
.fast-track-card:hover { transform: translateY(-4px); border-color: #93c8e2; box-shadow: 0 16px 30px rgba(26, 78, 115, 0.13); }
.fast-track-icon { width: 56px; height: 56px; border-radius: 16px; font-size: 1.45rem; margin-bottom: 13px; }
.fast-track-card:hover .fast-track-icon { transform: none; }
.fast-track-title, .section-title { color: #173a56; }
.section-title { font-size: clamp(1.65rem, 3vw, 2.2rem); letter-spacing: -0.02em; }

.glass-card { background: #fff; border-color: #e1ebf1; box-shadow: 0 9px 24px rgba(31, 76, 105, 0.07); }
.glass-card:hover { transform: translateY(-2px); border-color: #c7e2ef; box-shadow: 0 14px 32px rgba(31, 76, 105, 0.11); }
.btn-modern-primary { background: #0b5e96; box-shadow: none; }
.btn-modern-primary:hover { background: #074976; box-shadow: 0 8px 18px rgba(11, 94, 150, 0.2); }
.btn-modern-outline { border-color: #81bddb; color: #0b5e96 !important; }
.footer-section { background: #09304e; }

/* Corporate social responsibility partnership page. */
.csr-page { background: #f6f9fb; }
.csr-hero { overflow: hidden; padding: 82px 0 74px; color: #ffffff; background: radial-gradient(circle at 82% 20%, rgba(102, 206, 183, 0.38), transparent 28%), linear-gradient(120deg, #063c61 0%, #0b5e96 55%, #167a91 100%); }
.csr-hero h1 { max-width: 720px; margin: 16px 0 20px; font-size: clamp(2.5rem, 5vw, 4.5rem); font-weight: 700; line-height: 1.12; letter-spacing: -0.04em; }
.csr-hero h1 span { color: #bdeedb; }
.csr-hero > .container { z-index: 1; }
.csr-hero p { max-width: 670px; color: rgba(255,255,255,0.8); font-size: 1.08rem; line-height: 1.8; }
.csr-eyebrow, .csr-section-kicker { display: inline-flex; align-items: center; gap: 8px; color: #65d1b5; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.12em; }
.csr-btn-light { color: #07527c; background: #ffffff; font-weight: 700; }
.csr-btn-light:hover { color: #ffffff; background: #0a4d77; }
.csr-btn-outline { color: #ffffff; border: 1px solid rgba(255,255,255,0.65); font-weight: 600; }
.csr-btn-outline:hover { color: #063c61; background: #ffffff; }
.csr-hero-card { position: relative; padding: 32px; overflow: hidden; color: #123a59; background: #ffffff; border-radius: 26px; box-shadow: 0 24px 50px rgba(2, 34, 54, 0.24); }
.csr-hero-card__icon { display: grid; width: 54px; height: 54px; margin-bottom: 35px; place-items: center; color: #ffffff; background: #0a7390; border-radius: 18px; font-size: 1.45rem; }
.csr-hero-card h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); font-weight: 700; line-height: 1.22; }
.csr-hero-card p { color: #607080; font-size: 0.92rem; line-height: 1.7; }
.csr-hero-card__line { width: 64px; height: 4px; margin: 20px 0; background: #55c4a8; border-radius: 999px; }
.csr-intro { background: #ffffff; }
.csr-section-title { margin-top: 10px; color: #173a56; font-size: clamp(1.85rem, 3vw, 2.65rem); font-weight: 700; line-height: 1.22; letter-spacing: -0.025em; }
.csr-value { height: 100%; padding: 28px; border: 1px solid #dceaf0; border-radius: 18px; background: #ffffff; }
.csr-value i { display: grid; width: 42px; height: 42px; margin-bottom: 18px; place-items: center; color: #0b5e96; background: #e7f5fa; border-radius: 13px; font-size: 1.15rem; }
.csr-value h3 { color: #173a56; font-size: 1.1rem; font-weight: 700; }
.csr-value p { margin: 0; color: #607080; font-size: 0.92rem; line-height: 1.7; }
.csr-projects { background: #eff7f8; }
.csr-text-link { color: #08718a; font-weight: 700; text-decoration: none; }
.csr-text-link:hover { color: #074976; }
.csr-project-card { overflow: hidden; background: #ffffff; border: 1px solid #dbe9ee; border-radius: 18px; box-shadow: 0 9px 22px rgba(31,76,105,0.06); }
.csr-project-card__image { width: 100%; height: 205px; object-fit: cover; }
.csr-project-card__placeholder { display: grid; place-items: center; color: #16829b; background: linear-gradient(135deg, #d9f2f0, #e5f2fb); font-size: 3rem; }
.csr-project-card__body { padding: 23px; }
.csr-project-card__company { margin-bottom: 8px; color: #078195; font-size: 0.77rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }
.csr-project-card h3 { color: #173a56; font-size: 1.2rem; font-weight: 700; }
.csr-project-card__body > p:not(.csr-project-card__company) { color: #607080; font-size: 0.9rem; line-height: 1.65; }
.csr-project-card__impact { display: flex; gap: 8px; align-items: flex-start; padding: 11px 12px; color: #16725f; background: #edf9f5; border-radius: 10px; font-size: 0.82rem; font-weight: 600; }
.csr-project-card__impact i { color: #d75955; }
.csr-empty-state { padding: 62px 20px; text-align: center; color: #607080; background: #ffffff; border: 1px dashed #b9d7df; border-radius: 20px; }
.csr-empty-state > i { display: block; margin-bottom: 13px; color: #28a98f; font-size: 2.4rem; }
.csr-empty-state h3 { color: #173a56; font-size: 1.25rem; font-weight: 700; }
.csr-cta { background: #f6f9fb; }
.csr-cta__panel { display: flex; align-items: center; justify-content: space-between; gap: 34px; padding: 46px; color: #ffffff; background: linear-gradient(110deg, #0b5e96, #087d8a); border-radius: 24px; }
.csr-cta__panel h2 { margin: 10px 0; font-size: clamp(1.7rem, 3vw, 2.5rem); font-weight: 700; line-height: 1.2; }
.csr-cta__panel p { max-width: 660px; margin: 0; color: rgba(255,255,255,0.78); }

/* Cookie notice is intentionally session-based so it is shown when a visitor starts a new session. */
.cookie-consent {
    position: fixed;
    z-index: 1100;
    right: 24px;
    bottom: 24px;
    left: 24px;
    max-width: 880px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 18px;
    padding: 18px 20px;
    color: #15344d;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid #c8e1ee;
    border-radius: 18px;
    box-shadow: 0 18px 45px rgba(9, 48, 78, 0.2);
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.22s ease, transform 0.22s ease;
}

.cookie-consent.is-visible { opacity: 1; transform: translateY(0); }
.cookie-consent__icon {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    color: #0b5e96;
    background: #e8f5fb;
    border-radius: 14px;
    font-size: 1.35rem;
}
.cookie-consent__content h2 { margin: 0 0 2px; color: #123a59; font-size: 1rem; font-weight: 700; }
.cookie-consent__content p { margin: 0; color: #607080; font-size: 0.83rem; line-height: 1.5; }
.cookie-consent__actions { display: flex; align-items: center; gap: 14px; white-space: nowrap; }
.cookie-consent__privacy { color: #0b5e96; font-size: 0.82rem; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.cookie-consent__accept {
    padding: 9px 20px;
    color: #ffffff;
    background: #0b5e96;
    border: 0;
    border-radius: 999px;
    font-size: 0.86rem;
    font-weight: 700;
}
.cookie-consent__accept:hover { background: #074976; }
.cookie-consent__accept:focus-visible, .cookie-consent__privacy:focus-visible { outline: 3px solid #7fc6e7; outline-offset: 3px; }

@media (max-width: 1199px) { .main-navbar .navbar-collapse { padding: 12px 0 18px; } }
@media (max-width: 767px) {
    .hero-wrapper { padding-top: 12px; }
    .hero-carousel-container { border-radius: 0 0 20px 20px; margin: 0 -12px; }
    .banner-carousel-img { min-height: 330px; }
    .banner-carousel-overlay { padding: 2rem 1.5rem; align-items: flex-end; background: linear-gradient(0deg, rgba(4, 43, 73, 0.88), rgba(4, 43, 73, 0.16)); }
    .fast-track-wrapper { margin-top: 20px; margin-bottom: 44px; }
    .floating-social-widget { bottom: 18px; right: 18px; }
    .cookie-consent { right: 12px; bottom: 12px; left: 12px; grid-template-columns: auto minmax(0, 1fr); gap: 12px; padding: 16px; }
    .cookie-consent__actions { grid-column: 1 / -1; justify-content: space-between; }
    .csr-hero { padding: 56px 0; }
    .csr-hero-card { padding: 26px; }
    .csr-cta__panel { display: block; padding: 30px; }
    .csr-cta__panel .btn { margin-top: 24px; }
}
