/* =============================================================================
   Psychologist landing — CSS variables for easy rebrand
   ============================================================================= */

@font-face {
  font-family: "Eastman";
  src: url("assets/fonts/Eastman/trial/Eastman-Roman-Alt-Regular-TRIAL.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Eastman";
  src: url("assets/fonts/Eastman/trial/Eastman-Roman-Alt-Medium-TRIAL.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Eastman";
  src: url("assets/fonts/Eastman/trial/Eastman-Roman-Alt-Bold-TRIAL.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Softer yellow-green — less saturated for readability */
  --color-bg: #e4ebcc;
  --color-bg-alt: #d5e0b4;
  --color-surface: #f5f8ea;
  --color-surface-soft: #e8efd4;

  /* Darker text for contrast on moss bg */
  --color-text: #1a1e16;
  --color-text-muted: #2e3428;
  --color-text-soft: #4a5340;

  /* Accent — deeper olive (buttons contrast on yellow-green) */
  --color-accent: #3f4c2a;
  --color-accent-hover: #2f3920;
  --color-accent-soft: #8fa35c;
  --color-accent-mist: rgba(63, 76, 42, 0.14);

  /* Soft moss secondary */
  --color-sage: #4a5636;
  --color-sage-soft: #c5d49a;

  /* Borders & focus */
  --color-border: rgba(26, 30, 22, 0.16);
  --color-focus: #3f4c2a;

  /* Type — Eastman from client font pack */
  --font-display: "Eastman", "Times New Roman", serif;
  --font-body: "Eastman", "Segoe UI", sans-serif;

  /* Layout */
  --container: 68rem;
  --hero-photo-col: minmax(16rem, 26rem);
  --radius: 1rem;
  --radius-sm: 0.65rem;
  --space-section: clamp(3.5rem, 8vw, 6.5rem);
  --header-h: 4.25rem;

  /* Motion */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --duration: 0.55s;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 0.75rem);
  hyphens: none;
  -webkit-hyphens: none;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1.05rem;
  line-height: 1.65;
  font-feature-settings: "onum" 1;
  font-variant-numeric: oldstyle-nums;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
  -webkit-hyphens: none;
  color: var(--color-text);
  background:
    radial-gradient(ellipse 80% 50% at 10% -10%, var(--color-accent-mist), transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 20%, rgba(138, 154, 136, 0.12), transparent 50%),
    var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

html.fonts-ready body {
  font-family: var(--font-body);
}

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

.kern-cyr-a {
  display: inline;
}

.kern-cyr-a-right {
  padding-right: 0.055em;
}

p,
li,
h1,
h2,
h3,
blockquote,
label,
.btn,
.text-link {
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
  -webkit-hyphens: none;
}

a {
  color: var(--color-accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
  transition: color 0.25s var(--ease-out);
}

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

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--color-focus);
  outline-offset: 3px;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 0.65em;
  color: var(--color-text);
}

h1 {
  font-size: clamp(2.6rem, 7vw, 4.35rem);
  font-weight: 600;
  letter-spacing: -0.01em;
}

h2 {
  font-size: clamp(2rem, 4.5vw, 2.85rem);
}

h3 {
  font-size: 1.45rem;
  margin-bottom: 0.4em;
}

p {
  margin: 0 0 1em;
}

p:last-child {
  margin-bottom: 0;
}

.container {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}

/* Skip link */
.skip-link {
  position: absolute;
  left: 1rem;
  top: -100%;
  z-index: 1000;
  padding: 0.65rem 1rem;
  background: var(--color-surface);
  color: var(--color-text);
  border-radius: var(--radius-sm);
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(47, 52, 40, 0.12);
}

.skip-link:focus {
  top: 1rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: color-mix(in srgb, var(--color-bg) 88%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 1rem;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--color-text);
  text-decoration: none;
  letter-spacing: 0.01em;
}

.logo:hover {
  color: var(--color-accent);
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.nav-toggle-bar {
  display: block;
  width: 1.35rem;
  height: 1.5px;
  margin-inline: auto;
  background: var(--color-text);
  transition: transform 0.3s var(--ease-out), opacity 0.3s;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:first-child {
  transform: translateY(3.75px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:last-child {
  transform: translateY(-3.75px) rotate(-45deg);
}

.site-nav {
  position: fixed;
  inset: var(--header-h) 0 auto 0;
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  padding: 1.25rem 1.5rem 1.75rem;
  transform: translateY(-120%);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.35s var(--ease-out), opacity 0.35s, visibility 0.35s;
}

.site-nav.is-open {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.site-nav ul {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.site-nav a {
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--color-text-muted);
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a[aria-current="true"] {
  color: var(--color-accent);
}

/* Hero — one composition, no cards */
.hero {
  padding: clamp(2.5rem, 6vw, 4.5rem) 0 var(--space-section);
  min-height: min(88vh, 52rem);
  display: flex;
  align-items: center;
}

.hero-grid {
  display: grid;
  gap: 2rem;
  align-items: stretch;
}

@media (max-width: 899px) {
  .hero {
    padding-bottom: clamp(1.5rem, 5vw, 2.25rem);
  }

  #about.section {
    margin-top: clamp(2.25rem, 9vw, 3.5rem);
    padding-top: clamp(2rem, 7vw, 2.75rem);
    border-top: 1px solid color-mix(in srgb, var(--color-border) 75%, transparent);
  }

  .about-top {
    gap: 2rem;
  }
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.5rem;
}

.hero-copy-top h1 {
  font-size: clamp(2.35rem, 9vw, 4.35rem);
  margin-bottom: 0.45em;
}

.hero-tagline {
  font-size: clamp(1.12rem, 4.2vw, 1.35rem);
  color: var(--color-text-muted);
  max-width: 28rem;
  margin-bottom: 0;
  font-weight: 400;
  line-height: 1.45;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.1rem;
}

.hero-actions-row {
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem;
}

.hero-links {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
}

.text-link {
  color: var(--color-text-muted);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.text-link:hover {
  color: var(--color-accent);
  border-bottom-color: var(--color-accent-soft);
}

.dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--color-accent-soft);
}

.hero-visual {
  display: flex;
  align-items: stretch;
  justify-content: center;
}

.hero-photo-frame {
  width: min(100%, min(26rem, 94vw));
  aspect-ratio: 4 / 5;
  border-radius: 1.4rem 1.4rem 2.2rem 1.4rem;
  box-shadow: 0 18px 40px rgba(47, 52, 40, 0.06);
  overflow: hidden;
}

.hero-photo-frame .profile-photo {
  border-radius: 0;
}

.profile-photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 1rem 1rem 1.6rem 1rem;
}

.photo-placeholder {
  width: 100%;
  height: 100%;
  min-height: 16rem;
  display: grid;
  place-items: center;
  border-radius: 1rem 1rem 1.6rem 1rem;
  background:
    linear-gradient(145deg, var(--color-accent-mist), transparent 55%),
    linear-gradient(20deg, var(--color-sage-soft), var(--color-surface-soft));
  color: var(--color-text-soft);
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: 0.04em;
}

.photo-portrait {
  min-height: 22rem;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.85rem 1.45rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition:
    background 0.25s var(--ease-out),
    color 0.25s var(--ease-out),
    border-color 0.25s,
    transform 0.25s var(--ease-out),
    box-shadow 0.25s;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--color-accent);
  color: #f4f6ef;
  box-shadow: 0 8px 22px rgba(63, 76, 42, 0.32);
}

.btn-primary:hover {
  background: var(--color-accent-hover);
  color: #f4f6ef;
}

.btn-secondary {
  background: var(--color-surface);
  color: var(--color-text);
  border-color: var(--color-border);
}

.btn-secondary:hover {
  border-color: var(--color-accent-soft);
  color: var(--color-accent);
}

.btn-ghost {
  background: transparent;
  color: var(--color-text-muted);
  border-color: transparent;
  padding-inline: 0.85rem;
}

.btn-ghost:hover {
  color: var(--color-accent);
}

.btn-block {
  width: 100%;
}

/* Sections */
.section {
  padding: var(--space-section) 0;
}

.section-alt {
  background: color-mix(in srgb, var(--color-bg-alt) 70%, transparent);
}

.section-header {
  text-align: center;
  max-width: 34rem;
  margin: 0 auto 2.5rem;
}

.section-header p {
  color: var(--color-text-muted);
  font-weight: 400;
}

.section-header-left {
  text-align: left;
  margin-inline: 0;
}

/* Cards */
.card-grid {
  display: grid;
  gap: 1.15rem;
}

.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.5rem 1.4rem;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(47, 52, 40, 0.06);
}

.card p {
  color: var(--color-text-muted);
  font-size: 0.98rem;
  font-weight: 400;
}

.topic-grid {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: 1fr;
}

.topic-card {
  padding: 1.1rem 1.25rem;
  border-radius: var(--radius-sm);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--color-text);
  transition: border-color 0.3s, background 0.3s;
}

.topic-card:hover {
  border-color: var(--color-accent-soft);
  background: color-mix(in srgb, var(--color-surface) 80%, var(--color-accent-soft));
}

/* About */
.about-layout {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.about-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
  --about-photo-w: min(20rem, 92vw);
}

.about-photo-frame {
  width: var(--about-photo-w);
  aspect-ratio: 3 / 4;
  margin-inline: auto;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 14px 30px rgba(47, 52, 40, 0.08);
}

.profile-photo-portrait {
  border-radius: var(--radius);
}

.about-intro h2 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 6vw, 2.35rem);
  font-weight: 600;
  line-height: 1.15;
}

.about-intro p {
  margin: 0 0 0.7rem;
  color: var(--color-text-muted);
  font-weight: 400;
  font-size: clamp(1rem, 3.6vw, 1.08rem);
  line-height: 1.52;
}

.about-intro p:last-child {
  margin-bottom: 0;
}

.about-lead {
  font-size: clamp(1.05rem, 3.8vw, 1.15rem);
  color: var(--color-text);
  font-weight: 500;
  margin-bottom: 0.75rem !important;
}

.section-header-left h2 {
  margin-top: 0;
}

.about-note {
  font-size: 0.9rem;
  color: var(--color-text-soft);
  font-style: italic;
  font-family: var(--font-display);
}

/* Process */
.process-list {
  display: grid;
  gap: 1.25rem;
  max-width: 40rem;
  margin-inline: auto;
}

.process-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.15rem;
  padding: 1.25rem 1.35rem;
  background: var(--color-surface);
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
}

.process-num {
  font-family: var(--font-display);
  font-size: 1.65rem;
  color: var(--color-accent);
  line-height: 1;
  padding-top: 0.15rem;
}

.process-item p {
  color: var(--color-text-muted);
  font-weight: 300;
  font-size: 0.98rem;
}

/* Reviews */
.card-review blockquote {
  margin: 0;
}

.card-review p {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-style: italic;
  line-height: 1.4;
  color: var(--color-text);
  margin-bottom: 1rem;
}

.card-review footer {
  font-size: 0.9rem;
  color: var(--color-text-soft);
}

/* Booking */
.section-booking {
  background:
    linear-gradient(180deg, transparent, var(--color-accent-mist) 100%),
    var(--color-bg);
}

.booking-grid {
  display: grid;
  gap: 2.5rem;
  align-items: start;
}

.social-stubs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 0.5rem;
}

.booking-form {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: calc(var(--radius) + 0.25rem);
  padding: 1.75rem 1.4rem;
  box-shadow: 0 16px 36px rgba(47, 52, 40, 0.05);
}

.booking-form h3 {
  margin-bottom: 1.35rem;
}

.form-field {
  margin-bottom: 1.15rem;
}

.form-honey {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.form-field label {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text);
}

.optional {
  font-weight: 400;
  color: var(--color-text-soft);
}

.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  padding: 0.8rem 0.95rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color 0.25s, background 0.25s;
}

.form-field select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%234a5340' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.95rem center;
  padding-right: 2.25rem;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: var(--color-text-soft);
}

.form-field input:hover,
.form-field textarea:hover,
.form-field select:hover {
  border-color: color-mix(in srgb, var(--color-accent) 35%, var(--color-border));
}

.form-field textarea {
  resize: vertical;
  min-height: 6.5rem;
}

.form-status {
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  background: color-mix(in srgb, var(--color-sage-soft) 55%, var(--color-surface));
  color: var(--color-text);
  font-size: 0.95rem;
}

.form-status.is-error {
  background: color-mix(in srgb, var(--color-accent-soft) 45%, var(--color-surface));
}

.booking-form.is-success .btn-primary {
  opacity: 0.7;
  pointer-events: none;
}

.booking-form.is-submitting .btn-primary {
  opacity: 0.75;
  cursor: wait;
}

/* Footer */
.site-footer {
  padding: 2.75rem 0 2.25rem;
  border-top: 1px solid var(--color-border);
  background: var(--color-bg-alt);
}

.footer-inner {
  display: grid;
  gap: 1.25rem;
}

.footer-name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin: 0;
}

.footer-role {
  margin: 0.15rem 0 0;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-sage);
}

.footer-contacts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-contacts a {
  color: var(--color-text-muted);
  text-decoration: none;
}

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

.footer-note {
  margin: 0;
  font-size: 0.85rem;
  color: var(--color-text-soft);
}

/* Reveal motion */
.reveal {
  opacity: 0;
  transform: translateY(1rem);
  transition: opacity var(--duration) var(--ease-out), transform var(--duration) var(--ease-out);
}

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

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

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .btn:hover,
  .card:hover {
    transform: none;
  }
}

/* Tablet+ */
@media (min-width: 640px) {
  .card-grid-3,
  .card-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .booking-form {
    padding: 2rem 1.75rem;
  }
}

/* Desktop */
@media (min-width: 900px) {
  .nav-toggle {
    display: none;
  }

  .site-nav {
    position: static;
    inset: auto;
    transform: none;
    opacity: 1;
    visibility: visible;
    background: transparent;
    border: 0;
    padding: 0;
  }

  .site-nav ul {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 1.35rem;
  }

  .hero-grid {
    grid-template-columns: 1fr var(--hero-photo-col);
    gap: 2.5rem 3rem;
    align-items: stretch;
  }

  .hero-copy {
    min-height: 100%;
  }

  .hero-visual {
    justify-content: flex-end;
  }

  .hero-photo-frame {
    width: 100%;
    max-width: 26rem;
    aspect-ratio: 4 / 5;
    height: auto;
    margin-inline-start: auto;
  }

  .about-top {
    grid-template-columns: var(--about-photo-w) minmax(0, 1fr);
    gap: 2.5rem 3rem;
    align-items: stretch;
    --about-photo-w: min(16.5rem, 22vw);
  }

  .about-photo-frame {
    width: var(--about-photo-w);
    height: 100%;
    margin-inline: 0;
  }

  .about-intro {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: calc(var(--about-photo-w) * 4 / 3);
    width: 100%;
    max-width: none;
  }

  .about-intro h2 {
    font-size: clamp(2rem, 2.4vw, 2.35rem);
  }

  .about-intro p {
    font-size: clamp(1.04rem, 1.15vw, 1.12rem);
    line-height: 1.46;
    margin-bottom: clamp(0.4rem, 0.85vh, 0.6rem);
  }

  .about-intro .about-lead {
    font-size: clamp(1.1rem, 1.22vw, 1.18rem);
  }

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

  .card-grid-4 {
    grid-template-columns: repeat(4, 1fr);
  }

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

@media (min-width: 768px) {
  #about.section {
    padding-top: clamp(2rem, 3.5vw, 2.75rem);
    padding-bottom: clamp(2rem, 3.5vw, 2.75rem);
  }

  .about-top {
    grid-template-columns: var(--about-photo-w) minmax(0, 1fr);
    gap: 1.75rem 2rem;
    align-items: stretch;
    --about-photo-w: min(17rem, 34vw);
  }

  .about-photo-frame {
    width: var(--about-photo-w);
    height: 100%;
    margin-inline: 0;
  }

  .about-intro {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: calc(var(--about-photo-w) * 4 / 3);
    width: 100%;
    max-width: none;
  }

  .about-intro p {
    font-size: clamp(1.02rem, 1.8vw, 1.1rem);
  }

  .help-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem 2rem;
  }

  .process-list {
    max-width: none;
    grid-template-columns: repeat(3, 1fr);
  }

  .process-item {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .booking-grid {
    grid-template-columns: 1fr 1.05fr;
    gap: 3rem;
    align-items: center;
  }

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

  .channel-banner {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
  }

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

  .contact-grid {
    grid-template-columns: repeat(3, 1fr);
    max-width: 40rem;
  }

  .footer-inner {
    grid-template-columns: 1fr auto;
    align-items: end;
  }

  .footer-note {
    grid-column: 1 / -1;
  }
}

/* Diplomas */
.diploma-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}

.diploma-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 0;
  overflow: hidden;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
}

.diploma-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(47, 52, 40, 0.08);
}

.diploma-link {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1rem;
  height: 100%;
  width: 100%;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
  color: inherit;
  font: inherit;
}

.diploma-link h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
}

.diploma-link p {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 0.92rem;
  flex: 1;
}

.diploma-open {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-accent);
}

.diploma-thumb {
  position: relative;
  height: clamp(10.5rem, 30vw, 14rem);
  overflow: hidden;
  border-radius: var(--radius-sm);
  background: #dfe6c8;
}

.diploma-thumb img {
  display: block;
  width: 100%;
  height: auto;
}

.diploma-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(26, 30, 22, 0.18) 0%,
    rgba(26, 30, 22, 0.52) 100%
  );
  pointer-events: none;
  transition: opacity 0.3s var(--ease-out);
}

.diploma-link:hover .diploma-thumb::after,
.diploma-link:focus-visible .diploma-thumb::after {
  opacity: 0.72;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 1.25rem;
}

.lightbox[hidden] {
  display: none;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(20, 24, 16, 0.88);
  cursor: pointer;
}

.lightbox-inner {
  position: relative;
  z-index: 1;
  max-width: min(96vw, 56rem);
  max-height: 92vh;
}

.lightbox-img {
  display: block;
  max-width: 100%;
  max-height: 88vh;
  width: auto;
  height: auto;
  margin-inline: auto;
  border-radius: var(--radius-sm);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.lightbox-close {
  position: absolute;
  top: -2.75rem;
  right: 0;
  width: 2.25rem;
  height: 2.25rem;
  border: 0;
  border-radius: 50%;
  background: var(--color-surface);
  color: var(--color-text);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.lightbox-close:hover {
  background: var(--color-accent-soft);
}

/* Pricing */
.price-value {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  color: var(--color-accent);
  margin: 0.35rem 0 0.5rem;
}

.section-cta {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

/* Help list with leaf marker — под фото и верхним текстом */
.help-block {
  margin-top: clamp(2.25rem, 5vw, 3.25rem);
  padding-top: clamp(1.75rem, 3.5vw, 2.5rem);
  border-top: 1px solid rgba(47, 52, 40, 0.1);
  width: 100%;
}

.help-title {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 5vw, 1.65rem);
  font-weight: 600;
}

.help-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

.help-list li {
  position: relative;
  padding-left: 2.75rem;
  color: var(--color-text-muted);
  line-height: 1.55;
  font-size: clamp(1rem, 3.4vw, 1.05rem);
}

.help-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.15rem;
  width: 1.75rem;
  height: 1.75rem;
  background: url("assets/client/listochok.png") center / contain no-repeat;
}

/* Channel banner */
.channel-banner {
  display: grid;
  gap: 2rem;
  padding: clamp(1.75rem, 4vw, 2.75rem);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: calc(var(--radius) + 0.35rem);
}

.channel-label {
  margin: 0 0 0.5rem;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-sage);
}

.channel-copy h2 {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  font-weight: 600;
}

.channel-copy p {
  color: var(--color-text-muted);
  margin: 0 0 1.35rem;
  max-width: 32rem;
}

.channel-logo {
  display: block;
  width: min(100%, 16rem);
  height: auto;
  margin-inline: auto;
  border-radius: 50%;
  object-fit: cover;
}

/* Find me */
.find-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
  grid-template-columns: repeat(2, 1fr);
}

.find-grid > li {
  display: flex;
  min-height: 100%;
}

.find-card {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1.15rem 1.25rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.25s, transform 0.25s var(--ease-out), box-shadow 0.25s;
}

.find-card:hover {
  border-color: var(--color-accent-soft);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(47, 52, 40, 0.06);
}

.find-name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
}

/* Contacts */
.contact-grid {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  display: grid;
  gap: 0.85rem;
  grid-template-columns: 1fr;
  max-width: 22rem;
}
