:root {
  --sky-top: #ecf4ff;
  --sky-mid: #bfd2e9;
  --sky-bottom: #7896bc;
  --glass: rgba(237, 245, 252, 0.62);
  --glass-border: rgba(255, 255, 255, 0.42);
  --text: #12273d;
  --muted: #4d6780;
  --accent: #b72632;
  --accent-deep: #7c1721;
  --shadow: rgba(16, 33, 51, 0.2);
  --font-family: "Aptos", "Segoe UI Variable", "Segoe UI", "Helvetica Neue", sans-serif;
  --font-size-title: clamp(2.8rem, 1.9rem + 3.6vw, 5.2rem);
  --font-size-body: clamp(1rem, 0.95rem + 0.24vw, 1.15rem);
  --font-size-kicker: clamp(0.78rem, 0.72rem + 0.3vw, 0.94rem);
  --font-size-section: clamp(1.05rem, 0.95rem + 0.5vw, 1.35rem);
  --space: clamp(1.5rem, 1rem + 1.6vw, 3rem);
  --radius: 32px;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--font-family);
  color: var(--text);
  background:
    radial-gradient(circle at 50% 12%, rgba(255, 255, 255, 0.78), transparent 24%),
    linear-gradient(180deg, var(--sky-top) 0%, var(--sky-mid) 46%, var(--sky-bottom) 100%);
}

a {
  color: var(--accent-deep);
}

.page {
  position: relative;
  flex: 1 0 auto;
  display: grid;
  align-items: center;
  padding: calc(var(--space) * 1.35) var(--space) var(--space);
  overflow: hidden;
  isolation: isolate;
  transition: filter 180ms ease, opacity 180ms ease;
}

body.contact-open .page {
  filter: blur(8px) brightness(0.84);
}

.site-header {
  position: absolute;
  top: 1rem;
  left: 1.5rem;
  right: 1.5rem;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--text);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.brand-logo {
  width: 5.6rem;
  height: 5.6rem;
  flex: 0 0 auto;
  display: block;
  object-fit: contain;
  border-radius: 12px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-left: auto;
}

.nav-item {
  position: relative;
  display: flex;
  align-items: center;
}

.nav-item::after {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 0.55rem;
  content: "";
}

.nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 2.7rem;
  padding: 0.72rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  background: rgba(244, 249, 253, 0.36);
  color: var(--text);
  text-decoration: none;
  font-size: 0.94rem;
  font-weight: 700;
  line-height: 1;
  backdrop-filter: blur(12px);
  transition: transform 120ms ease, background-color 120ms ease, border-color 120ms ease;
}

.nav-link-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.nav-link-caret {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 0.8rem;
  height: 0.8rem;
  color: rgba(18, 39, 61, 0.7);
}

.nav-link-caret .material-symbols-outlined {
  font-size: 1rem;
  line-height: 1;
  font-variation-settings: "FILL" 1, "wght" 500, "GRAD" 0, "opsz" 20;
}

.nav-item:hover .nav-link,
.nav-item:focus-within .nav-link {
  transform: translateY(-1px);
  background: rgba(248, 251, 254, 0.6);
}

.nav-menu {
  position: absolute;
  top: calc(100% - 0.1rem);
  left: 0;
  min-width: 14rem;
  padding: 0.6rem;
  margin: 0;
  list-style: none;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 22px;
  background: rgba(247, 251, 254, 0.88);
  box-shadow: 0 18px 44px rgba(18, 39, 61, 0.14);
  backdrop-filter: blur(18px);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 140ms ease, transform 140ms ease;
}

.nav-item:hover .nav-menu,
.nav-item:focus-within .nav-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.nav-menu a {
  display: block;
  padding: 0.8rem 0.95rem;
  border-radius: 16px;
  color: var(--text);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 650;
}

.nav-menu a:hover,
.nav-menu a:focus-visible {
  background: rgba(18, 39, 61, 0.07);
  outline: none;
}

.language-picker {
  position: relative;
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.language-trigger,
.language-option {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.7rem;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 999px;
  background: rgba(244, 249, 253, 0.44);
  color: var(--text);
  font: inherit;
  cursor: pointer;
  backdrop-filter: blur(14px);
  transition: transform 120ms ease, background-color 120ms ease, border-color 120ms ease;
}

.language-trigger {
  gap: 0.4rem;
  padding: 0.72rem 0.95rem;
}

.language-label {
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.language-caret {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1rem;
  height: 1rem;
  color: rgba(18, 39, 61, 0.72);
}

.language-caret .material-symbols-outlined {
  font-size: 1rem;
  line-height: 1;
  font-variation-settings: "FILL" 1, "wght" 500, "GRAD" 0, "opsz" 20;
}

.language-trigger:hover,
.language-option:hover {
  transform: translateY(-1px);
  background: rgba(244, 249, 253, 0.6);
}

.language-trigger[aria-expanded="true"] {
  border-color: rgba(18, 39, 61, 0.18);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 10px 26px rgba(18, 39, 61, 0.12);
}

.language-menu {
  position: absolute;
  top: calc(100% + 0.45rem);
  right: 0;
  min-width: 100%;
  display: grid;
  gap: 0.45rem;
  padding: 0.45rem;
  margin: 0;
  list-style: none;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 22px;
  background: rgba(247, 251, 254, 0.88);
  box-shadow: 0 18px 44px rgba(18, 39, 61, 0.14);
  backdrop-filter: blur(18px);
}

.language-menu[hidden] {
  display: none;
}

.language-option {
  width: 100%;
  padding: 0.72rem 0.95rem;
}

.language-option[aria-pressed="true"] {
  border-color: rgba(18, 39, 61, 0.18);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 10px 26px rgba(18, 39, 61, 0.1);
}

.scene {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  pointer-events: none;
  object-fit: cover;
  object-position: center;
}

.aurora {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 12% 16%, rgba(255, 255, 255, 0.52), transparent 22%),
    radial-gradient(circle at 84% 24%, rgba(213, 236, 255, 0.34), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.24), transparent 40%);
  mix-blend-mode: screen;
}

.content {
  width: min(1180px, calc(100% - (clamp(1.1rem, 1rem + 1.4vw, 2rem) * 2)));
  margin: 5.5rem auto 0;
}

.content > .card {
  width: min(100%, 720px);
}

.card {
  padding: clamp(1.6rem, 1.2rem + 1.5vw, 3rem);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(244, 249, 253, 0.74), var(--glass));
  backdrop-filter: blur(16px);
  box-shadow: 0 24px 80px var(--shadow);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 1rem;
  color: var(--muted);
  font-size: 0.97rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 2.75rem;
  height: 1px;
  content: "";
  background: rgba(18, 39, 61, 0.28);
}

h1 {
  margin: 0;
  max-width: 8.5ch;
  font-size: var(--font-size-title);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.divider {
  width: 84px;
  height: 3px;
  margin: 1.5rem 0 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), rgba(183, 38, 50, 0.05));
}

p {
  max-width: 33rem;
  margin: 1.25rem 0 0;
  font-size: var(--font-size-body);
  line-height: 1.65;
  color: var(--muted);
}

.contact-area {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem;
  margin-top: 1.6rem;
}

.contact-invitation {
  flex: 1 1 17rem;
  margin: 0;
  font-size: 1rem;
}

.contact-trigger,
.contact-action {
  appearance: none;
  border: 1px solid transparent;
  border-radius: 999px;
  font: inherit;
  cursor: pointer;
  transition: transform 120ms ease, background-color 120ms ease, border-color 120ms ease, color 120ms ease;
}

.contact-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.82rem 1.2rem;
  background: linear-gradient(180deg, var(--accent), var(--accent-deep));
  color: #f9fbfd;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  box-shadow: 0 16px 34px rgba(124, 23, 33, 0.2);
}

.contact-trigger:hover,
.contact-trigger:focus-visible,
.contact-action:hover,
.contact-action:focus-visible,
.language-trigger:focus-visible,
.language-option:focus-visible {
  transform: translateY(-1px);
}

.contact-trigger:focus-visible,
.contact-action:focus-visible,
.language-trigger:focus-visible,
.language-option:focus-visible,
.contact-close:focus-visible,
.nav-link:focus-visible {
  outline: 2px solid rgba(18, 39, 61, 0.28);
  outline-offset: 2px;
}

.lead {
  max-width: 37rem;
  font-size: clamp(1.05rem, 0.98rem + 0.35vw, 1.24rem);
}

.services {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.service {
  padding: 1.1rem 1.1rem 1rem;
  border: 1px solid rgba(18, 39, 61, 0.08);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.28);
}

.service h2 {
  margin: 0;
  font-size: var(--font-size-section);
  line-height: 1.15;
  font-weight: 750;
  letter-spacing: -0.02em;
}

.service p {
  margin-top: 0.7rem;
  font-size: 0.98rem;
  line-height: 1.55;
}

.footer-line {
  margin-top: 1.9rem;
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.contact-dialog {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 30;
  width: min(calc(100vw - 2rem), 28rem);
  padding: 1rem;
  border: 1px solid rgba(18, 39, 61, 0.1);
  border-radius: 24px;
  background: #f7fbfd;
  box-shadow: 0 28px 72px rgba(18, 39, 61, 0.22);
}

.contact-dialog[hidden] {
  display: none;
}

.contact-backdrop {
  position: fixed;
  inset: 0;
  z-index: 20;
  background: rgba(11, 24, 39, 0.16);
}

.contact-backdrop[hidden] {
  display: none;
}

.contact-top {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 1rem;
}

.contact-title {
  margin: 0;
  color: var(--text);
  font-size: 1rem;
  font-weight: 750;
  line-height: 1.35;
}

.contact-close {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
}

.contact-email {
  margin-top: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  padding: 0.75rem 0.8rem 0.75rem 0.95rem;
  border: 1px solid rgba(18, 39, 61, 0.08);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.68);
}

.contact-email-text {
  color: var(--text);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  user-select: text;
  -webkit-user-select: text;
  word-break: break-word;
}

.contact-copy-inline {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.2rem;
  padding: 0;
  margin-left: 0.35rem;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: rgba(18, 39, 61, 0.9);
  box-shadow: none;
  min-height: 0;
  flex-basis: 2.4rem;
}

.contact-copy-icon {
  position: relative;
  width: 1.2rem;
  height: 1.2rem;
  display: block;
  pointer-events: none;
}

.contact-copy-icon::before,
.contact-copy-icon::after {
  position: absolute;
  content: "";
  border: 1.6px solid currentColor;
  border-radius: 2px;
  background: #f7fbfd;
  box-sizing: border-box;
}

.contact-copy-icon::before {
  width: 0.82rem;
  height: 0.82rem;
  top: 0.2rem;
  left: 0.28rem;
}

.contact-copy-icon::after {
  width: 0.82rem;
  height: 0.82rem;
  top: 0;
  left: 0;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 0.75rem;
  margin-top: 1rem;
}

.contact-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.8rem;
  padding: 0.78rem 1rem;
  text-decoration: none;
  font-size: 0.94rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.contact-action--primary {
  background: rgba(18, 39, 61, 0.92);
  color: #f7fbff;
  box-shadow: 0 14px 30px rgba(18, 39, 61, 0.16);
}

.contact-status {
  margin-top: 0.65rem;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
}

.contact-status:empty {
  display: none;
}

.cookie-banner {
  position: fixed;
  right: clamp(1rem, 2vw, 2rem);
  bottom: clamp(1rem, 2vw, 2rem);
  z-index: 6;
  width: min(100%, 28rem);
  padding: 1rem;
  border: 1px solid rgba(18, 39, 61, 0.1);
  border-radius: 24px;
  background: rgba(248, 251, 253, 0.94);
  box-shadow: 0 22px 54px rgba(18, 39, 61, 0.18);
  backdrop-filter: blur(18px);
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-title {
  margin: 0;
  color: var(--text);
  font-size: 1rem;
  font-weight: 750;
}

.cookie-text {
  margin-top: 0.55rem;
  max-width: none;
  font-size: 0.95rem;
  line-height: 1.55;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.95rem;
}

.cookie-button {
  appearance: none;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0.76rem 1rem;
  font: inherit;
  font-size: 0.93rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 120ms ease, background-color 120ms ease, border-color 120ms ease;
}

.cookie-button:hover,
.cookie-button:focus-visible {
  transform: translateY(-1px);
}

.cookie-button:focus-visible {
  outline: 2px solid rgba(18, 39, 61, 0.28);
  outline-offset: 2px;
}

.cookie-button--accept {
  background: rgba(18, 39, 61, 0.92);
  color: #f7fbff;
  box-shadow: 0 14px 30px rgba(18, 39, 61, 0.16);
}

.cookie-button--decline {
  border-color: rgba(18, 39, 61, 0.12);
  background: rgba(255, 255, 255, 0.72);
  color: var(--text);
}

.site-footer {
  padding: 1rem 0 1.4rem;
  background: rgba(255, 255, 255, 0.68);
  border-top: 1px solid rgba(24, 48, 72, 0.08);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem 1.4rem;
  width: min(100%, calc(100% - (var(--space) * 2)));
  margin: 0 auto;
}

.footer-copy {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem 1.2rem;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 650;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--text);
}

@media (max-width: 900px) {
  .page {
    align-items: start;
    padding-top: 2rem;
  }

  .site-header {
    position: static;
    right: auto;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 0.65rem;
    padding-right: 0;
  }

  .site-nav {
    flex-wrap: wrap;
    margin-left: 0;
  }

  .content {
    width: min(100%, 100%);
    margin-left: 0;
    margin-top: 0.35rem;
  }

  .services {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .page {
    padding: 0.85rem 1rem 1rem;
  }

  .site-header {
    top: 0;
    left: 0;
    right: 0;
    padding-right: 0;
  }

  .card {
    padding: 1.2rem;
    border-radius: 24px;
  }

  h1 {
    max-width: 9.5ch;
    font-size: clamp(2.45rem, 11vw, 3.25rem);
  }

  .eyebrow {
    gap: 0.6rem;
    margin-bottom: 0.7rem;
    font-size: 0.84rem;
  }

  .divider {
    margin-top: 1rem;
  }

  p {
    margin-top: 0.9rem;
  }

  .contact-dialog {
    width: calc(100vw - 2rem);
  }

  .contact-actions,
  .cookie-actions {
    flex-direction: column;
  }

  .contact-action {
    width: 100%;
  }

  .contact-copy-inline {
    width: 2.4rem;
    height: 2.2rem;
    min-width: 2.4rem;
    flex: 0 0 2.4rem;
  }

  .cookie-banner {
    left: 1rem;
    right: 1rem;
    width: auto;
  }

  .footer-inner {
    width: calc(100% - 2rem);
    align-items: flex-start;
  }

  .site-nav {
    width: 100%;
    gap: 0.6rem;
  }

  .nav-item {
    width: 100%;
  }

  .nav-item::after {
    display: none;
  }

  .nav-link {
    width: 100%;
    justify-content: space-between;
  }

  .nav-menu {
    position: static;
    min-width: 0;
    margin-top: 0.45rem;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    display: none;
  }

  .nav-item:hover .nav-menu,
  .nav-item:focus-within .nav-menu {
    display: block;
  }
}
