:root {
  --bg: #f6f3ec;
  --surface: #fffdf9;
  --surface-2: #faf4ff;
  --text: #2d2334;
  --muted: #6b5a77;
  --primary: #9b30ff;
  --primary-deep: #6f22bf;
  --primary-soft: #cda6ff;
  --accent: #f78da7;
  --accent-soft: #ffd8e3;
  --line: #e4d8f0;
  --radius: 20px;
  --shadow: 0 20px 50px rgba(89, 43, 130, 0.16);
  --radius-organic: 22px 14px 24px 16px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  position: relative;
  overflow-x: hidden;
  font-family: "Work Sans", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 8% 8%, rgba(247, 141, 167, 0.2) 0%, rgba(247, 141, 167, 0) 30%),
    radial-gradient(circle at 92% 12%, rgba(155, 48, 255, 0.18) 0%, rgba(155, 48, 255, 0) 33%),
    linear-gradient(160deg, #fcf8ff 0%, #f8f1fb 45%, #f6f4fb 100%);
  line-height: 1.7;
}

body::before,
body::after {
  content: "";
  position: fixed;
  z-index: -1;
  border-radius: 50%;
  filter: blur(40px);
  pointer-events: none;
}

body::before {
  width: 300px;
  height: 300px;
  top: -120px;
  right: -80px;
  background: rgba(155, 48, 255, 0.2);
}

body::after {
  width: 320px;
  height: 320px;
  bottom: -140px;
  left: -120px;
  background: rgba(247, 141, 167, 0.2);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
  -webkit-touch-callout: none;
}

a {
  color: var(--primary);
  text-decoration: none;
}

a:hover {
  color: var(--accent);
}

.site-shell {
  min-height: 100vh;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 253, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(155, 48, 255, 0.2);
  box-shadow: 0 10px 24px rgba(93, 43, 136, 0.1);
}

.header-inner {
  width: min(1200px, 92vw);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand img {
  width: 74px;
  height: auto;
}

.brand-text {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.65rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--primary-deep);
}

.menu-toggle {
  display: none;
  border: 1px solid rgba(155, 48, 255, 0.28);
  background: linear-gradient(180deg, #ffffff, #f9f2ff);
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  color: var(--primary-deep);
  font-weight: 600;
  cursor: pointer;
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.3rem;
}

.main-nav a {
  border-radius: 999px;
  padding: 0.5rem 0.85rem;
  font-size: 0.92rem;
  color: var(--muted);
  border: 1px solid rgba(155, 48, 255, 0);
  font-weight: 500;
  transition: all 0.25s ease;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--primary-deep);
  border-color: rgba(155, 48, 255, 0.34);
  background: linear-gradient(90deg, rgba(205, 166, 255, 0.34), rgba(247, 141, 167, 0.28));
  transform: translateY(-1px);
}

.page-hero {
  position: relative;
  min-height: 56vh;
  display: grid;
  place-items: end start;
  padding: 5rem 0 3rem;
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(14, 22, 20, 0.7) 10%, rgba(23, 35, 32, 0.24) 58%, rgba(20, 26, 24, 0.58) 100%);
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 84% 20%, rgba(245, 194, 255, 0.24) 0%, rgba(245, 194, 255, 0) 45%),
    linear-gradient(to top, rgba(10, 10, 10, 0.4), rgba(10, 10, 10, 0));
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.03);
}

body[data-page="stott"] .hero-image {
  object-position: 50% 18%;
}

.hero-content {
  position: relative;
  width: min(1100px, 92vw);
  margin: 0 auto;
  color: #fff;
  z-index: 2;
  text-shadow: 0 6px 22px rgba(8, 14, 13, 0.34);
}

h1,
h2,
h3 {
  margin: 0 0 0.8rem;
  line-height: 1.1;
  font-family: "Cormorant Garamond", Georgia, serif;
  letter-spacing: 0.01em;
}

h1 {
  font-size: clamp(2.25rem, 5vw, 4.35rem);
  font-weight: 600;
}

h2 {
  font-size: clamp(1.7rem, 3.7vw, 2.8rem);
  font-weight: 600;
  color: var(--primary-deep);
  position: relative;
  display: inline-block;
  padding-bottom: 0.2rem;
}

h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.15rem;
  width: 58%;
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(205, 166, 255, 0.7), rgba(247, 141, 167, 0.5));
}

h3 {
  font-size: clamp(1.35rem, 2.3vw, 2rem);
  color: var(--primary);
}

.hero-content p {
  width: min(720px, 100%);
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  margin: 0;
  color: rgba(255, 255, 255, 0.93);
}

.content-shell {
  width: min(1100px, 92vw);
  margin: 0 auto;
}

.section {
  padding: 3rem 0;
  position: relative;
}

.section:nth-of-type(even)::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(205, 166, 255, 0.13), rgba(247, 141, 167, 0.11));
  z-index: -1;
}

.section-card {
  position: relative;
  overflow: hidden;
  background: linear-gradient(165deg, var(--surface) 0%, var(--surface-2) 100%);
  border: 1px solid rgba(155, 48, 255, 0.18);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: clamp(1.2rem, 2.4vw, 2.2rem);
}

.section-card::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 110px;
  height: 5px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 0 0 8px 0;
}

.section-card::after {
  content: "";
  position: absolute;
  width: 120px;
  height: 120px;
  right: -55px;
  top: -55px;
  border-radius: 44% 56% 63% 37%;
  background: radial-gradient(circle at 30% 30%, rgba(255, 216, 227, 0.55), rgba(205, 166, 255, 0.28));
  pointer-events: none;
}

.section-intro {
  max-width: 760px;
  margin-bottom: 1.2rem;
  color: var(--muted);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.72rem 1.15rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  transition: all 0.22s ease;
}

.btn-primary {
  background: linear-gradient(120deg, var(--primary) 0%, #c056da 100%);
  color: #fff;
  box-shadow: 0 10px 20px rgba(155, 48, 255, 0.32);
}

.btn-primary:hover {
  background: linear-gradient(120deg, #7a20d4 0%, #a944c1 100%);
  color: #fff;
  transform: translateY(-2px);
}

.btn-outline {
  border-color: rgba(155, 48, 255, 0.36);
  color: var(--primary-deep);
  background: linear-gradient(90deg, rgba(205, 166, 255, 0.24), rgba(247, 141, 167, 0.2));
}

.btn-outline:hover {
  background: linear-gradient(90deg, rgba(205, 166, 255, 0.34), rgba(247, 141, 167, 0.3));
  transform: translateY(-2px);
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

.image-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.9rem;
  margin-top: 1rem;
}

.image-grid.three {
  grid-template-columns: repeat(3, 1fr);
}

.image-grid img,
.feature-image {
  border-radius: var(--radius-organic);
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 1px solid rgba(155, 48, 255, 0.2);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.image-grid img:nth-child(even) {
  border-radius: 14px 24px 14px 22px;
}

.image-grid img:hover,
.feature-image:hover,
.profile img:hover {
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 16px 30px rgba(111, 34, 191, 0.24);
}

.feature-image {
  min-height: 260px;
}

.fact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.fact {
  background: linear-gradient(150deg, #ffffff 0%, #f7efff 100%);
  border: 1px solid rgba(155, 48, 255, 0.16);
  border-radius: 16px;
  padding: 1rem;
}

.fact p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
  font-size: 0.93rem;
}

.training-panel h3 {
  margin-bottom: 0.35rem;
}

.panel-intro {
  margin: 0 0 0.95rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.trainingen-grid .fact {
  min-height: 118px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.fact strong {
  display: block;
  margin-bottom: 0.4rem;
  color: var(--primary);
  position: relative;
  padding-left: 1rem;
}

.fact strong::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

.profile {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr;
  gap: 1rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.profile:first-of-type {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.profile img {
  width: 100%;
  border-radius: 16px;
  border: 1px solid rgba(155, 48, 255, 0.2);
}

ul {
  margin: 0.4rem 0 0.9rem;
  padding-left: 1.2rem;
}

li {
  margin-bottom: 0.4rem;
}

.history-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.9rem;
  margin-top: 1.2rem;
}

.news-list {
  display: grid;
  gap: 1rem;
}

.news-item {
  padding: 1rem;
  border-radius: 16px;
  border: 1px solid rgba(155, 48, 255, 0.2);
  background: linear-gradient(160deg, #fffdf9, #f8f1ff);
}

.news-meta {
  font-size: 0.92rem;
  color: var(--muted);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1rem;
}

.contact-side .contact-photo {
  width: 100%;
  height: auto;
  min-height: 0;
  aspect-ratio: 4 / 3;
  max-height: 280px;
  object-fit: cover;
  object-position: center 36%;
  margin-top: 0.65rem;
}

form {
  display: grid;
  gap: 0.7rem;
}

label {
  font-size: 0.92rem;
  color: var(--muted);
}

input,
textarea {
  width: 100%;
  border: 1px solid rgba(155, 48, 255, 0.34);
  border-radius: 10px;
  padding: 0.7rem 0.8rem;
  font: inherit;
  background: #fff;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(205, 166, 255, 0.4);
}

textarea {
  min-height: 140px;
  resize: vertical;
}

.site-footer {
  margin-top: 2rem;
  background: linear-gradient(120deg, #4a2388 0%, #6f22bf 55%, #a34cd6 100%);
  color: rgba(255, 255, 255, 0.88);
}

.footer-inner {
  width: min(1100px, 92vw);
  margin: 0 auto;
  padding: 1.4rem 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
}

.footer-inner a {
  color: #fff;
}

.footer-inner a:hover {
  color: #ffd8ef;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1040px) {
  .main-nav {
    gap: 0.1rem;
  }

  .main-nav a {
    font-size: 0.86rem;
    padding: 0.46rem 0.65rem;
  }
}

@media (max-width: 860px) {
  .menu-toggle {
    display: inline-flex;
  }

  .main-nav {
    position: absolute;
    top: calc(100% + 0.2rem);
    right: 4vw;
    width: min(420px, 90vw);
    padding: 0.65rem;
    border-radius: 16px;
    border: 1px solid rgba(155, 48, 255, 0.24);
    background: linear-gradient(170deg, #ffffff, #f8f1ff);
    box-shadow: var(--shadow);
    display: none;
    flex-direction: column;
    align-items: stretch;
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav a {
    padding: 0.7rem 0.8rem;
  }

  .split,
  .profile,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .fact-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .image-grid.three {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  body[data-page="stott"] .hero-image {
    object-position: 50% 14%;
  }

  .hero-content p {
    width: 100%;
  }

  .fact-grid,
  .image-grid,
  .history-grid {
    grid-template-columns: 1fr;
  }

  .trainingen-grid .fact {
    min-height: 0;
  }

  .section {
    padding: 2rem 0;
  }
}
