/* ═══════════════════════════════════════════════════════════════
   PORTFOLIO — Adilson Mangueira Nelumba
   Dark Navy + Gold Executive Theme
   ═══════════════════════════════════════════════════════════════ */

:root {
    /* ── Blues (base) ── */
    --navy: #0C1F3B;
    --navy-dark: #081526;
    --navy-light: #112D52;
    --blue-accent: #1B4F7A;
    --blue-mid: #15395E;

    /* ── Logo golds & warm tones ── */
    --gold: #8B7532;            /* escudo do logo — oliva-dourado */
    --gold-light: #A89044;      /* dourado mais claro */
    --gold-bright: #C89B3C;     /* destaque brilhante */
    --copper: #C0794B;          /* cobre/terracota do interior do logo */
    --cream: #F2E3C6;           /* creme quente do fundo do escudo */
    --gold-dark: #6B5A25;       /* sombra do escudo */

    /* ── Neutral ── */
    --white: #FFFFFF;
    --gray-100: #EDE8DF;        /* cinza com tom quente (cream influence) */
    --gray-200: #C8C0B4;
    --gray-300: #9A9287;
    --gray-400: #6B6560;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
    --shadow-gold: 0 4px 20px rgba(139, 117, 50, 0.2);

    /* Tokens semânticos (alteram com o tema) */
    --bg-body: var(--navy);
    --bg-elev: var(--navy-light);
    --bg-deep: var(--navy-dark);
    --text-main: var(--gray-200);
    --text-strong: var(--white);
    --border-soft: rgba(139, 117, 50, 0.15);
}

/* ── Tema claro (mood light) ── */
html[data-theme="light"] {
    --navy: #F5EFE4;             /* ivory / paper */
    --navy-dark: #E8DFCF;        /* headers / section-dark */
    --navy-light: #FBF6EC;       /* cards / elev */
    --blue-accent: #1B4F7A;
    --blue-mid: #15395E;

    --gold: #8B7532;
    --gold-light: #A89044;
    --gold-bright: #9A7A2E;      /* mais escuro para contraste */
    --copper: #B26A3F;
    --cream: #F2E3C6;
    --gold-dark: #6B5A25;

    --white: #FFFFFF;
    --gray-100: #2A3140;
    --gray-200: #384156;
    --gray-300: #545F76;
    --gray-400: #6B7386;

    --bg-body: var(--navy);
    --bg-elev: var(--navy-light);
    --bg-deep: var(--navy-dark);
    --text-main: #2A3140;
    --text-strong: #0C1F3B;
    --border-soft: rgba(139, 117, 50, 0.28);

    --shadow: 0 8px 32px rgba(60, 45, 15, 0.12);
    --shadow-gold: 0 4px 20px rgba(139, 117, 50, 0.18);
}

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--navy);
    color: var(--gray-200);
    line-height: 1.7;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.gold { color: var(--gold-bright); }

/* ═══════════════ NAVBAR ═══════════════ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 0;
    transition: var(--transition);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(8, 21, 38, 0.96);
    backdrop-filter: blur(20px);
    padding: 0.6rem 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(139, 117, 50, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.7rem;
}

.logo-initials {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 2px solid var(--gold-bright);
    border-radius: 8px;
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--gold-bright);
    letter-spacing: 0.05em;
    transition: var(--transition);
}

.navbar.scrolled .logo-initials {
    width: 34px;
    height: 34px;
    font-size: 0.95rem;
}

.logo-name {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--white);
    letter-spacing: 0.03em;
    transition: var(--transition);
}

.navbar.scrolled .logo-name { font-size: 0.82rem; }

.nav-links {
    display: flex;
    list-style: none;
    gap: 0.2rem;
}

.nav-links a {
    color: var(--gray-200);
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 500;
    padding: 0.5rem 0.85rem;
    border-radius: 6px;
    transition: var(--transition);
    letter-spacing: 0.02em;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--gold-bright);
    background: rgba(139, 117, 50, 0.12);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--white);
    transition: var(--transition);
}

/* ── Language switch ── */
.lang-switch {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    margin-left: 1rem;
    padding: 3px;
    background: rgba(139, 117, 50, 0.08);
    border: 1px solid rgba(139, 117, 50, 0.25);
    border-radius: 999px;
}

.lang-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.7rem;
    background: transparent;
    border: none;
    border-radius: 999px;
    color: var(--gray-200);
    font-family: 'Inter', sans-serif;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: var(--transition);
    line-height: 1;
}

.lang-btn:hover {
    color: var(--gold-bright);
}

.lang-btn.active {
    background: var(--gold-bright);
    color: var(--navy-dark);
    box-shadow: 0 2px 10px rgba(200, 155, 60, 0.35);
}

.lang-btn .lang-flag {
    font-size: 0.95rem;
    line-height: 1;
}

.lang-btn .lang-code {
    letter-spacing: 0.06em;
}

/* ── Theme toggle ── */
.theme-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    margin-left: 0.6rem;
    background: rgba(139, 117, 50, 0.08);
    border: 1px solid rgba(139, 117, 50, 0.28);
    border-radius: 50%;
    color: var(--gold-bright);
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.theme-toggle:hover {
    background: rgba(139, 117, 50, 0.18);
    transform: rotate(-10deg);
}

.theme-toggle i {
    font-size: 0.95rem;
    position: absolute;
    transition: transform 0.35s ease, opacity 0.25s ease;
}

.theme-toggle .theme-icon-dark { opacity: 1; transform: translateY(0) rotate(0); }
.theme-toggle .theme-icon-light { opacity: 0; transform: translateY(20px) rotate(90deg); }

html[data-theme="light"] .theme-toggle .theme-icon-dark { opacity: 0; transform: translateY(-20px) rotate(-90deg); }
html[data-theme="light"] .theme-toggle .theme-icon-light { opacity: 1; transform: translateY(0) rotate(0); }

/* ═══════════════ HERO ═══════════════ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 50%, var(--navy-light) 100%);
    overflow: hidden;
}

.hero-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(139, 117, 50, 0.07) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 20%, rgba(27, 79, 122, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 60% 80%, rgba(192, 121, 75, 0.04) 0%, transparent 40%);
}

.hero-content {
    position: relative;
    text-align: center;
    padding: 2rem;
}

.hero-label {
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--gold-bright);
    margin-bottom: 1.5rem;
}

.hero-name {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 700;
    color: var(--white);
    line-height: 1.15;
    margin-bottom: 1.5rem;
}

.hero-divider {
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--copper));
    margin: 0 auto 1.5rem;
}

.hero-title {
    font-size: 1.15rem;
    color: var(--gray-200);
    font-weight: 300;
    margin-bottom: 0.5rem;
}

.hero-company {
    font-size: 1rem;
    color: var(--gold-bright);
    font-weight: 500;
    letter-spacing: 0.05em;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 2.5rem;
    padding: 0.8rem 2rem;
    color: var(--gold-bright);
    border: 1px solid rgba(139, 117, 50, 0.4);
    border-radius: 50px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
}

.hero-cta:hover {
    background: rgba(139, 117, 50, 0.12);
    border-color: var(--gold-bright);
    transform: translateY(-2px);
}

.hero-cta i {
    animation: bounce 2s infinite;
}

/* Hero Photo */
.hero-photo {
    margin-bottom: 2rem;
}

.hero-photo img {
    width: 160px;
    height: 160px;
    object-fit: cover;
    object-position: top;
    border-radius: 50%;
    border: 3px solid var(--gold-bright);
    box-shadow: 0 0 0 6px rgba(139, 117, 50, 0.15), 0 8px 32px rgba(0, 0, 0, 0.4);
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(4px); }
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
}

.mouse {
    width: 24px;
    height: 38px;
    border: 2px solid rgba(139, 117, 50, 0.4);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    padding-top: 6px;
}

.wheel {
    width: 3px;
    height: 8px;
    background: var(--gold);
    border-radius: 2px;
    animation: scroll-wheel 2s infinite;
}

@keyframes scroll-wheel {
    0% { opacity: 1; transform: translateY(0); }
    100% { opacity: 0; transform: translateY(10px); }
}

/* ═══════════════ SECTIONS ═══════════════ */
.section {
    padding: 6rem 0;
    position: relative;
}

.section-dark {
    background: var(--navy-dark);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-label {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold-light);
    margin-bottom: 0.75rem;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    color: var(--white);
    font-weight: 600;
    margin-bottom: 1rem;
}

.section-line {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--copper));
    margin: 0 auto;
}

/* ═══════════════ ABOUT ═══════════════ */
.about-grid {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 3.5rem;
    align-items: start;
}

.about-photo-frame {
    width: 280px;
    position: relative;
}

.about-photo-frame::before {
    content: '';
    position: absolute;
    top: -8px;
    left: -8px;
    right: -8px;
    bottom: -8px;
    border: 2px solid rgba(139, 117, 50, 0.25);
    border-radius: 16px;
}

.about-photo-frame img {
    width: 100%;
    height: 360px;
    object-fit: cover;
    object-position: top;
    border-radius: 12px;
    display: block;
}

.about-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.about-text {
    font-size: 1rem;
    line-height: 1.85;
}

.about-lead {
    font-size: 1.15rem;
    color: var(--white);
    margin-bottom: 1.2rem;
    line-height: 1.8;
}

.about-text p { margin-bottom: 1rem; }
.about-text strong { color: var(--gold-bright); font-weight: 600; }

.about-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.stat-card {
    background: var(--navy-light);
    border: 1px solid rgba(139, 117, 50, 0.15);
    border-radius: 12px;
    padding: 1.8rem 1.5rem;
    text-align: center;
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-4px);
    border-color: rgba(139, 117, 50, 0.4);
    box-shadow: var(--shadow-gold);
}

.stat-number {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gold-bright);
    line-height: 1;
}

.stat-plus {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: var(--gold-bright);
    font-weight: 700;
}

.stat-label {
    display: block;
    font-size: 0.8rem;
    color: var(--gray-300);
    margin-top: 0.8rem;
    line-height: 1.5;
}

/* ═══════════════ EDUCATION ═══════════════ */
.education-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2rem;
}

.edu-card {
    background: var(--navy);
    border: 1px solid rgba(139, 117, 50, 0.12);
    border-radius: 12px;
    padding: 2.5rem 2rem;
    transition: var(--transition);
}

.edu-card:hover {
    transform: translateY(-4px);
    border-color: rgba(139, 117, 50, 0.35);
    box-shadow: var(--shadow-gold);
}

.edu-icon {
    width: 56px;
    height: 56px;
    background: rgba(139, 117, 50, 0.1);
    border: 1px solid rgba(139, 117, 50, 0.25);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
    color: var(--gold);
}

.edu-card h3 {
    color: var(--white);
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
}

.edu-school {
    color: var(--gold-bright);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.edu-desc {
    font-size: 0.9rem;
    color: var(--gray-300);
}

.edu-skills h3 {
    color: var(--white);
    font-size: 1.15rem;
    margin-bottom: 1.5rem;
}

.skills-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.skill-tag {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1rem;
    background: rgba(139, 117, 50, 0.08);
    border: 1px solid rgba(139, 117, 50, 0.2);
    border-radius: 8px;
    font-size: 0.85rem;
    color: var(--gray-200);
    transition: var(--transition);
}

.skill-tag:hover {
    background: rgba(139, 117, 50, 0.15);
    border-color: var(--gold);
    color: var(--white);
}

.skill-tag i {
    color: var(--gold);
    font-size: 0.8rem;
}

/* ═══════════════ TIMELINE ═══════════════ */
.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 0;
}

.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, transparent, var(--gold), transparent);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    width: 50%;
    padding: 0 3rem 3rem;
}

.timeline-item:nth-child(odd) {
    margin-left: 50%;
    padding-left: 3rem;
}

.timeline-item:nth-child(even) {
    text-align: right;
    padding-right: 3rem;
}

.timeline-dot {
    position: absolute;
    width: 16px;
    height: 16px;
    background: var(--navy);
    border: 3px solid var(--gold);
    border-radius: 50%;
    top: 0.5rem;
    z-index: 2;
}

.timeline-item:nth-child(odd) .timeline-dot {
    left: -8px;
}

.timeline-item:nth-child(even) .timeline-dot {
    right: -8px;
}

.timeline-dot.active {
    background: var(--gold);
    box-shadow: 0 0 0 6px rgba(139, 117, 50, 0.2);
}

.timeline-date {
    display: inline-block;
    padding: 0.3rem 1rem;
    background: var(--gold);
    color: var(--navy);
    font-weight: 700;
    font-size: 0.85rem;
    border-radius: 50px;
    margin-bottom: 1rem;
}

.timeline-content {
    background: var(--navy-light);
    border: 1px solid rgba(139, 117, 50, 0.12);
    border-radius: 12px;
    padding: 2rem;
    transition: var(--transition);
}

.timeline-content:hover {
    border-color: rgba(139, 117, 50, 0.35);
    box-shadow: var(--shadow-gold);
}

.timeline-content h3 {
    color: var(--white);
    font-size: 1.3rem;
    margin-bottom: 0.3rem;
}

.timeline-role {
    color: var(--copper);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.timeline-content ul {
    list-style: none;
    text-align: left;
}

.timeline-content li {
    position: relative;
    padding-left: 1.2rem;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: var(--gray-300);
}

.timeline-content li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.6em;
    width: 6px;
    height: 6px;
    background: var(--gold);
    border-radius: 50%;
}

/* ═══════════════ COMPETENCIES ═══════════════ */
.competencies-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.comp-card {
    background: var(--navy);
    border: 1px solid rgba(139, 117, 50, 0.12);
    border-radius: 12px;
    padding: 2rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.comp-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--copper));
    opacity: 0;
    transition: var(--transition);
}

.comp-card:hover {
    transform: translateY(-4px);
    border-color: rgba(139, 117, 50, 0.35);
    box-shadow: var(--shadow-gold);
}

.comp-card:hover::before { opacity: 1; }

.comp-icon {
    width: 50px;
    height: 50px;
    background: rgba(139, 117, 50, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.2rem;
    font-size: 1.2rem;
    color: var(--gold);
}

.comp-card h3 {
    color: var(--white);
    font-size: 1.05rem;
    margin-bottom: 1rem;
}

.comp-card ul {
    list-style: none;
}

.comp-card li {
    position: relative;
    padding-left: 1rem;
    margin-bottom: 0.4rem;
    font-size: 0.88rem;
    color: var(--gray-300);
}

.comp-card li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 5px;
    height: 5px;
    background: var(--gold);
    border-radius: 50%;
}

/* ═══════════════ PROJECTS ═══════════════ */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.project-card {
    background: var(--navy-light);
    border: 1px solid rgba(139, 117, 50, 0.12);
    border-radius: 12px;
    padding: 2.5rem 2rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
}

.project-energy::before { background: linear-gradient(90deg, var(--gold), var(--copper)); }
.project-infra::before { background: linear-gradient(90deg, var(--blue-accent), #2E8BC0); }
.project-exploration::before { background: linear-gradient(90deg, var(--gold-dark), var(--gold-light)); }

.project-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
}

.project-category {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold-light);
    margin-bottom: 1rem;
}

.project-card h3 {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
    line-height: 1.4;
}

.project-metric {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--gold-bright);
    margin-bottom: 1rem;
}

.project-card p:last-child {
    font-size: 0.9rem;
    color: var(--gray-300);
}

/* ═══════════════ EVENTS ═══════════════ */
.events-photos {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.event-photo {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(139, 117, 50, 0.15);
    transition: var(--transition);
}

.event-photo:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-gold);
    border-color: rgba(139, 117, 50, 0.35);
}

.event-photo img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    object-position: top;
    display: block;
    transition: var(--transition);
}

.event-photo:hover img {
    transform: scale(1.03);
}

.event-photo-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem 1rem 0.8rem;
    background: linear-gradient(to top, rgba(8, 21, 38, 0.9), transparent);
    color: var(--gray-200);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.02em;
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.event-card {
    background: var(--navy);
    border: 1px solid rgba(139, 117, 50, 0.12);
    border-radius: 12px;
    padding: 2rem;
    transition: var(--transition);
    position: relative;
    padding-left: 2.5rem;
    border-left: 3px solid var(--gold);
}

.event-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-gold);
}

.event-year {
    display: inline-block;
    padding: 0.2rem 0.8rem;
    background: rgba(139, 117, 50, 0.12);
    border: 1px solid rgba(139, 117, 50, 0.35);
    color: var(--gold);
    font-weight: 700;
    font-size: 0.8rem;
    border-radius: 50px;
    margin-bottom: 0.8rem;
}

.event-card h3 {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
}

.event-role {
    color: var(--copper);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
}

.event-card p:last-child {
    font-size: 0.88rem;
    color: var(--gray-300);
}

/* ═══════════════ VISION ═══════════════ */
.vision-quote {
    position: relative;
    background: var(--navy-light);
    border: 1px solid rgba(139, 117, 50, 0.2);
    border-left: 4px solid var(--gold);
    border-radius: 12px;
    padding: 3rem 3.5rem;
    margin-bottom: 3rem;
}

.quote-mark {
    font-family: 'Playfair Display', serif;
    font-size: 5rem;
    color: var(--gold);
    line-height: 0;
    position: absolute;
    top: 2.5rem;
    left: 1.5rem;
    opacity: 0.4;
}

.vision-quote p {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    color: var(--white);
    line-height: 1.7;
    font-style: italic;
}

.vision-quote cite {
    display: block;
    margin-top: 1.5rem;
    font-size: 0.9rem;
    color: var(--gold-bright);
    font-style: normal;
    font-weight: 500;
}

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.pillar-card {
    background: var(--navy-light);
    border: 1px solid rgba(139, 117, 50, 0.12);
    border-radius: 12px;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: var(--transition);
}

.pillar-card:hover {
    transform: translateY(-4px);
    border-color: rgba(139, 117, 50, 0.35);
    box-shadow: var(--shadow-gold);
}

.pillar-year {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--gold-bright);
    margin-bottom: 0.8rem;
}

.pillar-icon {
    font-size: 2rem;
    color: var(--copper);
    margin-bottom: 0.8rem;
}

.pillar-card h3 {
    color: var(--white);
    font-size: 1.05rem;
    margin-bottom: 0.8rem;
}

.pillar-card p {
    font-size: 0.88rem;
    color: var(--gray-300);
}

/* ═══════════════ CONTRIBUTION ═══════════════ */
.contribution-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 1.5rem;
}

.contrib-card {
    background: var(--navy);
    border: 1px solid rgba(139, 117, 50, 0.12);
    border-radius: 12px;
    padding: 2rem;
    transition: var(--transition);
}

.contrib-card:hover {
    transform: translateY(-3px);
    border-color: rgba(139, 117, 50, 0.35);
    box-shadow: var(--shadow-gold);
}

.contrib-icon {
    width: 48px;
    height: 48px;
    background: rgba(139, 117, 50, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    font-size: 1.2rem;
    color: var(--gold);
}

.contrib-card h3 {
    color: var(--white);
    font-size: 1.05rem;
    margin-bottom: 0.6rem;
}

.contrib-card p {
    font-size: 0.88rem;
    color: var(--gray-300);
}

/* ═══════════════ CHAIRMAN ═══════════════ */
.chairman-section {
    background: linear-gradient(135deg, var(--navy-dark), var(--navy));
}

.chairman-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.chairman-quote {
    position: relative;
    margin: 2rem 0 3rem;
}

.big-quote {
    font-family: 'Playfair Display', serif;
    font-size: 6rem;
    color: var(--gold);
    line-height: 0;
    display: block;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.chairman-quote p {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    color: var(--gray-200);
    line-height: 1.9;
    margin-bottom: 1.2rem;
    font-style: italic;
}

.chairman-signature { text-align: center; }

.sig-line {
    width: 80px;
    height: 2px;
    background: linear-gradient(90deg, var(--gold), var(--copper));
    margin: 0 auto 1.2rem;
}

.sig-name {
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.2rem;
}

.sig-title {
    color: var(--gold-bright);
    font-size: 0.9rem;
    margin-bottom: 0.15rem;
}

.sig-company {
    color: var(--gray-400);
    font-size: 0.85rem;
}

/* ═══════════════ AREAS ═══════════════ */
.areas-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.2rem;
    max-width: 900px;
    margin: 0 auto;
}

.area-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.3rem 1.5rem;
    background: var(--navy);
    border: 1px solid rgba(139, 117, 50, 0.12);
    border-radius: 10px;
    transition: var(--transition);
}

.area-item:hover {
    border-color: var(--gold);
    background: rgba(139, 117, 50, 0.06);
    transform: translateX(4px);
}

.area-item i {
    font-size: 1.3rem;
    color: var(--gold);
    width: 24px;
    text-align: center;
}

.area-item span {
    color: var(--white);
    font-size: 0.95rem;
    font-weight: 500;
}

/* ═══════════════ CONTACT ═══════════════ */
.contact-content {
    text-align: center;
    padding: 2rem 0;
}

.contact-initials {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    border: 2px solid var(--gold-bright);
    border-radius: 14px;
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--gold-bright);
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
}

.contact-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    color: var(--white);
}

.contact-grid {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

a.contact-item:hover i,
a.contact-item:hover p {
    color: var(--gold-bright);
}

.contact-item i {
    font-size: 1.3rem;
    color: var(--gold-bright);
}

.contact-item p {
    color: var(--gray-200);
    font-size: 1rem;
}

/* ═══════════════ FOOTER ═══════════════ */
.footer {
    background: var(--navy-dark);
    border-top: 1px solid rgba(139, 117, 50, 0.1);
    padding: 1.5rem 0;
    text-align: center;
}

.footer p {
    color: var(--gray-400);
    font-size: 0.8rem;
}

/* ═══════════════ ANIMATIONS ═══════════════ */
[data-animate] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

[data-animate="fade-right"] {
    transform: translateX(-30px);
}

[data-animate="fade-left"] {
    transform: translateX(30px);
}

[data-animate].visible {
    opacity: 1;
    transform: translate(0, 0);
}

/* ═══════════════ RESPONSIVE ═══════════════ */
@media (max-width: 1024px) {
    .about-grid { grid-template-columns: 1fr; gap: 2rem; }
    .about-photo { display: flex; justify-content: center; }
    .about-photo-frame { width: 220px; }
    .about-photo-frame img { height: 280px; }
    .education-grid { grid-template-columns: 1fr 1fr; }
    .competencies-grid { grid-template-columns: repeat(2, 1fr); }
    .projects-grid { grid-template-columns: 1fr; }
    .pillars-grid { grid-template-columns: repeat(2, 1fr); }
    .areas-grid { grid-template-columns: repeat(2, 1fr); }
    .events-photos { gap: 1rem; }
    .event-photo img { height: 200px; }
}

@media (max-width: 768px) {
    /* ── Nav ── */
    .navbar { padding: 0.75rem 0; }
    .navbar.scrolled { padding: 0.5rem 0; }
    .nav-container { padding: 0 1rem; gap: 0.5rem; }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(11, 29, 58, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 1.2rem 1.5rem calc(1.2rem + env(safe-area-inset-bottom, 0px));
        gap: 0.25rem;
        border-top: 1px solid rgba(139, 117, 50, 0.15);
        max-height: calc(100vh - 60px);
        overflow-y: auto;
    }
    html[data-theme="light"] .nav-links {
        background: rgba(245, 239, 228, 0.98);
    }
    .nav-links a {
        display: block;
        padding: 0.75rem 0.85rem;
        font-size: 0.95rem;
        border-radius: 8px;
    }

    .nav-links.open { display: flex; }
    .nav-toggle { display: flex; padding: 8px; min-width: 40px; min-height: 40px; align-items: center; justify-content: center; }
    .nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
    .nav-toggle.open span:nth-child(2) { opacity: 0; }
    .nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

    .logo-initials { width: 34px; height: 34px; font-size: 0.9rem; }
    .navbar.scrolled .logo-initials { width: 30px; height: 30px; font-size: 0.8rem; }
    .logo-name { font-size: 0.78rem; }
    .navbar.scrolled .logo-name { font-size: 0.72rem; }

    .lang-switch { margin-left: auto; margin-right: 0.4rem; gap: 0.15rem; padding: 2px; }
    .lang-btn { padding: 0.3rem 0.55rem; font-size: 0.7rem; gap: 0.25rem; }
    .lang-btn .lang-flag { font-size: 0.85rem; }

    .theme-toggle { width: 34px; height: 34px; margin-left: 0.25rem; margin-right: 0.4rem; }
    .theme-toggle i { font-size: 0.85rem; }

    /* ── Hero ── */
    .hero-content { padding: 1.5rem 1rem; }
    .hero-label { font-size: 0.72rem; letter-spacing: 0.22em; margin-bottom: 1rem; }
    .hero-name { font-size: clamp(2rem, 9vw, 3rem); line-height: 1.1; margin-bottom: 1.2rem; }
    .hero-divider { margin-bottom: 1.2rem; }
    .hero-title { font-size: 0.95rem; line-height: 1.55; }
    .hero-company { font-size: 0.9rem; }
    .hero-cta { padding: 0.75rem 1.5rem; font-size: 0.82rem; margin-top: 1.8rem; }
    .hero-scroll-indicator { bottom: 1rem; }

    /* ── Sections / typography ── */
    .section { padding: 3.5rem 0; }
    .container { padding: 0 1.1rem; }
    .section-header { margin-bottom: 2.2rem; }
    .section-label { font-size: 0.7rem; letter-spacing: 0.2em; }
    .section-title { font-size: clamp(1.6rem, 5.5vw, 2.2rem); line-height: 1.2; }

    /* ── Grids ── */
    .education-grid { grid-template-columns: 1fr; gap: 1.2rem; }
    .competencies-grid { grid-template-columns: 1fr; gap: 1rem; }
    .events-grid { grid-template-columns: 1fr; gap: 1rem; }
    .pillars-grid { grid-template-columns: 1fr 1fr; gap: 1rem; }
    .areas-grid { grid-template-columns: 1fr 1fr; gap: 0.8rem; }
    .events-photos { grid-template-columns: 1fr 1fr; gap: 0.6rem; }
    .event-photo img { height: 150px; }
    .event-photo-caption { font-size: 0.7rem; padding: 0.4rem 0.6rem; }

    /* ── About ── */
    .hero-photo img { width: 130px; height: 130px; }
    .about-photo-frame { width: 200px; }
    .about-photo-frame img { height: 260px; }
    .about-lead { font-size: 1rem; }
    .about-text p { font-size: 0.92rem; }

    /* ── Cards ── */
    .edu-card, .comp-card, .project-card, .event-card, .pillar-card, .contrib-card { padding: 1.4rem 1.2rem; }
    .edu-card h3, .comp-card h3, .project-card h3, .event-card h3, .pillar-card h3, .contrib-card h3 { font-size: 1.05rem; }
    .edu-card p, .comp-card li, .project-card p, .event-card p, .pillar-card p, .contrib-card p { font-size: 0.87rem; }

    /* ── Timeline ── */
    .timeline-line { left: 18px; }
    .timeline-item,
    .timeline-item:nth-child(odd),
    .timeline-item:nth-child(even) {
        width: 100%;
        margin-left: 0;
        padding-left: 3rem;
        padding-right: 0;
        text-align: left;
    }
    .timeline-dot,
    .timeline-item:nth-child(odd) .timeline-dot,
    .timeline-item:nth-child(even) .timeline-dot {
        left: 10px; right: auto;
    }
    .timeline-content { padding: 1.3rem 1.2rem; }
    .timeline-content h3 { font-size: 1.05rem; }
    .timeline-content ul li { font-size: 0.85rem; }

    /* ── Vision / chairman ── */
    .vision-quote { padding: 1.8rem 1.3rem 1.8rem 1.6rem; }
    .vision-quote p { font-size: 1.02rem; line-height: 1.6; }
    .vision-quote cite { font-size: 0.8rem; }
    .quote-mark { font-size: 3rem; }
    .chairman-quote { padding: 1.5rem 0; }
    .chairman-quote p { font-size: 0.95rem; }

    /* ── Events (upcoming) ── */
    .event-card { padding-top: 2.2rem; }
    .event-badge { font-size: 0.6rem; padding: 3px 8px; top: 10px; right: 10px; letter-spacing: 0.12em; }
    .events-subheader { font-size: 1.15rem; margin: 2rem 0 1rem; }
    .event-link { font-size: 0.75rem; }

    /* ── Press ── */
    .press-grid { grid-template-columns: 1fr; gap: 1rem; }
    .press-card { padding: 1.3rem 1.2rem; }
    .press-card h3 { font-size: 0.98rem; }
    .press-card p { font-size: 0.83rem; }

    /* ── Contact ── */
    .contact-grid { gap: 1rem; flex-direction: column; align-items: stretch; }
    .contact-item { justify-content: center; }

    /* ── Footer ── */
    .footer p { font-size: 0.78rem; text-align: center; }
}

@media (max-width: 480px) {
    /* ── Nav (very small) ── */
    .nav-container { padding: 0 0.75rem; }
    .logo-name { display: none; }
    .nav-logo { gap: 0; }
    .lang-switch { margin-right: 0.3rem; }
    .lang-btn .lang-code { display: none; }
    .lang-btn { padding: 0.35rem 0.4rem; }
    .lang-btn .lang-flag { font-size: 1rem; }
    .theme-toggle { width: 32px; height: 32px; margin-right: 0.3rem; }

    /* ── Hero ── */
    .hero-name { font-size: clamp(1.85rem, 10vw, 2.6rem); }
    .hero-title { font-size: 0.88rem; }
    .hero-company { font-size: 0.82rem; }
    .hero-cta { padding: 0.7rem 1.3rem; font-size: 0.78rem; }
    .hero-photo img { width: 110px; height: 110px; }

    /* ── About ── */
    .about-stats { grid-template-columns: 1fr 1fr; gap: 0.75rem; }
    .stat-card { padding: 1rem 0.85rem; }
    .stat-number { font-size: 1.75rem; }
    .stat-label { font-size: 0.7rem; }

    /* ── Sections ── */
    .section { padding: 3rem 0; }
    .section-title { font-size: clamp(1.4rem, 6vw, 1.9rem); }

    /* ── Grids to single column ── */
    .pillars-grid { grid-template-columns: 1fr; }
    .events-photos { grid-template-columns: 1fr; gap: 0.75rem; }
    .event-photo img { height: 200px; }

    /* ── Timeline compact ── */
    .timeline-item, .timeline-item:nth-child(odd), .timeline-item:nth-child(even) { padding-left: 2.5rem; }
    .timeline-line { left: 14px; }
    .timeline-dot { left: 6px !important; width: 18px !important; height: 18px !important; }
    .timeline-date { font-size: 0.75rem; }
    .timeline-content { padding: 1.1rem 1rem; }

    /* ── Areas ── */
    .area-item { padding: 1rem 0.75rem; gap: 0.6rem; }
    .area-item i { font-size: 1.4rem; }
    .area-item span { font-size: 0.8rem; }
}

/* ── Landscape phones ── */
@media (max-height: 480px) and (orientation: landscape) {
    .hero { min-height: 100vh; padding: 4rem 0 3rem; }
    .hero-name { font-size: clamp(1.6rem, 6vh, 2.4rem); margin-bottom: 0.8rem; }
    .hero-label { margin-bottom: 0.6rem; }
    .hero-divider { margin-bottom: 0.8rem; }
    .hero-cta { margin-top: 1rem; }
    .hero-scroll-indicator { display: none; }
}

/* ═══════════════════════════════════════════════════════════════
   LIGHT THEME OVERRIDES
   ═══════════════════════════════════════════════════════════════ */
html[data-theme="light"] body { background: var(--navy); color: var(--gray-200); }

html[data-theme="light"] .navbar.scrolled {
    background: rgba(245, 239, 228, 0.94);
    border-bottom: 1px solid rgba(139, 117, 50, 0.18);
    box-shadow: 0 2px 20px rgba(60, 45, 15, 0.08);
}
html[data-theme="light"] .logo-name { color: var(--navy-dark); color: #0C1F3B; }
html[data-theme="light"] .nav-links a { color: #2A3140; }

html[data-theme="light"] .hero { background: linear-gradient(135deg, #EFE6D3 0%, #F5EFE4 50%, #FBF6EC 100%); }
html[data-theme="light"] .hero-name,
html[data-theme="light"] .section-title,
html[data-theme="light"] .edu-card h3,
html[data-theme="light"] .edu-skills h3,
html[data-theme="light"] .timeline-content h3,
html[data-theme="light"] .comp-card h3,
html[data-theme="light"] .project-card h3,
html[data-theme="light"] .event-card h3,
html[data-theme="light"] .pillar-card h3,
html[data-theme="light"] .contrib-card h3,
html[data-theme="light"] .sig-name,
html[data-theme="light"] .contact-content h2,
html[data-theme="light"] .area-item span {
    color: #0C1F3B;
}
html[data-theme="light"] .hero-title,
html[data-theme="light"] .about-text p,
html[data-theme="light"] .edu-desc,
html[data-theme="light"] .comp-card li,
html[data-theme="light"] .project-card p,
html[data-theme="light"] .event-card p,
html[data-theme="light"] .pillar-card p,
html[data-theme="light"] .contrib-card p,
html[data-theme="light"] .timeline-content li,
html[data-theme="light"] .footer p {
    color: #384156;
}
html[data-theme="light"] .about-lead strong,
html[data-theme="light"] .about-text strong { color: #0C1F3B; }

html[data-theme="light"] .edu-card,
html[data-theme="light"] .edu-skills,
html[data-theme="light"] .comp-card,
html[data-theme="light"] .project-card,
html[data-theme="light"] .event-card,
html[data-theme="light"] .pillar-card,
html[data-theme="light"] .contrib-card,
html[data-theme="light"] .area-item,
html[data-theme="light"] .stat-card,
html[data-theme="light"] .vision-quote,
html[data-theme="light"] .chairman-quote,
html[data-theme="light"] .timeline-content,
html[data-theme="light"] .skill-tag {
    background: #FBF6EC;
    border-color: rgba(139, 117, 50, 0.22);
    box-shadow: 0 4px 14px rgba(60, 45, 15, 0.06);
}
html[data-theme="light"] .section-dark { background: #EFE6D3; }
html[data-theme="light"] .footer { background: #E8DFCF; border-top: 1px solid rgba(139, 117, 50, 0.2); }

html[data-theme="light"] .skill-tag { color: #384156; }
html[data-theme="light"] .stat-label,
html[data-theme="light"] .timeline-role,
html[data-theme="light"] .edu-school,
html[data-theme="light"] .event-role,
html[data-theme="light"] .chairman-quote p,
html[data-theme="light"] .vision-quote p,
html[data-theme="light"] .vision-quote cite,
html[data-theme="light"] .sig-title,
html[data-theme="light"] .sig-company,
html[data-theme="light"] .contact-item p { color: #384156; }
html[data-theme="light"] .section-label,
html[data-theme="light"] .hero-label { color: #7A6427; }
html[data-theme="light"] .stat-number,
html[data-theme="light"] .pillar-year,
html[data-theme="light"] .event-year,
html[data-theme="light"] .timeline-date,
html[data-theme="light"] .project-metric { color: #7A6427; }
html[data-theme="light"] .gold { color: #7A6427; }

html[data-theme="light"] .hero-cta { color: #7A6427; border-color: rgba(139, 117, 50, 0.55); }
html[data-theme="light"] .hero-cta:hover { background: rgba(139, 117, 50, 0.12); }
html[data-theme="light"] .contact-initials { color: #0C1F3B; }
html[data-theme="light"] .lang-switch { background: rgba(139, 117, 50, 0.12); }
html[data-theme="light"] .lang-btn { color: #384156; }
html[data-theme="light"] .lang-btn.active { color: #FFFFFF; background: #7A6427; }
html[data-theme="light"] .nav-toggle span { background: #0C1F3B; }
html[data-theme="light"] .theme-toggle { color: #7A6427; }

/* ═══════════════════════════════════════════════════════════════
   CHAT WIDGET
   ═══════════════════════════════════════════════════════════════ */
.chat-widget {
    position: fixed;
    right: 1.5rem;
    bottom: 1.5rem;
    z-index: 1500;
    font-family: 'Inter', sans-serif;
}

.chat-toggle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold-bright), var(--gold));
    border: none;
    color: var(--navy-dark);
    font-size: 1.4rem;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(139, 117, 50, 0.4);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    position: relative;
    overflow: hidden;
}

.chat-toggle:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(139, 117, 50, 0.55); }

.chat-toggle i {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, opacity 0.2s ease;
}
.chat-toggle .chat-icon-close { opacity: 0; transform: rotate(-90deg); }
.chat-widget.open .chat-toggle .chat-icon-open { opacity: 0; transform: rotate(90deg); }
.chat-widget.open .chat-toggle .chat-icon-close { opacity: 1; transform: rotate(0); }

.chat-panel {
    position: absolute;
    right: 0;
    bottom: 76px;
    width: 360px;
    max-width: calc(100vw - 3rem);
    height: 520px;
    max-height: calc(100vh - 120px);
    background: var(--navy-light);
    border: 1px solid rgba(139, 117, 50, 0.28);
    border-radius: 18px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    opacity: 0;
    transform: translateY(20px) scale(0.96);
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
}
.chat-widget.open .chat-panel { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }

html[data-theme="light"] .chat-panel {
    background: #FFFFFF;
    border-color: rgba(139, 117, 50, 0.35);
    box-shadow: 0 20px 60px rgba(60, 45, 15, 0.18);
}

.chat-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.9rem 1rem;
    background: linear-gradient(135deg, rgba(139, 117, 50, 0.22), rgba(139, 117, 50, 0.08));
    border-bottom: 1px solid rgba(139, 117, 50, 0.25);
    position: relative;
}
.chat-header-avatar {
    width: 38px; height: 38px;
    border-radius: 50%;
    background: var(--gold-bright);
    color: var(--navy-dark);
    display: flex; align-items: center; justify-content: center;
    font-family: 'Playfair Display', serif;
    font-weight: 700; font-size: 0.9rem;
    letter-spacing: 0.03em;
}
.chat-header-info { flex: 1; }
.chat-header-title {
    color: var(--white);
    font-weight: 600;
    font-size: 0.95rem;
    line-height: 1.2;
    margin: 0;
}
.chat-header-sub {
    color: var(--gray-200);
    font-size: 0.72rem;
    margin: 2px 0 0;
    letter-spacing: 0.02em;
}
html[data-theme="light"] .chat-header-title { color: #0C1F3B; }
html[data-theme="light"] .chat-header-sub { color: #545F76; }
.chat-status {
    width: 8px; height: 8px; border-radius: 50%;
    background: #4CD964;
    box-shadow: 0 0 0 3px rgba(76, 217, 100, 0.25);
}

.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    scrollbar-width: thin;
    scrollbar-color: rgba(139, 117, 50, 0.35) transparent;
}
.chat-messages::-webkit-scrollbar { width: 6px; }
.chat-messages::-webkit-scrollbar-thumb { background: rgba(139, 117, 50, 0.35); border-radius: 4px; }

.chat-msg {
    max-width: 82%;
    padding: 0.6rem 0.85rem;
    border-radius: 14px;
    font-size: 0.85rem;
    line-height: 1.5;
    animation: chatFadeIn 0.25s ease-out;
}
.chat-msg.bot {
    background: rgba(139, 117, 50, 0.12);
    border: 1px solid rgba(139, 117, 50, 0.2);
    color: var(--gray-200);
    align-self: flex-start;
    border-bottom-left-radius: 4px;
}
.chat-msg.user {
    background: linear-gradient(135deg, var(--gold-bright), var(--gold));
    color: var(--navy-dark);
    align-self: flex-end;
    border-bottom-right-radius: 4px;
    font-weight: 500;
}
html[data-theme="light"] .chat-msg.bot { background: #F5EFE4; color: #2A3140; border-color: rgba(139, 117, 50, 0.28); }
.chat-msg strong { color: var(--white); }
html[data-theme="light"] .chat-msg strong { color: #0C1F3B; }
.chat-msg a { color: var(--gold-bright); }

.chat-typing {
    align-self: flex-start;
    background: rgba(139, 117, 50, 0.12);
    border: 1px solid rgba(139, 117, 50, 0.2);
    padding: 0.6rem 0.85rem;
    border-radius: 14px;
    border-bottom-left-radius: 4px;
    display: inline-flex;
    gap: 4px;
}
.chat-typing span {
    width: 6px; height: 6px; border-radius: 50%;
    background: var(--gold-bright);
    animation: chatTyping 1.2s infinite ease-in-out;
}
.chat-typing span:nth-child(2) { animation-delay: 0.15s; }
.chat-typing span:nth-child(3) { animation-delay: 0.3s; }

@keyframes chatTyping {
    0%, 60%, 100% { opacity: 0.3; transform: translateY(0); }
    30% { opacity: 1; transform: translateY(-3px); }
}
@keyframes chatFadeIn {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

.chat-suggestions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    padding: 0 1rem 0.5rem;
}
.chat-chip {
    background: transparent;
    border: 1px solid rgba(139, 117, 50, 0.3);
    color: var(--gold-bright);
    font-size: 0.7rem;
    padding: 0.3rem 0.65rem;
    border-radius: 999px;
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
}
.chat-chip:hover { background: rgba(139, 117, 50, 0.15); }

.chat-input-row {
    display: flex;
    gap: 0.4rem;
    padding: 0.75rem;
    border-top: 1px solid rgba(139, 117, 50, 0.2);
    background: rgba(0, 0, 0, 0.15);
}
html[data-theme="light"] .chat-input-row { background: rgba(139, 117, 50, 0.06); }
.chat-input {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(139, 117, 50, 0.25);
    border-radius: 999px;
    padding: 0.55rem 0.9rem;
    color: var(--white);
    font-family: inherit;
    font-size: 0.85rem;
    outline: none;
    transition: border-color 0.2s ease;
}
.chat-input::placeholder { color: rgba(200, 192, 180, 0.6); }
.chat-input:focus { border-color: var(--gold-bright); }
html[data-theme="light"] .chat-input {
    background: #F5EFE4;
    color: #0C1F3B;
    border-color: rgba(139, 117, 50, 0.35);
}
html[data-theme="light"] .chat-input::placeholder { color: rgba(84, 95, 118, 0.7); }

.chat-send {
    width: 40px; height: 40px;
    flex-shrink: 0;
    border-radius: 50%;
    border: none;
    background: var(--gold-bright);
    color: var(--navy-dark);
    cursor: pointer;
    transition: transform 0.2s ease;
}
.chat-send:hover { transform: scale(1.05); }

@media (max-width: 768px) {
    .chat-widget {
        right: calc(0.9rem + env(safe-area-inset-right, 0px));
        bottom: calc(0.9rem + env(safe-area-inset-bottom, 0px));
    }
    .chat-toggle {
        width: 50px; height: 50px; font-size: 1.15rem;
        box-shadow: 0 8px 22px rgba(139, 117, 50, 0.4);
    }
    .chat-panel {
        width: calc(100vw - 1.4rem);
        max-width: 340px;
        height: min(560px, calc(100vh - 100px));
        max-height: calc(100vh - 100px);
        bottom: 62px;
        right: -0.2rem;
        border-radius: 16px;
    }
    .chat-header { padding: 0.75rem 0.85rem; gap: 0.6rem; }
    .chat-header-avatar { width: 34px; height: 34px; font-size: 0.82rem; }
    .chat-header-title { font-size: 0.88rem; }
    .chat-header-sub { font-size: 0.68rem; }
    .chat-messages { padding: 0.75rem; gap: 0.5rem; }
    .chat-msg { font-size: 0.82rem; padding: 0.55rem 0.75rem; max-width: 88%; border-radius: 12px; }
    .chat-suggestions { padding: 0 0.75rem 0.4rem; gap: 0.3rem; }
    .chat-chip { font-size: 0.66rem; padding: 0.28rem 0.55rem; }
    .chat-input-row { padding: 0.55rem 0.6rem; gap: 0.3rem; }
    .chat-input { padding: 0.5rem 0.75rem; font-size: 0.82rem; }
    .chat-send { width: 36px; height: 36px; }
}

@media (max-width: 380px) {
    .chat-toggle { width: 46px; height: 46px; font-size: 1.05rem; }
    .chat-panel {
        width: calc(100vw - 1rem);
        right: -0.4rem;
        height: min(500px, calc(100vh - 90px));
        bottom: 58px;
    }
    .chat-header-info .chat-header-sub { display: none; }
    .chat-suggestions { display: none; }
}

/* ═══════════════ EVENTS extras (subheaders + upcoming badge) ═══════════════ */
.events-subheader {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    color: var(--gold-bright);
    text-align: center;
    margin: 3rem 0 1.5rem;
    letter-spacing: 0.03em;
    font-weight: 500;
}
html[data-theme="light"] .events-subheader { color: #7A6427; }

.event-card { position: relative; }
.event-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: linear-gradient(135deg, var(--gold-bright), var(--copper));
    color: var(--navy-dark);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    padding: 4px 10px;
    border-radius: 999px;
    text-transform: uppercase;
}
.event-upcoming {
    border-color: rgba(200, 155, 60, 0.45) !important;
    box-shadow: 0 6px 24px rgba(200, 155, 60, 0.12);
}
.event-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 0.8rem;
    color: var(--gold-bright);
    font-size: 0.78rem;
    font-weight: 500;
    text-decoration: none;
    letter-spacing: 0.03em;
}
.event-link:hover { color: var(--gold-light); text-decoration: underline; }
.event-link i { font-size: 0.7rem; }
html[data-theme="light"] .event-link { color: #7A6427; }

/* ═══════════════ MEDIA / PRESS section ═══════════════ */
.press-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}
.press-card {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    padding: 1.6rem 1.4rem;
    background: var(--navy-light);
    border: 1px solid rgba(139, 117, 50, 0.18);
    border-radius: 12px;
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}
.press-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 3px; height: 100%;
    background: linear-gradient(180deg, var(--gold-bright), var(--copper));
    opacity: 0.6;
    transition: opacity 0.25s ease;
}
.press-card:hover {
    transform: translateY(-4px);
    border-color: rgba(200, 155, 60, 0.5);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}
.press-card:hover::before { opacity: 1; }
.press-source {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gold-bright);
}
.press-card h3 {
    font-family: 'Inter', sans-serif;
    font-size: 1.05rem;
    color: var(--white);
    line-height: 1.35;
    margin: 0;
}
.press-card p {
    font-size: 0.87rem;
    color: var(--gray-200);
    line-height: 1.55;
    margin: 0;
}
.press-date {
    margin-top: auto;
    padding-top: 0.4rem;
    font-size: 0.72rem;
    color: var(--gray-300);
    letter-spacing: 0.08em;
}
html[data-theme="light"] .press-card {
    background: #FBF6EC;
    border-color: rgba(139, 117, 50, 0.28);
    box-shadow: 0 4px 14px rgba(60, 45, 15, 0.06);
}
html[data-theme="light"] .press-card h3 { color: #0C1F3B; }
html[data-theme="light"] .press-card p { color: #384156; }
html[data-theme="light"] .press-source { color: #7A6427; }
html[data-theme="light"] .press-date { color: #6B7386; }
