/* =========================================================
   Jautienos festivalis — bendras stilius
   Paletė ir šriftai iš prekės ženklo (žalia + ruda + smėlio)
   ========================================================= */

/* Prekės ženklo šriftai (self-host, SIL Open Font License) — Open Sauce Two (antraštės) + Open Sauce Sans (tekstas) */
@font-face { font-family:'Open Sauce Two'; font-weight:500; font-style:normal; font-display:swap; src:url('fonts/OpenSauceTwo-Medium.woff2') format('woff2'); }
@font-face { font-family:'Open Sauce Two'; font-weight:600; font-style:normal; font-display:swap; src:url('fonts/OpenSauceTwo-SemiBold.woff2') format('woff2'); }
@font-face { font-family:'Open Sauce Two'; font-weight:700; font-style:normal; font-display:swap; src:url('fonts/OpenSauceTwo-Bold.woff2') format('woff2'); }
@font-face { font-family:'Open Sauce Two'; font-weight:900; font-style:normal; font-display:swap; src:url('fonts/OpenSauceTwo-Black.woff2') format('woff2'); }
@font-face { font-family:'Open Sauce Sans'; font-weight:400; font-style:normal; font-display:swap; src:url('fonts/OpenSauceSans-Regular.woff2') format('woff2'); }
@font-face { font-family:'Open Sauce Sans'; font-weight:600; font-style:normal; font-display:swap; src:url('fonts/OpenSauceSans-SemiBold.woff2') format('woff2'); }
@font-face { font-family:'Open Sauce Sans'; font-weight:700; font-style:normal; font-display:swap; src:url('fonts/OpenSauceSans-Bold.woff2') format('woff2'); }

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

:root {
  /* Prekės ženklo spalvos */
  --green-deep: #314415;     /* gili alyvuogių žalia — pagr. tamsios sekcijos */
  --green-darker: #26350f;   /* dar tamsesnė (poraštė) */
  --teal: #2b554e;           /* dumblina žalsvai mėlyna — antrinis akcentas */
  --brown: #7d5829;          /* ruda — kortelės */
  --brown-dark: #714814;     /* tamsi ruda */
  --sand: #caa575;           /* smėlio / auksinė — pagr. akcentas */
  --sand-soft: #e0c9a6;      /* švelnesnė smėlio */
  --cream: #efe9e4;          /* kreminė — šviesios sekcijos / tekstas ant tamsaus */
  --ink: #24170a;            /* beveik juoda ruda — tekstas ant šviesaus */
  --white: #ffffff;

  /* Šriftai */
  --font-display: 'Open Sauce Two', 'Segoe UI', system-ui, sans-serif; /* brandbook'o šriftas, apvalioji versija (antraštės) */
  --font-body: 'Open Sauce Sans', 'Segoe UI', system-ui, sans-serif;   /* brandbook'o šriftas (tekstas) */
  --font-serif: 'Noto Serif', Georgia, serif;                          /* Droid Serif atitikmuo su LT (akcentai) */

  --maxw: 1200px;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow: 0 18px 45px rgba(20, 28, 8, 0.28);
  --transition: 0.32s cubic-bezier(0.4, 0, 0.2, 1);
  --nav-h: 74px;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.08; letter-spacing: -0.01em; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.eyebrow {
  font-family: var(--font-display);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.82rem;
  color: var(--brown-dark);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--sand); display: inline-block; }
.on-dark .eyebrow, .eyebrow.light { color: var(--sand); }

.serif-accent { font-family: var(--font-serif); font-style: italic; font-weight: 400; }

/* ------------------- Mygtukai ------------------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-display); font-weight: 500;
  font-size: 1rem; padding: 14px 26px; border-radius: 100px;
  border: 2px solid transparent; cursor: pointer;
  transition: transform var(--transition), background var(--transition), color var(--transition), box-shadow var(--transition);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--sand); color: var(--ink); box-shadow: 0 10px 24px rgba(202,165,117,0.35); }
.btn-primary:hover { background: var(--sand-soft); }
.btn-outline { background: transparent; border-color: currentColor; color: var(--cream); }
.btn-outline:hover { background: var(--cream); color: var(--green-deep); }
.btn-outline.on-light { color: var(--green-deep); }
.btn-outline.on-light:hover { background: var(--green-deep); color: var(--cream); }
.btn .arrow { transition: transform var(--transition); }
.btn:hover .arrow { transform: translateX(3px); }

/* ------------------- Navigacija ------------------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  height: var(--nav-h);
  background: rgba(49, 68, 21, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(202,165,117,0.22);
}
.nav-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: flex; align-items: center; gap: 11px; color: var(--cream); }
.brand svg { width: 38px; height: 38px; flex: none; }
.brand-text { font-family: var(--font-display); line-height: 1; }
.brand-text b { display: block; font-weight: 600; font-size: 1.18rem; letter-spacing: 0.01em; }
.brand-text span { display: block; font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--sand); font-weight: 500; }

.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a {
  color: var(--cream); font-family: var(--font-display); font-weight: 500; font-size: 1rem;
  position: relative; padding: 4px 0;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; width: 0; height: 2px;
  background: var(--sand); transition: width var(--transition);
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-links a.active { color: var(--sand); }

.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-cta .btn { padding: 10px 20px; font-size: 0.92rem; }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 26px; height: 2.5px; background: var(--cream); border-radius: 3px; transition: var(--transition); }
.nav-toggle span + span { margin-top: 6px; }

/* ------------------- Sekcijos ------------------- */
section { position: relative; }
.pad { padding: 92px 0; }
.pad-sm { padding: 64px 0; }
.bg-cream { background: var(--cream); color: var(--ink); }
.bg-green { background: var(--green-deep); color: var(--cream); }
.bg-teal { background: var(--teal); color: var(--cream); }
.bg-brown { background: var(--brown); color: var(--cream); }
.on-dark, .bg-green, .bg-teal, .bg-brown { }
.bg-green h1, .bg-green h2, .bg-green h3, .bg-teal h2, .bg-teal h3, .bg-brown h2, .bg-brown h3 { color: var(--white); }

.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(2rem, 4.4vw, 3.1rem); margin: 14px 0 16px; }
.section-head p { font-size: 1.1rem; opacity: 0.9; }

/* Banguoto krašto skirtukas (organiškas, kaip PDF) */
.wave-top, .wave-bottom { position: absolute; left: 0; width: 100%; line-height: 0; z-index: 1; }
.wave-top { top: -1px; }
.wave-bottom { bottom: -1px; }
.wave-top svg, .wave-bottom svg { width: 100%; height: 60px; display: block; }

/* ------------------- Hero ------------------- */
.hero {
  position: relative; min-height: calc(100vh - var(--nav-h));
  display: flex; align-items: center;
  color: var(--cream); text-align: center;
  padding: 80px 0;
  background: var(--green-darker);
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(38,53,15,0.36) 0%, rgba(38,53,15,0.32) 45%, rgba(38,53,15,0.8) 100%);
}
.hero-inner { position: relative; z-index: 2; max-width: 900px; margin: 0 auto; }
.hero .tag {
  display: inline-block; font-family: var(--font-display); font-weight: 500;
  letter-spacing: 0.2em; text-transform: uppercase; font-size: 0.9rem;
  color: var(--sand); border: 1.5px solid rgba(202,165,117,0.5);
  padding: 8px 18px; border-radius: 100px; margin-bottom: 26px;
}
.hero h1 { font-size: clamp(2.8rem, 8vw, 6rem); font-weight: 900; margin-bottom: 18px; text-shadow: 0 4px 30px rgba(0,0,0,0.3); }
.hero .subtitle { font-family: var(--font-serif); font-style: italic; font-size: clamp(1.25rem, 3vw, 1.9rem); color: var(--cream); margin-bottom: 22px; }
.hero .meta {
  display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px;
  font-family: var(--font-display); font-weight: 500; font-size: 1.05rem; letter-spacing: 0.03em;
  margin-bottom: 36px;
}
.hero .meta span { display: inline-flex; align-items: center; gap: 9px; }
.hero .meta span::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--sand); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.scroll-hint { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); z-index: 2; color: var(--sand); animation: bob 2s ease-in-out infinite; }
@keyframes bob { 0%,100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(8px); } }

/* ------------------- Turinio blokai ------------------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split.reverse .split-media { order: 2; }
.split-media { position: relative; overflow: visible; }
.split-media img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; }
/* Logotipo ženkliukas (antspaudas), užeinantis ant nuotraukos kampo */
#apie { position: relative; }
/* Logotipo ženkliukas — ant hero / „Apie festivalį" sekcijų susikirtimo, lengvai pasuktas */
.apie-badge {
  position: absolute; top: 0; left: auto;
  right: max(20px, calc((100% - var(--maxw)) / 2 + 24px)); z-index: 5;
  width: clamp(132px, 16vw, 188px); aspect-ratio: 1;
  transform: translateY(-50%) rotate(6deg);
}
.apie-badge img { width: 100%; height: 100%; display: block; }
@media (max-width: 900px) { .apie-badge { right: 16px; width: clamp(112px, 19vw, 150px); } }
@media (max-width: 520px) { .apie-badge { right: 10px; width: 104px; } }
.split-body h2 { font-size: clamp(1.8rem, 3.8vw, 2.7rem); margin: 12px 0 18px; }
.split-body p { margin-bottom: 16px; font-size: 1.06rem; }
.split-body p:last-child { margin-bottom: 0; }

/* Foto už teksto — per visą plotį, be rėmo/šešėlio (kaip Miško dvasios / Ingrida kuria) */
.photo-band { position: relative; overflow: hidden; min-height: 460px; display: flex; align-items: center; color: var(--white); padding: 64px 0; }
.photo-band .pb-bg { position: absolute; inset: 0; z-index: 0; }
.photo-band .pb-bg img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo-band .pb-bg::after { content:""; position:absolute; inset:0; background: linear-gradient(90deg, rgba(38,53,15,0.86) 0%, rgba(38,53,15,0.58) 50%, rgba(38,53,15,0.18) 100%); }
.photo-band .container { position: relative; z-index: 2; }
.photo-band .pb-text { max-width: 640px; }
.photo-band .pb-text h3 { font-size: clamp(1.8rem, 4vw, 2.8rem); color: var(--white); margin-bottom: 12px; }
.photo-band .pb-text p { font-size: 1.06rem; opacity: 0.95; }

/* ------------------- Video ------------------- */
.video-wrap { max-width: 980px; margin: 0 auto; border-radius: var(--radius); overflow: hidden; background: #000; line-height: 0; }
.video-wrap video { width: 100%; height: auto; display: block; }
.video-embed { position: relative; max-width: 980px; margin: 0 auto; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: #000; }
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-embed + .video-fallback { display: block; text-align: center; margin-top: 14px; font-family: var(--font-display); font-weight: 500; font-size: 0.95rem; color: var(--brown-dark); }

/* ------------------- Atsiliepimai ------------------- */
.testimonials { columns: 3; column-gap: 22px; }
.quote-card { break-inside: avoid; margin: 0 0 22px; background: var(--white); border: 1px solid rgba(125,88,41,0.14); border-radius: var(--radius-lg); padding: 26px 28px; }
.quote-card p { font-family: var(--font-serif); font-style: italic; font-size: 1.04rem; line-height: 1.5; color: var(--ink); margin-bottom: 14px; }
.quote-card .author { font-family: var(--font-display); font-weight: 600; font-size: 0.92rem; color: var(--brown-dark); display: flex; align-items: center; gap: 8px; }
.quote-card .author::before { content: ""; width: 18px; height: 2px; background: var(--sand); display: inline-block; flex: none; }
@media (max-width: 900px) { .testimonials { columns: 2; } }
@media (max-width: 560px) { .testimonials { columns: 1; } }

/* ------------------- Renginio detalės (data / laikas / vieta) ------------------- */
.event-details { display: flex; flex-wrap: wrap; max-width: 900px; margin: 0 auto; background: var(--white); border: 1px solid rgba(125,88,41,0.16); border-radius: var(--radius-lg); overflow: hidden; }
.ed-item { flex: 1 1 240px; padding: 28px 26px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 5px; border-right: 1px solid rgba(125,88,41,0.12); }
.ed-item:last-child { border-right: none; }
.ed-label { font-family: var(--font-display); font-weight: 600; text-transform: uppercase; letter-spacing: 0.16em; font-size: 0.78rem; color: var(--brown-dark); }
.ed-value { font-family: var(--font-display); font-weight: 700; font-size: 1.4rem; line-height: 1.15; color: var(--ink); }
.ed-map { font-size: 0.92rem; color: var(--brown); margin-top: 4px; font-weight: 600; }
.ed-map:hover { color: var(--brown-dark); }
@media (max-width: 700px) {
  .ed-item { flex-basis: 100%; border-right: none; border-bottom: 1px solid rgba(125,88,41,0.12); }
  .ed-item:last-child { border-bottom: none; }
}

/* ------------------- Dienos eiga (programa valandomis) ------------------- */
.schedule { max-width: 900px; margin: 0 auto; }
.sch-item { display: flex; gap: 26px; padding: 22px 0; border-bottom: 1px solid rgba(125,88,41,0.14); }
.sch-item:last-child { border-bottom: none; }
.sch-time { font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; color: var(--brown-dark); min-width: 74px; line-height: 1.2; }
.sch-body { flex: 1; }
.sch-body h3 { font-size: 1.2rem; color: var(--ink); margin: 0; }
.sch-body > p { font-size: 0.97rem; color: #5a4a36; margin: 4px 0 0; }

/* pranešėjų / patiekalų sąrašai laiko blokuose */
.sch-lineup { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 12px; }
.sch-lineup li { padding-left: 16px; border-left: 2px solid rgba(125,88,41,0.22); }
.sch-lineup .li-title { display: block; font-family: var(--font-body); font-size: 1rem; line-height: 1.4; color: var(--ink); }
.sch-lineup .li-by { display: block; font-family: var(--font-display); font-weight: 500; font-size: 0.9rem; color: var(--brown-dark); margin-top: 3px; }
.sch-lineup .li-by a { color: inherit; text-decoration: none; transition: var(--transition); }
.sch-lineup .li-by a:hover { color: var(--brown); text-decoration: underline; text-underline-offset: 2px; }
.sch-photo figcaption .nowrap { white-space: nowrap; }
.sch-photo figcaption a { display: inline-block; margin-top: 3px; color: var(--brown); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; transition: var(--transition); }
.sch-photo figcaption a:hover { color: var(--brown-dark); }

/* degustacijos: sąrašas + gėrimo nuotrauka */
.sch-degust { display: grid; grid-template-columns: 1fr 240px; gap: 26px; align-items: start; }
.sch-degust .sch-lineup { margin-top: 14px; }
.sch-photo { margin: 14px 0 0; }
.sch-photo img { display: block; width: 100%; border-radius: var(--radius-lg); }
.sch-photo figcaption { font-family: var(--font-display); font-weight: 500; font-size: 0.82rem; color: var(--brown-dark); margin-top: 8px; text-align: center; }
.sch-note { font-family: var(--font-serif); font-style: italic; font-size: 1rem; color: #5a4a36; margin: 16px 0 0; }

.allday { max-width: 900px; margin: 34px auto 0; }
.allday-label { display: block; text-align: center; font-family: var(--font-display); font-weight: 600; color: var(--brown-dark); font-size: 1.05rem; margin-bottom: 14px; }
.allday-chips { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px; }
.chip { background: var(--white); border: 1px solid rgba(125,88,41,0.16); border-radius: 100px; padding: 8px 18px; font-family: var(--font-display); font-weight: 500; font-size: 0.95rem; color: var(--ink); }
.pramogos { margin-top: 26px; padding-top: 24px; border-top: 1px solid rgba(125,88,41,0.14); }
.pramogos h3 { text-align: center; font-size: 1.25rem; color: var(--ink); margin: 0 0 16px; }
.pramogos-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 30px; max-width: 780px; margin-inline: auto; }
.pramogos-list li { position: relative; padding-left: 20px; font-size: 0.98rem; line-height: 1.45; color: var(--ink); }
.pramogos-list li::before { content: ""; position: absolute; left: 0; top: 0.6em; width: 7px; height: 7px; border-radius: 50%; background: var(--brown); }

@media (max-width: 640px) {
  .sch-degust { grid-template-columns: 1fr; }
  .sch-photo { max-width: 280px; }
  .pramogos-list { grid-template-columns: 1fr; }
}
@media (max-width: 520px) { .sch-time { font-size: 1.25rem; min-width: 58px; } .sch-item { gap: 16px; } }

/* ------------------- Kortelės ------------------- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 24px; }
.card {
  background: var(--white); border-radius: var(--radius); overflow: hidden;
  border: 1px solid rgba(125,88,41,0.16); transition: transform var(--transition), border-color var(--transition);
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-4px); border-color: var(--sand); }
.card-img { aspect-ratio: 3/2; overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.card:hover .card-img img { transform: scale(1.06); }
.card-body { padding: 22px 24px 26px; }
.card-body h3 { font-size: 1.3rem; margin-bottom: 8px; color: var(--ink); }
.card-body p { font-size: 0.98rem; color: #5a4a36; }
.bg-green .card-body p, .bg-teal .card-body p { color: #5a4a36; }

/* Programos punktai (su ikonėle) */
.program-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.program-item {
  background: var(--white); border: 1px solid rgba(125,88,41,0.15);
  border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column;
}
.program-item:hover { border-color: var(--sand); }
.program-img { aspect-ratio: 3/2; overflow: hidden; position: relative; }
.program-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.55s ease; }
.program-item:hover .program-img img { transform: scale(1.05); }
.program-img .num {
  position: absolute; top: 12px; left: 12px;
  background: var(--sand); color: var(--ink);
  font-family: var(--font-display); font-weight: 700; font-size: 0.9rem;
  width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.program-body { padding: 20px 24px 24px; }
.program-body h3 { font-size: 1.28rem; color: var(--ink); margin-bottom: 6px; }
.program-body p { font-size: 0.97rem; color: #5a4a36; }
/* Pakopinis atsiskleidimas slenkant (stagger per eilutę) */
.program-item.reveal { transition: opacity 0.6s ease, transform 0.6s ease, border-color var(--transition); }
.program-item.reveal:nth-child(4n+2) { transition-delay: 0.08s; }
.program-item.reveal:nth-child(4n+3) { transition-delay: 0.16s; }
.program-item.reveal:nth-child(4n+4) { transition-delay: 0.24s; }

/* Statistikos kortelės */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 22px; }
.stat {
  background: var(--brown); border-radius: var(--radius-lg); padding: 34px 28px; text-align: center;
  border: 1px solid rgba(202,165,117,0.3);
}
.stat b { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.9rem, 4vw, 2.6rem); color: var(--sand); display: block; line-height: 1.05; overflow-wrap: anywhere; }
.stat span { display: block; margin-top: 10px; color: var(--cream); font-size: 1rem; }

/* Spauda (nuorodų sąrašas) */
.press-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; }
.press-list a {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  background: var(--white); border-radius: var(--radius); padding: 18px 22px;
  font-weight: 600; color: var(--ink); box-shadow: 0 6px 18px rgba(20,28,8,0.08);
  transition: var(--transition);
}
.press-list a:hover { transform: translateY(-3px); color: var(--brown-dark); box-shadow: var(--shadow); }
.press-list a .src { font-size: 0.8rem; font-weight: 400; color: #7a6a55; display: block; }
.press-list a .arrow { color: var(--sand); flex: none; }

/* ------------------- CTA juosta ------------------- */
.cta-band { position: relative; text-align: center; color: var(--cream); overflow: hidden; }
.cta-band .cta-bg { position: absolute; inset: 0; z-index: 0; }
.cta-band .cta-bg img { width: 100%; height: 100%; object-fit: cover; }
.cta-band .cta-bg::after { content:""; position:absolute; inset:0; background: rgba(38,53,15,0.72); }
.cta-band .container { position: relative; z-index: 2; }
.cta-band h2 { font-size: clamp(2rem, 5vw, 3.2rem); color: var(--white); margin-bottom: 16px; }
.cta-band p { font-size: 1.15rem; max-width: 620px; margin: 0 auto 30px; opacity: 0.92; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* ------------------- Galerija ------------------- */
.gallery { columns: 3; column-gap: 16px; }
.gallery figure { break-inside: avoid; margin: 0 0 16px; overflow: hidden; cursor: pointer; position: relative; }
.gallery img { width: 100%; transition: transform 0.5s ease; }
.gallery figure::after { content: "⤢"; position: absolute; top: 12px; right: 14px; color: #fff; font-size: 1.1rem; opacity: 0; transition: var(--transition); text-shadow: 0 1px 4px rgba(0,0,0,0.5); }
.gallery figure:hover img { transform: scale(1.05); }
.gallery figure:hover::after { opacity: 1; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 1000; background: rgba(20,26,8,0.94);
  display: none; align-items: center; justify-content: center;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 92vw; max-height: 86vh; border-radius: 10px; box-shadow: 0 20px 60px rgba(0,0,0,0.6); }
.lb-btn {
  position: absolute; background: rgba(202,165,117,0.16); border: 1px solid rgba(202,165,117,0.4);
  color: var(--cream); width: 54px; height: 54px; border-radius: 50%; font-size: 1.5rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center; transition: var(--transition);
}
.lb-btn:hover { background: var(--sand); color: var(--ink); }
.lb-prev { left: 22px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 22px; top: 50%; transform: translateY(-50%); }
.lb-close { top: 22px; right: 22px; width: 46px; height: 46px; font-size: 1.3rem; }
.lb-count { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); color: var(--cream); font-family: var(--font-display); letter-spacing: 0.1em; }

/* ------------------- Kontaktai ------------------- */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.contact-card { background: var(--white); border: 1px solid rgba(125,88,41,0.15); border-radius: var(--radius-lg); padding: 30px 28px; box-shadow: 0 8px 22px rgba(20,28,8,0.06); }
.contact-card h3 { color: var(--ink); font-size: 1.25rem; margin-bottom: 4px; }
.contact-card .role { color: var(--brown-dark); font-size: 0.9rem; margin-bottom: 14px; display: block; }
.contact-card a, .contact-card p { color: #3d2f1e; font-size: 1.02rem; display: block; margin-bottom: 6px; overflow-wrap: anywhere; }
.contact-card a:hover { color: var(--brown); }
.contact-card .c-email { font-size: 0.9rem; }
/* Organizatorius: vardas vienoje eilutėje, pilnas numeris kitoje (nesiskaido) */
.contact-person { margin-bottom: 12px; }
.contact-person:last-child { margin-bottom: 0; }
.contact-person .cp-name { display: block; }
.contact-person .cp-phone { display: block; white-space: nowrap; color: var(--brown-dark); font-size: 0.98rem; margin-top: 1px; }

/* ------------------- Ekologijos savaitė / #EKOlink ------------------- */
.ekolink { max-width: 780px; margin: 0 auto; text-align: center; background: var(--white); border: 1px solid rgba(125,88,41,0.16); border-radius: var(--radius-lg); padding: 46px 48px; }
.ekolink .eyebrow { justify-content: center; margin-bottom: 6px; }
.ekolink h2 { font-size: clamp(1.7rem, 3.6vw, 2.4rem); margin: 12px 0 14px; }
.ekolink p { font-size: 1.06rem; color: #5a4a36; margin-bottom: 26px; }
.ekolink p strong { color: var(--brown-dark); }
@media (max-width: 620px) { .ekolink { padding: 32px 26px; } }

/* ------------------- Poraštė ------------------- */
.footer { background: var(--green-deep); color: var(--cream); padding: 66px 0 30px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; margin-bottom: 46px; }
.footer .brand { margin-bottom: 16px; }
.footer p { opacity: 0.82; font-size: 0.97rem; max-width: 320px; }
.footer h4 { font-family: var(--font-display); color: var(--sand); font-size: 0.9rem; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 16px; }
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 10px; }
.footer ul a, .footer ul span { opacity: 0.86; transition: var(--transition); }
.footer ul a:hover { opacity: 1; color: var(--sand); }
.footer-bottom { border-top: 1px solid rgba(202,165,117,0.2); padding-top: 24px; display: flex; flex-direction: column; gap: 14px; font-size: 0.85rem; }
.fb-credits { display: flex; flex-wrap: wrap; gap: 4px 22px; opacity: 0.8; }
.fb-credits strong { color: var(--sand); font-weight: 600; }
.fb-credits a { color: var(--cream); text-decoration: none; transition: var(--transition); }
.fb-credits a:hover { color: var(--sand); }
.fb-copy { opacity: 0.7; }

/* ------------------- Atsiskleidimo animacija ------------------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } .scroll-hint { animation: none; } }

/* ------------------- Responsyvumas ------------------- */
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; gap: 40px; }
  .split.reverse .split-media { order: 0; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .gallery { columns: 2; }
}
@media (max-width: 760px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: block; }
  .nav.open .nav-links {
    display: flex; flex-direction: column; align-items: flex-start; gap: 20px;
    position: absolute; top: var(--nav-h); left: 0; right: 0;
    background: var(--green-deep); padding: 26px 24px; border-bottom: 1px solid rgba(202,165,117,0.22);
  }
  .nav.open .nav-cta {
    display: flex; flex-direction: column; align-items: stretch; gap: 12px;
    position: absolute; top: calc(var(--nav-h) + 176px); left: 0; right: 0;
    background: var(--green-deep); padding: 0 24px 26px;
  }
  .nav.open .nav-cta .btn { justify-content: center; }
  .pad { padding: 68px 0; }
  .photo-band { min-height: 380px; padding: 48px 0; }
}
@media (max-width: 520px) {
  .footer-top { grid-template-columns: 1fr; }
  .gallery { columns: 1; }
  .hero .meta { flex-direction: column; gap: 8px; }
  .btn { width: 100%; justify-content: center; }
  .hero-actions .btn { width: auto; }
}
