/* ========================================================================
   CHIFTELARIA DOROBANTI - tema dupa PDF oficial (cream + brown + wavy)
   ======================================================================== */

:root {
    --cream: #EFE6D4;
    --cream-paper: #FFFFFF;
    --brown: #8c6239;
    --brown-deep: #6B4423;
    --brown-text: #4A3525;
    --text-muted: #6B5847;
    --cta-yellow: #DFF247;
    --white-soft: #FBF8F1;
}

* { -webkit-font-smoothing: antialiased; box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; color-scheme: light; }
body {
    background:
        linear-gradient(rgba(244,242,236,0.35), rgba(244,242,236,0.35)),
        url('../assets/images/Fundal.png') center/cover fixed;
    color: var(--brown-text);
    font-family: 'DM Sans', 'Inter', -apple-system, sans-serif;
    font-weight: 400;
    overflow-x: hidden;
    line-height: 1.6;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }

/* ============ ANIMATII REVEAL ============ */
.anim-fade-up { opacity: 0; transform: translateY(40px); transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1), transform 0.9s cubic-bezier(0.22, 1, 0.36, 1); }
.anim-fade-up.visible { opacity: 1; transform: translateY(0); }
.anim-fade-left { opacity: 0; transform: translateX(-50px); transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1), transform 0.9s cubic-bezier(0.22, 1, 0.36, 1); }
.anim-fade-left.visible { opacity: 1; transform: translateX(0); }
.anim-fade-right { opacity: 0; transform: translateX(50px); transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1), transform 0.9s cubic-bezier(0.22, 1, 0.36, 1); }
.anim-fade-right.visible { opacity: 1; transform: translateX(0); }
.anim-scale-in { opacity: 0; transform: scale(0.85); transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1); }
.anim-scale-in.visible { opacity: 1; transform: scale(1); }
.anim-delay-1 { transition-delay: 0.1s; }
.anim-delay-2 { transition-delay: 0.2s; }
.anim-delay-3 { transition-delay: 0.3s; }
.anim-delay-4 { transition-delay: 0.4s; }

/* ============ HOVER EFFECTS ============ */
.counter-circle { transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.4s ease; cursor: default; }
.counter-circle:hover { transform: translateY(-8px) scale(1.05); box-shadow: 0 20px 40px -12px rgba(0,0,0,0.35); }

.feature-icon { transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1); }
.feature-item:hover .feature-icon { transform: rotate(10deg) scale(1.15); }

/* hero image - no hover animation */

/* tag pill pulse */
.tag-pill { transition: transform 0.3s ease; display: inline-block; }
.tag-pill:hover { transform: scale(1.03); }

/* nav links hover */
.nav-link { transition: color 0.3s ease, transform 0.3s ease; }
.nav-link:hover { transform: translateY(-2px); }

/* Button brown pulse animation */
.btn-brown { position: relative; overflow: hidden; }
.btn-brown::before {
    content:''; position: absolute; top: 50%; left: 50%;
    width: 0; height: 0; border-radius: 50%;
    background: rgba(255,255,255,0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}
.btn-brown:hover::before { width: 300px; height: 300px; }
.btn-brown > * { position: relative; z-index: 1; }

/* ============ NAVBAR ============ */
#navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 50;
    background: transparent;
    transition: all 0.4s ease;
    padding: 18px 0;
    border-bottom: 1px solid transparent;
}
#navbar.scrolled {
    background: rgba(244, 242, 236, 0.55);
    backdrop-filter: blur(14px) saturate(180%);
    -webkit-backdrop-filter: blur(14px) saturate(180%);
    box-shadow: 0 2px 16px rgba(74, 53, 37, 0.08);
    padding: 12px 0;
    border-bottom-color: rgba(140, 98, 57, 0.1);
}
.nav-container { max-width: 1200px; margin: 0 auto; padding: 0 32px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav-logo { height: 44px; }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-link {
    font-family: 'DM Sans', sans-serif;
    color: #8c6239;
    font-weight: 700;
    font-size: 1rem;
    transition: color 0.3s, transform 0.3s ease;
    position: relative;
}
.nav-link:hover { color: var(--brown-deep); transform: translateY(-2px); }
.nav-link.active { color: var(--brown-deep); }
.nav-link.active::after {
    content:''; position: absolute; bottom: -6px; left: 0; right: 0;
    height: 3px; background: #8c6239; border-radius: 2px;
    animation: link-highlight 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}
@keyframes link-highlight {
    from { transform: scaleX(0); opacity: 0; }
    to { transform: scaleX(1); opacity: 1; }
}
.nav-mobile-cta { display: none; }
.nav-cta {
    background: var(--brown);
    color: var(--cream);
    padding: 12px 28px;
    border-radius: 999px;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    font-family: 'DM Sans', sans-serif;
}
.nav-cta:hover { background: var(--brown-deep); transform: translateY(-1px); }

#menuBtn { display: none; background: none; border: none; cursor: pointer; color: var(--brown-text); }

/* ============ HERO ============ */
.hero-section {
    min-height: 100vh;
    padding: 130px 24px 40px;
    text-align: center;
    max-width: 1400px;
    margin: 0 auto;
    background: transparent;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    box-sizing: border-box;
}
@keyframes fade-down { from{opacity:0;transform:translateY(-15px);} to{opacity:1;transform:translateY(0);} }
.hero-title {
    font-family: 'DM Sans', sans-serif;
    font-size: clamp(1.75rem, 4vw, 3.25rem);
    font-weight: 700;
    color: var(--brown);
    line-height: 1.05;
    letter-spacing: -0.02em;
    margin-bottom: 10px;
    margin-top: 0;
    opacity: 0; animation: fade-up 0.8s ease 0.25s forwards;
}
@keyframes fade-up { from{opacity:0;transform:translateY(20px);} to{opacity:1;transform:translateY(0);} }

.btn-brown {
    display: inline-flex; align-items: center;
    padding: 14px 32px;
    background: var(--brown);
    color: var(--cream);
    font-family: 'DM Sans', sans-serif;
    font-weight: 500;
    font-size: 1rem;
    border-radius: 999px;
    transition: all 0.3s ease;
    opacity: 0; animation: fade-up 0.8s ease 0.4s forwards;
    border: none; cursor: pointer;
}
.btn-brown:hover { background: var(--brown-deep); transform: translateY(-2px); }

.hero-image-wrap {
    margin-top: 16px;
    margin-bottom: 0;
    border-radius: 28px;
    overflow: hidden;
    width: 100%;
    max-width: 900px;
    box-shadow: 0 20px 50px -20px rgba(74, 53, 37, 0.3);
    opacity: 0; animation: fade-up 0.9s ease 0.5s forwards;
}
.hero-image-wrap img { width: 100%; height: auto; display: block; }

.scroll-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin-top: 12px;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--brown);
    color: var(--cream);
    opacity: 1;
    transition: background 0.3s ease, opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1);
    animation: bounce-down 1.8s ease-in-out infinite;
}
.scroll-arrow-inner {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}
.scroll-arrow:hover { background: var(--brown-deep); }
.scroll-arrow.hidden { opacity: 0; pointer-events: none; }
@keyframes bounce-down {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(10px); }
}
.hero-image-wrap img { width: 100%; height: auto; }

/* ============ DESPRE (cream, tag + text) ============ */
.despre-section {
    padding: 40px 24px 0;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}
.tag-pill {
    display: inline-block;
    background: var(--brown);
    color: var(--cream);
    font-family: 'DM Sans', sans-serif;
    font-weight: 700;
    font-size: clamp(1.5rem, 3vw, 2rem);
    padding: 14px 32px;
    border-radius: 999px;
    margin-bottom: 32px;
}
.despre-text {
    font-family: 'DM Sans', sans-serif;
    font-size: clamp(1.1rem, 1.8vw, 1.35rem);
    line-height: 1.6;
    color: #8c6239;
    font-weight: 500;
    margin-bottom: 20px;
}

/* ============ WAVY TRANSITIONS ============ */
.wave-divider { display: block; width: 100%; line-height: 0; font-size: 0; margin-bottom: -1px; }
.wave-cream-to-brown { margin-top: 80px; }
.wave-brown-to-cream { margin-top: 0; }
.wave-divider svg { display: block; width: 100%; height: auto; vertical-align: bottom; }

/* ============ COUNTER BROWN SECTION (3 cercuri) ============ */
.counter-section-brown {
    background: var(--brown);
    padding: 10px 24px 60px;
    text-align: center;
    position: relative;
    margin-top: -1px;
}
.counter-brown-title {
    font-family: 'DM Sans', 'Inter', -apple-system, sans-serif;
    font-weight: 700;
    font-size: clamp(2.75rem, 6.5vw, 4.5rem);
    color: #f4f2ec;
    margin-bottom: 70px;
    letter-spacing: -0.02em;
    line-height: 1.05;
}
.live-counter-wrap {
    text-align: center;
    margin: 0 auto 60px;
    max-width: 700px;
}
.live-counter {
    font-family: 'DM Sans', sans-serif;
    font-weight: 800;
    font-size: clamp(2.75rem, 7vw, 5rem);
    color: #f4f2ec;
    line-height: 1;
    letter-spacing: -0.02em;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    font-variant-numeric: tabular-nums;
}
.live-counter.tick { transform: scale(1.04); }
.live-counter-label {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.9rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(244,242,236,0.75);
    font-weight: 600;
    margin-top: 12px;
}
.counter-circles {
    display: flex; justify-content: center; align-items: flex-start;
    gap: 120px; flex-wrap: wrap;
    max-width: 1200px;
    margin: 40px auto 0;
}
.counter-circle-item { display: flex; flex-direction: column; align-items: center; gap: 32px; text-decoration: none; }
.counter-circle-link { cursor: pointer; transition: transform 0.3s ease; }
.counter-circle-link:hover { transform: translateY(-6px); }
.counter-circle-link:hover .counter-circle-label { color: #fff; }
.counter-circle {
    width: 180px; height: 180px;
    border-radius: 50%;
    background: #f4f2ec;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 8px 24px -8px rgba(0,0,0,0.25);
}
.counter-circle span {
    font-family: 'DM Sans', 'Inter', -apple-system, sans-serif;
    font-weight: 700;
    font-size: 2.25rem;
    color: var(--brown);
    display: flex; align-items: center; gap: 6px;
    letter-spacing: -0.01em;
}
.counter-circle svg { fill: var(--brown); }
.counter-circle-label {
    font-family: 'DM Sans', 'Inter', -apple-system, sans-serif;
    font-size: 1rem;
    color: #f4f2ec;
    font-weight: 500;
    text-align: center;
    max-width: 220px;
    line-height: 1.4;
    text-wrap: balance;
    opacity: 0;
    transform: translateY(-30px);
    transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.3s, transform 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.3s;
}
.counter-circle-item.visible .counter-circle-label {
    opacity: 1;
    transform: translateY(0);
}
@media (max-width: 640px) {
    .counter-circle { width: 95px; height: 95px; }
    .counter-circle span { font-size: 1.1rem; gap: 3px; }
    .counter-circle svg { width: 18px; height: 18px; }
    .counter-circles { gap: 10px; flex-wrap: nowrap; justify-content: space-between; padding: 0 8px; }
    .counter-circle-item { gap: 10px; flex: 1; min-width: 0; }
    .counter-circle-label { font-size: 0.78rem; line-height: 1.3; }
    .counter-brown-title { margin-bottom: 20px !important; }
    .counter-section-brown { padding: 20px 24px 20px !important; }
    .live-counter-wrap { margin-bottom: 36px !important; }
    .live-counter-label { font-size: 0.72rem; letter-spacing: 0.18em; }
    .brown-section-header { padding-top: 30px !important; margin-bottom: 30px !important; }
    .brown-section h2 { line-height: 0.95 !important; font-size: clamp(1.8rem, 7vw, 2.5rem) !important; margin-bottom: 12px !important; }
}

/* ============ BROWN SECTION (Evenimente) ============ */
.brown-section {
    background: var(--brown);
    padding: 0 24px 20px;
    color: var(--cream);
    position: relative;
    margin-top: -1px;
    overflow: hidden;
}
.brown-swoosh {
    position: absolute;
    pointer-events: none;
    z-index: 0;
    opacity: 0.35;
}
.brown-swoosh-left { top: 40px; left: -60px; width: 420px; height: 360px; }
.brown-swoosh-right { top: 30px; right: -40px; width: 360px; height: 260px; }
.brown-section > *:not(.brown-swoosh) { position: relative; z-index: 1; }
.brown-section h2 {
    font-family: 'DM Sans', sans-serif;
    font-weight: 700;
    font-size: clamp(2.25rem, 5vw, 3.5rem);
    text-align: center;
    color: var(--cream);
    margin-bottom: 20px;
    letter-spacing: -0.01em;
    line-height: 1.05;
}
.brown-section-header {
    max-width: 760px;
    margin: 0 auto 80px;
    padding: 100px 24px 0;
    position: relative;
    z-index: 1;
    text-align: center;
}
.brown-section-lead {
    font-family: 'DM Sans', sans-serif;
    font-size: 1.2rem;
    line-height: 1.65;
    color: rgba(239, 230, 212, 0.92);
    margin: 0 auto;
    max-width: 640px;
}

.features-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 100px;
    align-items: stretch;
    position: relative;
}
.feature-arrows {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
    opacity: 0.85;
}
.feature-arrows .arrow-shaft { stroke-dasharray: 400; stroke-dashoffset: 400; }
.feature-arrows .arrow-tip-a, .feature-arrows .arrow-tip-b { stroke-dasharray: 80; stroke-dashoffset: 80; }

/* Shaft animations - human-like with mid-pause easing */
.feature-arrows.animate .arrow-group:nth-child(1) .arrow-shaft { animation: draw-shaft-human 0.85s cubic-bezier(0.42, 0, 0.25, 1) 0.1s forwards; }
.feature-arrows.animate .arrow-group:nth-child(1) .arrow-tip-a { animation: draw-tip-human 0.22s cubic-bezier(0.4, 0, 0.3, 1) 0.95s forwards; }
.feature-arrows.animate .arrow-group:nth-child(1) .arrow-tip-b { animation: draw-tip-human 0.2s cubic-bezier(0.4, 0, 0.3, 1) 1.2s forwards; }

.feature-arrows.animate .arrow-group:nth-child(2) .arrow-shaft { animation: draw-shaft-human 0.75s cubic-bezier(0.35, 0, 0.3, 1) 0.55s forwards; }
.feature-arrows.animate .arrow-group:nth-child(2) .arrow-tip-a { animation: draw-tip-human 0.2s cubic-bezier(0.4, 0, 0.3, 1) 1.35s forwards; }
.feature-arrows.animate .arrow-group:nth-child(2) .arrow-tip-b { animation: draw-tip-human 0.22s cubic-bezier(0.4, 0, 0.3, 1) 1.58s forwards; }

.feature-arrows.animate .arrow-group:nth-child(3) .arrow-shaft { animation: draw-shaft-human 0.9s cubic-bezier(0.4, 0, 0.2, 1) 1s forwards; }
.feature-arrows.animate .arrow-group:nth-child(3) .arrow-tip-a { animation: draw-tip-human 0.22s cubic-bezier(0.4, 0, 0.3, 1) 1.95s forwards; }
.feature-arrows.animate .arrow-group:nth-child(3) .arrow-tip-b { animation: draw-tip-human 0.2s cubic-bezier(0.4, 0, 0.3, 1) 2.2s forwards; }

@keyframes draw-shaft-human {
    0% { stroke-dashoffset: 400; }
    35% { stroke-dashoffset: 240; }
    42% { stroke-dashoffset: 235; }   /* slight pause */
    100% { stroke-dashoffset: 0; }
}
@keyframes draw-tip-human {
    to { stroke-dashoffset: 0; }
}
@media (max-width: 900px) {
    .feature-arrows { display: none; }
}
.features-left, .features-right {
    display: flex; flex-direction: column;
    justify-content: space-around;
    padding: 40px 0;
    gap: 80px;
    align-items: flex-end;
    text-align: right;
}
.features-right .feature-item:first-child { margin-top: -90px; }
.feature-item {
    display: flex; flex-direction: column; gap: 28px;
    max-width: 440px;
}
.features-left .feature-item { text-align: right; align-items: flex-end; }
.features-right .feature-item { text-align: right; align-items: flex-end; }
.feature-item .feature-text { text-align: left; max-width: 420px; }
.feature-header {
    font-family: 'DM Sans', 'Inter', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--cream);
    line-height: 1.2;
    letter-spacing: -0.01em;
    text-align: left;
    width: 100%;
    max-width: 420px;
}
.feature-icon {
    width: 48px; height: 48px;
    background: var(--cream);
    color: var(--brown);
    border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.feature-icon svg { width: 24px; height: 24px; }
.feature-text {
    font-family: 'DM Sans', sans-serif;
    font-size: 1.65rem;
    line-height: 1.45;
    color: rgba(239, 230, 212, 0.95);
}
.arrow-doodle {
    position: relative;
    width: 60px; height: 30px;
    stroke: var(--cream); fill: none; stroke-width: 1.5;
}
.features-center {
    position: relative;
    display: flex; align-items: center; justify-content: center;
}
.features-center img { max-width: 280px; width: 100%; }
.chiftele-cluster {
    position: relative;
    width: 340px;
    height: 680px;
    margin: 0 auto;
}
.chiftea {
    position: absolute;
    width: 115px;
    height: 115px;
    object-fit: contain;
    filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.35));
}
/* Fly-in starting state */
.chiftea-fly { opacity: 0; }
.chiftea-fly.chiftea-1 { transform: translate(-800px, -200px) rotate(-180deg); }
.chiftea-fly.chiftea-2 { transform: translate(800px, -150px) rotate(200deg); }
.chiftea-fly.chiftea-3 { transform: translate(-700px, 100px) rotate(-220deg); }
.chiftea-fly.chiftea-4 { transform: translate(700px, 200px) rotate(180deg); }

/* Trigger fly-in + perpetual float when .flown is added */
.chiftele-cluster.flown .chiftea-1 { animation: chiftea-fly-1 1.2s cubic-bezier(0.2, 0.8, 0.3, 1.1) 0.1s forwards, chiftea-float 5s ease-in-out 1.5s infinite; }
.chiftele-cluster.flown .chiftea-2 { animation: chiftea-fly-2 1.2s cubic-bezier(0.2, 0.8, 0.3, 1.1) 0.3s forwards, chiftea-float 5s ease-in-out 1.7s infinite; }
.chiftele-cluster.flown .chiftea-3 { animation: chiftea-fly-3 1.2s cubic-bezier(0.2, 0.8, 0.3, 1.1) 0.5s forwards, chiftea-float 5s ease-in-out 1.9s infinite; }
.chiftele-cluster.flown .chiftea-4 { animation: chiftea-fly-4 1.2s cubic-bezier(0.2, 0.8, 0.3, 1.1) 0.7s forwards, chiftea-float 5s ease-in-out 2.1s infinite; }

@keyframes chiftea-fly-1 {
    0% { opacity: 0; transform: translate(-800px, -200px) rotate(-180deg); }
    60% { opacity: 1; }
    100% { opacity: 1; transform: translate(0, 0) rotate(-10deg); }
}
@keyframes chiftea-fly-2 {
    0% { opacity: 0; transform: translate(800px, -150px) rotate(200deg); }
    60% { opacity: 1; }
    100% { opacity: 1; transform: translate(0, 0) rotate(30deg); }
}
@keyframes chiftea-fly-3 {
    0% { opacity: 0; transform: translate(-700px, 100px) rotate(-220deg); }
    60% { opacity: 1; }
    100% { opacity: 1; transform: translate(0, 0) rotate(-25deg); }
}
@keyframes chiftea-fly-4 {
    0% { opacity: 0; transform: translate(700px, 200px) rotate(180deg); }
    60% { opacity: 1; }
    100% { opacity: 1; transform: translate(0, 0) rotate(15deg); }
}
.chiftea-1 { top: 10px; left: -10px; transform: rotate(-10deg); animation-delay: 0s; width: 155px; height: 155px; }
.chiftea-2 { top: 185px; right: -10px; transform: rotate(30deg); animation-delay: 0.5s; width: 150px; height: 150px; }
.chiftea-3 { top: 355px; left: -10px; transform: rotate(-25deg); animation-delay: 1.0s; width: 145px; height: 145px; }
.chiftea-4 { top: 520px; left: 30px; transform: rotate(15deg); animation-delay: 1.5s; width: 150px; height: 150px; }
@keyframes chiftea-float {
    0%, 100% { translate: 0 0; }
    50% { translate: 0 -12px; }
}

.btn-yellow {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--cta-yellow);
    color: #1a1a1a;
    font-family: 'DM Sans', sans-serif;
    font-weight: 600;
    padding: 12px 22px;
    border-radius: 999px;
    border: none; cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}
.btn-yellow:hover { background: #D4ED3A; transform: translateY(-2px); }
.btn-yellow-circle {
    width: 26px; height: 26px; border-radius: 50%;
    background: #1a1a1a; color: var(--cta-yellow);
    display: inline-flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}

/* ============ RESTAURANTE (brown) ============ */
.restaurants-section {
    background: var(--brown);
    padding: 0 24px 80px;
    color: var(--cream);
    position: relative;
    text-align: center;
}
.restaurants-section h2 {
    font-family: 'DM Sans', sans-serif;
    font-weight: 700;
    font-size: clamp(2rem, 5vw, 3rem);
    text-align: center;
    margin-bottom: 40px;
    color: var(--cream);
}
.restaurant-card {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 40px;
    align-items: stretch;
}
.restaurant-map {
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 16/9;
    border: 3px solid rgba(244, 242, 236, 0.18);
    box-shadow: 0 12px 36px -12px rgba(0, 0, 0, 0.4);
    background: rgba(244, 242, 236, 0.05);
    position: relative;
}
.restaurant-map::after {
    content: '';
    position: absolute; inset: 0;
    box-shadow: inset 0 0 0 1px rgba(244, 242, 236, 0.08);
    border-radius: 20px;
    pointer-events: none;
}
.restaurant-map iframe {
    width: 100%; height: 100%; border: 0; display: block;
    filter: saturate(0.9) contrast(0.95);
}
.restaurant-info h3 {
    font-family: 'DM Sans', sans-serif;
    font-weight: 700;
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    color: var(--cream);
    margin-bottom: 20px;
    letter-spacing: -0.01em;
}
.restaurant-info {
    text-align: center;
    padding-top: 60px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}
.restaurant-info p {
    font-family: 'DM Sans', sans-serif;
    font-size: 1.1rem;
    line-height: 1.6;
    color: rgba(239, 230, 212, 0.9);
    margin-bottom: 8px;
}
.restaurant-info .small { font-size: 0.95rem; color: rgba(239, 230, 212, 0.75); }

/* ============ DELIVERY (brown cu banda wavy cream + cercuri) ============ */
.delivery-section {
    background: var(--brown);
    padding: 0 0 80px;
    text-align: center;
    position: relative;
}
.wavy-band-top, .wavy-band-bottom { line-height: 0; font-size: 0; display: block; position: relative; }
.wavy-band-top { margin-bottom: -3px; }
.wavy-band-bottom { margin-top: -3px; margin-bottom: 60px; }
.wavy-band-top svg, .wavy-band-bottom svg { width: 100%; height: 120px; vertical-align: bottom; display: block; }

.wavy-band-top svg.wave-desktop, .wavy-band-bottom svg.wave-desktop { display: block; }
.wavy-band-top svg.wave-mobile, .wavy-band-bottom svg.wave-mobile { display: none; }
@media (max-width: 768px) {
    .wavy-band-top svg.wave-desktop, .wavy-band-bottom svg.wave-desktop { display: none; }
    .wavy-band-top svg.wave-mobile, .wavy-band-bottom svg.wave-mobile { display: block; }
}
.wavy-band-content {
    background:
        linear-gradient(rgba(244,242,236,0.35), rgba(244,242,236,0.35)),
        url('../assets/images/Fundal.png') center/cover fixed;
    padding: 20px 24px;
    text-align: center;
    margin-top: -1px;
    margin-bottom: -1px;
    position: relative;
    z-index: 1;
}
.wavy-band-top, .wavy-band-bottom {
    background:
        linear-gradient(rgba(244,242,236,0.35), rgba(244,242,236,0.35)),
        url('../assets/images/Fundal.png') center/cover fixed;
}
.delivery-section h2 {
    font-family: 'DM Sans', sans-serif;
    font-weight: 700;
    font-size: clamp(3rem, 8vw, 6rem);
    color: var(--brown);
    margin: 0;
    line-height: 1.05;
    letter-spacing: -0.02em;
}
.delivery-note { color: rgba(244,242,236,0.75); margin-top: 24px; }
.delivery-circles {
    display: flex; justify-content: center; align-items: center;
    gap: 60px; flex-wrap: wrap;
    margin-bottom: 0;
    max-width: 1200px;
    margin-left: auto; margin-right: auto;
    padding: 0 40px;
}
.delivery-circle {
    width: 300px; height: 180px;
    display: flex; align-items: center; justify-content: center;
    transition: transform 0.3s ease;
    cursor: pointer;
    background: none;
    border: none;
}
.delivery-circle:hover { transform: translateY(-4px) scale(1.05); }
.delivery-circle img { width: 100%; height: 140px; object-fit: contain; display: block; }
.delivery-circle.glovo img { height: 170px; }
.delivery-note { color: #ffffff !important; font-size: 1.15rem; text-align: center; margin-top: 40px; font-style: italic; font-weight: 600; opacity: 1; }
.delivery-note { font-size: 0.72rem; color: var(--text-muted); font-style: italic; margin-top: 12px; }

/* ============ FAVORITES (cream) ============ */
.favorites-section {
    padding: 80px 24px;
    max-width: 1200px;
    margin: 0 auto;
}
.section-header {
    text-align: center;
    margin-bottom: 48px;
}
.section-header .tag-pill { font-size: clamp(1.25rem, 2.5vw, 1.75rem); padding: 12px 28px; margin-bottom: 20px; }
.section-header p { font-family: 'DM Sans', sans-serif; color: var(--text-muted); font-size: 1.05rem; max-width: 600px; margin: 0 auto; }

.fav-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 32px;
}
.fav-card {
    background: var(--white-soft);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 16px -6px rgba(74, 53, 37, 0.15);
    transition: all 0.3s ease;
    display: flex; flex-direction: column;
}
.fav-card:hover { transform: translateY(-4px); box-shadow: 0 12px 28px -8px rgba(74, 53, 37, 0.25); }
.fav-card-img { aspect-ratio: 16/10; background-size: cover; background-position: center; }
.fav-card-body { padding: 20px 22px; flex: 1; display: flex; flex-direction: column; }
.fav-card-title { font-family: 'DM Sans', sans-serif; font-weight: 700; font-size: 1.2rem; color: var(--brown-text); margin-bottom: 6px; }
.fav-card-desc { font-family: 'DM Sans', sans-serif; font-size: 0.88rem; color: var(--text-muted); line-height: 1.55; flex: 1; }
.fav-card-price { font-family: 'DM Sans', sans-serif; font-weight: 700; font-size: 1.25rem; color: var(--brown); margin-top: 14px; }

/* ============ COUNTER (cream) ============ */
.counter-section { padding: 80px 24px; max-width: 800px; margin: 0 auto; text-align: center; }
.counter-box {
    background: var(--white-soft);
    border-radius: 24px;
    padding: 48px 32px;
    box-shadow: 0 8px 28px -10px rgba(74, 53, 37, 0.2);
}
.counter-label { font-family: 'DM Sans', sans-serif; font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-muted); font-weight: 600; margin-bottom: 14px; }
.counter-value { font-family: 'DM Sans', sans-serif; font-size: clamp(3rem, 9vw, 5.5rem); font-weight: 800; color: var(--brown); line-height: 1; letter-spacing: -0.02em; }
.counter-meta { font-family: 'DM Sans', sans-serif; font-size: 0.9rem; color: var(--text-muted); margin-top: 14px; }
.counter-status { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.counter-status::before { content:''; width: 9px; height: 9px; background: #22c55e; border-radius: 50%; box-shadow: 0 0 8px rgba(34,197,94,0.5); }
.counter-status.offline::before { background: #9ca3af; box-shadow: none; }

/* ============ FOOTER ============ */
.footer-section {
    background: var(--brown-deep);
    color: var(--cream);
    padding: 50px 24px 24px;
    font-family: 'DM Sans', sans-serif;
}
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 32px; }
.footer-logo { filter: brightness(0) invert(1); opacity: 0.9; height: 48px; margin: 0 auto 12px; display: block; }
.footer-tagline { color: rgba(239, 230, 212, 0.6); font-size: 0.85rem; font-style: italic; text-align: center; }
.footer-grid > div:first-child { text-align: center; }
.footer-heading { color: var(--cream); font-weight: 700; font-size: 0.95rem; margin-bottom: 12px; }
.footer-address { font-style: normal; }
.footer-address ul { list-style: none; padding: 0; margin: 0; }
.footer-section ul { list-style: none; }
.footer-section ul li { color: rgba(239, 230, 212, 0.75); font-size: 0.85rem; line-height: 1.8; }
.footer-section ul li a:hover { color: var(--cream); }
.social-icons { display: flex; gap: 8px; margin-bottom: 16px; }
.social-icon { width: 36px; height: 36px; border-radius: 10px; display: flex; align-items: center; justify-content: center; background: rgba(239,230,212,0.08); border: 1px solid rgba(239,230,212,0.12); transition: all 0.3s; }
.social-icon:hover { background: var(--cream); color: var(--brown-deep); }
.anpc-logos { display: flex; gap: 6px; flex-wrap: wrap; }
.anpc-link { font-size: 0.65rem; padding: 4px 8px; background: rgba(239,230,212,0.08); border: 1px solid rgba(239,230,212,0.12); border-radius: 4px; color: var(--cream); }
.footer-bottom { border-top: 1px solid rgba(239,230,212,0.15); padding-top: 20px; display: flex; justify-content: space-between; align-items: center; font-size: 0.75rem; color: rgba(239,230,212,0.5); flex-wrap: wrap; gap: 12px; }
.footer-bottom a:hover { color: var(--cream); }
.footer-bottom-links { display: flex; gap: 20px; }

/* ============ COOKIE CONSENT ============ */
.cookie-consent {
    position: fixed;
    bottom: 24px;
    left: 24px;
    right: 24px;
    z-index: 100;
    max-width: 720px;
    margin: 0 auto;
    background: rgba(244, 242, 236, 0.97);
    backdrop-filter: blur(14px) saturate(180%);
    -webkit-backdrop-filter: blur(14px) saturate(180%);
    border-radius: 20px;
    box-shadow: 0 20px 60px -20px rgba(74, 53, 37, 0.4), 0 0 0 1px rgba(140, 98, 57, 0.1);
    padding: 20px 24px;
    transform: translateY(150%);
    opacity: 0;
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.4s ease;
}
.cookie-consent.visible { transform: translateY(0); opacity: 1; }
.cookie-consent.hiding { transform: translateY(150%); opacity: 0; }
.cookie-inner { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.cookie-text { flex: 1; min-width: 240px; }
.cookie-title {
    font-family: 'DM Sans', sans-serif;
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--brown);
    margin-bottom: 4px;
}
.cookie-text p {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.85rem;
    line-height: 1.45;
    color: var(--brown-text);
    margin: 0;
}
.cookie-actions { display: flex; gap: 10px; flex-shrink: 0; flex-wrap: wrap; }
.cookie-btn {
    font-family: 'DM Sans', sans-serif;
    font-weight: 600;
    font-size: 0.85rem;
    padding: 10px 20px;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}
.cookie-btn-primary {
    background: var(--brown);
    color: #f4f2ec;
}
.cookie-btn-primary:hover { background: var(--brown-deep); transform: translateY(-1px); }
.cookie-btn-outline {
    background: transparent;
    color: var(--brown);
    border: 1.5px solid var(--brown);
}
.cookie-btn-outline:hover { background: var(--brown); color: #f4f2ec; }
@media (max-width: 640px) {
    .cookie-consent { bottom: 12px; left: 12px; right: 12px; padding: 16px 20px; }
    .cookie-actions { width: 100%; }
    .cookie-btn { flex: 1; }
}

/* ============ RESPONSIVE ============ */
/* ============ FEATURES MOBILE LAYOUT ============ */
.features-mobile { display: none; }
/* Mobile chiftea start positions (off-screen) */
.feature-row.right-chiftea .mobile-chiftea { opacity: 0; transform: translateX(120vw) rotate(180deg); }
.feature-row.left-chiftea .mobile-chiftea { opacity: 0; transform: translateX(-120vw) rotate(-180deg); }
/* Mobile arrow drawing */
.features-mobile .arrow-shaft { stroke-dasharray: 200; stroke-dashoffset: 200; }
.features-mobile .arrow-tip-a { stroke-dasharray: 140; stroke-dashoffset: 140; }
/* Activated state */
.features-mobile.animate .feature-row.right-chiftea:nth-of-type(1) .mobile-chiftea { animation: fly-in-right 1s cubic-bezier(0.2, 0.8, 0.3, 1.1) 0.1s forwards, chiftea-hover 4s ease-in-out 1.2s infinite; }
.features-mobile.animate .feature-row.left-chiftea:nth-of-type(2) .mobile-chiftea { animation: fly-in-left 1s cubic-bezier(0.2, 0.8, 0.3, 1.1) 0.4s forwards, chiftea-hover 4s ease-in-out 1.5s infinite; }
.features-mobile.animate .feature-row.right-chiftea:nth-of-type(3) .mobile-chiftea { animation: fly-in-right 1s cubic-bezier(0.2, 0.8, 0.3, 1.1) 0.7s forwards, chiftea-hover 4s ease-in-out 1.8s infinite; }
.features-mobile.animate .feature-row:nth-of-type(1) .arrow-shaft { animation: draw-line-mobile 0.7s ease 0.8s forwards; }
.features-mobile.animate .feature-row:nth-of-type(1) .arrow-tip-a { animation: draw-line-mobile 0.35s ease 1.4s forwards; }
.features-mobile.animate .feature-row:nth-of-type(2) .arrow-shaft { animation: draw-line-mobile 0.7s ease 1.1s forwards; }
.features-mobile.animate .feature-row:nth-of-type(2) .arrow-tip-a { animation: draw-line-mobile 0.35s ease 1.7s forwards; }
.features-mobile.animate .feature-row:nth-of-type(3) .arrow-shaft { animation: draw-line-mobile 0.7s ease 1.4s forwards; }
.features-mobile.animate .feature-row:nth-of-type(3) .arrow-tip-a { animation: draw-line-mobile 0.35s ease 2s forwards; }
@keyframes draw-line-mobile { to { stroke-dashoffset: 0; } }
@keyframes fly-in-right {
    0% { opacity: 0; transform: translateX(120vw) rotate(180deg); }
    60% { opacity: 1; }
    100% { opacity: 1; transform: translateX(0) rotate(15deg); }
}
@keyframes fly-in-left {
    0% { opacity: 0; transform: translateX(-120vw) rotate(-180deg); }
    60% { opacity: 1; }
    100% { opacity: 1; transform: translateX(0) rotate(-15deg); }
}
@keyframes chiftea-hover {
    0%, 100% { transform: translateY(0) rotate(var(--rot, 15deg)); }
    50% { transform: translateY(-10px) rotate(var(--rot, 15deg)); }
}
.feature-row.right-chiftea .mobile-chiftea { --rot: 15deg; }
.feature-row.left-chiftea .mobile-chiftea { --rot: -15deg; }

/* Mobile text fade-in */
.features-mobile .feature-row .feature-item { opacity: 0; }
.feature-row.right-chiftea .feature-item { transform: translateX(-30px); }
.feature-row.left-chiftea .feature-item { transform: translateX(30px); }
.features-mobile.animate .feature-row:nth-of-type(1) .feature-item { animation: text-slide-right 0.8s cubic-bezier(0.22, 1, 0.36, 1) 1.5s forwards; }
.features-mobile.animate .feature-row:nth-of-type(2) .feature-item { animation: text-slide-left 0.8s cubic-bezier(0.22, 1, 0.36, 1) 1.8s forwards; }
.features-mobile.animate .feature-row:nth-of-type(3) .feature-item { animation: text-slide-right 0.8s cubic-bezier(0.22, 1, 0.36, 1) 2.1s forwards; }
@keyframes text-slide-right {
    to { opacity: 1; transform: translateX(0); }
}
@keyframes text-slide-left {
    to { opacity: 1; transform: translateX(0); }
}
@media (max-width: 900px) {
    .features-grid { display: none; }
    .features-mobile {
        display: flex;
        flex-direction: column;
        gap: 50px;
        max-width: 720px;
        margin: 50px auto 0;
        padding: 0 16px;
    }
    .feature-row {
        display: grid;
        grid-template-columns: auto auto 1fr;
        align-items: center;
        gap: 14px;
    }
    .feature-row.right-chiftea {
        grid-template-columns: 1fr auto auto;
    }
    .feature-row.right-chiftea .feature-item { order: 1; text-align: right; align-items: flex-end; }
    .feature-row.right-chiftea .mobile-arrow { order: 2; }
    .feature-row.right-chiftea .mobile-chiftea { order: 3; }
    .feature-row.left-chiftea .mobile-chiftea { order: 1; }
    .feature-row.left-chiftea .mobile-arrow { order: 2; }
    .feature-row.left-chiftea .feature-item { order: 3; text-align: left; align-items: flex-start; }
    .mobile-chiftea {
        width: 95px;
        height: 95px;
        object-fit: contain;
        filter: drop-shadow(0 8px 16px rgba(0,0,0,0.3));
        flex-shrink: 0;
    }
    .feature-row.right-chiftea .mobile-chiftea { transform: rotate(15deg); }
    .feature-row.left-chiftea .mobile-chiftea { transform: rotate(-15deg); }
    .mobile-arrow { width: 90px; height: 60px; flex-shrink: 0; }
    .features-mobile .feature-item { max-width: 100%; gap: 8px; }
    .features-mobile .feature-header { font-size: 1.1rem; max-width: 100%; }
    .features-mobile .feature-text { font-size: 0.9rem; max-width: 100%; line-height: 1.45; }

    .features-left, .features-right { gap: 30px; }
    .features-center img { max-width: 220px; }
    .restaurant-card { grid-template-columns: 1fr; gap: 16px; }
    .restaurant-info { padding-top: 0 !important; padding-bottom: 8px; }
    .restaurant-info h3 { margin-bottom: 10px; }
    .restaurant-info p { margin-bottom: 4px; font-size: 0.95rem; }
    /* ============ FOOTER MOBILE/TABLET ============ */
    .footer-section { padding: 60px 20px 24px; }
    .footer-inner { text-align: center; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px 24px; margin-bottom: 40px; }
    .footer-grid > div:first-child { grid-column: 1 / -1; margin-bottom: 12px; }
    .footer-logo { margin: 0 auto 16px; height: 56px; }
    .footer-tagline { font-size: 0.95rem; }
    .footer-heading { font-size: 1rem; margin-bottom: 16px; }
    .footer-section ul li { font-size: 0.9rem; line-height: 1.8; }
    .social-icons { justify-content: center; gap: 12px; margin-bottom: 14px; }
    .social-icon { width: 44px; height: 44px; }
    .social-icon svg { width: 20px; height: 20px; }
    .anpc-logos { justify-content: center; gap: 10px; }
    .anpc-link { font-size: 0.75rem; padding: 6px 12px; }
    .footer-bottom {
        flex-direction: column;
        justify-content: center;
        text-align: center;
        gap: 14px;
        padding-top: 24px;
        font-size: 0.8rem;
    }
    .footer-bottom-links { justify-content: center; }
}
@media (max-width: 640px) {
    #menuBtn { display: block; }
    .nav-links { display: none; }
    .nav-links.open { display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: var(--cream-paper); padding: 20px 32px; gap: 16px; border-top: 1px solid rgba(74,53,37,0.1); }
    .nav-cta { display: none; }
    .nav-mobile-cta {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        align-self: center;
        margin-top: 4px;
        padding: 9px 20px;
        background: var(--brown);
        color: #fff !important;
        border-radius: 999px;
        font-family: 'DM Sans', sans-serif;
        font-size: 0.85rem;
        font-weight: 600;
        text-decoration: none;
        letter-spacing: 0.02em;
        box-shadow: 0 3px 10px -3px rgba(140, 98, 57, 0.4);
    }
    .nav-mobile-cta svg { width: 13px !important; height: 13px !important; margin-right: 6px !important; }
    .nav-mobile-cta:hover { background: var(--brown-deep); }
    .hero-section { padding: 120px 16px 0; min-height: 0; height: auto; }
    .hero-title { margin-bottom: 32px !important; }
    .btn-brown { margin-bottom: 8px; }
    .hero-image-wrap { border-radius: 20px; max-width: 100%; margin-top: 36px !important; }
    .despre-section { padding: 0 16px 0; }
    .scroll-arrow { margin-top: 36px; transition: background 0.3s ease, opacity 0.3s ease !important; }
    .despre-section { padding: 60px 16px 0; }
    .brown-section, .restaurants-section { padding-left: 16px; padding-right: 16px; }
    .delivery-section { padding-left: 0; padding-right: 0; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; text-align: center; }
    .footer-grid > div:first-child { margin-bottom: 0; }
    .delivery-circles { gap: 12px; flex-wrap: nowrap; justify-content: space-around; padding: 0 8px; }
    .delivery-circle { width: 95px; height: 95px; flex-shrink: 0; }
    .delivery-circle img { height: 70px; }
    .delivery-circle.glovo img { height: 85px; }
}
