@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@500;600;700;800&family=Source+Sans+3:wght@300;400;500;600&display=swap");

:root {
  --gray-950: #111111;
  --gray-900: #1b1b1b;
  --gray-700: #3b3b3b;
  --gray-500: #6b6b6b;
  --gray-300: #cfcfcf;
  --gray-200: #e5e5e5;
  --gray-100: #f3f3f3;
  --gray-50: #fafafa;
  --accent-red: #c5161d;
  --text-base: clamp(16px, 1.35vw, 19px);

  --bg: #ffffff;
  --bg-soft: #fafafa;
  --bg-tint: #f7f7f7;
  --text: #1b1b1b;
  --text-muted: #3b3b3b;
  --heading: #111111;
  --surface: #ffffff;
  --surface-alt: #fafafa;
  --border: #e5e5e5;
  --toggle-bg: #f3f3f3;
  --bg-gradient: radial-gradient(circle at top, var(--bg) 0%, var(--bg-soft) 55%, var(--bg-tint) 100%);
}

[data-theme="dark"] {
  --bg: #0f1115;
  --bg-soft: #14171c;
  --bg-tint: #1a1d23;
  --text: #e6e6e6;
  --text-muted: #b5b5b5;
  --heading: #f5f5f5;
  --surface: #1a1d23;
  --surface-alt: #14171c;
  --border: #2a2f36;
  --toggle-bg: #1a1d23;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 120px;
  background: #111111;
  overscroll-behavior: none;
}

body {
  font-family: "Source Sans 3", "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--bg-gradient);
  line-height: 1.75;
  font-size: var(--text-base);
  overscroll-behavior: none;
  transition: background-color 0.25s ease, color 0.25s ease;
}

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

a:hover {
  text-decoration: underline;
  text-decoration-color: var(--accent-red);
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 100;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease;
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: transparent;
  border-bottom: 1px solid transparent;
  box-shadow: none;
  transform: translateZ(0);
  transition: background 0.25s ease, border-color 0.25s ease,
    box-shadow 0.25s ease;
  pointer-events: none;
}

.site-header.is-top,
.site-header.is-scrolled {
  opacity: 1;
  pointer-events: auto;
}

.site-header.is-scrolled::before {
  background: var(--surface);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 4px 18px -8px rgba(0, 0, 0, 0.35),
    0 1px 0 rgba(0, 0, 0, 0.06);
}

[data-theme="dark"] .site-header.is-scrolled .logo img {
  filter: brightness(0) invert(1);
}

.nav {
  position: relative;
  z-index: 1;
  max-width: none;
  margin: 0;
  padding: 12px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo img {
  height: 104px;
  display: block;
  transition: filter 0.3s ease;
}

.site-header.is-top .logo img {
  filter: brightness(0) invert(1);
}

.nav-links {
  display: flex;
  gap: 26px;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.site-header.is-top .nav-links a {
  color: #ffffff;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.theme-toggle {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border-radius: 999px;
  background: var(--toggle-bg);
  border: 1px solid var(--border);
  color: var(--text);
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease,
    border-color 0.25s ease, transform 0.2s ease;
}

.theme-toggle:hover {
  border-color: var(--text-muted);
  transform: translateY(-1px);
}

.theme-toggle:focus-visible {
  outline: 2px solid var(--accent-red);
  outline-offset: 2px;
}

.theme-toggle .icon {
  width: 18px;
  height: 18px;
  display: block;
}

.theme-toggle .icon-sun {
  display: none;
}

[data-theme="dark"] .theme-toggle .icon-sun {
  display: block;
}

[data-theme="dark"] .theme-toggle .icon-moon {
  display: none;
}

.site-header.is-top .theme-toggle {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.4);
  color: #ffffff;
}

.site-header.is-top .theme-toggle:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: #ffffff;
}

.splash {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 100px 24px 160px;
  background-image: url("assets/pictures/background.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #ffffff;
  text-align: center;
  overflow: hidden;
}

.splash-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
      180deg,
      rgba(17, 17, 17, 0.45) 0%,
      rgba(17, 17, 17, 0.25) 40%,
      rgba(17, 17, 17, 0.35) 75%,
      var(--bg) 100%
    );
  pointer-events: none;
}

.splash::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 90px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, var(--bg) 100%);
  pointer-events: none;
  z-index: 1;
}

.splash-content {
  position: relative;
  z-index: 1;
  max-width: 880px;
}

.splash-mark {
  display: block;
  margin: 0 auto 20px;
  width: clamp(64px, 8vw, 96px);
  height: auto;
  filter: drop-shadow(0 4px 14px rgba(0, 0, 0, 0.45));
}

.splash-brand {
  font-family: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  font-weight: 500;
  color: #ffffff;
  font-size: clamp(18px, 1.9vw, 24px);
  letter-spacing: 0.32em;
  text-transform: uppercase;
  margin: 0 0 18px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.splash-divider {
  display: block;
  width: clamp(70px, 10vw, 120px);
  height: 1px;
  margin: 0 auto 28px;
  background: rgba(255, 255, 255, 0.6);
}

.splash-tagline {
  font-family: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  font-weight: 500;
  font-size: clamp(28px, 3.8vw, 50px);
  line-height: 1.3;
  color: #ffffff;
  letter-spacing: 0.01em;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

.section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 88px 24px;
}

.section-header {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-bottom: 40px;
}

.section-header h1,
.section-header h2 {
  font-family: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(32px, 3.6vw, 48px);
  color: var(--heading);
  line-height: 1.15;
}

.rule {
  flex: 1;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-red), transparent);
}

.section-body {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 44px;
  align-items: start;
}

.section-body.single {
  grid-template-columns: 1fr;
}

.text-block h2,
.text-block h3 {
  font-family: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(24px, 2.4vw, 32px);
  margin: 32px 0 14px;
  color: var(--heading);
  line-height: 1.25;
}

.text-block p {
  margin-bottom: 18px;
  color: var(--text-muted);
}

.image-placeholder {
  width: 100%;
  min-height: 240px;
  border: 1px dashed var(--border);
  background: linear-gradient(135deg, var(--surface) 0%, var(--surface-alt) 100%);
  aspect-ratio: 4 / 3;
}

.section-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  border-radius: 6px;
  box-shadow: 0 10px 30px -12px rgba(17, 17, 17, 0.25),
    0 2px 6px -2px rgba(17, 17, 17, 0.1);
  align-self: center;
  justify-self: center;
  max-width: 100%;
}

.service-block {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 44px;
  padding: 44px 0;
  border-top: 1px solid var(--border);
}

.service-block:first-of-type {
  border-top: none;
}

.service-block.reverse {
  grid-template-columns: 0.9fr 1.1fr;
}

.service-block.reverse .service-text {
  order: 2;
}

.service-block.reverse .image-placeholder,
.service-block.reverse .section-image {
  order: 1;
}

.service-text h2 {
  font-family: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(24px, 2.5vw, 34px);
  margin-bottom: 14px;
  line-height: 1.25;
}

.service-text h3 {
  margin-top: 0;
  margin-bottom: 14px;
  font-family: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(22px, 2.2vw, 28px);
  color: var(--heading);
  line-height: 1.3;
}

.service-text h4 {
  margin-top: 20px;
  margin-bottom: 10px;
  font-size: 17px;
  color: var(--heading);
  letter-spacing: 0.01em;
}

.service-text p {
  color: var(--text-muted);
  margin-bottom: 14px;
}

.service-text li {
  color: var(--text-muted);
  margin-bottom: 8px;
}

.service-text ul {
  margin: 14px 0 0 22px;
}

.contact-card {
  border: 1px solid var(--border);
  padding: 28px 26px;
  background: var(--surface-alt);
  color: var(--text);
  border-radius: 4px;
}

.contact-card p {
  margin-bottom: 8px;
}

.contact-card a {
  color: var(--accent-red);
}

.site-footer {
  background: var(--gray-950);
  color: var(--gray-300);
  padding: 36px 20px 28px;
  margin-top: 60px;
  font-size: 12px;
  line-height: 1.55;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.footer-title {
  font-family: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: #ffffff;
  letter-spacing: 0.04em;
  margin-bottom: 10px;
}

.site-footer p {
  margin-bottom: 8px;
  max-width: 900px;
}

.site-footer a {
  color: #ffffff;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.35);
  text-underline-offset: 2px;
}

.site-footer a:hover {
  text-decoration-color: #ffffff;
}

.site-footer strong {
  color: #ffffff;
  font-weight: 500;
}

.footer-note {
  color: var(--gray-500);
  font-style: italic;
}

.footer-copy {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--gray-500);
  font-size: 11px;
}

@media (max-width: 900px) {
  .section {
    padding: 60px 20px;
  }

  .section-header {
    margin-bottom: 28px;
  }

  .section-body {
    gap: 32px;
  }

  .service-block {
    padding: 32px 0;
    gap: 28px;
  }

  .nav {
    flex-wrap: wrap;
    gap: 12px;
    padding: 12px 20px;
    justify-content: center;
    text-align: center;
  }

  .logo {
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .nav-actions {
    width: 100%;
    justify-content: center;
  }

  .nav-links {
    flex-wrap: nowrap;
    gap: 10px;
    font-size: 11px;
    letter-spacing: 0.04em;
    white-space: nowrap;
  }

  .nav-actions {
    gap: 10px;
  }

  .theme-toggle {
    width: 32px;
    height: 32px;
  }

  .theme-toggle .icon {
    width: 16px;
    height: 16px;
  }

  .logo img {
    height: 68px;
  }

  .splash-tagline {
    font-size: clamp(22px, 5vw, 30px);
  }

  .section-body,
  .service-block,
  .service-block.reverse {
    grid-template-columns: 1fr;
  }

  .service-block.reverse .service-text,
  .service-block.reverse .image-placeholder,
  .service-block.reverse .section-image {
    order: unset;
  }
}

@media (max-width: 420px) {
  .nav-links {
    gap: 8px;
    font-size: 10px;
    letter-spacing: 0.02em;
  }
}
