@font-face {
  font-family: 'Aristotelica-Display';
  src: url('assets/fonts/AristotelicaDisplay-DemiBold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Aristotelica-Text';
  src: url('assets/fonts/AristotelicaText-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Aristotelica-SmallCaps';
  src: url('assets/fonts/AristotelicaSmallCaps-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --radius: 28px;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.18);
  --max-width: 1180px;
}

html[data-theme='dark'] {
  --bg: #0f1720;
  --bg-2: #17212b;
  --surface: #121b24;
  --surface-2: #0b1218;
  --panel: rgba(255,255,255,0.04);
  --panel-strong: rgba(255,255,255,0.06);
  --border: rgba(255,255,255,0.10);
  --text: #ffffff;
  --muted: rgba(255,255,255,0.72);
  --soft: rgba(255,255,255,0.50);
  --accent: #be5b73;
  --accent-strong: #d06b84;
  --accent-soft: rgba(190, 91, 115, 0.12);
  --accent-border: rgba(190, 91, 115, 0.24);
  --input-bg: rgba(255,255,255,0.05);
  --header-bg: rgba(15, 23, 32, 0.82);
  --line-thin: rgba(190, 91, 115, 0.9);
  --line-bold: rgba(190, 91, 115, 0.62);
  --theme-meta: #0f1720;
}

html[data-theme='light'] {
  --bg: #f6f3ee;
  --bg-2: #efe9e1;
  --surface: #ffffff;
  --surface-2: #f2ece5;
  --panel: rgba(255,255,255,0.82);
  --panel-strong: rgba(255,255,255,0.94);
  --border: rgba(22,32,42,0.10);
  --text: #16202a;
  --muted: rgba(22,32,42,0.74);
  --soft: rgba(22,32,42,0.55);
  --accent: #8f3046;
  --accent-strong: #7f2b3f;
  --accent-soft: rgba(143, 48, 70, 0.08);
  --accent-border: rgba(143, 48, 70, 0.16);
  --input-bg: #ffffff;
  --header-bg: rgba(246, 243, 238, 0.88);
  --line-thin: rgba(143, 48, 70, 0.75);
  --line-bold: rgba(143, 48, 70, 0.55);
  --theme-meta: #f6f3ee;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
  color: var(--text);
  font-family: 'Aristotelica-Text', Arial, sans-serif;
  line-height: 1.5;
  transition: background-color 0.3s ease, color 0.3s ease;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }

.container {
  width: min(var(--max-width), calc(100% - 48px));
  margin: 0 auto;
}

.section { padding: 88px 0; position: relative; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: var(--header-bg);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand img { height: 48px; width: auto; }
.header-right {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.tagline {
  color: var(--soft);
  font-size: 0.95rem;
}

.lang-switch,
.theme-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px;
  border: 1px solid var(--border);
  background: var(--panel);
  border-radius: 999px;
}

.theme-btn {
  color: var(--muted);
  padding: 8px 14px;
  transition: 0.2s ease;
}
.theme-btn:hover { color: var(--text); background: var(--panel-strong); }

.lang-btn {
  border: 0;
  background: transparent;
  color: var(--soft);
  padding: 8px 14px;
  border-radius: 999px;
  transition: 0.2s ease;
}
.lang-btn:hover { color: var(--text); background: var(--panel-strong); }
.lang-btn.active { background: var(--accent); color: #fff; }

.hero {
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 82% 10%, var(--accent-soft), transparent 34%), linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 56%, var(--bg) 100%);
}
.hero-watermark {
  position: absolute;
  right: -30px;
  top: 24px;
  opacity: 0.08;
  pointer-events: none;
}
html[data-theme='light'] .hero-watermark { opacity: 0.05; }
.hero-watermark img {
  width: min(36vw, 340px);
  min-width: 180px;
}
.hero-inner { min-height: 520px; display: flex; align-items: center; }
.hero-copy { max-width: 780px; position: relative; z-index: 1; }

.badge, .section-label, .meta-label, .field label {
  font-family: 'Aristotelica-SmallCaps', Arial, sans-serif;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  border: 1px solid var(--accent-border);
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: 999px;
  padding: 0 16px;
  margin-bottom: 18px;
}

h1, h2, h3 {
  font-family: 'Aristotelica-Display', Arial, sans-serif;
  margin: 0;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.7rem, 6vw, 5rem);
  line-height: 0.98;
  max-width: 14ch;
}

h2 {
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.02;
  margin-bottom: 28px;
}

.hero-text {
  max-width: 780px;
  color: var(--muted);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  margin: 22px 0 0;
}

.hero-actions {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 18px;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 18px 36px rgba(0,0,0,0.12);
}
.btn-primary:hover { background: var(--accent-strong); }
.btn-secondary {
  border: 1px solid var(--border);
  color: var(--muted);
  background: transparent;
}
.btn-secondary:hover {
  color: var(--text);
  background: var(--panel);
}

.section-label {
  color: var(--accent);
  font-size: 0.9rem;
  margin: 0 0 10px;
}

.card-grid {
  display: grid;
  gap: 22px;
}
.two-col { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.three-col { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 24px;
  box-shadow: var(--shadow);
  min-height: 140px;
}
.card h3 {
  font-size: 1.35rem;
  margin-bottom: 12px;
}
.card p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
}

.contact-panel {
  position: relative;
  display: grid;
  gap: 32px;
  grid-template-columns: minmax(280px, 0.9fr) minmax(340px, 1.1fr);
  border-radius: 32px;
  border: 1px solid var(--accent-border);
  background: linear-gradient(180deg, var(--panel), transparent), var(--surface-2);
  padding: 36px;
  overflow: hidden;
}

.contact-copy,
.contact-form { position: relative; z-index: 1; }
.contact-text,
.meta-value,
.privacy-note {
  color: var(--muted);
}
.contact-meta {
  margin-top: 28px;
  display: grid;
  gap: 18px;
}
.meta-label {
  color: var(--accent);
  font-size: 0.82rem;
  margin-bottom: 6px;
}
.meta-value { font-size: 1rem; }

.field-grid {
  display: grid;
  gap: 16px;
}
.field-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.field { display: grid; gap: 8px; }
.field label {
  color: var(--soft);
  font-size: 0.82rem;
}
.field input,
.field textarea {
  width: 100%;
  border: 1px solid var(--border);
  background: var(--input-bg);
  color: var(--text);
  border-radius: 18px;
  padding: 14px 16px;
  outline: none;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.field input::placeholder,
.field textarea::placeholder {
  color: var(--soft);
}
.field input:focus,
.field textarea:focus {
  border-color: var(--accent-border);
  background: var(--panel-strong);
}
.field textarea { resize: vertical; min-height: 160px; }

.form-status {
  min-height: 1.5em;
  margin: 2px 0 0;
  color: var(--soft);
}
.form-status.success { color: #3ea370; }
.form-status.error { color: #cf5a68; }
.form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.privacy-note {
  margin: 0;
  font-size: 0.88rem;
}

.hp-field {
  position: absolute !important;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.swoosh {
  position: absolute;
  inset-inline: 0;
  pointer-events: none;
  z-index: 0;
}
.swoosh-top {
  top: 120px;
  height: 240px;
  opacity: 0.9;
}
.swoosh-contact {
  right: -8%;
  bottom: 10px;
  width: 110%;
  height: 220px;
  opacity: 0.7;
}
.swoosh svg { width: 100%; height: 100%; }
.swoosh-thin {
  fill: none;
  stroke: var(--line-thin);
  stroke-width: 1.7;
}
.swoosh-bold {
  fill: none;
  stroke: var(--line-bold);
  stroke-width: 10;
  stroke-linecap: round;
}
html[data-theme='light'] .swoosh-top,
html[data-theme='light'] .swoosh-contact { opacity: 0.58; }

@media (max-width: 1100px) {
  .three-col { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .site-header { position: static; }
  .header-inner,
  .header-right { align-items: flex-start; }
  .header-inner { flex-direction: column; padding: 16px 0; }
  .header-right { width: 100%; justify-content: space-between; }
  .contact-panel { grid-template-columns: 1fr; }
  .two-col,
  .three-col,
  .field-grid.two { grid-template-columns: 1fr; }
  .hero-inner { min-height: auto; padding-top: 52px; }
  .swoosh-top { top: 180px; height: 190px; }
}

@media (max-width: 640px) {
  .container { width: min(var(--max-width), calc(100% - 28px)); }
  .section { padding: 64px 0; }
  .tagline { display: none; }
  .header-right { gap: 10px; }
  .brand img { height: 42px; }
  h1 { max-width: none; }
  .hero-actions,
  .form-footer { flex-direction: column; align-items: stretch; }
  .btn { width: 100%; }
  .contact-panel { padding: 22px; }
}
