:root {
      --accent:        #e44d26;
      --gold:          #c9a84c;
      --gold-light:    #f0d080;
      --slate:         #3b82f6;
      --slate-light:   #93c5fd;
      --slate-pale:    #dbeafe;
      --steel:         #64748b;
      --dark:          #0d1117;
      --dark2:         #161b22;
      --dark3:         #1e2530;
      --text-light:    #e8edf5;
      --text-muted:    #7a8899;
      --border:        rgba(59,130,246,0.15);
      --border-gold:   rgba(201,168,76,0.2);
      --border-light:  rgba(59,130,246,0.28);
      --font-display:  'Playfair Display', Georgia, serif;
      --font-body:     'Source Sans 3', sans-serif;
    }
    *, *::before, *::after { box-sizing: border-box; }
    body { font-family: var(--font-body); color: var(--text-light); background: var(--dark); margin: 0; }

    /* HEADER */
    #site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; background: transparent; transition: background .4s, backdrop-filter .4s, box-shadow .4s; border-bottom: 1px solid transparent; }
    #site-header.scrolled { background: rgba(13,17,23,.97); backdrop-filter: blur(16px); box-shadow: 0 2px 24px rgba(0,0,0,.6); border-bottom-color: var(--border); }
    .header-inner { max-width: 1200px; margin: 0 auto; padding: 0 24px; height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
    .header-logo { font-family: var(--font-display); font-size: 18px; color: var(--gold-light); text-decoration: none; white-space: nowrap; flex-shrink: 0; }
    .header-logo span { color: var(--slate-light); }
    .main-nav { display: flex; align-items: center; gap: 4px; }
    .main-nav a { color: var(--text-muted); text-decoration: none; font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; padding: 6px 10px; border-radius: 6px; transition: color .2s, background .2s; white-space: nowrap; }
    .main-nav a:hover { color: var(--slate-pale); background: rgba(59,130,246,.1); }
    .lang-nav { display: flex; align-items: center; gap: 4px; flex-shrink: 0; }
    .lang-nav a { color: var(--text-muted); text-decoration: none; font-size: 12px; font-weight: 600; padding: 4px 7px; border-radius: 4px; border: 1px solid transparent; transition: all .2s; }
    .lang-nav a.active, .lang-nav a:hover { color: var(--gold-light); border-color: var(--border-gold); background: rgba(201,168,76,.08); }
    .hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 6px; background: none; border: none; }
    .hamburger span { display: block; width: 22px; height: 2px; background: var(--text-light); border-radius: 2px; }
    .mobile-menu { display: none; flex-direction: column; background: rgba(13,17,23,.98); border-top: 1px solid var(--border); padding: 16px 24px 20px; }
    .mobile-menu.open { display: flex; }
    .mobile-menu a { color: var(--text-light); text-decoration: none; padding: 10px 0; font-size: 15px; border-bottom: 1px solid var(--border); }
    .mobile-menu a:last-child { border-bottom: none; }

    /* HERO */
    #banner { position: relative; min-height: 82vh; display: flex; align-items: center; justify-content: center; text-align: center; overflow: hidden; }
    .banner-img-bg { position: absolute; inset: 0; background-image: url('images/piata_buzesti_craiova.jpg'); background-size: cover; background-position: center; z-index: 0; }
    .banner-overlay { position: absolute; inset: 0; background: linear-gradient(165deg, rgba(13,17,23,.08) 0%, rgba(13,17,23,.52) 45%, rgba(13,17,23,.97) 100%); z-index: 1; }
    .banner-content { position: relative; z-index: 2; max-width: 800px; padding: 110px 24px 64px; }
    .banner-eyebrow { font-size: 11px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--slate-light); margin-bottom: 14px; }
    .banner-content h1 { font-family: var(--font-display); font-size: clamp(2.2rem,5.5vw,4.2rem); font-weight: 700; line-height: 1.1; color: #fff; margin: 0 0 18px; text-shadow: 0 2px 30px rgba(0,0,0,.7); }
    .banner-content h1 em { font-style: normal; color: var(--gold-light); }
    .banner-content p { font-size: clamp(.95rem,2.3vw,1.15rem); color: rgba(255,255,255,.82); max-width: 560px; margin: 0 auto 32px; line-height: 1.7; }
    .banner-cta-group { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
    .btn-primary { display: inline-flex; align-items: center; gap: 8px; background: var(--slate); color: #fff; padding: 13px 28px; border-radius: 8px; text-decoration: none; font-weight: 600; font-size: 15px; transition: background .2s, transform .15s; }
    .btn-primary:hover { background: var(--slate-light); color: var(--dark); transform: translateY(-1px); }
    .btn-outline { background: transparent; color: var(--gold-light); padding: 13px 28px; border-radius: 8px; border: 1px solid var(--gold); text-decoration: none; font-weight: 600; font-size: 15px; transition: background .2s, transform .15s; }
    .btn-outline:hover { background: rgba(201,168,76,.12); transform: translateY(-1px); }

    /* BREADCRUMB */
    .breadcrumb { background: var(--dark2); padding: 13px 0; border-bottom: 1px solid var(--border); }
    .breadcrumb-inner { max-width: 1200px; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-muted); }
    .breadcrumb a { color: var(--slate-light); text-decoration: none; }
    .breadcrumb a:hover { text-decoration: underline; }

    /* STATS */
    .stats-band { background: var(--dark3); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 30px 0; }
    .stats-grid { max-width: 1200px; margin: 0 auto; padding: 0 24px; display: grid; grid-template-columns: repeat(5,1fr); }
    .stat-item { text-align: center; padding: 0 16px; border-right: 1px solid var(--border); }
    .stat-item:last-child { border-right: none; }
    .stat-number { font-family: var(--font-display); font-size: 1.8rem; font-weight: 700; color: var(--gold-light); line-height: 1; margin-bottom: 4px; }
    .stat-label { font-size: 11px; color: var(--text-muted); }

    /* LAYOUT */
    .section { padding: 76px 0; }
    .section-alt { background: var(--dark2); }
    .container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
    .section-header { text-align: center; margin-bottom: 48px; }
    .section-eyebrow { font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--slate-light); margin-bottom: 12px; }
    .section-title { font-family: var(--font-display); font-size: clamp(1.7rem,3.5vw,2.5rem); font-weight: 700; color: var(--text-light); margin: 0 0 12px; line-height: 1.2; }
    .section-desc { font-size: 16px; color: var(--text-muted); max-width: 620px; margin: 0 auto; line-height: 1.75; }
    .divider { width: 44px; height: 2px; background: var(--slate-light); margin: 14px auto 0; border-radius: 2px; }

    /* PIATA HERO */
    .piata-hero { display: grid; grid-template-columns: 1fr 1fr; border-radius: 16px; overflow: hidden; border: 1px solid var(--border); margin-bottom: 36px; background: var(--dark2); }
    .piata-hero-img { position: relative; min-height: 460px; }
    .piata-hero-img img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100% !important; 
    object-fit: cover;
}
    .piata-hero-badge { position: absolute; top: 16px; left: 16px; background: rgba(59,130,246,.88); color: #fff; font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; padding: 6px 14px; border-radius: 20px; z-index: 2; backdrop-filter: blur(4px); }
    .piata-hero-body { padding: 38px 38px; display: flex; flex-direction: column; justify-content: center; }
    .piata-hero-tag { font-size: 11px; font-weight: 600; color: var(--slate-light); letter-spacing: .14em; text-transform: uppercase; margin-bottom: 12px; }
    .piata-hero-body h2 { font-family: var(--font-display); font-size: clamp(1.5rem,2.5vw,2.1rem); color: var(--text-light); margin: 0 0 14px; line-height: 1.2; }
    .piata-hero-body p { font-size: 15px; color: var(--text-muted); line-height: 1.75; margin: 0 0 12px; }
    .piata-hero-body p strong { color: var(--gold-light); font-weight: 600; }

    /* CHIPS */
    .info-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 24px; }
    .chip { display: inline-flex; align-items: center; gap: 5px; background: rgba(59,130,246,.1); border: 1px solid var(--border); color: var(--slate-pale); font-size: 12px; font-weight: 600; padding: 5px 11px; border-radius: 20px; white-space: nowrap; }
    .chip-gold { background: rgba(201,168,76,.1); border-color: var(--border-gold); color: var(--gold-light); }

    /* FÂNTÂNA MUZICALĂ CARD */
    .fantana-card { background: var(--dark3); border: 1px solid var(--border-light); border-radius: 14px; padding: 26px 28px; display: flex; gap: 20px; align-items: flex-start; margin-top: 28px; }
    .fantana-icon { font-size: 2.4rem; flex-shrink: 0; line-height: 1; }
    .fantana-body h3 { font-family: var(--font-display); font-size: 1.15rem; color: var(--gold-light); margin: 0 0 8px; }
    .fantana-body p { font-size: 14px; color: var(--text-muted); margin: 0; line-height: 1.65; }
    .fantana-body p strong { color: var(--slate-pale); }

    /* CLĂDIRI EMBLEMATICE */
    .buildings-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px,1fr)); gap: 22px; }
    .building-card { background: var(--dark2); border: 1px solid var(--border); border-radius: 14px; overflow: hidden; transition: transform .25s, box-shadow .25s, border-color .25s; }
    .building-card:hover { transform: translateY(-5px); box-shadow: 0 16px 48px rgba(0,0,0,.55); border-color: var(--border-light); }
    .building-card-header { padding: 20px 22px 0; display: flex; align-items: flex-start; gap: 14px; }
    .building-year { font-family: var(--font-display); font-size: 1.1rem; font-weight: 700; color: var(--gold); line-height: 1; background: rgba(201,168,76,.1); border: 1px solid var(--border-gold); border-radius: 8px; padding: 6px 10px; flex-shrink: 0; text-align: center; min-width: 52px; }
    .building-year span { display: block; font-size: 9px; font-weight: 400; color: var(--text-muted); margin-top: 2px; font-family: var(--font-body); }
    .building-card-header h3 { font-family: var(--font-display); font-size: 1.1rem; color: var(--text-light); margin: 0 0 4px; line-height: 1.2; }
    .building-style { font-size: 11px; font-weight: 600; color: var(--slate-light); letter-spacing: .08em; text-transform: uppercase; }
    .building-card-body { padding: 14px 22px 22px; }
    .building-card-body p { font-size: 14px; color: var(--text-muted); margin: 0; line-height: 1.65; }
    .building-card-body p strong { color: var(--gold-light); font-weight: 600; }
    .building-addr { margin-top: 12px; font-size: 12px; color: var(--text-muted); display: flex; align-items: center; gap: 5px; }
    .building-addr::before { content: '📍'; font-size: 12px; }

    /* PIEȚE GRID */
    .squares-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(280px,1fr)); gap: 18px; }
    .square-card { background: var(--dark2); border: 1px solid var(--border); border-radius: 12px; padding: 22px 20px; transition: border-color .2s, transform .2s; position: relative; overflow: hidden; }
    .square-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--slate); border-radius: 3px 3px 0 0; }
    .square-card:hover { border-color: var(--border-light); transform: translateY(-3px); }
    .square-emoji { font-size: 2rem; margin-bottom: 10px; display: block; line-height: 1; }
    .square-card h3 { font-family: var(--font-display); font-size: 1.1rem; color: var(--text-light); margin: 0 0 8px; }
    .square-card p { font-size: 13px; color: var(--text-muted); margin: 0; line-height: 1.6; }
    .square-card p strong { color: var(--slate-pale); }

    /* TRASEE PIETONALE */
    .routes-list { display: flex; flex-direction: column; gap: 14px; }
    .route-item { display: grid; grid-template-columns: 56px 1fr; gap: 16px; align-items: center; background: var(--dark3); border: 1px solid var(--border); border-radius: 10px; padding: 16px 20px; transition: border-color .2s; }
    .route-item:hover { border-color: var(--border-light); }
    .route-num { font-family: var(--font-display); font-size: 1.6rem; font-weight: 700; color: var(--slate-light); text-align: center; line-height: 1; }
    .route-info h4 { font-size: 15px; font-weight: 600; color: var(--text-light); margin: 0 0 3px; }
    .route-info p { font-size: 13px; color: var(--text-muted); margin: 0; line-height: 1.5; }
    .route-meta { display: flex; gap: 10px; margin-top: 6px; flex-wrap: wrap; }
    .route-tag { font-size: 11px; font-weight: 600; padding: 2px 8px; border-radius: 12px; }
    .rt-walk { background: rgba(59,130,246,.1); color: var(--slate-pale); border: 1px solid var(--border); }
    .rt-time { background: rgba(201,168,76,.1); color: var(--gold-light); border: 1px solid var(--border-gold); }

    /* TIP BOX */
    .tip-box { background: rgba(59,130,246,.07); border: 1px solid rgba(59,130,246,.2); border-left: 3px solid var(--slate-light); border-radius: 10px; padding: 18px 22px; margin-top: 28px; }
    .tip-box-gold { background: rgba(201,168,76,.07); border: 1px solid rgba(201,168,76,.18); border-left-color: var(--gold); }
    .tip-box-label { font-size: 11px; font-weight: 600; color: var(--slate-light); text-transform: uppercase; letter-spacing: .12em; margin-bottom: 8px; }
    .tip-box-gold .tip-box-label { color: var(--gold); }
    .tip-box p { font-size: 14px; color: rgba(232,237,245,.75); margin: 0; line-height: 1.65; }

    /* TERASE & CAFENELE */
    .gastro-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(220px,1fr)); gap: 14px; }
    .gastro-item { background: var(--dark3); border: 1px solid var(--border); border-radius: 10px; padding: 18px 16px; display: flex; gap: 12px; align-items: flex-start; transition: border-color .2s; }
    .gastro-item:hover { border-color: var(--border-light); }
    .gastro-emoji { font-size: 1.7rem; flex-shrink: 0; line-height: 1; }
    .gastro-item h4 { font-size: 14px; font-weight: 600; color: var(--text-light); margin: 0 0 4px; }
    .gastro-item p { font-size: 12px; color: var(--text-muted); margin: 0; line-height: 1.5; }

    /* FAQ */
    .faq-list { max-width: 800px; margin: 0 auto; }
    .faq-item { border-bottom: 1px solid var(--border); }
    .faq-question { width: 100%; text-align: left; background: none; border: none; padding: 18px 0; font-family: var(--font-body); font-size: 15px; font-weight: 600; color: var(--text-light); cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 12px; transition: color .2s; }
    .faq-question:hover { color: var(--slate-pale); }
    .faq-icon { font-size: 20px; color: var(--slate-light); flex-shrink: 0; transition: transform .3s; }
    .faq-item.open .faq-icon { transform: rotate(45deg); }
    .faq-answer { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
    .faq-answer-inner { padding: 0 0 18px; font-size: 14px; color: var(--text-muted); line-height: 1.75; }
    .faq-item.open .faq-answer { max-height: 320px; }

    /* BUTOANE */
    .btn-card { display: inline-flex; align-items: center; gap: 6px; background: transparent; color: var(--slate-light); border: 1px solid rgba(59,130,246,.35); padding: 8px 18px; border-radius: 8px; font-size: 13px; font-weight: 600; text-decoration: none; transition: background .2s, color .2s, border-color .2s; }
    .btn-card:hover { background: var(--slate-light); color: var(--dark); border-color: var(--slate-light); }
    .btn-card svg { width: 14px; height: 14px; }

    /* SHARE */
    .share-section { padding: 36px 0; border-top: 1px solid var(--border); }
    .share-title { font-size: 13px; font-weight: 600; color: var(--text-muted); text-align: center; margin-bottom: 14px; text-transform: uppercase; letter-spacing: .1em; }
    .share-buttons { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
    .share-btn { display: inline-flex; align-items: center; gap: 7px; padding: 9px 18px; border-radius: 8px; font-size: 13px; font-weight: 600; text-decoration: none; cursor: pointer; border: none; transition: opacity .2s, transform .15s; font-family: var(--font-body); }
    .share-btn:hover { opacity: .88; transform: translateY(-1px); }
    .share-fb  { background: #1877f2; color: #fff; }
    .share-wa  { background: #25d366; color: #fff; }
    .share-pin { background: #e60023; color: #fff; }
    .share-copy { background: var(--dark3); color: var(--slate-pale); border: 1px solid var(--border); }

    /* FOOTER */
    #footer { background: #080c12; border-top: 1px solid var(--border); padding: 56px 0 0; }
    .footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 44px; }
    .footer-brand h2 { font-family: var(--font-display); font-size: 1.35rem; color: var(--gold-light); margin: 0 0 10px; }
    .footer-brand p { font-size: 14px; color: var(--text-muted); line-height: 1.7; margin: 0 0 18px; }
    .footer-socials { display: flex; gap: 10px; }
    .footer-social-link { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; color: var(--text-muted); text-decoration: none; font-size: 14px; transition: border-color .2s, color .2s; }
    .footer-social-link:hover { border-color: var(--gold); color: var(--gold); }
    .footer-col h4 { font-size: 12px; font-weight: 600; color: var(--slate-light); letter-spacing: .12em; text-transform: uppercase; margin: 0 0 14px; }
    .footer-col ul { list-style: none; padding: 0; margin: 0; }
    .footer-col ul li { margin-bottom: 8px; }
    .footer-col ul li a { font-size: 14px; color: var(--text-muted); text-decoration: none; transition: color .2s; }
    .footer-col ul li a:hover { color: var(--slate-pale); }
    .footer-bottom { border-top: 1px solid var(--border); padding: 18px 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
    .footer-bottom p { font-size: 13px; color: var(--text-muted); margin: 0; }
    .footer-bottom a { color: var(--gold); text-decoration: none; }
    .footer-bottom a:hover { text-decoration: underline; }

    /* GDPR */
    #gdpr-banner { position: fixed; bottom: 0; left: 0; right: 0; z-index: 9998; background: rgba(13,17,23,.97); border-top: 1px solid var(--border); backdrop-filter: blur(10px); padding: 16px 24px; display: flex; align-items: center; gap: 20px; flex-wrap: wrap; transform: translateY(100%); transition: transform .4s ease; }
    #gdpr-banner.show { transform: translateY(0); }
    .gdpr-text { flex: 1; font-size: 13px; color: var(--text-muted); line-height: 1.55; min-width: 260px; }
    .gdpr-text a { color: var(--slate-light); text-decoration: none; }
    .gdpr-actions { display: flex; gap: 10px; flex-shrink: 0; }
    .gdpr-accept { background: var(--slate); color: #fff; border: none; padding: 9px 20px; border-radius: 6px; font-size: 13px; font-weight: 600; cursor: pointer; font-family: var(--font-body); transition: background .2s; }
    .gdpr-accept:hover { background: var(--slate-light); color: var(--dark); }
    .gdpr-reject { background: transparent; color: var(--text-muted); border: 1px solid var(--border); padding: 9px 16px; border-radius: 6px; font-size: 13px; cursor: pointer; font-family: var(--font-body); }

    /* AI BTN */
    #ai-btn { position: fixed; bottom: 24px; right: 24px; z-index: 997; width: 56px; height: 56px; border-radius: 50%; background: var(--accent); color: #fff; display: flex; align-items: center; justify-content: center; text-decoration: none; box-shadow: 0 4px 16px rgba(228,77,38,.45); transition: transform .25s; font-size: 22px; }
    #ai-btn:hover { transform: scale(1.08); }
    #ai-tooltip { position: fixed; bottom: 32px; right: 90px; z-index: 997; background: var(--dark2); color: var(--text-light); font-size: 13px; font-weight: 600; padding: 8px 14px; border-radius: 8px; border: 1px solid var(--border); white-space: nowrap; opacity: 0; transform: translateX(6px); transition: opacity .2s, transform .2s; pointer-events: none; }
    #ai-btn:hover ~ #ai-tooltip { opacity: 1; transform: translateX(0); }

   /* ── RESPONSIVE ── */
@media (max-width: 900px) {
    .main-nav { display: none; }
    .hamburger { display: flex; }
    .piata-hero { grid-template-columns: 1fr; }
    .piata-hero-img { min-height: 300px; }
    .piata-hero-body { padding: 24px 22px; }
    .stats-grid { grid-template-columns: repeat(3,1fr); }
    .stat-item:nth-child(3) { border-right: none; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
    /* 1. Reset Global Mobil */
    html, body {
        overflow-x: hidden;
        width: 100%;
        margin: 0;
        padding: 0;
    }

    /* 2. Containere Sigure */
    .header-inner, .container, .stats-grid, .breadcrumb-inner, .footer-grid {
        max-width: 100vw;
        padding-left: 15px;
        padding-right: 15px;
    }

    /* 3. Imagini & Carduri Specifice */
    .piata-hero-img img, .building-card img {
        width: 100% !important;
        height: auto !important;
    }
    .fantana-card { flex-direction: column; gap: 15px; }
    .buildings-grid { grid-template-columns: 1fr; }
    .squares-grid { grid-template-columns: 1fr; }

    /* 4. Statistici */
    .stats-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
    .stat-item { border-right: none !important; border-bottom: 1px solid var(--border); padding: 12px 0; }
    .stat-item:last-child { border-bottom: none; }

    /* 5. Meniu Limbi Forțat pe Mobil */
    .header-inner { display: flex !important; justify-content: space-between !important; }
    .lang-nav { display: flex !important; order: 2; gap: 4px !important; }
    .lang-nav a { padding: 3px 6px !important; font-size: 11px !important; }
    .lang-label { display: none; }
    .header-logo { order: 1; font-size: 15px !important; }
    .hamburger { order: 3; }

    /* 6. Trasee & Footer */
    .route-item { grid-template-columns: 40px 1fr; padding: 12px; }
    .footer-grid { grid-template-columns: 1fr; }
}