/* ══════════════════════════════════════════
   VISCRI — Consolidated site stylesheet
   tokens + shared resets/components (global)
   page-specific rules scoped to body.home / body.app
   ══════════════════════════════════════════ */

/* ── Design tokens ── */
/* ══════════════════════════════════════════
   VISCRI — Consolidated site stylesheet
   tokens + shared resets (global)
   homepage rules scoped to body.home
   app-page rules scoped to body.app
   Common rules: homepage.css takes precedence.
   ══════════════════════════════════════════ */

/* ══════════════════════════════════════════
   VISCRI DESIGN TOKENS
   Source: Figma variables export 2026-06-18
   Collections: 1 Primitives · 2 Semantic (Light) · 3 Responsiveness
   ══════════════════════════════════════════ */

:root {

  /* ─────────────────────────────────────────
     COLOR PRIMITIVES
  ───────────────────────────────────────── */

  /* Neutral */
  --primitive-white:      #ffffff;
  --primitive-grey-50:    #f5f6f7;
  --primitive-grey-100:   #eeeff2;
  --primitive-grey-200:   #d7dae0;
  --primitive-grey-300:   #bdc2cc;
  --primitive-grey-400:   #a0a7b5;
  --primitive-grey-500:   #768094;
  --primitive-grey-600:   #697387;
  --primitive-grey-700:   #596273;
  --primitive-grey-800:   #4a515f;
  --primitive-grey-900:   #2d3139;

  /* Primary (blue) */
  --primitive-primary-50:  #e7effe;
  --primitive-primary-100: #cfdffc;
  --primitive-primary-200: #9fc1fa;
  --primitive-primary-300: #68a5f8;
  --primitive-primary-400: #3a89e3;
  --primitive-primary-500: #2f6fb8;
  --primitive-primary-600: #24568e;
  --primitive-primary-700: #1b406a;
  --primitive-primary-800: #132c49;
  --primitive-primary-900: #0b1b2c;

  /* Secondary (teal) */
  --primitive-secondary-50:  #d9f3fd;
  --primitive-secondary-100: #baebfc;
  --primitive-secondary-200: #90daf0;
  --primitive-secondary-300: #69bad1;
  --primitive-secondary-400: #4098b1;
  --primitive-secondary-500: #347c90;
  --primitive-secondary-600: #286071;
  --primitive-secondary-700: #1e4651;
  --primitive-secondary-800: #143039;
  --primitive-secondary-900: #0c1c21;

  /* Function */
  --primitive-error-100:   #fcd9d9;
  --primitive-error-600:   #d90000;
  --primitive-info-100:    #d4e3f2;
  --primitive-info-600:    #0060b9;
  --primitive-success-100: #cff0cc;
  --primitive-success-600: #0a8000;
  --primitive-warning-100: #ffe9e0;
  --primitive-warning-600: #e55800;

  /* ─────────────────────────────────────────
     SEMANTIC TOKENS — LIGHT MODE
  ───────────────────────────────────────── */

  /* Surface */
  --color-surface-primary:      var(--primitive-white);
  --color-surface-secondary:    var(--primitive-grey-50);
  --color-surface-tertiary:     var(--primitive-grey-900);
  --color-surface-hard-accent:  var(--primitive-primary-400);
  --color-surface-light-accent: var(--primitive-primary-50);
  --color-surface-disabled:     var(--primitive-grey-100);

  /* Text */
  --color-text-titles:       var(--primitive-grey-900);
  --color-text-body:         var(--primitive-grey-700);
  --color-text-inverted:     var(--primitive-white);
  --color-text-disabled:     var(--primitive-grey-400);
  --color-text-brand:        var(--primitive-primary-600);
  --color-text-brand-accent: var(--primitive-primary-400);

  /* Border */
  --color-border-subtle:   var(--primitive-grey-200);
  --color-border-brand:    var(--primitive-primary-500);
  --color-border-inverted: var(--primitive-white);
  --color-border-disabled: var(--primitive-grey-400);

  /* Button */
  --color-btn-primary:              var(--primitive-primary-400);
  --color-btn-primary-hover:        var(--primitive-primary-500);
  --color-btn-secondary-fill:       var(--primitive-white);
  --color-btn-secondary-fill-hover: var(--primitive-primary-50);
  --color-btn-secondary-outline:    var(--primitive-primary-500);

  /* ─────────────────────────────────────────
     TYPOGRAPHY
  ───────────────────────────────────────── */

  --font-title: 'Libre Baskerville', serif;
  --font-body:  'Bricolage Grotesque', sans-serif;

  --weight-regular: 400;
  --weight-medium:  600;  /* SemiBold */
  --weight-bold:    700;

  /* Font sizes — mobile */
  --size-xs:  14px;
  --size-sm:  18px;
  --size-md:  20px;
  --size-lg:  24px;
  --size-xl:  28px;
  --size-2xl: 32px;
  --size-3xl: 36px;
  --size-4xl: 40px;

  /* Line heights — mobile */
  --lh-sm:  18px;
  --lh-md:  24px;
  --lh-lg:  28px;
  --lh-xl:  32px;
  --lh-2xl: 36px;
  --lh-3xl: 40px;

  /* ─────────────────────────────────────────
     SPACING — mobile
  ───────────────────────────────────────── */
  --space-0-5: 3px;
  --space-1:   6px;
  --space-1-5: 9px;
  --space-2:   12px;
  --space-3:   18px;
  --space-4:   24px;
  --space-5:   30px;
  --space-8:   48px;
  --space-10:  60px;
  --space-16:  96px;
  --space-20:  120px;

  /* ─────────────────────────────────────────
     BORDER RADIUS
  ───────────────────────────────────────── */
  --radius-xs:     2px;
  --radius-s:      4px;
  --radius-m:      8px;
  --radius-l:      12px;
  --radius-xl:     16px;
  --radius-xxl:    32px;
  --radius-pill:   999px;
  --radius-circle: 50%;

  /* ─────────────────────────────────────────
     BORDER WIDTH
  ───────────────────────────────────────── */
  --border-xs: 1px;
  --border-s:  1.5px;
  --border-m:  2px;
  --border-l:  3px;
  --border-xl: 4px;
}
@media (min-width: 1024px) {
  :root {
    /* Font sizes — desktop */
    --size-2xl: 48px;
    --size-3xl: 56px;
    --size-4xl: 72px;

    /* Line heights — desktop */
    --lh-xl:  48px;
    --lh-2xl: 56px;
    --lh-3xl: 72px;

    /* Spacing — desktop */
    --space-0-5: 4px;
    --space-1:   8px;
    --space-1-5: 12px;
    --space-2:   16px;
    --space-3:   24px;
    --space-4:   32px;
    --space-5:   40px;
    --space-8:   64px;
    --space-10:  80px;
    --space-16:  128px;
    --space-20:  160px;
  }
}

/* ── Shared reset (global) ── */
/* ── Shared reset (global) ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
/* Plasă de siguranță: nimic nu are voie să lățească pagina pe orizontală
   (marginea albă la scroll pe mobil). `clip` nu creează scroll container;
   `hidden` e fallback-ul pentru browsere vechi. */
html, body { overflow-x: hidden; overflow-x: clip; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }

/* ══ Shared components (nav, footer, mobile menu — homepage canonical) ══ */
.site-nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    padding: var(--space-5) 0;
    transition: background 0.3s ease, padding 0.3s ease, box-shadow 0.3s ease;
}
.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-4);
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.nav-links a:hover { opacity: 0.7; }
.nav-lang:hover { opacity: 0.7; }
.footer-top {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    padding-bottom: var(--space-4);
}
/* Footer: cele 3 elemente de brand pe un singur rând — logo sat, wordmark, UNESCO
   ultimul. Global, IDENTIC pe toate paginile (home, app, stories, legal). */
.footer-brand {
    display: flex;
    flex-direction: row;
    gap: var(--space-4);
    align-items: center;
}
.footer-brand img { display: block; filter: brightness(0) invert(1); }
.footer-unesco { width: auto; height: 96px; }
.footer-brand-name {
    font-family: var(--font-title);
    font-size: 41px;
    font-weight: var(--weight-medium);
    color: var(--color-text-inverted);
    letter-spacing: 1px;
    line-height: var(--lh-xl);
}
.footer-brand-sub {
    font-family: var(--font-title);
    font-size: var(--size-xs);
    font-weight: var(--weight-medium);
    font-style: normal;
    color: var(--color-text-inverted);
    letter-spacing: -0.5px;
    line-height: 20px;
}
.footer-right {
    display: flex;
    gap: var(--space-5);
    align-items: baseline;
}
.footer-tagline {
    font-size: var(--size-xs);
    color: var(--color-text-inverted);
    line-height: var(--lh-sm);
    width: 375px;
}
.footer-address {
    font-size: var(--size-xs);
    color: var(--color-text-inverted);
    line-height: var(--lh-sm);
    white-space: nowrap;
}
.footer-social {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: var(--space-1);
}
.footer-social > span {
    font-size: var(--size-xs);
    color: var(--color-text-inverted);
    white-space: nowrap;
    line-height: var(--lh-sm);
}
.footer-social-icons {
    display: flex;
    gap: 16px;
    align-items: center;
}
.footer-social-icons a:hover { opacity: 1; }
.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: var(--space-2);
    border-top: var(--border-xs) solid var(--color-text-disabled);
    font-size: var(--size-xs);
    line-height: var(--lh-sm);
    color: var(--color-text-disabled);
    white-space: nowrap;
}
.footer-bottom-copy {
    font-weight: var(--weight-medium);
}
.footer-legal {
    display: flex;
    gap: var(--space-5);
}
.footer-legal a {
    color: var(--color-text-disabled);
    font-weight: var(--weight-regular);
    transition: color 0.2s ease;
}
.footer-legal a:hover { color: var(--color-text-inverted); }
.nav-hamburger { display: none; }
/* Meniul mobil = sertar (drawer) care alunecă din dreapta. Stă mereu în DOM,
   off-canvas prin translateX(100%) — display:none ar anula tranziția.
   Al doilea strat de box-shadow (0 0 0 100vmax) întunecă pagina din spate
   fără element de backdrop separat. */
.mobile-menu {
    position: fixed;
    top: 0; right: 0; bottom: 0;
    width: min(320px, 84vw);
    background: rgba(14, 49, 89, 0.97);
    z-index: 200;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: var(--space-3);
    padding: var(--space-16) var(--space-5) var(--space-5);
    overflow-y: auto;
    transform: translateX(100%);
    visibility: hidden;
    box-shadow: -12px 0 40px rgba(0, 0, 0, 0), 0 0 0 100vmax rgba(7, 22, 40, 0);
    transition: transform 0.3s ease, box-shadow 0.3s ease, visibility 0.3s;
}
.mobile-menu.open {
    transform: translateX(0);
    visibility: visible;
    box-shadow: -12px 0 40px rgba(0, 0, 0, 0.3), 0 0 0 100vmax rgba(7, 22, 40, 0.45);
}
.mobile-menu a {
    font-family: var(--font-body);
    font-size: 20px;
    font-weight: var(--weight-medium);
    color: var(--color-text-inverted);
    transition: opacity 0.2s ease;
}
.mobile-menu a:hover { opacity: 0.7; }
.mobile-menu-close {
    position: absolute;
    top: var(--space-4);
    right: var(--space-4);
    background: none;
    border: none;
    color: var(--color-text-inverted);
    font-size: 36px;
    line-height: 1;
    cursor: pointer;
    padding: var(--space-0-5) var(--space-1);
}

/* ══ HOMEPAGE  (body.home) ══ */
body.home {
    font-family: var(--font-body);
    background: #fafaf5;
    color: var(--color-text-titles);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
.home h1, .home h2 {
    font-family: var(--font-title);
    font-weight: var(--weight-bold);
    line-height: 1.15;
}
.home h3 {
    font-family: var(--font-body);
    font-size: var(--size-sm);
    font-weight: var(--weight-medium);
    color: var(--color-text-brand-accent);
}
.home .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-4);
}
.home .site-nav.scrolled {
    background: rgba(14, 49, 89, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: var(--space-3) 0;
    box-shadow: 0 2px 24px rgba(0, 0, 0, 0.2);
}
.home .nav-brand img {
    display: block;
    filter: brightness(0) invert(1);
}
.home .nav-links {
    display: flex;
    gap: var(--space-4);
    list-style: none;
}
.home .nav-links a {
    font-size: 15px;
    font-weight: 500;
    color: var(--color-text-inverted);
    letter-spacing: 0.1px;
    transition: opacity 0.2s ease;
}
.home .nav-lang {
    font-size: 15px;
    font-weight: 500;
    color: var(--color-text-inverted);
    letter-spacing: 0.1px;
    transition: opacity 0.2s ease;
}
.home .hero {
    position: sticky;
    top: 0;
    z-index: 0;
    height: 100vh;
    min-height: 680px;
    max-height: 960px;
    overflow: hidden;
}
.home .hero-bg {
    position: absolute;
    inset: 0;
}
.home .hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 35%;
}
.home .hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        270deg,
        rgba(14, 49, 89, 0.00) 0%,
        rgba(14, 49, 89, 0.20) 49.86%,
        rgba(14, 49, 89, 0.50) 100%
    );
}
.home .hero-overlay-bottom {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(14, 49, 89, 0.00) 0%,
        rgba(14, 49, 89, 0.40) 86.66%,
        rgba(14, 49, 89, 0.80) 100%
    );
}
.home .hero-content {
    position: relative;
    z-index: 1;
    height: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-4);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-8);
}
.home .hero-text {
    max-width: 400px;
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}
.home .hero-title-main {
    font-family: var(--font-title);
    font-style: italic;
    font-weight: var(--weight-regular);
    font-size: clamp(72px, 8.5vw, 120px);
    color: var(--color-text-inverted);
    line-height: 1;
    letter-spacing: -2px;
}
.home .hero-title-sub {
    font-family: var(--font-title);
    font-size: var(--size-xl);
    font-weight: var(--weight-medium);
    font-style: normal;
    color: var(--color-text-inverted);
    line-height: var(--lh-xl);
    letter-spacing: -1px;
}
.home .hero-badge {
    border-top: var(--border-xs) solid rgba(160, 167, 181, 0.7);
    border-bottom: var(--border-xs) solid rgba(160, 167, 181, 0.7);
    padding: var(--space-2) 0;
}
.home .hero-badge span {
    font-family: var(--font-body);
    font-size: var(--size-md);
    font-weight: var(--weight-medium);
    line-height: var(--lh-md);
    color: var(--color-text-inverted);
}
.home .hero-body {
    font-family: var(--font-body);
    font-size: var(--size-sm);
    font-weight: var(--weight-regular);
    font-style: normal;
    color: var(--color-text-inverted);
    line-height: var(--lh-md);
}
.home .hero-scroll {
    display: inline-flex;
    width: 36px;
    height: 36px;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-circle);
    border: var(--border-s) solid rgba(255, 255, 255, 0.5);
    transition: background 0.2s ease, border-color 0.2s ease;
}
.home .hero-scroll:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.9);
}
.home .hero-unesco-badge {
    flex-shrink: 0;
    background: #0e3159;
    border: var(--border-s) solid #5783b5;
    border-radius: 14px;
    padding: 28px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.home .hero-unesco-badge img {
    width: 90px;
    height: auto;
}
.home .guidelines, .home .activities, .home .heritage, .home .community, .home .gastronomie, .home .app-promo, .home .postcards, .home .contact, .home .hp-footer {
    position: relative;
    z-index: 1;
}
.home .guidelines {
    background: var(--color-surface-primary);
    padding: var(--space-10) 0;
}
.home .guidelines-header {
    text-align: center;
    margin-bottom: var(--space-8);
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
    align-items: center;
}
.home .guidelines-header h2 {
    font-size: clamp(32px, 3.5vw, 48px);
    color: var(--color-text-titles);
    letter-spacing: -1px;
}
.home .guidelines-sub {
    font-family: var(--font-title);
    font-size: var(--size-md);
    font-weight: var(--weight-bold);
    color: var(--color-text-brand);
    letter-spacing: -0.5px;
    line-height: var(--lh-lg);
    max-width: 640px;
}
.home .guidelines-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-4);
}
.home .guideline-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
}
.home .guideline-icon {
    width: 56px;
    height: 56px;
}
.home .guideline-item p {
    font-family: var(--font-body);
    font-size: var(--size-sm);
    font-weight: var(--weight-regular);
    color: var(--color-text-body);
    line-height: var(--lh-md);
}
.home .activities {
    background: var(--color-surface-secondary);
}
.home .activities-img-wrap {
    position: sticky;
    top: 0;
    height: 78vh;
    min-height: 400px;
    max-height: 960px;
    overflow: hidden;
    z-index: 0;
}
.home .activities-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 70%; /* ajustează procentajul: 0%=sus, 50%=centru, 100%=jos */
}
.home .activities-card {
    position: relative;
    z-index: 1;
    background: var(--color-surface-secondary);
}
.home .activities-card {
    padding: var(--space-10) 0;
}
.home .activities-content {
    display: flex;
    gap: var(--space-4);
    align-items: flex-start;
}
.home .activities-left {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}
.home .activities-left h2 {
    font-size: clamp(36px, 4vw, 56px);
    color: var(--color-text-titles);
    letter-spacing: -1px;
}
.home .activities-left p {
    font-family: var(--font-body);
    font-size: var(--size-md);
    font-weight: var(--weight-regular);
    color: var(--color-text-body);
    line-height: var(--lh-md);
}
.home .activities-right {
    flex: 1;
    min-width: 0;
    padding-left: var(--space-10);
}
.home .activities-right ul {
    list-style: disc;
    padding-left: 22px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.home .activities-right li {
    font-size: var(--size-sm);
    color: var(--color-text-body);
    line-height: var(--lh-md);
}
.home .heritage {
    background: var(--color-surface-secondary);
    padding: var(--space-8) 0 var(--space-16);
}
.home .heritage-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-4);
    display: flex;
    gap: var(--space-4);
    align-items: center;
}
.home .heritage-img {
    flex: none;
    width: 588px;
    height: 848px;
    border-radius: var(--radius-l);
    overflow: hidden;
}
.home .heritage-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.home .heritage-text {
    flex: 1;
    min-width: 0;
    padding-left: var(--space-10);
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}
.home .heritage-text h2 {
    font-size: clamp(36px, 4vw, 56px);
    color: var(--color-text-titles);
    letter-spacing: -1px;
}
.home .heritage-text p {
    font-family: var(--font-body);
    font-size: var(--size-sm);
    font-weight: var(--weight-regular);
    line-height: var(--lh-md);
    color: var(--color-text-body);
}
.home .community {
    background: var(--color-surface-secondary);
}
.home .community-img-wrap {
    position: sticky;
    top: 0;
    height: 78vh;
    min-height: 400px;
    max-height: 960px;
    overflow: hidden;
    z-index: 0;
}
.home .community-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}
.home .community-card {
    position: relative;
    z-index: 1;
    padding: var(--space-10) 0;
    background: var(--color-surface-secondary);
}
.home .community-content {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}
.home .community-content h2 {
    font-size: clamp(36px, 4vw, 56px);
    color: var(--color-text-titles);
    letter-spacing: -1px;
    max-width: 500px;
}
.home .community-cols {
    display: flex;
    gap: var(--space-10);
}
.home .community-cols p {
    flex: 1;
    min-width: 0;
    font-family: var(--font-body);
    font-size: var(--size-sm);
    font-weight: var(--weight-regular);
    color: var(--color-text-body);
    line-height: var(--lh-md);
}
.home .gastronomie {
    background: var(--color-surface-secondary);
    padding: var(--space-10) 0;
}
.home .gast-header {
    display: flex;
    gap: var(--space-8);
    align-items: flex-start;
    margin-bottom: var(--space-8);
    padding-bottom: var(--space-8);
    border-top: var(--border-xs) solid var(--color-border-subtle);
    padding-top: var(--space-10);
    margin-top: calc(-1 * var(--space-10));
}
.home .gast-header h2 {
    flex: 1;
    min-width: 0;
    font-size: clamp(32px, 4vw, 56px);
    color: var(--color-text-titles);
    letter-spacing: -1px;
}
.home .gast-header p {
    flex: 1;
    min-width: 0;
    font-family: var(--font-body);
    font-size: var(--size-md);
    font-weight: var(--weight-regular);
    color: var(--color-text-body);
    line-height: var(--lh-md);
}
.home .gast-card {
    background: var(--color-surface-primary);
    border-radius: var(--radius-xxl);
    padding: var(--space-5);
    box-shadow: 0 1px 1px rgba(0,0,0,0.04), 0 3px 10px rgba(0,0,0,0.08);
}
.home .gast-tabs {
    display: flex;
    gap: var(--space-2);
}
.home .gast-tab-btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-4);
    border-radius: var(--radius-pill);
    border: var(--border-m) solid var(--color-border-brand);
    background: var(--color-surface-primary);
    color: var(--color-text-brand);
    font-family: var(--font-body);
    font-size: var(--size-md);
    font-weight: var(--weight-bold);
    cursor: pointer;
    transition: background 0.2s ease;
    line-height: 1;
}
.home .gast-tab-btn.active {
    background: var(--color-surface-light-accent);
}
.home .gast-tab-btn:hover:not(.active) {
    background: #f4f7fd;
}
.home .gast-layout {
    display: flex;
    gap: 0;
    align-items: stretch;
}
.home .gast-media-wrap {
    flex: 1;
    min-width: 0;
    min-height: 400px;
    display: flex;
    flex-direction: column;
}
.home .gast-media-panel {
    display: none;
    flex: 1;
    flex-direction: column;
}
.home .gast-media-panel.active {
    display: flex;
}
.home .gast-media-panel > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-m);
    display: block;
}
.home .gast-right {
    flex: 1;
    min-width: 0;
    padding-left: var(--space-10);
    padding-right: var(--space-5);
    display: flex;
    flex-direction: column;
    gap: var(--space-5);
}
.home .gast-text-panel {
    display: none;
    flex-direction: column;
    gap: var(--space-4);
}
.home .gast-text-panel.active {
    display: flex;
}
.home .gast-text-panel p {
    font-family: var(--font-body);
    font-size: var(--size-sm);
    font-weight: var(--weight-regular);
    color: var(--color-text-body);
    line-height: var(--lh-md);
}
.home .stai-gallery {
    display: flex;
    flex-direction: column;
    gap: var(--space-0-5);
    height: 100%;
    min-height: 400px;
}
.home .stai-main-wrap {
    position: relative;
    flex: 1;
    min-height: 0;
    border-radius: var(--radius-m);
    overflow: hidden;
}
.home .stai-main-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: var(--radius-m);
    transition: opacity 0.25s ease;
}
.home .stai-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    border-radius: var(--radius-pill);
    border: none;
    background: var(--color-surface-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.18);
    transition: background 0.2s ease;
    color: var(--color-text-titles);
}
.home .stai-arrow:hover { background: #f0f0f0; }
.home .stai-arrow--prev { left: 12px; }
.home .stai-arrow--next { right: 12px; }
.home .stai-thumbs {
    display: flex;
    gap: var(--space-0-5);
    height: 110px;
    flex-shrink: 0;
}
.home .stai-thumb {
    flex: 1;
    min-width: 0;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-m);
    cursor: pointer;
    transition: opacity 0.2s ease;
}
.home .stai-thumb:hover { opacity: 0.82; }
.home .app-promo {
    background: var(--color-surface-secondary);
    padding: 0 0 var(--space-5);
}
.home .app-card {
    background: var(--color-surface-primary);
    border-radius: var(--radius-xxl);
    padding: var(--space-10) 0 var(--space-5);
    display: flex;
    gap: var(--space-1);
    align-items: center;
    justify-content: center;
}
.home .app-text {
    flex: none;
    width: 500px;
    display: flex;
    flex-direction: column;
    gap: var(--space-5);
}
.home .app-headline {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}
.home .app-text h2 {
    font-size: clamp(36px, 4vw, 56px);
    color: var(--color-text-brand);
    letter-spacing: -1px;
}
.home .app-text p {
    font-family: var(--font-body);
    font-size: var(--size-md);
    font-weight: var(--weight-regular);
    color: var(--color-text-titles);
    line-height: var(--lh-md);
}
.home .btn-app {
    display: inline-flex;
    align-items: center;
    padding: 18px var(--space-4);
    border-radius: var(--radius-pill);
    background: var(--color-btn-primary);
    color: var(--color-text-inverted);
    font-size: 16px;
    font-weight: var(--weight-bold);
    transition: background 0.2s ease, transform 0.2s ease;
    align-self: flex-start;
}
.home .btn-app:hover {
    background: var(--color-btn-primary-hover);
    transform: translateY(-2px);
}
.home .app-mockup {
    flex-shrink: 0;
    width: 438px;
    height: 553px;
}
.home .app-mockup img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.home .postcards {
    background: var(--color-surface-secondary);
    padding: var(--space-16) 0 var(--space-10);
}
.home .postcards-header {
    display: flex;
    gap: var(--space-8);
    align-items: flex-start;
    margin-bottom: var(--space-8);
}
.home .postcards-header h2 {
    flex: 1;
    min-width: 0;
    font-size: clamp(32px, 3.5vw, 48px);
    color: var(--color-text-titles);
    letter-spacing: -1px;
}
.home .postcards-header-text {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: var(--space-1);
}
.home .postcards-header-text p {
    font-family: var(--font-body);
    font-size: var(--size-md);
    font-weight: var(--weight-regular);
    color: var(--color-text-body);
    line-height: var(--lh-md);
}
.home .postcards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: 264px auto;
    gap: var(--space-0-5);
    border-radius: var(--radius-m);
    overflow: hidden;
}
.home .pc {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.home .pc-zoomable {
    cursor: zoom-in;
    transition: opacity 0.2s ease;
}
.home .pc-zoomable:hover { opacity: 0.88; }
.home .pc-lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 500;
    background: rgba(0, 0, 0, 0.85);
    align-items: center;
    justify-content: center;
}
.home .pc-lightbox.open { display: flex; }
.home .pc-lightbox-img {
    width: 80vw;
    height: auto;
    max-height: 80vh;
    object-fit: contain;
    border-radius: var(--radius-m);
    display: block;
    box-shadow: 0 8px 48px rgba(0, 0, 0, 0.5);
}
.home .pc-lightbox-close {
    position: absolute;
    top: 24px;
    right: 24px;
    background: rgba(255, 255, 255, 0.15);
    border: none;
    border-radius: var(--radius-circle);
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease;
}
.home .pc-lightbox-close:hover { background: rgba(255, 255, 255, 0.25); }
.home .pc-r1c1 { grid-row: 1; grid-column: 1; height: 264px; }
.home .pc-r1c2 { grid-row: 1; grid-column: 2; }
.home .pc-r1c3 { grid-row: 1; grid-column: 3; }
.home .pc-r2c1 { grid-row: 2; grid-column: 1; min-height: 220px; }
.home .pc-r2c2 { grid-row: 2; grid-column: 2; aspect-ratio: 3/2; }
.home .pc-r2c3 { grid-row: 2; grid-column: 3; height: 264px; }
.home .contact {
    background: var(--color-surface-secondary);
    padding: var(--space-10) 0 var(--space-16);
}
.home .contact-inner {
    display: flex;
    gap: var(--space-8);
    align-items: flex-start;
}
.home .contact-text {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}
.home .contact-text h2 {
    font-size: clamp(32px, 3.5vw, 48px);
    color: var(--color-text-titles);
    letter-spacing: -1px;
}
.home .contact-text p {
    font-family: var(--font-body);
    font-size: var(--size-md);
    font-weight: var(--weight-regular);
    color: var(--color-text-body);
    line-height: var(--lh-md);
}
.home .contact-form {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
}
.home .form-field {
    display: flex;
    flex-direction: column;
    gap: var(--space-1);
    padding: var(--space-2) 0;
    border-bottom: var(--border-xs) solid var(--color-border-subtle);
}
.home .form-field label {
    font-size: 17px;
    font-weight: var(--weight-medium);
    color: var(--color-text-body);
}
.home .form-field input, .home .form-field textarea {
    font-family: var(--font-body);
    font-size: 19px;
    font-weight: var(--weight-regular);
    color: var(--color-text-titles);
    background: transparent;
    border: none;
    outline: none;
    width: 100%;
    resize: none;
    line-height: 1.5;
}
.home .form-field input::placeholder, .home .form-field textarea::placeholder {
    color: var(--color-text-disabled);
}
.home .form-field--tall { padding-bottom: 20px; }
.home .form-checkbox {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    padding: 20px 0 var(--space-4);
}
.home .form-checkbox input[type="checkbox"] {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    cursor: pointer;
    accent-color: var(--color-text-brand);
}
.home .form-checkbox label {
    font-size: 17px;
    color: var(--color-text-body);
    cursor: pointer;
}
.home .btn-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 20px var(--space-4);
    border-radius: var(--radius-pill);
    border: none;
    background: var(--color-btn-primary);
    color: var(--color-text-inverted);
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: var(--weight-bold);
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
    align-self: flex-start;
}
.home .btn-submit:hover {
    background: var(--color-btn-primary-hover);
    transform: translateY(-2px);
}
.home .contact-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: var(--space-5);
}
.home .contact-info-item {
    display: flex;
    flex-direction: column;
    gap: var(--space-1);
    padding-bottom: var(--space-4);
    border-bottom: var(--border-xs) solid var(--color-border-subtle);
}
.home .contact-info-item p {
    font-family: var(--font-body);
    font-size: var(--size-sm);
    font-weight: var(--weight-regular);
    color: var(--color-text-titles);
    line-height: var(--lh-md);
}
.home .contact-info-item a {
    color: var(--color-text-brand);
    text-decoration: none;
}
.home .contact-info-item a:hover {
    text-decoration: underline;
}
.home .hp-footer {
    background: var(--color-surface-tertiary);
    padding: var(--space-5) 0 var(--space-3);
    color: var(--color-text-inverted);
}
.home .footer-social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.8;
    transition: opacity 0.2s ease;
}

/* ══ APP PAGES  (body.app) ══ */
body.app {
    font-family: var(--font-body);
    background-color: var(--color-surface-light-accent); /* #e7effe */
    color: var(--color-text-titles);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
.app h1, .app h2, .app h3 {
    font-family: var(--font-title);
    font-weight: var(--weight-bold);
    line-height: 1.25;
}
.app .container {
    max-width: 1170px;
    margin: 0 auto;
    padding: 0 var(--space-4);
}
.app .site-nav.scrolled {
    background: rgba(14, 49, 89, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: var(--space-3) 0;
    box-shadow: 0 2px 24px rgba(0,0,0,0.2);
}
.app .site-nav--light {
    background: transparent;
}
.app .site-nav--light.scrolled {
    background: rgba(14, 49, 89, 0.5);
    box-shadow: 0 2px 24px rgba(0,0,0,0.2);
}
.app .site-nav--light .nav-brand img {
    display: block;
    filter: brightness(0) saturate(100%) invert(27%) sepia(54%) saturate(677%) hue-rotate(185deg) brightness(95%) contrast(95%);
}
.app .site-nav--light.scrolled .nav-brand img {
    filter: brightness(0) invert(1);
}
.app .nav-links {
    display: flex;
    gap: var(--space-4);
    list-style: none;
    align-items: center;
}
.app .site-nav--light .nav-links a {
    font-size: 15px;
    font-weight: var(--weight-medium);
    color: var(--color-text-brand);
    letter-spacing: 0.1px;
    transition: opacity 0.2s ease;
}
.app .site-nav--light.scrolled .nav-links a {
    color: var(--color-text-inverted);
}
.app .nav-lang {
    font-size: 15px;
    font-weight: var(--weight-medium);
    letter-spacing: 0.1px;
    transition: opacity 0.2s ease;
}
.app .site-nav--light .nav-lang { color: var(--color-text-brand); }
.app .site-nav--light.scrolled .nav-lang { color: var(--color-text-inverted); }
.app .hero {
    padding: 140px 0 60px; /* 140px = nav height + spacing */
    background: linear-gradient(180deg, var(--color-surface-primary) 0%, var(--color-surface-light-accent) 100%);
}
.app .hero .container {
    display: flex;
    align-items: center;
    gap: var(--space-8);
}
.app .hero-content {
    flex: 1;
    min-width: 0;
}
.app .hero-eyebrow {
    display: inline-block;
    font-family: var(--font-body);
    font-size: var(--size-xs);
    font-weight: var(--weight-regular);
    letter-spacing: 1px;
    color: var(--color-text-brand-accent);
    margin-bottom: var(--space-2);
}
.app .hero-eyebrow strong { font-weight: var(--weight-bold); }
.app .hero-content h1 {
    font-size: clamp(36px, 4vw, 56px);
    color: var(--color-text-brand);
    margin-bottom: var(--space-2);
    line-height: 1;
    letter-spacing: -1px;
}
.app .hero-subtitle {
    font-family: var(--font-body);
    font-size: var(--size-md);
    font-weight: var(--weight-regular);
    color: var(--color-text-body);
    max-width: 400px;
    margin-bottom: var(--space-4);
    line-height: var(--lh-md);
}
.app .btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px var(--space-4);
    border-radius: var(--radius-pill);
    background: var(--color-btn-primary);
    color: var(--color-text-inverted);
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: var(--weight-medium);
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}
.app .btn-primary:hover {
    background: var(--color-btn-primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(58, 137, 227, 0.3);
}
.app .hero-mockup {
    flex-shrink: 0;
    width: 420px;
}
.app .hero-mockup img { width: 100%; height: auto; }
.app .features {
    padding: 100px 0 80px;
    background: var(--color-surface-light-accent);
}
.app .section-header {
    text-align: center;
    margin-bottom: 56px;
}
.app .section-header h2 {
    font-size: clamp(28px, 3vw, 36px);
    color: var(--color-text-brand);
    margin-bottom: var(--space-1-5);
}
.app .section-header p {
    font-family: var(--font-body);
    font-size: var(--size-md);
    font-weight: var(--weight-regular);
    color: var(--color-text-body);
    line-height: var(--lh-md);
}
.app .features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.app .feature-card {
    background: var(--color-surface-primary);
    border-radius: var(--radius-xl);
    padding: var(--space-5) 28px;
    border: var(--border-xs) solid var(--color-border-subtle);
    transition: all 0.3s ease;
}
.app .feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.08);
    border-color: var(--primitive-grey-300);
}
.app .feature-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-l);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-3);
}
.app .feature-icon svg { width: 28px; height: 28px; }
.app .feature-icon.map { background: #00850D; }
.app .feature-icon.patrimony { background: #0E3159; }
.app .feature-icon.hiking { background: #70CC00; }
.app .feature-icon.accommodation { background: #166FDB; }
.app .feature-icon.activities { background: #807265; }
.app .feature-icon.guide { background: #C07300; }
.app .feature-card h3 {
    font-family: var(--font-title);
    font-size: var(--size-lg);
    font-weight: var(--weight-bold);
    color: var(--color-text-brand);
    line-height: var(--lh-xl);
    margin-bottom: var(--space-1);
}
.app .feature-card p {
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: var(--weight-regular);
    color: var(--color-text-body);
    line-height: var(--lh-md);
}
.app .screenshots {
    padding: 80px 0 100px;
    background: linear-gradient(180deg, var(--color-surface-light-accent) 0%, #dce6f0 50%, var(--color-surface-light-accent) 100%);
}
.app .screenshots-track {
    display: flex;
    gap: var(--space-5);
    justify-content: center;
    flex-wrap: wrap;
}
.app .screenshot-item {
    text-align: center;
    flex-shrink: 0;
}
.app .screenshot-frame {
    width: 200px;
    margin-bottom: 14px;
    transition: all 0.3s ease;
}
.app .screenshot-frame img { width: 100%; display: block; }
.app .screenshot-item:hover .screenshot-frame { transform: translateY(-6px); }
.app .screenshot-caption {
    font-family: var(--font-body);
    font-size: var(--size-xs);
    font-weight: var(--weight-medium);
    color: var(--color-text-brand);
    line-height: var(--lh-md);
    text-align: center;
}
.app .unesco {
    position: relative;
    padding: 100px 0;
    background: url('../images/hero-viscri.jpg') center 30%/cover no-repeat;
    text-align: center;
    color: var(--color-text-inverted);
}
.app .unesco::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(14, 49, 89, 0.65);
}
.app .unesco .container {
    position: relative;
    z-index: 1;
}
.app .unesco-emblem {
    width: 100px;
    height: auto;
    margin: 0 auto 24px;
}
.app .unesco h2 {
    font-family: var(--font-title);
    font-size: var(--size-lg);
    font-weight: var(--weight-bold);
    color: var(--color-text-inverted);
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: var(--space-0-5);
}
.app .unesco h3 {
    font-family: var(--font-body);
    font-size: var(--size-xs);
    font-weight: var(--weight-medium);
    color: var(--color-text-inverted);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: var(--space-3);
    opacity: 0.8;
}
.app .unesco p {
    font-family: var(--font-body);
    font-size: var(--size-sm);
    font-weight: var(--weight-regular);
    color: var(--color-text-inverted);
    line-height: var(--lh-md);
    max-width: 700px;
    margin: 0 auto;
}
.app .final-cta {
    padding: 80px 0 100px;
    text-align: center;
    background: var(--color-surface-light-accent);
}
.app .final-cta-divider {
    width: 1014px;
    max-width: 100%;
    height: 1px;
    margin: 0 auto 48px;
    background: linear-gradient(90deg, transparent, var(--color-border-brand), transparent);
}
.app .final-cta .brand-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 24px;
}
.app .final-cta h2 {
    font-size: clamp(28px, 3vw, 36px);
    color: var(--color-text-brand);
    margin-bottom: var(--space-1);
}
.app .final-cta h2 strong {
    color: var(--color-text-brand);
    font-weight: var(--weight-bold);
}
.app .final-cta-subtitle {
    font-family: var(--font-body);
    font-size: var(--size-md);
    font-weight: var(--weight-regular);
    color: var(--color-text-body);
    line-height: var(--lh-md);
    margin-bottom: var(--space-4);
}
.app .store-options {
    display: flex;
    gap: var(--space-5);
    justify-content: center;
    flex-wrap: wrap;
    margin-top: var(--space-2);
}
.app .store-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-4);
}
.app .store-badge {
    display: inline-block;
    transition: transform 0.3s ease;
}
.app .store-badge:hover { transform: translateY(-2px); }
.app .store-badge img { height: 48px; width: auto; display: block; }
.app .store-qr {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-1);
}
.app .store-qr img {
    width: 150px;
    height: 150px;
    padding: var(--space-2);
    background: var(--color-surface-primary);
    border: var(--border-xs) solid var(--color-border-subtle);
    border-radius: var(--radius-l);
}
.app .store-qr span {
    font-size: var(--size-xs);
    color: var(--color-text-body);
}
.app .hp-footer {
    background: var(--color-surface-tertiary);
    padding: var(--space-5) 0 var(--space-3);
    color: var(--color-text-inverted);
    font-family: var(--font-body);
}
.app .footer-social-icons a {
    display: flex;
    align-items: center;
    opacity: 0.8;
    transition: opacity 0.2s ease;
}
.app .scroll-top {
    position: fixed;
    bottom: var(--space-4);
    right: var(--space-4);
    z-index: 100;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-circle);
    background: var(--color-text-brand);
    color: var(--color-text-inverted);
    border: none;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(14, 49, 89, 0.25);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.25s ease, transform 0.25s ease, background 0.25s ease, visibility 0.25s ease;
}
.app .scroll-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.app .scroll-top:hover {
    background: var(--color-text-brand-accent);
    transform: translateY(-2px);
}
.app .scroll-top svg { width: 20px; height: 20px; }

/* ══════════════════════════════════════════
   GAZDE & BUCATE  —  collection pages (body.stories)
   Listing grid + editorial article layout
   ══════════════════════════════════════════ */
body.stories {
    font-family: var(--font-body);
    background: #fafaf5;
    color: var(--color-text-titles);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
.stories h1, .stories h2 {
    font-family: var(--font-title);
    font-weight: var(--weight-bold);
    line-height: 1.15;
}
.stories h3 {
    font-family: var(--font-body);
    font-size: var(--size-sm);
    font-weight: var(--weight-medium);
    color: var(--color-text-brand-accent);
}
.stories .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-4);
}

/* ── Nav (solid over brand-blue header) ── */
.stories .site-nav { background: #0e3159; }
.stories .site-nav.scrolled {
    background: rgba(14, 49, 89, 0.92);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: var(--space-3) 0;
    box-shadow: 0 2px 24px rgba(0, 0, 0, 0.2);
}
.stories .nav-brand img { display: block; filter: brightness(0) invert(1); }
.stories .nav-links { display: flex; gap: var(--space-4); list-style: none; }
.stories .nav-links a,
.stories .nav-lang {
    font-size: 15px;
    font-weight: 500;
    color: var(--color-text-inverted);
    letter-spacing: 0.1px;
    transition: opacity 0.2s ease;
}
.stories .nav-links a.is-active { color: var(--primitive-secondary-200); }

/* ── Listing hero ── */
.stories .stories-hero {
    background: #0e3159;
    color: var(--color-text-inverted);
    padding: 160px 0 var(--space-10);
}
.stories .stories-hero .container {
    max-width: 760px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-3);
}
.stories .stories-hero .eyebrow {
    font-family: var(--font-body);
    font-size: var(--size-xs);
    font-weight: var(--weight-medium);
    letter-spacing: 2px;
    color: var(--primitive-secondary-200);
}
.stories .stories-hero h1 {
    font-size: clamp(40px, 5vw, 64px);
    letter-spacing: -1px;
    color: var(--color-text-inverted);
}
.stories .stories-hero p {
    font-family: var(--font-title);
    font-size: var(--size-md);
    font-weight: var(--weight-regular);
    color: var(--primitive-grey-200);
    line-height: var(--lh-lg);
    max-width: 620px;
}

/* ── Listing grid ── */
.stories .stories-listing { padding: var(--space-10) 0 var(--space-16); }
.stories .stories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-5);
}
.stories .story-card {
    display: flex;
    flex-direction: column;
    background: var(--color-surface-primary);
    border: var(--border-xs) solid var(--color-border-subtle);
    border-radius: var(--radius-l);
    overflow: hidden;
    transition: box-shadow 0.25s ease;
}
.stories .story-card:hover {
    box-shadow: 0 14px 36px rgba(14, 49, 89, 0.12);
}
.stories .story-card-img {
    aspect-ratio: 3 / 2;
    overflow: hidden;
    border-radius: var(--radius-l) var(--radius-l) 0 0;
}
.stories .story-card-img img {
    width: 100%; height: 100%;
    object-fit: cover;
    border-radius: inherit;
}
.stories .story-card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
    padding: var(--space-4);
}
.stories .story-card-date {
    font-size: var(--size-xs);
    font-weight: var(--weight-medium);
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--color-text-brand-accent);
}
.stories .story-card h2 {
    font-size: var(--size-lg);
    line-height: 1.25;
    letter-spacing: -0.5px;
    color: var(--color-text-titles);
}
.stories .story-card p {
    font-size: 16px;
    color: var(--color-text-body);
    line-height: var(--lh-md);
}
.stories .story-card-link {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 15px;
    font-weight: var(--weight-bold);
    color: var(--color-text-brand);
}
.stories .story-card-link svg { transition: transform 0.25s ease; }
.stories .story-card:hover .story-card-link svg { transform: translateX(4px); }

/* ── Article page (sticky scroll reveal: pinned photo, text sheet slides over) ── */
.stories .article { position: relative; }
.stories .article-hero-img {
    position: sticky;
    top: 0;
    z-index: 0;
    height: 72vh;
    min-height: 380px;
    max-height: 680px;
    overflow: hidden;
}
.stories .article-hero-img img { width: 100%; height: 100%; object-fit: cover; }
.stories .article-body {
    position: relative;
    z-index: 1;
    background: #fafaf5;
    margin-top: calc(-1 * var(--space-8));
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
    padding: var(--space-8) 0 var(--space-10);
    box-shadow: 0 -12px 48px rgba(14, 49, 89, 0.12);
}
.stories .article-body-wrap {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 var(--space-4);
}
.stories .article-card {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}
.stories .article-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 15px;
    font-weight: var(--weight-bold);
    color: var(--color-text-brand);
    margin-bottom: var(--space-2);
}
.stories .article-back:hover { opacity: 0.75; }
.stories .article-date {
    font-size: var(--size-xs);
    font-weight: var(--weight-medium);
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--color-text-brand-accent);
}
.stories .article-title {
    font-size: clamp(30px, 4vw, 46px);
    letter-spacing: -1px;
    line-height: 1.12;
    color: var(--color-text-titles);
}
.stories .article-content {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    margin-top: var(--space-3);
}
.stories .article-content p {
    font-size: var(--size-sm);
    line-height: 1.75;
    color: var(--color-text-body);
}
.stories .article-content h3 {
    font-family: var(--font-title);
    font-size: var(--size-lg);
    font-weight: var(--weight-bold);
    color: var(--color-text-titles);
    margin-top: var(--space-2);
}
.stories .article-content ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-left: 22px;
    list-style: disc;
}
.stories .article-content li {
    font-size: var(--size-sm);
    line-height: 1.75;
    color: var(--color-text-body);
}
.stories .article-content a {
    color: var(--color-text-brand);
    text-decoration: underline;
    word-break: break-word;
}

/* ── More stories ── */
.stories .stories-more {
    background: var(--color-surface-secondary);
    padding: var(--space-10) 0 var(--space-16);
}
.stories .stories-more h2 {
    font-size: clamp(28px, 3vw, 40px);
    letter-spacing: -1px;
    color: var(--color-text-titles);
    margin-bottom: var(--space-5);
}
.stories .stories-grid--more { grid-template-columns: repeat(3, 1fr); }

/* ── Footer (same dark surface as homepage) ── */
.stories .hp-footer {
    background: var(--color-surface-tertiary);
    padding: var(--space-5) 0 var(--space-3);
    color: var(--color-text-inverted);
}
.stories .footer-social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.8;
    transition: opacity 0.2s ease;
}

/* ══ Responsive ══ */
@media (max-width: 1024px) {
  .home .guidelines-grid { grid-template-columns: repeat(2, 1fr); gap: 40px; }
  .home .activities-right { padding-left: 40px; }
  .home .heritage-text { padding-left: 40px; }
  .home .community-cols { gap: 40px; }
  .home .gast-header { flex-direction: column; gap: 16px; }
  .home .gast-right { padding-left: 40px; padding-right: 0; }
  .home .app-card { padding: 60px 40px 40px; gap: 24px; }
  .home .app-text { width: auto; flex: 1; }
  .home .app-mockup { width: 340px; height: auto; }
  .home .footer-right { gap: 24px; }
  .stories .stories-grid,
  .stories .stories-grid--more { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1024px) {
  .app .hero-content h1 { font-size: 44px; line-height: 44px; }
  .app .hero-mockup { width: 340px; }
  .app .features-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .site-nav { padding: 20px 0; }
  /* Ascunde meniul desktop pe TOATE scope-urile: .home/.app/.stories declară
     display:flex cu specificitate mai mare, deci `.nav-links` singur nu ajunge
     (bug istoric: meniul desktop reapărea pe mobil și lățea pagina). */
  .nav-links,
  .home .nav-links,
  .app .nav-links,
  .stories .nav-links { display: none; }
  .nav-hamburger {
        display: flex;
        align-items: center;
        justify-content: center;
        background: none;
        border: none;
        cursor: pointer;
        padding: 4px;
    }
  .footer-top { flex-direction: column; align-items: flex-start; gap: 32px; }
  .footer-right { flex-direction: column; align-items: flex-start; gap: 20px; }
  .footer-brand { gap: var(--space-3); }
  .footer-unesco { height: 72px; }
  .footer-social { align-items: flex-start; }
  .stories .nav-hamburger img { filter: brightness(0) invert(1); }
  .stories .stories-hero { padding: 110px 0 60px; }
  .stories .stories-grid,
  .stories .stories-grid--more { grid-template-columns: 1fr; }
  .stories .article-hero-img { height: 48vh; min-height: 280px; }
  .stories .article-body { margin-top: calc(-1 * var(--space-5)); padding: var(--space-5) 0 var(--space-8); }
  .stories .article-content p, .stories .article-content li { font-size: 17px; }
}

@media (max-width: 768px) {
  .home .nav-hamburger img {
        width: 28px;
        height: 28px;
        filter: brightness(0) invert(1);
    }
  .home .hero-content { flex-direction: column; justify-content: center; align-items: flex-start; }
  .home .hero-unesco-badge { display: none; }
  .home .hero-title-main { font-size: clamp(60px, 14vw, 90px); }
  .home .guidelines { padding: 60px 0; }
  .home .guidelines-grid { grid-template-columns: repeat(2, 1fr); }
  .home .activities-content { flex-direction: column; }
  .home .activities-right { padding-left: 0; padding-top: 8px; }
  .home .heritage-inner { flex-direction: column; }
  .home .heritage-img { max-height: 400px; }
  .home .heritage-text { padding-left: 0; padding-top: 8px; }
  .home .heritage { padding-bottom: 64px; }
  .home .community-img-wrap { height: 420px; }
  .home .community-cols { flex-direction: column; gap: 20px; }
  .home .gastronomie { padding: 60px 0; }
  .home .gast-layout { flex-direction: column; }
  .home .gast-media-wrap { min-height: 280px; }
  .home .gast-right { padding-left: 0; padding-top: 0; gap: 24px; }
  .home .gast-card { padding: 24px; border-radius: 20px; }
  .home .app-card { flex-direction: column; padding: 40px 40px 40px; gap: 32px; }
  .home .app-text { width: 100%; }
  .home .app-mockup { width: 100%; max-width: 340px; height: auto; align-self: center; }
  .home .postcards { padding: 80px 0 60px; }
  .home .postcards-header { flex-direction: column; gap: 16px; }
  .home .postcards-grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .home .pc-r1c1, .home .pc-r1c2, .home .pc-r1c3, .home .pc-r2c1, .home .pc-r2c2, .home .pc-r2c3 {
        grid-column: auto; grid-row: auto; height: 180px; aspect-ratio: unset;
    }
  .home .contact { padding: 60px 0 80px; }
  .home .contact-inner { flex-direction: column; gap: 40px; }
  .home .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
}

@media (max-width: 768px) {
  .app .nav-hamburger img {
        width: 28px;
        height: 28px;
    }
  .app .site-nav--light .nav-hamburger img {
        filter: brightness(0) saturate(100%) invert(27%) sepia(54%) saturate(677%) hue-rotate(185deg) brightness(95%) contrast(95%);
    }
  .app .site-nav--light.scrolled .nav-hamburger img {
        filter: brightness(0) invert(1);
    }
  .app .hero { padding: 100px 0 40px; }
  .app .hero .container { flex-direction: column; text-align: center; }
  .app .hero-content h1 { font-size: 36px; line-height: 38px; }
  .app .hero-subtitle { margin-left: auto; margin-right: auto; }
  .app .hero-mockup { width: 300px; order: -1; }
  .app .section-header h2 { font-size: 28px; }
  .app .features { padding: 60px 0; }
  .app .features-grid { grid-template-columns: 1fr; gap: 16px; }
  .app .screenshots { padding: 60px 0 80px; }
  .app .screenshots-track {
        flex-wrap: nowrap;
        justify-content: flex-start;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        padding: 0 var(--space-4) 16px;
        gap: var(--space-3);
    }
  .app .screenshot-item {
        scroll-snap-align: center;
        min-width: 200px;
        flex: 0 0 200px;
    }
  .app .screenshot-frame { width: 100%; }
  .app .final-cta { padding: 60px 0 80px; }
  .app .final-cta h2 { font-size: 28px; }
  /* Pe mobil utilizatorul e deja pe telefon — atinge badge-ul, QR-ul e redundant */
  .app .store-qr { display: none; }
  .app .footer-bottom { flex-direction: column; gap: 12px; text-align: center; white-space: normal; }
}

@media (max-width: 480px) {
  .home .guidelines-grid { grid-template-columns: 1fr; }
  .home .gast-tab-btn { font-size: 16px; padding: 10px 20px; }
  .home .stai-thumbs { height: 80px; }
  .home .app-card { padding: 32px 24px 0; }
  .home .hp-footer { padding: 40px 0 20px; }
}

@media (max-width: 480px) {
  .app .hero-content h1 { font-size: 30px; line-height: 32px; }
  .app .hero-subtitle { font-size: 15px; }
  .app .hero-mockup { width: 260px; }
  .app .screenshot-item { min-width: 170px; flex: 0 0 170px; }
}

/* ══════════════════════════════════════════
   LEGAL PAGES  (terms & conditions, privacy policy)
   ══════════════════════════════════════════ */
.legal { padding: 140px 0 80px; }
.legal-inner { max-width: 820px; margin: 0 auto; padding: 0 var(--space-4); }
.legal .lang-content { display: none; }
.legal .lang-content.active { display: block; }
.legal h1 {
    font-family: var(--font-title);
    font-weight: var(--weight-bold);
    font-size: clamp(30px, 4vw, 44px);
    color: var(--color-text-titles);
    line-height: 1.2;
    margin-bottom: var(--space-2);
}
.legal h2 {
    font-family: var(--font-title);
    font-weight: var(--weight-bold);
    font-size: clamp(20px, 2.4vw, 26px);
    color: var(--color-text-titles);
    line-height: 1.3;
    margin: var(--space-5) 0 var(--space-2);
}
.legal p, .legal li {
    font-family: var(--font-body);
    font-size: var(--size-sm);
    color: var(--color-text-body);
    line-height: 1.75;
    margin-bottom: var(--space-2);
}
.legal li { margin-left: var(--space-4); }
.legal a { color: var(--color-text-brand); text-decoration: underline; }
.legal .last-updated { color: var(--color-text-disabled); font-size: var(--size-xs); margin-bottom: var(--space-5); }
.legal .contact {
    margin-top: var(--space-3);
    padding: var(--space-4);
    border: var(--border-xs) solid var(--color-border-subtle);
    border-radius: var(--radius-l);
    background: var(--color-surface-primary);
}
.legal .contact p { margin-bottom: var(--space-1); }

/* language toggle button on legal pages */
button.nav-lang {
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: var(--weight-medium);
    letter-spacing: 0.1px;
}
.mobile-menu .js-lang-toggle,
.mobile-menu a.nav-lang {
    background: none;
    border: 1px solid currentColor;
    border-radius: var(--radius-pill);
    padding: 6px 20px;
    cursor: pointer;
    font: inherit;
    color: inherit;
    align-self: flex-start;
    margin-top: var(--space-2);
}

/* ==========================================================================
   COOKIE CONSENT (global) — self-hosted banner, analytics gated on accept
   ========================================================================== */
.cookie-consent {
    position: fixed;
    left: var(--space-4);
    right: var(--space-4);
    bottom: var(--space-4);
    z-index: 1000;
    background: var(--color-surface-primary);
    border: var(--border-s) solid var(--color-border-subtle);
    border-radius: var(--radius-l);
    box-shadow: 0 8px 32px rgba(14, 49, 89, 0.18);
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}
.cookie-consent--visible {
    opacity: 1;
    transform: translateY(0);
}
.cookie-consent--hiding {
    opacity: 0;
    transform: translateY(16px);
}
.cookie-consent-inner {
    max-width: var(--container-max, 1200px);
    margin: 0 auto;
    padding: var(--space-4);
    display: flex;
    align-items: center;
    gap: var(--space-4);
}
.cookie-consent-text {
    font-family: var(--font-body);
    font-size: var(--size-xs);
    line-height: var(--lh-md);
    color: var(--color-text-body);
    margin: 0;
}
.cookie-consent-link {
    color: var(--color-text-brand);
    text-decoration: underline;
    white-space: nowrap;
}
.cookie-consent-actions {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    flex-shrink: 0;
}
.cookie-consent-btn {
    font-family: var(--font-body);
    font-size: var(--size-xs);
    font-weight: var(--weight-medium);
    border-radius: var(--radius-pill);
    padding: 10px 24px;
    cursor: pointer;
    border: var(--border-s) solid transparent;
    white-space: nowrap;
    transition: background 0.2s ease, color 0.2s ease;
}
.cookie-consent-accept {
    background: var(--color-btn-primary);
    color: var(--color-text-inverted);
}
.cookie-consent-accept:hover {
    background: var(--color-btn-primary-hover);
}
.cookie-consent-reject {
    background: transparent;
    color: var(--color-text-body);
    border-color: var(--color-border-subtle);
}
.cookie-consent-reject:hover {
    background: var(--color-surface-secondary);
}
@media (max-width: 768px) {
    .cookie-consent {
        left: var(--space-2);
        right: var(--space-2);
        bottom: var(--space-2);
    }
    .cookie-consent-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-3);
        padding: var(--space-3);
    }
    .cookie-consent-actions {
        width: 100%;
    }
    .cookie-consent-btn {
        flex: 1;
    }
}

/* ==========================================================================
   QR LANDING (/qr/) — pagină utilitară: redirect pe mobil, coduri QR pe desktop
   ========================================================================== */
body.qr-page {
    min-height: 100vh;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-surface-secondary);
    font-family: var(--font-body);
    padding: var(--space-4);
    box-sizing: border-box;
}
.qr-landing {
    text-align: center;
    max-width: 720px;
}
.qr-landing h1 {
    font-family: var(--font-title);
    font-size: var(--size-2xl);
    line-height: var(--lh-2xl);
    font-weight: var(--weight-bold);
    color: var(--color-text-titles);
    margin: 0 0 var(--space-2);
}
.qr-landing-sub {
    font-size: var(--size-xs);
    line-height: var(--lh-md);
    color: var(--color-text-body);
    margin: 0 0 var(--space-5);
}
.qr-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: var(--space-5);
}
.qr-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-3);
    background: var(--color-surface-primary);
    border: var(--border-s) solid var(--color-border-subtle);
    border-radius: var(--radius-l);
    padding: var(--space-4);
    text-decoration: none;
    transition: box-shadow 0.2s ease;
}
.qr-card:hover {
    box-shadow: 0 8px 24px rgba(14, 49, 89, 0.14);
}
.qr-card .qr-code {
    display: block;
    width: 220px;
    height: 220px;
    border-radius: var(--radius-m);
}
.qr-card .qr-badge {
    display: block;
    height: 48px;
    width: auto;
}
/* Codul universal (viscri.ro/qr/) — card bleumarin de brand, pentru afișe */
.qr-universal {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-3);
    margin: var(--space-5) auto 0;
    background: var(--color-surface-tertiary);
    border-radius: var(--radius-l);
    padding: var(--space-5);
    box-shadow: 0 12px 32px rgba(14, 49, 89, 0.22);
}
.qr-universal-eyebrow {
    margin: 0;
    font-size: var(--size-xs);
    font-weight: var(--weight-bold);
    letter-spacing: 0.35em;
    text-indent: 0.35em;
    text-transform: uppercase;
    color: var(--color-text-inverted);
    opacity: 0.8;
}
.qr-universal-tile {
    background: var(--color-surface-primary);
    border-radius: var(--radius-m);
    padding: var(--space-3);
    line-height: 0;
}
.qr-universal-tile img {
    display: block;
    width: 200px;
    height: 200px;
    border-radius: inherit;
}
.qr-universal-label {
    margin: 0;
    font-family: var(--font-title);
    font-size: var(--size-lg);
    line-height: var(--lh-lg);
    color: var(--color-text-inverted);
}
.qr-universal-hint {
    margin: var(--space-3) 0 0;
    font-size: var(--size-xs);
    line-height: var(--lh-md);
    color: var(--color-text-body);
}
.qr-landing-back {
    margin: var(--space-5) 0 0;
    font-size: var(--size-xs);
    line-height: var(--lh-md);
}
.qr-landing-back a {
    color: var(--color-text-brand);
    text-decoration: underline;
}

/* Link-uri editoriale în paragrafe (ex. „Sit al Patrimoniului Mondial UNESCO") */
.home .activities-left p a,
.app .unesco p a {
    text-decoration: underline;
    text-underline-offset: 2px;
}
