:root {
  --blue: #0b4f8a;
  --orange: #f97316;
  --white: #ffffff;
  --text: #12324f;
  --muted: #5a7b97;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(1200px 500px at 100% -10%, rgba(249, 115, 22, 0.25), transparent 55%),
    radial-gradient(1000px 500px at 0% 110%, rgba(11, 79, 138, 0.25), transparent 55%), var(--white);
  padding: 24px;
}

.container {
  width: 100%;
  max-width: 860px;
  margin: 0 auto;
  border: 2px solid var(--blue);
  border-radius: 18px;
  background: var(--white);
  box-shadow: 0 14px 38px rgba(11, 79, 138, 0.15);
  overflow: hidden;
}

.header {
  background: var(--white);
  color: var(--text);
  padding: 10px 24px 8px;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  border-bottom: 1px solid #dbe6f1;
}

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

.logo {
  width: 220px;
  height: auto;
  object-fit: contain;
  display: block;
}

.site {
  font-size: 1.2rem;
  font-weight: 700;
}

.badge {
  background: var(--orange);
  color: var(--white);
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 0.88rem;
  font-weight: 700;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.lang-switch a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: transparent;
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 8px;
  overflow: hidden;
}

.lang-switch a.active {
  outline: 2px solid var(--blue);
  outline-offset: -2px;
}

.lang-switch a img {
  width: auto;
  height: 18px;
  max-width: 36px;
  display: block;
}

.nav {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  padding: 14px 24px;
  border-bottom: 1px solid #dbe6f1;
  background: var(--blue);
}

.nav a {
  text-decoration: none;
  color: var(--orange);
  font-weight: 700;
  padding: 6px 10px;
  border: none;
  border-radius: 8px;
  background: transparent;
}

.menu-toggle {
  display: none;
}

.drawer-overlay {
  display: none;
}

.mobile-drawer {
  display: none;
}

.content {
  padding: 26px 24px 8px;
}

.content-header {
  width: 100%;
  margin-bottom: 20px;
}

.content h2 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--blue);
  margin-bottom: 10px;
  margin-top: 20px;
}

.content-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.content-column p {
  margin: 0 0 24px;
}

h1 {
  margin: 0 0 8px;
  font-size: clamp(1.4rem, 4vw, 1.7rem);
  color: var(--blue);
}

.subtitle {
  margin: 0 0 14px;
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--orange);
}

p {
  margin: 0 0 24px;
  line-height: 1.6;
  font-size: 1rem;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff7ed;
  border: 1px solid #fdba74;
  border-radius: 10px;
  padding: 10px 12px;
  color: #7c2d12;
  text-decoration: none;
  font-weight: 600;
  margin-bottom: 12px;
}

.services {
  border-top: 1px solid #dbe6f1;
  margin-top: 8px;
  padding-top: 18px;
}

.footer {
  padding: 14px 24px 18px;
  background: var(--blue);
  color: var(--white);
  font-size: 0.9rem;
}

.footer-grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.footer-col h3 {
  margin: 0 0 10px;
  font-size: 1rem;
  color: #ff7300;
}

.footer-col p {
  margin: 0 0 12px;
}

.footer-col p:last-child {
  margin-bottom: 0;
}

.social-icons {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.social-icons img {
  display: block;
}

.footer a {
  color: var(--white);
  text-decoration: none;
}

@media (max-width: 900px) {
  .content-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

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

@media (max-width: 767px) {
  .menu-toggle {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    width: 42px;
    height: 42px;
    margin-left: auto;
    padding: 0;
    border: 1px solid #dbe6f1;
    border-radius: 10px;
    background: var(--white);
    cursor: pointer;
  }

  .menu-toggle span {
    width: 20px;
    height: 2px;
    margin: 0 auto;
    background: var(--blue);
    border-radius: 999px;
  }

  .lang-switch,
  .nav {
    display: none;
  }

  .drawer-overlay {
    position: fixed;
    inset: 0;
    z-index: 900;
    background: rgba(0, 0, 0, 0.3);
  }

  .drawer-overlay[hidden] {
    display: none;
  }

  body.drawer-open .drawer-overlay {
    display: block;
  }

  .mobile-drawer {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 1000;
    display: block;
    width: min(85vw, 320px);
    height: 100vh;
    background: var(--white);
    border-left: 1px solid #dbe6f1;
    box-shadow: -8px 0 24px rgba(11, 79, 138, 0.2);
    transform: translateX(100%);
    transition: transform 0.22s ease;
  }

  body.drawer-open .mobile-drawer {
    transform: translateX(0);
  }

  .mobile-drawer-inner {
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding: 22px 16px;
  }

  .mobile-lang-switch {
    display: inline-flex;
    align-items: center;
    gap: 8px;
  }

  .mobile-lang-switch a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 8px;
    overflow: hidden;
  }

  .mobile-lang-switch a.active {
    outline: 2px solid var(--blue);
    outline-offset: -2px;
  }

  .mobile-lang-switch img {
    width: auto;
    height: 18px;
    max-width: 36px;
    display: block;
  }

  .mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  .mobile-nav a {
    display: block;
    text-decoration: none;
    color: var(--blue);
    font-weight: 700;
    border: 1px solid #dbe6f1;
    border-radius: 10px;
    padding: 10px 12px;
  }

  .mobile-nav a.active {
    background: #eff6ff;
    border-color: #bfdbfe;
  }

  body.drawer-open {
    overflow: hidden;
  }
}

@media (max-width: 600px) {
  body {
    padding: 16px;
  }

  .header,
  .nav,
  .content,
  .footer {
    padding-left: 16px;
    padding-right: 16px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .logo {
    width: 180px;
  }
}
