/* =============================================
   OBSIDIAN MODELS — Main Stylesheet
   ============================================= */

/* --- Variables --- */
:root {
  --color-bg:        #080808;
  --color-surface:   #0f0f0f;
  --color-surface-2: #150505;
  --color-border:    #1e0505;
  --color-accent:    #8B0000;
  --color-accent-light: #C0392B;
  --color-accent-glow:  rgba(139, 0, 0, 0.25);
  --color-text:      #e5e5e5;
  --color-muted:     #888888;
  --color-white:     #ffffff;
  --font-heading:    'Playfair Display', Georgia, serif;
  --font-body:       'Inter', system-ui, -apple-system, sans-serif;
  --radius:          8px;
  --radius-lg:       16px;
  --max-width:       1200px;
  --transition:      0.3s ease;
}

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

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

body {
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-accent-light); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--color-white); }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--color-white);
  line-height: 1.2;
  font-weight: 700;
}

p { margin-bottom: 1rem; }
ul, ol { padding-left: 1.5rem; margin-bottom: 1rem; }

/* --- Utility --- */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 1.5rem; }
.text-center { text-align: center; }
.text-accent { color: var(--color-accent-light); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.btn {
  display: inline-block;
  padding: 0.85rem 2rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
  letter-spacing: 0.02em;
}
.btn-primary {
  background: var(--color-accent);
  color: var(--color-white);
  border-color: var(--color-accent);
}
.btn-primary:hover {
  background: var(--color-accent-light);
  border-color: var(--color-accent-light);
  color: var(--color-white);
  box-shadow: 0 0 24px var(--color-accent-glow);
  transform: translateY(-2px);
}
.btn-outline {
  background: transparent;
  color: var(--color-white);
  border-color: var(--color-border);
}
.btn-outline:hover {
  border-color: var(--color-accent);
  color: var(--color-accent-light);
  transform: translateY(-2px);
}

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-accent-light);
  margin-bottom: 0.75rem;
}
.section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin-bottom: 1rem;
}
.section-subtitle {
  font-size: 1.05rem;
  color: var(--color-muted);
  max-width: 600px;
  margin: 0 auto 3rem;
}

/* =============================================
   HEADER & NAV
   ============================================= */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.25rem 0;
  border-bottom: 1px solid transparent;
  transition: all var(--transition);
}
.site-header.scrolled {
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(12px);
  border-color: var(--color-border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.site-logo {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-white);
  letter-spacing: -0.02em;
}
.site-logo span { color: var(--color-accent-light); }
.site-logo:hover { color: var(--color-white); }

.primary-nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
  padding: 0;
  margin: 0;
}
.primary-nav a {
  color: var(--color-muted);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color var(--transition);
}
.primary-nav a:hover,
.primary-nav .current-menu-item a {
  color: var(--color-white);
}

.lang-switcher {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}
.lang-switcher a {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-muted);
  padding: 0.3rem 0.6rem;
  border-radius: 4px;
  border: 1px solid transparent;
}
.lang-switcher a:hover,
.lang-switcher a.active {
  color: var(--color-accent-light);
  border-color: var(--color-border);
}

.nav-cta { margin-left: 1.5rem; }

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-white);
  border-radius: 2px;
  transition: all var(--transition);
}

/* =============================================
   HERO
   ============================================= */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 8rem 0 4rem;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(139,0,0,0.15) 0%, transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(139,0,0,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.hero-content { position: relative; z-index: 1; max-width: 780px; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(139,0,0,0.15);
  border: 1px solid rgba(139,0,0,0.3);
  border-radius: 100px;
  padding: 0.4rem 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-accent-light);
  margin-bottom: 1.5rem;
  letter-spacing: 0.05em;
}
.hero-badge::before { content: '◆'; font-size: 0.6rem; }

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  line-height: 1.1;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, #ffffff 0%, #c4b5fd 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-subtitle {
  font-size: 1.15rem;
  color: var(--color-muted);
  max-width: 560px;
  margin-bottom: 2.5rem;
  line-height: 1.8;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-stats {
  display: flex;
  gap: 3rem;
  margin-top: 4rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--color-border);
}
.stat-item {}
.stat-value {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-white);
}
.stat-label { font-size: 0.8rem; color: var(--color-muted); text-transform: uppercase; letter-spacing: 0.08em; }

/* =============================================
   PAGE HERO — shared component (all pages)
   ============================================= */
.page-hero {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8rem 1.5rem 4rem;
  min-height: 50vh;
  overflow: hidden;
  background: linear-gradient(145deg, #080808 0%, #1a0202 40%, #0d0505 100%);
}

.page-hero[style*="background-image"]::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(8, 8, 8, 0.82);
  z-index: 0;
}

.page-hero--full {
  min-height: 100vh;
  padding-top: 7rem;
}

.page-hero__glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(139, 0, 0, 0.20) 0%, transparent 68%);
  pointer-events: none;
  width: 220px;
  height: 220px;
}

.page-hero--full .page-hero__glow {
  width: 380px;
  height: 380px;
}

.page-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 700px;
  width: 100%;
}

.page-hero__badge {
  display: inline-block;
  background: rgba(139, 0, 0, 0.15);
  border: 1px solid rgba(139, 0, 0, 0.35);
  border-radius: 100px;
  padding: 5px 18px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-accent-light);
  font-family: var(--font-body);
  margin-bottom: 1.25rem;
}

.page-hero__title {
  font-size: clamp(2rem, 5vw, 3.8rem);
  color: var(--color-white);
  line-height: 1.12;
  margin-bottom: 0;
}

.page-hero__separator {
  width: 32px;
  height: 1px;
  background: var(--color-accent);
  margin: 1rem auto;
}

.page-hero__subtitle {
  font-size: 1.05rem;
  color: var(--color-muted);
  max-width: 480px;
  margin: 0 auto 2rem;
  line-height: 1.75;
}

.page-hero__scroll {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.page-hero__scroll span {
  font-size: 0.55rem;
  color: #444;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-family: var(--font-body);
}

.page-hero__scroll::after {
  content: '';
  display: block;
  width: 1px;
  height: 28px;
  background: linear-gradient(to bottom, rgba(139, 0, 0, 0.5), transparent);
}

.hero-lead {
  border-top: 1px solid #1a0505;
  padding-top: 1.25rem;
  margin-top: 1.5rem;
  width: 100%;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

.hero-lead__label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 0.75rem;
  font-family: var(--font-body);
}

.hero-lead__form {
  display: flex;
  gap: 8px;
}

.hero-lead__input {
  flex: 1;
  background: #0f0f0f;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 0.7rem 1rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--color-text);
  transition: border-color var(--transition);
}

.hero-lead__input:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px var(--color-accent-glow);
}

.hero-lead__input::placeholder { color: var(--color-muted); }

.hero-lead__btn {
  background: var(--color-accent);
  color: var(--color-white);
  border: none;
  border-radius: var(--radius);
  padding: 0.7rem 1.1rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--transition);
  box-shadow: 0 0 16px rgba(139, 0, 0, 0.3);
}

.hero-lead__btn:hover {
  background: var(--color-accent-light);
  box-shadow: 0 0 24px rgba(139, 0, 0, 0.45);
}

.hero-lead__btn:disabled { opacity: 0.6; cursor: not-allowed; }

.hero-lead__microcopy {
  font-size: 0.7rem;
  color: #444;
  margin-top: 0.5rem;
  font-family: var(--font-body);
}

.hero-lead__message {
  font-size: 0.85rem;
  margin-top: 0.75rem;
  min-height: 1.2em;
  font-family: var(--font-body);
}

.hero-lead__message--ok { color: var(--color-accent-light); }
.hero-lead__message--err { color: #e74c3c; }

@media (max-width: 480px) {
  .hero-lead__form { flex-direction: column; }
  .hero-lead__btn { width: 100%; }
}

/* =============================================
   SECTIONS — SERVICES
   ============================================= */
.section { padding: 6rem 0; }
.section-dark { background: var(--color-surface); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 1rem;
}
.service-card {
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all var(--transition);
}
.service-card:hover {
  border-color: var(--color-accent);
  transform: translateY(-4px);
  box-shadow: 0 8px 32px var(--color-accent-glow);
}
.service-icon {
  width: 48px;
  height: 48px;
  background: rgba(139,0,0,0.15);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1.25rem;
}
.service-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
  font-family: var(--font-body);
  font-weight: 600;
}
.service-card p { color: var(--color-muted); font-size: 0.9rem; margin: 0; }

/* =============================================
   TUTORIALS SECTION / ARCHIVE
   ============================================= */
.tutorials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
}
.tutorial-card {
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
}
.tutorial-card:hover {
  border-color: var(--color-accent);
  transform: translateY(-4px);
  box-shadow: 0 8px 32px var(--color-accent-glow);
}
.tutorial-thumb {
  height: 200px;
  background: var(--color-surface);
  position: relative;
  overflow: hidden;
}
.tutorial-thumb img { width: 100%; height: 100%; object-fit: cover; }
.tutorial-category {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--color-accent);
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.3rem 0.75rem;
  border-radius: 100px;
}
.tutorial-body { padding: 1.5rem; }
.tutorial-body h3 { font-size: 1.05rem; margin-bottom: 0.5rem; font-family: var(--font-body); font-weight: 600; }
.tutorial-body h3 a { color: var(--color-white); }
.tutorial-body h3 a:hover { color: var(--color-accent-light); }
.tutorial-meta { display: flex; gap: 1rem; font-size: 0.8rem; color: var(--color-muted); margin-top: 1rem; }
.tutorial-excerpt { font-size: 0.9rem; color: var(--color-muted); margin: 0.5rem 0 0; }

/* =============================================
   ABOUT
   ============================================= */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.about-image {
  aspect-ratio: 4/5;
  background: var(--color-surface-2);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  overflow: hidden;
  position: relative;
}
.about-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--color-accent-glow), transparent);
  pointer-events: none;
}
.about-content .section-title { text-align: left; }
.about-content .section-subtitle { text-align: left; margin-left: 0; }

.values-list { list-style: none; padding: 0; margin: 1.5rem 0 2rem; }
.values-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-size: 0.95rem;
  color: var(--color-muted);
}
.values-list li::before {
  content: '✦';
  color: var(--color-accent-light);
  font-size: 0.75rem;
  margin-top: 0.35rem;
  flex-shrink: 0;
}

/* =============================================
   CONTACT
   ============================================= */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
  align-items: start;
}
.contact-info h2 { font-size: 2rem; margin-bottom: 1rem; }
.contact-info p { color: var(--color-muted); }

.contact-detail {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1.5rem;
  font-size: 0.9rem;
}
.contact-detail-icon {
  width: 40px;
  height: 40px;
  background: rgba(139,0,0,0.15);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contact-form {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
}
.form-group { margin-bottom: 1.25rem; }
.form-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-muted);
  margin-bottom: 0.5rem;
}
.form-control {
  width: 100%;
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 0.85rem 1rem;
  color: var(--color-white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color var(--transition);
}
.form-control:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px var(--color-accent-glow);
}
.form-control::placeholder { color: var(--color-muted); }
textarea.form-control { resize: vertical; min-height: 130px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

/* =============================================
   CTA BAND
   ============================================= */
.cta-band {
  padding: 5rem 0;
  background: linear-gradient(135deg, rgba(139,0,0,0.2) 0%, rgba(139,0,0,0.05) 100%);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  text-align: center;
}
.cta-band h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); margin-bottom: 1rem; }
.cta-band p { color: var(--color-muted); max-width: 500px; margin: 0 auto 2rem; }

/* =============================================
   FOOTER
   ============================================= */
.site-footer {
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  padding: 4rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-brand p { color: var(--color-muted); font-size: 0.9rem; margin-top: 0.75rem; max-width: 280px; }
.footer-col h4 {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-white);
  margin-bottom: 1rem;
  font-family: var(--font-body);
}
.footer-col ul { list-style: none; padding: 0; }
.footer-col ul li { margin-bottom: 0.6rem; }
.footer-col ul li a { color: var(--color-muted); font-size: 0.9rem; }
.footer-col ul li a:hover { color: var(--color-white); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 2rem;
  border-top: 1px solid var(--color-border);
  font-size: 0.8rem;
  color: var(--color-muted);
}
.footer-legal a { color: var(--color-muted); margin-left: 1.5rem; }
.footer-legal a:hover { color: var(--color-white); }

/* =============================================
   SINGLE POST / PAGE
   ============================================= */
.entry-header {
  padding: 8rem 0 3rem;
  text-align: center;
}
.entry-header h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
.entry-meta { color: var(--color-muted); font-size: 0.85rem; margin-top: 1rem; }

.entry-content {
  max-width: 760px;
  margin: 0 auto;
  padding: 3rem 0 5rem;
}
.entry-content h2, .entry-content h3 { margin: 2rem 0 1rem; }
.entry-content p { color: var(--color-muted); }
.entry-content a { color: var(--color-accent-light); }
.entry-content img { border-radius: var(--radius); margin: 2rem auto; }
.entry-content blockquote {
  border-left: 3px solid var(--color-accent);
  padding-left: 1.5rem;
  margin: 2rem 0;
  color: var(--color-muted);
  font-style: italic;
}
.entry-content pre {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.5rem;
  overflow-x: auto;
  font-size: 0.875rem;
}
.entry-content code {
  background: var(--color-surface);
  border-radius: 4px;
  padding: 0.1rem 0.4rem;
  font-size: 0.875rem;
}

/* =============================================
   TESTIMONIALS
   ============================================= */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}
.testimonial-card {
  background: #111;
  border: 1px solid rgba(255,255,255,0.1);
  border-top: 3px solid var(--color-accent);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.testimonial-card:hover {
  border-color: var(--color-accent);
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}
.testimonial-stars {
  color: #f5a623;
  font-size: 1rem;
  letter-spacing: 2px;
}
.testimonial-quote {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--color-muted);
  margin: 0;
  font-style: italic;
  flex: 1;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0;
}
.testimonial-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--color-accent);
  color: #000;
  font-weight: 700;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.testimonial-author strong {
  display: block;
  font-size: 0.9rem;
  color: var(--color-text);
}
.testimonial-platform {
  font-size: 0.8rem;
  color: var(--color-muted);
}

/* =============================================
   PRIVACY / POLICY CONTENT
   ============================================= */
.policy-content {
  max-width: 780px;
  margin: 0 auto;
  line-height: 1.8;
  color: var(--color-muted);
}
.policy-content h2 {
  font-size: 1.2rem;
  color: var(--color-text);
  margin: 2.5rem 0 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--color-border);
}
.policy-content ul {
  padding-left: 1.5rem;
  margin: 0.75rem 0;
}
.policy-content ul li {
  margin-bottom: 0.5rem;
}
.policy-content a {
  color: var(--color-accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.policy-content p { margin-bottom: 1rem; }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .about-grid { gap: 3rem; }
}

@media (max-width: 768px) {
  .primary-nav, .nav-cta { display: none; }
  .primary-nav.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(8, 8, 8, 0.98);
    z-index: 999;
    overflow-y: auto;
    padding: 6rem 2rem 3rem;
    align-items: center;
    justify-content: flex-start;
  }
  .primary-nav.open ul {
    flex-direction: column;
    gap: 0;
    padding: 0;
    width: 100%;
    max-width: 320px;
    list-style: none;
  }
  .primary-nav.open ul li a {
    display: block;
    padding: 1.1rem 0;
    font-size: 1.25rem;
    font-weight: 600;
    color: #fff;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    text-decoration: none;
    letter-spacing: 0.02em;
  }
  .primary-nav.open ul li a:hover { color: var(--color-accent); }
  .menu-toggle { display: flex; }
  .menu-toggle { position: relative; z-index: 1000; }

  .hero-stats { gap: 1.5rem; flex-wrap: wrap; }
  .about-grid { grid-template-columns: 1fr; }
  .about-image { aspect-ratio: 16/9; }
  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; }
  .btn { text-align: center; }
  .contact-form { padding: 1.5rem; }
}

/* =============================================
   SCHEMA / SEO HELPERS (visually hidden but structured)
   ============================================= */
.breadcrumb {
  display: flex;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--color-muted);
  margin-bottom: 1rem;
  flex-wrap: wrap;
}
.breadcrumb a { color: var(--color-muted); }
.breadcrumb a:hover { color: var(--color-white); }
.breadcrumb .separator { opacity: 0.4; }

/* =============================================
   FAQ ACCORDION
   ============================================= */
.faq-list { max-width: 720px; margin: 2rem auto 0; }
.faq-list details { border-bottom: 1px solid var(--color-border); padding: 1.25rem 0; }
.faq-list details:first-child { border-top: 1px solid var(--color-border); }
.faq-list summary {
  font-weight: 600;
  cursor: pointer;
  color: var(--color-white);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: '+';
  color: var(--color-accent-light);
  font-size: 1.4rem;
  line-height: 1;
  flex-shrink: 0;
  transition: transform var(--transition);
}
.faq-list details[open] summary::after { content: '−'; }
.faq-list details p { color: var(--color-muted); font-size: 0.9rem; margin: 0.75rem 0 0; line-height: 1.7; }

/* =============================================
   GLOBAL LANGUAGE — EN / ES / RU
   ============================================= */
.es-only,
.ru-only { display: none !important; }

html.lang-es .en-only { display: none !important; }
html.lang-es .es-only { display: block !important; }
html.lang-es span.es-only,
html.lang-es li.es-only,
html.lang-es a.es-only { display: inline !important; }

html.lang-ru .en-only,
html.lang-ru .es-only { display: none !important; }
html.lang-ru .ru-only { display: block !important; }
html.lang-ru span.ru-only,
html.lang-ru li.ru-only,
html.lang-ru a.ru-only { display: inline !important; }

/* JS toggle (fallback when Polylang not active) */
.lang-toggle {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 20px;
  padding: 0.3rem 0.75rem;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--color-muted);
  transition: border-color var(--transition), color var(--transition);
}
.lang-toggle:hover { border-color: var(--color-accent-light); color: var(--color-white); }
.lang-toggle-opt { transition: color var(--transition); }
.lang-toggle-sep { opacity: 0.4; }
.lang-toggle-en { color: var(--color-white); }
html.lang-es .lang-toggle-en { color: var(--color-muted); }
html.lang-es .lang-toggle-es { color: var(--color-white); }
html.lang-ru .lang-toggle-en,
html.lang-ru .lang-toggle-es { color: var(--color-muted); }
html.lang-ru .lang-toggle-ru { color: var(--color-white); }

/* Polylang built-in switcher */
.lang-switcher-pll ul { list-style: none; padding: 0; margin: 0; display: flex; gap: 0.25rem; }
.lang-switcher-pll ul li a {
  display: block;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  color: var(--color-muted);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color var(--transition), background var(--transition);
}
.lang-switcher-pll ul li.current-lang a { color: var(--color-white); background: rgba(255,255,255,0.08); }
.lang-switcher-pll ul li a:hover { color: var(--color-white); }

/* =============================================
   LANGUAGE SWITCHER TABS (per-page, legacy)
   ============================================= */
.lang-tab-bar {
  display: flex;
  gap: 0.5rem;
  padding: 1rem 0;
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  justify-content: center;
  position: sticky;
  top: 70px;
  z-index: 50;
}
.lang-tab {
  background: transparent;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  color: var(--color-muted);
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.55rem 1.25rem;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}
.lang-tab:hover {
  border-color: var(--color-accent-light);
  color: var(--color-white);
}
.lang-tab--active {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: var(--color-white);
}
.lang-panel { display: block; }
.lang-panel[hidden] { display: none; }
