@font-face {
  font-family: "Hanken Grotesk";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/assets/hanken-grotesk-latin.woff2") format("woff2");
}

:root {
  --ink: #161513;
  --ink-soft: #2c2a26;
  --yellow: #f2ca2c;
  --paper: #ffffff;
  --text: #111827;
  --muted: #5c5a55;
  --radius: 10px;
  --page: 1440px;
  --gutter: clamp(20px, 4vw, 64px);
  color-scheme: light;
  font-family: "Hanken Grotesk", Inter, ui-sans-serif, system-ui, sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--text); background: var(--ink); font-size: 18px; line-height: 1.55; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 10px 14px;
  background: var(--yellow);
  color: var(--ink);
  transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  color: var(--ink);
  background: rgba(255, 255, 255, .97);
  border-bottom: 1px solid rgba(22, 21, 19, .08);
  transition: color .25s ease, background .25s ease, box-shadow .25s ease;
}
.site-header.is-scrolled {
  color: var(--paper);
  background: rgba(22, 21, 19, .96);
  border-color: rgba(255, 255, 255, .08);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .12);
}
.header-inner {
  width: min(100%, var(--page));
  min-height: 92px;
  margin: 0 auto;
  padding: 18px var(--gutter);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}
.wordmark, .footer-wordmark { font-weight: 700; letter-spacing: -.02em; }
.wordmark { font-size: 1.35rem; justify-self: center; }
.header-navigation { display: flex; align-items: center; gap: 8px; }
.home-link {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 8px;
}
.home-link:hover { background: rgba(22, 21, 19, .07); }
.site-header.is-scrolled .home-link:hover { background: rgba(255, 255, 255, .1); }
.home-link svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.language-selector { display: flex; align-items: center; white-space: nowrap; font-size: .95rem; }
.language-selector a { padding: 7px 9px; border-radius: 8px; }
.language-selector a:hover { background: rgba(22, 21, 19, .07); }
.site-header.is-scrolled .language-selector a:hover { background: rgba(255, 255, 255, .1); }
.language-selector a[aria-current="page"] { font-weight: 700; background: rgba(22, 21, 19, .1); }
.site-header.is-scrolled .language-selector a[aria-current="page"] { background: rgba(255, 255, 255, .13); }
.lang-separator { opacity: .55; }

.section-dark { color: var(--paper); background: var(--ink); }
.section-yellow { color: var(--ink); background: var(--yellow); }
.hero { min-height: calc(100svh - 92px); display: grid; align-items: center; }
.hero-inner {
  width: min(100%, var(--page));
  margin: 0 auto;
  padding: clamp(72px, 10vw, 152px) var(--gutter);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(48px, 7vw, 100px);
}
.hero-image { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); }
.hero-copy { max-width: 680px; }
.eyebrow, .section-kicker { margin: 0 0 18px; font-size: .78rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.hero h1 { margin: 0 0 24px; font-size: clamp(3rem, 5.6vw, 5rem); line-height: 1.02; font-weight: 500; letter-spacing: -.045em; }
.hero-copy > p:not(.eyebrow) { margin: 0; max-width: 620px; font-size: clamp(1.1rem, 1.7vw, 1.35rem); }
.primary-button, .dark-button {
  appearance: none;
  border: 2px solid transparent;
  border-radius: 8px;
  padding: 14px 28px;
  min-height: 54px;
  font-weight: 600;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease, color .18s ease;
}
.primary-button { margin-top: 32px; background: var(--yellow); color: var(--ink); border-color: var(--yellow); }
.dark-button { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.primary-button:hover, .dark-button:hover { transform: translateY(-2px); }
.primary-button:focus-visible, .dark-button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible { outline: 3px solid #5b8def; outline-offset: 3px; }

.statement { padding: clamp(64px, 8vw, 112px) var(--gutter); }
.statement p {
  max-width: 1120px;
  margin: 0 auto;
  font-size: clamp(1.9rem, 3.3vw, 3.1rem);
  line-height: 1.2;
  font-weight: 500;
  letter-spacing: -.03em;
  text-align: center;
}

.section-inner { width: min(100%, var(--page)); margin: 0 auto; padding: clamp(72px, 8vw, 116px) var(--gutter); }
.services h2, .contact h2, .legal-page h1 { margin: 0; font-size: clamp(2.6rem, 5vw, 4.3rem); line-height: 1.06; font-weight: 500; letter-spacing: -.04em; }
.services-grid { margin-top: 48px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 38px 40px; }
.service-card img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); background: var(--ink-soft); }
.service-card h3 { margin: 22px 0 8px; font-size: clamp(1.55rem, 2.1vw, 2rem); line-height: 1.12; font-weight: 500; letter-spacing: -.025em; }
.service-card p { margin: 0; color: rgba(255, 255, 255, .82); }

.contact-inner {
  width: min(100%, var(--page));
  margin: 0 auto;
  padding: clamp(72px, 8vw, 112px) var(--gutter);
  display: grid;
  grid-template-areas: "form copy";
  grid-template-columns: minmax(0, 1fr) minmax(340px, .9fr);
  gap: clamp(56px, 8vw, 120px);
  align-items: start;
}
.contact-form { grid-area: form; display: grid; gap: 22px; }
.contact-copy { grid-area: copy; }
.contact-copy > p:not(.section-kicker):not(.contact-note) { max-width: 540px; margin: 24px 0 0; font-size: 1.15rem; }
.contact-note { margin-top: 28px; padding-top: 20px; border-top: 1px solid rgba(22, 21, 19, .25); color: rgba(22, 21, 19, .7); font-size: .9rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.contact-form label { display: grid; gap: 8px; font-size: .9rem; font-weight: 600; }
.contact-form input, .contact-form textarea {
  width: 100%;
  border: 1px solid rgba(22, 21, 19, .18);
  border-radius: 8px;
  background: rgba(255, 255, 255, .14);
  color: var(--ink);
  padding: 13px 14px;
}
.contact-form input { min-height: 50px; }
.contact-form textarea { resize: vertical; min-height: 150px; }
.spam-trap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.cf-turnstile { min-height: 65px; }
.form-actions { display: flex; align-items: center; gap: 20px; }
.form-status { margin: 0; font-size: .9rem; font-weight: 600; }
button:disabled { cursor: wait; opacity: .65; }

.site-footer {
  min-height: 180px;
  padding: 44px var(--gutter);
  color: var(--paper);
  background: var(--ink-soft);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.site-footer a:hover { text-decoration: underline; text-underline-offset: 4px; }

.whatsapp-link {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 80;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  color: white;
  background: #25d366;
  border: 1px solid rgba(255, 255, 255, .55);
  border-radius: 50%;
  box-shadow: 0 8px 22px rgba(0, 0, 0, .24);
  cursor: pointer;
}
.whatsapp-link:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(0, 0, 0, .28); }
.whatsapp-link:focus-visible { outline: 3px solid var(--paper); outline-offset: 3px; }
.whatsapp-link svg { width: 27px; height: 27px; fill: currentColor; }

.legal-page { min-height: 75svh; }
.legal-inner { width: min(900px, 100%); margin: 0 auto; padding: clamp(70px, 9vw, 130px) var(--gutter); }
.legal-intro { margin: 30px 0 54px; font-size: 1.3rem; }
.legal-inner section { padding: 28px 0; border-top: 1px solid rgba(22, 21, 19, .24); }
.legal-inner section h2 { margin: 0 0 8px; font-size: 1.35rem; }
.legal-inner section p { margin: 0; }
.inline-button { display: inline-flex; align-items: center; margin-top: 36px; }

.reveal { opacity: 0; transform: translateY(20px); transition: opacity .55s ease, transform .55s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 900px) {
  .header-inner { min-height: 110px; grid-template-columns: 1fr; justify-items: center; gap: 7px; padding-block: 15px; }
  .wordmark { grid-row: 1; }
  .header-navigation { grid-row: 2; }
  .language-selector { font-size: .88rem; }
  .header-balance { display: none; }
  .hero { min-height: auto; }
  .hero-inner { grid-template-columns: 1fr; gap: 42px; padding-top: 54px; padding-bottom: 76px; }
  .hero-image { max-height: 620px; }
  .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-inner { grid-template-areas: "copy" "form"; grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  body { font-size: 17px; }
  .lang-separator { margin-inline: 1px; }
  .language-selector a { padding-inline: 6px; }
  .hero-inner { padding-top: 44px; }
  .hero h1 { font-size: clamp(2.7rem, 12vw, 4rem); }
  .hero-image { border-radius: 7px; }
  .statement p { text-align: left; }
  .services-grid { grid-template-columns: 1fr; gap: 46px; }
  .field-row { grid-template-columns: 1fr; }
  .form-actions { align-items: flex-start; flex-direction: column; }
  .site-footer { align-items: flex-start; flex-direction: column; justify-content: center; }
}

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