:root {
  --ink: #20221f;
  --ink-deep: #171916;
  --muted: #4f534c;
  --cream: #e3e0d8;
  --paper: #fbfaf7;
  --green: #638522;
  --green-dark: #466516;
  --green-soft: #eef2df;
  --concrete-medium: #c3beb4;
  --line: #d5d0c6;
  --shadow: 0 18px 45px rgba(32, 34, 31, 0.11);
}

* { box-sizing: border-box; }

html {
  max-width: 100%;
  overflow-x: clip;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  max-width: 100%;
  overflow-x: clip;
  font-family: "Inter", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  overflow-wrap: break-word;
}

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

:focus-visible {
  outline: 3px solid white;
  outline-offset: 3px;
  box-shadow: 0 0 0 6px var(--ink);
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 8px;
  color: white;
  background: var(--ink);
  font-weight: 700;
  transform: translateY(-200%);
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(220, 229, 234, 0.8);
}

.nav-wrap {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.brand-logo {
  display: block;
  width: 218px;
  height: auto;
}

.brand-mark {
  width: 44px;
  height: 44px;
  display: block;
  flex: 0 0 auto;
}

.brand-name {
  color: var(--ink-deep);
  font-family: "Orbitron", sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1;
}

.brand-name > span {
  color: var(--green);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-weight: 600;
}

.main-nav a:not(.button):hover { color: #9bbc49; }

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  font-size: 1.6rem;
  color: var(--ink);
  cursor: pointer;
}

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 50px;
  padding: 0 24px;
  border-radius: 4px;
  color: white;
  background: var(--green-dark);
  font-weight: 700;
  transition: 0.2s ease;
  box-shadow: 0 10px 22px rgba(70, 101, 22, 0.18);
}

.button:hover {
  background: #354f0d;
  transform: translateY(-2px);
}

.button-small {
  min-height: 42px;
  padding: 0 18px;
}

.hero {
  padding: 104px 0 94px;
  background:
    linear-gradient(105deg, rgba(238, 235, 228, 0.96), rgba(228, 224, 215, 0.84)),
    url("concrete-texture.jpg") center / cover;
  background-color: #e4e0d7;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(0, 1.04fr);
  gap: 52px;
  align-items: center;
}

.hero-grid > * {
  min-width: 0;
}

.hero-copy {
  position: relative;
  z-index: 1;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--green-dark);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

h1, h2 {
  font-family: "Space Grotesk", Arial, sans-serif;
  line-height: 1.08;
  letter-spacing: -0.045em;
  margin: 0;
}

h1 {
  max-width: 680px;
  font-size: clamp(2.75rem, 5vw, 4.75rem);
  font-weight: 800;
  text-wrap: balance;
}

h2 {
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 700;
  text-wrap: balance;
}

h3 { margin: 16px 0 8px; }

.hero-text {
  max-width: 610px;
  margin: 28px 0 0;
  font-size: 1.12rem;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  align-items: center;
  margin-top: 36px;
}

.hero-credential {
  max-width: 570px;
  margin: 30px 0 0;
  padding-left: 18px;
  border-left: 2px solid var(--green);
  color: var(--muted);
  font-size: 0.96rem;
}

.hero-principles {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  padding: 20px 0 0;
  margin: 32px 0 0;
  border-top: 1px solid rgba(32, 34, 31, 0.2);
  list-style: none;
  color: var(--muted);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  line-height: 1.35;
  text-transform: uppercase;
}

.hero-principles li {
  padding: 0 12px;
  white-space: nowrap;
}

.hero-principles li:first-child {
  padding-left: 0;
}

.hero-principles li + li {
  border-left: 1px solid rgba(32, 34, 31, 0.24);
}

.hero-visual {
  position: relative;
  isolation: isolate;
  margin: -32px -68px -32px -18px;
  transform: translateX(22px);
}

.hero-visual img {
  display: block;
  width: 112%;
  max-width: none;
  height: auto;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  opacity: 0.97;
  filter: sepia(0.06) saturate(0.9) contrast(0.96) brightness(1.02);
  mix-blend-mode: multiply;
  -webkit-mask-image:
    linear-gradient(
      to right,
      transparent 0%,
      #000 14%,
      #000 86%,
      transparent 100%
    ),
    linear-gradient(
      to bottom,
      transparent 0%,
      #000 12%,
      #000 88%,
      transparent 100%
    );
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(
      to right,
      transparent 0%,
      #000 14%,
      #000 86%,
      transparent 100%
    ),
    linear-gradient(
      to bottom,
      transparent 0%,
      #000 12%,
      #000 88%,
      transparent 100%
  );
  mask-composite: intersect;
}

.section { padding: 92px 0; }

.anchor-alias {
  display: block;
  height: 0;
  scroll-margin-top: 76px;
}

.section-soft {
  background:
    linear-gradient(rgba(227, 224, 216, 0.95), rgba(227, 224, 216, 0.96)),
    url("concrete-texture.jpg") center / cover;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 42px;
}

.section-heading > p:last-child {
  color: var(--muted);
  font-size: 1.08rem;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.section-action {
  margin-top: 36px;
}

.services-showcase { display: grid; gap: 24px; }

.service-primary {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
  min-height: 390px;
  overflow: hidden;
  border-radius: 8px;
  background: var(--green-soft);
  box-shadow: var(--shadow);
}

.service-primary-copy {
  position: relative;
  z-index: 2;
  padding: 52px;
}

.service-primary h3,
.service-card h3 {
  margin: 8px 0 14px;
  font-family: "Space Grotesk", Arial, sans-serif;
  font-size: clamp(1.55rem, 2.5vw, 2.2rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.service-primary p { max-width: 590px; color: var(--muted); }

.service-primary .button { margin-top: 14px; }

.service-visual {
  position: relative;
  min-height: 100%;
  margin: 0 -44px 0 0;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(32, 34, 31, 0.08), rgba(255, 255, 255, 0.12)),
    url("concrete-texture.jpg") center / cover;
  transform: skewX(-7deg);
  transform-origin: bottom left;
}

.service-visual::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(99, 133, 34, 0.18), transparent 58%);
  content: "";
}

.service-paper {
  position: absolute;
  display: block;
  width: 58%;
  aspect-ratio: 4 / 5;
  border: 1px solid rgba(32, 34, 31, 0.12);
  background:
    linear-gradient(rgba(251, 250, 247, 0.93), rgba(238, 235, 228, 0.93)),
    url("concrete-texture.jpg") center / cover;
  box-shadow: 0 22px 45px rgba(32, 34, 31, 0.16);
}

.service-paper-one {
  top: 14%;
  left: 13%;
  transform: skewX(7deg) rotate(-7deg);
}

.service-paper-two {
  right: 1%;
  bottom: -26%;
  transform: skewX(7deg) rotate(10deg);
}

.service-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.service-card {
  display: flex;
  flex-direction: column;
  min-height: 330px;
  padding: 36px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.service-card > p { margin-bottom: 28px; color: var(--muted); }

.service-card > .button { align-self: flex-start; margin-top: auto; }

.service-card-dark { border-color: var(--ink); background: var(--ink); color: white; }

.service-card-dark .service-label { color: #c9dc8d; }

.service-card-dark > p { color: #d8dad4; }

.service-card-email,
.service-card-packages { grid-column: 1 / -1; min-height: 0; }

.service-label {
  color: var(--green-dark);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.service-buttons { display: flex; flex-wrap: wrap; gap: 12px; }

.button-outline {
  min-height: 44px;
  border: 1px solid var(--green-dark);
  color: var(--green-dark);
  background: transparent;
  box-shadow: none;
}

.button-outline:hover { color: white; background: var(--green-dark); }

.card {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.featured-card {
  border-color: transparent;
  background: var(--ink);
  color: white;
  transform: translateY(-10px);
  box-shadow: var(--shadow);
}

.card p,
.card li { color: var(--muted); }

.featured-card p,
.featured-card li { color: #e0e2dc; }

.card-icon {
  display: inline-grid;
  place-items: center;
  min-width: 52px;
  height: 42px;
  padding: 0 12px;
  border-radius: 3px;
  background: var(--green-soft);
  color: var(--ink);
  font-weight: 800;
}

.featured-card .card-icon {
  background: rgba(255,255,255,0.12);
  color: white;
}

.card ul {
  padding-left: 20px;
  margin-bottom: 0;
}

.card-links {
  display: grid;
  gap: 10px;
  margin: 24px 0 0;
}

.text-link,
.teacher-list a,
.content-link {
  color: var(--green-dark);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.teacher-list a { color: #c9dc8d; }

.exam-hero { padding: 76px 0 70px; }

.exam-hero .hero-copy { max-width: 850px; }

.breadcrumbs {
  margin: 0 0 26px;
  color: var(--muted);
  font-size: 0.92rem;
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.breadcrumbs li + li::before {
  margin-right: 8px;
  content: "/";
}

.breadcrumbs a { text-decoration: underline; text-underline-offset: 3px; }

.exam-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(270px, 0.36fr);
  gap: 72px;
  align-items: start;
}

.exam-content { max-width: 780px; }

.exam-content h2 { margin-top: 58px; }

.exam-content h2:first-child { margin-top: 0; }

.exam-content h3 { margin-top: 30px; font-size: 1.22rem; }

.exam-content p,
.exam-content li { color: var(--muted); }

.exam-content ul { padding-left: 22px; }

.exam-content li { margin-bottom: 8px; }

.exam-aside {
  position: sticky;
  top: 105px;
  padding: 30px;
  border-top: 4px solid var(--green);
  background: white;
  box-shadow: var(--shadow);
}

.exam-aside h2 { font-size: 1.65rem; }

.exam-aside .button {
  width: 100%;
  margin-top: 16px;
  text-align: center;
}

.exam-note {
  padding: 24px;
  border-left: 4px solid var(--green);
  background: var(--green-soft);
}

.skill-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 28px;
}

.skill-grid article {
  padding: 24px;
  border: 1px solid var(--line);
  background: white;
}

.skill-grid h3 { margin-top: 0; }

.faq-list details {
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.faq-list summary { font-weight: 700; cursor: pointer; }

.faq-list details p { margin-bottom: 0; }

.email-course-details {
  max-width: 760px;
  margin: -12px 0 42px;
}

.email-course-section {
  border-top: 1px solid var(--line);
}

.email-course-details > p {
  font-weight: 700;
}

.email-course-details li {
  margin-bottom: 8px;
  color: var(--muted);
}

.course-card {
  display: flex;
  flex-direction: column;
  min-height: 280px;
}

.course-card .button {
  width: 100%;
  margin-top: auto;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.split p {
  margin-top: 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.teacher-section {
  background: var(--ink);
  color: white;
}

.teacher-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.75fr);
  gap: 72px;
  align-items: start;
}

.teacher-copy .eyebrow {
  color: #c9dc8d;
}

.teacher-copy h2 {
  max-width: 680px;
}

.teacher-copy p:not(.eyebrow) {
  max-width: 720px;
  color: #d8dad4;
  font-size: 1.05rem;
}

.teacher-details {
  padding: 34px;
  border-top: 4px solid var(--green);
  background: rgba(255, 255, 255, 0.07);
}

.teacher-details h3 {
  margin-top: 0;
}

.teacher-list {
  display: grid;
  gap: 14px;
  padding: 0;
  margin: 24px 0 30px;
  list-style: none;
}

.teacher-list li {
  position: relative;
  padding-left: 28px;
  color: #e0e2dc;
}

.teacher-list li::before {
  position: absolute;
  top: 0;
  left: 0;
  color: #a8c75b;
  font-weight: 800;
  content: "✓";
}

.teacher-outcome {
  padding-top: 24px;
  margin-bottom: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  color: #d8dad4;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.step {
  padding: 30px 24px;
  border-top: 4px solid var(--green);
}

.step > span {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 2px;
  background: var(--green);
  color: white;
  font-weight: 800;
}

.step p { color: var(--muted); }

.cta-section { padding: 20px 0 90px; }

.cta-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 46px;
  border-radius: 8px;
  background: var(--ink);
  color: white;
}

.cta-box .eyebrow { color: #c9dc8d; }

.cta-box p { margin-bottom: 0; }

.button-light {
  flex-shrink: 0;
  background: white;
  color: var(--ink);
  box-shadow: none;
}

.button-light:hover {
  background: var(--cream);
  color: var(--ink-deep);
}

.site-footer {
  padding: 54px 0;
  background:
    linear-gradient(rgba(30, 31, 35, 0.93), rgba(30, 31, 35, 0.96)),
    url("concrete-texture.jpg") center / cover;
  color: white;
}

.confirmation-page {
  min-height: 100vh;
}

.confirmation-content {
  max-width: 700px;
  padding-top: 100px;
  padding-bottom: 100px;
  text-align: center;
}

.confirmation-content .hero-text {
  margin-right: auto;
  margin-bottom: 32px;
  margin-left: auto;
}

.error-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 40px 20px;
  background:
    linear-gradient(rgba(230, 227, 221, 0.9), rgba(255, 255, 255, 0.94)),
    url("concrete-texture.jpg") center / cover;
}

.error-card {
  width: min(100%, 620px);
  padding: 48px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  text-align: center;
  box-shadow: var(--shadow);
}

.error-card h1 {
  font-size: clamp(2.6rem, 7vw, 4.5rem);
}

.error-card > p:not(.eyebrow) {
  margin: 24px auto 32px;
  color: var(--muted);
  font-size: 1.08rem;
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(210px, 1.35fr) repeat(4, minmax(120px, 1fr));
  gap: 32px;
  align-items: start;
}

.footer-brand {
  width: fit-content;
  margin-bottom: 16px;
}

.footer-logo {
  display: block;
  width: 185px;
  height: auto;
}

.site-footer p {
  color: #c9cbc5;
  font-size: 0.8rem;
}

.footer-identity p {
  max-width: 280px;
  margin: 0;
  line-height: 1.55;
}

.footer-nav-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 9px;
}

.footer-nav-group h2 {
  margin: 0 0 7px;
  color: white;
  font-family: "Inter", Arial, sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.3;
  text-transform: uppercase;
}

.footer-nav-group a {
  color: #c9cbc5;
  font-size: 0.78rem;
  line-height: 1.45;
}

.footer-nav-group a:hover {
  color: white;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 24px;
  margin-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.footer-bottom p {
  margin: 0;
}

.footer-consent-button {
  padding: 0;
  border: 0;
  color: #c9cbc5;
  background: transparent;
  font: inherit;
  font-size: 0.76rem;
  text-decoration: underline;
  text-underline-offset: 4px;
  cursor: pointer;
}

.footer-consent-button:hover {
  color: white;
}

.purchase-terms {
  max-width: 660px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.5;
}

.purchase-terms a {
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-hero {
  padding: 66px 0 58px;
}

.legal-hero h1 {
  max-width: 820px;
  font-size: clamp(2.5rem, 4.5vw, 4rem);
}

.legal-content {
  max-width: 850px;
}

.legal-content h2 {
  margin-top: 54px;
  font-size: clamp(1.65rem, 2.8vw, 2.25rem);
}

.legal-content h2:first-child { margin-top: 0; }

.legal-content h3 { margin-top: 30px; }

.legal-content p,
.legal-content li { color: var(--muted); }

.legal-content li { margin-bottom: 8px; }

.legal-summary {
  padding: 24px;
  border-left: 4px solid var(--green);
  background: var(--green-soft);
}

.legal-details {
  padding: 24px;
  border: 1px solid var(--line);
  background: white;
}

.legal-details p:last-child { margin-bottom: 0; }

.legal-language {
  padding-top: 10px;
  margin-top: 58px;
  border-top: 1px solid var(--line);
}

.policy-table {
  width: 100%;
  margin: 24px 0;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.policy-table th,
.policy-table td {
  padding: 14px;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.policy-table th { background: var(--green-soft); }

.consent-banner {
  position: fixed;
  right: 20px;
  bottom: 20px;
  left: 20px;
  z-index: 50;
  width: min(760px, calc(100% - 40px));
  margin: 0 auto;
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: white;
  box-shadow: var(--shadow);
}

.consent-banner[hidden] {
  display: none;
}

.consent-banner h2 {
  font-family: "Space Grotesk", Arial, sans-serif;
  font-size: 1.2rem;
}

.consent-banner p {
  max-width: 500px;
  margin: 8px 0 0;
  color: var(--muted);
}

.consent-actions {
  display: flex;
  flex-shrink: 0;
  gap: 12px;
}

.consent-actions .button {
  min-height: 44px;
  padding: 0 16px;
}

.consent-reject {
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--ink);
  background: white;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.consent-reject:hover {
  background: var(--cream);
}

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

  .main-nav {
    display: none;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    padding: 24px;
    flex-direction: column;
    background: white;
    border-bottom: 1px solid var(--line);
  }

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

  .hero-grid,
  .split,
  .teacher-grid,
  .exam-layout {
    grid-template-columns: 1fr;
    gap: 46px;
  }

  .cards,
  .steps,
  .skill-grid {
    grid-template-columns: 1fr;
  }

  .featured-card { transform: none; }

  .service-primary,
  .service-card-grid { grid-template-columns: 1fr; }

  .service-primary-copy { padding: 38px; }

  .service-visual {
    min-height: 280px;
    margin: -28px -24px -18px;
    transform: skewY(-5deg);
    transform-origin: bottom right;
  }

  .service-paper-one { transform: skewY(5deg) rotate(-7deg); }

  .service-paper-two { transform: skewY(5deg) rotate(10deg); }

  .service-card-email,
  .service-card-packages { grid-column: auto; }

  .exam-aside { position: static; }

  .hero-visual {
    width: min(100%, 680px);
    margin: -12px auto -24px;
    transform: none;
  }

  .hero-visual img {
    width: 100%;
  }

  .cta-box,
  .footer-main {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-main { gap: 34px; }
}

@media (max-width: 560px) {
  .container { width: min(100% - 28px, 1120px); }

  .brand-logo {
    width: 176px;
  }

  .hero {
    padding-top: 72px;
    padding-bottom: 68px;
  }

  h1 {
    font-size: 2.5rem;
  }

  .hero-actions .button {
    width: 100%;
    padding-right: 18px;
    padding-left: 18px;
    text-align: center;
  }

  .hero-principles {
    display: grid;
    gap: 10px;
  }

  .hero-principles li {
    padding: 0;
    white-space: normal;
  }

  .hero-principles li + li {
    border-left: 0;
  }

  .policy-table {
    display: block;
    overflow-x: auto;
  }

  .section { padding: 72px 0; }

  .cta-box { padding: 32px 24px; }

  .button-light { width: 100%; }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .error-card {
    padding: 38px 24px;
  }

  .consent-banner,
  .consent-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .consent-banner {
    right: 14px;
    bottom: 14px;
    left: 14px;
    width: auto;
    gap: 18px;
    padding: 20px;
  }
}
/* Contact section */

.contact-box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.8fr);
  gap: 5rem;
  align-items: start;
}

.contact-intro {
  max-width: 700px;
}

.contact-intro a {
  color: inherit;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.contact-intro a.button {
  color: #ffffff;
  text-decoration: none;
}

.contact-form {
  width: 100%;
  padding: 2rem;
  background: #ffffff;
  color: #222222;
  border-radius: 8px;
  box-shadow: 0 18px 50px rgba(30, 31, 35, 0.14);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  color: #292929;
}

.form-group input,
.form-group select,
.form-group textarea {
  display: block;
  width: 100%;
  min-height: 50px;
  padding: 0.85rem 1rem;
  border: 1px solid #d8d8d8;
  border-radius: 4px;
  background: #ffffff;
  color: #222222;
  font-family: "Inter", sans-serif;
  font-size: 1rem;
  line-height: 1.4;
  box-sizing: border-box;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.form-group textarea {
  min-height: 150px;
  resize: vertical;
}

.form-hint {
  color: #666666;
  font-size: 0.84rem;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #6b6b6b;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(99, 133, 34, 0.15);
}

.contact-form .button {
  width: 100%;
  min-height: 52px;
  margin-top: 0.25rem;
  border: none;
  background: var(--green-dark);
  color: #ffffff;
  cursor: pointer;
}

.contact-form .button:hover {
  background: #354f0d;
}

.contact-form .button:disabled {
  cursor: wait;
  opacity: 0.8;
  transform: none;
}

.button-spinner {
  display: none;
  width: 18px;
  height: 18px;
  margin-left: 10px;
  border: 2px solid rgba(255, 255, 255, 0.45);
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

.button-spinner[hidden] {
  display: none !important;
}

.button.is-loading .button-spinner {
  display: block;
}

.form-status {
  min-height: 1.5em;
  margin: 1rem 0 0;
  font-size: 0.92rem;
  font-weight: 600;
}

.form-status:empty {
  min-height: 0;
  margin: 0;
}

.form-status.is-success { color: #24713b; }
.form-status.is-error { color: #a32838; }

.required-fields-note {
  margin: 0 0 1.25rem;
  color: #555555;
  font-size: 0.88rem;
}

.form-group input:user-invalid,
.form-group select:user-invalid,
.form-group textarea:user-invalid {
  border-color: #a32838;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.form-note {
  margin: 1rem 0 0;
  color: #666666;
  font-size: 0.88rem;
  line-height: 1.5;
}

.form-honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* Tablet and mobile */

@media (max-width: 900px) {
  .contact-box {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .contact-form {
    max-width: 650px;
  }
}

@media (max-width: 600px) {
  .contact-form {
    padding: 1.35rem;
    border-radius: 6px;
  }

  .contact-box {
    gap: 2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Testimonials */

.testimonials-section {
  padding: 72px 0;
  background: #f3f2ed;
}

.testimonials-section .section-heading { margin-bottom: 30px; }

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.testimonial-grid[data-count="1"] {
  grid-template-columns: minmax(0, 760px);
  justify-content: center;
}

.testimonial-grid[data-count="2"] {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  padding: 1.75rem;
  background: #ffffff;
  border: 1px solid rgba(30, 31, 35, 0.1);
  border-radius: 8px;
}

.testimonial-card blockquote,
.admin-testimonial-card blockquote {
  margin: 0;
  color: #292929;
  font-size: 1.05rem;
  line-height: 1.7;
}

.testimonial-card blockquote::before { content: "“"; }
.testimonial-card blockquote::after { content: "”"; }

.testimonial-attribution {
  margin: auto 0 0;
  padding-top: 1.5rem;
  color: #53622f;
  font-size: 0.88rem;
  font-weight: 700;
}

/* Testimonial form and administration */

.form-page,
.admin-page {
  background: #f3f2ed;
}

.testimonial-form-main,
.admin-main {
  min-height: 70vh;
  padding: 5rem 0;
}

.testimonial-form-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(380px, 1fr);
  gap: 5rem;
  align-items: start;
}

.testimonial-form-intro {
  position: sticky;
  top: 8rem;
}

.testimonial-form-intro h1,
.admin-main h1 {
  margin-top: 0.5rem;
  font-size: clamp(2.4rem, 5vw, 4rem);
}

.testimonial-consent {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 0.75rem;
  margin: 0 0 1.25rem;
  align-items: start;
}

.testimonial-consent input {
  width: 20px;
  height: 20px;
  margin-top: 0.15rem;
  accent-color: var(--green-dark);
}

.testimonial-consent label {
  color: #292929;
  font-size: 0.92rem;
  line-height: 1.5;
}

.testimonial-success {
  padding: 2.5rem;
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 18px 50px rgba(30, 31, 35, 0.12);
}

.simple-footer .footer-bottom {
  flex-wrap: wrap;
}

.simple-footer nav {
  display: flex;
  gap: 1.25rem;
}

.simple-footer a {
  color: inherit;
  font-size: 0.78rem;
}

.admin-main .container {
  max-width: 960px;
}

.admin-sign-in,
.admin-testimonial-card {
  padding: 2rem;
  background: #ffffff;
  border: 1px solid rgba(30, 31, 35, 0.1);
  border-radius: 8px;
}

.admin-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
  align-items: center;
}

.admin-testimonial-list {
  display: grid;
  gap: 1.25rem;
}

.admin-testimonial-card h2 {
  margin: 0 0 0.35rem;
  font-size: 1.35rem;
}

.admin-testimonial-meta {
  margin: 0 0 1.25rem;
  color: #667050;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
}

.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.button-secondary {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 0.8rem 1.1rem;
  border: 1px solid #566637;
  border-radius: 4px;
  background: transparent;
  color: #34401f;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

@media (max-width: 860px) {
  .testimonial-grid,
  .testimonial-grid[data-count="2"],
  .testimonial-form-layout {
    grid-template-columns: 1fr;
  }

  .testimonial-form-layout { gap: 2.5rem; }
  .testimonial-form-intro { position: static; }
}

@media (max-width: 560px) {
  .testimonial-form-main,
  .admin-main { padding: 3rem 0; }
  .testimonial-card,
  .testimonial-success,
  .admin-sign-in,
  .admin-testimonial-card { padding: 1.35rem; }
  .admin-toolbar { align-items: flex-start; flex-direction: column; }
}
