/* ==========================================================================
   GERVĖNŲ RANČA — HORSE CLUB
   Paletė: rožinė / juoda / balta (pagal logotipą)
   ========================================================================== */

:root {
  /* Spalvos */
  --pink: #e02a75;
  --pink-soft: #f476ac;
  --pink-deep: #9d0f4c;
  --pink-glow: rgba(224, 42, 117, .45);

  --black: #08080a;
  --ink: #101014;
  --ink-2: #16161c;
  --ink-3: #1f1f27;

  --cream: #f7f2ed;
  --white: #ffffff;
  --muted: rgba(247, 242, 237, .62);
  --muted-2: rgba(247, 242, 237, .40);
  --line: rgba(247, 242, 237, .12);

  /* Šriftai */
  --font-display: 'Alfa Slab One', 'Bitter', Georgia, serif;
  --font-head: 'Bitter', Georgia, serif;
  --font-body: 'Montserrat', system-ui, -apple-system, sans-serif;

  /* Matmenys */
  --container: 1240px;
  --radius: 4px;
  --radius-lg: 10px;
  --header-h: 84px;

  --ease: cubic-bezier(.22, 1, .36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; overflow-x: hidden; }
body {
  margin: 0;
  background: var(--black);
  color: var(--cream);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.is-loading { overflow: hidden; height: 100vh; }
body.nav-open { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; line-height: 1.05; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--pink); color: var(--white); }
h1, h2, h3 { text-wrap: balance; }
p, li { text-wrap: pretty; }

:focus-visible { outline: 2px solid var(--pink); outline-offset: 4px; border-radius: 3px; }
:focus:not(:focus-visible) { outline: none; }

/* Slinkimo eigos linija */
.scroll-progress {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 2px;
  z-index: 950;
  background: linear-gradient(90deg, var(--pink-deep), var(--pink), var(--pink-soft));
  transform-origin: 0 50%;
  transform: scaleX(0);
  pointer-events: none;
}

/* Perėjimas tarp puslapių — įėjimas (CSS) ir išėjimas (JS) */
.curtain {
  position: fixed;
  inset: 0;
  z-index: 9990;
  background: var(--black);
  pointer-events: none;
  animation: curtainOut .8s var(--ease) .05s both;
}
@keyframes curtainOut { from { opacity: 1; } to { opacity: 0; visibility: hidden; } }
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9991;
  background: var(--black);
  opacity: 0;
  pointer-events: none;
  transition: opacity .4s var(--ease);
}
body.is-leaving::after { opacity: 1; pointer-events: all; }

/* ---------- Pagalbinės ---------- */
.container { width: min(100% - 48px, var(--container)); margin-inline: auto; }
.section { padding: clamp(80px, 11vw, 150px) 0; position: relative; }
.section--tight { padding: clamp(60px, 8vw, 100px) 0; }

.eyebrow {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--pink);
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
}
.eyebrow::before {
  content: "";
  width: 34px; height: 1px;
  background: var(--pink);
  display: inline-block;
}
.eyebrow--center { justify-content: center; }
.eyebrow--center::after {
  content: "";
  width: 34px; height: 1px;
  background: var(--pink);
  display: inline-block;
}

.h-display {
  font-family: var(--font-display);
  font-size: clamp(34px, 5.4vw, 74px);
  line-height: 1.02;
  letter-spacing: -.01em;
}
.h-section {
  font-family: var(--font-display);
  font-size: clamp(30px, 4.2vw, 56px);
  line-height: 1.08;
}
.lead {
  font-size: clamp(16px, 1.35vw, 19px);
  color: var(--muted);
  max-width: 58ch;
  line-height: 1.75;
}
.text-center { text-align: center; }
.center-block { margin-inline: auto; }

.pink { color: var(--pink); }
.outline-text {
  color: transparent;
  -webkit-text-stroke: 1.5px var(--pink);
  text-stroke: 1.5px var(--pink);
}

/* ---------- Mygtukai ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 17px 32px;
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), color .3s, background-color .3s, border-color .3s;
}
.btn svg { width: 16px; height: 16px; flex: none; transition: transform .4s var(--ease); }
.btn:hover svg { transform: translateX(4px); }

.btn--primary { background: var(--pink); color: var(--white); box-shadow: 0 10px 34px -12px var(--pink-glow); }
.btn--primary:hover { transform: translateY(-3px); box-shadow: 0 18px 44px -12px var(--pink-glow); background: #ef3a83; }
.btn--primary::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  left: -60%;
  width: 40%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .28), transparent);
  transform: skewX(-18deg);
  transition: left .8s var(--ease);
  pointer-events: none;
}
.btn--primary:hover::after { left: 130%; }

.btn--ghost { border: 1px solid rgba(247, 242, 237, .28); color: var(--cream); }
.btn--ghost:hover { border-color: var(--pink); color: var(--pink); transform: translateY(-3px); }

.btn--light { background: var(--cream); color: var(--ink); }
.btn--light:hover { background: var(--white); transform: translateY(-3px); }

.btn--sm { padding: 13px 24px; font-size: 11px; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--pink);
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(224, 42, 117, .35);
  transition: gap .35s var(--ease), border-color .3s;
}
.link-arrow:hover { gap: 16px; border-color: var(--pink); }

/* ==========================================================================
   PRELOADER
   ========================================================================== */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--black);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  transition: opacity .9s var(--ease), visibility .9s;
}
.preloader::after {
  /* švelnus rožinis švytėjimas už tvarto */
  content: "";
  position: absolute;
  width: 620px; height: 620px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(224, 42, 117, .16) 0%, transparent 65%);
  animation: pulseGlow 3.4s ease-in-out infinite;
  pointer-events: none;
}
.preloader.is-done { opacity: 0; visibility: hidden; }

.preloader__barn {
  width: clamp(170px, 26vw, 250px);
  position: relative;
  z-index: 2;
  animation: barnIn 1.4s var(--ease) both;
}
.preloader__barn .barn-fill { opacity: 0; animation: fadeIn .9s ease .55s forwards; }
.preloader__barn .barn-stroke {
  fill: none;
  stroke: var(--pink);
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1400;
  stroke-dashoffset: 1400;
  animation: drawBarn 2s var(--ease) .1s forwards;
}
.preloader__barn .barn-detail { stroke: var(--black); stroke-width: 2.2; fill: none; opacity: 0; animation: fadeIn .7s ease .95s forwards; }

.preloader__bottom {
  position: absolute;
  left: 0; right: 0; bottom: clamp(44px, 7vh, 80px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  z-index: 2;
}
.preloader__bar {
  width: min(320px, 62vw);
  height: 2px;
  background: rgba(247, 242, 237, .13);
  position: relative;
  overflow: hidden;
}
.preloader__fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0%;
  background: var(--pink);
  box-shadow: 0 0 16px var(--pink-glow);
}
.preloader__meta {
  width: min(320px, 62vw);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.preloader__pct { font-family: var(--font-display); font-size: 15px; letter-spacing: .06em; color: var(--cream); }

@keyframes drawBarn { to { stroke-dashoffset: 0; } }
@keyframes fadeIn { to { opacity: 1; } }
@keyframes barnIn { from { opacity: 0; transform: translateY(14px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes pulseGlow { 0%, 100% { transform: scale(1); opacity: .8; } 50% { transform: scale(1.12); opacity: 1; } }

/* ==========================================================================
   HEADER
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: height .45s var(--ease), border-color .45s;
  border-bottom: 1px solid transparent;
}
/* Fonas su blur — atskirame sluoksnyje: backdrop-filter ant pačios antraštės
   uždarytų fiksuotą mobilų meniu jos 68px aukštyje */
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(8, 8, 10, .82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  opacity: 0;
  transition: opacity .45s var(--ease);
  pointer-events: none;
}
.site-header.is-stuck { height: 68px; border-bottom-color: var(--line); }
.site-header.is-stuck::before { opacity: 1; }
.site-header__inner {
  width: min(100% - 48px, 1400px);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { display: flex; align-items: center; gap: 13px; }
.brand__mark {
  width: 46px; height: 46px;
  border-radius: 50%;
  object-fit: cover;
  transition: transform .5s var(--ease);
}
.brand:hover .brand__mark { transform: rotate(-8deg) scale(1.05); }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name {
  font-family: var(--font-display);
  font-size: 15px;
  letter-spacing: .02em;
  color: var(--cream);
}
.brand__sub {
  font-size: 8.5px;
  font-weight: 600;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: var(--pink);
  margin-top: 3px;
}

.nav { display: flex; align-items: center; gap: 28px; }
.nav__link {
  position: relative;
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 6px 0;
  transition: color .3s, transform .25s var(--ease);
  will-change: transform;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1px;
  background: var(--pink);
  transition: width .4s var(--ease);
}
.nav__link:hover, .nav__link.is-active { color: var(--cream); }
.nav__link:hover::after, .nav__link.is-active::after { width: 100%; }

.header__right { display: flex; align-items: center; gap: 18px; }

/* Kalbos jungiklis — diskretiškas išskleidžiamas meniu */
.lang { position: relative; }
.lang__toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 13px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .16em;
  color: var(--muted);
  transition: color .3s, background-color .3s;
}
.lang__toggle:hover, .lang.is-open .lang__toggle { color: var(--cream); background: rgba(247, 242, 237, .05); }
.lang__globe { width: 15px; height: 15px; opacity: .75; }
.lang__chev { width: 9px; height: 9px; opacity: .6; transition: transform .35s var(--ease); }
.lang.is-open .lang__chev { transform: rotate(180deg); }

.lang__menu {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  min-width: 180px;
  padding: 6px;
  background: rgba(16, 16, 20, .97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 26px 54px -22px rgba(0, 0, 0, .85);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity .32s var(--ease), transform .32s var(--ease), visibility .32s;
  z-index: 60;
}
.lang.is-open .lang__menu { opacity: 1; visibility: visible; transform: none; }
.lang__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 10px 12px;
  border-radius: 6px;
  font-size: 13.5px;
  color: var(--muted);
  transition: background-color .25s, color .25s;
}
.lang__item:hover { background: rgba(224, 42, 117, .13); color: var(--cream); }
.lang__item.is-active { color: var(--pink); }
.lang__code { font-size: 10px; font-weight: 700; letter-spacing: .2em; opacity: .65; }

/* Telefono nuoroda antraštėje */
.header__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 19px;
  border: 1px solid rgba(224, 42, 117, .38);
  border-radius: 100px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--cream);
  white-space: nowrap;
  transition: background-color .35s, border-color .35s, transform .4s var(--ease);
}
.header__cta svg { width: 15px; height: 15px; color: var(--pink); flex: none; }
.header__cta:hover { background: rgba(224, 42, 117, .12); border-color: var(--pink); transform: translateY(-2px); }

.burger {
  display: none;
  width: 42px; height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  position: relative;
}
.burger span {
  position: absolute;
  left: 12px;
  width: 18px; height: 1.5px;
  background: var(--cream);
  transition: transform .4s var(--ease), opacity .3s;
}
.burger span:nth-child(1) { top: 16px; }
.burger span:nth-child(2) { top: 21px; }
.burger span:nth-child(3) { top: 26px; }
body.nav-open .burger span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
body.nav-open .burger span:nth-child(2) { opacity: 0; }
body.nav-open .burger span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: calc(var(--header-h) + 40px);
  padding-bottom: 90px;
  overflow: hidden;
  isolation: isolate;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -3;
  background:
    radial-gradient(120% 90% at 78% 18%, rgba(224, 42, 117, .20) 0%, transparent 55%),
    radial-gradient(90% 70% at 10% 90%, rgba(157, 15, 76, .18) 0%, transparent 60%),
    linear-gradient(180deg, #0b0b0e 0%, #08080a 60%, #0c0c10 100%);
}
/* Vieta nuotraukai: įrašykite --hero-photo: url('../img/hero.jpg') */
.hero__photo {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: var(--hero-photo, none);
  background-size: cover;
  background-position: center;
  opacity: .30;
  filter: grayscale(.25) contrast(1.05);
  animation: kenburns 24s ease-in-out infinite alternate;
}
.hero__vignette {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(8, 8, 10, .92) 0%, rgba(8, 8, 10, .55) 45%, transparent 75%),
    linear-gradient(0deg, var(--black) 2%, transparent 40%);
  pointer-events: none;
}
.grain {
  position: absolute;
  inset: -200%;
  z-index: 0;
  opacity: .16;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E");
  animation: grainShift 8s steps(6) infinite;
}
@keyframes grainShift {
  0% { transform: translate(0, 0); }
  20% { transform: translate(-4%, 3%); }
  40% { transform: translate(3%, -5%); }
  60% { transform: translate(-3%, 4%); }
  80% { transform: translate(5%, 2%); }
  100% { transform: translate(0, 0); }
}
@keyframes kenburns {
  from { transform: scale(1) translate(0, 0); }
  to { transform: scale(1.12) translate(-1.5%, -1%); }
}

/* Rožinis prožektorius už juodo žirgo — be jo žirgas pranyktų tamsoje */
.hero__spot {
  position: absolute;
  right: 0;
  bottom: -18%;
  width: min(64vw, 920px);
  aspect-ratio: 1;
  border-radius: 50%;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(circle, rgba(224, 42, 117, .42) 0%, rgba(157, 15, 76, .2) 36%, transparent 66%);
  animation: spotIn 2.4s ease .2s both;
}
@keyframes spotIn { from { opacity: 0; transform: scale(.85); } to { opacity: 1; transform: none; } }

/* Graviūros stiliaus žirgo galva — rožinės linijos su švytėjimu */
.hero__horse {
  position: absolute;
  right: 4%;
  bottom: 0;
  height: min(82%, 620px);
  width: auto;
  z-index: 0;
  pointer-events: none;
  filter: drop-shadow(0 0 10px rgba(224, 42, 117, .45));
  animation: horseIn 2.2s var(--ease) .3s both;
  will-change: transform, translate;
}
/* tik „from“ — pabaigoje lieka elemento paties opacity (ekrano dydžiui pritaikyta) */
@keyframes horseIn { from { opacity: 0; transform: translateX(60px) scale(1.03); } }

.hero__inner { position: relative; z-index: 2; width: min(100% - 48px, var(--container)); margin-inline: auto; }
.hero__content { max-width: 720px; }

.hero__title { margin: 0 0 30px; }
.hero__title .line { display: block; overflow: hidden; }
.hero__title .line > span {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(40px, 7.6vw, 104px);
  line-height: .98;
  letter-spacing: -.015em;
  transform: translateY(110%);
  opacity: 0;
}
.hero__title .line--accent > span {
  color: transparent;
  -webkit-text-stroke: 1.6px var(--pink);
}
.hero__title .line--pink > span { color: var(--pink); }

.hero__eyebrow { opacity: 0; transform: translateY(20px); }
.hero__lead { opacity: 0; transform: translateY(20px); max-width: 52ch; }
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 38px;
  opacity: 0;
  transform: translateY(20px);
}

/* Cinematinis paleidimas */
.is-ready .hero__title .line > span { animation: lineUp 1.25s var(--ease) forwards; animation-delay: var(--d, 0s); }
.is-ready .hero__eyebrow,
.is-ready .hero__lead,
.is-ready .hero__actions,
.is-ready .hero__scroll { animation: fadeUp 1.1s var(--ease) forwards; animation-delay: var(--d, 0s); }
.is-ready .hero__side { animation: fadeUpSide 1.1s var(--ease) forwards; animation-delay: var(--d, 0s); }

@keyframes lineUp { to { transform: translateY(0); opacity: 1; } }
@keyframes fadeUp { to { transform: translateY(0); opacity: 1; } }
@keyframes fadeUpSide { to { transform: translateY(-50%) rotate(90deg); opacity: 1; } }

.hero__scroll {
  position: absolute;
  left: max(24px, calc((100% - var(--container)) / 2));
  bottom: 34px;
  transform: translateY(20px);
  opacity: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--muted-2);
  transition: color .3s;
}
.hero__scroll:hover { color: var(--cream); }
.hero__scroll .line-v {
  width: 56px; height: 1px;
  background: linear-gradient(90deg, var(--pink), transparent);
  position: relative;
  overflow: hidden;
}
.hero__scroll .line-v::after {
  content: "";
  position: absolute;
  top: 0; left: -56px;
  width: 56px; height: 1px;
  background: var(--cream);
  animation: scrollLine 2.2s ease-in-out infinite;
}
@keyframes scrollLine { 0% { left: -56px; } 60%, 100% { left: 56px; } }

.hero__side {
  position: absolute;
  right: 26px;
  top: 58%;
  transform: translateY(calc(-50% + 20px)) rotate(90deg);
  transform-origin: right center;
  opacity: 0;
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: .38em;
  text-transform: uppercase;
  color: var(--muted-2);
  z-index: 3;
  white-space: nowrap;
}

/* ==========================================================================
   BĖGANTI JUOSTA
   ========================================================================== */
.marquee {
  background: var(--pink);
  color: var(--white);
  padding: 16px 0;
  overflow: hidden;
  position: relative;
  transform: rotate(-1.1deg) scale(1.04);
  margin: -20px 0 0;
  z-index: 5;
  box-shadow: 0 18px 60px -28px var(--pink-glow);
}
.marquee__track {
  display: flex;
  gap: 40px;
  width: max-content;
  animation: marquee 32s linear infinite;
}
.marquee__item {
  display: inline-flex;
  align-items: center;
  gap: 40px;
  font-family: var(--font-display);
  font-size: clamp(15px, 1.9vw, 24px);
  letter-spacing: .02em;
  white-space: nowrap;
}
.marquee__item::after {
  content: "";
  width: 18px; height: 18px;
  background: var(--white);
  display: inline-block;
  flex: none;
  opacity: .9;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4.6 21C3.3 17.6 2.8 14.6 2.8 11.8a9.2 9.2 0 0 1 18.4 0c0 2.8-.5 5.8-1.8 9.2h-3.8c1.2-3.2 1.7-6.2 1.7-9a5.3 5.3 0 0 0-10.6 0c0 2.8.5 5.8 1.7 9z'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4.6 21C3.3 17.6 2.8 14.6 2.8 11.8a9.2 9.2 0 0 1 18.4 0c0 2.8-.5 5.8-1.8 9.2h-3.8c1.2-3.2 1.7-6.2 1.7-9a5.3 5.3 0 0 0-10.6 0c0 2.8.5 5.8 1.7 9z'/%3E%3C/svg%3E") center/contain no-repeat;
}
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ==========================================================================
   VERTYBĖS
   ========================================================================== */
.values { background: var(--ink); border-bottom: 1px solid var(--line); }
.values__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.value {
  background: var(--ink);
  padding: clamp(32px, 4vw, 48px);
  transition: background-color .45s var(--ease);
  position: relative;
}
.value:hover { background: var(--ink-2); }
.value__icon {
  width: 46px; height: 46px;
  color: var(--pink);
  margin-bottom: 26px;
  transition: transform .5s var(--ease);
}
.value:hover .value__icon { transform: translateY(-4px) scale(1.06); }
.value__title { font-family: var(--font-head); font-weight: 700; font-size: 21px; margin-bottom: 12px; }
.value__text { color: var(--muted); font-size: 15px; margin: 0; }

/* ==========================================================================
   APIE
   ========================================================================== */
.about { background: var(--black); }
.about__grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: center;
}
.about__media { position: relative; }
.photo-frame {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(224, 42, 117, .16), rgba(8, 8, 10, .9)),
    var(--ink-2);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
}
.photo-frame img { width: 100%; height: 100%; object-fit: cover; }
.photo-frame::after {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(247, 242, 237, .10);
  border-radius: 6px;
  pointer-events: none;
}
.photo-frame__hint {
  text-align: center;
  color: var(--muted-2);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  padding: 20px;
}
.photo-frame__hint svg { width: 34px; height: 34px; margin: 0 auto 14px; color: var(--pink); opacity: .5; }

/* Sukasi kaip logotipo žiedas: tekstas aplink tvartą */
.about__badge {
  position: absolute;
  right: -28px;
  bottom: 36px;
  width: 156px; height: 156px;
  border-radius: 50%;
  background: var(--black);
  border: 1px solid rgba(224, 42, 117, .55);
  box-shadow: 0 24px 60px -20px var(--pink-glow), inset 0 0 0 7px var(--black), inset 0 0 0 8px rgba(224, 42, 117, .22);
  display: grid;
  place-items: center;
  animation: floaty 5s ease-in-out infinite;
}
.about__badge-ring {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  animation: spin 26s linear infinite;
}
.about__badge-ring text {
  fill: var(--pink);
  font-family: var(--font-body);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 8.5px;
}
.about__badge-barn { width: 54px; position: relative; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
@keyframes spin { to { transform: rotate(360deg); } }

.quote {
  border-left: 2px solid var(--pink);
  padding: 6px 0 6px 24px;
  margin: 32px 0 30px;
  font-family: var(--font-head);
  font-style: italic;
  font-size: clamp(17px, 1.7vw, 22px);
  line-height: 1.55;
  color: var(--cream);
}
.quote__author {
  display: block;
  margin-top: 12px;
  font-family: var(--font-body);
  font-style: normal;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--pink);
}
.facts { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 8px; }
.fact {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: 9px 18px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--muted);
}
.fact::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--pink); }

/* ==========================================================================
   ISTORIJA — skyriai išilgai linijos, kuri prisipildo rožine slenkant žemyn
   ========================================================================== */
.story { background: var(--ink); overflow: hidden; }
.story__head { text-align: center; margin-bottom: clamp(60px, 8vw, 110px); }
.story__track { position: relative; }
/* top/height nustato main.js — nuo pirmo iki paskutinio žymeklio */
.story__line {
  position: absolute;
  left: 50%;
  top: 0;
  height: 100%;
  width: 2px;
  margin-left: -1px;
  background: var(--line);
  border-radius: 2px;
}
.story__line-fill {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(to bottom, var(--pink-soft), var(--pink));
  box-shadow: 0 0 14px var(--pink-glow);
  transform-origin: 50% 0;
  transform: scaleY(var(--p, 0));
}
.story__list { margin: 0; padding: 0; list-style: none; display: grid; gap: clamp(100px, 12vw, 170px); }

.chapter {
  display: grid;
  grid-template-columns: 1fr 120px 1fr;
  grid-template-areas: "media marker body";
  align-items: center;
}
.chapter--flip { grid-template-areas: "body marker media"; }

.chapter__marker {
  grid-area: marker;
  justify-self: center;
  position: relative;
  z-index: 1;
  width: 64px; height: 64px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--ink);
  border: 1px solid var(--line);
  box-shadow: 0 0 0 8px var(--ink);
  font-family: var(--font-display);
  font-size: 17px;
  color: var(--muted-2);
  transition: color .6s var(--ease), border-color .6s var(--ease), background-color .6s var(--ease), box-shadow .6s var(--ease), transform .6s var(--ease);
}
.chapter.is-lit .chapter__marker {
  color: var(--pink);
  border-color: var(--pink);
  box-shadow: 0 0 0 8px var(--ink), 0 0 34px var(--pink-glow);
  transform: scale(1.08);
}
.chapter--pink.is-lit .chapter__marker { background: var(--pink); color: var(--white); }

.chapter__media { grid-area: media; position: relative; padding-bottom: 16%; }
.chapter__media--solo { padding-bottom: 0; }
.chapter__photo {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--ink-2);
}
.chapter__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.chapter__photo:first-child { width: 80%; aspect-ratio: 4 / 5; }
.chapter--flip .chapter__photo:first-child { margin-left: auto; }
.chapter__media--solo .chapter__photo:first-child { width: 88%; }
.chapter__media--wide .chapter__photo:first-child { width: 100%; aspect-ratio: 3 / 2; }
.chapter__media:hover .chapter__photo:first-child img { transform: scale(1.04); }
/* antroji nuotrauka — kaip prisegta polaroido kortelė */
.chapter__photo--second {
  position: absolute;
  right: 0; bottom: 0;
  width: 42%;
  aspect-ratio: 3 / 4;
  border: 6px solid var(--black);
  box-shadow: 0 0 0 1px rgba(224, 42, 117, .35), 0 30px 60px -18px rgba(0, 0, 0, .85);
  transform: rotate(4deg);
  transition: transform .8s var(--ease);
}
.chapter--flip .chapter__photo--second { right: auto; left: 0; transform: rotate(-4deg); }
.chapter__media--wide .chapter__photo--second { width: 30%; aspect-ratio: 3 / 5; bottom: 0; }
.chapter__media:hover .chapter__photo--second { transform: rotate(0deg) translateY(-6px); }
.chapter--pink .chapter__photo:first-child { border-color: rgba(224, 42, 117, .6); box-shadow: 0 30px 90px -30px var(--pink-glow); }

.chapter__body { grid-area: body; max-width: 520px; }
.chapter--flip .chapter__body { justify-self: end; }
.chapter__tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--pink);
  margin-bottom: 14px;
}
.chapter__title { font-family: var(--font-display); font-size: clamp(26px, 2.8vw, 38px); line-height: 1.12; margin-bottom: 24px; }
.chapter__text p { color: var(--muted); margin: 0 0 14px; }
.chapter__text .chapter__hl {
  font-family: var(--font-head);
  font-style: italic;
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.5;
  color: var(--cream);
  border-left: 2px solid var(--pink);
  padding: 4px 0 4px 20px;
  margin: 24px 0;
}
.chapter__text .chapter__hl--big {
  font-family: var(--font-display);
  font-style: normal;
  font-size: clamp(34px, 4.2vw, 58px);
  line-height: 1.04;
  color: var(--pink);
  border: 0;
  padding: 0;
  margin: 26px 0;
  text-shadow: 0 0 44px var(--pink-glow);
}

@media (max-width: 860px) {
  .story__line { left: 27px; }
  .chapter, .chapter--flip {
    grid-template-columns: 54px 1fr;
    grid-template-areas: "marker media" "marker body";
    column-gap: 20px;
    row-gap: 30px;
    align-items: start;
  }
  .chapter__marker { width: 54px; height: 54px; font-size: 15px; }
  .chapter--flip .chapter__body { justify-self: stretch; }
  .chapter__body { max-width: none; }
  .chapter--flip .chapter__photo:first-child { margin-left: 0; }
  .chapter--flip .chapter__photo--second { left: auto; right: 0; transform: rotate(4deg); }
  .story__list { gap: 84px; }
}
@media (max-width: 520px) {
  .story__line { left: 19px; }
  .chapter, .chapter--flip { grid-template-columns: 38px 1fr; column-gap: 14px; }
  .chapter__marker { width: 38px; height: 38px; font-size: 12px; box-shadow: 0 0 0 5px var(--ink); }
  .chapter.is-lit .chapter__marker { box-shadow: 0 0 0 5px var(--ink), 0 0 24px var(--pink-glow); }
  .chapter__photo--second { border-width: 4px; }
}

/* ==========================================================================
   VEIKLOS
   ========================================================================== */
.services { background: var(--ink); position: relative; border-top: 1px solid var(--line); }
.services__head { max-width: 640px; margin-bottom: clamp(44px, 5vw, 70px); }
.services__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 26px;
}
.card {
  position: relative;
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 3vw, 40px);
  overflow: hidden;
  transition: transform .5s var(--ease), border-color .4s, background-color .4s;
  display: flex;
  flex-direction: column;
}
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(90% 60% at 50% 0%, rgba(224, 42, 117, .14), transparent 70%);
  opacity: 0;
  transition: opacity .5s var(--ease);
  pointer-events: none;
}
.card:hover { transform: translateY(-8px); border-color: rgba(224, 42, 117, .38); }
.card:hover::before { opacity: 1; }
.card__num {
  font-family: var(--font-display);
  font-size: 13px;
  color: var(--pink);
  letter-spacing: .1em;
  margin-bottom: 20px;
  display: block;
}
.card__icon { width: 54px; height: 54px; color: var(--pink); margin-bottom: 22px; transition: transform .5s var(--ease); }
.card:hover .card__icon { transform: scale(1.08) rotate(-3deg); }
.card__title { font-family: var(--font-display); font-size: clamp(22px, 2.2vw, 28px); margin-bottom: 8px; }
.card__age {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--pink);
  border: 1px solid rgba(224, 42, 117, .32);
  border-radius: 100px;
  padding: 5px 13px;
  margin-bottom: 18px;
}
.card__text { color: var(--muted); font-size: 15px; }
.card__list { margin: 18px 0 26px; display: grid; gap: 10px; }
.card__list li {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  font-size: 14px;
  color: var(--muted);
}
.card__list li::before {
  content: "";
  width: 15px; height: 15px;
  margin-top: 4px;
  flex: none;
  background: var(--pink);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/contain no-repeat;
}
.card__foot { margin-top: auto; }

/* ==========================================================================
   GALERIJA
   ========================================================================== */
.gallery { background: var(--ink); }
.gallery__head { text-align: center; margin-bottom: clamp(40px, 5vw, 64px); }
/* Mūrinis tinklelis: tile = statmena (2 eilutės), --wide = gulsčia (2 stulpeliai), --feature = didžioji (2×4) */
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 180px;
  grid-auto-flow: dense;
  gap: 16px;
}
.tile {
  position: relative;
  grid-row: span 2;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: linear-gradient(140deg, var(--ink-2), var(--ink));
  transition: border-color .4s, transform .5s var(--ease);
}
.tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8, 8, 10, .45), transparent 45%);
  transition: opacity .5s var(--ease);
  pointer-events: none;
}
.tile:hover { border-color: rgba(224, 42, 117, .45); transform: translateY(-5px); }
.tile:hover::after { opacity: 0; }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.tile:hover img { transform: scale(1.05); }
.tile--wide { grid-column: span 2; }
.tile--feature { grid-column: span 2; grid-row: span 4; }

/* ==========================================================================
   TRENERĖ
   ========================================================================== */
.coach { background: var(--black); position: relative; overflow: hidden; }
.coach::before {
  content: "";
  position: absolute;
  left: -10%; top: 20%;
  width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(224, 42, 117, .13), transparent 68%);
  pointer-events: none;
}
.coach__grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: clamp(40px, 6vw, 84px);
  align-items: start;
  position: relative;
}
.coach__media { position: relative; }
@media (min-width: 1081px) {
  /* the bio is long — keep Urtė's photo beside it while reading */
  .coach__media { position: sticky; top: 120px; }
}
.coach__media .photo-frame { aspect-ratio: 3 / 4; }
.coach__media::before {
  content: "";
  position: absolute;
  inset: 22px -22px -22px 22px;
  border: 1px solid var(--pink);
  border-radius: var(--radius-lg);
  z-index: -1;
}
.coach__name {
  font-family: var(--font-display);
  font-size: clamp(30px, 3.6vw, 48px);
  margin-bottom: 6px;
}
.coach__role {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--pink);
  margin-bottom: 26px;
}
.coach__text p { color: var(--muted); }
.coach__sign {
  font-family: var(--font-display);
  font-size: 26px;
  color: var(--pink);
  margin-top: 26px;
  transform: rotate(-4deg);
  display: inline-block;
}

/* ==========================================================================
   CTA JUOSTA
   ========================================================================== */
.cta-band {
  background:
    radial-gradient(80% 140% at 50% 0%, rgba(224, 42, 117, .28), transparent 65%),
    var(--black);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: center;
}
.cta-band__title { font-family: var(--font-display); font-size: clamp(28px, 4vw, 52px); margin-bottom: 18px; }
.cta-band .lead { margin-inline: auto; margin-bottom: 34px; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer { background: var(--ink); padding: clamp(56px, 7vw, 86px) 0 0; border-top: 1px solid var(--line); }
.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 54px;
}
.footer__brand { display: flex; flex-direction: column; gap: 18px; max-width: 320px; }
.footer__logo { width: 84px; height: 84px; border-radius: 50%; }
.footer__tag { color: var(--muted); font-size: 14px; margin: 0; }
.footer__title {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--pink);
  margin-bottom: 20px;
}
.footer__list { display: grid; gap: 12px; }
.footer__list a, .footer__list span { font-size: 14px; color: var(--muted); transition: color .3s; }
.footer__list a:hover { color: var(--pink); }
.socials { display: flex; gap: 10px; }
.social {
  width: 40px; height: 40px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--muted);
  transition: border-color .35s, color .35s, transform .35s var(--ease);
}
.social svg { width: 17px; height: 17px; }
.social:hover { color: var(--pink); border-color: var(--pink); transform: translateY(-3px); }
.footer__wordmark {
  font-family: var(--font-display);
  font-size: clamp(34px, 8.6vw, 124px);
  line-height: .95;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  color: transparent;
  -webkit-text-stroke: 1px rgba(224, 42, 117, .32);
  padding: 4px 0 28px;
  user-select: none;
  transition: -webkit-text-stroke-color .8s var(--ease);
}
.footer:hover .footer__wordmark { -webkit-text-stroke-color: rgba(224, 42, 117, .65); }

.footer__bottom {
  border-top: 1px solid var(--line);
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 12px;
  color: var(--muted-2);
}

/* ==========================================================================
   VIDINIŲ PUSLAPIŲ HERO
   ========================================================================== */
.page-hero {
  position: relative;
  padding: calc(var(--header-h) + clamp(70px, 9vw, 120px)) 0 clamp(50px, 6vw, 80px);
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(34% 80% at 82% 100%, rgba(224, 42, 117, .34), transparent 70%),
    radial-gradient(90% 120% at 80% 0%, rgba(224, 42, 117, .16), transparent 60%),
    var(--black);
}
.page-hero__title { font-family: var(--font-display); font-size: clamp(42px, 8vw, 96px); line-height: 1; margin-bottom: 20px; }
/* Dailiojo jojimo raitelis — rožinės linijos, kanopos „stovi“ ant apatinės linijos */
.page-hero__horse {
  position: absolute;
  right: 7%;
  bottom: 0;
  height: min(76%, 380px);
  width: auto;
  pointer-events: none;
  filter: drop-shadow(0 0 8px rgba(224, 42, 117, .5));
  animation: horseIn 2s var(--ease) .15s both;
}

/* ==========================================================================
   KAINOS
   ========================================================================== */
.prices { background: var(--ink); }
.price-group { margin-bottom: clamp(40px, 5vw, 64px); }
.price-group__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 8px;
}
.price-group__title { font-family: var(--font-display); font-size: clamp(24px, 2.8vw, 34px); }
.price-group__note { font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--pink); }
.price-row {
  display: flex;
  align-items: baseline;
  gap: 20px;
  padding: 22px 4px;
  border-bottom: 1px solid rgba(247, 242, 237, .07);
  transition: padding-left .4s var(--ease), background-color .4s;
}
.price-row:hover { padding-left: 16px; background: rgba(224, 42, 117, .05); }
.price-row__main { flex: 1; min-width: 0; }
.price-row__name { display: block; font-family: var(--font-head); font-weight: 600; font-size: 18px; }
.price-row__desc { display: block; margin-top: 2px; font-size: 13.5px; color: var(--muted-2); }

.notes { background: var(--black); }
.notes__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; margin-top: 34px; }
.note {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  font-size: 14px;
  color: var(--muted);
  transition: border-color .4s;
}
.note:hover { border-color: rgba(224, 42, 117, .35); }
.note svg { width: 20px; height: 20px; color: var(--pink); flex: none; margin-top: 2px; }

/* ==========================================================================
   KONTAKTAI
   ========================================================================== */
.contact { background: var(--ink); }
.contact__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(36px, 5vw, 70px); align-items: start; }
.contact-list { display: grid; gap: 14px; }
.contact-item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px 24px;
  background: var(--ink-2);
  transition: border-color .4s, transform .45s var(--ease), background-color .4s;
}
.contact-item:hover { border-color: rgba(224, 42, 117, .4); transform: translateX(5px); }
.contact-item__icon {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: rgba(224, 42, 117, .12);
  color: var(--pink);
  display: grid;
  place-items: center;
  flex: none;
}
.contact-item__icon svg { width: 18px; height: 18px; }
.contact-item__label, .contact-item__value, .contact-item__note { display: block; }
.contact-item__label { font-size: 10.5px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--pink); margin-bottom: 5px; }
.contact-item__value { font-family: var(--font-head); font-size: 17px; font-weight: 600; color: var(--cream); word-break: break-word; }
.contact-item__note { font-size: 12.5px; color: var(--muted-2); }

.form {
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(26px, 3.4vw, 44px);
}
.form__title { font-family: var(--font-display); font-size: clamp(22px, 2.4vw, 30px); margin-bottom: 8px; }
.form__lead { color: var(--muted); font-size: 14px; margin-bottom: 28px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: block; margin-bottom: 18px; }
.field__label {
  display: block;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 9px;
}
.field input, .field select, .field textarea {
  width: 100%;
  background: rgba(8, 8, 10, .6);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 16px;
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 14.5px;
  transition: border-color .3s, background-color .3s;
}
.field textarea { min-height: 132px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--pink);
  background: rgba(8, 8, 10, .85);
}
.field input::placeholder, .field textarea::placeholder { color: rgba(247, 242, 237, .28); }
.field select option { background: var(--ink); color: var(--cream); }
.form__note { font-size: 12px; color: var(--muted-2); margin: 16px 0 0; }
.form [type="submit"]:disabled { opacity: .7; cursor: progress; transform: none; }

/* Formos būsena (api/contact.js atsakymas) — rodo assets/js/contact-form.js */
[data-form-status] { margin: 16px 0 0; font-size: 14px; line-height: 1.55; color: var(--muted); }
[data-form-status]:empty { margin: 0; }
[data-form-status][data-state="success"],
[data-form-status][data-state="error"] {
  padding: 14px 18px;
  border-radius: var(--radius);
  border-left: 3px solid var(--pink);
}
[data-form-status][data-state="success"] { color: var(--cream); background: rgba(224, 42, 117, .10); }
[data-form-status][data-state="error"] { color: var(--pink-soft); background: rgba(157, 15, 76, .18); border-left-color: var(--pink-deep); }

.map-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 24px;
  margin-top: clamp(48px, 6vw, 72px);
}
.map-head .eyebrow { margin-bottom: 0; }
.map-box {
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 21 / 9;
  min-height: 320px;
  background: var(--ink-2);
}
.map-box iframe { display: block; width: 100%; height: 100%; border: 0; }

/* ==========================================================================
   RENGINIAI
   ========================================================================== */
.events { background: var(--black); border-top: 1px solid var(--line); }
.events__head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: end;
  margin-bottom: clamp(36px, 4vw, 56px);
}
.events__head-side { justify-self: end; max-width: 440px; }
.events__head-side .lead { margin-bottom: 18px; }

/* Eilutė */
.ev-list { border-top: 1px solid var(--line); }
.ev-list--empty { border-top: 0; }
.ev-row {
  position: relative;
  display: grid;
  grid-template-columns: 104px 1fr auto;
  align-items: center;
  gap: clamp(18px, 3vw, 40px);
  padding: 26px clamp(8px, 2vw, 22px);
  border-bottom: 1px solid var(--line);
  isolation: isolate;
  overflow: hidden;
  transition: padding-left .55s var(--ease), opacity .4s;
}
.ev-row::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(224, 42, 117, .17), rgba(224, 42, 117, .02) 75%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .65s var(--ease);
}
.ev-row:hover::before, .ev-row:focus-visible::before { transform: scaleX(1); }
.ev-row:hover { padding-left: clamp(16px, 2.6vw, 34px); }

.ev-date { display: flex; flex-direction: column; align-items: center; text-align: center; line-height: 1; }
.ev-date__day {
  font-family: var(--font-display);
  font-size: clamp(38px, 4vw, 54px);
  color: var(--cream);
  transition: color .4s;
}
.ev-date__day--range { font-size: clamp(24px, 2.4vw, 32px); white-space: nowrap; }
.ev-date__month { margin-top: 9px; font-size: 10.5px; font-weight: 700; letter-spacing: .26em; color: var(--pink); }
.ev-row:hover .ev-date__day { color: var(--pink); }

.ev-row__body { min-width: 0; display: block; }
.ev-row__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 11px; }
.ev-row__tags:empty { display: none; }
.ev-tag {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--pink);
  border: 1px solid rgba(224, 42, 117, .35);
  border-radius: 100px;
  padding: 4px 11px;
  white-space: nowrap;
}
.ev-tag--hot { background: var(--pink); border-color: var(--pink); color: var(--white); }
.ev-tag--muted { color: var(--muted-2); border-color: var(--line); }
.ev-row__title {
  display: block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(19px, 1.9vw, 24px);
  line-height: 1.25;
  margin-bottom: 6px;
}
.ev-row__meta { display: block; font-size: 13.5px; color: var(--muted-2); }
.ev-dot { margin: 0 8px; color: var(--pink); opacity: .7; }
.ev-row__side { display: flex; align-items: center; gap: 22px; }
.ev-spots {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  white-space: nowrap;
}
.ev-spots::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--pink);
  box-shadow: 0 0 0 4px rgba(224, 42, 117, .18);
  animation: pulseDot 2.2s ease-in-out infinite;
}
.ev-spots--out { color: var(--muted-2); }
.ev-spots--out::before { background: var(--muted-2); box-shadow: none; animation: none; }
@keyframes pulseDot { 50% { box-shadow: 0 0 0 7px rgba(224, 42, 117, .05); } }

.ev-arrow {
  flex: none;
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  transition: background-color .4s, border-color .4s, transform .55s var(--ease);
}
.ev-arrow svg { width: 16px; height: 16px; }
.ev-row:hover .ev-arrow { background: var(--pink); border-color: var(--pink); transform: rotate(-45deg); }

.ev-row--past { opacity: .5; }
.ev-row--past:hover { opacity: .9; }

/* Mėnesių grupės */
.events-more { background: var(--black); padding-top: 0; }
.events-past { background: var(--black); border-top: 1px solid var(--line); }
.ev-month { margin-bottom: clamp(36px, 4vw, 52px); }
.ev-month:last-child { margin-bottom: 0; }
.ev-month__title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: clamp(20px, 2vw, 26px);
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.ev-month__title::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--pink); }
.ev-month .ev-list { border-top: 0; }

/* Artimiausias renginys */
.events-page { background: var(--black); }
.ev-featured {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(28px, 4vw, 56px);
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
}
.ev-featured__body {
  display: flex;
  flex-direction: column;
  padding: clamp(28px, 4vw, 52px) clamp(24px, 4vw, 52px) clamp(28px, 4vw, 52px) 0;
}
.ev-featured__title { font-family: var(--font-display); font-size: clamp(30px, 3.6vw, 50px); line-height: 1.04; margin-bottom: 14px; }
.ev-featured__date { font-family: var(--font-head); font-size: 17px; font-weight: 600; margin-bottom: 26px; }
.ev-featured__summary { color: var(--muted); margin-bottom: 22px; }
.ev-featured__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: auto; }

/* Viršelis — nuotrauka arba sugeneruotas su data */
.ev-cover {
  position: relative;
  min-height: 440px;
  overflow: hidden;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(24px, 3vw, 38px);
  color: var(--pink);
  background:
    radial-gradient(80% 70% at 25% 15%, rgba(224, 42, 117, .5), transparent 62%),
    radial-gradient(70% 60% at 95% 100%, rgba(157, 15, 76, .55), transparent 65%),
    var(--ink);
}
.ev-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: repeating-linear-gradient(135deg, rgba(247, 242, 237, .035) 0 1px, transparent 1px 15px);
}
.ev-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.ev-cover--img::after { background: linear-gradient(0deg, rgba(8, 8, 10, .9) 8%, rgba(8, 8, 10, .15) 70%); }
.ev-cover__barn {
  position: absolute;
  /* laukas viršutiniame dešiniajame kampe; piešinys prisegtas prie jo kampo ir nelenda už datos */
  right: 5%;
  top: 10%;
  width: 46%;
  height: 46%;
  opacity: .18;
  z-index: -1;
  color: var(--cream);
}
/* vienodas linijos storis nepriklausomai nuo mastelio */
.ev-cover__barn path { vector-effect: non-scaling-stroke; }
.ev-cover__type {
  position: absolute;
  top: clamp(20px, 3vw, 32px);
  left: clamp(24px, 3vw, 38px);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--cream);
  background: rgba(8, 8, 10, .45);
  border: 1px solid rgba(247, 242, 237, .2);
  backdrop-filter: blur(6px);
  border-radius: 100px;
  padding: 7px 14px;
}
.ev-cover__day {
  font-family: var(--font-display);
  font-size: clamp(110px, 13vw, 190px);
  line-height: .82;
  color: transparent;
  -webkit-text-stroke: 2px rgba(247, 242, 237, .9);
}
.ev-cover__day--range { font-size: clamp(72px, 8vw, 120px); }
.ev-cover__month { font-family: var(--font-display); font-size: clamp(22px, 2.4vw, 30px); color: var(--cream); margin-top: 16px; }

/* Atgalinis laikmatis */
.countdown { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; max-width: 440px; margin-bottom: 26px; }
.countdown__cell {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 15px 6px 12px;
  text-align: center;
  background: rgba(8, 8, 10, .55);
}
.countdown__num { display: block; font-family: var(--font-display); font-size: clamp(26px, 2.8vw, 36px); line-height: 1; }
.countdown__cell:first-child .countdown__num { color: var(--pink); }
.countdown__label { display: block; margin-top: 9px; font-size: 9px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--muted-2); }
.countdown--live { display: flex; }
.countdown__live {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--pink);
}
.countdown__live::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--pink); animation: pulseDot 1.6s ease-in-out infinite; box-shadow: 0 0 0 4px rgba(224, 42, 117, .2); }

.ev-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 30px; }
.ev-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 100px;
  font-size: 12.5px;
  color: var(--muted);
}
.ev-chip svg { width: 14px; height: 14px; color: var(--pink); flex: none; }

/* Tuščias kalendorius */
.ev-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
  border: 1px dashed rgba(224, 42, 117, .38);
  border-radius: 18px;
  padding: clamp(40px, 5vw, 64px) 24px;
}
.ev-empty > svg { width: 46px; height: 46px; color: var(--pink); }
.ev-empty__title { font-family: var(--font-display); font-size: clamp(22px, 2.4vw, 30px); }
.ev-empty p { color: var(--muted); max-width: 48ch; margin: 0 0 6px; }

/* Renginio langas — „mini puslapis“ */
body.dialog-open { overflow: hidden; }
.ev-dialog {
  width: min(780px, calc(100% - 28px));
  max-height: calc(100dvh - 40px);
  margin: auto;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--ink);
  color: var(--cream);
  overflow-y: auto;
  overscroll-behavior: contain;
  box-shadow: 0 40px 120px -30px rgba(0, 0, 0, .9);
}
.ev-dialog::backdrop { background: rgba(8, 8, 10, .76); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.ev-dialog[open] { animation: dialogIn .55s var(--ease); }
.ev-dialog[open]::backdrop { animation: backdropIn .4s ease; }
@keyframes dialogIn { from { opacity: 0; transform: translateY(30px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes backdropIn { from { opacity: 0; } to { opacity: 1; } }
.ev-dialog .ev-cover { min-height: 300px; }
.ev-dialog__close {
  position: sticky;
  top: 14px;
  z-index: 5;
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  margin: 14px 14px -58px auto;
  border-radius: 50%;
  background: rgba(8, 8, 10, .72);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(247, 242, 237, .2);
  transition: background-color .3s, transform .45s var(--ease);
}
.ev-dialog__close svg { width: 18px; height: 18px; }
.ev-dialog__close:hover { background: var(--pink); transform: rotate(90deg); }
.ev-dialog__body { padding: clamp(26px, 4vw, 46px); }
.ev-dialog__title { font-family: var(--font-display); font-size: clamp(28px, 3.4vw, 44px); line-height: 1.06; margin-bottom: 10px; }
.ev-dialog__summary { font-size: 17px; color: var(--cream); opacity: .85; }
.ev-dialog__text p { color: var(--muted); }
.ev-dialog__subtitle {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--pink);
  margin: 30px 0 14px;
}
.ev-dialog__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}
.ev-dialog__actions .is-copied { border-color: var(--pink); color: var(--pink); }

.ev-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 1px;
  margin: 26px 0 28px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}
.ev-meta__item { background: var(--ink-2); padding: 16px 18px; }
.ev-meta__label { display: block; margin-bottom: 6px; font-size: 9.5px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--pink); }
.ev-meta__value { font-family: var(--font-head); font-weight: 600; font-size: 15.5px; }
.ev-bar { display: block; height: 4px; margin-top: 10px; border-radius: 4px; background: rgba(247, 242, 237, .1); overflow: hidden; }
.ev-bar span { display: block; height: 100%; border-radius: 4px; background: linear-gradient(90deg, var(--pink-deep), var(--pink)); }

/* ==========================================================================
   ATSIRADIMO ANIMACIJOS
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
  transition-delay: calc(var(--i, 0) * 110ms);
}
.reveal.is-in { opacity: 1; transform: none; }

.reveal-mask { overflow: hidden; display: block; }
.reveal-mask > * { display: block; transform: translateY(105%); transition: transform 1.1s var(--ease); transition-delay: calc(var(--i, 0) * 110ms); }
.reveal-mask.is-in > * { transform: none; }

/* ==========================================================================
   ADAPTYVUMAS
   ========================================================================== */
@media (max-width: 1320px) {
  .header__cta { width: 42px; height: 42px; padding: 0; justify-content: center; border-radius: 50%; }
  .header__cta span { display: none; }
  .hero__horse { right: 5%; height: min(66%, 40vw); }
}

@media (max-width: 1180px) {
  .burger { display: block; }
  .nav {
    position: fixed;
    inset: 0;
    background: rgba(8, 8, 10, .97);
    backdrop-filter: blur(16px);
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s var(--ease), visibility .5s;
    z-index: 800;
  }
  body.nav-open .nav { opacity: 1; visibility: visible; }
  /* logotipas ir mygtukai lieka virš atidaryto meniu */
  .brand, .header__right { position: relative; z-index: 810; }
  .nav__link { font-size: 21px; font-family: var(--font-display); letter-spacing: .02em; text-transform: none; padding: 12px 0; }
  .nav__link::after { display: none; }
  .nav__link.is-active { color: var(--pink); }
}

@media (max-width: 1080px) {
  .about__grid, .coach__grid, .contact__grid { grid-template-columns: 1fr; }
  .coach__media { max-width: 460px; }
  .coach__media::before { inset: 18px -18px -18px 18px; }
  .about__badge { right: 12px; }
  .gallery__grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 170px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .hero__horse { right: -6%; height: min(64%, 560px); opacity: .5; }
  .hero__spot { right: -20%; }
  .page-hero__horse { right: -4%; opacity: .45; }
  .hero__side { display: none; }
  .events__head { grid-template-columns: 1fr; gap: 8px; }
  .events__head-side { justify-self: start; }
  .ev-featured { grid-template-columns: 1fr; gap: 0; }
  .ev-featured__body { padding: clamp(26px, 4vw, 40px); }
  .ev-cover { min-height: 320px; }
}

@media (max-width: 860px) {
  :root { --header-h: 72px; }
  .header__right { gap: 8px; }
  .lang__toggle { padding: 9px 10px; }
  .lang__globe { display: none; }
  .hero__scroll { display: none; }
  .hero__horse { right: -20%; height: 58%; opacity: .28; }
  .page-hero__horse { right: -14%; opacity: .3; }
  .hero { padding-top: calc(var(--header-h) + 30px); }
  .hero__title .line > span { font-size: clamp(36px, 11.5vw, 60px); }
  .marquee { transform: rotate(-1.4deg) scale(1.06); }
  .form__row { grid-template-columns: 1fr; gap: 0; }
  .footer__grid { grid-template-columns: 1fr; gap: 34px; }
  .price-row { flex-wrap: wrap; gap: 8px 16px; }
}

@media (max-width: 640px) {
  .ev-row { grid-template-columns: 58px 1fr; gap: 4px 16px; padding: 22px 4px; }
  .ev-row:hover { padding-left: 10px; }
  .ev-row__side { grid-column: 2; justify-content: space-between; gap: 12px; margin-top: 12px; }
  .ev-arrow { width: 36px; height: 36px; }
  .ev-date__day { font-size: 34px; }
  .ev-date__day--range { font-size: 19px; }
  .countdown { gap: 6px; }
  .countdown__cell { padding: 12px 2px 10px; }
  .countdown__label { font-size: 7.5px; letter-spacing: .12em; }
  .ev-cover { min-height: 250px; }
  .ev-dialog { width: calc(100% - 16px); max-height: calc(100dvh - 16px); border-radius: 14px; }
  .ev-dialog .ev-cover { min-height: 220px; }
  .ev-dialog .ev-cover__day--range { font-size: 56px; }
  .ev-cover__barn { top: 26%; height: 36%; }
}

@media (max-width: 520px) {
  .container, .hero__inner, .site-header__inner { width: calc(100% - 34px); }
  .site-header__inner { gap: 10px; }
  /* telefone pavadinimas mažėja kartu su ekranu ir niekada neužlenda ant mygtukų */
  .brand { gap: 10px; min-width: 0; }
  .brand__mark { width: 40px; height: 40px; flex: none; }
  .brand__text { min-width: 0; }
  .brand__name { font-size: clamp(11px, 3.6vw, 15px); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .brand__sub { font-size: clamp(7px, 2.2vw, 8.5px); letter-spacing: .3em; white-space: nowrap; }
  .header__right { gap: 6px; flex: none; }
  .lang__toggle { width: 40px; height: 40px; padding: 0; justify-content: center; border: 1px solid var(--line); letter-spacing: .08em; }
  .lang__chev { display: none; }
  .header__cta, .burger { width: 40px; height: 40px; }
  .burger span { left: 11px; }
  .burger span:nth-child(1) { top: 15px; }
  .burger span:nth-child(2) { top: 20px; }
  .burger span:nth-child(3) { top: 25px; }
  .gallery__grid { grid-auto-rows: 120px; gap: 10px; }
  .about__badge { width: 116px; height: 116px; right: 0; bottom: 18px; }
  .about__badge-barn { width: 40px; }
  .btn { width: 100%; }
  .hero__actions { gap: 12px; }
}

@media (max-width: 360px) {
  .brand { gap: 8px; }
  .brand__mark { width: 34px; height: 34px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  .hero__title .line > span, .hero__eyebrow, .hero__lead, .hero__actions, .hero__scroll, .hero__side { opacity: 1; transform: none; }
  .reveal { opacity: 1; transform: none; }
  .reveal-mask > * { transform: none; }
}
