:root {
  --background: #0d0d0f;
  --surface: #161619;
  --surface-hover: #1b1b1f;
  --text: #f5f5f7;
  --muted: #9a9aa3;
  --accent: #ffdd2a;
  --dark: #111113;
  --border: rgba(255, 255, 255, .12);
  --font: "Avenir Next", Avenir, "Helvetica Neue", sans-serif;
  --container: 1440px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--background); }
body { margin: 0; min-width: 320px; overflow-x: hidden; color: var(--text); background: var(--background); font-family: var(--font); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin-top: 0; }
button { font: inherit; }

.container { width: min(calc(100% - 48px), var(--container)); margin-inline: auto; }
.section { padding-block: 112px; border-top: 1px solid var(--border); }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 100; padding: 10px 14px; color: var(--dark); background: var(--accent); transform: translateY(-150%); }
.skip-link:focus { transform: none; }

.header { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid var(--border); background: rgba(13,13,15,.94); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
.header-inner { position: relative; display: grid; grid-template-columns: 180px 1fr 220px; align-items: center; min-height: 72px; }
.logo img { width: auto; height: 32px; }
.desktop-nav { display: flex; justify-content: center; gap: 32px; }
.desktop-nav a { color: var(--muted); font-size: 14px; font-weight: 600; transition: color .2s ease; }
.desktop-nav a:hover, .desktop-nav a.active { color: var(--text); }
.header-actions { display: flex; align-items: center; justify-content: flex-end; gap: 18px; }
.language { position: relative; color: var(--muted); font-size: 12px; font-weight: 700; }
.language-trigger { display: flex; align-items: center; justify-content: center; gap: 9px; padding: 8px 2px; border: 0; color: inherit; background: transparent; font-size: 12px; font-weight: 700; cursor: pointer; transition: color .2s ease; }
.language-trigger::after { width: 6px; height: 6px; margin-top: -3px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; content: ""; transform: rotate(45deg); transition: transform .2s ease; }
.language-trigger:hover, .language-trigger[aria-expanded="true"] { color: var(--accent); }
.language-trigger[aria-expanded="true"]::after { margin-top: 3px; transform: rotate(225deg); }
.language-menu { position: absolute; top: calc(100% + 10px); right: 0; z-index: 60; display: grid; min-width: 180px; padding: 6px; border: 1px solid var(--border); border-radius: 14px; background: var(--surface); box-shadow: 0 18px 48px rgba(0,0,0,.38); }
.language-menu[hidden] { display: none; }
.language-menu a { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 11px 12px; border-radius: 999px; color: var(--muted); font-size: 13px; transition: color .2s ease, background .2s ease; }
.language-menu a:hover, .language-menu a.active, .language-menu a.active:hover { color: var(--accent); }
.language-menu a.active::after { width: 9px; height: 5px; margin: -3px 2px 0 0; border-bottom: 2px solid currentColor; border-left: 2px solid currentColor; content: ""; transform: rotate(-45deg); }

.button { display: inline-flex; min-height: 52px; align-items: center; justify-content: center; padding: 0 24px; border: 0; border-radius: 999px; color: var(--dark); background: var(--accent); font-size: 15px; font-weight: 700; transition: background .2s ease, transform .2s ease; }
.button:hover { background: #ffe461; transform: translateY(-2px); }
.button-cta { min-width: 196px; min-height: 64px; padding-inline: 36px; font-size: 17px; letter-spacing: -.01em; box-shadow: 0 12px 32px rgba(255, 221, 42, .14); transition: background .2s ease, color .2s ease, box-shadow .2s ease, transform .2s ease; }
.button-cta:hover { background: #ffe66a; box-shadow: 0 16px 38px rgba(255, 221, 42, .22); transform: translateY(-3px); }
.button-small { min-height: 42px; padding-inline: 18px; border-radius: 999px; font-size: 13px; }
.button-dark { color: var(--text); background: var(--dark); }
.button-dark:hover { color: var(--dark); background: var(--text); }
.button-dark.button-cta { min-width: 230px; box-shadow: 0 12px 30px rgba(0, 0, 0, .16); }
.button-dark.button-cta:hover { color: var(--text); background: #29292d; box-shadow: 0 16px 36px rgba(0, 0, 0, .22); }

.menu-button { display: none; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--accent); cursor: pointer; }
.menu-button span { display: block; width: 18px; height: 2px; margin: 4px auto; background: var(--dark); transition: .2s ease; }
.menu-button[aria-expanded="true"] span:first-child { transform: translateY(3px) rotate(45deg); }
.menu-button[aria-expanded="true"] span:last-child { transform: translateY(-3px) rotate(-45deg); }
.mobile-nav { display: none; }

.service-arrow { display: grid; width: 44px; height: 44px; place-items: center; border: 1px solid var(--border); border-radius: 50%; font-size: 20px; transition: border-color .2s ease, background .2s ease, color .2s ease, transform .2s ease; }
.service-arrow::before, .contact > a b::before { width: 24px; height: 24px; background: currentColor; content: ""; -webkit-mask: url("/assets/icons/arrow.svg") center / contain no-repeat; mask: url("/assets/icons/arrow.svg") center / contain no-repeat; }

.contact h2 { max-width: 900px; margin: 0 0 32px; font-size: clamp(42px, 4.8vw, 68px); font-weight: 600; line-height: 1; letter-spacing: -.05em; }
.contact > a { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; padding: 36px 40px; border-radius: 28px; background: var(--surface); transition: background .2s ease, transform .2s ease; }
.contact > a:hover { background: var(--surface-hover); transform: translateY(-2px); }
.contact > a:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.contact > a span { color: var(--muted); font-size: 13px; }
.contact > a strong { grid-column: 1; margin-top: 8px; font-size: clamp(24px, 3.5vw, 44px); line-height: 1.1; letter-spacing: -.04em; transition: color .2s ease; }
.contact > a b { grid-column: 2; grid-row: 1 / span 2; display: grid; width: 62px; height: 62px; place-items: center; border: 1px solid var(--border); border-radius: 50%; color: var(--text); background: transparent; transition: color .2s ease, border-color .2s ease, background .2s ease, transform .2s ease; }
.contact > a:hover strong { color: var(--accent); }
.contact > a:hover b { color: var(--dark); border-color: var(--accent); background: var(--accent); transform: rotate(6deg) scale(1.04); }

.footer { padding: 72px 0 28px; border-top: 1px solid var(--border); background: #09090a; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1fr) repeat(3, 180px); column-gap: 48px; row-gap: 60px; }
.footer-links { display: contents; }
.footer-brand img { width: auto; height: 41px; margin-bottom: 24px; }
.footer-brand p { max-width: 360px; color: var(--muted); font-size: 14px; line-height: 1.6; }
.footer nav { display: flex; flex-direction: column; align-items: flex-start; gap: 13px; }
.footer nav h3 { margin-bottom: 10px; color: #707078; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.footer nav a, .footer nav span { color: #c3c3ca; font-size: 13px; }
.footer nav a:hover { color: var(--accent); }
.footer nav small { margin-left: 6px; padding: 3px 7px; border-radius: 5px; color: #08080a; background: var(--accent); font-size: 9px; font-weight: 800; letter-spacing: .02em; }
.footer-bottom { display: flex; gap: 28px; margin-top: 64px; padding-top: 22px; border-top: 1px solid var(--border); color: #707078; font-size: 11px; }
.footer-bottom span { margin-right: auto; }

@media (max-width: 820px) {
  .container { width: min(calc(100% - 32px), var(--container)); }
  .section { padding-block: 82px; }
  .header-inner { grid-template-columns: 1fr auto; }
  .desktop-nav, .language, .header-actions .button-small { display: none; }
  .menu-button { display: block; }
  body.menu-open { overflow: hidden; }
  .mobile-nav { position: fixed; top: 72px; right: 0; bottom: 0; left: 0; z-index: 40; display: grid; align-content: start; gap: 4px; padding: 36px max(24px, calc((100vw - var(--container)) / 2 + 24px)); border-top: 1px solid var(--border); background: rgba(13,13,15,.94); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); }
  .mobile-nav[hidden] { display: none; }
  .mobile-nav a { padding: 10px 0; color: var(--muted); font-size: clamp(30px, 7vw, 42px); font-weight: 600; line-height: 1.15; letter-spacing: -.035em; transition: color .2s ease; }
  .mobile-nav a:hover, .mobile-nav a.active { color: var(--accent); }
  .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; gap: 28px; }
  .footer-links { display: flex; flex-direction: column; gap: 36px; }
  .footer nav h3 { margin-bottom: 4px; }
}

@media (max-width: 560px) {
  .container { width: calc(100% - 24px); }
  .section { padding-block: 64px; }
  .header-inner { min-height: 64px; }
  .mobile-nav { top: 64px; padding-top: 28px; }
  .logo img { width: auto; height: 28px; }
  .service-arrow { width: 36px; height: 36px; font-size: 17px; }
  .contact > a { gap: 18px; padding: 24px 20px; border-radius: 18px; }
  .contact h2 { font-size: 43px; }
  .contact > a strong { overflow-wrap: anywhere; font-size: 22px; }
  .contact > a b { width: 48px; height: 48px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-links { grid-column: 1; }
  .footer-grid > nav { grid-column: 2; }
  .footer-bottom { align-items: flex-start; flex-direction: column; gap: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
