*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: Roboto, "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.75;
  color: #424242;
  background: #fff;
}

img { max-width: 100%; height: auto; border: 0; vertical-align: middle; }

a { color: #2196f3; text-decoration: none; }
a:hover, a:focus { text-decoration: underline; }

.sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0, 0, 0, 0); border: 0;
}

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 15px; }
.container-md { max-width: 1000px; }

.icon { width: 14px; height: 14px; fill: currentColor; flex: none; }

/* ---------- Header ---------- */
.site-header { background: #fff; }

.header-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 95px;
}

.logo { display: block; flex: none; }
.logo img { display: block; max-height: 65px; width: auto; }

.main-nav { flex: 1; }
.main-nav ul {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; justify-content: center;
}
.main-nav a {
  position: relative;
  display: block;
  padding: 0 14px;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 1px;
  line-height: 24.5px;
  color: rgba(0, 0, 0, .87);
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 14px; right: 14px; bottom: -4px;
  height: 2px;
  background: #2196f3;
  transform: scaleX(0);
  transition: transform .2s ease;
}
.main-nav a:hover, .main-nav a:focus { text-decoration: none; }
.main-nav a:hover::after, .main-nav a:focus::after, .main-nav .active a::after { transform: scaleX(1); }
.main-nav .active a { font-weight: 700; }

.lang-switch {
  list-style: none; margin: 0; padding: 0;
  display: flex; gap: 10px; flex: none;
}
.lang-switch a { display: block; line-height: 1; }
.lang-switch img { display: block; }

.nav-toggle {
  display: none;
  margin-left: auto;
  padding: 8px;
  background: none;
  border: 0;
  cursor: pointer;
}
.nav-toggle .bar {
  display: block;
  width: 32px; height: 2px;
  margin: 7px 0;
  background: #616161;
}

/* ---------- Content ---------- */
.banner img { display: block; width: 100%; }

.page-content { padding: 56px 0; text-align: center; }

h1, h2 { font-weight: 600; line-height: 1.25; margin: 0 0 28px; }
h1 { font-size: 44px; }
h2 { font-size: 34px; }

.page-content p { margin: 0 0 28px; }

.lead-label { display: inline-block; font-size: 1.25em; font-weight: 700; }

.intro-row {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 30px;
  align-items: start;
}
.intro-image img { height: 250px; width: auto; }

/* ---------- Contact form ---------- */
.contact-box {
  max-width: 470px;
  margin: 28px auto 0;
  padding: 20px 18px;
  background: #f7f7f7;
  border: 2px solid #9e9e9e;
  border-radius: 15px;
  text-align: start;
}

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

.contact-box label {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
  color: #212121;
}
.req { color: #f44336; }

.contact-box input[type="text"],
.contact-box input[type="email"],
.contact-box textarea {
  width: 100%;
  padding: 6px 12px;
  font: inherit;
  font-size: 13px;
  line-height: 1.5;
  color: #424242;
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 2px;
}
.contact-box input:focus, .contact-box textarea:focus {
  outline: none;
  border-color: #2196f3;
  box-shadow: 0 0 0 2px rgba(33, 150, 243, .2);
}
.contact-box textarea { resize: vertical; min-height: 110px; }

.input-icon { position: relative; }
.input-icon .icon {
  position: absolute;
  top: 50%;
  inset-inline-start: 10px;
  width: 16px; height: 16px;
  transform: translateY(-50%);
  fill: #9e9e9e;
  pointer-events: none;
}
.contact-box .input-icon input { padding-inline-start: 34px; }

.btn {
  padding: 6px 16px;
  font: inherit;
  font-size: 14px;
  color: #fff;
  background: #2196f3;
  border: 0;
  border-radius: 2px;
  cursor: pointer;
}
.btn:hover, .btn:focus { background: #1976d2; }

.alert { margin-bottom: 14px; padding: 10px 14px; border-radius: 4px; font-size: 14px; line-height: 1.5; }
.alert-success { color: #1b5e20; background: #e8f5e9; border: 1px solid #a5d6a7; }
.alert-error { color: #b71c1c; background: #ffebee; border: 1px solid #ef9a9a; }

.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Footer ---------- */
.site-footer { padding: 28px 0; font-size: 14px; line-height: 1.5; }

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 30px;
}

.footer-brand img { display: block; height: 75px; width: auto; margin-bottom: 28px; }
.footer-brand p { margin: 0; }

.footer-contact { text-align: right; }
.footer-contact p {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  margin: 0 0 7px;
}
.footer-contact a { color: inherit; }
.footer-contact p:last-child a { color: #2196f3; text-decoration: underline; }

.back-to-top {
  position: fixed;
  right: 20px; bottom: 20px;
  width: 44px; height: 44px;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, .55);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s, visibility .3s;
}
.back-to-top::before {
  content: "";
  position: absolute;
  top: 18px; left: 15px;
  width: 12px; height: 12px;
  border-top: 2px solid #fff;
  border-left: 2px solid #fff;
  transform: rotate(45deg);
}
.back-to-top.is-visible { opacity: 1; visibility: visible; }

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
  .header-inner { flex-wrap: wrap; padding-top: 10px; padding-bottom: 10px; }
  .nav-toggle { display: block; order: 2; }
  .lang-switch { order: 3; width: 100%; justify-content: center; }
  .main-nav { order: 4; flex-basis: 100%; display: none; }
  .main-nav.is-open { display: block; }
  .main-nav ul { flex-direction: column; align-items: center; padding-bottom: 10px; }
  .main-nav a { padding: 8px 14px; }
  .main-nav a::after { bottom: 4px; }
}

@media (max-width: 767px) {
  h1 { font-size: 32px; }
  h2 { font-size: 26px; }
  .page-content { padding: 36px 0; }
  .intro-row { grid-template-columns: 1fr; gap: 20px; margin-bottom: 28px; }
  .footer-inner { flex-direction: column; align-items: center; text-align: center; }
  .footer-brand img { margin: 0 auto 20px; }
  .footer-contact, .footer-contact p { text-align: center; justify-content: center; }
}
