/* ════════════════════════════════════════════
   assets/css/style.css  —  v2.0.0
   21 May 1864 — Sinematik Landing Page
════════════════════════════════════════════ */

/* ── Variables ──────────────────────────── */
:root {
    --black:        #000000;
    --deep:         #080808;
    --surface:      #111111;
    --surface2:     #1a1a1a;
    --border:       #222222;
    --muted:        #555555;
    --text:         #e8e8e8;
    --text-dim:     #888888;
    --red:          #c00000;
    --red-glow:     rgba(192, 0, 0, 0.35);
    --red-hover:    #a00000;
    --font-sans:    'Inter', sans-serif;
    --font-serif:   'Playfair Display', serif;
    --nav-h:        70px;
    --ease:         cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

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

body {
    background: var(--black);
    color: var(--text);
    font-family: var(--font-sans);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

[dir="rtl"] { text-align: right; }

a { color: inherit; text-decoration: none; transition: color .3s; }
a:hover { color: var(--red); }
ul { list-style: none; }
img, canvas { display: block; max-width: 100%; }

/* ── Typography helpers ─────────────────── */
.section-label {
    display: inline-block;
    font-size: .7rem;
    font-weight: 600;
    letter-spacing: .25em;
    text-transform: uppercase;
    color: var(--red);
    margin-bottom: 1rem;
}
.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}
.section-header h2 {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: .75rem;
}
.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-dim);
    max-width: 540px;
    margin: 0 auto;
}
.empty-msg { color: var(--muted); text-align: center; width: 100%; padding: 2rem 0; }

/* ── Scroll-reveal ──────────────────────── */
.reveal { opacity: 1; transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.visible { opacity: 1; transform: none; }

.fade-in { animation: fadeInUp .9s var(--ease) both; }
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(40px); }
    to   { opacity: 1; transform: none; }
}

/* ════════════════════════════════════════
   NAVBAR
════════════════════════════════════════ */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 999;
    height: var(--nav-h);
    transition: background .4s, backdrop-filter .4s, box-shadow .4s;
}
.navbar.scrolled {
    background: rgba(0,0,0,.88);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow: 0 1px 0 var(--border);
}
.nav-inner {
    height: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 4%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}
.nav-logo {
    font-weight: 800;
    font-size: 1.1rem;
    letter-spacing: .15em;
    color: #fff;
    flex-shrink: 0;
    z-index: 10;
}
.nav-logo:hover { color: var(--red); }

.nav-links {
    display: flex;
    align-items: center;
    gap: .1rem;
    flex: 1;
    justify-content: center;
}
.nav-link {
    padding: .4rem .5rem;
    font-size: 0.76rem;
    font-weight: 500;
    letter-spacing: .01em;
    color: var(--text-dim);
    border-radius: 4px;
    transition: color .25s, background .25s;
    white-space: nowrap;
}
@media (max-width: 1300px) {
    .nav-link { font-size: .7rem; padding: .4rem .3rem; }
}
.nav-link:hover { color: #fff; background: rgba(255,255,255,.06); }
.nav-link.active { color: #fff; }

/* "Buradayım" nav CTA */
.nav-cta {
    background: var(--red);
    color: #fff !important;
    border-radius: 4px;
    padding: .35rem .7rem;
    font-weight: 700;
}
.nav-cta:hover { background: var(--red-hover); }

.lang-switcher {
    display: flex;
    gap: .5rem;
    flex-shrink: 0;
}
.lang-switcher a {
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: .08em;
    color: var(--muted);
    transition: color .25s;
    padding: .2rem .1rem;
}
.lang-switcher a:hover { color: #fff; }
.lang-switcher a.active { color: var(--red); }

/* Hamburger */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: .4rem;
    margin-left: auto;
}
.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: #fff;
    border-radius: 1px;
    transition: transform .3s, opacity .3s;
}

/* ════════════════════════════════════════
   HERO
════════════════════════════════════════ */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    background: #000;
}

.hero-content {
    position: relative;
    z-index: 10;
    padding: 0 1.5rem;
    max-width: 900px;
    animation-delay: .25s;
}

.hero-dandelion {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0.25;
    pointer-events: none;
    z-index: 1;
    filter: brightness(0.8) contrast(1.2);
    animation: swayBreath 15s ease-in-out infinite;
}

@keyframes swayBreath {
    0%, 100% { transform: scale(1) rotate(-1deg); opacity: 0.2; }
    50% { transform: scale(1.1) rotate(1deg); opacity: 0.35; }
}

.hero-date-prefix {
    font-size: .75rem;
    letter-spacing: .35em;
    text-transform: uppercase;
    color: var(--red);
    margin-bottom: 1.25rem;
    opacity: .9;
}

.hero-title {
    font-family: var(--font-serif);
    font-size: clamp(3rem, 10vw, 7rem);
    font-weight: 700;
    line-height: 1.05;
    margin-bottom: 1.25rem;
    color: #fff;
    text-shadow: 0 0 80px rgba(192,0,0,.3);
    position: relative;
}

/* Glitch effect */
.hero-title::before,
.hero-title::after {
    content: attr(data-text);
    position: absolute;
    inset: 0;
    clip-path: polygon(0 0, 100% 0, 100% 35%, 0 35%);
    opacity: 0;
}
.hero-title::before { color: #c00000; animation: glitch1 4s infinite 2s; }
.hero-title::after  { color: #ffffff; animation: glitch2 4s infinite 2.1s; }

@keyframes glitch1 {
    0%, 90%, 100% { opacity: 0; transform: none; }
    92% { opacity: .6; transform: translate(-3px, 0); }
    94% { opacity: .6; transform: translate(3px, 0); }
    96% { opacity: 0; }
}
@keyframes glitch2 {
    0%, 90%, 100% { opacity: 0; transform: none; }
    91% { opacity: .4; transform: translate(3px, 2px); }
    93% { opacity: .4; transform: translate(-2px, 0); }
    95% { opacity: 0; }
}

.hero-subtitle {
    font-size: clamp(.95rem, 2.5vw, 1.3rem);
    color: rgba(255,255,255,.7);
    max-width: 540px;
    margin: 0 auto 2rem;
    line-height: 1.8;
}

.hero-question {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: clamp(1.5rem, 4vw, 2.75rem);
    color: #fff;
    margin-bottom: 2.5rem;
}

/* CTA Button */
.hero-btn-caption {
    font-size: 0.95rem;
    font-weight: 500;
    color: rgba(255,255,255,0.7);
    margin-bottom: 0.75rem;
    letter-spacing: 0.05em;
    font-style: italic;
}

.btn-hero {
    display: inline-block;
    background: var(--red);
    color: #fff;
    border: none;
    padding: 1rem 3rem;
    font-family: var(--font-sans);
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: .15em;
    text-transform: uppercase;
    border-radius: 2px;
    cursor: pointer;
    transition: background .3s, box-shadow .3s, transform .2s;
    box-shadow: 0 0 0 0 var(--red);
    animation: pulse 2.5s ease-in-out infinite;
    position: relative;
    z-index: 10;
}
.btn-hero:hover {
    background: var(--red-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px var(--red-glow);
    animation: none;
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(192,0,0,.5); }
    50%       { box-shadow: 0 0 0 14px rgba(192,0,0,0); }
}

.btn-hero--outline {
    background: transparent;
    border: 2px solid var(--red);
    color: var(--red);
    animation: pulse-outline 2.5s ease-in-out infinite;
}
.btn-hero--outline:hover {
    background: var(--red);
    color: #fff;
    animation: none;
}
@keyframes pulse-outline {
    0%, 100% { box-shadow: 0 0 0 0 rgba(192,0,0,.4); }
    50%       { box-shadow: 0 0 0 12px rgba(192,0,0,0); }
}

.hero-alt-text {
    margin-top: 1rem;
    font-size: .82rem;
    color: var(--muted);
    letter-spacing: .05em;
}

/* Scroll hint */
.hero-scroll-hint {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}
.hero-scroll-hint span {
    display: block;
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, transparent, rgba(255,255,255,.4));
    margin: 0 auto;
    animation: scrollLine 2s ease-in-out infinite;
}
/* Leaflet Fixes */
.leaflet-marker-icon, .leaflet-marker-shadow, .leaflet-cluster-anim {
    z-index: 1000 !important;
}
.leaflet-pane {
    z-index: 400 !important;
}
.diaspora-arc {
    z-index: 500 !important;
    pointer-events: none;
}
.marker-pulse {
    width: 10px;
    height: 10px;
    background: #c00;
    border-radius: 50%;
    box-shadow: 0 0 10px #c00;
    animation: markerPulse 2s infinite;
}
@keyframes markerPulse {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(2.5); opacity: 0; }
}
@keyframes scrollLine {
    0%, 100% { transform: scaleY(0); transform-origin: top; opacity: 0; }
    30%       { transform: scaleY(1); transform-origin: top; opacity: 1; }
    70%       { transform: scaleY(1); transform-origin: bottom; opacity: 1; }
    100%      { transform: scaleY(0); transform-origin: bottom; opacity: 0; }
}

/* ════════════════════════════════════════
   MAP
════════════════════════════════════════ */
.section-map {
    padding: 7rem 5% 0;
    background: var(--deep);
}
#map-container {
    position: relative;
    height: 65vh;
    min-height: 400px;
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid var(--border);
}
#map-canvas { width: 100%; height: 100%; }

/* Leaflet overrides */
.leaflet-popup-content-wrapper {
    background: var(--surface2);
    color: var(--text);
    border: 1px solid var(--border);
    border-radius: 4px;
    box-shadow: 0 8px 30px rgba(0,0,0,.6);
}
.leaflet-popup-tip { background: var(--surface2); }
.popup-name  { font-weight: 700; font-size: 1em; color: var(--red); margin-bottom: 4px; }
.popup-clan  { font-size: .85em; color: var(--text-dim); margin-bottom: 4px; }
.popup-loc   { font-size: .8em; color: var(--muted); margin-bottom: 8px; }
.popup-msg   { font-style: italic; font-size: .88em; border-top: 1px solid var(--border); padding-top: 8px; }

/* ════════════════════════════════════════
   STATS
════════════════════════════════════════ */
.section-stats {
    padding: 7rem 5%;
    background: var(--deep);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1px;
    background: var(--border);
    border-radius: 4px;
    overflow: hidden;
    max-width: 900px;
    margin: 0 auto;
}
.stat-card {
    background: var(--surface);
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    transition: background .3s;
}
.stat-card:hover { background: var(--surface2); }
.stat-card:hover .stat-line { width: 50%; }

.stat-number {
    font-family: var(--font-serif);
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--red);
    line-height: 1;
    margin-bottom: .5rem;
}
.stat-text { font-size: 1.6rem; }
.stat-label {
    font-size: .7rem;
    font-weight: 600;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: var(--muted);
}
.stat-line {
    position: absolute;
    bottom: 0; left: 50%;
    transform: translateX(-50%);
    height: 2px;
    width: 0;
    background: var(--red);
    transition: width .5s var(--ease);
}

/* ════════════════════════════════════════
   STORIES
════════════════════════════════════════ */
.section-stories {
    padding: 7rem 5%;
    background: var(--black);
}
.stories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}
.story-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    transition: border-color .3s, transform .3s, box-shadow .3s;
}
.story-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(192,0,0,.06) 0%, transparent 60%);
    opacity: 0;
    transition: opacity .3s;
}
.story-card:hover {
    border-color: rgba(192,0,0,.4);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,.5);
}
.story-card:hover::before { opacity: 1; }

.story-quote-mark {
    font-family: var(--font-serif);
    font-size: 5rem;
    line-height: .5;
    color: var(--red);
    opacity: .25;
    margin-bottom: .75rem;
    font-weight: 700;
}
.story-message {
    font-size: .95rem;
    line-height: 1.8;
    color: rgba(255,255,255,.8);
    margin-bottom: 1.5rem;
    font-style: italic;
}
.story-author {
    display: flex;
    flex-direction: column;
    gap: .2rem;
    border-top: 1px solid var(--border);
    padding-top: 1rem;
}
.story-name  { font-weight: 700; font-size: .9rem; }
.story-clan  { font-size: .8rem; color: var(--red); }
.story-location { font-size: .78rem; color: var(--muted); }

/* ════════════════════════════════════════
   21 MAYIS — PARALLAX
════════════════════════════════════════ */
.section-may21 {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--black);
    overflow: hidden;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.section-may21::before {
    content: '21 V 1864';
    position: absolute;
    font-family: var(--font-serif);
    font-size: clamp(8rem, 25vw, 22rem);
    font-weight: 700;
    color: rgba(192,0,0,.04);
    white-space: nowrap;
    pointer-events: none;
    user-select: none;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
}
.may21-inner {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 5rem 2rem;
}
.may21-line {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: clamp(1.6rem, 4vw, 3rem);
    color: rgba(255,255,255,.7);
    margin-bottom: .5rem;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.may21-line.visible { opacity: 1; transform: none; }
.may21-line--strong {
    color: #fff;
    font-size: clamp(2rem, 5vw, 4rem);
    font-style: normal;
    font-weight: 700;
    margin-bottom: 2.5rem;
}
.may21-line--strong::after {
    content: '';
    display: block;
    width: 3rem;
    height: 3px;
    background: var(--red);
    margin: 1rem auto 0;
}

/* ════════════════════════════════════════
   BLOG
════════════════════════════════════════ */
.section-blog {
    padding: 7rem 5%;
    background: var(--deep);
}
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}
.blog-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: .75rem;
    transition: border-color .3s, transform .3s, box-shadow .3s;
    cursor: pointer;
}
.blog-card:hover {
    border-color: rgba(192,0,0,.4);
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(0,0,0,.4);
}
.blog-card-meta {
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: var(--red);
}
.blog-card-title {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    line-height: 1.3;
    color: #fff;
}
.blog-card-excerpt {
    font-size: .9rem;
    color: var(--text-dim);
    line-height: 1.8;
    flex: 1;
}
.nav-logo {
    display: flex;
    align-items: center;
    height: 100%;
    z-index: 1001;
    transition: 0.3s;
}
.nav-logo {
    display: flex;
    text-decoration: none;
    z-index: 1001;
    transition: 0.3s;
}
.logo-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 1.1;
}
.logo-main {
    font-size: 1.2rem;
    font-weight: 900;
    color: #fff;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}
.logo-sub {
    font-size: 0.65rem;
    font-weight: 300;
    color: rgba(255,255,255,0.9);
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-top: 3px;
}
.blog-card-read {
    font-size: .8rem;
    font-weight: 600;
    color: var(--red);
    letter-spacing: .05em;
    align-self: flex-start;
    transition: letter-spacing .3s;
}
.blog-card:hover .blog-card-read { letter-spacing: .12em; }

/* ════════════════════════════════════════
   ABOUT
════════════════════════════════════════ */
.section-about {
    padding: 7rem 5%;
    background: var(--black);
    border-top: 1px solid var(--border);
}
.about-inner {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}
.about-inner h2 {
    font-family: var(--font-serif);
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    margin: .5rem 0 1.5rem;
}
.about-inner p {
    font-size: 1.05rem;
    line-height: 1.9;
    color: rgba(255,255,255,.7);
}

/* ════════════════════════════════════════
   FOOTER
════════════════════════════════════════ */
.footer {
    background: var(--surface);
    border-top: 1px solid var(--border);
    padding: 3.5rem 5% 2rem;
}
.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 200px 1fr;
    gap: 2rem;
    align-items: center;
}
.footer-brand { display: flex; flex-direction: column; }
.footer-logo {
    display: block;
    font-weight: 800;
    font-size: 1.3rem;
    letter-spacing: .15em;
    color: #fff;
    margin-bottom: .5rem;
}
.footer-tagline {
    font-family: var(--font-serif);
    font-style: italic;
    color: var(--muted);
    font-size: .9rem;
}
#footer-map {
    height: 120px;
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid var(--border);
    opacity: .6;
}
.footer-social {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    align-items: center;
    margin-bottom: 1.5rem;
}
.nav-btn-red {
    background: #c00;
    color: #fff;
    padding: 10px 24px;
    border-radius: 4px;
    font-weight: 700;
    text-decoration: none;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    border: 1px solid #c00;
    box-shadow: 0 4px 15px rgba(204, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 20px;
}

.nav-btn-red:hover {
    background: #e00;
    border-color: #e00;
    box-shadow: 0 6px 20px rgba(204, 0, 0, 0.4);
    transform: translateY(-1px);
    color: #fff;
}

.nav-btn-red:active {
    transform: translateY(1px);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}
.social-link {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--muted);
    transition: border-color .3s, color .3s, background .3s;
}
.social-link:hover { border-color: var(--red); color: var(--red); background: rgba(192,0,0,.08); }

.footer-copy {
    grid-column: 1 / -1;
    text-align: center;
    font-size: .75rem;
    color: var(--muted);
    border-top: 1px solid var(--border);
    padding-top: 1.5rem;
    margin-top: .5rem;
}

/* ════════════════════════════════════════
   MODAL
════════════════════════════════════════ */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9000;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 1rem;
    overflow-y: auto;
    opacity: 0;
    transition: opacity .3s;
}
.modal.open {
    display: flex;
    opacity: 1;
}
.modal-content {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 2.5rem;
    width: 100%;
    max-width: 580px;
    position: relative;
    transform: translateY(20px);
    transition: transform .35s var(--ease);
    box-shadow: 0 30px 80px rgba(0,0,0,.7);
    margin: auto auto;
}
.modal.open .modal-content { transform: none; }

.modal-content h2 {
    font-family: var(--font-serif);
    font-size: 1.75rem;
    margin-bottom: 1.75rem;
    color: #fff;
}

.hero-btn-alt {
    max-width: 450px;
    margin: .75rem auto 0;
    color: rgba(255,255,255,0.5);
    font-size: .85rem;
    font-weight: 400;
    line-height: 1.5;
    text-align: center;
    position: relative;
    z-index: 10;
}

.close-modal {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    background: none;
    border: none;
    color: var(--muted);
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: color .2s, background .2s;
}
.close-modal:hover { color: #fff; background: var(--surface2); }
[dir="rtl"] .close-modal { right: auto; left: 1.25rem; }

/* ── Forms ──────────────────────────────── */
.form-row {
    display: flex;
    gap: 1rem;
}
.form-row .form-group { flex: 1; }
.form-group { margin-bottom: 1.25rem; }

label {
    display: block;
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: .05em;
    text-transform: uppercase;
    color: var(--text-dim);
    margin-bottom: .5rem;
}
input[type="text"],
input[type="email"],
select,
textarea {
    width: 100%;
    padding: .75rem 1rem;
    background: var(--surface2);
    border: 1px solid var(--border);
    color: #fff;
    border-radius: 3px;
    font-family: var(--font-sans);
    font-size: .95rem;
    transition: border-color .25s, box-shadow .25s;
}
input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--red);
    box-shadow: 0 0 0 3px rgba(192,0,0,.12);
}
select option { background: var(--surface2); }
textarea { resize: vertical; min-height: 80px; }

.checkbox-group label {
    text-transform: none;
    letter-spacing: 0;
    font-size: .85rem;
    font-weight: 400;
    color: var(--text-dim);
    display: flex;
    align-items: flex-start;
    gap: .6rem;
    cursor: pointer;
}
.checkbox-group input[type="checkbox"] {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    accent-color: var(--red);
    margin-top: 2px;
}

.g-recaptcha { margin: 1rem 0; transform-origin: left bottom; }

.form-actions {
    display: flex;
    justify-content: flex-end;
    gap: .75rem;
    margin-top: 1.5rem;
}
[dir="rtl"] .form-actions { justify-content: flex-start; }

.btn-primary {
    background: var(--red);
    color: #fff;
    border: none;
    padding: .75rem 1.75rem;
    font-size: .9rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    border-radius: 3px;
    cursor: pointer;
    transition: background .3s, box-shadow .3s;
}
.btn-primary:hover {
    background: var(--red-hover);
    box-shadow: 0 4px 20px var(--red-glow);
}
.btn-primary:disabled { opacity: .5; cursor: not-allowed; }

.btn-secondary {
    background: transparent;
    color: var(--text-dim);
    border: 1px solid var(--border);
    padding: .75rem 1.25rem;
    font-size: .9rem;
    border-radius: 3px;
    cursor: pointer;
    transition: border-color .3s, color .3s;
}
.btn-secondary:hover { border-color: var(--muted); color: #fff; }

#form-messages {
    margin-top: 1rem;
    padding: .9rem 1rem;
    border-radius: 3px;
    display: none;
    font-size: .88rem;
    font-weight: 600;
    text-align: center;
}
.msg-error   { background: rgba(192,0,0,.15); color: #ff6666; border: 1px solid var(--red); }
.msg-success { background: rgba(0,180,0,.12); color: #66dd66; border: 1px solid #00b000; }

/* ════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════ */
.dandelion-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: url('dandelion.jpg') center/cover no-repeat;
    z-index: -1;
    filter: brightness(0.4);
}
.particle {
    opacity: 0.8;
    box-shadow: 0 0 10px rgba(255,255,255,0.8);
}

@media (max-width: 900px) {
    .footer-inner {
        grid-template-columns: 1fr 1fr;
    }
    .footer-copy { grid-column: 1 / -1; }
    #footer-map { height: 90px; }
}

@media (max-width: 1100px) {
    :root { --nav-h: 60px; }

    /* Navbar mobile */
    .nav-toggle { display: flex; }
    .nav-links {
        display: none;
        position: fixed;
        top: var(--nav-h);
        left: 0; right: 0;
        background: rgba(0,0,0,.97);
        flex-direction: column;
        align-items: center;
        padding: 2rem 1rem;
        gap: .5rem;
        border-bottom: 1px solid var(--border);
    }
    .nav-links.open { display: flex; }
    .nav-link { font-size: 1.1rem; width: 100%; text-align: center; padding: .8rem; }
    .lang-switcher { margin-right: 1.5rem; }
}
@media (max-width: 768px) {
    .form-row { flex-direction: column; gap: 0; }
    .stories-grid { grid-template-columns: 1fr; }
    .blog-grid { grid-template-columns: 1fr; }
    .footer-inner { grid-template-columns: 1fr; text-align: center; }
    .footer-social { justify-content: center; }
    #footer-map { display: none; }
    .footer-tagline { margin-bottom: 1rem; }

    .section-may21::before { font-size: 15vw; }
    .g-recaptcha { transform: scale(.87); }
}

@media (max-width: 480px) {
    .hero-title { font-size: 2.8rem; }
    .hero-question { font-size: 1.4rem; }
    .btn-hero { padding: .85rem 1.75rem; font-size: .9rem; }
    .stat-number { font-size: 2.8rem; }
    .modal-content { padding: 1.75rem 1.25rem; }
}
