/*
Theme Name: Biron
Theme URI: https://biron.com
Description: Корпоративная тема Biron — закупки и поставки из Китая
Author: Biron
Version: 1.0.0
Text Domain: biron
*/

/* === LOCAL FONTS === */
@font-face {
  font-family: 'Inter';
  src: url('assets/fonts/Inter-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('assets/fonts/Inter-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('assets/fonts/Inter-SemiBold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

/* === DESIGN TOKENS === */
:root {
  --color-text: #1D1D1F;
  --color-text-secondary: #6E6E73;
  --color-accent: #0071E3;
  --color-link: #0066CC;
  --color-bg-light: #F5F5F7;
  --color-bg-dark: #16264A;
  --color-white: #FFFFFF;
  --color-border: #D2D2D7;

  --font-family: -apple-system, "SF Pro Display", Inter, "Segoe UI", sans-serif;
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-pill: 980px;

  --hero-text-align: center; /* toggle: center | left */

  --transition: 0.25s ease;
  --shadow-card: 0 4px 24px rgba(0,0,0,0.08);
  --shadow-hover: 0 8px 40px rgba(0,0,0,0.14);
}

/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

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

img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-link); text-decoration: none; }
a:hover { text-decoration: underline; }

/* Focus styles — accessibility */
:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* === TYPOGRAPHY === */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-family);
  color: var(--color-text);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.375rem, 6.6vw, 5.25rem); font-weight: 600; line-height: 1.03; letter-spacing: -0.04em; }
h2 { font-size: clamp(2rem, 4.8vw, 3.5rem); font-weight: 600; line-height: 1.07; letter-spacing: -0.03em; }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); font-weight: 600; }
p  { font-size: 1.0625rem; color: var(--color-text-secondary); line-height: 1.7; }

/* === LAYOUT === */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 16px;
}

section { padding: 120px 0; }

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  font-size: 1rem;
  font-weight: 600;
  font-family: var(--font-family);
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  text-decoration: none;
  line-height: 1;
  white-space: nowrap;
}

.btn-primary {
  background: var(--color-accent);
  color: var(--color-white);
}
.btn-primary:hover {
  background: #0062C3;
  color: var(--color-white);
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0,113,227,0.35);
}

.btn-secondary {
  background: transparent;
  color: var(--color-text);
  border: 1.5px solid var(--color-border);
}
.btn-secondary:hover {
  border-color: var(--color-text);
  color: var(--color-text);
  text-decoration: none;
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--color-accent);
  padding: 0;
  font-weight: 600;
  font-size: 1rem;
}
.btn-ghost:hover { text-decoration: underline; color: var(--color-accent); }

/* === HEADER === */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(210,210,215,0.5);
  transition: background var(--transition);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 24px;
}

.site-logo img {
  height: 36px;
  width: auto;
}

.main-nav {
  flex: 1;
}

.main-nav ul {
  display: flex;
  list-style: none;
  gap: 2px;
  justify-content: center;
  flex-wrap: nowrap;
}

.main-nav a {
  color: var(--color-text);
  font-size: 0.8125rem;
  font-weight: 500;
  padding: 7px 9px;
  border-radius: 8px;
  transition: background var(--transition);
  text-decoration: none;
  white-space: nowrap;
}
.main-nav a:hover, .main-nav .current-menu-item > a {
  background: rgba(0,0,0,0.05);
}

.header-cta { flex-shrink: 0; }

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

/* Mobile nav */
@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .main-nav {
    position: fixed;
    top: 64px;
    left: 0; right: 0;
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(20px);
    padding: 24px 16px 32px;
    display: none;
    border-bottom: 1px solid var(--color-border);
  }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; gap: 4px; }
  .main-nav a { display: block; padding: 12px 16px; }
  .header-cta { display: none; }
}

/* === HERO === */
.hero-section {
  background: var(--color-white);
  padding-top: 64px; /* header height offset */
  padding-bottom: 0;
}

.hero-bg { display: none; }
.hero-eyebrow { display: none; }

.hero-content {
  text-align: center;
  padding: 88px 0 0;
  max-width: 1200px;
  margin: 0 auto;
}

.hero-content h1 {
  color: var(--color-text);
  max-width: 1040px;
  margin: 0 auto 24px;
}

.hero-h1-secondary { color: var(--color-text-secondary); }

.hero-content > p {
  color: var(--color-text-secondary);
  font-size: clamp(1.125rem, 2vw, 1.3125rem);
  line-height: 1.45;
  max-width: 800px;
  margin: 0 auto 36px;
}

.hero-buttons {
  display: flex;
  gap: 12px 28px;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  margin-bottom: 72px;
}

.btn-hero-primary {
  background: var(--color-accent);
  color: var(--color-white);
  padding: 14px 28px;
  font-size: 1.1875rem;
  font-weight: 400;
}
.btn-hero-primary:hover {
  background: #0062C3;
  color: var(--color-white);
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,113,227,0.4);
}

.btn-hero-secondary {
  background: none;
  border: none;
  color: var(--color-link);
  font-size: 1.0625rem;
  font-weight: 400;
  padding: 0;
  backdrop-filter: none;
}
.btn-hero-secondary:hover {
  background: none;
  color: var(--color-link);
  text-decoration: none;
  opacity: 0.85;
  transform: none;
}

.hero-image-card {
  max-width: 880px;
  margin: 0 auto;
  aspect-ratio: 4/3;
  background: #E8E8ED;
  border-radius: 32px;
  overflow: hidden;
  position: relative;
}
.hero-image-card img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 50% 100%;
  display: block;
}

/* === SECTION HEADERS === */
.section-label {
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: normal;
  text-transform: none;
  color: var(--color-link);
  margin-bottom: 12px;
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}
.section-header h2 { margin-bottom: 16px; }
.section-header p { max-width: 780px; margin: 0 auto; font-size: clamp(1.125rem, 2vw, 1.3125rem); }

/* === ABOUT SECTION === */
.about-section { background: var(--color-bg-light); }

.about-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 64px;
  align-items: center;
}

.about-text {
  flex: 1 1 440px;
  min-width: 0;
}
.about-text h2 { margin-bottom: 20px; }
.about-text p { margin-bottom: 16px; font-size: 1.3125rem; line-height: 1.45; }
.about-text .btn-secondary {
  border: none;
  background: none;
  padding: 0;
  color: var(--color-link);
  font-size: 1.0625rem;
  font-weight: 400;
}
.about-text .btn-secondary:hover { background: none; transform: none; }

.about-photos {
  flex: 1 1 400px;
  min-width: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-items: start;
}
.about-photos .photo-item {
  border-radius: 28px;
  overflow: hidden;
  aspect-ratio: 3/4;
  position: relative;
}
.about-photos .photo-item:nth-child(2) { margin-top: 48px; }
.about-photos .photo-item img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.about-photos .photo-item:hover img { transform: scale(1.04); }

@media (max-width: 900px) {
  .about-grid { gap: 48px; }
  .about-photos .photo-item:nth-child(2) { margin-top: 24px; }
}

/* === SERVICES SECTION === */
.services-section { background: var(--color-white); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}

.service-card {
  background: var(--color-bg-light);
  border-radius: 28px;
  padding: 34px 30px;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 300px;
}
.service-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}

.service-icon {
  display: block;
  flex-shrink: 0;
  line-height: 0;
}

.service-card h3 {
  font-size: 1.3125rem;
  margin: 8px 0 0;
  color: var(--color-text);
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.service-card p {
  font-size: 0.9375rem;
  line-height: 1.6;
  flex: 1;
  margin: 0;
}
.service-card .btn-ghost { font-size: 0.9375rem; margin-top: auto; }

.services-cta { text-align: center; }

@media (max-width: 1024px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .services-grid { grid-template-columns: 1fr; } }

/* === INDUSTRIES SECTION === */
.industries-section { background: var(--color-bg-light); }

.industries-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 48px;
}

.industry-card {
  flex: 1 1 240px;
  min-width: 0;
  background: #16264A;
  border-radius: 28px;
  padding: 36px 30px;
  text-align: left;
  transition: background var(--transition);
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 260px;
}
.industry-card:hover { background: #1e3366; transform: none; box-shadow: none; }

.industry-icon {
  display: block;
  flex-shrink: 0;
  line-height: 0;
  margin-bottom: 0;
}
.industry-card h3 { font-size: 1.4375rem; color: #FFFFFF; margin-top: auto; margin-bottom: 0; line-height: 1.2; letter-spacing: -0.01em; }
.industry-card p { font-size: 1.0625rem; color: #C9D3E8; margin: 0; }

.industries-cta { text-align: center; margin-top: 48px; }

@media (max-width: 900px) { .industries-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .industries-grid { grid-template-columns: 1fr; } }

/* === HOW WE WORK === */
.howwework-section { background: var(--color-white); }

.steps-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 0 0 48px;
}
.steps-row::before { display: none; }

.step-item {
  flex: 1 1 320px;
  min-width: 0;
  background: var(--color-bg-light);
  border-radius: 28px;
  padding: 34px 32px;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  position: static;
  z-index: auto;
  text-align: left;
}

.step-number {
  font-weight: 600;
  font-size: 3.5rem;
  line-height: 1;
  letter-spacing: -0.04em;
  color: #16264A;
  width: auto;
  height: auto;
  background: none;
  border: none;
  border-radius: 0;
  margin: 0;
  display: block;
  transition: none;
}
.step-item:hover .step-number { background: none; color: #16264A; transform: none; }

.step-item h3 { display: none; }
.step-item > div > h3 { display: none; }
.step-item p { font-size: 1.3125rem; line-height: 1.3; font-weight: 500; color: var(--color-text); margin: 0; }

.howwework-cta { text-align: center; }

.howwework-cta .btn-secondary {
  border: none;
  background: none;
  padding: 0;
  color: var(--color-link);
  font-size: 1.0625rem;
  font-weight: 400;
}
.howwework-cta .btn-secondary:hover { background: none; transform: none; opacity: 0.85; }

@media (max-width: 768px) {
  .steps-row { gap: 16px; }
  .step-item { flex-basis: calc(50% - 8px); min-height: 160px; }
}
@media (max-width: 480px) {
  .step-item { flex-basis: 100%; }
}

/* === ADVANTAGES === */
.advantages-section {
  background: var(--color-bg-dark);
}
.advantages-section .section-label { color: #7DB5FF; }
.advantages-section h2 { color: var(--color-white); }
.advantages-section .section-header p { color: rgba(255,255,255,0.65); }

.advantages-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 48px 40px;
  margin-top: 64px;
}

.advantage-card {
  flex: 1 1 240px;
  min-width: 0;
  background: none;
  border: none;
  border-radius: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: none;
}
.advantage-card:hover { background: none; }

.advantage-icon {
  display: block;
  flex-shrink: 0;
  line-height: 0;
  margin-bottom: 0;
}
.advantage-card h3 { color: var(--color-white); font-size: 1.5rem; margin: 6px 0 0; line-height: 1.2; letter-spacing: -0.015em; }
.advantage-card p { color: #C9D3E8; font-size: 1.0625rem; margin: 0; }

@media (max-width: 900px) { .advantages-grid { gap: 32px; } .advantage-card { flex-basis: calc(50% - 16px); } }
@media (max-width: 540px) { .advantage-card { flex-basis: 100%; } }

/* === GALLERY === */
.gallery-section { background: var(--color-white); }

.gallery-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.gallery-item {
  flex: 1 1 240px;
  min-width: 0;
  border-radius: 24px;
  overflow: hidden;
  position: relative;
  aspect-ratio: 3/4;
}
.gallery-item img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  display: block;
  min-height: unset;
}
.gallery-item:hover img { transform: scale(1.04); }

.gallery-caption {
  position: absolute;
  left: 14px;
  top: 14px;
  bottom: auto;
  right: auto;
  padding: 7px 13px;
  border-radius: 999px;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--color-text);
  font-size: 0.875rem;
  font-weight: 600;
  opacity: 1;
}

@media (max-width: 600px) {
  .gallery-item { flex-basis: calc(50% - 8px); }
}
@media (max-width: 390px) {
  .gallery-item { flex-basis: 100%; aspect-ratio: 4/3; }
}

/* === OEM SECTION === */
.oem-section { background: var(--color-bg-light); }

.oem-inner {
  background: var(--color-white);
  border-radius: 40px;
  padding: 56px;
}

.oem-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 56px;
  align-items: center;
}

.oem-image {
  flex: 1 1 380px;
  min-width: 0;
  border-radius: 28px;
  overflow: hidden;
  aspect-ratio: 834/540;
  position: relative;
}
.oem-image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

.oem-text {
  flex: 1 1 420px;
  min-width: 0;
}
.oem-text h2 { margin-bottom: 20px; }
.oem-text > p { margin-bottom: 24px; font-size: 1.1875rem; line-height: 1.45; }

.oem-list {
  list-style: none;
  margin-bottom: 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.oem-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 1.1875rem;
  color: var(--color-text);
  padding: 0;
  border-bottom: none;
}
.oem-list li::before { content: none; }
.oem-list .oem-check { flex-shrink: 0; margin-top: 2px; }

@media (max-width: 900px) {
  .oem-inner { padding: 32px; }
  .oem-grid { gap: 36px; }
}
@media (max-width: 600px) { .oem-inner { padding: 24px 16px; } }

/* === ARTICLES === */
.articles-section { background: var(--color-white); }

.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.article-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--color-bg-light);
  transition: all var(--transition);
  box-shadow: var(--shadow-card);
}
.article-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.article-cover {
  aspect-ratio: 16/9;
  overflow: hidden;
}
.article-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.article-card:hover .article-cover img { transform: scale(1.04); }

.article-body { padding: 24px; }
.article-date {
  font-size: 0.8125rem;
  color: var(--color-text-secondary);
  margin-bottom: 10px;
}
.article-body h3 { font-size: 1.0625rem; margin-bottom: 12px; }
.article-body p { font-size: 0.9375rem; margin-bottom: 20px; }

.articles-cta { text-align: center; }

@media (max-width: 900px) { .articles-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .articles-grid { grid-template-columns: 1fr; } }

/* === CTA SECTION === */
.cta-section {
  background: var(--color-bg-light);
  overflow: visible;
  position: static;
  padding-top: 0;
  padding-bottom: 120px;
}
.cta-section::before { display: none; }

.cta-panel {
  background: var(--color-bg-dark);
  border-radius: 40px;
  padding: 64px;
}

.cta-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 56px;
  align-items: flex-start;
}

.cta-text {
  flex: 1 1 340px;
  min-width: 0;
}
.cta-text h2 { color: var(--color-white); margin-bottom: 20px; }
.cta-text p { color: rgba(255,255,255,0.7); margin-bottom: 0; font-size: 1.25rem; }

.cta-inner .contact-form {
  flex: 1 1 440px;
  min-width: 0;
}

@media (max-width: 1024px) {
  .cta-panel { padding: 40px 32px; }
  .cta-inner { gap: 36px; }
}
@media (max-width: 540px) {
  .cta-panel { padding: 24px 16px; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 24px 16px; }
}

/* === FORM === */
.contact-form { background: var(--color-white); border-radius: var(--radius-xl); padding: 40px; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  margin-bottom: 16px;
}
.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text);
  margin-bottom: 6px;
}
.form-group .required { color: var(--color-accent); }

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-family: var(--font-family);
  font-size: 0.9375rem;
  color: var(--color-text);
  background: var(--color-white);
  transition: border-color var(--transition), box-shadow var(--transition);
  -webkit-appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(0,113,227,0.15);
}
.form-group textarea { resize: vertical; min-height: 120px; }

.form-group-file label { cursor: pointer; }
.file-upload-label {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border: 1.5px dashed var(--color-border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  color: var(--color-text-secondary);
  font-size: 0.9375rem;
  transition: border-color var(--transition);
}
.file-upload-label:hover { border-color: var(--color-accent); color: var(--color-accent); }
.form-group input[type="file"] { display: none; }

.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 20px;
}
.form-consent input[type="checkbox"] {
  width: 18px; height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: var(--color-accent);
}
.form-consent label {
  font-size: 0.875rem;
  color: var(--color-text-secondary);
  cursor: pointer;
}
.form-consent a { color: var(--color-link); }

.form-honeypot { display: none !important; }

.form-submit .btn { width: 100%; justify-content: center; padding: 16px; }

.form-message {
  display: none;
  padding: 16px;
  border-radius: var(--radius-sm);
  margin-top: 16px;
  font-size: 0.9375rem;
  font-weight: 500;
}
.form-message.success {
  background: #E8F5E9;
  color: #2E7D32;
  border: 1px solid #A5D6A7;
}
.form-message.error {
  background: #FFEBEE;
  color: #C62828;
  border: 1px solid #FFCDD2;
}
.form-message.show { display: block; }

@media (max-width: 1024px) { .cta-inner { grid-template-columns: 1fr; } }
@media (max-width: 540px) { .form-row { grid-template-columns: 1fr; } .contact-form { padding: 24px 16px; } }

/* === FOOTER === */
.site-footer {
  background: var(--color-bg-light);
  color: #515154;
  padding: 48px 0 28px;
}

.footer-tagline {
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--color-text);
  max-width: 640px;
  line-height: 1.3;
  padding-bottom: 28px;
}
.footer-divider {
  border-bottom: 1px solid var(--color-border);
  margin-bottom: 28px;
}

.footer-cols {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--color-border);
}

.footer-col {
  flex: 1 1 200px;
  min-width: 0;
}

.footer-col-heading {
  color: var(--color-text);
  font-weight: 600;
  font-size: 0.875rem;
  margin-bottom: 12px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-col ul li a {
  color: #515154;
  font-size: 0.875rem;
  text-decoration: none;
  transition: color var(--transition);
}

.footer-col ul li a:hover { color: var(--color-text); }

.footer-contact-col {
  flex: 1 1 220px;
  min-width: 0;
}

.footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.875rem;
  color: #515154;
  margin-bottom: 16px;
}

.footer-btn-sm {
  display: inline-block;
  background: var(--color-accent);
  color: var(--color-white);
  font-size: 0.875rem;
  font-weight: 400;
  padding: 9px 18px;
  border-radius: var(--radius-pill);
  text-decoration: none;
}
.footer-btn-sm:hover {
  background: #0062C3;
  color: var(--color-white);
  text-decoration: none;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding-top: 20px;
  font-size: 0.875rem;
  color: #515154;
}

.footer-bottom a {
  color: #515154;
  font-size: 0.875rem;
  text-decoration: underline;
}

.footer-bottom a:hover { color: var(--color-text); }

.footer-bottom-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

/* === FACT CARDS (light bg, used on about page) === */
.fact-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  border: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.fact-card h3 { font-size: 1.0625rem; color: var(--color-text); margin: 0; }
.fact-card p  { font-size: 0.9375rem; margin: 0; }

@media (max-width: 540px) {
  .footer-cols { gap: 24px; }
  .footer-bottom { flex-direction: column; gap: 12px; }
}

/* === UTILITY === */
.text-center { text-align: center; }
.mt-8 { margin-top: 8px; }
.mb-0 { margin-bottom: 0 !important; }

/* === PAGE CONTENT === */
.page-hero {
  background: var(--color-bg-light);
  padding: 120px 0 80px;
  text-align: center;
}
.page-hero h1 { color: var(--color-text); }
.page-hero .section-label { color: var(--color-link); }
.page-hero p { color: var(--color-text-secondary); max-width: 580px; margin: 20px auto 0; }

.page-content { padding: 80px 0; }

/* === MANAGERS SECTION === */
.managers-section {
  background: var(--color-bg-light);
  padding: 80px 0;
}

.managers-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.manager-card {
  flex: 1 1 280px;
  min-width: 0;
  background: var(--color-white);
  border-radius: 28px;
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.manager-name {
  font-size: 1.3125rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 4px;
}
.manager-role {
  font-size: 0.9375rem;
  color: var(--color-text-secondary);
}

.manager-channels {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.channel-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  border-radius: 999px;
  font-size: 0.9375rem;
  font-weight: 500;
  font-family: var(--font-family);
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: opacity var(--transition);
  color: #FFFFFF;
  line-height: 1;
}
.channel-btn:hover { opacity: 0.85; text-decoration: none; color: #FFFFFF; }
.channel-btn svg { flex-shrink: 0; }
.channel-wa { background: #25D366; }
.channel-tg { background: #229ED9; }
.channel-wc { background: #07C160; }

.manager-email-link,
a.manager-email-link {
  font-size: 0.9375rem;
  color: var(--color-link);
  text-decoration: none;
}
.manager-email-link:hover { text-decoration: underline; }

/* === REQUEST SECTION (contacts page) === */
.request-section { padding: 96px 0; background: var(--color-white); }

.request-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 80px;
  align-items: start;
}

.request-intro h2 { margin-bottom: 16px; }
.request-intro p  { color: var(--color-text-secondary); margin: 0; }

@media (max-width: 860px) {
  .request-grid { grid-template-columns: 1fr; gap: 48px; }
  .managers-grid { gap: 16px; }
  .manager-card  { flex: 1 1 100%; }
}

/* === WECHAT MODAL === */
.wechat-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
}
.wechat-modal[hidden] { display: none; }

.wechat-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  cursor: pointer;
}

.wechat-modal-box {
  position: relative;
  background: var(--color-white);
  border-radius: 28px;
  padding: 40px 48px;
  text-align: center;
  max-width: 360px;
  width: calc(100% - 48px);
  z-index: 1;
}

.wechat-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--color-bg-light);
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text);
  transition: background var(--transition);
}
.wechat-modal-close:hover { background: var(--color-border); }

.wechat-modal-name {
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--color-text);
  margin: 0 0 20px;
}

.wechat-modal-box img {
  width: 220px;
  height: 220px;
  object-fit: contain;
  border-radius: 12px;
  margin: 0 auto 16px;
  display: block;
}

.wechat-modal-id {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-text);
  margin: 0 0 8px;
}
.wechat-modal-hint {
  font-size: 0.8125rem;
  color: var(--color-text-secondary);
  margin: 0;
}

/* === FOOTER CHANNELS === */
.footer-channels {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 0;
}
.footer-channels a {
  color: var(--color-text-secondary);
  text-decoration: none;
  font-size: 0.9375rem;
}
.footer-channels a:hover { color: var(--color-text); }
.footer-channels a + a::before {
  content: '\00a0/\00a0';
  color: var(--color-border);
}
a.footer-email-link {
  color: var(--color-text-secondary);
  text-decoration: none;
  font-size: 0.9375rem;
}
a.footer-email-link:hover { color: var(--color-text); }

/* Admin bar + fixed header */
.admin-bar .site-header { top: 32px; }
@media screen and (max-width: 782px) {
  .admin-bar .site-header { top: 46px; }
}

/* Lang switcher — desktop tək button */
.btn-lang {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  height: 32px;
  padding: 0 6px;
  border: none;
  background: transparent;
  color: var(--color-text-secondary, #6E6E73);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-decoration: none;
  transition: color 0.15s;
}
.btn-lang:hover {
  color: var(--color-accent, #0071E3);
  background: transparent;
  text-decoration: none;
}

/* Mobile nav lang switcher */
.lang-switcher--mobile {
  display: none;
  align-items: center;
  gap: 0.25rem;
  padding: 0.75rem 1.25rem;
  border-top: 1px solid var(--color-border);
  margin-top: 0.5rem;
}
.lang-switcher__link {
  color: var(--color-text-secondary);
  text-decoration: none;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  font-size: 0.875rem;
  font-weight: 600;
}
.lang-switcher__link--active { color: var(--color-accent); }
.lang-switcher__sep { color: var(--color-border); user-select: none; }

@media (max-width: 768px) {
  .lang-switcher--mobile { display: flex; }
  .btn-lang { display: none; }
}

.lang-switcher--footer .lang-switcher__link { color: var(--color-text-secondary); }
.lang-switcher--footer .lang-switcher__link--active { color: #fff; }

.footer-address { display: block; font-size: 0.8rem; line-height: 1.4; color: var(--color-text-secondary, #6E6E73); }
.footer-legal { display: block; font-size: 0.75rem; color: var(--color-text-tertiary, #A0A0A5); margin-top: 0.25rem; }
