/* ============================
   Mano Gerovė — Design tokens
   ============================ */
:root{
  --cream: #F8F3E1;
  --sand: #E3DBBB;
  --sage: #AEB784;
  --olive: #41431B;
  --sage-deep: #7c8961;
  --white-glass: rgba(255,255,255,0.42);
  --border-glass: rgba(65,67,27,0.14);

  --font-display: 'Fraunces', serif;
  --font-body: 'Jost', sans-serif;

  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;

  --shadow-soft: 0 20px 60px -20px rgba(65,67,27,0.25);
}

*{ box-sizing: border-box; }

html{ scroll-behavior: smooth; }

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

h1,h2,h3{
  font-family: var(--font-display);
  font-weight: 400;
  margin: 0;
  letter-spacing: -0.01em;
  color: var(--olive);
}

p{ margin: 0; }

a{ color: inherit; text-decoration: none; }

img{ display:block; max-width:100%; }

::selection{ background: var(--sage); color: var(--cream); }

/* ============================
   Hero background photo (fixed, fades on scroll)
   ============================ */
.hero-bg-photo{
  position: fixed;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  opacity: 0.55;
  transition: opacity 0.15s linear;
  will-change: opacity;
}
.hero-bg-photo img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-bg-photo::after{
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(248,243,225,0.05) 0%, var(--cream) 96%);
}

/* ============================
   Ambient background blobs
   ============================ */
.bg-shapes{
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}
.blob{
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.55;
}
.blob-1{
  width: 620px; height: 620px;
  background: radial-gradient(circle at 30% 30%, var(--sage) 0%, transparent 70%);
  top: -220px; left: -180px;
}
.blob-2{
  width: 520px; height: 520px;
  background: radial-gradient(circle at 60% 40%, var(--sand) 0%, transparent 70%);
  top: 30%; right: -200px;
}
.blob-3{
  width: 460px; height: 460px;
  background: radial-gradient(circle at 50% 50%, var(--sage) 0%, transparent 72%);
  bottom: -160px; left: 25%;
  opacity: 0.4;
}

/* ============================
   Glass utility
   ============================ */
.glass{
  background: var(--white-glass);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border: 1px solid var(--border-glass);
  box-shadow: var(--shadow-soft);
}

/* ============================
   Buttons
   ============================ */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 30px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}
.btn.small{ padding: 11px 22px; font-size: 0.88rem; }

.btn-primary{
  background: var(--olive);
  color: var(--cream);
}
.btn-primary:hover{
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -10px rgba(65,67,27,0.45);
}

.btn-ghost{
  background: transparent;
  color: var(--olive);
  border: 1.4px solid var(--border-glass);
}
.btn-ghost:hover{
  background: rgba(65,67,27,0.06);
  transform: translateY(-2px);
}

/* ============================
   Nav
   ============================ */
.nav-wrap{
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 18px 5vw 0;
}
.nav{
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  border-radius: 999px;
}
.logo{
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-style: italic;
}
.logo-mark svg{ display:block; }

.nav-links{
  display: flex;
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a{
  font-size: 0.92rem;
  position: relative;
  padding-bottom: 3px;
}
.nav-links a::after{
  content:"";
  position: absolute;
  left:0; bottom:0;
  width:0; height:1.4px;
  background: var(--olive);
  transition: width 0.25s ease;
}
.nav-links a:hover::after{ width: 100%; }

.nav-cta{
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  padding: 10px 22px;
  border-radius: 999px;
  background: var(--olive);
  color: var(--cream);
  border: none;
  cursor: pointer;
  transition: transform 0.25s ease;
}
.nav-cta:hover{ transform: translateY(-2px); }

/* ============================
   Hero
   ============================ */
.hero{
  position: relative;
  max-width: 1240px;
  margin: 40px auto 0;
  padding: 0 5vw;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: stretch;
  min-height: 640px;
}
.hero-media{
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 500px;
  width: 78%;
  margin-left: auto;
}
.hero-media img{
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top;
  position: absolute; inset: 0;
}
.hero-media-overlay{
  position: absolute; inset: 0;
  background: linear-gradient(200deg, rgba(174,183,132,0.25), rgba(65,67,27,0.25));
}
.hero-content{
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 22px;
  padding: 20px 10px;
}
.eyebrow{
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--olive);
  font-weight: 600;
}
.hero-content h1{
  font-size: clamp(2.4rem, 4.2vw, 3.6rem);
  line-height: 1.12;
}
.hero-content h1 em{
  font-style: italic;
  color: var(--sage-deep);
}
.hero-lead{
  font-size: 1.18rem;
  max-width: 460px;
  color: rgba(65,67,27,0.85);
}
.hero-lead .lead-line{
  display: block;
}
.hero-actions{
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 6px;
}

/* ============================
   About
   ============================ */
.about{
  max-width: 1240px;
  margin: 140px auto 0;
  padding: 0 5vw;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  align-items: center;
  gap: 40px;
}
.about-media{
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
}
.about-media img{ width:100%; height:100%; object-fit: cover; }
.about-card{
  border-radius: var(--radius-lg);
  padding: 46px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.about-card h2{ font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 1.25; }
.about-card p{ color: rgba(65,67,27,0.82); }
.about-card .btn{ align-self: flex-start; margin-top: 8px; }

/* ============================
   Ko tikėtis
   ============================ */
.expect{
  max-width: 1240px;
  margin: 140px auto 0;
  padding: 0 5vw;
}
.expect-head{ text-align: center; margin-bottom: 50px; }
.expect-head h2{ font-size: clamp(1.5rem, 2.6vw, 1.9rem); line-height: 1.45; max-width: 780px; margin: 8px auto 0; font-family: var(--font-display); font-weight: 400; }
.expect-head .services-lead{ font-family: var(--font-display); font-size: clamp(1.5rem, 2.6vw, 1.9rem); line-height: 1.45; color: var(--olive); }
.expect-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.expect-card{
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  transition: transform 0.3s ease;
}
.expect-card:hover{ transform: translateY(-6px); }
.expect-icon{
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--sage-deep);
  font-style: italic;
}
.expect-card h3{ font-size: 1.25rem; margin: 14px 0 10px; }
.expect-card p{ color: rgba(65,67,27,0.78); font-size: 0.95rem; line-height: 1.6; }

/* ============================
   Topics — horizontal infinite marquee
   ============================ */
.topics-marquee{
  margin-top: 50px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
}
.topics-track{
  display: flex;
  width: max-content;
  gap: 16px;
  animation: topics-scroll 32s linear infinite;
}
.topics-marquee:hover .topics-track,
.topics-track.paused{
  animation-play-state: paused;
}
.topic-tag{
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  padding: 14px 26px;
  border-radius: 999px;
  background: rgba(255,255,255,0.42);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border: 1px solid var(--border-glass);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1rem;
  color: var(--olive);
  white-space: nowrap;
  transition: background 0.25s ease, transform 0.25s ease, color 0.25s ease;
}
.topic-tag:hover{
  background: var(--olive);
  color: var(--cream);

}

@keyframes topics-scroll{
  from{ transform: translateX(0); }
  to{ transform: translateX(-50%); }
}

@media (max-width: 900px){
  .topic-tag{ padding: 11px 20px; font-size: 0.9rem; }
}

/* ============================
   Paslaugos
   ============================ */
.services{
  max-width: 1240px;
  margin: 140px auto 0;
  padding: 0 5vw;
}
.services-text{ max-width: 560px; margin-bottom: 44px; }
.services-text h2{ font-size: clamp(1.8rem, 3vw, 2.4rem); margin: 8px 0 14px; }
.services-lead{ color: rgba(65,67,27,0.8); line-height: 1.6; }
.services-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.service-card{
  position: relative;
  border-radius: var(--radius-lg);
  padding: 34px 28px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: transform 0.3s ease;
}
.service-card:hover{ transform: translateY(-6px); }
.service-card.featured{
  background: rgba(174,183,132,0.35);
  border-color: rgba(65,67,27,0.2);
}
.badge{
  position: absolute;
  top: 20px; right: 20px;
  background: var(--olive);
  color: var(--cream);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
}
.service-card h3{ font-size: 1.3rem; }
.price{ font-weight: 500; color: var(--sage-deep); }
.service-card p:not(.price){ color: rgba(65,67,27,0.78); font-size: 0.92rem; line-height: 1.55; }

/* ============================
   Booking / Calendar
   ============================ */
.booking{
  max-width: 1240px;
  margin: 140px auto 0;
  padding: 0 5vw;
  scroll-margin-top: 110px;
}
.booking-intro{ max-width: 600px; margin-bottom: 40px; }
.booking-intro h2{ font-size: clamp(1.8rem, 3vw, 2.4rem); margin: 8px 0 14px; }
.booking-intro p{ color: rgba(65,67,27,0.8); line-height: 1.6; }

.booking-widget{
  border-radius: var(--radius-lg);
  padding: 40px;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  align-items: start;
  gap: 46px;
}

.calendar{
  width: 100%;
  max-width: none;
}

.calendar-header{
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}
.calendar-header h3{ font-size: 1.1rem; font-style: italic; }
.cal-nav{
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1px solid var(--border-glass);
  background: rgba(255,255,255,0.5);
  font-size: 1.1rem;
  cursor: pointer;
  color: var(--olive);
  transition: background 0.2s ease;
}
.cal-nav:hover{ background: rgba(174,183,132,0.4); }

.calendar-weekdays{
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  font-size: 0.75rem;
  color: var(--sage-deep);
  margin-bottom: 8px;
  font-weight: 500;
}
.calendar-grid{
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
}
.cal-day{
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 0.85rem;
  cursor: pointer;
  border: none;
  background: transparent;
  color: var(--olive);
  transition: background 0.2s ease, color 0.2s ease;
  position: relative;
}
.cal-day.empty{ cursor: default; }
.cal-day.past{ color: rgba(65,67,27,0.25); cursor: not-allowed; }
.cal-day.available:hover{ background: rgba(174,183,132,0.35); }
.cal-day.available::after{
  content:"";
  position: absolute;
  bottom: 4px;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--sage-deep);
}
.cal-day.selected{
  background: var(--olive);
  color: var(--cream);
}
.cal-day.selected::after{ background: var(--cream); }
.cal-day.unavailable{ color: rgba(65,67,27,0.35); cursor: not-allowed; }
.cal-day.full{ color: rgba(65,67,27,0.3); cursor: not-allowed; }
.cal-day.full::after{ background: rgba(65,67,27,0.3); }

.times h3{ font-size: 1.1rem; margin-bottom: 18px; font-style: italic; white-space: nowrap; }

.times{
  width: 100%;
}
.times-inner{
  min-width: 0;
  width: 100%;
  border-left: 1px solid var(--border-glass);
  padding-left: 34px;
}

.times-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 24px;
  min-height: 60px;
}
.times-placeholder{
  grid-column: 1 / -1;
  color: rgba(65,67,27,0.6);
  font-size: 0.9rem;
  line-height: 1.5;
}
.times-empty-state{
  grid-column: 1 / -1;
  color: rgba(65,67,27,0.6);
  font-size: 0.92rem;
  line-height: 1.6;
}
.time-slot{
  padding: 12px 8px;
  text-align: center;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-glass);
  background: rgba(255,255,255,0.5);
  font-size: 0.88rem;
  cursor: pointer;
  transition: all 0.2s ease;
  color:#7c8961;
}
.time-slot:hover{ background: rgba(174,183,132,0.35); }
.time-slot.picked{
  background: var(--olive);
  color: var(--cream);
  border-color: var(--olive);
}
.time-slot.taken{
  color: rgba(65,67,27,0.3);
  cursor: not-allowed;
  text-decoration: line-through;
  background: transparent;
}

.booking-form{
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.booking-form.hidden, .confirm-msg.hidden{ display: none; }
.booking-form input{
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-glass);
  background: rgba(255,255,255,0.55);
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--olive);
}
.booking-form input:focus{ outline: 2px solid var(--sage-deep); outline-offset: 1px; }
.booking-form button{ margin-top: 4px; }
.confirm-msg{
  padding: 16px 18px;
  border-radius: var(--radius-sm);
  background: rgba(174,183,132,0.3);
  font-size: 0.92rem;
  line-height: 1.5;
}

/* ============================
   Footer
   ============================ */
.footer{
  max-width: 1240px;
  margin: 120px auto 0;
  padding: 60px 5vw 40px;
}
.footer-grid{
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  border-top: 1px solid var(--border-glass);
  padding-top: 40px;
}
.footer-logo{ font-size: 1.3rem; display: block; margin-bottom: 10px; }
.footer h4{
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--sage-deep);
  margin-bottom: 12px;
}
.footer p{ font-size: 0.92rem; color: rgba(65,67,27,0.78); margin-bottom: 6px; }
.footer a:hover{ color: var(--sage-deep); }
.copyright{
  text-align: center;
  margin-top: 40px;
  font-size: 0.8rem;
  color: rgba(65,67,27,0.55);
}

/* ============================
   Scroll reveal animations
   ============================ */
.reveal,
.reveal-left,
.reveal-right{
  opacity: 0;
  transition: opacity 0.7s cubic-bezier(0.22,1,0.36,1), transform 0.7s cubic-bezier(0.22,1,0.36,1);
  will-change: opacity, transform;
}
.reveal{ transform: translateY(28px); }
.reveal-left{ transform: translateX(-32px); }
.reveal-right{ transform: translateX(32px); }

.reveal.is-visible,
.reveal-left.is-visible,
.reveal-right.is-visible{
  opacity: 1;
  transform: none;
}

.reveal-stagger .reveal-item{
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s cubic-bezier(0.22,1,0.36,1), transform 0.6s cubic-bezier(0.22,1,0.36,1);
}
.reveal-stagger.is-visible .reveal-item{
  opacity: 1;
  transform: none;
}
.reveal-stagger.is-visible .reveal-item:nth-child(1){ transition-delay: 0.05s; }
.reveal-stagger.is-visible .reveal-item:nth-child(2){ transition-delay: 0.15s; }
.reveal-stagger.is-visible .reveal-item:nth-child(3){ transition-delay: 0.25s; }
.reveal-stagger.is-visible .reveal-item:nth-child(4){ transition-delay: 0.35s; }

/* Hero content plays immediately on load, not on scroll */
.hero-content.reveal-stagger{ opacity: 1; }

/* ============================
   Responsive
   ============================ */
@media (max-width: 900px){
  .nav-links{ display: none; }
  .hero{ grid-template-columns: 1fr; min-height: auto; }
  .hero-media{ min-height: 340px; width: 100%; margin-left: 0; }
  .about{ grid-template-columns: 1fr; }
  .about-media{ aspect-ratio: 16/10; }
  .expect-grid, .services-grid{ grid-template-columns: 1fr; }
  .booking-widget{ padding: 28px; grid-template-columns: 1fr; }
  .times-inner{ width: auto; border-left: none; border-top: 1px solid var(--border-glass); padding-left: 0; padding-top: 26px; }
  .footer-grid{ grid-template-columns: 1fr; gap: 24px; }
  .hero-bg-photo{ opacity: 0.12; }
}

@media (prefers-reduced-motion: reduce){
  *{ transition: none !important; scroll-behavior: auto !important; }
  .reveal, .reveal-left, .reveal-right, .reveal-item{ opacity: 1 !important; transform: none !important; }
}