/* ==========================================================================
   Atoll Capital — single-page business card
   ========================================================================== */

:root {
  --color-primary: #072d4f;
  --color-text: #2f2e2a;
  --color-muted: #6b6b66;
  --color-surface: #f6f6f6;
  --color-bg: #ffffff;
  --color-on-dark: #ffffff;

  /* Inter if installed, otherwise the OS UI font. No external font requests. */
  --font-base: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --container-width: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 20px;
}

/* ---------- Base ---------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-base);
  font-size: 16px;
  line-height: 1.5;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

h1,
h2,
p,
dl,
dd {
  margin: 0;
}

.container {
  width: 100%;
  max-width: calc(var(--container-width) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------- Hero ---------- */

.hero {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: clamp(380px, 62vh, 640px);
  padding-block: 28px clamp(32px, 6vw, 64px);
  color: var(--color-on-dark);
  /* --hero-image is set in the template from the admin settings. */
  background: var(--color-primary) var(--hero-image) center / cover no-repeat;
}

.hero__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.hero__logo {
  width: auto;
  height: clamp(36px, 4.5vw, 48px);
}

.hero__title {
  font-size: clamp(48px, 11vw, 150px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.04em;
}

/* ---------- Language switch ---------- */

.lang-switch {
  display: flex;
  gap: 4px;
  padding: 4px;
  border: 1px solid rgb(255 255 255 / 0.4);
  border-radius: 999px;
}

.lang-switch__item {
  min-width: 44px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
  text-align: center;
  color: inherit;
  text-decoration: none;
  transition: background-color 0.2s ease;
}

a.lang-switch__item:hover,
a.lang-switch__item:focus-visible {
  background: rgb(255 255 255 / 0.15);
  outline: none;
}

.lang-switch__item--active {
  color: var(--color-primary);
  background: var(--color-on-dark);
}

/* ---------- About ---------- */

.about {
  padding-block: clamp(48px, 8vw, 112px);
}

.about__text {
  max-width: 24ch;
  font-size: clamp(26px, 3.4vw, 46px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--color-primary);
}

/* ---------- Contacts ---------- */

.contacts {
  padding-bottom: clamp(48px, 8vw, 112px);
}

.contacts__card {
  max-width: 720px;
  padding: clamp(24px, 4vw, 40px);
  border-radius: var(--radius);
  background: var(--color-surface);
}

.contacts__title {
  margin-bottom: 24px;
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--color-primary);
}

.contacts__list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px 32px;
}

.contacts__item dt {
  margin-bottom: 4px;
  font-size: 13px;
  color: var(--color-muted);
}

.contacts__item dd {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.4;
}

/* ---------- Footer ---------- */

.footer {
  padding-block: 40px;
  background: var(--color-primary);
}

.footer__logo {
  width: auto;
  height: 36px;
}
