/* ============================================
   MOTAI - Global Styles
   ============================================ */

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

:root {
  --red: #d22236;
  --dark: #231815;
  --black: #000000;
  --white: #ffffff;
  --gray-light: #f5f5f5;
  --gray: #e2e2e2;
  --text-body: #040000;
  --text-muted: #666464;
  --footer-bg: #1f1f1f;
  --nav-height: 90px;
  --font-heading: "Poppins", "PingFang SC", sans-serif;
  --font-body: "Helvetica Neue", Helvetica, "PingFang SC", sans-serif;
  --max-width: 1440px;
  --section-padding: 80px 40px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--text-body);
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  text-decoration: none;
  color: inherit;
}
ul {
  list-style: none;
}

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: transparent;
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);
  height: var(--nav-height);
  display: flex;
  align-items: center;
  padding: 0 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0);
  transition: all 0.3s ease;
}

.navbar.scrolled {
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-container {
  display: flex;
  align-items: center;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  gap: 40px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

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

.logo-text {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 1px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  margin-left: auto;
}

.nav-links a {
  color: var(--white);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  transition: color 0.2s;
  white-space: nowrap;
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -3px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transition: transform 0.2s;
}

.nav-links a:hover {
  color: var(--red);
}
.nav-links a:hover::after,
.nav-links a.active::after {
  transform: scaleX(1);
}
.nav-links a.active {
  color: var(--red);
}

/* Dropdown */
.nav-dropdown {
  position: relative;
}
.nav-dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
}
.nav-dropdown-toggle .dropdown-arrow {
  width: 10px;
  height: 10px;
  transition: transform 0.25s;
  flex-shrink: 0;
}
.nav-dropdown:hover .dropdown-arrow,
.nav-dropdown.open .dropdown-arrow {
  transform: rotate(180deg);
}
.dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 280px;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 6px;
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.25s,
    visibility 0.25s,
    transform 0.25s;
  transform: translateX(-50%) translateY(8px);
  z-index: 100;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}
.dropdown-menu::before {
  content: "";
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 12px;
}
.nav-dropdown:hover .dropdown-menu,
.nav-dropdown.open .dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

/* Mega Menu for Products (List Style) */
.nav-mega-dropdown {
  position: static;
}

.mega-menu {
  position: absolute;
  top: var(--nav-height);
  left: 0;
  right: 0;
  width: 100%;
  background: rgba(255, 255, 255, 1);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  padding: 30px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 99;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.nav-mega-dropdown:hover .mega-menu,
.nav-mega-dropdown.open .mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mega-menu-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
}

.mega-menu-section {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.mega-menu-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 12px;
}

.mega-menu-indicator {
  width: 4px;
  height: 24px;
  background: var(--red);
}

.mega-menu-title {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 600;
  color: var(--red);
}

.mega-menu-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}

.mega-product-card {
  width: 120px;
  text-align: center;
  text-decoration: none;
  color: #333;
  transition: transform 0.3s;
}

.mega-product-card:hover {
  transform: translateY(-5px);
}

.mega-product-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 4/3;
  object-fit: contain;
  margin: 0 auto 4px;
}

.mega-menu .mega-product-name {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  color: #333 !important;
  display: block !important;
  opacity: 1 !important;
  margin-top: 8px;
}

.mega-product-card:hover .mega-product-name {
  color: var(--red) !important;
}

.mega-menu-close {
  position: absolute;
  top: 20px;
  right: 40px;
  cursor: pointer;
  color: #999;
  transition: color 0.2s;
  z-index: 10;
}

.mega-menu-close:hover {
  color: var(--red);
}

.mega-menu-close svg {
  width: 24px;
  height: 24px;
}

@media (max-width: 768px) {
  .mega-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    display: none;
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    box-shadow: none;
    transform: none;
  }
  .nav-mega-dropdown.open .mega-menu {
    display: block;
  }
  .mega-menu-grid {
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
  }
  .mega-menu-container {
    padding: 0;
    gap: 30px;
  }
  .mega-menu-close {
    display: none; /* 移动端在菜单内展开，不需要独立关闭按钮 */
  }
  .mega-menu .mega-product-name {
    color: #fff !important; /* 移动端菜单通常是深色背景 */
  }
}

/* Update navbar for mega menu */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: transparent;
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);
  height: var(--nav-height);
  display: flex;
  align-items: center;
  padding: 0 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0);
  transition: all 0.3s ease;
}
.dropdown-menu a {
  display: block;
  padding: 10px 20px;
  font-size: 14px;
  color: #333;
  white-space: nowrap;
  transition:
    background 0.2s,
    color 0.2s;
  position: relative;
}
.dropdown-menu a::after {
  display: none;
}
.dropdown-menu a:hover {
  background: rgba(0, 0, 0, 0.04);
  color: var(--red);
}
.dropdown-menu a.active {
  color: var(--red);
  background: rgba(210, 34, 54, 0.08);
}

.btn-contact {
  background: var(--red);
  color: var(--white);
  font-size: 16px;
  font-weight: 500;
  padding: 10px 28px;
  border-radius: 2px;
  transition:
    background 0.2s,
    transform 0.2s;
  white-space: nowrap;
  flex-shrink: 0;
}

.btn-contact:hover {
  background: #b01a2b;
  transform: translateY(-1px);
}

/* Navbar Light Variant (product pages with light hero) */
.navbar-light .logo-text {
  color: var(--dark);
}

.navbar-light .nav-links a {
  color: var(--dark);
}

.navbar-light .nav-links a:hover {
  color: var(--red);
}

.navbar-light .nav-links a.active {
  color: var(--red);
}

.navbar-light .nav-toggle span {
  background: var(--dark);
}

.navbar-light .lang-switcher-btn {
  color: var(--dark);
  border-color: rgba(0, 0, 0, 0.3);
}

.navbar-light .lang-switcher-btn:hover {
  border-color: rgba(0, 0, 0, 0.6);
  background: rgba(0, 0, 0, 0.05);
}

.navbar.navbar-light.scrolled {
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.navbar.navbar-light.scrolled .nav-links a {
  color: var(--dark);
}

.navbar.navbar-light.scrolled .nav-links a:hover,
.navbar.navbar-light.scrolled .nav-links a.active {
  color: var(--red);
}

.navbar-light .dropdown-menu {
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.navbar-light .dropdown-menu a {
  color: rgba(0, 0, 0, 0.7);
}

.navbar-light .dropdown-menu a:hover {
  background: rgba(0, 0, 0, 0.04);
  color: var(--red);
}

.navbar-light .dropdown-menu a.active {
  color: var(--red);
  background: rgba(210, 34, 54, 0.06);
}

/* Language Switcher */
.lang-switcher {
  position: relative;
  flex-shrink: 0;
}

.lang-switcher-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: var(--white);
  font-size: 14px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  font-family: var(--font-body);
}

.lang-switcher-btn:hover {
  border-color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.08);
}

.lang-switcher-btn svg {
  width: 12px;
  height: 12px;
  transition: transform 0.2s ease;
}

.lang-switcher:hover .lang-switcher-btn svg {
  transform: rotate(180deg);
}

.lang-switcher-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 120px;
  background: rgba(30, 30, 30, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  padding: 6px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: all 0.2s ease;
  z-index: 100;
}

.lang-switcher:hover .lang-switcher-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-switcher-menu a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
  transition: all 0.15s ease;
}

.lang-switcher-menu a:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
}

.lang-switcher-menu a.active {
  color: var(--red);
}

/* Mobile Menu Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: all 0.3s;
}

/* ============================================
   HERO SECTIONS
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: var(--nav-height);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.52);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 80px;
  max-width: var(--max-width);
  margin: 0 auto;
  width: 100%;
}

.hero-subtitle-label {
  color: var(--red);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 20px;
}

.hero-title span {
  color: var(--red);
}

.hero-tagline {
  font-size: clamp(18px, 2.5vw, 32px);
  color: var(--white);
  font-weight: 300;
  margin-bottom: 40px;
}

.hero-desc {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.8);
  max-width: 600px;
  line-height: 1.7;
  margin-bottom: 40px;
}

/* Page Hero (shorter) */
.page-hero {
  position: relative;
  min-height: 55vh;
  display: flex;
  align-items: flex-end;
  padding-bottom: 60px;
  padding-top: var(--nav-height);
  overflow: hidden;
}

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

.page-hero-title {
  font-family: var(--font-heading);
  font-size: clamp(32px, 4.5vw, 60px);
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
}

/* ============================================
   SECTIONS
   ============================================ */
.section {
  padding: var(--section-padding);
}

.section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.section-label {
  color: var(--red);
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(28px, 3.5vw, 46px);
  font-weight: 700;
  color: var(--dark);
  line-height: 1.2;
  margin-bottom: 24px;
}

.section-title.white {
  color: var(--white);
}
.section-title.red {
  color: var(--red);
}

.section-text {
  font-size: clamp(15px, 1.5vw, 18px);
  color: var(--text-body);
  line-height: 1.8;
  max-width: 900px;
}

.section-text.white {
  color: rgba(255, 255, 255, 0.85);
}

.section-bg-dark {
  background: var(--dark);
}

.section-bg-black {
  background: var(--black);
}

.section-bg-gray {
  background: var(--gray-light);
}

/* ============================================
   GRID LAYOUTS
   ============================================ */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* ============================================
   CARDS
   ============================================ */
.card {
  background: var(--white);
  border-radius: 4px;
  overflow: hidden;
  transition:
    transform 0.3s,
    box-shadow 0.3s;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.15);
}

.card-img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  background: var(--gray);
}

.card-body {
  padding: 24px;
}

.card-label {
  color: var(--red);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.card-title {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 12px;
  line-height: 1.3;
}

.card-text {
  font-size: 14px;
  color: #555;
  line-height: 1.6;
  margin-bottom: 20px;
}

.card-link {
  color: var(--red);
  font-size: 14px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s;
}

.card-link:hover {
  gap: 10px;
}
.card-link::after {
  content: "→";
}

/* ============================================
   SOLUTION CARDS (Dark bg)
   ============================================ */
.solution-card {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  min-height: 360px;
  display: flex;
  align-items: flex-end;
  cursor: pointer;
}

.solution-card-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.5s;
}

.solution-card:hover .solution-card-bg {
  transform: scale(1.05);
}

.solution-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.85) 0%,
    rgba(0, 0, 0, 0.2) 60%
  );
}

.solution-card-body {
  position: relative;
  z-index: 2;
  padding: 32px;
  width: 100%;
}

.solution-card-label {
  color: var(--red);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.solution-card-title {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.3;
  margin-bottom: 12px;
}

.solution-card-text {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.6;
  margin-bottom: 20px;
}

.solution-card-link {
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  padding-bottom: 2px;
  transition:
    border-color 0.2s,
    color 0.2s;
}

.solution-card-link:hover {
  color: var(--red);
  border-color: var(--red);
}

.solution-card-link::after {
  content: "→";
}

/* ============================================
   PRODUCT CARDS
   ============================================ */
.product-card {
  text-align: center;
  padding: 24px;
  cursor: pointer;
  transition: background 0.2s;
  border-radius: 4px;
}

.product-card:hover {
  background: var(--gray-light);
}

.product-card img {
  width: 100%;
  height: 180px;
  object-fit: contain;
  margin-bottom: 16px;
}

.product-card-name {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 8px;
}

.product-card-spec {
  font-size: 13px;
  color: #777;
}

/* ============================================
   PRODUCT SERIES SECTION
   ============================================ */
.series-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
}

.series-divider {
  width: 4px;
  height: 36px;
  background: var(--red);
  border-radius: 2px;
}

.series-title {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 700;
  color: var(--dark);
}

.series-title.active {
  color: var(--red);
}

/* ============================================
   FEATURE LIST
   ============================================ */
.feature-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.feature-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.feature-icon {
  width: 48px;
  height: 48px;
  background: var(--red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 20px;
  color: var(--white);
}

.feature-text h3 {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 6px;
}

.feature-text p {
  font-size: 15px;
  color: #555;
  line-height: 1.6;
}

/* ============================================
   STATS
   ============================================ */
.stats-row {
  display: flex;
  gap: 40px;
  align-items: center;
  flex-wrap: wrap;
  margin: 40px 0;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 800;
  color: var(--red);
  line-height: 1;
  display: block;
}

.stat-label {
  font-size: 14px;
  color: #777;
  margin-top: 6px;
}

/* ============================================
   SPEC TABLE
   ============================================ */
.spec-table {
  width: 100%;
  border-collapse: collapse;
}

.spec-table tr:nth-child(even) td {
  background: var(--gray-light);
}

.spec-table td {
  padding: 14px 20px;
  font-size: 15px;
  border-bottom: 1px solid var(--gray);
  color: var(--text-body);
}

.spec-table td:first-child {
  font-weight: 600;
  color: var(--dark);
  width: 200px;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
}

.btn-primary {
  background: var(--red);
  color: var(--white);
}

.btn-primary:hover {
  background: #b01a2b;
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}

.btn-outline:hover {
  background: var(--white);
  color: var(--dark);
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
  position: relative;
  height: 434px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--red);
}

.cta-section-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  mix-blend-mode: multiply;
  opacity: 0.75;
}

.cta-content {
  position: relative;
  z-index: 2;
  padding: 80px;
  text-align: center;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
}

.cta-title {
  font-family: var(--font-heading);
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 700;
  color: var(--white);
  margin: 0;
  line-height: 1.2;
}

/* ============================================
   PHOTO GRID
   ============================================ */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 40px 0;
}

.photo-item {
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: all 0.3s ease;
}

.photo-item img {
  width: 100%;
  aspect-ratio: 16/11;
  object-fit: contain;
  background: var(--gray-light);
  border-radius: 4px;
  margin-bottom: 16px;
  transition: transform 0.3s ease;
}

.photo-item-label {
  font-size: 15px;
  font-weight: 600;
  color: #333;
  transition: color 0.3s ease;
  line-height: 1.4;
}

.photo-item:hover .photo-item-label {
  color: var(--red);
}

.photo-item:hover img {
  transform: translateY(-5px);
}

/* ============================================
   SUSTAINABILITY MILESTONES
   ============================================ */
.timeline {
  display: flex;
  align-items: flex-start;
  gap: 0;
  position: relative;
  margin: 60px 0;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 28px;
  left: 60px;
  right: 60px;
  height: 2px;
  background: linear-gradient(to right, var(--red), #409725, #409725);
}

.timeline-item {
  flex: 1;
  text-align: center;
  position: relative;
  padding-top: 10px;
}

.timeline-year {
  font-family: var(--font-heading);
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 800;
  color: #409725;
  line-height: 1;
  margin-bottom: 12px;
}

.timeline-dot {
  width: 16px;
  height: 16px;
  background: #409725;
  border-radius: 50%;
  margin: 0 auto 12px;
  border: 3px solid var(--white);
  box-shadow: 0 0 0 2px #409725;
}

.timeline-text {
  font-size: clamp(13px, 1.2vw, 15px);
  color: var(--text-body);
  line-height: 1.6;
  max-width: 240px;
  margin: 0 auto;
}

/* ============================================
   CONTACT FORM
   ============================================ */
.contact-form {
  background: var(--gray-light);
  padding: 48px;
  border-radius: 4px;
}

.contact-form h3 {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 32px;
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--gray);
  border-radius: 2px;
  font-size: 15px;
  font-family: var(--font-body);
  background: var(--white);
  color: var(--text-body);
  transition: border-color 0.2s;
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--red);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-submit {
  background: var(--red);
  color: var(--white);
  border: none;
  padding: 14px 48px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 1px;
  cursor: pointer;
  border-radius: 2px;
  transition: background 0.2s;
  font-family: var(--font-body);
}

.form-submit:hover {
  background: #b01a2b;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--footer-bg);
  color: var(--white);
}

.footer-main {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 60px;
  padding: 60px 80px;
  max-width: var(--max-width);
  margin: 0 auto;
  align-items: start;
}

.footer-brand .footer-logo-text {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 800;
  color: var(--red);
  margin-bottom: 8px;
}

.footer-brand .footer-tagline {
  font-size: 18px;
  font-weight: 300;
  color: var(--white);
  margin-bottom: 20px;
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  color: var(--white);
}

.footer-social a svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.footer-social a:hover {
  background: var(--red);
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 14px;
  text-align: center;
}

.footer-nav a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 16px;
  transition: color 0.2s;
}

.footer-nav a:hover {
  color: var(--white);
}

.footer-right {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-self: flex-end;
}

.footer-logo-mark {
  margin-bottom: 20px;
}

.footer-logo-img {
  width: 200px;
  height: auto;
  display: block;
}

.footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  justify-content: flex-start;
}

.footer-contact-item svg {
  width: 18px;
  height: 18px;
  fill: rgba(255, 255, 255, 0.7);
  flex-shrink: 0;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 80px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  max-width: var(--max-width);
  margin: 0 auto;
}

.footer-bottom p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
}

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

.footer-bottom-links a {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
  transition: color 0.2s;
}

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

/* ============================================
   BREADCRUMB
   ============================================ */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 16px;
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.2s;
}

.breadcrumb a:hover {
  color: var(--white);
}

.breadcrumb-sep {
  color: rgba(255, 255, 255, 0.3);
}

/* ============================================
   COLOR DOT ROW
   ============================================ */
.color-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin: 16px 0;
}

.color-dot {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: transform 0.2s;
}

.color-dot:hover {
  transform: scale(1.15);
}

/* ============================================
   IMAGE GALLERY
   ============================================ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin: 40px 0;
}

.gallery-grid img,
.gallery-item {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 2px;
}

.gallery-item {
  background: var(--gray);
  overflow: hidden;
  position: relative;
}

.gallery-item img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ============================================
   SPLIT LAYOUT (text + image)
   ============================================ */
.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  min-height: 500px;
}

.split-text {
  padding: 80px 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.split-image {
  position: relative;
  overflow: hidden;
  min-height: 400px;
}

.split-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: var(--gray-light);
}

/* ============================================
   BACK TO TOP / SCROLL HINT
   ============================================ */
.scroll-hint {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  animation: bounce 2s infinite;
  z-index: 2;
}

.scroll-hint::after {
  content: "";
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.4);
}

@keyframes bounce {
  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(6px);
  }
}

/* ============================================
   TESTIMONIALS / QUOTES
   ============================================ */
.testimonial {
  background: var(--gray-light);
  padding: 32px;
  border-radius: 4px;
  border-left: 4px solid var(--red);
}

.testimonial-text {
  font-size: 16px;
  color: var(--text-body);
  line-height: 1.8;
  font-style: italic;
  margin-bottom: 20px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gray);
  overflow: hidden;
  flex-shrink: 0;
}

.testimonial-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-name {
  font-weight: 700;
  font-size: 15px;
  color: var(--dark);
}

.testimonial-role {
  font-size: 13px;
  color: #777;
}

/* ============================================
   PARTNER / LOGO STRIP
   ============================================ */
.partner-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 48px;
  padding: 40px;
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.text-red {
  color: var(--red);
}
.text-white {
  color: var(--white);
}
.text-dark {
  color: var(--dark);
}
.text-center {
  text-align: center;
}
.text-right {
  text-align: right;
}
.mt-8 {
  margin-top: 8px;
}
.mt-16 {
  margin-top: 16px;
}
.mt-24 {
  margin-top: 24px;
}
.mt-32 {
  margin-top: 32px;
}
.mt-40 {
  margin-top: 40px;
}
.mt-60 {
  margin-top: 60px;
}
.mb-8 {
  margin-bottom: 8px;
}
.mb-16 {
  margin-bottom: 16px;
}
.mb-24 {
  margin-bottom: 24px;
}
.mb-32 {
  margin-bottom: 32px;
}
.mb-40 {
  margin-bottom: 40px;
}
.mb-60 {
  margin-bottom: 60px;
}
.flex {
  display: flex;
}
.flex-center {
  display: flex;
  align-items: center;
}
.gap-16 {
  gap: 16px;
}
.gap-24 {
  gap: 24px;
}
.gap-32 {
  gap: 32px;
}
.w-full {
  width: 100%;
}
.relative {
  position: relative;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .navbar {
    padding: 0 24px;
  }
  .nav-links {
    gap: 24px;
  }
  .hero-content {
    padding: 0 40px;
  }
  .page-hero .hero-content {
    padding: 0 40px;
  }
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-main {
    padding: 60px 40px;
    grid-template-columns: 1fr 1fr;
  }
  .footer-bottom {
    padding: 20px 40px;
  }
  .cta-content {
    padding: 60px 40px;
  }
}

@media (max-width: 768px) {
  :root {
    --nav-height: 70px;
  }

  /* Nav */
  .nav-links,
  .btn-contact {
    display: none;
  }

  .lang-switcher {
    display: block;
    margin-left: auto;
    margin-right: 0;
  }

  /* Touch: use .is-open from JS; avoid sticky :hover showing the menu */
  .lang-switcher:hover .lang-switcher-menu {
    opacity: 0;
    visibility: hidden;
    transform: translateY(-4px);
    pointer-events: none;
  }

  .lang-switcher.is-open .lang-switcher-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }

  .lang-switcher.is-open .lang-switcher-btn svg {
    transform: rotate(180deg);
  }

  .nav-toggle {
    display: flex;
    margin-left: 0;
  }

  .navbar.open .nav-links {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.96);
    padding: 24px 32px;
    gap: 24px;
    text-align: center;
  }

  .nav-dropdown-toggle {
    justify-content: center;
  }

  .navbar-light.open .nav-links {
    background: rgba(255, 255, 255, 0.98);
  }

  .navbar-light.open .nav-links a {
    color: var(--dark);
  }

  .navbar-light.open .dropdown-menu a {
    color: rgba(0, 0, 0, 0.7);
  }

  .navbar.open .btn-contact {
    display: block;
    padding: 14px 32px;
    text-align: center;
  }

  .nav-dropdown {
    width: 100%;
  }
  .dropdown-menu {
    position: static;
    transform: none;
    min-width: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: none;
    border-radius: 4px;
    padding: 4px 0;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    display: none;
    margin-top: 8px;
  }
  .dropdown-menu::before {
    display: none;
  }
  .nav-dropdown.open .dropdown-menu {
    display: block;
    transform: none;
  }
  .nav-dropdown:hover .dropdown-menu {
    display: none;
    transform: none;
  }
  .nav-dropdown.open:hover .dropdown-menu {
    display: block;
  }
  .dropdown-menu a {
    padding: 8px 16px;
    font-size: 14px;
  }

  /* Hero */
  .hero-content {
    padding: 0 24px;
  }
  .page-hero .hero-content {
    padding: 0 24px;
  }

  /* Sections */
  .section {
    padding: 56px 24px;
  }
  .split-section {
    grid-template-columns: 1fr;
  }
  .split-text {
    padding: 40px 24px;
  }
  .split-image {
    min-height: 280px;
  }

  /* Grids */
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .photo-grid {
    grid-template-columns: 1fr;
  }

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

  /* Stats */
  .stats-row {
    justify-content: center;
    gap: 24px;
  }

  /* Timeline */
  .timeline {
    flex-direction: column;
    gap: 32px;
  }
  .timeline::before {
    display: none;
  }
  .timeline-item {
    text-align: left;
    display: flex;
    gap: 16px;
    align-items: flex-start;
  }
  .timeline-dot {
    flex-shrink: 0;
    margin: 8px 0 0;
  }

  /* Footer */
  .footer-main {
    grid-template-columns: 1fr;
    padding: 40px 24px;
    gap: 40px;
  }

  .footer-right {
    text-align: left;
  }
  .footer-logo-mark {
    justify-content: flex-start;
  }
  .footer-contact-item {
    justify-content: flex-start;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    padding: 20px 24px;
    text-align: center;
  }
  .footer-bottom-links {
    justify-content: center;
  }

  /* Contact form */
  .contact-form {
    padding: 24px;
  }

  /* CTA */
  .cta-content {
    padding: 40px 24px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 32px;
  }
  .page-hero-title {
    font-size: 28px;
  }
  .section-title {
    font-size: 24px;
  }
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}
