/* ============================================================
       CSS CUSTOM PROPERTIES
    ============================================================ */
    :root {
      --color-white:           #f8faf6;
      --color-bg:              #f4f7ee;
      --color-neutral-lightest:#e9eee3;
      --color-neutral-lighter: #dee6d6;
      --color-neutral-light:   #c5d3b8;
      --color-neutral:         #b7c8a6;
      --color-neutral-dark:    #a7b697;
      --color-neutral-darkest: #4d5446;
      --color-text:            #4d5446;

      --page-padding:          64px;
      --section-lg:            112px;
      --section-md:            80px;
      --radius-large:          48px;
      --radius-medium:         24px;

      --font-display: 'DM Serif Display', serif;
      --font-body:    'DM Sans', sans-serif;
    }

    /* ============================================================
       RESET
    ============================================================ */
    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
    html { scroll-behavior: smooth; }
    body {
      font-family: var(--font-body);
      background: var(--color-bg);
      color: var(--color-text);
      font-size: 16px;
      line-height: 1.5;
      overflow-x: hidden;
    }
    img { max-width: 100%; display: block; }
    a { text-decoration: none; color: inherit; }
    button { cursor: pointer; border: none; background: none; font-family: inherit; }
    ol, ul { list-style: none; }

    /* ============================================================
       PAGE SYSTEM
    ============================================================ */
    .page { display: none; }
    .page.active { display: block; }

    /* ============================================================
       SCROLL ANIMATION
    ============================================================ */
    [data-reveal] {
      opacity: 0;
      transition: opacity 0.7s ease, transform 0.7s ease;
    }
    [data-reveal="up"]    { transform: translateY(40px); }
    [data-reveal="left"]  { transform: translateX(-48px); }
    [data-reveal="right"] { transform: translateX(48px); }
    [data-reveal="scale"] { transform: scale(0.94); }
    [data-reveal].visible { opacity: 1; transform: none; }

    [data-stagger] > * {
      opacity: 0;
      transform: translateY(28px);
      transition: opacity 0.55s ease, transform 0.55s ease;
    }
    [data-stagger].visible > * { opacity: 1; transform: none; }
    [data-stagger].visible > *:nth-child(1) { transition-delay: 0.05s; }
    [data-stagger].visible > *:nth-child(2) { transition-delay: 0.15s; }
    [data-stagger].visible > *:nth-child(3) { transition-delay: 0.25s; }
    [data-stagger].visible > *:nth-child(4) { transition-delay: 0.35s; }
    [data-stagger].visible > *:nth-child(5) { transition-delay: 0.45s; }

    .hero-text-anim {
      opacity: 0;
      transform: translateY(32px);
      animation: heroIn 0.9s ease 0.25s forwards;
    }
    @keyframes heroIn { to { opacity: 1; transform: none; } }

    /* ============================================================
       NAVBAR
    ============================================================ */
    .navbar-wrap {
      position: fixed;
      top: 0; left: 0;
      width: 100%;
      z-index: 1000;
      padding: 24px var(--page-padding);
      pointer-events: none;
    }
    .navbar {
      background: var(--color-white);
      border-radius: var(--radius-large);
      height: 72px;
      display: flex;
      align-items: center;
      padding: 0 32px;
      pointer-events: all;
      box-shadow: 0 2px 20px rgba(77,84,70,0.09);
    }
    .navbar-inner {
      display: flex;
      align-items: center;
      gap: 32px;
      width: 100%;
      max-width: 1280px;
      margin: 0 auto;
    }
    .navbar-logo { flex: 1; display: flex; align-items: center; }
    .navbar-logo img { height: 36px; width: auto; }
    .navbar-logo-text {
      font-family: var(--font-display);
      font-size: 22px;
      color: var(--color-text);
      white-space: nowrap;
      line-height: 1;
    }
    .navbar-links {
      display: flex;
      gap: 28px;
      align-items: center;
    }
    .navbar-links a {
      font-size: 16px;
      color: var(--color-text);
      white-space: nowrap;
      transition: opacity 0.2s;
    }
    .navbar-links a:hover { opacity: 0.6; }

    /* ============================================================
       BUTTONS
    ============================================================ */
    .btn {
      display: inline-block;
      width: fit-content;
      padding: 12px 24px;
      border-radius: 32px;
      font-size: 16px;
      font-family: var(--font-body);
      cursor: pointer;
      white-space: nowrap;
      align-self: flex-start;
      transition: filter 0.2s, opacity 0.2s;
    }
    .btn:hover { filter: brightness(0.9); }

    .btn-primary {
      background: var(--color-white);
      color: var(--color-neutral-darkest);
      border: 1px solid var(--color-white);
    }
    .btn-outline {
      background: transparent;
      color: var(--color-neutral-darkest);
      border: 1px solid var(--color-neutral-darkest);
    }
    .btn-dark {
      background: var(--color-neutral-darkest);
      color: var(--color-white);
      border: 1px solid var(--color-neutral-darkest);
    }
    .btn-nav {
      background: var(--color-neutral-darkest);
      color: var(--color-white);
      border: 1px solid var(--color-neutral-darkest);
      padding: 8px 20px;
    }

    /* Hamburger */
    .hamburger {
      display: none;
      flex-direction: column;
      gap: 5px;
      cursor: pointer;
      padding: 4px;
    }
    .hamburger span {
      display: block;
      width: 24px;
      height: 2px;
      background: var(--color-neutral-darkest);
      border-radius: 2px;
      transition: all 0.3s;
    }
    .mobile-menu {
      display: none;
      position: fixed;
      inset: 0;
      background: var(--color-white);
      z-index: 999;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 28px;
      padding: 40px;
    }
    .mobile-menu.open { display: flex; }
    .mobile-menu a {
      font-size: 20px;
      color: var(--color-text);
      font-family: var(--font-display);
    }
    .mobile-close {
      position: absolute;
      top: 28px; right: 28px;
      font-size: 28px;
      cursor: pointer;
      color: var(--color-neutral-darkest);
      line-height: 1;
    }

    /* ============================================================
       LAYOUT UTILITIES
    ============================================================ */
    .container {
      max-width: 1280px;
      margin: 0 auto;
      width: 100%;
    }
    .section-padded {
      padding: var(--section-lg) var(--page-padding);
    }
    .col-2 {
      display: flex;
      gap: 80px;
      align-items: flex-start;
    }
    .col-2 > * { flex: 1; min-width: 0; }
    .col-2.center { align-items: center; }

    /* ============================================================
       TYPOGRAPHY
    ============================================================ */
    .tagline {
      font-family: var(--font-display);
      font-size: 16px;
      line-height: 1.5;
      color: var(--color-text);
    }
    .h1 {
      font-family: var(--font-display);
      font-size: 56px;
      line-height: 1.2;
      font-weight: 400;
      color: var(--color-text);
    }
    .h1-white { color: var(--color-white); }
    .h2 {
      font-family: var(--font-display);
      font-size: 48px;
      line-height: 1.2;
      font-weight: 400;
      color: var(--color-text);
    }
    .h3 {
      font-family: var(--font-display);
      font-size: 40px;
      line-height: 1.2;
      font-weight: 400;
      color: var(--color-text);
    }
    .h4 {
      font-family: var(--font-display);
      font-size: 32px;
      line-height: 1.3;
      font-weight: 400;
      color: var(--color-text);
    }
    .h5 {
      font-family: var(--font-display);
      font-size: 24px;
      line-height: 1.4;
      font-weight: 400;
      color: var(--color-text);
    }
    .h-super {
      font-family: var(--font-display);
      font-size: 70px;
      line-height: 1.15;
      font-weight: 400;
      color: var(--color-text);
    }
    .text-lg { font-size: 18px; line-height: 1.5; }
    .text-md { font-size: 16px; line-height: 1.5; }
    .text-sm { font-size: 14px; line-height: 1.5; }
    .text-center { text-align: center; }
    strong { font-weight: 700; }
    em { font-style: italic; }

    /* Hero desktop/mobile toggle */
    .hero-desktop { display: flex; }
    .hero-mobile {
      display: none;
      padding: calc(80px + 64px) 20px 64px;
      flex-direction: column;
    }

    /* ============================================================
       HERO (full-bleed image)
    ============================================================ */
    .hero {
      position: relative;
      height: 900px;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 0 var(--page-padding);
      overflow: hidden;
      border-radius: 0 0 100px 100px;
    }
    .hero-bg {
      position: absolute;
      inset: 0;
      background-size: cover;
      background-position: center;
      background-repeat: no-repeat;
    }
    .hero-bg::after {
      content: '';
      position: absolute;
      inset: 0;
      background: linear-gradient(to left,
        rgba(0,0,0,0.35) 20%,
        rgba(255,255,255,0.35) 52%,
        rgba(0,0,0,0.35) 74%);
      mix-blend-mode: multiply;
    }
    .hero-content {
      position: relative;
      z-index: 1;
      max-width: 1280px;
      width: 100%;
    }
    .hero-col {
      max-width: 560px;
      display: flex;
      flex-direction: column;
      gap: 32px;
    }
    .hero-text { display: flex; flex-direction: column; gap: 24px; }

    /* Header/1 style (text + image side-by-side, no bg) */
    .header1 {
      padding: var(--section-lg) var(--page-padding);
    }
    .header1-image {
      flex: 1;
      aspect-ratio: 1/1;
      border-radius: var(--radius-large);
      overflow: hidden;
      position: relative;
      min-height: 400px;
    }
    .header1-image img {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    /* ============================================================
       SECTION COMPONENTS
    ============================================================ */

    /* CTA centered text block */
    .cta-centered {
      display: flex;
      flex-direction: column;
      align-items: center;
      text-align: center;
      gap: 32px;
      max-width: 768px;
      margin: 0 auto;
    }
    .cta-centered .actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

    /* Quote / large text block */
    .quote-block {
      max-width: 768px;
      margin: 0 auto;
      text-align: center;
    }

    /* Cards row */
    .cards-row {
      display: flex;
      gap: 32px;
    }
    .card {
      border: 1px solid var(--color-neutral);
      border-radius: 16px;
      padding: 16px;
      flex: 1;
      display: flex;
      flex-direction: column;
      gap: 16px;
    }

    /* Service cards */
    .service-cards {
      display: flex;
      gap: 32px;
    }
    .service-card {
      background: var(--color-white);
      border-radius: var(--radius-medium);
      padding: 24px;
      flex: 1;
      display: flex;
      flex-direction: column;
      gap: 32px;
    }
    .service-card-body { flex: 1; display: flex; flex-direction: column; gap: 16px; }

    /* Checklist */
    .checklist {
      display: flex;
      flex-direction: column;
      gap: 16px;
    }
    .check-item {
      display: flex;
      gap: 16px;
      align-items: flex-start;
    }
    .check-icon {
      flex-shrink: 0;
      width: 24px;
      height: 24px;
    }

    /* Pillars */
    .pillars {
      display: flex;
      gap: 24px;
      padding: 8px 0;
    }
    .pillar {
      flex: 1;
      display: flex;
      flex-direction: column;
      gap: 16px;
    }

    /* CTA 39 – Quote with image */
    .cta39 {
      display: flex;
      border-radius: var(--radius-large);
      overflow: hidden;
    }
    .cta39-text {
      background: var(--color-white);
      flex: 1;
      padding: 48px;
      display: flex;
      flex-direction: column;
      gap: 24px;
    }
    .cta39-image {
      flex: 1;
      position: relative;
      min-height: 360px;
      overflow: hidden;
    }
    .cta39-image img {
      position: absolute;
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    /* Full-width image */
    .full-img {
      width: 100%;
      aspect-ratio: 1280/738;
      border-radius: var(--radius-large);
      overflow: hidden;
      position: relative;
    }
    .full-img img {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    /* Tall side image */
    .side-img {
      flex: 1;
      aspect-ratio: 600/640;
      border-radius: var(--radius-large);
      overflow: hidden;
      position: relative;
      min-height: 400px;
    }
    .side-img img {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    /* CTA 7 – banner */
    .cta7-inner {
      display: flex;
      gap: 32px;
      align-items: center;
    }
    .cta7-content {
      flex: 1;
      display: flex;
      flex-direction: column;
      gap: 24px;
    }

    /* Contact */
    .contact-inner {
      display: flex;
      gap: 80px;
      align-items: flex-start;
    }
    .contact-left { flex: 1; display: flex; flex-direction: column; gap: 24px; }
    .contact-right {
      width: 500px;
      display: flex;
      flex-direction: column;
      justify-content: flex-end;
      align-self: stretch;
      padding: 8px 0;
    }

    /* Stats section */
    .stats-row {
      display: flex;
      gap: 48px;
    }
    .stat {
      flex: 1;
      border-left: 1px solid var(--color-neutral-darkest);
      padding-left: 32px;
      display: flex;
      flex-direction: column;
      gap: 8px;
    }
    .stat-number {
      font-family: 'Roboto', var(--font-body);
      font-weight: 700;
      font-size: 80px;
      line-height: 1.3;
      color: var(--color-text);
    }
    .stat-label {
      font-family: var(--font-display);
      font-size: 20px;
      line-height: 1.4;
      color: var(--color-text);
    }

    /* Info box */
    .info-box {
      border: 1px solid var(--color-neutral);
      border-radius: 20px;
      padding: 24px;
      width: 100%;
    }
    .info-box-white {
      background: var(--color-white);
    }

    /* Approach cards */
    .approach-cards {
      display: flex;
      gap: 48px;
    }
    .approach-card {
      flex: 1;
      border: 1px solid var(--color-neutral-darkest);
      border-radius: var(--radius-medium);
      padding: 24px;
      display: flex;
      flex-direction: column;
      gap: 16px;
    }

    /* Layout 65b – two col text */
    .layout65 { display: flex; gap: 80px; align-items: flex-start; }
    .layout65-left { flex: 1; display: flex; flex-direction: column; gap: 16px; }
    .layout65-right { flex: 1; display: flex; flex-direction: column; gap: 32px; }

    /* ============================================================
       FOOTER
    ============================================================ */
    .footer-inner {
      max-width: 1280px;
      margin: 0 auto;
      display: flex;
      flex-direction: column;
      gap: 80px;
    }
    .footer-top {
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
    }
    .footer-logo-col { display: flex; flex-direction: column; gap: 32px; flex: 1; }
    .footer-links-row {
      display: flex;
      flex-wrap: wrap;
      gap: 32px;
      align-items: left;
    }
    .footer-links-row a {
      font-size: 14px;
      font-weight: 600;
      color: var(--color-text);
      transition: opacity 0.2s;
    }
    .footer-links-row a:hover { opacity: 0.6; }
    .footer-divider { height: 1px; background: var(--color-neutral); width: 100%; }
    .footer-bottom {
      display: flex;
      align-items: center;
      justify-content: space-between;
      flex-direction: column;
      gap: 32px;
    }
    .footer-credits { display: flex; flex-direction: column; gap: 32px; width: 100%; }
    .footer-credits-row {
      display: flex;
      align-items: center;
      justify-content: space-between;
    }
    .footer-legal { display: flex; gap: 24px; }
    .footer-legal a { font-size: 14px; color: var(--color-text); text-decoration: underline; }
    .footer-copyright { font-size: 14px; color: var(--color-text); }

    /* Testi section big title */
    .testi-title {
      font-family: var(--font-display);
      font-size: 90px;
      line-height: 1.2;
      font-weight: 400;
      color: var(--color-text);
      white-space: nowrap;
    }

    /* ============================================================
       RESPONSIVE
    ============================================================ */
    /* ============================================================
       TABLET (max 1100px)
    ============================================================ */
    @media (max-width: 1100px) {
      :root {
        --page-padding: 40px;
        --section-lg: 80px;
        --section-md: 60px;
      }
      .hero { height: 700px; border-radius: 0 0 60px 60px; }
      .h1 { font-size: 44px; }
      .h2 { font-size: 38px; }
      .h-super { font-size: 52px; }
      .testi-title { font-size: 60px; }
      .col-2 { gap: 48px; }
      .cta39 { flex-direction: column; }
      .cta39-image { min-height: 280px; }
      .stat-number { font-size: 60px; }
    }

    /* ============================================================
       MOBILE (max 768px) — Figma mobil tervek alapján (375px frame)
    ============================================================ */
    @media (max-width: 768px) {
      /* --- Alapértékek --- */
      :root {
        --page-padding: 20px;   /* Figma: padding-global = 20px */
        --section-lg:   64px;   /* Figma: padding-section-large = 64px (nem 112px!) */
        --section-md:   48px;   /* Figma: padding-section-medium = 48px */
        --radius-large: 48px;
      }

      /* --- Navbar: border + 64px magas, lekerekített --- */
      .navbar-wrap { padding: 20px 20px; }
      .navbar {
        border: 1px solid var(--color-neutral-darkest);
        border-radius: 64px;
        height: 64px;
        padding: 0 12px 0 20px;
      }
      .navbar-links { display: none; }
      .hamburger { display: flex; }

      /* --- Tipográfia (Figma mobil értékek) --- */
      .h1 { font-size: 40px; }   /* mobil főoldal hero: 56px → megtartva, de wrappel rendben */
      .h2 { font-size: 32px; }
      .h3 { font-size: 28px; }
      .h4 { font-size: 24px; }
      .h5 { font-size: 20px; }
      .h-super { font-size: 36px; white-space: normal; }
      .text-lg { font-size: 16px; }  /* Figma mobilon 16px body */

      /* --- "Testi Fel-lélegzés" cím --- */
      .testi-title { font-size: 36px; white-space: normal; text-align: center; }

      /* --- Hero: mobilon nincs teljes képes háttér-hero,
               a főoldalon Header/1 layout van (szöveg + kép egymás alatt) ---
           Ezért a hero szekciót normál section-ként kezeljük mobilon */
      .hero {
        height: auto;
        min-height: unset;
        padding-top: calc(64px + var(--section-lg)); /* navbar + section padding */
        padding-bottom: var(--section-lg);
        border-radius: 0 0 100px 100px;
      }
      /* A hero képet mobilon a szöveg alá tesszük */
      .hero-content { max-width: 100%; }
      .hero-col { max-width: 100%; gap: 24px; }
      .hero-text { gap: 20px; }

      /* --- Kétoszlopos layout → egymás alá --- */
      .col-2 {
        flex-direction: column;
        gap: 48px;      /* Figma: gap = 48px mobilon */
      }
      .col-2.center { align-items: flex-start; }
      /* Képek mindig a szöveg alá kerülnek mobilon (Figma: szöveg → kép sorrend) */
      .col-2.reverse-mobile { flex-direction: column; }

      /* --- Header1 layout mobilon: szöveg felül, kép alul --- */
      .header1 { padding-top: calc(80px + var(--section-lg)); }
      .header1-image {
        aspect-ratio: 1/1;   /* Figma: 335×335px = négyzet */
        min-height: unset;
        width: 100%;
        border-radius: var(--radius-large);
      }

      /* --- Kártyák: egymás alá, gap 48px (Figma Row gap) --- */
      .cards-row {
        flex-direction: column;
        gap: 48px;   /* Figma mobil: gap-[48px] a Row-ban */
      }

      /* --- Szolgáltatás kártyák: egymás alá, gap 48px --- */
      .service-cards {
        flex-direction: column;
        gap: 48px;
      }

      /* --- CTA 39: szöveg (32px padding) + kép alul --- */
      .cta39 { flex-direction: column; border-radius: var(--radius-large); }
      .cta39-text { padding: 32px; gap: 20px; }
      .cta39-image {
        min-height: 223px;  /* Figma: h-[223px] */
        width: 100%;
      }

      /* --- Pillérek --- */
      .pillars { flex-direction: column; gap: 32px; }

      /* --- Layout 65 (kétoszlopos szöveg) --- */
      .layout65 { flex-direction: column; gap: 20px; }

      /* --- CTA 7 banner --- */
      .cta7-inner { flex-direction: column; gap: 24px; }
      .cta7-content { gap: 12px; }

      /* --- Contact --- */
      .contact-inner { flex-direction: column; gap: 48px; }
      .contact-right { width: 100%; padding: 0; }

      /* --- Stats sor --- */
      .stats-row { flex-direction: column; gap: 28px; }
      .stat-number { font-size: 56px; }

      /* --- Megközelítés kártyák --- */
      .approach-cards { flex-direction: column; gap: 16px; }

      /* --- Oldalsó képek mobilon négyzet arányú --- */
      .side-img {
        aspect-ratio: 1/1;  /* Figma: 335×348 ≈ négyzet */
        min-height: unset;
        width: 100%;
        border-radius: var(--radius-large);
      }

      /* --- Nagy teljes szélességű kép --- */
      .full-img {
        aspect-ratio: 335/188;  /* Figma: aspect-[335/188] mobilon */
        border-radius: var(--radius-large);
      }

      /* --- Section-padded mobilon --- */
      .section-padded { padding: var(--section-lg) var(--page-padding); }

      /* --- Footer mobilon --- */
      .footer-top { flex-direction: column; gap: 48px; }
      .footer-links-row {
        flex-direction: column;
        gap: 16px;      /* Figma: gap-[16px] mobilon */
      }
      .footer-credits-row {
        flex-direction: column;
        gap: 32px;
        align-items: flex-start;
      }
      .footer-legal { flex-direction: column; gap: 16px; }
      .footer-credits { gap: 24px; }

      /* --- Hero mobilon: desktop elrejtése, mobil megjelenítése --- */
      .hero-desktop { display: none !important; }
      .hero-mobile { display: flex; }

      /* --- Navbar logo méret --- */
      .navbar-logo-text { font-size: 18px; }

      /* --- Gombok mobilon ne legyenek szélességgel nyújtva --- */
      .btn { white-space: normal; text-align: center; }

      /* --- CTA centered mobilon --- */
      .cta-centered { text-align: center; }
      .quote-block { text-align: left; }

      /* --- Info box --- */
      .info-box { padding: 20px; }

      /* --- Stats section belső padding --- */
      .stat { padding-left: 24px; }
    }

    /* --- Nagyon kis képernyő (375px) finomhangolás --- */
    @media (max-width: 400px) {
      .h1 { font-size: 36px; }
      .h2 { font-size: 28px; }
      .stat-number { font-size: 48px; }
      .testi-title { font-size: 30px; }
    }