:root {
  color-scheme: light dark;
  --bg: #f4f1ee;
  --surface: rgba(255, 255, 255, 0.82);
  --surface-strong: #ffffff;
  --text: #1c1b1a;
  --muted: #625b56;
  --line: rgba(105, 77, 66, 0.14);
  --accent: #8f201c;
  --accent-dark: #651713;
  --accent-soft: rgba(143, 32, 28, 0.1);
  --shadow: 0 22px 60px rgba(34, 20, 17, 0.12);
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --container: 1380px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(143, 32, 28, 0.08), transparent 30%),
    linear-gradient(180deg, #faf7f4 0%, #f2eeea 55%, #ece7e2 100%);
  line-height: 1.65;
}

@media (min-width: 1100px) {
  body {
    zoom: 0.92;
  }
}

@media (min-width: 1480px) {
  body {
    zoom: 0.86;
  }
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(18px);
  background: rgba(250, 247, 244, 0.78);
  border-bottom: 1px solid rgba(120, 94, 85, 0.08);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}

.brand-logo {
  width: 160px;
  max-height: 64px;
  object-fit: contain;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand-name {
  font-size: 0.98rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand-tagline {
  font-size: 0.92rem;
  color: var(--muted);
}

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav a {
  padding: 12px 14px;
  border-radius: 999px;
  font-weight: 600;
  color: #382f2b;
  transition: 0.2s ease;
}

.site-nav a:hover,
.site-nav a.active {
  background: rgba(143, 32, 28, 0.08);
  color: var(--accent);
}

.nav-login {
  border: 1px solid rgba(143, 32, 28, 0.18);
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.72);
  padding: 0;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  margin: 5px auto;
  border-radius: 999px;
}

.language-bar {
  border-top: 1px solid rgba(120, 94, 85, 0.06);
}

.language-bar-inner {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  padding: 10px 0 14px;
}

.language-label {
  color: var(--muted);
  font-size: 0.9rem;
}

.lang-pill {
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(143, 32, 28, 0.14);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  background: rgba(255, 255, 255, 0.7);
}

.lang-pill.active {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
}

.hero-home,
.hero-page {
  position: relative;
  overflow: hidden;
}

.hero-home {
  padding: 56px 0 28px;
}

.hero-slider {
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease;
  background-size: cover;
  background-position: center;
}

.hero-slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, rgba(15, 12, 11, 0.78), rgba(15, 12, 11, 0.36));
}

.hero-slide.is-active {
  opacity: 1;
}

.hero-shell {
  position: relative;
  z-index: 1;
  min-height: 590px;
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(320px, 0.82fr);
  gap: 36px;
  align-items: center;
  padding: 56px;
}

.hero-page {
  padding: 42px 0 24px;
}

.hero-page .hero-shell {
  min-height: 520px;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(115deg, rgba(20, 16, 15, 0.95), rgba(38, 24, 22, 0.7)),
    var(--hero-bg, url('/img/slider/hero1.jpg')) center/cover no-repeat;
  box-shadow: var(--shadow);
}

.hero-copy {
  color: white;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.83rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero-copy h1 {
  margin: 20px 0 18px;
  font-size: clamp(2.8rem, 4vw, 4.7rem);
  line-height: 1.03;
  letter-spacing: -0.04em;
}

.hero-copy p,
.section-lead,
.feature-card p,
.category-card p,
.split-copy p,
.site-footer p,
.footer-links a,
.contact-card,
.contact-card input,
.contact-card textarea {
  color: rgba(255, 255, 255, 0.86);
}

.hero-page .hero-copy p,
.section-heading p,
.feature-card p,
.category-card p,
.split-copy p,
.site-footer p,
.footer-links a,
.contact-card,
.contact-card input,
.contact-card textarea {
  color: unset;
}

.hero-copy .lead,
.section-lead {
  font-size: 1.1rem;
  max-width: 760px;
}

.hero-actions,
.hero-badges,
.contact-points {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-actions {
  margin-top: 28px;
}

.hero-badges {
  margin-top: 18px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 16px;
  font-weight: 700;
  border: 1px solid transparent;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(180deg, #a92c24 0%, var(--accent-dark) 100%);
  color: white;
  box-shadow: 0 16px 32px rgba(143, 32, 28, 0.24);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border-color: rgba(255, 255, 255, 0.2);
}

.hero-page .btn-secondary {
  background: rgba(255, 255, 255, 0.08);
}

.btn-light {
  background: rgba(255, 255, 255, 0.86);
  color: var(--text);
}

.btn-block {
  width: 100%;
}

.chip,
.mini-badge,
.stat-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: white;
  font-size: 0.88rem;
  font-weight: 600;
}

.hero-page .chip,
.hero-page .mini-badge {
  background: rgba(255, 255, 255, 0.12);
}

.hero-panel {
  position: relative;
  display: grid;
  gap: 18px;
}

.glass-card,
.hero-panel-card,
.stat-card,
.category-card,
.feature-card,
.logo-card,
.partner-card,
.contact-card,
.info-strip,
.split-card {
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.42);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.hero-panel-card {
  border-radius: 26px;
  padding: 22px;
}

.hero-panel-card img {
  width: 100%;
  aspect-ratio: 1.1;
  object-fit: contain;
  border-radius: 18px;
  background: transparent;
}

.panel-meta {
  margin-top: 16px;
  display: grid;
  gap: 10px;
}

.panel-meta strong {
  font-size: 1.1rem;
}

.panel-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 22px;
}

.stat-card {
  border-radius: 22px;
  padding: 22px;
}

.stat-card strong {
  display: block;
  margin-top: 14px;
  font-size: 1.08rem;
}

.stat-card span {
  background: var(--accent-soft);
  color: var(--accent);
}

.section {
  padding: 88px 0;
}

.section-tight {
  padding-top: 28px;
}

.section-heading {
  max-width: 780px;
  margin: 0 auto 36px;
  text-align: center;
}

.section-heading.left-align {
  margin-left: 0;
  text-align: left;
}

.section-heading h2 {
  margin: 16px 0 12px;
  font-size: clamp(2rem, 2.8vw, 3.3rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.section-heading p {
  color: var(--muted);
  font-size: 1.04rem;
}

.info-strip {
  border-radius: 28px;
  padding: 32px;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 20px;
}

.info-strip h3 {
  font-size: 1.55rem;
  margin: 0 0 10px;
}

.info-strip p,
.split-copy p,
.category-card p,
.feature-card p,
.footer-links a,
.site-footer p,
.contact-card .form-message,
.panel-list,
.panel-meta p {
  color: var(--muted);
}

.info-point {
  padding: 20px;
  border-radius: 20px;
  background: rgba(143, 32, 28, 0.04);
  border: 1px solid rgba(143, 32, 28, 0.08);
}

.info-point strong {
  display: block;
  margin-bottom: 8px;
}

.category-grid,
.feature-grid,
.logo-grid,
.partner-grid,
.gallery-grid,
.process-grid,
.related-grid {
  display: grid;
  gap: 22px;
}

.category-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.category-card {
  border-radius: 24px;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.category-card:hover,
.feature-card:hover,
.partner-card:hover,
.logo-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 70px rgba(34, 20, 17, 0.15);
}

.category-media {
  background: linear-gradient(180deg, rgba(143, 32, 28, 0.05), rgba(143, 32, 28, 0));
  padding: 22px 22px 0;
}

.category-media img {
  width: 100%;
  aspect-ratio: 1.24;
  object-fit: contain;
  border-radius: 18px;
  background: transparent;
}

.category-body {
  padding: 22px;
}

.category-body h3,
.feature-card h3,
.partner-card h3,
.split-copy h3 {
  margin: 0 0 10px;
  font-size: 1.32rem;
}

.link-arrow {
  display: inline-flex;
  margin-top: 10px;
  color: var(--accent);
  font-weight: 700;
}

.feature-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-card {
  border-radius: 24px;
  padding: 24px;
}

.feature-card-image {
  margin-top: 18px;
  border-radius: 18px;
  overflow: hidden;
  background: transparent;
}

.feature-card-image img {
  width: 100%;
  aspect-ratio: 1.15;
  object-fit: cover;
}

.logo-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.logo-card {
  border-radius: 20px;
  padding: 28px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 140px;
}

.logo-card img {
  max-width: 100%;
  max-height: 64px;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.82;
  transition: 0.25s ease;
}

.logo-card:hover img {
  filter: grayscale(0);
  opacity: 1;
}

.partner-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.partner-card {
  border-radius: 26px;
  padding: 24px;
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 20px;
  align-items: center;
}

.partner-card img {
  width: 100%;
  height: 120px;
  object-fit: contain;
  border-radius: 18px;
  background: white;
  padding: 18px;
}

.gallery-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.gallery-grid img {
  width: 100%;
  aspect-ratio: 1.1;
  object-fit: cover;
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.split-layout {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 24px;
}

.split-card {
  border-radius: 28px;
  padding: 28px;
}

.split-copy ul,
.split-card ul {
  margin: 18px 0 0;
  padding-left: 20px;
  color: var(--muted);
}

.split-card img {
  width: 100%;
  border-radius: 20px;
  background: transparent;
}

.process-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.process-step {
  padding: 24px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(143, 32, 28, 0.08);
  box-shadow: var(--shadow);
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 800;
}

.section-contact {
  padding-top: 44px;
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.96fr 1.04fr;
  gap: 28px;
  align-items: start;
}

.contact-card {
  border-radius: 30px;
  padding: 26px;
  display: grid;
  gap: 16px;
}

.contact-card input,
.contact-card textarea {
  width: 100%;
  border: 1px solid rgba(98, 91, 86, 0.18);
  background: rgba(255, 255, 255, 0.92);
  border-radius: 16px;
  padding: 15px 16px;
  font: inherit;
  color: var(--text);
}

.contact-card input:focus,
.contact-card textarea:focus {
  outline: none;
  border-color: rgba(143, 32, 28, 0.36);
  box-shadow: 0 0 0 4px rgba(143, 32, 28, 0.08);
}

.file-row {
  display: grid;
  gap: 10px;
}

.file-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 18px;
  border-radius: 16px;
  background: rgba(143, 32, 28, 0.08);
  border: 1px dashed rgba(143, 32, 28, 0.18);
  color: var(--accent);
  font-weight: 700;
  cursor: pointer;
}

.contact-card input[type="file"] {
  display: none;
}

.form-message {
  min-height: 28px;
  font-weight: 600;
}

.section-contact .section-heading .eyebrow {
  background: var(--accent-soft);
  color: var(--accent);
}

.section-contact .section-heading p {
  color: var(--muted);
}

.section-contact .contact-points .chip {
  background: rgba(255, 255, 255, 0.92);
  color: var(--accent);
  border: 1px solid rgba(143, 32, 28, 0.12);
  box-shadow: 0 12px 28px rgba(34, 20, 17, 0.08);
}

.section-contact .contact-card {
  background: rgba(255, 255, 255, 0.94);
}


.site-footer {
  margin-top: 36px;
  padding: 34px 0 18px;
  background: #191514;
  color: rgba(255, 255, 255, 0.84);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.85fr 0.85fr;
  gap: 26px;
}

.footer-brand,
.footer-title {
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.site-footer a:hover {
  color: white;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.56);
}

.breadcrumbs {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
}

.page-anchor-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.page-anchor-nav a {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: white;
  font-weight: 600;
}

.related-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #111315;
    --surface: rgba(25, 28, 32, 0.84);
    --surface-strong: #191c20;
    --text: #f1ece7;
    --muted: #b9b0a9;
    --line: rgba(255, 255, 255, 0.08);
    --accent: #d56b61;
    --accent-dark: #a53d35;
    --accent-soft: rgba(213, 107, 97, 0.14);
    --shadow: 0 22px 60px rgba(0, 0, 0, 0.28);
  }

  body {
    background:
      radial-gradient(circle at top left, rgba(213, 107, 97, 0.12), transparent 30%),
      linear-gradient(180deg, #121416 0%, #16191d 55%, #101214 100%);
  }

  .site-header {
    background: rgba(18, 20, 23, 0.82);
    border-bottom-color: rgba(255, 255, 255, 0.08);
  }

  .site-nav a {
    color: #ede7e1;
  }

  .site-nav a:hover,
  .site-nav a.active {
    background: rgba(213, 107, 97, 0.14);
    color: #ffd6d0;
  }

  .nav-login,
  .menu-toggle,
  .lang-pill,
  .site-nav {
    background: rgba(25, 28, 32, 0.92);
    border-color: rgba(255, 255, 255, 0.1);
  }

  .menu-toggle span {
    background: #f1ece7;
  }

  .glass-card,
  .hero-panel-card,
  .stat-card,
  .category-card,
  .feature-card,
  .logo-card,
  .partner-card,
  .contact-card,
  .info-strip,
  .split-card {
    border-color: rgba(255, 255, 255, 0.08);
  }

  .process-step {
    background: rgba(25, 28, 32, 0.88);
    border-color: rgba(255, 255, 255, 0.08);
  }

  .info-point {
    background: rgba(213, 107, 97, 0.1);
    border-color: rgba(213, 107, 97, 0.18);
  }

  .partner-card img {
    background: rgba(255, 255, 255, 0.03);
  }

  .contact-card input,
  .contact-card textarea {
    background: rgba(16, 19, 22, 0.92);
    border-color: rgba(255, 255, 255, 0.12);
    color: var(--text);
  }

  .file-label {
    background: rgba(213, 107, 97, 0.12);
    border-color: rgba(213, 107, 97, 0.28);
    color: #ffd6d0;
  }

  .section-contact .contact-points .chip {
    background: rgba(25, 28, 32, 0.92);
    color: #ffd6d0;
    border-color: rgba(213, 107, 97, 0.18);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
  }

  .site-footer {
    background: #0e1012;
  }

  .footer-bottom {
    border-top-color: rgba(255, 255, 255, 0.1);
  }
}

@media (max-width: 1100px) {
  body {
    zoom: 1;
  }

  .hero-shell,
  .contact-layout,
  .split-layout,
  .info-strip,
  .footer-grid,
  .partner-card {
    grid-template-columns: 1fr;
  }

  .category-grid,
  .feature-grid,
  .gallery-grid,
  .process-grid,
  .related-grid,
  .logo-grid,
  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .logo-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 12px);
    right: 20px;
    left: 20px;
    background: rgba(250, 247, 244, 0.96);
    border: 1px solid rgba(120, 94, 85, 0.12);
    border-radius: 22px;
    box-shadow: var(--shadow);
    padding: 14px;
    display: none;
  }

  .site-nav.open {
    display: block;
  }

  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
  }

  .site-nav a {
    display: block;
  }

  .header-inner {
    position: relative;
  }

  .brand-copy {
    display: none;
  }

  .hero-shell {
    padding: 30px;
    min-height: auto;
  }

  .hero-copy h1 {
    font-size: clamp(2.2rem, 9vw, 3.2rem);
  }

  .language-bar-inner {
    justify-content: center;
    flex-wrap: wrap;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(calc(100% - 24px), var(--container));
  }

  .section {
    padding: 68px 0;
  }

  .category-grid,
  .feature-grid,
  .gallery-grid,
  .process-grid,
  .related-grid,
  .logo-grid,
  .partner-grid,
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .hero-home {
    padding-top: 26px;
  }

  .hero-shell,
  .hero-page .hero-shell,
  .contact-card,
  .split-card,
  .hero-panel-card,
  .partner-card,
  .info-strip,
  .stat-card {
    padding: 22px;
    border-radius: 24px;
  }

  .footer-bottom {
    flex-direction: column;
  }
}
