@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('fonts/dm-sans-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF
}

@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('fonts/dm-sans-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD
}

@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url('fonts/playfair-display-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF
}

@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url('fonts/playfair-display-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD
}

:root {
  --ink: #202f2e;
  --muted: #697671;
  --paper: #f5f3ed;
  --white: #fffefa;
  --line: #d9dfd8;
  --accent: #a85a3b;
  --accent-dark: #82432c;
  --sage: #dae3d9;
  --deep: #173b38;
  --max: 1220px
}

* {
  box-sizing: border-box
}

html {
  scroll-behavior: smooth
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  line-height: 1.65
}

button,
input,
textarea,
select {
  font: inherit
}

button,
a {
  -webkit-tap-highlight-color: transparent
}

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

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

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

button {
  cursor: pointer
}

.container {
  width: min(var(--max), calc(100% - 72px));
  margin: auto
}

.eyebrow {
  font-weight: 700;
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--accent)
}

h1,
h2,
h3,
h4,
p {
  margin-top: 0
}

h1,
h2,
h3 {
  font-family: Manrope, sans-serif;
  line-height: 1.15;
  letter-spacing: -.045em
}

h1 {
  font-size: clamp(46px, 5.5vw, 80px);
  font-weight: 600
}

h2 {
  font-size: clamp(34px, 3.55vw, 52px);
  font-weight: 600
}

h3 {
  font-size: clamp(22px, 2.2vw, 30px);
  font-weight: 650
}

p {
  margin-bottom: 20px
}

.lead {
  font-size: clamp(18px, 1.45vw, 21px);
  line-height: 1.7;
  color: #45534f
}

.text-muted {
  color: var(--muted)
}

.section {
  padding: 110px 0
}

.section-tight {
  padding: 80px 0
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 15px 23px;
  border-radius: 3px;
  background: var(--accent);
  border: 1px solid var(--accent);
  color: white !important;
  font-weight: 700;
  font-size: 14px;
  transition: background .2s, transform .2s
}

.btn:hover {
  background: var(--accent-dark);
  transform: translateY(-2px)
}

.btn.outline {
  color: var(--ink) !important;
  background: transparent;
  border-color: #9ca9a2
}

.btn.outline:hover {
  background: #edf0ea
}

.btn.light {
  background: #f8f6ef;
  border-color: #f8f6ef;
  color: var(--deep) !important
}

.btn.text-link {
  background: none;
  border: 0;
  padding: 0;
  color: var(--accent) !important
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(249, 248, 243, .97);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px)
}

.header-inner {
  height: 89px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px
}

.brand {
  display: flex;
  gap: 13px;
  align-items: center;
  min-width: 225px
}

.brand-mark {
  width: 41px;
  height: 41px;
  border: 1.6px solid #78948b;
  display: grid;
  place-items: center;
  transform: rotate(45deg);
  border-radius: 8px
}

.brand-mark span {
  font-size: 26px;
  color: var(--deep);
  font-family: Georgia, serif;
  transform: rotate(-45deg);
  line-height: 1
}

.brand-name {
  font-family: Manrope, sans-serif;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .045em;
  line-height: 1.35;
  text-transform: uppercase
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.2vw, 33px)
}

.nav a {
  font-size: 13px;
  font-weight: 700;
  color: #3e5049;
  white-space: nowrap
}

.nav a:hover,
.nav a.active {
  color: var(--accent)
}

.nav-cta {
  font-size: 12px;
  padding: 12px 17px
}

.menu-btn {
  display: none;
  border: 0;
  background: transparent;
  font-size: 26px;
  color: var(--ink)
}

.page {
  display: none
}

.page.active {
  display: block
}

.hero {
  background: #edece5;
  overflow: hidden
}

.hero-grid {
  min-height: 680px;
  display: grid;
  grid-template-columns: 49% 51%;
  align-items: center
}

.hero-copy {
  padding: 80px 54px 80px 0;
  position: relative;
  z-index: 2
}

.hero-copy .eyebrow {
  margin-bottom: 24px
}

.hero h1 {
  margin-bottom: 25px
}

.hero-copy .lead {
  max-width: 535px
}

.hero-visual {
  align-self: stretch;
  position: relative;
  min-height: 630px
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center
}

.hero-visual:after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(237, 236, 229, .13), transparent 40%)
}

.vertical-note {
  position: absolute;
  right: 22px;
  bottom: 28px;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .18em;
  color: #fff;
  text-shadow: 0 1px 3px #222
}

.intro-strip {
  border-bottom: 1px solid var(--line)
}

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

.big-quote {
  font-family: Manrope, sans-serif;
  font-size: clamp(27px, 3vw, 42px);
  line-height: 1.35;
  letter-spacing: -.045em;
  font-weight: 600
}

.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  align-items: end;
  margin-bottom: 43px
}

.section-heading>div {
  max-width: 650px
}

.section-heading p {
  max-width: 405px;
  margin-bottom: 5px
}

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

.feature-card {
  background: var(--white);
  border: 1px solid #e1e2db;
  overflow: hidden
}

.feature-img {
  height: 265px;
  width: 100%;
  object-fit: cover
}

.feature-content {
  padding: 29px
}

.feature-content h3 {
  font-size: 25px;
  margin-bottom: 13px
}

.feature-content p {
  color: var(--muted);
  font-size: 15px;
  min-height: 74px
}

.arrow-link {
  display: inline-flex;
  gap: 16px;
  align-items: center;
  color: var(--accent);
  font-size: 14px;
  font-weight: 800
}

.arrow-link .arr {
  font-size: 23px;
  line-height: 1;
  transition: transform .2s
}

.arrow-link:hover .arr {
  transform: translateX(5px)
}

.dark-band {
  background: var(--deep);
  color: #f8f7ef
}

.dark-band .eyebrow {
  color: #d5ae8f
}

.dark-band p {
  color: #c2d1ca
}

.audience {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 130px;
  align-items: center
}

.audience ul {
  list-style: none;
  margin: 0;
  padding: 0
}

.audience li {
  border-bottom: 1px solid #66817a;
  padding: 19px 0;
  font-size: 18px;
  line-height: 1.5;
  display: flex;
  gap: 20px
}

.audience li:before {
  content: '↗';
  color: #ceaa8f
}

.image-bleed {
  height: 460px;
  object-fit: cover;
  width: 100%
}

.visit {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #e1e6dc
}

.visit .visual {
  min-height: 400px
}

.visit .visual img {
  width: 100%;
  height: 100%;
  object-fit: cover
}

.visit .copy {
  padding: 65px clamp(36px, 6vw, 115px)
}

.visit h2 {
  margin-bottom: 23px
}

.visit .address {
  font-size: 20px;
  font-weight: 600
}

.footer {
  background: #122a29;
  color: #d1dad4;
  padding: 70px 0 23px
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.3fr;
  gap: 80px;
  padding-bottom: 62px
}

.footer h4 {
  color: white;
  letter-spacing: -.02em;
  margin-bottom: 15px
}

.footer a {
  display: block;
  margin: 8px 0;
  color: #c4d0c9;
  font-size: 14px
}

.footer p {
  font-size: 14px
}

.footer-bottom {
  border-top: 1px solid #45605b;
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: #a6bab2;
  gap: 15px
}

.page-hero {
  padding: 105px 0 80px;
  background: #e8ebe3
}

.page-hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 90px;
  align-items: center
}

.page-hero h1 {
  font-size: clamp(44px, 5vw, 68px)
}

.page-hero img {
  height: 390px;
  width: 100%;
  object-fit: cover
}

.page-hero .lead {
  max-width: 550px
}

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

.split img {
  width: 100%;
  height: 510px;
  object-fit: cover
}

.split .copy {
  max-width: 540px
}

.story {
  background: #fffefa
}

.story .split {
  align-items: start
}

.story h2 {
  margin-bottom: 28px
}

.story p {
  font-size: 16px
}

.topic-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px
}

.topic {
  display: grid;
  grid-template-columns: 42% 58%;
  background: #fffefa;
  border: 1px solid var(--line);
  min-height: 230px
}

.topic img {
  width: 100%;
  height: 100%;
  object-fit: cover
}

.topic .copy {
  padding: 28px
}

.topic h3 {
  font-size: 23px
}

.topic p {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 12px
}

.topic small {
  font-size: 12px;
  color: var(--accent);
  font-weight: 700
}

.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 32px 0 36px
}

.pill {
  border: 1px solid #adb9b0;
  color: var(--ink);
  padding: 10px 17px;
  background: transparent;
  border-radius: 40px;
  font-weight: 700;
  font-size: 13px
}

.pill[aria-pressed=true],
.pill:hover {
  background: var(--deep);
  border-color: var(--deep);
  color: #fff
}

.program-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 27px
}

.program-card {
  background: #fffefa;
  display: grid;
  grid-template-columns: 40% 60%;
  border: 1px solid var(--line);
  min-height: 322px;
  overflow: hidden
}

.program-card>img {
  width: 100%;
  height: 100%;
  object-fit: cover
}

.program-card .content {
  padding: 27px;
  display: flex;
  flex-direction: column;
  align-items: flex-start
}

.program-card .tag {
  font-weight: 700;
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent)
}

.program-card h3 {
  font-size: 24px;
  margin: 13px 0
}

.program-card p {
  color: #5e6c66;
  font-size: 14px;
  line-height: 1.6
}

.program-card .arrow-link {
  margin-top: auto
}

.tag-price {
  color: var(--deep);
  font-weight: 800;
  margin: 0 0 18px
}

.notice {
  background: #e6ebe3;
  border-left: 3px solid #8fa99a;
  padding: 18px 21px;
  font-size: 14px;
  color: #45594f
}

.program-detail {
  max-width: 990px;
  margin: 0 auto
}

.detail-hero img {
  width: 100%;
  max-height: 445px;
  object-fit: cover;
  margin: 33px 0
}

.detail-hero h1 {
  font-size: clamp(40px, 5vw, 64px)
}

.detail-layout {
  display: grid;
  grid-template-columns: 1.5fr .7fr;
  gap: 70px;
  margin-top: 34px
}

.detail-layout ul {
  padding-left: 22px
}

.detail-layout li {
  padding: 6px 0
}

.detail-side {
  align-self: start;
  padding: 29px;
  background: #e9ece5;
  border: 1px solid #d5ddd4
}

.detail-side strong {
  display: block;
  margin-bottom: 8px
}

.detail-side .btn {
  margin-top: 16px;
  width: 100%;
  text-align: center
}

.contact-grid {
  display: grid;
  grid-template-columns: .75fr 1.25fr;
  gap: 80px
}

.contact-card {
  padding: 35px;
  background: #e8ebe3
}

.contact-card a {
  color: var(--accent);
  word-break: break-word
}

.contact-card h3 {
  font-size: 25px
}

.contact-card .divider {
  height: 1px;
  background: #cbd5ca;
  margin: 23px 0
}

.form-box {
  padding: 40px;
  background: #fffefa;
  border: 1px solid var(--line)
}

label {
  display: block;
  font-weight: 700;
  font-size: 13px;
  margin-bottom: 6px
}

.field {
  margin-bottom: 17px
}

.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid #c5d0c7;
  border-radius: 2px;
  background: #fff;
  font-size: 15px;
  color: var(--ink)
}

.field textarea {
  min-height: 105px;
  resize: vertical
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 17px
}

.check {
  display: flex;
  align-items: start;
  gap: 10px;
  font-size: 13px;
  margin: 18px 0
}

.check input {
  margin-top: 6px
}

.form-feedback {
  font-size: 13px;
  margin-top: 16px;
  color: var(--accent-dark)
}

.map-frame {
  width: 100%;
  height: 350px;
  border: 0;
  margin-top: 32px;
  filter: grayscale(.4)
}

.service-card {
  display: grid;
  grid-template-columns: 43% 57%;
  background: #fffefa;
  border: 1px solid var(--line);
  margin-bottom: 30px
}

.service-card img {
  width: 100%;
  height: 100%;
  min-height: 490px;
  object-fit: cover
}

.service-card .copy {
  padding: 47px
}

.price {
  font-weight: 800;
  color: var(--deep);
  font-size: 19px
}

.fineprint {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.7
}

.divider-line {
  height: 1px;
  background: var(--line);
  margin: 34px 0
}

.empty {
  grid-column: 1/-1;
  color: var(--muted)
}

[hidden] {
  display: none !important
}

:focus-visible {
  outline: 3px solid #e69b68;
  outline-offset: 3px
}

@media(max-width:1100px) {
  .nav {
    gap: 12px
  }

  .nav a {
    font-size: 12px
  }

  .nav-cta {
    display: none
  }

  .hero-grid {
    min-height: 610px
  }

  .hero-copy {
    padding-right: 26px
  }

  .audience {
    gap: 65px
  }

  .program-card {
    grid-template-columns: 42% 58%
  }

  .program-card .content {
    padding: 21px
  }
}

@media(max-width:800px) {
  .container {
    width: min(100% - 36px, var(--max))
  }

  .header-inner {
    height: 72px
  }

  .brand {
    min-width: 0
  }

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

  .brand-name {
    font-size: 12px
  }

  .menu-btn {
    display: block
  }

  .nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 72px;
    background: #faf9f5;
    flex-direction: column;
    align-items: stretch;
    padding: 17px 25px 24px;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 25px #1b352617
  }

  .nav.open {
    display: flex
  }

  .nav a {
    font-size: 16px;
    padding: 7px 0
  }

  .hero-grid {
    grid-template-columns: 1fr
  }

  .hero-copy {
    padding: 72px 0 50px
  }

  .hero-visual {
    min-height: 380px;
    height: 45vh;
    max-height: 530px;
    margin: 0 -18px
  }

  .section {
    padding: 72px 0
  }

  .section-tight {
    padding: 60px 0
  }

  .intro-grid,
  .audience,
  .split,
  .page-hero .container,
  .visit,
  .contact-grid,
  .detail-layout {
    grid-template-columns: 1fr;
    gap: 38px
  }

  .page-hero {
    padding: 72px 0
  }

  .page-hero img {
    height: 310px
  }

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

  .three-grid .feature-card:last-child {
    grid-column: 1/-1
  }

  .feature-img {
    height: 230px
  }

  .section-heading {
    display: block
  }

  .section-heading p {
    margin-top: 15px
  }

  .topic-list,
  .program-grid {
    grid-template-columns: 1fr
  }

  .visit .visual {
    min-height: 310px
  }

  .visit .copy {
    padding: 45px 25px
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 35px
  }

  .footer-grid>div:first-child {
    grid-column: 1/-1
  }

  .split img {
    height: 350px
  }

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

  .service-card img {
    height: 340px;
    min-height: 0
  }

  .service-card .copy {
    padding: 28px
  }
}

@media(max-width:530px) {
  h1 {
    font-size: 43px
  }

  .lead {
    font-size: 17px
  }

  .three-grid,
  .topic-list {
    grid-template-columns: 1fr
  }

  .three-grid .feature-card:last-child {
    grid-column: auto
  }

  .feature-content p {
    min-height: 0
  }

  .topic {
    grid-template-columns: 40% 60%
  }

  .topic .copy {
    padding: 20px
  }

  .program-card {
    grid-template-columns: 1fr
  }

  .program-card>img {
    height: 240px
  }

  .field-row,
  .footer-grid {
    grid-template-columns: 1fr
  }

  .footer-grid>div:first-child {
    grid-column: auto
  }

  .footer-bottom {
    flex-direction: column
  }

  .section-heading {
    margin-bottom: 28px
  }

  .page-hero h1 {
    font-size: 42px
  }

  .audience li {
    font-size: 16px
  }

  .service-card .copy {
    padding: 22px
  }
}

.hero h1 {
  font-size: clamp(34px, 4.1vw, 47px)
}

.hero-copy .lead {
  font-size: clamp(16px, 1.32vw, 19px)
}

.page-hero h1 {
  overflow-wrap: break-word
}

/* Finomhangolás: a szövegek és a képfájlnevek változatlanok. */
.pathways-section .intro-grid {
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 38px;
  align-items: start;
  padding: 0 0 38px;
  margin: 0 0 52px;
  border-bottom: 1px solid var(--line)
}

.pathways-section .intro-grid p {
  max-width: 800px;
  margin: 0;
  font-size: 17px;
  line-height: 1.7
}

.pathways-section .section-heading>div {
  max-width: none
}

.pathways-title {
  white-space: nowrap;
  font-size: clamp(29px, 3.3vw, 48px);
  letter-spacing: -.052em
}

/* Álló nyitókép a Rólunk oldalon, teljes kép látható. */
.about-hero .container {
  grid-template-columns: 1.15fr .85fr;
  gap: 65px
}

.about-hero img {
  width: 100%;
  height: auto;
  max-height: 630px;
  object-fit: contain;
  object-position: center
}

/* Fekvő arányú programkép, torzítás és levágás nélkül. */
.programs-hero .container {
  grid-template-columns: 1fr 1.15fr;
  gap: 55px
}

.programs-hero img {
  width: 100%;
  height: auto;
  aspect-ratio: 16/10;
  object-fit: contain
}

/* Az auditálás fekvő képe teljes szélességű, nem álló kivágás. */
.audit-card {
  display: block
}

.audit-card img {
  width: 100%;
  height: auto;
  max-height: 450px;
  min-height: 0;
  object-fit: contain;
  object-position: center
}

.audit-card .copy {
  padding: 38px 47px 47px
}

@media(max-width:800px) {
  .pathways-section .intro-grid {
    grid-template-columns: 1fr;
    gap: 9px;
    padding-bottom: 27px;
    margin-bottom: 34px
  }

  .pathways-title {
    white-space: normal;
    font-size: clamp(30px, 5.8vw, 43px)
  }

  .about-hero .container,
  .programs-hero .container {
    grid-template-columns: 1fr;
    gap: 30px
  }

  .about-hero img {
    max-height: 550px;
    height: auto
  }

  .programs-hero img {
    height: auto;
    aspect-ratio: 16/10
  }

  .audit-card .copy {
    padding: 28px
  }
}

@media(max-width:530px) {
  .audit-card .copy {
    padding: 22px
  }
}

/* Programjaink: a négy programkártya képe fekvő helyet kap,
   a teljes kép látszik, álló kivágás és levágott szélek nélkül. */
#programGrid .program-card {
  display: flex;
  flex-direction: column;
  min-height: 0
}

#programGrid .program-card>img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16/10;
  object-fit: contain;
  object-position: center;
  background: #eceee9;
  flex: none
}

#programGrid .program-card .content {
  flex: 1;
  padding: 27px
}

/* A programok saját részletes oldalán se vágjuk meg az eredeti képet. */
#detailContent .detail-hero img {
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
  object-position: center
}

@media(max-width:1100px) {
  #programGrid .program-card .content {
    padding: 23px
  }
}

@media(max-width:530px) {
  #programGrid .program-card>img {
    aspect-ratio: auto;
    max-height: none
  }
}

/* Dianetikai auditálás: kép és szöveg egy sorban, a kép eredeti arányában. */
@media (min-width:801px) {
  .audit-card {
    display: grid;
    grid-template-columns: minmax(0, 43%) minmax(0, 57%);
    align-items: start
  }

  .audit-card>img {
    display: block;
    width: 100%;
    height: auto;
    max-height: none;
    min-height: 0;
    aspect-ratio: auto;
    object-fit: contain;
    align-self: start
  }

  .audit-card .copy {
    padding: 38px 47px 47px
  }
}

@media (max-width:800px) {
  .audit-card {
    display: grid;
    grid-template-columns: 1fr
  }

  .audit-card>img {
    width: 100%;
    height: auto;
    max-height: none;
    min-height: 0;
    aspect-ratio: auto;
    object-fit: contain
  }
}

/* Harmadik arculati irány: a korábbi petrolzöld / homok / krém prototípus világa.
   A jóváhagyott HTML-szövegek, képfájlnevek és navigáció érintetlenek. */
:root {
  --ink: #203b3c;
  --muted: #607675;
  --paper: #fbfdfc;
  --white: #ffffff;
  --line: #d8e8e5;
  --accent: #237f82;
  --accent-dark: #175c60;
  --brand: #2d9d9d;
  --sage: #e4f3f1;
  --deep: #123f43;
  --max: 1220px
}

body {
  background: var(--paper);
  color: #263f40;
  font-family: 'DM Sans', sans-serif;
  line-height: 1.72
}

h1,
h2,
h3,
h4 {
  font-family: 'Playfair Display', Georgia, serif;
  letter-spacing: -.025em;
  line-height: 1.18;
  font-weight: 600;
  color: var(--deep)
}

h1 {
  font-size: clamp(44px, 5.4vw, 78px)
}

h2 {
  font-size: clamp(35px, 4vw, 54px)
}

h3 {
  font-size: clamp(23px, 2.2vw, 30px)
}

.eyebrow {
  display: inline-block;
  letter-spacing: .105em;
  font-size: 11px;
  color: #217679;
  background: none;
  border: 0;
  border-radius: 0;
  padding: 0;
  line-height: 1.3
}

.lead {
  color: #536866
}

.text-muted {
  color: #687875
}

.section {
  padding: 94px 0
}

.section-tight {
  padding: 70px 0
}

.btn {
  border-radius: 28px;
  background: var(--deep);
  border-color: var(--deep);
  box-shadow: 0 8px 19px #16434a1a;
  padding: 14px 23px;
  transition: background .2s, transform .2s, box-shadow .2s
}

.btn:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  box-shadow: 0 12px 24px #16434a22
}

.btn.outline {
  background: #ffffffc7;
  border-color: #75aaa8;
  color: var(--deep) !important;
  box-shadow: none
}

.btn.outline:hover {
  background: #e4f3f1
}

.btn.text-link {
  color: var(--accent) !important;
  box-shadow: none
}

.site-header {
  background: rgba(255, 253, 249, .96);
  border-color: #e9e5dc;
  box-shadow: 0 4px 21px #16424a08
}

.header-inner {
  height: 86px
}

.brand-mark {
  border: 0;
  width: 48px;
  height: 43px;
  transform: none;
  border-radius: 0;
  position: relative;
  display: block
}

.brand-logo {
  display: block;
  width: 220px;
  height: auto;
  max-height: 68px;
  object-fit: contain;
  object-position: left center
}

.brand-mark:before,
.brand-mark:after,
.brand-mark span {
  content: '';
  position: absolute;
  display: block;
  background: #c5a16a;
  height: 3px;
  left: 4px;
  transform: skewX(-26deg);
  border-radius: 4px;
  font-size: 0
}

.brand-mark:before {
  top: 10px;
  width: 31px
}

.brand-mark span {
  top: 20px;
  width: 43px
}

.brand-mark:after {
  top: 30px;
  width: 36px
}

.brand-name {
  font-family: 'Playfair Display', Georgia, serif;
  text-transform: none;
  letter-spacing: -.028em;
  font-size: 19px;
  font-weight: 700;
  color: var(--deep);
  line-height: 1.12
}

.nav a {
  font-weight: 600;
  color: #314e4d
}

.nav a:hover,
.nav a.active {
  color: var(--brand)
}

.nav-cta {
  font-size: 12px
}

/* A minta tájképes, lágy fényű hero-hangulata, saját projektképpel. */
.hero {
  background: #edf7f5;
  position: relative
}

.hero-grid {
  min-height: 640px;
  grid-template-columns: 52% 48%;
  overflow: visible
}

.hero-copy {
  padding: 82px 52px 90px 0
}

.hero-copy .eyebrow {
  margin-bottom: 20px
}

.hero h1 {
  font-size: clamp(43px, 5vw, 69px);
  line-height: 1.08;
  max-width: 680px;
  margin-bottom: 26px
}

.hero-copy .lead {
  font-size: clamp(16px, 1.32vw, 19px);
  line-height: 1.8;
  color: #4d6362
}

.hero-visual {
  min-height: 630px;
  position: relative;
  margin-right: calc(min(0px, (1220px - 100vw)/2));
  overflow: hidden
}

.hero-visual img {
  object-fit: cover;
  object-position: center
}

.hero-visual:after {
  display: none
}

.vertical-note {
  color: white;
  letter-spacing: .16em
}

/* Három indulási út, az előző verzió tömör bevezetőjével. */
.pathways-section {
  background: var(--paper)
}

.pathways-section .intro-grid {
  border-color: var(--line);
  grid-template-columns: 210px minmax(0, 1fr)
}

.pathways-section .intro-grid .eyebrow {
  margin-top: 2px
}

.pathways-section .intro-grid p {
  color: #4a5d5b
}

.pathways-title {
  font-size: clamp(30px, 3.45vw, 47px);
  letter-spacing: -.027em
}

.section-heading {
  margin-bottom: 36px
}

.feature-card,
.program-card,
.topic,
.service-card {
  background: white;
  border: 1px solid #e4e9e5;
  border-radius: 21px;
  overflow: hidden;
  box-shadow: 0 12px 38px rgba(26, 71, 75, .065)
}

.feature-card,
.program-card {
  transition: transform .22s, box-shadow .22s
}

.feature-card:hover,
.program-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 19px 38px rgba(26, 71, 75, .1)
}

.feature-img {
  height: 245px
}

.feature-content {
  padding: 28px
}

.feature-content h3 {
  font-size: 27px;
  margin-top: 12px
}

.feature-content p {
  color: #677776
}

.arrow-link {
  color: var(--accent)
}

.arrow-link:hover {
  color: var(--brand)
}

.dark-band {
  background: var(--deep);
  color: #f6fffd;
  position: relative
}

.dark-band h2 {
  color: white
}

.dark-band .eyebrow {
  color: #8dd7d3
}

.dark-band p {
  color: #d8eeeb
}

.audience {
  gap: 100px
}

.audience li {
  border-color: #47797b;
  color: #f2fbf9
}

.audience li:before {
  color: #6fc6c2
}

.visit {
  background: #dff1ef
}

.visit .copy {
  background: #edf8f6
}

.visit h2 {
  color: var(--deep)
}

.visit .address {
  color: #285554
}

.footer {
  background: #103d40;
  color: #d1e5e2
}

.footer h4 {
  color: #a9ded9;
  font-size: 23px
}

.footer a {
  color: #d2e5e2
}

.footer-bottom {
  border-color: #417173;
  color: #bdd8d5
}

.footer .brand-name {
  color: white !important
}

.footer-legal {
  display: flex;
  gap: 20px;
  flex-wrap: wrap
}

.footer .footer-brand {
  display: inline-flex;
  margin: 0 0 25px;
  padding: 4px 6px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, .12)
}

.footer-brand .brand-logo {
  width: 290px
}

.footer .brand-mark {
  border: 0 !important
}

.footer .brand-mark span {
  color: transparent !important
}

/* Belső oldalak: krém-fehér színmező és keretezett fotók */
.page-hero {
  background: #e7f3f1;
  padding: 96px 0 88px
}

.page-hero .container {
  gap: 65px
}

.page-hero .eyebrow {
  margin-bottom: 20px
}

.page-hero h1 {
  font-size: clamp(45px, 5vw, 67px)
}

.page-hero .lead {
  color: #526a68
}

.page-hero img {
  border-radius: 24px;
  box-shadow: 0 18px 44px #194b4c18;
  border: 5px solid #ffffffa6
}

.about-hero img {
  width: 100%;
  height: auto;
  max-height: 630px;
  object-fit: contain
}

.programs-hero img {
  height: auto;
  object-fit: contain;
  aspect-ratio: 16/10
}

.story {
  background: var(--paper)
}

.story .split>img {
  border-radius: 23px;
  object-fit: cover;
  box-shadow: 0 15px 39px #12414915
}

.story h2 {
  margin-bottom: 27px
}

.topic-list {
  gap: 25px
}

.topic {
  min-height: 238px
}

.topic img {
  object-fit: cover
}

.topic .copy {
  padding: 27px
}

.topic h3 {
  font-size: 25px
}

.topic small {
  color: var(--accent)
}

.topic p {
  color: #657472
}

.pill {
  border-color: #acd1ce;
  background: white
}

.pill:hover,
.pill[aria-pressed=true] {
  background: var(--deep);
  border-color: var(--deep)
}

.program-grid {
  gap: 27px
}

#programGrid .program-card {
  border-radius: 22px
}

#programGrid .program-card>img {
  background: #f4f1e9;
  border-radius: 0;
  max-height: none
}

#programGrid .program-card .content {
  padding: 27px
}

.program-card h3 {
  font-size: 29px
}

.program-card .tag {
  color: var(--accent);
  letter-spacing: .065em
}

.program-card p {
  color: #617371
}

.tag-price,
.price {
  color: var(--deep)
}

.notice {
  background: #e8f4f2;
  border-left-color: #55aaa8;
  border-radius: 10px;
  color: #49615c
}

.detail-hero h1 {
  font-size: clamp(42px, 5vw, 66px)
}

.detail-hero img {
  border-radius: 20px
}

.detail-side {
  background: #edf5f3;
  border-color: #d8e8e5;
  border-radius: 20px
}

.service-card .copy {
  padding: 43px
}

.service-card h2 {
  font-size: clamp(32px, 3.7vw, 46px)
}

.service-card img {
  object-fit: cover
}

.audit-card>img {
  height: auto;
  max-height: none;
  object-fit: contain;
  background: #f6f4ef
}

.contact-card {
  background: #e8f4f2;
  border-radius: 22px
}

.contact-card a {
  color: var(--accent)
}

.form-box {
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 13px 35px #15424909
}

.field input,
.field textarea,
.field select {
  border-color: #bcd8d4;
  border-radius: 11px
}

.map-link-box {
  margin-top: 32px;
  padding: 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px
}

.map-link-box p {
  margin-bottom: 18px;
  color: var(--muted)
}

.map-consent-note {
  font-size: 13px
}

.map-consent-note a {
  text-decoration: underline
}

.map-embed {
  width: 100%;
  height: 350px;
  border: 0;
  border-radius: 12px;
  margin-top: 20px
}

:focus-visible {
  outline: 3px solid var(--brand)
}

@media(max-width:1100px) {
  .hero-copy {
    padding-right: 34px
  }
}

@media(max-width:800px) {
  .site-header .nav {
    background: #fffdf9
  }

  .hero-grid {
    grid-template-columns: 1fr
  }

  .hero-copy {
    padding: 65px 0 46px
  }

  .hero-visual {
    min-height: 350px;
    margin: 0 -18px;
    height: 45vh
  }

  .hero-visual:after {
    display: none
  }

  .page-hero {
    padding: 70px 0
  }

  .page-hero .container {
    gap: 30px
  }

  .page-hero img {
    height: auto;
    max-height: 550px
  }

  .pathways-title {
    white-space: normal
  }

  .audience {
    gap: 35px
  }

  .service-card .copy {
    padding: 28px
  }
}

@media(max-width:530px) {
  .hero h1 {
    font-size: clamp(40px, 10vw, 53px)
  }

  .hero-copy {
    padding: 48px 0 40px
  }

  .page-hero h1 {
    font-size: 42px
  }

  .pathways-title {
    font-size: clamp(32px, 8.6vw, 42px)
  }

  .feature-img {
    height: 230px
  }

  .service-card .copy {
    padding: 23px
  }

  .brand-name {
    font-size: 17px
  }

  .brand-logo {
    width: 176px
  }

  .footer-brand .brand-logo {
    width: 250px
  }

  .footer-legal {
    gap: 0;
    flex-direction: column
  }
}

@media(prefers-reduced-motion:reduce) {

  *,
  *:before,
  *:after {
    scroll-behavior: auto !important;
    transition: none !important
  }
}

/* Kapcsolati űrlap állapotai és rejtett spamcsapda. */
.form-feedback.error {
  color: #9b2c2c
}

.form-feedback.success {
  color: #17613b
}

.btn[disabled] {
  cursor: wait;
  opacity: .7;
  transform: none
}

.hp-field {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important
}
