:root {
  --ink: #181614;
  --muted: #6b625b;
  --paper: #faf8f3;
  --surface: #ffffff;
  --line: #ded8cf;
  --accent: #8b3f2f;
  --accent-dark: #5e2a21;
  --forest: #234339;
  --shadow: 0 18px 55px rgba(24, 22, 20, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 72px;
  padding: 0 5vw;
  background: rgba(250, 248, 243, 0.92);
  border-bottom: 1px solid rgba(222, 216, 207, 0.85);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: 0;
  text-decoration: none;
}

.brand img {
  width: 46px;
  height: 46px;
  object-fit: contain;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 3vw, 2rem);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(0.6rem, 2vw, 1.35rem);
  font-size: 0.95rem;
}

.header-social {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.header-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 6px;
  text-decoration: none;
  transition: color 160ms ease, border-color 160ms ease;
}

.header-social a:hover {
  color: var(--ink);
  border-color: var(--muted);
}

.header-social svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.header-social a[href*="facebook"] svg path {
  fill: currentColor;
  stroke: none;
}

.site-nav a,
.language-nav a {
  color: var(--muted);
  text-decoration: none;
  transition: color 160ms ease;
}

.site-nav a:hover,
.site-nav a[aria-current="page"],
.language-nav a:hover,
.language-nav a[aria-current="true"] {
  color: var(--ink);
}

.language-nav {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.language-nav a + a::before {
  content: "/";
  margin-right: 0.45rem;
  color: var(--line);
}

.hero {
  position: relative;
  min-height: calc(100vh - 72px);
  display: grid;
  align-items: center;
  overflow: hidden;
  background: var(--ink);
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(18, 16, 14, 0.82), rgba(18, 16, 14, 0.46) 48%, rgba(18, 16, 14, 0.18)),
    linear-gradient(0deg, rgba(18, 16, 14, 0.18), rgba(18, 16, 14, 0.1));
}

.hero-content {
  position: relative;
  width: min(680px, 90vw);
  margin-left: 5vw;
  padding: 5rem 0;
  color: #fffaf1;
}

.eyebrow {
  margin: 0 0 0.75rem;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #e2b07c;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.05;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(3.7rem, 12vw, 8rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3.6rem);
}

h3 {
  font-size: 1.3rem;
}

.hero-content p:not(.eyebrow) {
  max-width: 560px;
  margin: 1rem 0 0;
  color: rgba(255, 250, 241, 0.88);
  font-size: clamp(1.05rem, 2vw, 1.3rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.8rem 1.15rem;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 800;
  text-decoration: none;
}

.button-primary {
  background: #fffaf1;
  color: var(--ink);
}

.button-secondary {
  border-color: rgba(255, 250, 241, 0.5);
  color: #fffaf1;
}

.intro,
.feature-grid,
.page-hero,
.content-page {
  width: min(1120px, 90vw);
  margin-inline: auto;
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(280px, 1fr);
  gap: clamp(1.5rem, 5vw, 5rem);
  padding: clamp(4rem, 9vw, 7rem) 0;
  border-bottom: 1px solid var(--line);
}

.intro-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 1.12rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  padding: clamp(3rem, 7vw, 5rem) 0 clamp(4rem, 9vw, 7rem);
}

.feature-grid article {
  min-height: 260px;
  padding: 1.35rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.feature-grid span {
  display: block;
  margin-bottom: 3.8rem;
  color: var(--forest);
  font-weight: 800;
}

.feature-grid p {
  color: var(--muted);
}

.page-hero {
  padding: clamp(4rem, 10vw, 7rem) 0 2rem;
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  font-size: clamp(2.8rem, 8vw, 6rem);
}

.page-hero p:last-child {
  max-width: 720px;
  color: var(--muted);
  font-size: 1.12rem;
}

.content-page {
  max-width: 760px;
  padding: clamp(2.5rem, 7vw, 5rem) 0 clamp(4rem, 9vw, 7rem);
}

.content-page h2 {
  margin-top: 2.4rem;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
}

.content-page p,
.content-page li {
  color: var(--muted);
  font-size: 1.06rem;
}

.content-page a {
  color: var(--accent-dark);
  font-weight: 800;
}

.contact-panel {
  margin-top: 3rem;
  padding: 1.35rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.contact-panel h2 {
  margin-top: 0;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 40px;
  padding: 0.55rem 0.85rem;
  color: var(--accent-dark);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 6px;
  font-weight: 800;
  text-decoration: none;
}

.social-links svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.social-links svg path,
.social-links svg rect,
.social-links svg circle {
  vector-effect: non-scaling-stroke;
}

.social-links a[href*="facebook"] svg path,
.social-links a[href*="m.me"] svg path:last-child {
  fill: currentColor;
  stroke: none;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem 5vw;
  color: var(--muted);
  background: var(--surface);
  border-top: 1px solid var(--line);
  font-size: 0.92rem;
}

.site-footer p {
  margin: 0;
}

.site-footer .social-links {
  justify-content: flex-end;
}

.site-footer .social-links a {
  min-height: auto;
  padding: 0;
  color: var(--ink);
  background: transparent;
  border: 0;
}

@media (max-width: 760px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
    padding-block: 1rem;
  }

  .site-nav {
    width: 100%;
    gap: 0.75rem;
    font-size: 0.9rem;
  }

  .header-social {
    order: 3;
  }

  .header-actions {
    width: 100%;
    align-items: flex-start;
    flex-direction: column;
    gap: 0.75rem;
  }

  .hero {
    min-height: 680px;
  }

  .hero-overlay {
    background:
      linear-gradient(0deg, rgba(18, 16, 14, 0.86), rgba(18, 16, 14, 0.54) 62%, rgba(18, 16, 14, 0.25)),
      linear-gradient(90deg, rgba(18, 16, 14, 0.55), rgba(18, 16, 14, 0.1));
  }

  .hero-content {
    align-self: end;
    width: min(90vw, 580px);
    margin-inline: auto;
    padding: 4rem 0;
  }

  h1 {
    font-size: clamp(3.2rem, 18vw, 5.5rem);
  }

  .button {
    flex: 1 1 180px;
  }

  .intro,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .feature-grid article {
    min-height: 220px;
  }

  .feature-grid span {
    margin-bottom: 2.5rem;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-footer .social-links {
    justify-content: flex-start;
  }
}

@media (max-width: 430px) {
  .site-nav {
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .hero {
    min-height: 620px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }
}
