@font-face {
  font-family: "Figtree";
  src: url("/fonts/figtree.woff2") format("woff2");
  font-weight: 300 900;
  font-display: swap;
}

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

body {
  margin: 0;
  background: #f9f4ed;
  color: #201e1d;
  font: 400 18px/1.6 "Figtree", system-ui, sans-serif;
}

body::before, body::after {
  content: "";
  display: block;
  height: 12px;
  background: repeating-linear-gradient(90deg, #8c2f3f 0 32px, #8566a8 32px 64px);
}

h1, h2, h3, p { margin: 0; }

main {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  padding: clamp(72px, 11vh, 120px) clamp(22px, 5vw, 56px) 48px;
  display: flex;
  flex-direction: column;
  gap: clamp(72px, 11vh, 120px);
}

a { color: #7a2335; text-decoration-color: #8566a8; text-decoration-thickness: 2px; text-underline-offset: 4px; }
a:hover { color: #4f1523; }
:focus-visible { outline: 2px solid #8c2f3f; outline-offset: 2px; }

/* language switch */
.lang {
  position: absolute;
  top: 24px;
  right: clamp(22px, 5vw, 56px);
  display: flex;
  gap: 2px;
  padding: 3px;
  background: #ece6f3;
  border-radius: 999px;
}
.lang a {
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.6;
  color: #201e1d;
  text-decoration: none;
}
.lang a[aria-current="page"] { background: #8c2f3f; color: #f5ead8; }
.lang a[aria-current="page"]:hover { color: #f5ead8; }

/* hero */
.hero {
  display: flex;
  flex-wrap: wrap-reverse;
  align-items: center;
  justify-content: space-between;
  gap: clamp(40px, 6vw, 72px);
}
.hero-text {
  flex: 1 1 340px;
  max-width: 560px;
  display: flex;
  flex-direction: column;
  gap: 26px;
}
h1 {
  font-size: clamp(40px, 6vw, 60px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
}
.lead {
  font-size: clamp(20px, 2.4vw, 24px);
  line-height: 1.5;
  text-wrap: pretty;
}
.buttons { display: flex; flex-wrap: wrap; gap: 13px; }

.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 999px;
  background: #8c2f3f;
  color: #f5ead8;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.6;
  text-decoration: none;
}
.btn:hover { background: #75263a; color: #f5ead8; }
.btn:active { background: #7a2335; }
.btn.ghost { background: transparent; color: #7a2335; padding: 14px 16px; }
.btn.ghost:hover { color: #7a2335; text-decoration: underline; text-decoration-color: #8566a8; text-decoration-thickness: 2px; text-underline-offset: 6px; }

.photo {
  width: min(280px, 52vw);
  height: min(280px, 52vw);
  margin: 0 auto;
  border-radius: 50%;
  overflow: hidden;
}
.photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* sections */
section { display: flex; flex-direction: column; gap: 26px; }
h2 {
  font-size: clamp(28px, 3.6vw, 36px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
section:not(.contact):not(.legal) > h2::before {
  content: "";
  display: block;
  width: 128px;
  height: 10px;
  margin-bottom: 20px;
  background: repeating-linear-gradient(90deg, #8c2f3f 0 32px, #8566a8 32px 64px);
}
h3 { font-size: 22px; font-weight: 700; line-height: 1.3; }

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 18px;
}
.grid > div { display: flex; flex-direction: column; gap: 9px; }
.grid p { color: #474238; }

.values > div { border-top: 2px solid #8c2f3f; padding-top: 18px; }
.cards > div { background: #f5ead8; border-radius: 16px; padding: 26px; }

.narrow { max-width: 640px; gap: 18px; }
.narrow p { max-width: 640px; }

.contact {
  max-width: 720px;
  padding: clamp(32px, 5vw, 56px);
  background: #f4e1e1;
  border-radius: 28px;
  color: #3a0f19;
  gap: 18px;
}
.contact { position: relative; overflow: hidden; padding-top: calc(clamp(32px, 5vw, 56px) + 14px); }
.contact::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 14px;
  background: repeating-linear-gradient(90deg, #8c2f3f 0 32px, #8566a8 32px 64px);
}
.contact p { font-size: 20px; }
.contact .btn { align-self: flex-start; }

footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 13px;
  font-size: 15px;
  color: #645c50;
}
footer nav { display: flex; gap: 18px; }
footer a { color: #645c50; }
footer a:hover { color: #201e1d; }
