@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@300;400;500&family=IBM+Plex+Sans:wght@300;400;500&display=swap');

:root {
  --bg: #f4f2ee;
  --ink: #111111;
  --muted: #5d5b57;
  --line: rgba(0, 0, 0, 0.12);
  --accent: #0f6b5c;
  --soft: #e9e5df;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.14);
  --radius: 22px;
  --max: 1200px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'IBM Plex Sans', sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="120" height="120" viewBox="0 0 120 120"><filter id="n"><feTurbulence type="fractalNoise" baseFrequency="0.85" numOctaves="2" stitchTiles="stitch"/></filter><rect width="120" height="120" filter="url(%23n)" opacity="0.06"/></svg>');
  mix-blend-mode: multiply;
  z-index: 1;
}

.hero {
  min-height: 100vh;
  padding: 32px 48px 80px;
  position: relative;
  overflow: hidden;
}

.nav {
  max-width: var(--max);
  margin: 0 auto 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand__logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: 50%;
  border: 1px solid var(--line);
}

.brand__name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.nav__links {
  display: flex;
  gap: 20px;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav__links a:hover {
  color: var(--ink);
}

.nav__cta {
  padding: 12px 20px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero__content {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 48px;
  align-items: center;
}

.hero__text h1 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(36px, 5vw, 72px);
  line-height: 1.05;
  margin-bottom: 20px;
}

.eyebrow {
  letter-spacing: 0.4em;
  text-transform: uppercase;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 12px;
}

.lead {
  font-size: 18px;
  color: var(--muted);
  max-width: 520px;
  margin-bottom: 28px;
}

.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.button {
  background: var(--ink);
  color: #fff;
  padding: 14px 28px;
  border-radius: 999px;
  border: none;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 13px;
  cursor: pointer;
}

.button--ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
}

.notice {
  border-radius: 16px;
  padding: 12px 14px;
  margin-bottom: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.6);
  color: var(--muted);
  font-size: 14px;
}

.notice--ok {
  border-color: rgba(15, 107, 92, 0.35);
  background: rgba(15, 107, 92, 0.08);
  color: #0b4f44;
}

.notice--bad {
  border-color: rgba(160, 40, 40, 0.25);
  background: rgba(160, 40, 40, 0.06);
  color: #7a1f1f;
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 18px;
}

.stat {
  font-family: 'Cormorant Garamond', serif;
  font-size: 32px;
  font-weight: 300;
}

.stat__label {
  font-size: 13px;
  color: var(--muted);
}

.hero__media {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 420px;
}

.section {
  padding: 90px 48px;
}

.section__head {
  max-width: var(--max);
  margin: 0 auto 48px;
}

.section__head h2 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(28px, 4vw, 52px);
  line-height: 1.1;
}

.system {
  max-width: var(--max);
  margin: 0 auto 48px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.system__card {
  border: 1px solid var(--line);
  padding: 24px;
  border-radius: 18px;
  background: #fff;
}

.system__card h3 {
  font-weight: 400;
  margin-bottom: 12px;
}

.system__media {
  max-width: var(--max);
  margin: 0 auto;
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
}

.system__media img {
  width: 100%;
  height: 480px;
  object-fit: cover;
}

.system__note {
  position: absolute;
  bottom: 24px;
  right: 24px;
  background: rgba(255, 255, 255, 0.9);
  padding: 18px 22px;
  border-radius: 18px;
  max-width: 320px;
  font-size: 14px;
}

.gallery {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.gallery figure {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.gallery img {
  height: 320px;
  width: 100%;
  object-fit: cover;
}

.gallery figcaption {
  padding: 16px 20px;
  font-size: 14px;
  color: var(--muted);
}

.form {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
}

.form__card {
  background: #fff;
  padding: 28px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  display: grid;
  gap: 16px;
}

.form__card label {
  display: grid;
  gap: 8px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.form__card input,
.form__card textarea {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 14px;
  font-size: 15px;
  font-family: 'IBM Plex Sans', sans-serif;
  background: var(--soft);
}

.form__note {
  font-size: 12px;
  color: var(--muted);
}

.form__aside h3 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: 28px;
  margin-bottom: 16px;
}

.form__aside ul {
  list-style: none;
  display: grid;
  gap: 12px;
  margin-bottom: 24px;
  color: var(--muted);
}

.form__image {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.faq {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  gap: 16px;
}

.faq details {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px 22px;
  background: #fff;
}

.faq summary {
  cursor: pointer;
  font-size: 18px;
  font-weight: 400;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq p {
  margin-top: 12px;
  color: var(--muted);
}

.contacts {
  background: var(--soft);
}

.contacts__grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.contacts__label {
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 12px;
  color: var(--muted);
}

.contacts__value {
  font-size: 18px;
}

.footer {
  max-width: var(--max);
  margin: 0 auto;
  padding: 32px 48px 60px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 14px;
  color: var(--muted);
}

@media (max-width: 900px) {
  .nav {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav__links {
    flex-wrap: wrap;
  }

  .hero {
    padding: 24px 24px 60px;
  }

  .section {
    padding: 70px 24px;
  }

  .footer {
    flex-direction: column;
    padding: 24px;
  }
}

@media (max-width: 600px) {
  .nav__links {
    display: none;
  }

  .hero__stats {
    grid-template-columns: 1fr 1fr;
  }
}
