:root {
  --brand: #e63946;
  --brand-hover: #d62836;
  --dark: #0b0f19;
  --text: #2b2f3a;
  --muted: #6b7280;
  --bg: #ffffff;
  --light: #f5f7fb;
  --border: #eef0f4;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header & Nav */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

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

.logo {
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.5px;
  color: var(--dark);
}

.logo span {
  color: var(--brand);
}

.nav {
  display: flex;
  gap: 28px;
  align-items: center;
}

.nav a:not(.cta) {
  font-weight: 600;
  color: #4a5568;
}

.nav a:not(.cta):hover {
  color: var(--brand);
}

/* Buttons */
.btn, .cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
}

.cta {
  background: var(--brand);
  color: #fff;
  padding: 10px 18px;
  box-shadow: 0 4px 12px rgba(230, 57, 70, 0.25);
}

.cta:hover, .btn.primary:hover {
  background: var(--brand-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(230, 57, 70, 0.35);
}

.btn.primary {
  background: var(--brand);
  color: #fff;
}

.btn.ghost {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(4px);
}

.btn.ghost:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.btn.outline {
  background: transparent;
  color: var(--text);
  border: 1px solid #d1d5db;
}

.btn.outline:hover {
  background: var(--light);
  border-color: #9ca3af;
}

.menu-btn {
  display: none;
  background: transparent;
  border: none;
  color: var(--dark);
  cursor: pointer;
  padding: 8px;
}

/* Hero Section */
.hero {
  position: relative;
  background: linear-gradient(180deg, rgba(11, 15, 25, 0.4) 0%, rgba(11, 15, 25, 0.7) 100%), url('images/hero.jpg') center/cover no-repeat;
  color: #fff;
}

.hero .inner {
  padding: 140px 0;
}

.hero h1 {
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.15;
  margin: 0 0 16px;
  font-weight: 800;
  letter-spacing: -1px;
}

.hero p {
  font-size: clamp(16px, 2vw, 20px);
  color: #e5e7eb;
  max-width: 600px;
  margin-bottom: 32px;
}

.hero .actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Sections */
.section {
  padding: 80px 0;
}

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

.section h2 {
  font-size: 32px;
  margin: 0 0 8px;
  letter-spacing: -0.5px;
}

.section .lead {
  color: var(--muted);
  font-size: 18px;
  margin: 0 0 40px;
}

/* Grids & Cards */
.grid {
  display: grid;
  gap: 24px;
}

.grid.features {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.06);
}

.card h3 {
  margin: 0 0 12px;
  font-size: 20px;
}

.card p {
  margin: 0;
  color: #4b5563;
  font-size: 15px;
}

/* News */
.news {
  display: grid;
  gap: 0;
}

.news-item {
  display: flex;
  gap: 24px;
  align-items: baseline;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}

.news-item:last-child {
  border-bottom: none;
}

.news-date {
  font-weight: 700;
  color: var(--brand);
  min-width: 100px;
  font-size: 15px;
}

.news-title {
  font-weight: 600;
  font-size: 16px;
}

/* Company */
.company {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.company .kv {
  border-radius: 16px;
  min-height: 320px;
  background: url('images/company.jpg') center/cover no-repeat;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.kv-note {
  font-size: 13px;
  color: #94a3b8;
  margin-top: 12px;
}

.contact-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 32px;
}

/* Badges */
.badge-wrap {
  padding: 40px 0;
  text-align: center;
}

.badge-wrap .caption {
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--muted);
}

.badge-row {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.badge-row img {
  height: 48px;
  transition: transform 0.2s ease;
}

.badge-row img:hover {
  transform: scale(1.05);
}

/* Footer */
.footer {
  background: var(--dark);
  color: #9ca3af;
  padding: 40px 0;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.footer a {
  color: #d1dae6;
}

.footer a:hover {
  color: #fff;
}

.footer small {
  font-size: 14px;
}

/* Mobile Responsiveness */
@media (max-width: 900px) {
  .menu-btn {
    display: block;
  }
  
  .nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 70px;
    background: #fff;
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 24px;
    gap: 20px;
    box-shadow: 0 10px 15px rgba(0,0,0,0.05);
    
    /* Animation implementation */
    visibility: hidden;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
  }
  
  .nav.open {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
  }
  
  .company {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .hero .inner {
    padding: 100px 0;
  }
}

@media (max-width: 560px) {
  .section {
    padding: 56px 0;
  }
  
  .news-item {
    flex-direction: column;
    gap: 8px;
  }
}