:root {
  --navy: #0c2340;
  --navy-mid: #1a3a5c;
  --navy-light: #2a5080;
  --gold: #b8962e;
  --gold-light: #d4b44a;
  --bg: #ffffff;
  --bg-alt: #f0f3f7;
  --bg-dark: #0c2340;
  --text: #1c2836;
  --text-muted: #5a6a7e;
  --text-light: #8a96a8;
  --text-on-dark: #e8edf3;
  --border: #d8dee8;
  --max: 1140px;
  --radius: 3px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Source Sans 3', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { line-height: 1.3; font-weight: 700; color: var(--navy); }

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 28px; }

.eyebrow {
  font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 10px;
}
.eyebrow--light { color: var(--gold-light); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.88rem;
  padding: 11px 24px; border-radius: var(--radius);
  border: 2px solid transparent; cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.btn--primary { background: var(--gold); color: var(--navy); border-color: var(--gold); }
.btn--primary:hover { background: var(--gold-light); border-color: var(--gold-light); }
.btn--outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn--outline:hover { background: var(--bg-alt); }
.btn--lg { padding: 14px 30px; font-size: 0.95rem; }
.btn--block { width: 100%; }

/* Topbar */
.topbar { background: var(--navy); color: rgba(255,255,255,0.75); font-size: 0.82rem; }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; height: 38px; }
.topbar__contact { display: flex; gap: 22px; }
.topbar__contact a { color: rgba(255,255,255,0.85); }
.topbar__contact a:hover { color: var(--gold-light); }

/* Nav */
.nav { position: sticky; top: 0; z-index: 100; background: var(--bg); border-bottom: 2px solid var(--navy); }
.nav__inner { display: flex; align-items: center; height: 70px; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.05rem; flex-shrink: 0; color: var(--navy); }
.brand__mark {
  width: 38px; height: 38px; display: grid; place-items: center;
  background: var(--navy); color: var(--gold); font-weight: 700; font-size: 1rem; border-radius: var(--radius);
}
.brand__suffix { font-weight: 500; color: var(--text-muted); font-size: 0.92rem; }
.nav__links { display: flex; gap: 26px; flex: 1; }
.nav__links a { font-size: 0.9rem; font-weight: 600; color: var(--text-muted); }
.nav__links a:hover { color: var(--navy); }
.nav__right { display: flex; align-items: center; gap: 10px; margin-left: auto; flex-shrink: 0; }
.nav__phone { display: none; }
.nav__toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav__toggle span { width: 22px; height: 2px; background: var(--navy); }

/* Language switcher */
.lang-switch { position: relative; }
.lang-switch__btn {
  display: flex; align-items: center; gap: 6px;
  padding: 8px 14px; background: var(--bg-alt);
  border: 2px solid var(--border); border-radius: var(--radius);
  font-size: 0.88rem; font-weight: 700; color: var(--navy); cursor: pointer; min-width: 78px;
}
.lang-switch__btn:hover { border-color: var(--navy); }
.lang-switch__flag { font-size: 1.05rem; }
.lang-switch__label { letter-spacing: 0.04em; }
.lang-switch__arrow { color: var(--text-muted); }
.lang-switch__menu {
  display: none; position: absolute; top: calc(100% + 4px); right: 0;
  min-width: 155px; background: var(--bg); border: 2px solid var(--border);
  border-radius: var(--radius); list-style: none; box-shadow: 0 4px 12px rgba(12,35,64,0.1); z-index: 200;
}
.lang-switch__menu.open { display: block; }
.lang-switch__menu li { padding: 11px 15px; font-size: 0.88rem; font-weight: 600; cursor: pointer; border-bottom: 1px solid var(--border); }
.lang-switch__menu li:last-child { border-bottom: none; }
.lang-switch__menu li:hover, .lang-switch__menu li.active { background: var(--bg-alt); color: var(--navy); }

/* Hero */
.hero { padding: 64px 0 72px; background: var(--bg-alt); border-bottom: 1px solid var(--border); }
.hero__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.hero__copy h1 { font-size: clamp(1.75rem, 3.2vw, 2.35rem); margin-bottom: 18px; }
.hero__sub { color: var(--text-muted); font-size: 1.02rem; margin-bottom: 28px; max-width: 500px; }
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 28px; }
.hero__badges { display: flex; gap: 10px; flex-wrap: wrap; }
.hero__badges span {
  font-size: 0.78rem; font-weight: 600; color: var(--navy);
  padding: 6px 14px; background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius);
}
.hero__image img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--radius); border: 1px solid var(--border); background: var(--bg-alt); }

/* Sections */
.section { padding: 72px 0; }
.section--alt { background: var(--bg-alt); }
.section--dark { background: var(--navy); color: var(--text-on-dark); }
.section--dark h2 { color: #fff; }
.section--dark .contact__info > p { color: rgba(255,255,255,0.7); }
.section--dark .contact__list a { color: #fff; }
.section--dark .contact__label { color: rgba(255,255,255,0.5); }
.section__head { margin-bottom: 44px; }
.section__head--center { text-align: center; max-width: 620px; margin-left: auto; margin-right: auto; margin-bottom: 44px; }
.section__head h2 { font-size: clamp(1.45rem, 2.5vw, 1.9rem); margin-bottom: 12px; }
.section__head p { color: var(--text-muted); }

/* Service grid */
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.service-card {
  padding: 28px 22px; background: var(--bg); border: 1px solid var(--border);
  border-left: 3px solid var(--gold); border-radius: var(--radius);
}
.service-card__icon { font-size: 1.6rem; display: block; margin-bottom: 14px; }
.service-card h3 { font-size: 0.98rem; margin-bottom: 8px; color: var(--navy); }
.service-card p { font-size: 0.86rem; color: var(--text-muted); line-height: 1.55; }

/* About */
.about__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: center; }
.about__image img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--radius); border: 1px solid var(--border); background: var(--bg-alt); }
.about__copy h2 { font-size: 1.7rem; margin-bottom: 16px; }
.about__copy p { color: var(--text-muted); margin-bottom: 20px; font-size: 0.95rem; }
.about__list { list-style: none; display: grid; gap: 10px; }
.about__list li { position: relative; padding-left: 18px; font-size: 0.92rem; color: var(--text-muted); }
.about__list li::before { content: ''; position: absolute; left: 0; top: 9px; width: 8px; height: 2px; background: var(--gold); }

/* Why */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-bottom: 48px; }
.why-item { padding: 24px 0; border-top: 2px solid var(--navy); }
.why-item__num { font-size: 1.8rem; font-weight: 700; color: var(--gold); display: block; margin-bottom: 8px; }
.why-item h3 { font-size: 1rem; margin-bottom: 8px; }
.why-item p { font-size: 0.88rem; color: var(--text-muted); }

/* Gallery */
.gallery { display: grid; gap: 20px; }
.gallery--2 { grid-template-columns: 1fr 1fr; }
.gallery__item { margin: 0; }
.gallery__item img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: var(--radius); border: 1px solid var(--border); background: var(--bg-alt); }
.gallery__item figcaption { font-size: 0.8rem; color: var(--text-light); margin-top: 8px; }

/* Contact */
.contact__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.contact__info h2 { font-size: 1.7rem; margin-bottom: 12px; }
.contact__info > p { margin-bottom: 28px; }
.contact__list { list-style: none; display: grid; gap: 18px; }
.contact__label { display: block; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 4px; }
.contact__list a:hover { color: var(--gold-light); }
.contact__form { background: var(--bg); border-radius: var(--radius); padding: 30px; }
.section--dark .contact__form { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12); }
.field { margin-bottom: 14px; }
.field label { display: block; font-size: 0.84rem; font-weight: 600; margin-bottom: 5px; }
.section--dark .field label { color: rgba(255,255,255,0.85); }
.field input, .field textarea, .field select {
  width: 100%; padding: 10px 13px; border: 1px solid var(--border);
  border-radius: var(--radius); background: var(--bg); color: var(--text);
  font-size: 0.92rem; font-family: inherit; outline: none;
}
.section--dark .field input, .section--dark .field textarea, .section--dark .field select {
  background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.2); color: #fff;
}
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--gold); }
.contact__note { font-size: 0.8rem; color: var(--text-light); margin-top: 10px; text-align: center; }
.section--dark .contact__note { color: rgba(255,255,255,0.45); }

/* Footer */
.footer { background: var(--navy); color: rgba(255,255,255,0.7); padding: 44px 0; border-top: 3px solid var(--gold); }
.footer .brand { color: #fff; }
.footer .brand__mark { background: var(--gold); color: var(--navy); }
.footer__inner { display: flex; justify-content: space-between; gap: 40px; }
.footer__brand p { font-size: 0.86rem; margin-top: 10px; }
.footer__legal { font-size: 0.78rem; color: rgba(255,255,255,0.45); margin-top: 6px; }
.footer__copy { font-size: 0.78rem; color: rgba(255,255,255,0.35); margin-top: 4px; }
.footer__links { display: flex; gap: 22px; flex-wrap: wrap; align-items: flex-start; }
.footer__links a { font-size: 0.86rem; font-weight: 600; color: rgba(255,255,255,0.65); }
.footer__links a:hover { color: var(--gold-light); }

/* Responsive */
@media (max-width: 960px) {
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .nav__links { display: none; }
  .nav__links.open { display: flex; flex-direction: column; position: absolute; top: 70px; left: 0; right: 0; background: var(--bg); padding: 18px 28px; gap: 14px; border-bottom: 2px solid var(--navy); }
  .nav__toggle { display: flex; }
  .nav__phone { display: inline-flex; }
  .hero__inner, .about__inner, .contact__inner { grid-template-columns: 1fr; }
  .hero__image { order: -1; }
  .gallery--2 { grid-template-columns: 1fr; }
  .footer__inner { flex-direction: column; }
}
@media (max-width: 520px) {
  .service-grid, .why-grid { grid-template-columns: 1fr; }
  .topbar__inner { flex-direction: column; height: auto; padding: 6px 0; gap: 2px; }
  .nav__right .btn--primary { display: none; }
}
