:root {
  --brabox-blue: #1414a0;
  --brabox-blue-dark: #0d0d7a;
  --ink: #111;
  --gray: #555;
  --light-gray: #777;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  line-height: 1.5;
}

.container { max-width: 960px; margin: 0 auto; padding: 0 20px; }

/* Header */
.site-header { padding: 14px 0; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.logo { height: 72px; width: auto; }

/* Language switcher */
.lang-switch { display: flex; align-items: center; gap: 8px; }
.lang {
  background: none;
  border: 0;
  padding: 2px;
  line-height: 0;
  cursor: pointer;
  border-radius: 3px;
  opacity: 0.5;
  transition: opacity 0.15s ease, transform 0.12s ease;
}
.lang:hover { opacity: 0.85; transform: translateY(-1px); }
.lang.active { opacity: 1; }
.lang svg {
  display: block;
  width: 26px;
  height: 18px;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.12);
}
.lang.active svg { box-shadow: 0 0 0 2px var(--brabox-blue); }

/* Hero */
.hero {
  position: relative;
  background: url('/assets/hero.jpg') center/cover no-repeat;
  color: #fff;
  padding: 60px 0;
  min-height: 360px;
  display: flex;
  align-items: center;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: rgba(20, 20, 90, 0.35);
}
.hero-content { position: relative; }
.hero h1 {
  font-size: 64px;
  font-weight: 800;
  letter-spacing: 1px;
  line-height: 1.05;
  text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}
.hero-accent { color: #b9b9ff; }
.hero p {
  margin-top: 18px;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.55;
  max-width: 46ch;
  text-shadow: 0 1px 4px rgba(0,0,0,0.5);
}
.hero-btn {
  display: inline-block;
  margin-top: 30px;
  background: #fff;
  color: var(--brabox-blue);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.5px;
  padding: 14px 36px;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(0,0,0,0.25);
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.15s ease;
}
.hero-btn:hover { background: #f0f0f5; transform: translateY(-1px); box-shadow: 0 10px 24px rgba(0,0,0,0.3); }

/* Intro */
.intro { padding: 44px 0; text-align: center; }
.intro h2 {
  color: var(--brabox-blue);
  font-size: 30px;
  font-weight: 800;
}
.intro-sub { color: var(--gray); margin-top: 12px; font-size: 15px; }

/* Cards */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 28px;
  text-align: left;
}
.card {
  border: 1px solid #ececec;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -24px rgba(0, 0, 0, 0.3); }
.card-img {
  display: block;
  width: 100%;
  height: 170px;
  object-fit: cover;
  background: #ddd center/cover no-repeat;
}
.card-body { padding: 24px; }
.card h3 {
  color: var(--brabox-blue);
  font-size: 19px;
  margin: 0 0 8px;
}
.card p { color: var(--light-gray); font-size: 14px; line-height: 1.55; }

/* Reach band — full-bleed dark section */
.reach {
  background: #0a0a0f;
  color: #fff;
  text-align: center;
  padding: 52px 0;
}
.reach h2 {
  font-size: clamp(30px, 3.6vw, 40px);
  font-weight: 800;
  line-height: 1.05;
}
.reach-accent { color: #7e7eff; }
.reach p {
  margin: 18px auto 0;
  color: #a8a8b5;
  font-size: 15px;
  line-height: 1.6;
  max-width: 60ch;
}

/* Contact */
.contact {
  background: var(--brabox-blue);
  color: #fff;
  padding: 52px 0 60px;
}
.contact-head { text-align: center; max-width: 640px; margin: 0 auto 26px; }
.contact-head h2 { font-size: 34px; font-weight: 800; }
.contact-head > p { margin-top: 16px; font-size: 16px; color: #d3d3f0; line-height: 1.6; }

.contact-card {
  max-width: 640px; margin: 0 auto;
  background: #fff; color: var(--ink);
  border-radius: 20px; padding: 36px;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.5);
}
.required-note { font-size: 12.5px; color: #8a8a93; margin-bottom: 20px; }
.req { color: #e0392b; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 18px; }
.form-group { display: flex; flex-direction: column; margin-bottom: 18px; }
.form-row .form-group { margin-bottom: 0; }
.form-group label { font-size: 13px; font-weight: 700; margin-bottom: 8px; color: #333; }
.form-group input {
  height: 48px;
  border: 1.5px solid #e2e2ea;
  border-radius: 12px;
  padding: 0 15px;
  font-size: 15px;
  background: #f7f7fb;
  color: var(--ink);
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.form-group input:focus {
  outline: none;
  background: #fff;
  border-color: #7e7eff;
  box-shadow: 0 0 0 4px rgba(126, 126, 255, 0.22);
}

.services { border: none; margin-top: 26px; }
.services legend { font-size: 13px; font-weight: 700; margin-bottom: 14px; color: #333; }
.check {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  margin-bottom: 10px;
  cursor: pointer;
  padding: 12px 14px;
  border: 1.5px solid #ececf2;
  border-radius: 12px;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.check:hover { background: #f5f5fb; border-color: #dcdcf0; }
.check input { width: 18px; height: 18px; accent-color: var(--brabox-blue); cursor: pointer; }

.recaptcha-wrap { margin-top: 24px; display: flex; justify-content: center; }
@media (max-width: 360px) {
  .g-recaptcha { transform: scale(0.88); transform-origin: center; }
}
.submit-wrap { margin-top: 20px; }
.btn-submit {
  display: block; width: 100%;
  background: var(--brabox-blue); color: #fff; border: none;
  font-weight: 700; font-size: 14px; letter-spacing: 1px;
  padding: 15px 0; border-radius: 999px; cursor: pointer;
  box-shadow: 0 8px 20px -8px rgba(20, 20, 160, 0.6);
  transition: background 0.15s ease, transform 0.12s ease, box-shadow 0.15s ease;
}
.btn-submit:hover { background: var(--brabox-blue-dark); transform: translateY(-1px); box-shadow: 0 12px 26px -8px rgba(20, 20, 160, 0.7); }
.form-result { text-align: center; margin-top: 14px; font-size: 14px; min-height: 20px; color: #c0392b; }

/* Success state (replaces the form on submit) */
.form-success { text-align: center; padding: 36px 12px; }
.form-success-icon {
  width: 64px; height: 64px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: var(--brabox-blue);
  color: #fff;
  font-size: 32px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 20px -6px rgba(20, 20, 160, 0.5);
}
.form-success h3 { font-size: 23px; font-weight: 800; margin-bottom: 10px; }
.form-success p { font-size: 15px; color: #666; line-height: 1.55; max-width: 340px; margin: 0 auto; }

/* Footer */
.site-footer { padding: 38px 0; font-size: 13px; color: var(--gray); }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.footer-name { color: var(--brabox-blue); font-weight: 700; margin-bottom: 6px; }
.footer-col p { margin-bottom: 4px; }
.footer-col a { color: var(--brabox-blue); text-decoration: none; }
.appointment { color: #e0a800; font-weight: 700; }
.copyright { margin-top: 16px; }

/* Responsive */
@media (max-width: 768px) {
  .hero h1 { font-size: 40px; }
  .hero p { font-size: 15px; }
  .cards { grid-template-columns: 1fr; }
  .reach-inner { padding: 40px 24px; }
  .contact-card { padding: 28px 22px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .form-row .form-group { margin-bottom: 18px; }
  .footer-grid { grid-template-columns: 1fr; }
}
