:root {
  --bg: #f5f7fb;
  --surface: #ffffff;
  --text: #12131a;
  --muted: #566074;
  --primary: #2a6cf6;
  --border: #d8deea;
}

:root.dark {
  --bg: #0f121b;
  --surface: #171b27;
  --text: #edf2ff;
  --muted: #adb8d2;
  --primary: #80a7ff;
  --border: #2b3346;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: Inter, "Segoe UI", Roboto, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

img { max-width: 100%; display: block; }
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 1rem;
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.brand img { width: min(320px, 76vw); height: auto; }

.theme-toggle {
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  border-radius: 999px;
  width: 2.5rem;
  height: 2.5rem;
  cursor: pointer;
}

.hero {
  min-height: 70vh;
  display: grid;
  align-items: end;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.7)),
    radial-gradient(circle at 10% 20%, #4f6487 0, #29384f 40%, #111727 100%);
}

.hero-overlay {
  max-width: 68rem;
  margin: 0 auto;
  width: 100%;
  padding: 2rem 1rem 2.5rem;
  color: #fff;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  font-size: 0.8rem;
}

.hero h1 {
  margin: 0.2rem 0;
  font-size: clamp(1.8rem, 5vw, 3rem);
  line-height: 1.2;
}

.cta {
  display: inline-block;
  margin-top: 0.8rem;
  background: #fff;
  color: #0a1020;
  padding: 0.65rem 1rem;
  border-radius: 0.6rem;
  font-weight: 700;
}

.section {
  max-width: 68rem;
  margin: 0 auto;
  padding: 2.5rem 1rem;
}

.section h2 { margin-top: 0; font-size: clamp(1.4rem, 3.4vw, 2rem); }
.section-lead { color: var(--muted); margin-top: -0.4rem; }

.gallery-grid {
  display: grid;
  gap: 0.8rem;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

.gallery-grid img {
  border-radius: 0.75rem;
  border: 1px solid var(--border);
  background: var(--surface);
}

.split {
  display: grid;
  gap: 1rem;
}

.split > div {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 0.85rem;
  padding: 1rem;
}

.contact-form {
  display: grid;
  gap: 0.5rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 0.55rem;
  padding: 0.65rem 0.75rem;
  background: var(--surface);
  color: var(--text);
}

.contact-form button {
  margin-top: 0.5rem;
  border: none;
  border-radius: 0.6rem;
  padding: 0.75rem 1rem;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}

.feedback {
  display: none;
  margin-bottom: 0.8rem;
  border-radius: 0.55rem;
  padding: 0.65rem 0.8rem;
}

.feedback.show { display: block; }
.feedback.ok { background: #d4f7df; color: #073c1b; }
.feedback.error { background: #ffd9df; color: #5c1020; }

.contact-data { margin-top: 1rem; color: var(--muted); }

.site-footer {
  border-top: 1px solid var(--border);
  padding: 1.2rem 1rem 2rem;
  text-align: center;
}

.site-footer nav {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.legal-main {
  max-width: 62rem;
  margin: 0 auto;
  padding: 1.5rem 1rem 2.5rem;
}

.legal-main section {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 0.8rem;
  padding: 1rem;
  margin-bottom: 1rem;
}

@media (min-width: 760px) {
  .split { grid-template-columns: 1fr 1fr; }
  .section { padding: 3.3rem 1rem; }
}
