:root {
  --primary: #0a5c7b;
  --primary-dark: #042734;
  --accent: #c89b3c;
  --accent-soft: #f0d9a3;
  --text: #1a1f2b;
  --muted: #5b6472;
  --bg: #eef3f7;
  --surface: #ffffff;
  --border: rgba(15, 39, 60, 0.08);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: radial-gradient(circle at top, rgba(10, 92, 123, 0.16), transparent 55%),
    var(--bg);
  line-height: 1.7;
  min-height: 100vh;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: linear-gradient(90deg, rgba(255, 255, 255, 0.3) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.3) 1px, transparent 1px);
  background-size: 120px 120px;
  opacity: 0.35;
  pointer-events: none;
  z-index: -1;
}

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

a:hover,
a:focus {
  color: var(--accent);
}

figure {
  margin: 0;
}

.site-header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 20;
}

.announcement-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.35rem 1rem;
  font-size: 0.9rem;
  background: linear-gradient(90deg, rgba(10, 92, 123, 0.15), rgba(5, 44, 59, 0.4));
  color: var(--primary-dark);
}

.announcement-meta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  font-weight: 600;
}

.announcement-meta span::before {
  content: '•';
  margin-right: 0.35rem;
  color: var(--accent);
}

.announcement-meta span:first-child::before {
  content: '';
  margin: 0;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.25rem;
}

.logo-block {
  display: flex;
  flex-direction: column;
}

.logo {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.02em;
}

.logo-tagline {
  margin: 0.2rem 0 0;
  font-size: 0.9rem;
  color: var(--muted);
}

nav ul {
  list-style: none;
  display: flex;
  padding: 0;
  margin: 0;
  gap: 1.5rem;
}

nav a {
  font-weight: 600;
  padding-bottom: 0.25rem;
  border-bottom: 2px solid transparent;
  color: var(--muted);
  transition: color 0.2s ease, border-color 0.2s ease;
}

nav a.active,
nav a:hover {
  color: var(--primary);
  border-color: var(--accent);
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(10, 92, 123, 0.08);
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(10, 92, 123, 0.2);
}

.lang-switch a {
  color: var(--muted);
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}

.lang-switch a.active {
  color: var(--primary);
}

body[data-page='home'] nav a[data-page='home'],
body[data-page='about'] nav a[data-page='about'],
body[data-page='products'] nav a[data-page='products'],
body[data-page='equipment'] nav a[data-page='equipment'],
body[data-page='honors'] nav a[data-page='honors'],
body[data-page='contact'] nav a[data-page='contact'] {
  color: var(--primary);
  border-color: var(--accent);
}

.hero {
  position: relative;
  overflow: hidden;
  color: white;
  padding: 5.5rem 1rem;
  background: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.25), transparent 45%),
    linear-gradient(135deg, rgba(5, 44, 59, 0.95), rgba(10, 92, 123, 0.8));
}

.hero h1 {
  margin-bottom: 1rem;
  font-size: clamp(2.4rem, 4vw, 3.8rem);
}

.hero p {
  max-width: 780px;
  margin: 0 auto 2rem;
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.9);
}

main {
  max-width: 1100px;
  margin: 2rem auto;
  padding: 0 1rem 4rem;
  background: var(--surface);
  border-radius: 12px;
  box-shadow: 0 25px 70px rgba(6, 25, 45, 0.08);
  position: relative;
  overflow: hidden;
}

.section {
  padding: 2rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.section:last-child {
  border-bottom: none;
}

.section h2 {
  color: var(--primary-dark);
  margin-top: 0;
  font-size: 1.8rem;
}

.section-subtitle {
  color: var(--muted);
  margin-bottom: 1.8rem;
  max-width: 720px;
}

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

.card {
  padding: 1.5rem;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: linear-gradient(145deg, #fdfdfd, #f6f7fb);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.05);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.feature-card {
  padding: 1.75rem;
  background: white;
  border-radius: 18px;
  border: 1px solid var(--border);
  box-shadow: 0 15px 30px rgba(12, 38, 60, 0.08);
}

.feature-card h3 {
  margin-top: 0;
}

.illustration-panel {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  align-items: center;
}

.image-card {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 20px 50px rgba(6, 25, 45, 0.18);
}

.image-card img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.caption-card {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 18px;
  padding: 1.75rem;
  border: 1px solid var(--border);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.08);
}

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.stat {
  background: rgba(10, 92, 123, 0.08);
  padding: 1.2rem 1.5rem;
  border-radius: 16px;
  text-align: center;
}

.stat strong {
  display: block;
  font-size: 2rem;
  color: var(--primary);
}

.timeline {
  border-left: 2px solid var(--border);
  padding-left: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.timeline-item {
  position: relative;
  padding-left: 0.5rem;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -1.65rem;
  top: 0.4rem;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 6px rgba(200, 155, 60, 0.15);
}

.badge {
  display: inline-flex;
  padding: 0.2rem 0.8rem;
  border-radius: 999px;
  font-size: 0.8rem;
  background: rgba(200, 155, 60, 0.15);
  color: var(--primary-dark);
  margin-bottom: 0.3rem;
}

.honor-grid,
.gallery-grid,
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}

.honor-card,
.gallery-card,
.contact-card {
  border-radius: 18px;
  border: 1px solid var(--border);
  padding: 1.5rem;
  background: white;
  box-shadow: 0 10px 30px rgba(10, 25, 45, 0.06);
}

.gallery-card {
  min-height: 180px;
  background: linear-gradient(135deg, rgba(10, 92, 123, 0.12), rgba(6, 56, 75, 0.2));
  color: white;
}

.map-placeholder {
  width: 100%;
  height: 260px;
  border-radius: 18px;
  border: 1px dashed rgba(10, 92, 123, 0.4);
  display: grid;
  place-items: center;
  color: var(--muted);
  background: rgba(10, 92, 123, 0.05);
}

.site-footer {
  background: #052c3b;
  color: rgba(255, 255, 255, 0.85);
  padding: 2rem 1rem;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.footer-inner ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-bottom {
  margin-top: 1rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem;
}

.footer-brand .logo {
  color: #f8d779;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.25rem;
}

.footer-grid h4 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  color: #fdfdfd;
}

.footer-grid a {
  color: rgba(255, 255, 255, 0.85);
}

.footer-grid a:hover {
  color: var(--accent-soft);
}

.footer-brand p {
  margin: 0.3rem 0 0;
  color: rgba(255, 255, 255, 0.75);
}

@media (max-width: 768px) {
  .header-inner {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  nav ul {
    flex-wrap: wrap;
    justify-content: center;
  }

  .announcement-bar {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .lang-switch {
    margin-top: 0.5rem;
  }
}
