/* ==========================================================================
   ORANGE COACH KFT. — tiszta, kézzel írt stílusrendszer (v16)
   A Nicepage-generált CSS teljes kiváltása (nicepage.css + index.css +
   oldal-CSS-ek + custom.css + layout/responsive rétegek EGY fájlban).
   Dizájn: azonos a v14-gyel (színek, méretek, elrendezés), de tömör és
   karbantartható — semmilyen u-* osztály, inline stílus vagy !important-hack.
   v16: betűméretek +1 fokozat, mobil középre igazítás, diszkrét animációk.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. VÁLTOZÓK ÉS ALAP
   -------------------------------------------------------------------------- */
:root {
  --oc-orange: #ff710a;
  --oc-orange-soft: #ffb37a;
  --oc-black: #111111;
  --oc-red: #c53400;
  --oc-blue: #0d386d;
  --oc-surface: #ffffff;
  --oc-muted: #f5f7fa;
  --oc-grey-5: #f2f2f2;
  --oc-grey-80: #333333;
  --oc-line: #d9d9d9;
  --oc-text: #111111;
  --oc-shadow: 0 16px 40px rgba(17, 17, 17, 0.18);
  --oc-gutter: clamp(16px, 5vw, 24px);
  --oc-max: 1320px;
  --oc-radius: 25px;
  --oc-pill: 100px;
  --font-body: "Open Sans", sans-serif;
  --font-head: "Roboto", sans-serif;
}

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

html {
  font-size: 17px; /* v16: +1 fokozat a korábbi 16px-hez képest */
  -webkit-text-size-adjust: 100%;
}

html,
body {
  max-width: 100%;
  overflow-x: clip;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1.0625rem; /* 17px → 18px: +1 */
  color: var(--oc-text);
  background: var(--oc-surface);
  line-height: 1.6;
}

img,
video,
iframe,
svg,
table {
  max-width: 100%;
}

img {
  height: auto;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0 0 0.5em;
  font-family: var(--font-head);
  font-weight: 900;
  line-height: 1.2;
  hyphens: auto;
  -webkit-hyphens: auto;
  overflow-wrap: break-word;
}

p {
  margin: 0 0 1em;
  overflow-wrap: break-word;
  hyphens: auto;
  -webkit-hyphens: auto;
}

li {
  hyphens: auto;
  -webkit-hyphens: auto;
}

a {
  color: var(--oc-orange);
  text-decoration: none;
}

a:hover {
  color: var(--oc-red);
}

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

/* Konténer: folyékony szélesség + max-width, egységes oldalsó margó */
.container {
  width: 100%;
  max-width: var(--oc-max);
  margin-inline: auto;
  padding-inline: var(--oc-gutter);
  box-sizing: border-box;
}

/* --------------------------------------------------------------------------
   2. FEJLÉC
   -------------------------------------------------------------------------- */
.site-header {
  position: relative;
  z-index: 50;
  background: var(--oc-surface);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 101px;
}

.site-logo {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  line-height: 0;
}

.site-logo img {
  width: 250px;
  height: auto;
  max-width: 250px;
  object-fit: contain;
}

/* Fő navigáció (desktop) */
.main-nav ul {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding-left: 40px;
  padding-right: 265px;
}

.main-nav a {
  display: inline-block;
  padding: 8px 4px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem; /* v16: 14px → 16px */
  color: var(--oc-text);
  text-transform: none;
  transition: color 0.2s ease;
}

.main-nav a:hover {
  color: var(--oc-orange);
}

/* Hamburger (mobil / tablet) */
.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 8px;
  margin: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  color: var(--oc-text);
}

.nav-toggle svg {
  width: 26px;
  height: 26px;
  display: block;
}

/* Mobil oldalmenü (push) */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 100;
  width: min(320px, 86vw);
  background: var(--oc-black);
  color: #fff;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  padding: 1.25rem 1.5rem;
  overflow-y: auto;
}

.mobile-menu.is-open {
  transform: translateX(0);
}

.mobile-menu__close {
  align-self: flex-end;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 0.75rem;
  border: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
}

.mobile-menu ul li + li {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.mobile-menu a {
  display: block;
  padding: 14px 8px;
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.125rem; /* v16: +1 */
  text-align: center;
}

.mobile-menu a:hover {
  color: var(--oc-orange);
}

.mobile-menu__overlay {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: rgba(0, 0, 0, 0.7);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-menu__overlay.is-visible {
  opacity: 1;
  visibility: visible;
}

/* Széchenyi 2020 logó: fix badge a jobb felső sarokban (desktop) */
.szechenyi-badge {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 60;
  display: inline-flex;
  align-items: center;
  line-height: 0;
}

.szechenyi-badge img {
  width: 250px;
  height: auto;
  max-width: 250px;
  object-fit: contain;
}

/* --------------------------------------------------------------------------
   3. HERO
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
}

/* Háttérkép külön rétegen: lassú, észrevétlen zoom (Ken Burns hatás) */
.hero::before {
  content: "";
  position: absolute;
  inset: -4%;
  z-index: 0;
  background-image: url("images/orange-coach-kft-jarmu-es-tartaly-tisztitas-01.webp?v=12");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  animation: hero-zoom 24s ease-out forwards;
}

@keyframes hero-zoom {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.08);
  }
}

.hero .container {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-height: 775px;
}

.hero__box {
  width: 662px;
  max-width: 100%;
  padding: 60px 50px;
  background: rgba(17, 17, 17, 0.6);
  border-radius: var(--oc-radius);
  color: #fff;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45);
  /* Belépő animáció: diszkrét fade + felcsúszás */
  animation: hero-in 0.7s ease-out 0.15s both;
}

@keyframes hero-in {
  from {
    opacity: 0;
    transform: translateY(26px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.hero__box h1 {
  margin: 0 0 0.4em;
  font-size: 4.75rem; /* v16: +1 */
  line-height: 1.05;
  color: #fff;
}

.hero__box p {
  margin: 0 0 1.6em;
  font-size: 2rem; /* v16: +1 */
  line-height: 1.4;
  color: #fff;
}

/* Gombok */
.btn {
  display: inline-block;
  padding: 20px 47px 20px 46px;
  border: 3px solid var(--oc-black);
  border-radius: var(--oc-pill);
  background: var(--oc-black);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.625rem; /* v16: +1 */
  text-transform: uppercase;
  letter-spacing: 0;
  text-align: center;
  cursor: pointer;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.3);
  transition: background-color 0.25s ease, color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.btn:hover {
  background: #fff;
  color: var(--oc-black);
  transform: translateY(-3px);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.38);
}

/* --------------------------------------------------------------------------
   4. SZOLGÁLTATÁS-KÁRTYÁK (kék blokk)
   -------------------------------------------------------------------------- */
.services {
  background: var(--oc-blue);
  color: #fff;
}

.services .container {
  padding-block: 60px;
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 15px;
}

.service-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 30px 22px;
  color: #fff;
  text-decoration: none;
  border-radius: 18px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.35);
  background: rgba(255, 255, 255, 0.06);
}

/* A kártya-link szövege maradjon fehér hover-en is */
.service-card:hover h5,
.service-card:hover p {
  color: #fff;
}

.service-card__icon {
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

.service-card__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.service-card h5 {
  margin: 19px 0 0;
  font-size: 1.625rem; /* v16: +1 */
  font-weight: 700;
  line-height: 1.25;
  color: #fff;
  text-align: center;
}

.service-card p {
  margin: 22px 0 0;
  font-size: 1.25rem; /* v16: +1 */
  line-height: 1.6;
  color: #fff;
  text-align: center;
}

/* --------------------------------------------------------------------------
   5. RÓLUNK
   -------------------------------------------------------------------------- */
.about {
  background: var(--oc-grey-5);
}

.about .container {
  padding-block: 60px;
}

.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

.about__image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--oc-radius);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.22);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.about__image:hover img {
  transform: scale(1.02);
  box-shadow: 0 24px 54px rgba(0, 0, 0, 0.28);
}

.about__text h3 {
  font-size: 2.5rem; /* v16: +1 */
  margin-bottom: 0.6em;
}

.about__text p {
  margin-bottom: 1em;
  line-height: 1.7;
}

/* --------------------------------------------------------------------------
   6. AUTÓMOSÓ SZEKCIÓ (sötét + galéria)
   -------------------------------------------------------------------------- */
.gallery-section {
  background: var(--oc-grey-80);
  color: #fff;
}

.gallery-section .container {
  padding-block: 60px;
}

.gallery-section h2 {
  margin: 0 auto 0.4em;
  font-size: 2.5rem; /* v16: +1 */
  font-weight: 700;
  text-align: center;
  color: #fff;
}

.gallery-section .section-lead {
  margin: 0 auto 38px;
  max-width: 900px;
  font-size: 1.375rem; /* v16: +1 */
  text-align: center;
  color: #fff;
}

.gallery {
  position: relative;
  overflow: hidden;
}

.gallery__track {
  display: flex;
  transition: transform 0.4s ease;
}

.gallery__slide {
  flex: 0 0 calc(33.3333% - 20px);
  margin-right: 30px;
  border-radius: var(--oc-radius);
  overflow: hidden;
}

.gallery__slide:last-child {
  margin-right: 0;
}

.gallery__slide img {
  width: 100%;
  display: block;
  aspect-ratio: 4 / 3; /* v18: 20%-kal magasabb, mint a 16:10 */
  object-fit: cover;
  transition: transform 0.45s ease;
}

.gallery__slide:hover img {
  transform: scale(1.04);
}

.gallery__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.7);
  color: #fff;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.2s ease, background-color 0.2s ease;
}

.gallery__nav:hover {
  opacity: 1;
  background: #7f7f7f;
}

.gallery__nav--prev {
  left: 10px;
}

.gallery__nav--next {
  right: 10px;
}

.gallery__nav svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* --------------------------------------------------------------------------
   7. PÁLYÁZAT BLOKK
   -------------------------------------------------------------------------- */
.grant {
  background: var(--oc-grey-5);
}

.grant .container {
  padding-block: 60px;
}

.grant__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

.grant__text h3 {
  font-size: 2.5rem; /* v21: azonos a Rólunk és a többi szekciócím méretével */
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 0.3em;
}

.grant__text p {
  margin: 20px 0 0;
  font-size: 1.0625rem; /* v18: kisebb, kompaktabb — nem azonos a többi szekcióval */
  line-height: 1.7;
  color: #3a3a3a;
}

.grant__text .btn {
  margin-top: 28px;
}

.grant__image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--oc-radius);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.22);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.grant__image:hover img {
  transform: scale(1.02);
  box-shadow: 0 24px 54px rgba(0, 0, 0, 0.28);
}

/* --------------------------------------------------------------------------
   8. SZOLGÁLTATÁSOK ACCORDION
   -------------------------------------------------------------------------- */
.accordion-section {
  background: var(--oc-surface);
}

.accordion-section .container {
  padding-block: 60px;
}

.accordion-section h2 {
  font-size: 2.5rem; /* v16: +1 */
  text-align: center;
  margin-bottom: 0.4em;
}

.accordion-section .section-lead {
  max-width: 900px;
  margin: 0 auto 2rem;
  text-align: center;
  font-size: 1.25rem; /* v16: +1 */
}

.accordion {
  max-width: 980px;
  margin: 0 auto;
}

.accordion__item {
  border-bottom: 1px solid var(--oc-line);
}

.accordion__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 20px 30px;
  border: 0;
  background: transparent;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.625rem; /* v16: +1 */
  color: var(--oc-text);
  text-align: left;
  cursor: pointer;
}

.accordion__trigger:hover {
  color: var(--oc-orange);
}

.accordion__icon {
  flex-shrink: 0;
  width: 25px;
  height: 25px;
  margin-left: 1rem;
  transition: transform 0.3s ease;
}

.accordion__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.accordion__item.is-open .accordion__icon {
  transform: rotate(180deg);
}

.accordion__panel {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  padding: 0 30px 30px;
  transition: max-height 0.5s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.4s ease;
}

.accordion__item.is-open .accordion__panel {
  opacity: 1;
}

/* A tartalom finoman felúszik nyitáskor */
.accordion__panel p {
  transform: translateY(10px);
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.accordion__item.is-open .accordion__panel p {
  transform: translateY(0);
}

.accordion__panel p {
  margin-bottom: 1em;
  line-height: 1.7;
}

.accordion__panel strong {
  font-weight: 700;
}

/* --------------------------------------------------------------------------
   9. KAPCSOLAT + ŰRLAP
   -------------------------------------------------------------------------- */
.contact {
  background: var(--oc-surface);
}

.contact .container {
  padding-block: 60px;
}

.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 2rem;
  align-items: center;
}

.contact__image img {
  width: 100%;
  display: block;
  border-radius: var(--oc-radius);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.22);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.contact__image:hover img {
  transform: scale(1.02);
  box-shadow: 0 24px 54px rgba(0, 0, 0, 0.28);
}

.contact h3 {
  font-size: 2.5rem; /* v21: azonos a Rólunk és a többi szekciócím méretével */
  font-weight: 800;
  margin-bottom: 0.3em;
}

.contact__lead {
  margin: 0 0 1.6em;
  font-size: 1.0625rem; /* v19: azonos a többi leírással */
  line-height: 1.7;
  color: var(--oc-text);
}

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 1.25rem;
}

.contact-form .field {
  display: flex;
  flex-direction: column;
}

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

.contact-form label {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.25rem; /* v16: +1 */
  margin-bottom: 0.35rem;
}

/* Kötelező mező jelölése (BD-TECH minta) */
.contact-form .req {
  color: var(--oc-orange);
  font-weight: 900;
}

/* Iránymutatás a mezőkben */
.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #9a9a9a;
  opacity: 1;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid var(--oc-grey-5);
  border-radius: 3px;
  background: var(--oc-grey-5);
  font-family: var(--font-body);
  font-size: 1.0625rem; /* v16: +1 */
  color: var(--oc-text);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--oc-orange);
  background: #fff;
}

.contact-form textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-form .btn {
  margin-top: 0.5rem;
  font-size: 1.375rem; /* v16: +1 */
  padding: 22px 40px;
  border: 0;
}

.contact-form .btn:hover {
  background: var(--oc-orange);
  color: #fff;
}

/* reCAPTCHA tájékoztató */
.recaptcha-note {
  grid-column: 1 / -1;
  margin: 0;
  color: #5b5b5b;
  font-size: 0.875rem; /* v16: +1 */
  line-height: 1.5;
}

.recaptcha-note a {
  color: var(--oc-orange);
  font-weight: 700;
}

/* Honeypot: embernek láthatatlan */
.hp-field {
  position: absolute !important;
  left: -10000px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

/* Űrlap visszajelzők */
.field-error {
  margin: 0.35rem 0 0;
  font-size: 0.875rem;
  font-weight: 600;
  color: #b3261e;
}

.field-error[hidden] {
  display: none;
}

.contact-form input[aria-invalid="true"],
.contact-form textarea[aria-invalid="true"] {
  border-color: #b3261e;
  background: #fff5f4;
}

.form-status {
  grid-column: 1 / -1;
  display: none;
  margin: 0;
  padding: 0.85rem 1rem;
  border-radius: 0.5rem;
  font-weight: 600;
}

.form-status[hidden] {
  display: none;
}

.form-status--error {
  color: #7d1b00;
  background: #fff0ea;
  border: 1px solid #e9a083;
}

.form-status--success {
  color: #0b5d1e;
  background: #eaf7ee;
  border: 1px solid #9cd4ae;
}

.contact-form.is-submitting .btn {
  opacity: 0.65;
  pointer-events: none;
}

/* --------------------------------------------------------------------------
   10. ELÉRHETŐSÉGEK (háttérkép + 3 oszlop)
   -------------------------------------------------------------------------- */
.locations {
  background-image: linear-gradient(0deg, rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.65)),
    url("images/orange-coach-kft-jarmu-es-tartaly-tisztitas-03.webp?v=12");
  background-size: cover;
  background-position: center center;
  color: #fff;
}

.locations .container {
  padding-block: 60px;
  /* v17: az eredeti v14-es magasság (u-section-8 sheet min-height 800px)
     — a tartalom függőlegesen középre, így a háttérkép érvényesül */
  min-height: 800px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.locations__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  text-align: center;
}

.locations__col p {
  margin: 0;
  font-size: 1.375rem; /* v16: +1 */
  line-height: 1.8;
  color: #fff;
}

.locations__col strong {
  font-weight: 700;
}

/* --------------------------------------------------------------------------
   11. LÁBLÉC
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--oc-black);
  color: #fff;
  border-top: 3.5px solid var(--oc-orange);
  padding: 2.25rem 0 1.75rem;
}

.site-footer .container {
  padding-block: 0;
}

.footer-szechenyi {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 0;
  margin-bottom: 1rem;
  background: #fff;
}

.footer-szechenyi a {
  display: inline-flex;
  align-items: center;
  line-height: 0;
  background: #fff;
  padding: 8px 12px;
}

.footer-szechenyi img {
  width: 100%;
  max-width: 660px;
  height: auto;
  object-fit: contain;
}

.footer__grid {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: center;
  gap: 1.5rem 2.5rem;
  text-align: center;
}

.footer__col {
  flex: 0 0 25%;
  min-width: 180px;
  padding: 0 1rem;
}

.footer__col p {
  margin: 0;
  color: #d0d0d0;
  font-size: 1.0625rem; /* v16: +1 */
  line-height: 1.6;
}

.footer__col a {
  color: #fff;
  font-weight: 700;
}

.footer__col a:hover {
  color: var(--oc-orange);
}

/* --------------------------------------------------------------------------
   12. SÜTI-BANNER
   -------------------------------------------------------------------------- */
.cookie-banner {
  position: fixed;
  z-index: 2147483000;
  right: 1.25rem;
  bottom: 1.25rem;
  left: auto;
  display: none;
  width: auto;
  max-width: 400px;
  margin: 0;
  padding: 1rem 1.1rem;
  color: #fff;
  background: var(--oc-black);
  border: 2px solid var(--oc-orange);
  border-radius: 0.75rem;
  box-shadow: var(--oc-shadow);
  font-size: 0.9375rem; /* v16: +1 */
}

.cookie-banner.is-visible {
  display: block;
}

.cookie-banner__content {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  align-items: stretch;
}

.cookie-banner h2 {
  margin: 0 0 0.3rem;
  font-size: 1.125rem; /* v16: +1 */
  font-weight: 800;
  color: #fff;
}

.cookie-banner p {
  margin: 0;
  line-height: 1.5;
  font-size: 0.9375rem; /* v16: +1 */
  color: #fff;
}

.cookie-banner a {
  color: var(--oc-orange-soft);
  font-weight: 700;
}

.cookie-banner__actions {
  display: flex;
  gap: 0.55rem;
}

.cookie-btn {
  flex: 1 1 0;
  padding: 0.55rem 0.8rem;
  border: 2px solid transparent;
  border-radius: 999px;
  font: 700 0.875rem/1 var(--font-head); /* v16: +1 */
  cursor: pointer;
}

.cookie-btn--accept {
  color: #fff;
  background: var(--oc-orange);
  border-color: var(--oc-orange);
}

.cookie-btn--decline {
  color: #fff;
  background: transparent;
  border-color: #666;
}

.cookie-btn--decline:hover {
  border-color: #fff;
}

/* --------------------------------------------------------------------------
   13. BELSŐ OLDALAK (egységes sablon)
   -------------------------------------------------------------------------- */
.page {
  background: var(--oc-grey-5);
}

.page .container {
  padding-block: 60px 96px;
  text-align: center;
}

.page h2 {
  font-size: 3rem; /* v16: +1 */
  font-weight: 900;
  margin-bottom: 0.5em;
}

.page .page-sub {
  font-size: 1.25rem; /* v16: +1 */
  font-weight: 700;
  margin-bottom: 1.5em;
}

.page-body {
  max-width: 900px;
  margin: 0 auto;
  text-align: center; /* v16: belső oldalak középre (mint a v14-ben) */
  font-size: 1.125rem; /* v16: +1 */
  line-height: 1.75;
}

.page-body--justify {
  text-align: justify; /* Pályázatok oldal: sorkizárt */
}

.page-body p {
  margin-bottom: 1em;
}

.page-body strong {
  font-weight: 700;
}

.page-body .block-title {
  display: block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.625rem; /* v16: +1 */
  margin: 1.5em 0 0.5em;
}

.page-body .block-title:first-child {
  margin-top: 0;
}

.page-body a {
  font-weight: 700;
}

/* Pályázatok oldal */
.page-body .grant-block {
  margin-bottom: 1.5em;
}

.grant-divider {
  border: 0;
  border-top: 4px solid var(--oc-orange);
  width: 100%;
  max-width: 760px;
  margin: 40px auto;
}

.page-body .grant-image {
  display: block;
  width: 100%;
  max-width: 760px;
  margin: 1.5rem auto 0;
  height: auto;
  border-radius: var(--oc-radius);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.2);
}

/* --------------------------------------------------------------------------
   14. 404 / ÜZENET ELKÜLDVE
   -------------------------------------------------------------------------- */
.status-page {
  background: var(--oc-grey-5);
}

.status-page .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 520px;
  padding-block: 60px 96px;
  text-align: center;
}

.status-icon {
  width: 139px;
  height: 139px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.status-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.status-page h2 {
  margin-top: 28px;
  font-size: 3rem; /* v16: +1 */
  font-weight: 900;
}

.status-page p {
  max-width: 640px;
  margin: 1rem auto 0;
  font-size: 1.25rem; /* v16: +1 */
}

/* --------------------------------------------------------------------------
   15. SEGÉD
   -------------------------------------------------------------------------- */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 1000;
  padding: 10px 16px;
  background: var(--oc-orange);
  color: #fff;
}

.skip-link:focus {
  left: 0;
}

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

.grecaptcha-badge {
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* Scroll-reveal: lágy blur-fade + finom elmozdulás, "kilendülős" easing.
   A [data-reveal] attribútum az elemeken van, a .reveal osztályt a JS
   adná — ezért attribútum-szelektorral dolgozunk. */
[data-reveal] {
  opacity: 0;
  filter: blur(8px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.22, 1, 0.36, 1), filter 0.8s ease;
  will-change: opacity, transform, filter;
}

[data-reveal="up"] {
  transform: translateY(30px);
}

[data-reveal="left"] {
  transform: translateX(-44px);
}

[data-reveal="right"] {
  transform: translateX(44px);
}

[data-reveal="scale"] {
  transform: scale(0.9);
}

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

/* Kártya-sorok: egymás után érkeznek (stagger) */
.stagger[data-reveal] {
  opacity: 1;
  filter: none;
  transform: none;
}

.stagger > * {
  opacity: 0;
  filter: blur(6px);
  transform: translateY(26px);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.22, 1, 0.36, 1), filter 0.6s ease;
}

.stagger.is-visible > * {
  opacity: 1;
  filter: blur(0);
  transform: none;
}

.stagger.is-visible > *:nth-child(1) { transition-delay: 0.05s; }
.stagger.is-visible > *:nth-child(2) { transition-delay: 0.15s; }
.stagger.is-visible > *:nth-child(3) { transition-delay: 0.25s; }
.stagger.is-visible > *:nth-child(4) { transition-delay: 0.35s; }

/* v26: mobil/tablet nézetben a scroll-reveal KI van kapcsolva — a tartalom
   azonnal látható, ne tűnjön "üres/bugos" oldalnak görgetés előtt.
   Asztali nézetben (>=992px) marad a diszkrét animáció. */
@media (max-width: 991px) {
  [data-reveal],
  .stagger > * {
    opacity: 1 !important;
    filter: none !important;
    transform: none !important;
    transition: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .hero::before {
    animation: none;
  }

  .reveal,
  [data-reveal],
  .stagger > * {
    opacity: 1;
    filter: none;
    transform: none;
  }

  .hero__box {
    animation: none;
  }
}

/* ==========================================================================
   16. RESZPONZÍV
   ========================================================================== */

/* Tablet */
@media (max-width: 1399px) {
  .locations .container {
    min-height: 695px;
  }
}

@media (max-width: 1199px) {
  .locations .container {
    min-height: 578px;
  }
}

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

  .nav-toggle {
    display: inline-flex;
  }

  .szechenyi-badge {
    display: none;
  }

  .site-header .container {
    min-height: 101px;
  }

  .site-logo img {
    width: 179px;
  }
}

@media (max-width: 991px) {
  .services__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about__grid,
  .grant__grid,
  .contact__grid {
    grid-template-columns: 1fr;
  }

  .locations__grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  /* Mobilon a tartalom egymás alatt van — a természetes magasság a mérvadó */
  .locations .container {
    min-height: 0;
    display: block;
  }

  .hero .container {
    min-height: 698px;
    align-items: center;
  }

  .hero__box {
    width: 520px;
    padding: 30px;
  }

  .contact__grid {
    gap: 1.5rem;
  }

  .contact__image {
    order: 2;
  }
}

@media (max-width: 767px) {
  .site-header .container {
    min-height: 92px;
  }

  .site-logo img {
    width: 158px;
  }

  .hero .container {
    min-height: 560px;
  }

  /* v16: hero doboz mobilon — középre igazított szöveg + nagyobb,
     egyenletes padding mind a 4 oldalon */
  .hero__box {
    width: 100%;
    padding: 38px 30px;
    margin: 40px 0 32px;
    text-align: center;
  }

  .hero__box h1 {
    font-size: clamp(2.6rem, 9.5vw, 3.2rem);
    text-align: center;
  }

  .hero__box p {
    font-size: 1.1875rem;
    line-height: 1.5;
    margin-bottom: 1.4em;
    text-align: center;
  }

  .hero__box .btn {
    margin-left: auto;
    margin-right: auto;
  }

  .btn {
    font-size: 1.25rem;
    padding: 14px 28px;
  }

  .services__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .gallery__slide {
    flex: 0 0 100%;
    margin-right: 0;
  }

  .gallery-section h2,
  .accordion-section h2 {
    font-size: clamp(2rem, 7.5vw, 2.5rem);
  }

  /* v16: Rólunk és a többi tartalom középre igazítva mobilon */
  .about__text {
    text-align: center;
  }

  .grant__text {
    text-align: center;
  }

  .accordion__trigger {
    font-size: 1.375rem;
    padding: 16px 12px;
  }

  .accordion__panel {
    padding: 0 12px 20px;
  }

  .contact-form {
    grid-template-columns: 1fr;
  }

  .contact-form .field--full {
    grid-column: 1;
  }

  .contact-form .btn {
    width: 100%;
  }

  .contact h3 {
    text-align: center;
  }

  .footer__grid {
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
  }

  .footer__col {
    flex: 0 0 100%;
    max-width: 360px;
    padding: 0;
  }

  .footer__col p {
    color: #e8e8e8;
  }

  .footer-szechenyi img {
    max-width: 460px;
  }

  .page .container {
    padding-block: 40px 96px;
  }

  .status-page .container {
    min-height: 480px;
  }

  .status-icon {
    width: 97px;
    height: 97px;
  }

  .status-page h2 {
    margin-top: 28px;
  }

  .locations .container {
    padding-block: 40px;
  }

  .locations__col p {
    font-size: 1.25rem;
  }
}

@media (max-width: 700px) {
  .cookie-banner {
    right: 0.6rem;
    bottom: 0.6rem;
    left: 0.6rem;
    max-width: none;
    padding: 0.9rem;
  }

  .cookie-banner__content {
    gap: 0.75rem;
  }
}

@media (max-width: 575px) {
  .hero .container {
    min-height: 500px;
  }

  .hero__box {
    padding: 34px 24px; /* v16: nagyobb, egyenletes padding 4 oldalon */
  }

  .hero__box h1 {
    font-size: 2.5rem;
  }

  .footer-szechenyi img {
    max-width: 100%;
  }

  .page-body {
    font-size: 1.0625rem;
  }
}

/* Nagy desktop: a menü betűmérete arányosan nő */
@media (min-width: 1181px) and (max-width: 1199px) {
  .szechenyi-badge {
    display: none;
  }

  .main-nav ul {
    padding-right: 24px;
  }
}

@media (min-width: 1600px) {
  .main-nav a {
    font-size: 1.125rem;
  }
}

@media (min-width: 1900px) {
  .main-nav a {
    font-size: 1.1875rem;
  }
}
