/* ==========================================================================
   Apie mane (apie.html) – tik šio puslapio stiliai
   Salient: Row (split) + Image with Animation „Mask reveal“, Fancy Box,
   Image with Hotspots (žemėlapis), Call to Action row.
   ========================================================================== */

/* ---------- 1. Hero (split, ivory) ---------- */
.about-hero { position: relative; padding: clamp(28px, 3.4vw, 56px) 0 clamp(80px, 9vw, 140px); overflow: hidden; overflow: clip; }
.about-hero__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(48px, 7vw, 120px); align-items: center; }
.about-hero__text { max-width: 720px; }

.breadcrumbs--dark { margin-bottom: clamp(22px, 2.8vw, 40px); }
.breadcrumbs--dark li { color: var(--ink); }
.breadcrumbs--dark a { color: var(--muted-strong); }
.breadcrumbs--dark a:hover { color: var(--gold-ink); }

.about-hero__title { font-size: clamp(2.8rem, 4.9vw, 5rem); line-height: .98; }
.about-hero__hello { display: block; margin-bottom: .06em; }
.page-apie .nowrap { white-space: nowrap; }
.about-hero__lead { margin-top: clamp(24px, 2.6vw, 34px); max-width: 33em; }
.about-hero__actions { margin-top: 38px; gap: 18px 30px; }
.about-hero__sign { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 40px; margin-top: clamp(40px, 4.5vw, 60px); padding-top: 28px; border-top: 1px solid var(--line); }
.about-hero__facts { display: grid; gap: 6px; font-size: .92rem; color: var(--muted-strong); }
.about-hero__facts li { display: flex; align-items: center; gap: 10px; }
.about-hero__facts .i { width: 18px; height: 18px; color: var(--gold); }

.about-hero__media { position: relative; isolation: isolate; justify-self: end; width: calc(100% - 34px); max-width: 440px; margin-right: 34px; }
.about-hero__frame { position: absolute; inset: 34px -34px -34px 34px; z-index: -1; border: 1px solid var(--gold); border-radius: var(--r-xl); }
.about-hero__photo { aspect-ratio: 4 / 5; border-radius: var(--r-xl); box-shadow: var(--shadow); }
.about-hero__photo img { object-position: 50% 30%; }

.about-hero__badge {
  position: absolute;
  left: clamp(-64px, -4.4vw, -24px);
  bottom: 56px;
  z-index: 2;
  display: grid;
  gap: 6px;
  min-width: 196px;
  padding: 22px 26px 22px;
  border-radius: var(--r-lg);
  background: var(--ivory-2);
  box-shadow: 0 26px 50px -24px rgba(23, 21, 19, .34), 0 0 0 1px var(--line);
}
.about-hero__badge-num { margin: 0; display: flex; align-items: baseline; gap: 2px; font-family: var(--font-serif); font-weight: 420; font-size: 3.5rem; line-height: .9; color: var(--ink); letter-spacing: -.02em; font-variant-numeric: lining-nums tabular-nums; }
.about-hero__badge-num sup { font-size: .5em; font-weight: 400; color: var(--gold-deep); align-self: flex-start; line-height: 1; margin-top: .06em; }
.about-hero__badge-label { margin: 0; font-size: .86rem; line-height: 1.45; color: var(--muted-strong); }

.about-hero__pill {
  position: absolute;
  top: 26px;
  right: -22px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 10px 18px 10px 14px;
  border-radius: var(--r-pill);
  background: rgba(23, 21, 19, .62);
  border: 1px solid rgba(255, 255, 255, .18);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .03em;
  white-space: nowrap;
}
.about-hero__pulse { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--gold-light); flex: none; }
.about-hero__pulse::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 1px solid var(--gold-light); animation: about-pulse 2.4s var(--ease-out) infinite; }
@keyframes about-pulse { from { scale: 1; opacity: .9; } to { scale: 3.2; opacity: 0; } }

/* lengvas „plūduriavimas“ (tik kai leidžiamas judesys) */
@media (prefers-reduced-motion: no-preference) {
  .about-hero__badge.is-in { animation: about-float 7s var(--ease-in-out) 1.6s infinite; }
}
@keyframes about-float { 0%, 100% { transform: translate3d(0, 0, 0); } 50% { transform: translate3d(0, -8px, 0); } }

@media (max-width: 1000px) {
  .about-hero__grid { grid-template-columns: 1fr; }
  .about-hero__text { max-width: none; }
  .about-hero__media { justify-self: center; max-width: 420px; margin-top: 12px; }
  .about-hero__badge { left: -18px; }
}
@media (max-width: 480px) {
  .about-hero__media { justify-self: start; width: calc(100% - 18px); margin-right: 18px; }
  .about-hero__frame { inset: 20px -16px -18px 16px; }
  .about-hero__badge { left: -10px; bottom: 28px; min-width: 0; padding: 16px 20px; }
  .about-hero__badge-num { font-size: 2.8rem; }
  .about-hero__badge-label { font-size: .8rem; }
  .about-hero__pill { top: 16px; right: -8px; font-size: 12px; padding: 8px 14px 8px 12px; }
  .about-hero__actions { gap: 16px 22px; }
}

/* ---------- 2. Istorija ---------- */
.about-story { padding-top: clamp(24px, 3vw, 56px); }
.about-story__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(48px, 8vw, 136px); align-items: start; }
.about-story__photo { aspect-ratio: 4 / 5; border-radius: var(--r-xl); }
.about-story__caption { display: flex; align-items: center; gap: 12px; margin: 22px 0 0; font-size: 12px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; color: var(--muted-strong); }
.about-story__caption .i { width: 34px; height: 17px; color: var(--gold); }
.about-story__text { padding-top: clamp(0px, 5vw, 80px); }
.about-story__body { margin-top: clamp(26px, 3vw, 40px); max-width: 35em; }
.about-story__first { font-size: clamp(1.125rem, 1.35vw, 1.28rem); line-height: 1.6; color: var(--ink); }

.pull-quote { position: relative; margin-top: clamp(40px, 5vw, 64px); padding: clamp(30px, 3.4vw, 44px) 0 0 clamp(26px, 3vw, 44px); border-top: 1px solid var(--line); }
.pull-quote::before { content: ""; position: absolute; left: 0; top: clamp(30px, 3.4vw, 44px); bottom: 6px; width: 2px; background: var(--gold-grad); border-radius: 2px; }
.pull-quote__mark { width: 40px; height: 34px; color: var(--gold); margin-bottom: 18px; }
.pull-quote p { margin: 0; font-family: var(--font-serif); font-weight: 400; font-size: clamp(1.75rem, 2.7vw, 2.55rem); line-height: 1.18; color: var(--heading); text-wrap: balance; }
.pull-quote em { font-style: italic; color: var(--accent); }

@media (max-width: 1000px) {
  .about-story__grid { grid-template-columns: 1fr; }
  .about-story__media { order: 2; width: 100%; max-width: 460px; }
  .about-story__text { padding-top: 0; }
}
@media (max-width: 767px) {
  .about-story__photo { aspect-ratio: 5 / 6; }
}

/* ---------- 3. Principai ---------- */
.principles .section-head { align-items: end; }
.principles__aside p { max-width: 24em; margin: 0; }
.principles__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 24px); padding-bottom: 56px; }
.principles__grid > li { position: relative; }
.principles__grid > li:nth-child(even) { top: 56px; }
.principle {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: clamp(26px, 2.6vw, 36px) clamp(24px, 2.4vw, 34px) clamp(30px, 3vw, 40px);
  border-radius: var(--r-lg);
  background: var(--ivory-2);
  transition: translate .6s var(--ease-out), box-shadow .6s var(--ease-out);
}
.principle::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--gold-grad); scale: 0 1; transform-origin: left; transition: scale .8s var(--ease-out); }
.principle:hover { translate: 0 -6px; box-shadow: var(--shadow); }
.principle:hover::before { scale: 1 1; }
.principle__num { position: absolute; top: 24px; right: 28px; font-family: var(--font-serif); font-style: italic; font-size: 1.35rem; color: var(--gold-deep); }
.principle__icon { position: relative; isolation: isolate; overflow: hidden; display: grid; place-items: center; width: 62px; height: 62px; margin-bottom: clamp(32px, 4vw, 52px); border-radius: 50%; border: 1px solid rgba(196, 154, 82, .45); color: var(--gold-deep); transition: color .45s var(--ease), border-color .45s; }
.principle__icon::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: 50%; background: var(--gold-grad); scale: 0; transition: scale .6s var(--ease-out); }
.principle__icon .i { width: 26px; height: 26px; }
.principle:hover .principle__icon { color: var(--ink); border-color: transparent; }
.principle:hover .principle__icon::before { scale: 1; }
.principle__title { font-size: clamp(1.75rem, 2.1vw, 2.1rem); }
.principle__sub { margin: 8px 0 18px; font-size: 11.5px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-ink); }
.principle p:last-child { font-size: .98rem; line-height: 1.65; }

@media (max-width: 1100px) {
  .principles__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .principles__grid { grid-template-columns: 1fr; padding-bottom: 0; }
  .principles__grid > li:nth-child(even) { top: 0; }
  .principle__icon { margin-bottom: 26px; }
}

/* ---------- 4. Kelionių žemėlapis (hotspots) ---------- */
.wmap-section .section-head { margin-bottom: clamp(28px, 3.6vw, 52px); }
.wmap__stats { gap: 0; flex-wrap: nowrap; }
.wmap__stats p { display: grid; gap: 6px; margin: 0; padding: 0 clamp(20px, 2.4vw, 34px); border-left: 1px solid var(--line); }
.wmap__stats p:first-child { padding-left: 0; border-left: 0; }
.wmap__stats b { font-family: var(--font-serif); font-weight: 420; font-size: clamp(2.6rem, 4vw, 3.6rem); line-height: 1; color: var(--ink); font-variant-numeric: lining-nums tabular-nums; }
.wmap__stats span { font-size: 12px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--muted-strong); }
.wmap__stats b span { font: inherit; letter-spacing: inherit; text-transform: none; color: inherit; }

.wmap { position: relative; }
.wmap__canvas { position: relative; width: 100%; aspect-ratio: 360 / 142; }
.wmap__img { position: absolute; inset: 0; width: 100%; height: 100%; }
.wmap__pins { position: absolute; inset: 0; }

.pin { position: absolute; left: var(--x); top: var(--y); z-index: 1; width: 0; height: 0; }
.pin:hover, .pin:focus-within, .pin.is-open, .pin.is-hl { z-index: 6; }
.js .wmap__pins[data-stagger]:not(.is-in) > * { translate: 0 -18px; }
.pin__dot { position: absolute; left: -17px; top: -17px; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; cursor: pointer; }
.pin__dot span { position: relative; z-index: 1; width: 12px; height: 12px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 3px rgba(247, 243, 236, .95), 0 6px 14px -2px rgba(156, 116, 51, .6); transition: scale .45s var(--ease-out), background-color .3s; }
.pin__dot::before, .pin__dot::after { content: ""; position: absolute; inset: 11px; border-radius: 50%; border: 1px solid var(--gold); opacity: 0; animation: pin-pulse 3s var(--ease-out) infinite; }
.pin__dot::after { animation-delay: 1.5s; }
@keyframes pin-pulse { 0% { scale: .7; opacity: .9; } 100% { scale: 3; opacity: 0; } }
.pin:hover .pin__dot span, .pin.is-open .pin__dot span, .pin.is-hl .pin__dot span, .pin__dot:focus-visible span { scale: 1.35; background: var(--gold-deep); }

.pin__tip {
  position: absolute;
  left: 0;
  bottom: 22px;
  z-index: 2;
  display: block;
  width: max-content;
  max-width: 240px;
  padding: 14px 18px 16px;
  border-radius: var(--r-md);
  background: var(--ink);
  color: rgba(251, 248, 243, .76);
  font-size: 13.5px;
  line-height: 1.45;
  text-align: left;
  box-shadow: var(--shadow-lg);
  translate: -50% 0;
  transform-origin: 50% 100%;
  opacity: 0;
  scale: .94;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .3s var(--ease), scale .45s var(--ease-out), visibility 0s linear .3s;
}
.pin__tip::after { content: ""; position: absolute; left: 50%; bottom: -5px; width: 10px; height: 10px; margin-left: -5px; background: var(--ink); border-radius: 2px; rotate: 45deg; }
.pin__tip strong { display: block; margin: 3px 0 4px; font-family: var(--font-serif); font-size: 1.5rem; font-weight: 500; line-height: 1.1; color: #fff; }
.pin__type { display: block; font-size: 10.5px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-light); }
.pin:hover .pin__tip, .pin:focus-within .pin__tip, .pin.is-open .pin__tip { opacity: 1; scale: 1; visibility: visible; transition-delay: 0s; }
.pin--below .pin__tip { bottom: auto; top: 22px; transform-origin: 50% 0; }
.pin--below .pin__tip::after { bottom: auto; top: -5px; }
.pin--end .pin__tip { translate: calc(-100% + 30px) 0; transform-origin: 100% 0; }
.pin--end .pin__tip::after { left: auto; right: 25px; margin-left: 0; }

.wmap__hint { display: none; align-items: center; justify-content: center; gap: 10px; margin: 14px 0 0; font-size: 12px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--muted-strong); }
.wmap__hint .i { width: 16px; height: 16px; color: var(--gold); }

.wmap__legend { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: clamp(26px, 3.4vw, 48px); }
.wmap__chip { display: inline-flex; align-items: center; gap: 9px; height: 38px; padding: 0 15px 0 13px; border-radius: var(--r-pill); border: 1px solid var(--line-strong); font-size: 13.5px; font-weight: 500; color: var(--ink); transition: color .3s, background-color .3s, border-color .3s; }
.wmap__chip i { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); transition: background-color .3s; }
.wmap__chip:hover { border-color: var(--gold); background: var(--ivory-2); }
.wmap__chip.is-active { background: var(--ink); border-color: var(--ink); color: var(--ivory); }
.wmap__chip.is-active i { background: var(--gold-light); }

@media (max-width: 767px) {
  .wmap__stats p:first-child { padding-left: 0; }
  .wmap__scroll {
    overflow-x: auto;
    overflow-y: hidden;
    margin-inline: calc(-1 * var(--gutter));
    padding-inline: var(--gutter);
    overscroll-behavior-x: contain;
    scrollbar-width: none;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
  }
  .wmap__scroll::-webkit-scrollbar { display: none; }
  .wmap__canvas { width: 760px; }
  .wmap__hint { display: flex; }
  .wmap__legend { justify-content: flex-start; }
  .wmap__chip { height: 36px; font-size: 13.5px; padding: 0 14px 0 12px; }
}

/* ---------- 5. CTA ---------- */
.about-cta__band { padding: clamp(48px, 7vw, 104px) clamp(26px, 6vw, 88px); }
.about-cta__band .cta-band__bg { overflow: hidden; }
.about-cta__band .cta-band__bg img { position: absolute; left: 0; top: -12%; height: 124%; }
.about-cta__band::after { background: linear-gradient(100deg, rgba(23, 21, 19, .9) 0%, rgba(23, 21, 19, .66) 55%, rgba(23, 21, 19, .5) 100%); }
.about-cta__grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .85fr); gap: clamp(36px, 5vw, 88px); align-items: center; }
.about-cta__text h2 { font-size: clamp(2.4rem, 4vw, 3.9rem); }
.about-cta__card { display: grid; gap: 10px; padding: clamp(20px, 2.4vw, 28px); border-radius: var(--r-lg); background: rgba(255, 255, 255, .09); border: 1px solid rgba(255, 255, 255, .18); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
.about-cta__person { display: flex; align-items: center; gap: 16px; padding: 4px 4px 20px; margin-bottom: 6px; border-bottom: 1px solid rgba(255, 255, 255, .14); }
.about-cta__avatar { width: 64px; height: 64px; flex: none; border-radius: 50%; object-fit: cover; object-position: 50% 22%; box-shadow: 0 0 0 2px var(--night), 0 0 0 3px var(--gold-light); }
.about-cta__person strong { display: block; font-family: var(--font-serif); font-size: 1.55rem; font-weight: 500; line-height: 1.1; color: #fff; }
.about-cta__person small { display: block; margin-top: 2px; font-size: .86rem; color: rgba(251, 248, 243, .7); }
.about-cta__line { display: flex; align-items: center; gap: 14px; padding: 12px 18px 12px 12px; border-radius: var(--r-md); background: rgba(255, 255, 255, .06); color: #fff; transition: background-color .35s var(--ease); }
.about-cta__line:hover { background: rgba(255, 255, 255, .14); }
.about-cta__line > span { flex: 1; min-width: 0; font-size: 1.04rem; line-height: 1.35; overflow-wrap: anywhere; }
.about-cta__line small { display: block; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: rgba(251, 248, 243, .56); }
.about-cta__ico { width: 44px; height: 44px; padding: 11px; border-radius: 50%; border: 1px solid rgba(231, 199, 127, .42); color: var(--gold-light); }
.about-cta__go { width: 18px; height: 18px; color: var(--gold-light); rotate: -45deg; transition: rotate .5s var(--ease-out); }
.about-cta__line:hover .about-cta__go { rotate: 0deg; }

@media (max-width: 1000px) {
  .about-cta__grid { grid-template-columns: 1fr; }
  .about-cta__card { max-width: 480px; }
}
@media (max-width: 480px) {
  .about-cta__band { padding: 44px 18px 22px; }
  .about-cta__text { padding-inline: 6px; }
  .about-cta__line { padding-right: 14px; }
  .about-cta__line > span { font-size: .98rem; }
}
