:root {
  --ink: #342821;
  --text: #5f5148;
  --muted: #83756b;
  --cream: #fbf6ee;
  --paper: #fffaf4;
  --warm: #efe2d4;
  --sage: #dce8d8;
  --sage-deep: #61745d;
  --olive: #b9b98d;
  --olive-deep: #40442d;
  --mist: #efe7d8;
  --mist-deep: #76654f;
  --clay: #c97661;
  --clay-dark: #955f4e;
  --line: rgba(94, 75, 62, 0.16);
  --white: #ffffff;
  --shadow: 0 28px 90px rgba(52, 40, 33, 0.18);
  --radius: 10px;
  --pe-hero-title-max: 6.1rem;
  --pe-hero-panel-font-size: 1.04rem;
  --pe-quote-heading-max: 5.2rem;
  --pe-individual-heading-max: 3.1rem;
  --pe-service-gallery-heading-max: 4.8rem;
  --pe-organization-heading-max: 2.75rem;
  --pe-about-heading-max: 4.4rem;
  --pe-hero-bg-url: url("../images/psihoedukacija-abstract-hero.png");
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(120deg, rgba(255, 250, 244, 0.92), rgba(220, 232, 216, 0.42)),
    var(--cream);
}

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

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

p,
ul {
  margin: 0;
  color: var(--text);
}

h1,
h2,
h3 {
  margin: 0;
  letter-spacing: 0;
  line-height: 1.05;
}

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
}

h1 {
  max-width: 1120px;
  color: var(--white);
  font-size: clamp(3rem, 6.15vw, var(--pe-hero-title-max));
}

h2 {
  font-size: clamp(2.25rem, 4.9vw, 4.8rem);
}

h3 {
  font-size: 1.15rem;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 20;
  padding: 0.75rem 1rem;
  background: var(--ink);
  color: var(--white);
}

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 22px clamp(18px, 4vw, 58px);
  color: var(--white);
  transition: background 260ms ease, color 260ms ease, padding 260ms ease, box-shadow 260ms ease;
}

.site-header.is-scrolled {
  padding-top: 14px;
  padding-bottom: 14px;
  background: rgba(255, 250, 244, 0.92);
  box-shadow: 0 12px 50px rgba(52, 40, 33, 0.08);
  color: var(--ink);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.28rem;
}

.brand span span {
  color: var(--clay);
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 13px;
  background: var(--clay);
  color: var(--white);
  font-family: Inter, sans-serif;
  font-size: 0.82rem;
  font-weight: 800;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: clamp(0.7rem, 2vw, 1.5rem);
  font-size: 0.9rem;
  font-weight: 750;
}

.desktop-nav a {
  opacity: 0.86;
  transition: opacity 180ms ease, transform 180ms ease;
}

.desktop-nav a:hover {
  opacity: 1;
  transform: translateY(-1px);
}

.lang-switch {
  display: inline-flex;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 999px;
  background: rgba(255, 250, 244, 0.22);
}

.is-scrolled .lang-switch {
  border-color: var(--line);
  background: var(--white);
}

.lang-switch a {
  min-width: 44px;
  padding: 0.42rem 0.75rem;
  text-align: center;
  font-size: 0.86rem;
  font-weight: 850;
}

.lang-switch .is-active {
  background: var(--ink);
  color: var(--white);
}

.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media img {
  height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  animation: heroZoom 1400ms ease forwards;
}

.hero-overlay {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(52, 40, 33, 0.78), rgba(52, 40, 33, 0.46) 54%, rgba(52, 40, 33, 0.18)),
    linear-gradient(180deg, rgba(52, 40, 33, 0.24), rgba(52, 40, 33, 0.66));
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(360px, 520px);
  align-items: center;
  gap: clamp(2rem, 5vw, 4.6rem);
  width: min(1380px, calc(100% - 48px));
  min-height: 100svh;
  margin: 0 auto;
  padding: 126px 0 104px;
}

.hero-copy p {
  max-width: 900px;
  margin-top: 1.35rem;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 1.25rem;
  color: var(--clay);
  font-size: 0.78rem;
  font-weight: 880;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
}

.hero .eyebrow {
  width: 100%;
  max-width: 100%;
  position: relative;
  display: inline-block;
  padding: 0.58rem 1rem 0.58rem 1.72rem;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: #f1b8a7;
  font-size: clamp(0.54rem, 0.57vw, 0.66rem);
  line-height: 1.35;
  white-space: nowrap;
  overflow-wrap: normal;
  text-wrap: nowrap;
  backdrop-filter: blur(10px);
}

.hero .eyebrow::before {
  position: absolute;
  left: 0.88rem;
  top: 50%;
  transform: translateY(-50%);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0.95rem 1.35rem;
  border-radius: 999px;
  font-weight: 850;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--clay);
  color: var(--white);
  box-shadow: 0 18px 38px rgba(201, 118, 97, 0.3);
}

.button-ghost {
  border: 1px solid rgba(255, 255, 255, 0.46);
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.hero-panel {
  min-height: 520px;
  padding: clamp(1.8rem, 2.6vw, 2.35rem);
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 24px;
  background: rgba(255, 250, 244, 0.14);
  color: var(--white);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.16);
  backdrop-filter: blur(18px);
}

.hero-panel span {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.hero-panel strong {
  display: block;
  margin-top: 0.45rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.7rem;
  font-weight: 500;
  line-height: 1.12;
}

.hero-panel p {
  margin-top: 1rem;
  color: rgba(255, 255, 255, 0.76);
  font-size: clamp(0.96rem, 1.02vw, var(--pe-hero-panel-font-size));
  line-height: 1.55;
  max-width: 54ch;
}

.hero-panel-copy {
  margin-top: 1.35rem;
}

.hero-panel-copy p {
  margin-top: 0.72rem;
}

.hero-panel-copy p:first-child {
  margin-top: 0;
}

.welcome-line {
  padding-top: 0.35rem;
  color: rgba(255, 255, 255, 0.92) !important;
  font-weight: 800;
}

.hero-person {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 1.05rem;
  align-items: center;
}

.hero-person img {
  aspect-ratio: 1;
  border: 2px solid rgba(255, 255, 255, 0.48);
  border-radius: 20px;
  object-fit: cover;
}

.hero-person span {
  display: block;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.hero-person strong {
  display: block;
  margin-top: 0.22rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.55rem, 2.2vw, 2rem);
  font-weight: 500;
  line-height: 1.12;
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 34px;
  z-index: 2;
  display: grid;
  justify-items: center;
  gap: 0.8rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transform: translateX(-50%);
}

.scroll-cue i {
  display: block;
  width: 1px;
  height: 48px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.25);
}

.scroll-cue i::after {
  content: "";
  display: block;
  width: 1px;
  height: 18px;
  background: var(--white);
  animation: scrollLine 1600ms ease-in-out infinite;
}

.intent-strip {
  position: relative;
  z-index: 3;
  width: min(1180px, calc(100% - 40px));
  margin: -56px auto 0;
}

.intent-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border-radius: 24px;
  background: var(--line);
  box-shadow: var(--shadow);
}

.intent-grid article {
  display: flex;
  flex-direction: column;
  min-height: 250px;
  padding: clamp(1.25rem, 2.4vw, 2rem);
  background: rgba(255, 250, 244, 0.94);
}

.intent-grid article:nth-child(1) {
  background:
    linear-gradient(180deg, rgba(255, 250, 244, 0.94), rgba(204, 157, 132, 0.9)),
    var(--paper);
}

.intent-grid article:nth-child(2) {
  background:
    linear-gradient(180deg, rgba(255, 250, 244, 0.94), rgba(184, 155, 116, 0.9)),
    var(--paper);
}

.intent-grid article:nth-child(3) {
  background:
    linear-gradient(180deg, rgba(255, 250, 244, 0.93), rgba(116, 124, 79, 0.92)),
    var(--paper);
}

.intent-grid article:nth-child(1) h2,
.intent-grid article:nth-child(1) p,
.intent-grid article:nth-child(2) h2,
.intent-grid article:nth-child(2) p,
.intent-grid article:nth-child(3) h2,
.intent-grid article:nth-child(3) p {
  color: #2f261f;
}

.intent-grid article:nth-child(1) .intent-link,
.intent-grid article:nth-child(2) .intent-link {
  color: #633f31;
}

.intent-grid article:nth-child(3) .intent-link {
  color: #2f3a1f;
}

.intent-grid span,
.service-number {
  color: var(--clay);
  font-size: 0.82rem;
  font-weight: 900;
}

.intent-grid h2 {
  margin-top: 1.6rem;
  font-size: clamp(1.6rem, 2.5vw, 2.35rem);
}

.intent-grid p {
  margin-top: 0.8rem;
}

.intent-link,
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  width: fit-content;
  margin-top: auto;
  color: var(--clay-dark);
  font-size: 0.9rem;
  font-weight: 850;
}

.intent-link {
  padding-top: 1.35rem;
}

.intent-link::after,
.text-link::after {
  content: "\2192";
  transition: transform 180ms ease;
}

.intent-link:hover::after,
.text-link:hover::after {
  transform: translateX(4px);
}

.text-link {
  margin-top: 1.35rem;
}

.section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(82px, 11vw, 140px) 0;
}

.zone-section {
  position: relative;
  isolation: isolate;
  border-radius: 34px;
}

.zone-section::before {
  content: "";
  position: absolute;
  inset: 34px -38px;
  z-index: -1;
  border: 1px solid rgba(94, 75, 62, 0.08);
  border-radius: 46px;
  pointer-events: none;
}

.zone-individual::before {
  background:
    radial-gradient(circle at 16% 20%, rgba(201, 118, 97, 0.24), transparent 34%),
    linear-gradient(135deg, rgba(255, 246, 239, 0.94), rgba(229, 197, 181, 0.86));
}

.zone-individual-soft::before {
  background:
    radial-gradient(circle at 84% 8%, rgba(201, 118, 97, 0.18), transparent 30%),
    linear-gradient(135deg, rgba(255, 250, 244, 0.84), rgba(242, 221, 209, 0.76));
}

.zone-leaders::before {
  background:
    radial-gradient(circle at 80% 20%, rgba(149, 95, 78, 0.2), transparent 34%),
    linear-gradient(135deg, rgba(239, 226, 212, 0.98), rgba(255, 250, 244, 0.78));
}

.zone-organizations::before {
  background:
    radial-gradient(circle at 18% 16%, rgba(64, 68, 45, 0.36), transparent 34%),
    linear-gradient(135deg, rgba(137, 144, 88, 0.9), rgba(255, 250, 244, 0.72));
}

.quote-break {
  display: grid;
  min-height: clamp(360px, 48vw, 560px);
  place-items: center;
  margin: clamp(72px, 10vw, 120px) 0 0;
  padding: clamp(2rem, 7vw, 5.5rem);
  background:
    linear-gradient(135deg, rgba(52, 40, 33, 0.82), rgba(97, 116, 93, 0.62)),
    var(--pe-hero-bg-url) center / cover;
  color: var(--white);
  text-align: center;
}

.quote-break span,
.faq-label {
  color: var(--clay);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.quote-break span {
  display: inline-flex;
  margin-bottom: 1.1rem;
  padding: 0.6rem 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 999px;
  color: #f1b8a7;
  background: rgba(255, 255, 255, 0.09);
  backdrop-filter: blur(12px);
}

.quote-break h2 {
  max-width: 1180px;
  margin: 0 auto;
  color: var(--white);
  font-size: clamp(2.7rem, 5.1vw, var(--pe-quote-heading-max));
}

.quote-about h2 {
  font-size: clamp(2.5rem, 4.6vw, var(--pe-about-heading-max));
}

.quote-break p {
  max-width: 860px;
  margin: 1rem auto 0;
  color: rgba(255, 255, 255, 0.88);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.45rem, 3vw, 2.65rem);
  line-height: 1.2;
}

.quote-break small {
  display: block;
  margin-top: 1rem;
  color: rgba(255, 255, 255, 0.68);
  font-weight: 720;
}

.quote-long p {
  max-width: 1120px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(1rem, 1.55vw, 1.35rem);
  line-height: 1.58;
}

.quote-long p + p {
  margin-top: 0.9rem;
}

.quote-leaders {
  background:
    linear-gradient(135deg, rgba(52, 40, 33, 0.82), rgba(149, 95, 78, 0.56)),
    var(--pe-hero-bg-url) center / cover;
}

.quote-leaders span {
  color: #f1b8a7;
}

.quote-organizations {
  background:
    linear-gradient(135deg, rgba(52, 40, 33, 0.84), rgba(64, 68, 45, 0.72)),
    var(--pe-hero-bg-url) center / cover;
}

.quote-organizations h2,
.quote-about h2 {
  max-width: 1320px;
  font-size: clamp(2.45rem, 4.55vw, 4.85rem);
  line-height: 1.06;
}

.quote-organizations p,
.quote-about p {
  max-width: 1040px;
  font-size: clamp(1.25rem, 2.25vw, 2.15rem);
  line-height: 1.24;
}

.quote-organizations span {
  color: #e8eac9;
}

.quote-process {
  background:
    linear-gradient(135deg, rgba(52, 40, 33, 0.82), rgba(149, 95, 78, 0.56)),
    var(--pe-hero-bg-url) center / cover;
}

.quote-about {
  background:
    linear-gradient(135deg, rgba(52, 40, 33, 0.82), rgba(97, 116, 93, 0.58)),
    var(--pe-hero-bg-url) center / cover;
}

.quote-faq {
  background:
    linear-gradient(135deg, rgba(52, 40, 33, 0.84), rgba(149, 95, 78, 0.46)),
    var(--pe-hero-bg-url) center / cover;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(320px, 0.72fr);
  gap: clamp(2rem, 4vw, 4.2rem);
  align-items: center;
}

.zone-individual.split-section {
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.58fr);
  grid-template-areas:
    "copy copy"
    "detail image";
  align-items: start;
  row-gap: clamp(1.6rem, 3vw, 2.5rem);
}

.zone-individual .section-copy {
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(320px, 0.72fr);
  grid-template-areas:
    "eyebrow eyebrow"
    "title title"
    "body quote"
    "link quote";
  gap: 1.1rem clamp(1.5rem, 4vw, 3.2rem);
  grid-area: copy;
  align-items: start;
}

.zone-individual .section-copy .eyebrow {
  grid-area: eyebrow;
  margin-bottom: 0;
}

.zone-individual .section-copy h2 {
  grid-area: title;
  max-width: 1180px;
  font-size: clamp(2.5rem, 4.4vw, 4.85rem);
}

.zone-individual .section-copy > p {
  grid-area: body;
}

.zone-individual .quote-card {
  grid-area: quote;
  margin-top: 0;
}

.zone-individual .text-link {
  grid-area: link;
}

.zone-individual .image-stack {
  grid-area: image;
  align-self: stretch;
}

.split-section.reverse {
  grid-template-columns: minmax(320px, 0.78fr) minmax(0, 0.9fr);
}

.split-section.reverse .section-copy {
  order: 2;
}

.section-copy p,
.section-heading p {
  margin-top: 1.2rem;
  font-size: 1.05rem;
}

.section-heading .section-subtitle {
  max-width: 1050px;
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(1.9rem, 3.45vw, var(--pe-individual-heading-max));
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: 0;
}

.zone-section .section-copy h2,
.team-content h2 {
  max-width: 1050px;
  font-size: clamp(2.45rem, 4.35vw, 4.8rem);
  letter-spacing: 0;
}

.team-content h3 {
  max-width: 980px;
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3.2vw, var(--pe-organization-heading-max));
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: 0;
}

.quote-card {
  margin-top: 1.6rem;
  padding: 1.3rem 1.45rem;
  border-left: 3px solid var(--clay);
  border-radius: 0 22px 22px 0;
  background: var(--paper);
  box-shadow: 0 18px 50px rgba(52, 40, 33, 0.08);
}

.quote-card p {
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(0.98rem, 1.35vw, 1.14rem);
  line-height: 1.62;
}

.image-stack {
  position: relative;
}

.image-stack-individual img {
  aspect-ratio: 4 / 3;
  min-height: 420px;
  object-position: center;
}

.service-grid article:nth-child(2) .service-visual img {
  object-position: 46% center;
}

.image-stack img,
.team-media img {
  aspect-ratio: 4 / 5;
  height: auto;
  border-radius: 36px;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.mini-card {
  position: absolute;
  right: -20px;
  bottom: 34px;
  width: min(260px, 82%);
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 20px;
  background: rgba(255, 250, 244, 0.9);
  box-shadow: 0 18px 50px rgba(52, 40, 33, 0.12);
  backdrop-filter: blur(14px);
}

.mini-card strong {
  display: block;
}

.mini-card span {
  color: var(--muted);
  font-size: 0.9rem;
}

.service-gallery,
.process-section,
.faq-section {
  width: min(1240px, calc(100% - 40px));
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(280px, 0.48fr);
  gap: 2rem;
  align-items: start;
  margin-bottom: 2rem;
}

.service-gallery .section-heading {
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  margin-bottom: 1.55rem;
}

.service-gallery .section-heading h2 {
  max-width: 1080px;
  font-size: clamp(2.25rem, 3.8vw, var(--pe-service-gallery-heading-max));
}

.service-gallery .section-heading > p {
  grid-column: 1;
  max-width: 760px;
  margin-top: 1.15rem;
}

.section-heading > p {
  grid-column: 2;
  align-self: start;
  margin-top: 0;
  padding: 1.2rem 1.25rem;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 250, 244, 0.72);
  box-shadow: 0 14px 44px rgba(52, 40, 33, 0.06);
}

.process-section .section-heading,
.faq-section .section-heading {
  grid-template-columns: minmax(0, 0.82fr);
}

.process-section .section-heading > p,
.faq-section .section-heading > p {
  grid-column: 1;
  max-width: 760px;
}

.process-section .eyebrow,
.faq-section .eyebrow,
.service-gallery .eyebrow {
  margin-bottom: 1rem;
}

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

.service-grid article,
.process-grid article {
  min-height: 300px;
  padding: 1.45rem;
  border: 1px solid var(--line);
  border-radius: 26px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(255, 250, 244, 0.94)),
    var(--paper);
  box-shadow: 0 18px 54px rgba(52, 40, 33, 0.08);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.service-grid article {
  overflow: hidden;
  padding-top: 0;
}

.individual-model-section .section-heading {
  grid-template-columns: minmax(0, 1fr);
  max-width: 1180px;
  margin-left: 0;
  margin-right: auto;
  align-items: start;
}

.individual-model-section .section-heading h2 {
  max-width: 1120px;
  font-size: clamp(2.25rem, 3.75vw, 4.05rem);
}

.individual-model-section .service-grid article {
  padding-top: 0;
}

.individual-model-section .service-grid h3 {
  margin-top: 1.35rem;
}

.individual-model-section .text-link {
  display: inline-flex;
  margin-top: 1.15rem;
}

.individual-info-grid .service-visual img {
  background: var(--paper);
}

.individual-copy-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 24px);
  align-items: stretch;
}

.individual-copy-grid article {
  min-height: 100%;
  border: 1px solid rgba(89, 72, 58, 0.12);
  border-radius: 28px;
  background: rgba(255, 253, 248, 0.72);
  box-shadow: 0 22px 46px rgba(77, 59, 47, 0.08);
  padding: clamp(24px, 3vw, 34px);
}

.individual-copy-grid.is-plain {
  gap: clamp(28px, 5vw, 72px);
}

.individual-copy-grid.is-plain article {
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.individual-copy-grid.is-plain article h3 {
  position: relative;
  padding-left: 1.05rem;
}

.individual-copy-grid.is-plain article h3::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.08em;
  bottom: 0.08em;
  width: 3px;
  border-radius: 999px;
  background: var(--clay);
}

.individual-copy-grid .text-panel p {
  max-width: 60ch;
}

.service-gallery-faq-link {
  display: flex;
  justify-content: flex-end;
  margin-top: clamp(1.1rem, 2.2vw, 1.8rem);
  text-align: right;
}

.service-visual {
  margin: 0 -1.45rem 1.25rem;
  overflow: hidden;
  border-radius: 26px 26px 18px 18px;
}

.service-visual img {
  aspect-ratio: 16 / 10;
  height: auto;
  object-fit: cover;
  transition: transform 900ms ease;
}

.service-grid article:hover .service-visual img {
  transform: scale(1.05);
}

.service-grid article:hover,
.process-grid article:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 70px rgba(52, 40, 33, 0.13);
}

.service-grid h3,
.process-grid h3 {
  margin-top: 2rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.65rem;
  font-weight: 500;
}

.service-grid p,
.process-grid p {
  margin-top: 0.8rem;
}

.statement-band {
  display: grid;
  min-height: 340px;
  place-items: center;
  padding: clamp(2rem, 7vw, 5rem);
  background:
    linear-gradient(135deg, rgba(52, 40, 33, 0.86), rgba(97, 116, 93, 0.82)),
    url("../images/psihoedukacija-therapy-hero.png") center / cover;
  color: var(--white);
}

.statement-band-soft {
  min-height: 300px;
  background:
    linear-gradient(135deg, rgba(149, 95, 78, 0.82), rgba(52, 40, 33, 0.72)),
    url("../images/psihoedukacija-cbt-detail.png") center / cover;
}

.statement-band-olive {
  min-height: 320px;
  background:
    linear-gradient(135deg, rgba(95, 104, 72, 0.88), rgba(52, 40, 33, 0.68)),
    url("https://unsplash.com/photos/Imk2h0pyOvo/downloadforce=true&w=1600") center / cover;
}

.statement-band p {
  max-width: 980px;
  color: var(--white);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 5vw, 4.6rem);
  line-height: 1.08;
  text-align: center;
}

.question-panel {
  min-height: 460px;
  display: grid;
  align-content: end;
  padding: clamp(1.4rem, 3vw, 2rem);
  border-radius: 34px;
  background:
    linear-gradient(160deg, rgba(255, 250, 244, 0.8), rgba(220, 232, 216, 0.74)),
    var(--paper);
  box-shadow: var(--shadow);
}

.leader-visual-card {
  position: relative;
  min-height: 560px;
  margin-bottom: 7.4rem;
}

.leader-visual-card > img {
  height: 100%;
  min-height: 560px;
  border-radius: 34px;
  object-fit: cover;
  object-position: 52% center;
  box-shadow: var(--shadow);
}

.leader-visual-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 34px;
  background: linear-gradient(180deg, rgba(52, 40, 33, 0.04), rgba(52, 40, 33, 0.42));
  pointer-events: none;
}

.question-panel.compact {
  position: absolute;
  left: 1.25rem;
  right: auto;
  bottom: -7rem;
  z-index: 1;
  width: min(68%, 430px);
  min-height: auto;
  border: 1px solid rgba(255, 255, 255, 0.58);
  background: rgba(255, 250, 244, 0.52);
  backdrop-filter: blur(12px);
}

.question-panel.compact h3 {
  font-size: clamp(1.18rem, 2vw, 1.82rem);
}

.question-panel.compact p {
  font-size: 0.96rem;
}

.question-panel.compact .question-long {
  margin-top: 1rem;
  font-size: clamp(0.86rem, 1.08vw, 0.98rem);
  line-height: 1.58;
}

.question-panel span {
  color: var(--clay);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.question-panel h3 {
  margin-top: 1.2rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 3.6vw, 3.4rem);
  font-weight: 500;
  line-height: 1.08;
}

.question-panel p {
  margin-top: 1rem;
}

.check-list {
  display: grid;
  gap: 0.6rem;
  margin-top: 1.5rem;
  padding: 0;
  list-style: none;
}

.check-list li {
  padding: 0.85rem 1rem;
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
  font-weight: 760;
}

.team-section {
  display: grid;
  grid-template-columns: minmax(300px, 0.76fr) minmax(0, 1fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}

.team-media {
  position: relative;
}

.team-media img {
  aspect-ratio: 5 / 4;
  object-position: center;
}

.visual-note {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: -1.1rem;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.64);
  border-radius: 20px;
  background: rgba(255, 250, 244, 0.8);
  box-shadow: 0 18px 48px rgba(52, 40, 33, 0.12);
  backdrop-filter: blur(14px);
}

.visual-note strong {
  display: block;
  color: var(--olive-deep);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  font-weight: 500;
}

.visual-note span {
  color: var(--muted);
  font-size: 0.9rem;
}

.team-content {
  padding: clamp(1rem, 3vw, 2rem);
}

.metric-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
  margin-top: 1.8rem;
}

.metric-row-compact {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.metric-row div {
  padding: 1rem;
  border-radius: 18px;
  background: var(--paper);
  box-shadow: 0 14px 40px rgba(52, 40, 33, 0.07);
}

.metric-row strong {
  display: block;
  color: var(--sage-deep);
}

.metric-row span {
  color: var(--muted);
  font-size: 0.88rem;
}

.process-grid article span {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 15px;
  background: var(--clay);
  color: var(--white);
  font-weight: 900;
}

.process-section {
  position: relative;
}

.support-zone {
  position: relative;
  isolation: isolate;
}

.support-zone::before {
  content: "";
  position: absolute;
  inset: 28px -36px;
  z-index: -1;
  border: 1px solid rgba(94, 75, 62, 0.08);
  border-radius: 44px;
  background:
    radial-gradient(circle at 12% 18%, rgba(201, 118, 97, 0.14), transparent 32%),
    radial-gradient(circle at 82% 12%, rgba(97, 116, 93, 0.16), transparent 34%),
    linear-gradient(135deg, rgba(255, 250, 244, 0.9), rgba(239, 226, 212, 0.72));
  pointer-events: none;
}

.section-art {
  display: grid;
  grid-template-columns: minmax(260px, 0.42fr) minmax(0, 1fr);
  gap: 1.1rem;
  align-items: stretch;
  margin-bottom: 1.35rem;
}

.section-art img {
  height: 250px;
  border-radius: 28px;
  object-fit: cover;
  box-shadow: 0 18px 50px rgba(52, 40, 33, 0.08);
}

.section-art span {
  display: grid;
  place-items: center;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(255, 250, 244, 0.86), rgba(220, 232, 216, 0.86)),
    var(--paper);
  color: var(--sage-deep);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 3.6vw, 3.35rem);
  line-height: 1.12;
  text-align: center;
}

.about-section {
  width: min(1080px, calc(100% - 40px));
}

.about-card {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 2rem;
  align-items: center;
  padding: clamp(1.4rem, 4vw, 3rem);
  border-radius: 34px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.portrait-photo {
  position: relative;
  margin: 0;
}

.portrait-photo::before {
  content: "";
  position: absolute;
  inset: 18px -16px -18px 16px;
  z-index: 0;
  border-radius: 34px;
  background: var(--sage);
}

.portrait-photo img {
  position: relative;
  z-index: 1;
  aspect-ratio: 1;
  border-radius: 34px;
  object-fit: cover;
  box-shadow: 0 22px 60px rgba(52, 40, 33, 0.18);
}

.about-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.4rem;
}

.about-badges span {
  padding: 0.62rem 0.78rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--sage-deep);
  font-size: 0.88rem;
  font-weight: 820;
}

.about-note {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.faq-sections {
  display: grid;
  gap: 1rem;
}

.faq-group {
  scroll-margin-top: 110px;
  padding: clamp(1rem, 2.4vw, 1.5rem);
  border: 1px solid var(--line);
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.62), rgba(255, 250, 244, 0.92)),
    var(--paper);
  box-shadow: 0 18px 54px rgba(52, 40, 33, 0.07);
}

.faq-group:nth-child(1) {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.68), rgba(245, 232, 219, 0.92)),
    var(--paper);
}

.faq-group:nth-child(2) {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.68), rgba(239, 226, 212, 0.94)),
    var(--paper);
}

.faq-group:nth-child(3) {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.66), rgba(164, 169, 111, 0.9)),
    var(--paper);
}

.faq-label {
  display: inline-flex;
  margin-bottom: 0.85rem;
}

.faq-group:nth-child(2) .faq-label {
  color: var(--mist-deep);
}

.faq-group:nth-child(3) .faq-label {
  color: #384222;
}

.faq-list {
  display: grid;
  gap: 0.68rem;
}

details {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 250, 244, 0.78);
  box-shadow: 0 12px 36px rgba(52, 40, 33, 0.06);
}

summary {
  cursor: pointer;
  padding: 1.2rem 1.35rem;
  font-weight: 850;
}

details p {
  padding: 0 1.35rem 1.2rem;
}

details p + p {
  padding-top: 0;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(360px, 0.9fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
  min-height: 520px;
  padding: clamp(2rem, 7vw, 5rem);
  background:
    linear-gradient(135deg, rgba(52, 40, 33, 0.88), rgba(64, 68, 45, 0.68)),
    var(--pe-hero-bg-url) center / cover;
}

.contact-intro {
  position: sticky;
  top: 110px;
  max-width: 620px;
}

.contact-section h2,
.contact-section p {
  color: var(--white);
}

.contact-section p {
  max-width: 580px;
  margin-top: 1rem;
  opacity: 0.82;
}

.contact-info-panel {
  margin-top: clamp(1.4rem, 3vw, 2.2rem);
  padding: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 24px;
  background: rgba(255, 250, 244, 0.12);
  box-shadow: 0 20px 56px rgba(0, 0, 0, 0.12);
  backdrop-filter: blur(14px);
}

.contact-info-panel > span {
  display: block;
  color: #f1b8a7;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.contact-info-panel strong {
  display: block;
  margin-top: 0.55rem;
  color: var(--white);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  font-weight: 500;
}

.contact-info-panel p {
  margin-top: 0.55rem;
}

.contact-info-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}

.contact-info-actions .button-ghost {
  border-color: rgba(255, 255, 255, 0.34);
  color: var(--white);
}

.contact-linkedin {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.contact-linkedin svg {
  width: 1rem;
  height: 1rem;
  fill: currentColor;
  opacity: 0.9;
}

.inquiry-form {
  display: grid;
  gap: 1rem;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 34px;
  background: rgba(255, 250, 244, 0.74);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(18px);
}

.field-trap {
  position: absolute;
  left: -9999px;
}

.form-step {
  padding: clamp(1rem, 2.2vw, 1.35rem);
  border: 1px solid var(--line);
  border-radius: 26px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(255, 250, 244, 0.86)),
    var(--paper);
}

.contact-card {
  padding: clamp(1.25rem, 3.2vw, 2.2rem);
  border-radius: 34px;
  background:
    radial-gradient(circle at 88% 0%, rgba(201, 118, 97, 0.14), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(255, 250, 244, 0.94)),
    var(--paper);
}

.form-step-number {
  display: inline-flex;
  margin-bottom: 0.65rem;
  color: var(--clay);
  font-size: 0.78rem;
  font-weight: 900;
}

.form-step h3,
.contact-card h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.8rem, 3.2vw, 2.75rem);
  font-weight: 500;
  line-height: 1.08;
}

.contact-card-note {
  max-width: 680px;
  margin-top: 0.8rem;
  color: var(--text) !important;
  font-size: 0.98rem;
  line-height: 1.58;
}

.choice-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
  margin-top: 1rem;
}

.choice-grid-wide {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.choice-grid label {
  cursor: pointer;
}

.choice-grid input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.choice-grid span {
  display: grid;
  min-height: 58px;
  place-items: center;
  padding: 0.8rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 250, 244, 0.82);
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 820;
  text-align: center;
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.choice-grid input:checked + span {
  border-color: rgba(201, 118, 97, 0.52);
  background: rgba(201, 118, 97, 0.16);
  transform: translateY(-1px);
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.35rem;
}

.field-grid label,
.form-consent label {
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 760;
}

.field-full {
  grid-column: 1 / -1;
}

.field-grid input,
.field-grid select,
.field-grid textarea {
  width: 100%;
  margin-top: 0.4rem;
  padding: 0.98rem 1rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
  font: inherit;
  outline: none;
}

.field-grid input:focus,
.field-grid select:focus,
.field-grid textarea:focus {
  border-color: rgba(201, 118, 97, 0.62);
  box-shadow: 0 0 0 4px rgba(201, 118, 97, 0.12);
}

.field-grid textarea {
  resize: vertical;
}

.form-consent {
  margin-top: 1rem;
  padding: 0 0.25rem;
}

.form-consent label {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 0.65rem;
  align-items: start;
}

.form-consent input {
  margin-top: 0.25rem;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.1rem;
}

.inquiry-form .button-ghost {
  border-color: var(--line);
  background: rgba(255, 250, 244, 0.72);
  color: var(--ink);
}

.form-note,
.form-feedback {
  color: var(--text) !important;
  font-size: 0.88rem;
}

.form-feedback {
  min-height: 1.4rem;
  margin-top: 0;
  font-weight: 780;
}

.inquiry-form button:disabled {
  cursor: wait;
  opacity: 0.62;
  transform: none;
}

.site-footer {
  padding: 1.35rem clamp(18px, 4vw, 58px);
  border-top: 1px solid var(--line);
  background: rgba(255, 250, 244, 0.88);
  text-align: center;
}

.site-footer p {
  color: var(--muted);
  font-size: 0.9rem;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 760ms ease, transform 760ms ease;
}

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

@keyframes heroZoom {
  from {
    transform: scale(1.1);
  }
  to {
    transform: scale(1.02);
  }
}

@keyframes scrollLine {
  from {
    transform: translateY(-20px);
  }
  to {
    transform: translateY(56px);
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 960px) {
  .desktop-nav {
    display: none;
  }

  .hero-inner,
  .split-section,
  .split-section.reverse,
  .zone-individual.split-section,
  .zone-individual .section-copy,
  .team-section,
  .contact-section,
  .section-heading,
  .about-card {
    grid-template-columns: 1fr;
  }

  .contact-intro {
    position: static;
    max-width: none;
  }

  .inquiry-form {
    min-width: 0;
    width: 100%;
  }

  .zone-individual.split-section,
  .zone-individual .section-copy {
    grid-template-areas: none;
  }

  .zone-individual .section-copy .eyebrow,
  .zone-individual .section-copy h2,
  .zone-individual .section-copy > p,
  .zone-individual .quote-card,
  .zone-individual .text-link,
  .zone-individual .image-stack {
    grid-area: auto;
  }

  .split-section.reverse .section-copy {
    order: 0;
  }

  .intent-grid,
  .service-grid,
  .individual-copy-grid,
  .process-grid,
  .metric-row,
  .section-art {
    grid-template-columns: 1fr;
  }

  .service-gallery-faq-link {
    justify-content: flex-start;
    text-align: left;
  }

  .hero-panel {
    max-width: 440px;
  }

  .hero .eyebrow {
    white-space: normal;
    overflow-wrap: anywhere;
    text-wrap: balance;
  }

  .section-heading > p {
    grid-column: auto;
  }

  .leader-visual-card,
  .leader-visual-card > img {
    min-height: 520px;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding-inline: 16px;
  }

  .brand {
    font-size: 1.05rem;
  }

  .brand-mark {
    width: 36px;
    height: 36px;
  }

  .hero-inner {
    width: min(100% - 28px, 1180px);
    padding-bottom: 96px;
  }

  .hero .eyebrow {
    white-space: normal;
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .intent-strip,
  .section,
  .service-gallery,
  .process-section,
  .faq-section,
  .about-section {
    width: min(100% - 28px, 1180px);
  }

  .zone-section::before {
    inset: 24px -14px;
    border-radius: 30px;
  }

  .support-zone::before {
    inset: 22px -14px;
    border-radius: 30px;
  }

  .quote-break {
    text-align: left;
  }

  .quote-break p {
    font-size: clamp(1.5rem, 9vw, 2.2rem);
  }

  .mini-card {
    position: static;
    width: 100%;
    margin-top: 1rem;
  }

  .section-art img {
    height: 180px;
  }

  .leader-visual-card,
  .leader-visual-card > img {
    min-height: 560px;
  }

  .question-panel.compact {
    left: 0.75rem;
    right: 0.75rem;
    bottom: -1rem;
    width: auto;
  }

  .portrait-photo {
    width: 160px;
  }

  .contact-section {
    padding: 2rem 14px;
  }

  .contact-card {
    padding: 1.35rem;
    border-radius: 26px;
  }

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