@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;600;700&display=swap');

@font-face {
  font-family: "FontAwesome";
  src: url("/assets/fontawesome.woff2") format("woff2");
  font-display: swap;
}

:root {
  --wine: #a50045;
  --wine-dark: #8d003c;
  --gold: #f6a800;
  --ink: #252525;
  --muted: #777;
  --line: #ececec;
  --footer: #242424;
  --bottom: #020916;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: "Open Sans", Arial, sans-serif;
  font-size: 14px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

.wrap {
  width: min(1170px, calc(100% - 40px));
  margin: 0 auto;
}

.topbar {
  height: 36px;
  background: #fff;
  color: #343b49;
  font-size: 11px;
  border-bottom: 1px solid #eee;
}

.topbar .wrap {
  height: 100%;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 38px;
  white-space: nowrap;
}

.fa { font-family: "FontAwesome"; font-style: normal; }
.topbar .fa { color: #365b9a; margin-right: 8px; }

.site-header {
  height: 84px;
  background: var(--wine);
  color: #fff;
  position: relative;
  z-index: 20;
}

.site-header .wrap {
  height: 100%;
  display: flex;
  align-items: stretch;
}

.brand {
  width: 270px;
  background: #fff;
  display: flex;
  align-items: center;
  padding: 0 22px;
}

.brand img { width: 184px; height: auto; }

.main-nav {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.main-nav ul {
  display: flex;
  align-items: center;
  list-style: none;
  padding: 0;
  margin: 0;
}

.main-nav li { display: flex; align-items: center; }
.main-nav li + li::before { content: "|"; color: rgba(255,255,255,.45); margin: 0 18px; }

.main-nav a {
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  transition: opacity .2s ease;
}

.main-nav a:hover,
.main-nav a[aria-current="page"] { opacity: .72; }

.menu-button {
  display: none;
  align-items: center;
  gap: 7px;
  border: 0;
  color: #252525;
  background: transparent;
  font: 600 12px/1 "Open Sans", sans-serif;
  text-transform: uppercase;
  cursor: pointer;
}

.menu-button span:last-child { font-size: 24px; line-height: 1; }

.hero {
  min-height: 515px;
  background: #e9edf6 url("/assets/hero.jpg") center center / cover no-repeat;
  display: flex;
  align-items: center;
}

.hero-copy {
  width: 58%;
  max-width: 680px;
  font-size: 15px;
  line-height: 1.75;
  margin-top: -10px;
}

.services { padding: 46px 0 90px; }

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-areas:
    "startup consulting accounting"
    "gfo registration banking";
  gap: 38px 24px;
}

.card-startup { grid-area: startup; }
.card-consulting { grid-area: consulting; }
.card-accounting { grid-area: accounting; }
.card-gfo { grid-area: gfo; }
.card-registration { grid-area: registration; }
.card-banking { grid-area: banking; }

.service-card {
  background: #fff;
  border: 1px solid #e6e6e6;
  box-shadow: 0 1px 4px rgba(0,0,0,.06);
}

.service-card img {
  width: 100%;
  aspect-ratio: 650 / 350;
  object-fit: cover;
}

.service-card .card-body {
  min-height: 178px;
  padding: 20px 28px 26px;
  text-align: center;
}

.service-card h2 {
  font-size: 16px;
  line-height: 1.25;
  margin: 0;
  font-weight: 700;
}

.short-line {
  display: block;
  width: 36px;
  height: 1px;
  margin: 15px auto 18px;
  background: #8ea5b8;
}

.service-card p { margin: 0; color: #888; font-weight: 300; }

.expertise { padding: 20px 0 95px; }

.expertise-layout {
  display: grid;
  grid-template-columns: 38% 62%;
  align-items: end;
}

.team-visual img { width: 100%; max-width: 470px; margin: 0 auto; }

.expertise-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 38px 52px;
  padding: 0 0 65px 55px;
}

.expertise-item .icon {
  color: var(--gold);
  font-size: 27px;
  line-height: 1;
  display: block;
  margin-bottom: 18px;
}

.expertise-item h3 { margin: 0 0 8px; font-size: 15px; font-weight: 400; }
.expertise-item p { margin: 0; color: #777; font-weight: 300; }

.page-title {
  min-height: 190px;
  color: #fff;
  background: #343946 url("/assets/title-bg.jpg") center 44% / cover no-repeat;
  position: relative;
  display: flex;
  align-items: center;
}

.page-title::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(25,30,42,.48);
}

.page-title .wrap { position: relative; z-index: 1; }
.page-title h1 { margin: 0 0 8px; font-size: 31px; font-weight: 600; }
.breadcrumbs { font-size: 12px; opacity: .9; }
.breadcrumbs a { color: #fff; }

.content-section { padding: 65px 0 85px; }
.article { max-width: 970px; margin: 0 auto; font-size: 15px; color: #555; }
.article h2 { color: #2c2c2c; font-size: 27px; line-height: 1.3; margin: 0 0 24px; }
.article h3 { color: #2c2c2c; font-size: 20px; margin: 32px 0 12px; }
.article p { margin: 0 0 18px; }
.article ul { padding-left: 22px; margin: 12px 0 22px; }
.article li { margin-bottom: 8px; }
.article-image { float: right; width: 42%; max-width: 430px; margin: 0 0 28px 42px; }
.article-image.left { float: left; margin: 0 42px 28px 0; }
.callout { border-left: 4px solid var(--gold); padding: 12px 18px; background: #f7f7f7; margin: 24px 0; }
.contact-card { max-width: 620px; padding: 34px; border: 1px solid var(--line); box-shadow: 0 1px 4px rgba(0,0,0,.05); }
.contact-card h2 { font-size: 25px; }
.contact-card p { font-size: 16px; line-height: 1.9; margin: 0; }

.footer-columns {
  background: var(--footer);
  color: #fff;
  padding: 62px 0 48px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.15fr 1.25fr .9fr;
  gap: 70px;
}

.footer-block h2 {
  position: relative;
  margin: 0 0 28px;
  font-size: 15px;
  line-height: 1;
  letter-spacing: .7px;
  text-transform: uppercase;
}

.footer-block h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -12px;
  width: 21px;
  height: 3px;
  background: var(--gold);
}

.footer-block p,
.footer-block li { font-size: 12px; line-height: 1.55; }
.footer-block p { margin: 0; }
.footer-block ul { list-style: none; margin: 0; padding: 0; }
.footer-block li { margin: 0 0 10px; }
.footer-block .fa { width: 19px; display: inline-block; font-size: 14px; }
.footer-map { border: 8px solid #fff; width: 100%; }

.site-footer {
  background: var(--bottom);
  color: #ddd;
  padding: 18px 0;
  font-size: 11px;
}

.site-footer .wrap { display: flex; justify-content: space-between; }

@media (max-width: 1080px) {
  .wrap { width: min(940px, calc(100% - 36px)); }
  .brand { width: 220px; }
  .brand img { width: 170px; }
  .main-nav li + li::before { margin: 0 10px; }
  .main-nav a { font-size: 12px; }
  .expertise-grid { padding-left: 30px; gap: 30px; }
}

@media (max-width: 760px) {
  body { font-size: 13px; }
  .wrap { width: calc(100% - 32px); }
  .topbar { display: none; }
  .site-header { height: 52px; background: #fff; border-top: 1px solid var(--wine); border-bottom: 1px solid #ddd; }
  .site-header .wrap { width: 100%; padding: 0 11px; justify-content: space-between; }
  .brand { width: auto; padding: 0; }
  .brand img { width: 129px; }
  .menu-button { display: flex; }
  .main-nav { position: absolute; display: none; top: 51px; left: 0; right: 0; background: var(--wine); padding: 8px 16px 16px; box-shadow: 0 8px 18px rgba(0,0,0,.18); }
  .main-nav.open { display: block; }
  .main-nav ul { display: block; }
  .main-nav li { display: block; border-bottom: 1px solid rgba(255,255,255,.18); }
  .main-nav li + li::before { display: none; }
  .main-nav a { display: block; padding: 12px 5px; font-size: 13px; }
  .hero { min-height: 470px; align-items: center; background-position: 61% center; }
  .hero-copy { width: 63%; margin: 0; font-size: 13px; line-height: 1.65; }
  .services { padding: 0 0 72px; }
  .service-grid {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-areas: "startup" "gfo" "consulting" "registration" "accounting" "banking";
    gap: 0;
  }
  .service-card { margin: 0 0 34px; }
  .service-card .card-body { min-height: 188px; padding: 21px 22px 28px; }
  .service-card h2 { font-size: 15px; }
  .service-card p { font-size: 13px; text-align: left; padding: 0 2px; }
  .expertise { padding: 0 0 68px; }
  .expertise-layout { display: block; }
  .team-visual img { width: 100%; max-width: 390px; margin-bottom: 58px; }
  .expertise-grid { display: block; padding: 0; }
  .expertise-item { margin: 0 0 42px; }
  .expertise-item .icon { margin-bottom: 14px; }
  .page-title { min-height: 135px; }
  .page-title h1 { font-size: 23px; }
  .content-section { padding: 42px 0 55px; }
  .article { font-size: 14px; }
  .article h2 { font-size: 23px; }
  .article-image,
  .article-image.left { float: none; width: 100%; max-width: none; margin: 0 0 28px; }
  .contact-card { padding: 24px; }
  .footer-columns { padding: 48px 0 32px; }
  .footer-grid { display: block; }
  .footer-block { margin-bottom: 42px; }
  .footer-map { max-width: 350px; }
  .site-footer .wrap { display: block; text-align: center; }
}
