/* ============================================================
   AiA Conference — Modern Design System
   ============================================================ */
:root {
    --primary: #2d6a1e;
    --secondary: #8bc34a;
    --accent: #f9a825;
    --dark: #1b3b12;
    --light: #f1f8e9;

    --primary-rgb: 45, 106, 30;
    --secondary-rgb: 139, 195, 74;
    --accent-rgb: 249, 168, 37;

    --bg: #fbfdf8;
    --surface: #ffffff;
    --text: #1a2417;
    --text-muted: #5b6b56;
    --border: #e4ebe0;

    --radius-sm: 10px;
    --radius: 18px;
    --radius-lg: 28px;

    --shadow-sm: 0 2px 8px rgba(27, 59, 18, 0.06);
    --shadow: 0 10px 30px -8px rgba(27, 59, 18, 0.18);
    --shadow-lg: 0 30px 60px -20px rgba(27, 59, 18, 0.30);

    --font: 'Plus Jakarta Sans', 'Poppins', system-ui, -apple-system, sans-serif;
    --font-display: 'Fraunces', 'Plus Jakarta Sans', Georgia, serif;
    --font-ar: 'Cairo', sans-serif;

    --ease: cubic-bezier(0.22, 1, 0.36, 1);
    --max: 1240px;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    font-family: var(--font);
    color: var(--text);
    background: var(--bg);
    line-height: 1.65;
    font-size: 16px;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

body.rtl { font-family: var(--font-ar); }
body.rtl .nav-menu { flex-direction: row-reverse; }

img { max-width: 100%; display: block; }
a { color: var(--primary); text-decoration: none; transition: color .2s; }
a:hover { color: var(--dark); }

h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--text);
}
h1 { font-size: clamp(2.4rem, 5vw, 4.2rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: 1.35rem; }

.container {
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 24px;
}
.container.narrow { max-width: 720px; }

.section { padding: clamp(60px, 8vw, 120px) 0; }
.section--tight { padding: 48px 0; }

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--primary);
    background: rgba(var(--primary-rgb), 0.08);
    padding: 8px 16px;
    border-radius: 100px;
    margin-bottom: 20px;
}
.eyebrow::before {
    content: '';
    width: 6px; height: 6px;
    background: var(--secondary);
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(var(--secondary-rgb), 0.25);
}

.section-head { max-width: 700px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-top: 16px;
}

/* ---------------- Buttons ---------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 100px;
    font-family: var(--font);
    font-weight: 700;
    font-size: 0.95rem;
    border: 0;
    cursor: pointer;
    transition: all .3s var(--ease);
    white-space: nowrap;
    text-decoration: none;
    letter-spacing: -0.01em;
}
.btn svg { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.btn:hover svg { transform: translateX(4px); }

.btn-primary {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 12px 24px -8px rgba(var(--primary-rgb), 0.5);
}
.btn-primary:hover {
    background: var(--dark);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 16px 32px -8px rgba(var(--primary-rgb), 0.6);
}

.btn-accent {
    background: var(--accent);
    color: var(--dark);
    box-shadow: 0 12px 24px -8px rgba(var(--accent-rgb), 0.55);
}
.btn-accent:hover {
    background: #f5a000;
    color: var(--dark);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: #fff;
    border: 1.5px solid rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(8px);
}
.btn-outline:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    border-color: #fff;
}

.btn-ghost {
    background: var(--surface);
    color: var(--text);
    border: 1.5px solid var(--border);
}
.btn-ghost:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.btn-lg { padding: 18px 36px; font-size: 1.05rem; }
.btn-sm { padding: 9px 18px; font-size: 0.82rem; }

/* ---------------- Header ---------------- */
.site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: all .4s var(--ease);
}
.site-header.scrolled {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    box-shadow: 0 4px 24px -8px rgba(27, 59, 18, 0.12);
    padding: 10px 0;
}
.site-header.scrolled .brand-name,
.site-header.scrolled .nav-menu a { color: var(--text); }
.site-header.scrolled .nav-menu a:hover { color: var(--primary); }

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
    color: #fff;
    font-size: 1.15rem;
    transition: color .3s;
}
.brand .logo { height: 44px; width: auto; border-radius: 10px; }
.brand .logo-text {
    width: 44px; height: 44px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    border-radius: 12px;
    font-weight: 800;
    font-size: 1rem;
    box-shadow: 0 8px 20px -6px rgba(var(--primary-rgb), 0.5);
}
.brand-name {
    font-family: var(--font-display);
    font-size: 1.2rem;
    color: #fff;
    transition: color .3s;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
}
.nav-menu > li > a {
    display: block;
    padding: 10px 14px;
    font-size: 0.92rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    border-radius: 100px;
    transition: all .25s var(--ease);
}
.nav-menu > li > a:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.12);
}
.nav-menu > li > a.btn {
    color: var(--dark) !important;
    background: var(--accent) !important;
    padding: 12px 22px;
}
.nav-menu > li > a.btn:hover { background: #f5a000 !important; }

.lang-switch {
    position: relative;
}
.lang-switch select {
    appearance: none;
    background: rgba(255, 255, 255, 0.14);
    border: 1.5px solid rgba(255, 255, 255, 0.25);
    color: #fff;
    padding: 9px 32px 9px 14px;
    border-radius: 100px;
    font-family: var(--font);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all .25s;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 12px;
}
.site-header.scrolled .lang-switch select {
    background-color: var(--light);
    border-color: var(--border);
    color: var(--text);
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%232d6a1e' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
}
.lang-switch select option { color: var(--text); background: #fff; }

.nav-toggle {
    display: none;
    width: 44px; height: 44px;
    background: rgba(255, 255, 255, 0.14);
    border: 1.5px solid rgba(255, 255, 255, 0.25);
    color: #fff;
    border-radius: 12px;
    cursor: pointer;
    font-size: 1.4rem;
    align-items: center;
    justify-content: center;
}
.site-header.scrolled .nav-toggle {
    background: var(--light);
    border-color: var(--border);
    color: var(--text);
}

/* ---------------- Hero ---------------- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 160px 0 100px;
    overflow: hidden;
    isolation: isolate;
    background: var(--dark);
}

/* Layered background: gradient + radial glows + dot grid */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 20% 30%, rgba(var(--secondary-rgb), 0.35), transparent 60%),
        radial-gradient(ellipse 60% 50% at 85% 70%, rgba(var(--accent-rgb), 0.28), transparent 60%),
        radial-gradient(ellipse 90% 70% at 50% 100%, rgba(var(--primary-rgb), 0.9), transparent 70%),
        linear-gradient(135deg, #12280b 0%, #1b3b12 45%, #245018 100%);
    z-index: -3;
}
.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 1px 1px, rgba(255,255,255,0.09) 1px, transparent 0);
    background-size: 32px 32px;
    z-index: -2;
    mask-image: radial-gradient(ellipse 90% 80% at 50% 40%, black 40%, transparent 90%);
    -webkit-mask-image: radial-gradient(ellipse 90% 80% at 50% 40%, black 40%, transparent 90%);
}

/* Decorative floating plant/leaf SVGs */
.hero-decoration {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}
.hero-decoration .blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.55;
    animation: float 18s ease-in-out infinite;
}
.hero-decoration .blob-1 {
    width: 500px; height: 500px;
    background: rgba(var(--secondary-rgb), 0.5);
    top: -120px; left: -120px;
}
.hero-decoration .blob-2 {
    width: 420px; height: 420px;
    background: rgba(var(--accent-rgb), 0.35);
    bottom: -140px; right: -80px;
    animation-delay: -6s;
}
.hero-decoration .blob-3 {
    width: 300px; height: 300px;
    background: rgba(var(--primary-rgb), 0.6);
    top: 40%; right: 20%;
    animation-delay: -12s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33%      { transform: translate(40px, -30px) scale(1.08); }
    66%      { transform: translate(-30px, 30px) scale(0.95); }
}

/* Wheat / leaf contour illustration */
.hero-contour {
    position: absolute;
    top: 0; right: 0;
    width: 55%;
    max-width: 900px;
    height: 100%;
    opacity: 0.18;
    pointer-events: none;
    z-index: -1;
}
.hero-contour svg { width: 100%; height: 100%; }

.hero-inner {
    position: relative;
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 60px;
    align-items: center;
    width: 100%;
}

.hero-content { max-width: 640px; }

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 18px 8px 8px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 100px;
    color: #fff;
    font-size: 0.85rem;
    font-weight: 600;
    backdrop-filter: blur(8px);
    margin-bottom: 28px;
}
.hero-badge .dot {
    width: 26px; height: 26px;
    border-radius: 50%;
    background: var(--accent);
    color: var(--dark);
    display: grid;
    place-items: center;
    font-size: 0.75rem;
    font-weight: 800;
}
.hero-badge .pulse {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--secondary);
    box-shadow: 0 0 0 0 rgba(var(--secondary-rgb), 0.8);
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0%   { box-shadow: 0 0 0 0 rgba(var(--secondary-rgb), 0.7); }
    70%  { box-shadow: 0 0 0 12px rgba(var(--secondary-rgb), 0); }
    100% { box-shadow: 0 0 0 0 rgba(var(--secondary-rgb), 0); }
}

.hero h1 {
    color: #fff;
    margin-bottom: 24px;
    line-height: 1.05;
    letter-spacing: -0.03em;
}
.hero h1 .highlight {
    position: relative;
    display: inline-block;
    color: var(--secondary);
    font-style: italic;
}
.hero h1 .highlight::after {
    content: '';
    position: absolute;
    left: 0; right: 0;
    bottom: 0.08em;
    height: 0.18em;
    background: rgba(var(--accent-rgb), 0.35);
    border-radius: 4px;
    z-index: -1;
}

.hero-lead {
    font-size: 1.18rem;
    color: rgba(255, 255, 255, 0.82);
    margin-bottom: 40px;
    max-width: 540px;
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 48px;
}

.hero-meta {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
}
.hero-meta-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255, 255, 255, 0.85);
}
.hero-meta-item .icon {
    width: 44px; height: 44px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.1);
    display: grid;
    place-items: center;
    flex-shrink: 0;
    color: var(--secondary);
}
.hero-meta-item .icon svg { width: 20px; height: 20px; }
.hero-meta-item small {
    display: block;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0.7;
    margin-bottom: 2px;
}
.hero-meta-item strong {
    font-size: 0.95rem;
    font-weight: 700;
    color: #fff;
}

/* Hero visual card */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-card {
    position: relative;
    width: 100%;
    max-width: 420px;
    aspect-ratio: 3/4;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255, 255, 255, 0.15);
    animation: heroCardFloat 8s ease-in-out infinite;
}
@keyframes heroCardFloat {
    0%, 100% { transform: translateY(0) rotate(-1deg); }
    50%      { transform: translateY(-18px) rotate(1deg); }
}
.hero-card img {
    width: 100%; height: 100%;
    object-fit: cover;
}
.hero-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(27,59,18,0.85) 0%, transparent 55%);
}
.hero-card-info {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    padding: 28px;
    z-index: 2;
    color: #fff;
}
.hero-card-info .tag {
    display: inline-block;
    padding: 5px 12px;
    background: var(--accent);
    color: var(--dark);
    border-radius: 100px;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 10px;
}
.hero-card-info h3 {
    color: #fff;
    font-size: 1.4rem;
    line-height: 1.2;
    margin-bottom: 6px;
}
.hero-card-info p {
    font-size: 0.85rem;
    opacity: 0.85;
}

/* Floating stat card */
.hero-float-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border-radius: var(--radius);
    padding: 18px 22px;
    box-shadow: var(--shadow-lg);
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 14px;
}
.hero-float-card.fc-1 {
    top: 8%;
    left: -8%;
    animation: floatY 6s ease-in-out infinite;
}
.hero-float-card.fc-2 {
    bottom: 12%;
    right: -6%;
    animation: floatY 6s ease-in-out infinite;
    animation-delay: -3s;
}
@keyframes floatY {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-12px); }
}
.hero-float-card .fc-icon {
    width: 48px; height: 48px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    flex-shrink: 0;
}
.hero-float-card .fc-icon svg { width: 22px; height: 22px; }
.hero-float-card .fc-num {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--dark);
    line-height: 1;
    font-family: var(--font-display);
}
.hero-float-card .fc-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 4px;
}

/* Scroll hint */
.hero-scroll {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255,255,255,0.6);
    font-size: 0.75rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 8px;
    animation: bounce 2.4s ease-in-out infinite;
}
@keyframes bounce {
    0%, 100% { transform: translate(-50%, 0); }
    50%      { transform: translate(-50%, 8px); }
}

/* ---------------- Stats Bar (floating) ---------------- */
.stats-bar {
    margin-top: -60px;
    position: relative;
    z-index: 10;
}
.stats-inner {
    background: var(--surface);
    border-radius: var(--radius-lg);
    padding: 36px 40px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
}
.stat {
    text-align: center;
    position: relative;
}
.stat:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -12px; top: 20%; bottom: 20%;
    width: 1px;
    background: var(--border);
}
.stat-num {
    font-family: var(--font-display);
    font-size: 2.6rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
    display: block;
    margin-bottom: 6px;
}
.stat-num span { color: var(--accent); }
.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* ---------------- Card grid ---------------- */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 28px;
}

/* Speaker card */
.speaker-card {
    background: var(--surface);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    transition: all .4s var(--ease);
    position: relative;
}
.speaker-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}
.speaker-card .photo-wrap {
    position: relative;
    aspect-ratio: 1 / 1.05;
    overflow: hidden;
    background: var(--light);
}
.speaker-card img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .6s var(--ease);
}
.speaker-card:hover img { transform: scale(1.06); }
.speaker-card .photo-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(27,59,18,0.65), transparent 45%);
    opacity: 0;
    transition: opacity .4s;
}
.speaker-card:hover .photo-wrap::after { opacity: 1; }
.speaker-card .speaker-body {
    padding: 22px;
}
.speaker-card .speaker-country {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    background: rgba(var(--primary-rgb), 0.08);
    padding: 4px 10px;
    border-radius: 100px;
    margin-bottom: 12px;
}
.speaker-card h3 {
    font-size: 1.2rem;
    margin-bottom: 6px;
    color: var(--dark);
}
.speaker-card .speaker-org {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 12px;
}
.speaker-card .speaker-topic {
    font-size: 0.92rem;
    color: var(--text);
    padding-top: 14px;
    border-top: 1px solid var(--border);
    line-height: 1.5;
}

/* Generic content card */
.content-card {
    background: var(--surface);
    border-radius: var(--radius);
    padding: 32px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    transition: all .3s var(--ease);
}
.content-card:hover {
    box-shadow: var(--shadow);
    transform: translateY(-4px);
}

/* ---------------- CTA Band ---------------- */
.cta-section {
    position: relative;
    padding: 100px 0;
    overflow: hidden;
    background: linear-gradient(135deg, var(--dark), var(--primary));
    border-radius: var(--radius-lg);
    margin: 60px auto;
    max-width: var(--max);
    isolation: isolate;
}
.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 15% 20%, rgba(var(--secondary-rgb), 0.4), transparent 50%),
        radial-gradient(circle at 85% 80%, rgba(var(--accent-rgb), 0.3), transparent 50%);
    z-index: -1;
}
.cta-section::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.08) 1px, transparent 0);
    background-size: 28px 28px;
    z-index: -1;
}
.cta-inner {
    text-align: center;
    max-width: 720px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
}
.cta-inner h2 { color: #fff; margin-bottom: 16px; }
.cta-inner p {
    color: rgba(255,255,255,0.82);
    font-size: 1.15rem;
    margin-bottom: 32px;
}
.cta-actions {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ---------------- Section: Highlights (3 features) ---------------- */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 28px;
}
.feature {
    background: var(--surface);
    border-radius: var(--radius);
    padding: 40px 32px;
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
    transition: all .4s var(--ease);
}
.feature:hover {
    border-color: rgba(var(--primary-rgb), 0.3);
    box-shadow: var(--shadow);
    transform: translateY(-6px);
}
.feature-icon {
    width: 64px; height: 64px;
    border-radius: 18px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.12), rgba(var(--secondary-rgb), 0.18));
    color: var(--primary);
    margin-bottom: 24px;
    position: relative;
}
.feature-icon svg { width: 30px; height: 30px; }
.feature h3 { margin-bottom: 12px; }
.feature p { color: var(--text-muted); font-size: 0.98rem; }

/* ---------------- Schedule table ---------------- */
.schedule-table {
    width: 100%;
    background: var(--surface);
    border-collapse: separate;
    border-spacing: 0;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}
.schedule-table th,
.schedule-table td {
    padding: 16px 20px;
    text-align: left;
    border-bottom: 1px solid var(--border);
    font-size: 0.94rem;
    vertical-align: middle;
}
.schedule-table th {
    background: var(--light);
    font-weight: 700;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--primary);
}
.schedule-table tr:last-child td { border-bottom: 0; }
.schedule-table tbody tr:hover { background: rgba(var(--primary-rgb), 0.02); }
.day-row td {
    background: linear-gradient(90deg, var(--primary), var(--dark));
    color: #fff;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 12px 20px;
}
.tag {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 100px;
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    margin-right: 10px;
    letter-spacing: 0.04em;
}

/* ---------------- Forms ---------------- */
.form-card {
    background: var(--surface);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    margin: 24px 0;
}
.form-card label {
    display: block;
    margin-bottom: 20px;
    font-weight: 600;
    font-size: 0.88rem;
    color: var(--text);
}
.form-card input,
.form-card select,
.form-card textarea,
.admin-form input,
.admin-form select,
.admin-form textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    margin-top: 8px;
    font-family: var(--font);
    font-size: 0.98rem;
    background: var(--bg);
    color: var(--text);
    transition: all .25s;
}
.form-card input:focus,
.form-card select:focus,
.form-card textarea:focus,
.admin-form input:focus {
    outline: none;
    border-color: var(--primary);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(var(--primary-rgb), 0.1);
}

/* Alerts */
.alert {
    padding: 16px 20px;
    border-radius: var(--radius-sm);
    margin: 16px 0;
    font-size: 0.94rem;
    font-weight: 500;
}
.alert.error { background: #fef2f2; color: #991b1b; border-left: 4px solid #dc2626; }
.alert.success { background: #f0fdf4; color: #166534; border-left: 4px solid #22c55e; }
.alert.info { background: #eff6ff; color: #1e40af; border-left: 4px solid #3b82f6; }

/* ---------------- Footer ---------------- */
.site-footer {
    background: var(--dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 80px 0 30px;
    margin-top: 100px;
    position: relative;
    overflow: hidden;
}
.site-footer::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--secondary), transparent);
    opacity: 0.5;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 24px;
}
.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #fff;
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 16px;
}
.site-footer h4 {
    color: #fff;
    font-family: var(--font);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 20px;
    font-weight: 700;
}
.site-footer ul { list-style: none; }
.site-footer ul li { margin-bottom: 12px; }
.site-footer a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.92rem;
    transition: color .2s;
}
.site-footer a:hover { color: var(--secondary); }
.footer-bottom {
    max-width: var(--max);
    margin: 48px auto 0;
    padding: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 0.85rem;
}

/* ---------------- Responsive ---------------- */
@media (max-width: 1024px) {
    .hero-inner { grid-template-columns: 1fr; gap: 48px; }
    .hero-visual { order: -1; max-width: 360px; margin: 0 auto; }
    .hero-float-card.fc-1 { left: -4%; }
    .hero-float-card.fc-2 { right: -2%; }
    .stats-inner { grid-template-columns: repeat(2, 1fr); padding: 28px; }
    .stat:nth-child(2)::after { display: none; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
    .nav-toggle { display: flex; }
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%; left: 16px; right: 16px;
        background: #fff;
        flex-direction: column;
        align-items: stretch;
        padding: 16px;
        border-radius: var(--radius);
        box-shadow: var(--shadow-lg);
        gap: 4px;
        margin-top: 8px;
    }
    .nav-menu.open { display: flex; }
    .nav-menu > li > a {
        color: var(--text) !important;
        padding: 14px 16px;
    }
    .nav-menu > li > a:hover { background: var(--light); }
    .lang-switch { width: 100%; }
    .lang-switch select {
        width: 100%;
        background-color: var(--light);
        border-color: var(--border);
        color: var(--text);
    }
    .hero { padding: 120px 0 80px; min-height: auto; }
    .hero-meta { gap: 20px; }
    .hero-float-card { display: none; }
    .stats-bar { margin-top: -30px; }
    .stats-inner { grid-template-columns: 1fr 1fr; gap: 20px; }
    .stat-num { font-size: 2rem; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .cta-section { border-radius: 0; margin: 0; }
    .form-card { padding: 28px 20px; }
}

@media (max-width: 560px) {
    h1 { font-size: 2.2rem; }
    .hero-actions { flex-direction: column; align-items: stretch; }
    .hero-actions .btn { width: 100%; justify-content: center; }
    .hero-meta { flex-direction: column; gap: 14px; padding-top: 24px; }
    .schedule-table th, .schedule-table td { padding: 12px 10px; font-size: 0.82rem; }
    .stats-inner { grid-template-columns: 1fr; }
    .stat:not(:last-child)::after { display: none; }
    .card-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   ICON SIZE LOCKS — prevents SVG stretching / distortion
   ============================================================ */

/* Global safety: any inline SVG inside the page should never
   be allowed to scale to fill its parent unless we explicitly
   want it to (e.g. .hero-contour svg, .hero-card img). */
svg { display: block; }

/* Every icon-sized SVG */
.btn svg,
.hero-badge svg,
.hero-meta-item .icon svg,
.hero-float-card .fc-icon svg,
.feature-icon svg,
.section-head svg,
.nav-menu svg,
.lang-switch svg,
.tag svg,
.speaker-card svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    display: inline-block;
    vertical-align: middle;
}

/* Explicit sizes per context (override the 20px default above) */
.btn svg               { width: 18px; height: 18px; }
.btn-lg svg            { width: 20px; height: 20px; }
.hero-meta-item .icon svg  { width: 20px; height: 20px; }
.hero-float-card .fc-icon svg { width: 22px; height: 22px; }
.feature-icon svg      { width: 30px; height: 30px; }
.hero-scroll svg       { width: 14px; height: 14px; }

/* Icon wrappers must not stretch their SVG child */
.hero-meta-item .icon,
.hero-float-card .fc-icon,
.feature-icon {
    display: grid;
    place-items: center;
    overflow: hidden;
    flex-shrink: 0;
}
.hero-meta-item .icon svg,
.hero-float-card .fc-icon svg,
.feature-icon svg {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    aspect-ratio: 1 / 1;
}

/* ============================================================
   Make sure the hero-contour / hero-card backgrounds still
   fill their containers — they intentionally use 100%
   ============================================================ */
.hero-contour svg {
    width: 100% !important;
    height: 100% !important;
    max-width: none;
    max-height: none;
    display: block;
}
.hero-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}