: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.webp");
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  overflow-x: clip;
  color: var(--ink);
  background: var(--cream);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  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;
}

.admin-bar .site-header {
  top: 32px;
}

.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);
}

.site-header-standard {
  background: rgba(255, 250, 244, 0.96);
  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-dark);
  color: var(--white);
  font-family: Inter, sans-serif;
  font-size: 0.82rem;
  font-weight: 800;
}

.desktop-nav {
  display: flex;
  align-items: center;
  font-size: 0.9rem;
  font-weight: 750;
}

.desktop-nav-list,
.desktop-nav-list .sub-menu {
  display: flex;
  align-items: center;
  gap: clamp(0.7rem, 2vw, 1.5rem);
  margin: 0;
  padding: 0;
  list-style: none;
}

.desktop-nav-list {
  color: inherit;
}

.desktop-nav-list > li > a {
  display: block;
  color: inherit;
}

.desktop-nav-list .menu-item-has-children {
  position: relative;
}

.desktop-nav-list .sub-menu {
  position: absolute;
  top: calc(100% + 0.75rem);
  left: 50%;
  display: none;
  min-width: 15rem;
  padding: 0.8rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: var(--paper);
  box-shadow: 0 1rem 2.5rem rgba(52, 40, 33, 0.14);
  color: var(--ink);
  transform: translateX(-50%);
}

.desktop-nav-list .menu-item-has-children:hover > .sub-menu,
.desktop-nav-list .menu-item-has-children:focus-within > .sub-menu {
  display: grid;
}

.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);
}

.site-header-standard .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 {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: none;
  animation: none;
}

.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-areas:
    "eyebrow eyebrow"
    "copy panel";
  grid-template-columns: minmax(0, 1.15fr) minmax(360px, 520px);
  align-content: center;
  align-items: center;
  column-gap: clamp(2rem, 5vw, 4.6rem);
  row-gap: clamp(1.5rem, 2.5vw, 2.4rem);
  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);
}

.hero-copy {
  grid-area: copy;
  align-self: start;
}

.hero-panel {
  grid-area: panel;
  align-self: start;
}

.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: fit-content;
  max-width: 100%;
  position: relative;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  column-gap: 0.68rem;
  padding: 0.58rem 1rem;
  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 .hero-eyebrow {
  grid-area: eyebrow;
  align-self: end;
  margin-bottom: 0;
}

.hero .eyebrow::before {
  display: none;
}

.hero-eyebrow-part {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}

.hero-eyebrow-part::before {
  content: "";
  flex: 0 0 3px;
  width: 3px;
  height: 3px;
  margin: 0 0.68rem 0 0;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.78;
}

.hero-eyebrow-part:first-child::before {
  flex-basis: 4px;
  width: 4px;
  height: 4px;
  opacity: 1;
}

.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-dark);
  color: var(--white);
  box-shadow: 0 18px 38px rgba(149, 95, 78, 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;
  height: auto;
  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;
  grid-template-columns: minmax(0, 1fr);
  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.webp") 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.webp") 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;
  height: auto;
  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-info-actions .reveal-email[data-loaded="true"] {
  min-width: 0;
  max-width: 100%;
  height: auto;
  padding-inline: 1rem;
  overflow-wrap: anywhere;
  word-break: break-word;
  white-space: normal;
  text-align: center;
  font-size: clamp(0.82rem, 3.8vw, 0.95rem);
  line-height: 1.3;
}

.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;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.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(--text);
  font-size: 0.9rem;
}

.mobile-menu {
  display: none;
  position: relative;
}

.mobile-menu summary {
  cursor: pointer;
  font-weight: 760;
  list-style: none;
}

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

.mobile-menu nav {
  position: absolute;
  top: calc(100% + 0.9rem);
  right: 0;
  width: min(82vw, 340px);
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--paper);
  box-shadow: 0 18px 48px rgba(40, 25, 18, 0.16);
  z-index: 30;
}

.mobile-nav-list,
.mobile-nav-list .sub-menu {
  display: grid;
  gap: 0.35rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.mobile-nav-list .sub-menu {
  padding-left: 1rem;
}

.mobile-nav-list a {
  display: block;
  padding: 0.55rem 0.65rem;
  border-radius: 10px;
  color: var(--ink);
}

.content-main {
  min-height: calc(100vh - 150px);
  padding: clamp(7.5rem, 12vw, 10rem) 0 clamp(4rem, 8vw, 7rem);
  background: var(--paper);
}

.content-shell {
  width: min(100% - 36px, 860px);
  margin-inline: auto;
}

.content-header {
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
}

.content-header h1 {
  max-width: 18ch;
  margin: 0;
  font-size: clamp(2.25rem, 6vw, 4.6rem);
  line-height: 0.98;
}

.entry-meta {
  margin-bottom: 0.65rem;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 720;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.entry-content,
.entry-summary,
.archive-description {
  font-size: clamp(1rem, 2vw, 1.15rem);
  line-height: 1.75;
}

.entry-content > *,
.entry-summary > * {
  max-width: 72ch;
}

.entry-content img,
.entry-image img {
  max-width: 100%;
  height: auto;
  border-radius: 22px;
}

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

.post-card {
  padding: clamp(1.35rem, 4vw, 2.3rem);
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fff;
}

.post-card h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.45rem, 3vw, 2.1rem);
}

.post-card h2 a {
  color: var(--ink);
}

.content-not-found {
  text-align: center;
}

.content-not-found .content-header h1 {
  margin-inline: auto;
}

.footer-nav ul,
.legal-nav ul,
.social-nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.1rem;
  margin: 0.75rem 0 0;
  padding: 0;
  list-style: none;
}

.footer-nav a,
.legal-nav a,
.social-nav a {
  color: var(--muted);
  font-size: 0.9rem;
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 0.2em;
}

/* Legal links sit on a translucent footer over the page background; use the
   stronger text token so they remain AA-readable in every composited state. */
.legal-nav a {
  color: var(--text);
}

.footer-nav a:hover,
.footer-nav a:focus-visible,
.legal-nav a:hover,
.legal-nav a:focus-visible,
.social-nav a:hover,
.social-nav a:focus-visible {
  color: var(--ink);
  text-decoration-color: currentColor;
}

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

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

.site-header[data-reveal],
.hero [data-reveal] {
  opacity: 1;
  transform: none;
  transition: none;
}

@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;
  }

  .brand {
    min-width: 0;
    margin-right: auto;
  }

  .lang-switch {
    flex: 0 0 auto;
  }

  .mobile-menu {
    display: block;
    position: static;
    margin-left: 0;
    flex: 0 0 auto;
  }

  .mobile-menu summary {
    position: relative;
    display: grid;
    width: 44px;
    height: 44px;
    min-width: 44px;
    padding: 0;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.42);
    border-radius: 999px;
    background: rgba(52, 40, 33, 0.34);
    color: var(--white);
    backdrop-filter: blur(12px);
    font-size: 0;
    line-height: 1;
    -webkit-appearance: none;
    appearance: none;
  }

  .mobile-menu summary::before,
  .mobile-menu summary::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
    transform: translate(-50%, -50%);
    transition: box-shadow 160ms ease, opacity 160ms ease, transform 160ms ease;
  }

  .mobile-menu summary::before {
    box-shadow: 0 -6px 0 currentColor, 0 6px 0 currentColor;
  }

  .mobile-menu summary::after {
    opacity: 0;
  }

  .mobile-menu[open] summary::before {
    box-shadow: none;
    transform: translate(-50%, -50%) rotate(45deg);
  }

  .mobile-menu[open] summary::after {
    opacity: 1;
    transform: translate(-50%, -50%) rotate(-45deg);
  }

  .mobile-menu[open] summary {
    border-color: var(--line);
    background: var(--paper);
    color: var(--ink);
  }

  .mobile-menu nav {
    top: calc(100% + 0.5rem);
    right: clamp(16px, 4vw, 58px);
    left: clamp(16px, 4vw, 58px);
    width: auto;
    max-height: calc(100dvh - 7rem);
    overflow-y: auto;
    overscroll-behavior: contain;
  }

  .mobile-nav-list a {
    display: flex;
    min-height: 44px;
    align-items: center;
    padding: 0.7rem 0.8rem;
  }

  .is-scrolled .mobile-menu summary,
  .site-header-standard .mobile-menu summary {
    border-color: var(--line);
    background: var(--white);
    color: var(--ink);
  }

  .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: minmax(0, 1fr);
  }

  .hero-inner {
    grid-template-areas:
      "eyebrow"
      "copy"
      "panel";
  }

  .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 {
    width: 100%;
    max-width: 100%;
    flex-wrap: wrap;
    row-gap: 0.28rem;
    white-space: normal;
    overflow-wrap: normal;
    text-wrap: initial;
  }

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

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

@media (max-width: 782px) {
  .admin-bar .site-header {
    top: 46px;
    z-index: 100000;
  }
}

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

  .brand {
    min-width: 0;
    font-size: 1.05rem;
  }

  .brand > span:last-child {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

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

  .lang-switch a {
    min-width: 40px;
    padding-inline: 0.55rem;
  }

  .hero-inner {
    width: min(calc(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(calc(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;
  }
}

@media (max-width: 640px) {
  .pe-production-ux .site-header {
    gap: 0.5rem;
  }

  .pe-production-ux .brand {
    min-width: 0;
    flex: 1 1 auto;
  }

  .pe-production-ux .brand > span:last-child {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .pe-production-ux .lang-switch a {
    min-width: 38px;
    padding-inline: 0.45rem;
  }
}

@media (max-width: 360px) {
  .hero-person {
    grid-template-columns: 72px minmax(0, 1fr);
  }

  .hero-person > div {
    min-width: 0;
  }

  .hero-person span,
  .hero-person strong {
    overflow-wrap: anywhere;
  }
}

/* Flexible WordPress block landing pages. */
.page-template-flexible-landing .content-main,
.page-template-page-templatesflexible-landing-php .content-main {
  padding: 0;
}

.pe-flexible-content > * {
  max-width: none;
}

.pe-flexible-content .alignfull {
  width: 100%;
  margin-inline: 0;
}

.pe-block-section {
  padding: clamp(4.5rem, 9vw, 8rem) max(24px, calc((100vw - 1180px) / 2));
}

.pe-migrated-hero {
  display: grid;
  min-height: min(760px, 88svh);
  align-content: center;
  padding: clamp(8rem, 17vw, 13rem) clamp(1.25rem, 6vw, 5rem) clamp(5rem, 10vw, 8rem);
  background:
    linear-gradient(105deg, rgba(32, 27, 23, 0.88), rgba(52, 40, 33, 0.46)),
    var(--pe-hero-bg-url) center / cover !important;
}

.pe-migrated-hero h1 {
  max-width: 900px;
}

.pe-migrated-hero p {
  max-width: 760px;
}

.pe-migrated-section {
  padding-top: clamp(4rem, 9vw, 7rem);
  padding-bottom: clamp(4rem, 9vw, 7rem);
}

.pe-block-contact-form {
  width: 100%;
  margin: 0;
}

.pe-block-hero {
  min-height: min(900px, 100svh);
  padding-top: clamp(9rem, 16vw, 12rem);
  color: var(--white);
}

.pe-block-hero .wp-block-cover__inner-container {
  width: 100%;
}

.pe-block-hero h1 {
  max-width: 13ch;
  color: var(--white);
  font-size: clamp(3rem, 8vw, 6.1rem);
  line-height: 0.95;
}

.pe-block-hero p:not(.pe-block-eyebrow) {
  max-width: 46ch;
  color: rgba(255, 255, 255, 0.86);
}

.pe-block-eyebrow {
  color: var(--clay);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.pe-block-hero .pe-block-eyebrow,
.pe-block-contact .pe-block-eyebrow,
.pe-block-quote .pe-block-eyebrow {
  color: #f1b8a7;
}

.pe-flexible-content .wp-block-button__link {
  min-height: 52px;
  padding: 0.9rem 1.3rem;
  border-radius: 999px;
  font-weight: 800;
}

.pe-block-cards {
  background: var(--sand);
}

.pe-block-card-grid > .wp-block-column {
  padding: clamp(1.5rem, 3vw, 2.4rem);
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 250, 244, 0.9);
  box-shadow: 0 18px 48px rgba(52, 40, 33, 0.08);
}

.pe-block-card-grid h3 {
  margin-top: 0.4rem;
  font-size: clamp(1.65rem, 3vw, 2.2rem);
}

.pe-block-quote {
  min-height: 460px;
  display: grid;
  place-items: center;
}

.pe-block-quote h2,
.pe-block-contact h2 {
  color: var(--white);
}

.pe-block-quote p:not(.pe-block-eyebrow),
.pe-block-contact p:not(.pe-block-eyebrow) {
  color: rgba(255, 255, 255, 0.84);
}

/* Premium typography refinement: preserve the established layout while
   improving long-form readability, form consistency and keyboard clarity. */
.hero-media {
  overflow: hidden;
}

.desktop-nav {
  font-size: 0.94rem;
}

.desktop-nav a {
  position: relative;
}

.desktop-nav a::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.45rem;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  opacity: 0;
  transform: scaleX(0.35);
  transition: opacity 180ms ease, transform 180ms ease;
}

.desktop-nav a.is-section-active::before {
  opacity: 0.72;
  transform: scaleX(1);
}

.hero .eyebrow {
  font-size: clamp(0.66rem, 0.74vw, 0.74rem);
}

.hero-panel p {
  font-size: clamp(1rem, 1.02vw, var(--pe-hero-panel-font-size));
}

.intent-link,
.text-link,
.footer-nav a,
.legal-nav a,
.social-nav a,
.site-footer p {
  font-size: 0.95rem;
}

.question-panel.compact .question-long {
  font-size: clamp(0.95rem, 1.08vw, 1rem);
}

.quote-break > p {
  max-width: min(62rem, calc(100% - 2rem));
  font-size: clamp(1.45rem, 2.55vw, 2.2rem);
  line-height: 1.32;
}

.quote-break.quote-long > p {
  max-width: 70rem;
  font-size: clamp(1.05rem, 1.55vw, 1.35rem);
  line-height: 1.62;
}

.quote-break.quote-about > p {
  max-width: 64rem;
  font-size: clamp(1.1rem, 1.65vw, 1.45rem);
  line-height: 1.56;
}

.button,
button,
input,
select,
textarea {
  font-family: inherit;
}

.button,
.inquiry-form button {
  font-size: 1rem;
  line-height: 1.35;
}

.field-grid label,
.form-consent label {
  font-size: 0.95rem;
}

.field-grid input,
.field-grid select,
.field-grid textarea {
  font-size: 1rem;
  font-weight: 520;
  line-height: 1.5;
}

.form-feedback.is-success {
  color: #355c3a !important;
}

.form-feedback.is-error {
  color: #8b2f2f !important;
}

.inquiry-form[aria-busy="true"] {
  cursor: progress;
}

summary {
  transition: background-color 180ms ease, color 180ms ease;
}

details[open] > summary,
summary:hover {
  background: rgba(201, 118, 97, 0.08);
}

a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--clay);
  outline-offset: 4px;
}

.faq-list details {
  scroll-margin-top: 7rem;
}

@media (max-width: 640px) {
  .quote-break > p {
    max-width: 100%;
    font-size: clamp(1.35rem, 6.4vw, 1.8rem);
    line-height: 1.4;
  }

  .quote-break.quote-long > p,
  .quote-break.quote-about > p {
    max-width: 100%;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 1.08rem;
    line-height: 1.66;
  }
}

.pe-block-image-text .wp-block-media-text {
  gap: clamp(2rem, 6vw, 5rem);
}

.pe-block-image-text .wp-block-media-text__media img {
  min-height: 520px;
  border-radius: 32px;
  object-fit: cover;
}

.pe-block-image-text .wp-block-media-text__content {
  padding: 0;
}

.pe-block-faq details {
  margin-top: 0.8rem;
  padding: 1rem 1.15rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--white);
}

.pe-block-faq summary {
  cursor: pointer;
  font-weight: 780;
}

.pe-block-contact {
  min-height: 520px;
  display: grid;
  place-items: center;
}

@media (max-width: 700px) {
  .pe-block-section {
    padding: 4rem 18px;
  }

  .pe-block-hero {
    padding-top: 8rem;
  }

  .pe-block-image-text .wp-block-media-text__media img {
    min-height: 280px;
  }
}

/* Legal documents use a quieter editorial scale than marketing pages. */
.pe-legal-page .content-header {
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.pe-legal-page .content-header h1 {
  max-width: 18ch;
  color: var(--ink);
  font-size: clamp(2.1rem, 4.2vw, 3rem);
  line-height: 1.06;
}

.pe-legal-page .entry-content h2 {
  margin-top: clamp(2rem, 4vw, 3rem);
  margin-bottom: 0.65rem;
  font-size: clamp(1.55rem, 2.7vw, 2.2rem);
  line-height: 1.16;
}

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

@media (max-width: 640px) {
  .pe-legal-page .content-main {
    padding-top: 7.5rem;
  }

  .pe-legal-page .content-header h1 {
    font-size: clamp(2rem, 10vw, 2.45rem);
  }

  .pe-legal-page .entry-content h2 {
    font-size: clamp(1.45rem, 7.2vw, 1.8rem);
  }
}

/* Compact consent panel: preserve clear choices without covering the page. */
.cmplz-cookiebanner.cmplz-cookiebanner {
  width: min(460px, calc(100vw - 24px)) !important;
  min-width: 0 !important;
  max-width: 460px !important;
  padding: 12px 16px !important;
  gap: 7px !important;
  border-radius: 12px !important;
  max-height: calc(100svh - 24px) !important;
  overflow-y: auto !important;
}

.cmplz-cookiebanner .cmplz-title {
  font-size: 0.9rem !important;
  line-height: 1.3 !important;
}

.cmplz-cookiebanner .cmplz-message,
.cmplz-cookiebanner .cmplz-category-title,
.cmplz-cookiebanner .cmplz-always-active,
.cmplz-cookiebanner .cmplz-description {
  font-size: 0.78rem !important;
  line-height: 1.45 !important;
}

.cmplz-cookiebanner .cmplz-message {
  margin-bottom: 2px !important;
}

.cmplz-cookiebanner .cmplz-buttons {
  gap: 6px !important;
}

.cmplz-cookiebanner .cmplz-btn {
  min-height: 44px !important;
  padding: 7px 10px !important;
  font-size: 0.82rem !important;
  line-height: 1.25 !important;
}

/* White copy on the standard clay tone is below 4.5:1. The existing dark clay
   token preserves the visual hierarchy while passing normal-text contrast. */
.cmplz-cookiebanner .cmplz-accept {
  background-color: var(--clay-dark) !important;
  border-color: var(--clay-dark) !important;
}

/* Keep the permanent consent control available without covering footer links. */
.cmplz-btn.cmplz-manage-consent {
  right: 12px !important;
  bottom: max(12px, env(safe-area-inset-bottom)) !important;
  min-width: 0 !important;
  min-height: 38px !important;
  padding: 7px 12px !important;
  border-radius: 999px !important;
  font-size: 0.72rem !important;
  line-height: 1 !important;
  box-shadow: 0 5px 16px rgba(52, 40, 33, 0.14) !important;
}

@media (max-width: 520px) {
  .cmplz-cookiebanner.cmplz-cookiebanner {
    right: 8px !important;
    bottom: 8px !important;
    left: 8px !important;
    width: auto !important;
    max-width: none !important;
    padding: 10px 12px !important;
    gap: 6px !important;
    border-radius: 11px !important;
    max-height: calc(100svh - 16px) !important;
  }

  .cmplz-cookiebanner .cmplz-buttons {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
  }

  .cmplz-cookiebanner .cmplz-view-preferences,
  .cmplz-cookiebanner .cmplz-save-preferences {
    grid-column: 1 / -1 !important;
  }

  .cmplz-cookiebanner .cmplz-btn {
    width: 100% !important;
    min-width: 0 !important;
  }

  .cmplz-cookiebanner .cmplz-category-header {
    min-height: 40px !important;
    padding: 5px 8px !important;
  }

  .cmplz-btn.cmplz-manage-consent {
    right: 8px !important;
    bottom: max(8px, env(safe-area-inset-bottom)) !important;
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
    min-height: 38px !important;
    padding: 0 !important;
    overflow: hidden !important;
    color: transparent !important;
    font-size: 0 !important;
    white-space: nowrap !important;
  }

  .cmplz-btn.cmplz-manage-consent::before {
    content: "\2699";
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    color: var(--ink) !important;
    font: 600 1rem/1 system-ui, sans-serif;
  }
}
