/* ── Reset & Base ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --green-deep:   #1a3a2a;
  --green-mid:    #2d6a4f;
  --green-light:  #52b788;
  --amber:        #e09f3e;
  --amber-dark:   #b87a20;
  --bg:           #f7f4ef;
  --bg-dark:      #1a1a18;
  --text:         #1c1c1a;
  --text-muted:   #6b6b62;
  --white:        #ffffff;
  --border:       #e2ddd6;

  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans:  'Inter', system-ui, sans-serif;

  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 4px 24px rgba(0,0,0,.08);
  --shadow-lg: 0 12px 48px rgba(0,0,0,.14);

  --nav-h: 96px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}

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

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 96px 0; }

/* ── Typography helpers ──────────────────────────────────────── */
.tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--green-mid);
  background: rgba(45,106,79,.1);
  padding: 5px 12px;
  border-radius: 100px;
  margin-bottom: 16px;
}

.tag--light {
  color: rgba(255,255,255,.9);
  background: rgba(255,255,255,.15);
  backdrop-filter: blur(4px);
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--green-deep);
  margin-bottom: 20px;
}

.section-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 520px;
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-header .section-sub { margin: 0 auto; }

/* ── Buttons ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 100px;
  font-family: var(--font-sans);
  font-size: .9rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: transform .2s, box-shadow .2s, background .2s, color .2s;
  white-space: nowrap;
}

.btn:hover { transform: translateY(-2px); }

.btn--primary {
  background: var(--amber);
  color: var(--green-deep);
  box-shadow: 0 4px 20px rgba(224,159,62,.35);
}

.btn--primary:hover {
  background: var(--amber-dark);
  box-shadow: 0 8px 28px rgba(224,159,62,.45);
}

.btn--ghost {
  background: rgba(255,255,255,.15);
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,.4);
  backdrop-filter: blur(4px);
}

.btn--ghost:hover { background: rgba(255,255,255,.25); }

.btn--nav {
  background: var(--amber);
  color: var(--green-deep);
  padding: 10px 22px;
  font-size: .85rem;
}

.btn--nav:hover { background: var(--amber-dark); transform: none; }

.btn--sm {
  padding: 9px 20px;
  font-size: .82rem;
  background: var(--green-deep);
  color: var(--white);
}

.btn--sm:hover { background: var(--green-mid); }

.btn--full { width: 100%; justify-content: center; }

/* ── Navigation ──────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  transition: background .3s, box-shadow .3s;
}

.nav.scrolled {
  background: rgba(247,244,239,.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--border);
}

.nav__brand {
  display: flex;
  align-items: center;
}

/* logo2.png is 1024×1024; primary teal logo fills roughly the top 48% of the sheet.
   We display it by treating the image as a background and clipping. */
/* logo2.png: 1024×1024. Primary teal logo spans roughly top 490px of source.
   Target display: 90px tall. Scale = 90/490 ≈ 0.184 → bg-size ≈ 188px square.
   Container is wider than the scaled logo to give breathing room. */
.nav__logo {
  display: block;
  width: 180px;
  height: 90px;
  background: url('../images/logo2.png') no-repeat center top;
  background-size: 188px 188px;
  overflow: hidden;
  transition: filter .3s;
}

/* On light/scrolled nav, render logo as solid dark so it stays visible */
.nav.scrolled .nav__logo {
  filter: brightness(0);
}

.footer__logo {
  display: block;
  width: 360px;
  height: 180px;
  background: url('../images/logo2.png') no-repeat center top;
  background-size: 376px 376px;
  overflow: hidden;
  margin-bottom: 16px;
  filter: brightness(1.2);
}

.nav__menu {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav__menu a {
  font-size: .9rem;
  font-weight: 500;
  color: rgba(255,255,255,.9);
  transition: color .2s;
}

.nav.scrolled .nav__menu a { color: var(--text); }

.nav__menu a:hover { color: var(--amber); }
.nav.scrolled .nav__menu a:hover { color: var(--green-mid); }

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: background .3s;
}

.nav.scrolled .nav__toggle span { background: var(--text); }

/* ── Hero ────────────────────────────────────────────────────── */
.hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  display: flex;
  align-items: center;
}

.hero__bg {
  position: absolute;
  inset: 0;
}

.hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(10,30,18,.72) 0%,
    rgba(10,30,18,.4) 60%,
    transparent 100%
  );
}

.hero__content {
  position: relative;
  z-index: 1;
  padding: 0 32px;
  max-width: 680px;
  margin-left: max(32px, calc(50vw - 580px));
}

.hero__title {
  font-family: var(--font-serif);
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 20px;
}

.hero__sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,.82);
  margin-bottom: 36px;
  max-width: 480px;
  line-height: 1.7;
}

.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero__scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,.6);
  font-size: .7rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  z-index: 1;
}

.hero__scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, rgba(255,255,255,.5), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 1; transform: scaleY(1); }
  50% { opacity: .4; transform: scaleY(.6); }
}

/* ── About ───────────────────────────────────────────────────── */
.about { background: var(--white); }

.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about__images {
  position: relative;
  padding-bottom: 32px;
  padding-right: 32px;
}

.about__img {
  border-radius: var(--radius);
  object-fit: cover;
}

.about__img--main {
  width: 100%;
  height: 420px;
  box-shadow: var(--shadow-lg);
}

.about__img--accent {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 52%;
  height: 200px;
  border: 4px solid var(--white);
  box-shadow: var(--shadow);
}

.about__badge {
  position: absolute;
  top: 24px;
  left: -16px;
  background: var(--amber);
  color: var(--green-deep);
  border-radius: var(--radius-sm);
  padding: 12px 18px;
  box-shadow: var(--shadow);
}

.about__badge-num {
  display: block;
  font-weight: 700;
  font-size: 1rem;
}

.about__badge-label {
  display: block;
  font-size: .75rem;
  opacity: .8;
}

.about__text p {
  color: var(--text-muted);
  margin-bottom: 16px;
}

.stats {
  display: flex;
  gap: 32px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.stat__num {
  display: block;
  font-family: var(--font-serif);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--green-deep);
  line-height: 1;
}

.stat__label {
  display: block;
  font-size: .8rem;
  color: var(--text-muted);
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: .08em;
}

/* ── Tours ───────────────────────────────────────────────────── */
.tours { background: var(--bg); }

.tours__filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 48px;
}

.filter {
  padding: 8px 20px;
  border-radius: 100px;
  border: 1.5px solid var(--border);
  background: var(--white);
  font-family: var(--font-sans);
  font-size: .85rem;
  font-weight: 500;
  color: var(--text-muted);
  cursor: pointer;
  transition: all .2s;
}

.filter:hover { border-color: var(--green-mid); color: var(--green-mid); }

.filter.active {
  background: var(--green-deep);
  border-color: var(--green-deep);
  color: var(--white);
}

.tours__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.tour-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .3s, box-shadow .3s, opacity .3s;
}

.tour-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.tour-card.hidden {
  display: none;
}

.tour-card__img-wrap {
  position: relative;
  overflow: hidden;
  height: 200px;
}

.tour-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

.tour-card:hover .tour-card__img { transform: scale(1.05); }

.tour-card__badge {
  position: absolute;
  top: 14px;
  left: 14px;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 100px;
}

.tour-card__badge--road {
  background: rgba(26,58,42,.85);
  color: var(--white);
}

.tour-card__badge--gravel {
  background: rgba(224,159,62,.9);
  color: var(--green-deep);
}

.tour-card__body { padding: 20px 22px 22px; }

.tour-card__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.difficulty {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 100px;
}

.difficulty--easy   { background: #d8f3dc; color: #1b4332; }
.difficulty--medium { background: #fff3cd; color: #7d4e00; }
.difficulty--hard   { background: #fde8e8; color: #7d1a1a; }

.tour-card__duration,
.tour-card__dist {
  font-size: .8rem;
  color: var(--text-muted);
}

.tour-card__title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--green-deep);
  margin-bottom: 8px;
  line-height: 1.3;
}

.tour-card__desc {
  font-size: .88rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 18px;
}

.tour-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.tour-card__price {
  font-size: 1rem;
  font-weight: 600;
  color: var(--green-deep);
}

.tour-card__price em {
  font-style: normal;
  font-size: .78rem;
  font-weight: 400;
  color: var(--text-muted);
}

/* ── Guides ──────────────────────────────────────────────────── */
.guides { background: var(--green-deep); }

.guides .tag { color: var(--amber); background: rgba(224,159,62,.15); }
.guides .section-title { color: var(--white); }
.guides .section-sub { color: rgba(255,255,255,.6); }

.guides__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.guide-card {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 28px;
  align-items: start;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius);
  padding: 28px;
  transition: background .2s;
}

.guide-card:hover { background: rgba(255,255,255,.1); }

.guide-card__img-wrap {
  width: 100%;
  aspect-ratio: 1;
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.guide-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}

.guide-card__name {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 4px;
}

.guide-card__role {
  display: block;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 14px;
}

.guide-card__bio {
  font-size: .88rem;
  color: rgba(255,255,255,.65);
  line-height: 1.65;
  margin-bottom: 16px;
}

.guide-card__tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.guide-card__tags span {
  font-size: .75rem;
  padding: 4px 10px;
  border-radius: 100px;
  border: 1px solid rgba(255,255,255,.2);
  color: rgba(255,255,255,.7);
}

/* ── About slideshow ─────────────────────────────────────────── */
.about__slideshow {
  position: relative;
  width: 100%;
  height: 420px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about__slideshow img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  animation: aboutSlide 16s infinite;
}

.about__slideshow img:nth-child(1) { animation-delay: 0s; }
.about__slideshow img:nth-child(2) { animation-delay: 4s; }
.about__slideshow img:nth-child(3) { animation-delay: 8s; }
.about__slideshow img:nth-child(4) { animation-delay: 12s; }

@keyframes aboutSlide {
  0%,  4%  { opacity: 0; }
  10%, 22% { opacity: 1; }
  28%, 100% { opacity: 0; }
}

/* ── Gallery strip ───────────────────────────────────────────── */
.gallery {
  overflow: hidden;
  height: 280px;
}

.gallery__track {
  display: flex;
  height: 100%;
  gap: 4px;
}

.gallery__track img {
  flex: 1;
  height: 100%;
  object-fit: cover;
  transition: flex .5s ease;
  min-width: 0;
}

.gallery__track img:hover { flex: 2.5; }

/* ── Booking ─────────────────────────────────────────────────── */
.book { background: var(--white); }

.book__grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}

.book__info p {
  color: var(--text-muted);
  margin-bottom: 28px;
}

.book__includes {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.book__includes li {
  font-size: .9rem;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ── Form ────────────────────────────────────────────────────── */
.book__form {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 36px 32px;
  box-shadow: var(--shadow);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group--full { margin-bottom: 16px; }

label {
  font-size: .82rem;
  font-weight: 600;
  color: var(--green-deep);
  letter-spacing: .03em;
}

input, select, textarea {
  font-family: var(--font-sans);
  font-size: .9rem;
  color: var(--text);
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
  width: 100%;
}

input:focus, select:focus, textarea:focus {
  border-color: var(--green-mid);
  box-shadow: 0 0 0 3px rgba(45,106,79,.12);
}

textarea { resize: vertical; }

.book__form .btn--primary { margin-top: 8px; }

.form__note {
  text-align: center;
  font-size: .78rem;
  color: var(--text-muted);
  margin-top: 10px;
}

.book__form-wrap {
  position: relative;
}

.form__confirm {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--bg);
  border-radius: var(--radius);
  padding: 64px 40px;
  box-shadow: var(--shadow);
  min-height: 420px;
  animation: fadeUp .5s ease both;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

.form__confirm-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: #d8f3dc;
  color: #1b4332;
  font-size: 2.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
}

.form__confirm h3 {
  font-family: var(--font-serif);
  font-size: 2rem;
  color: var(--green-deep);
  margin-bottom: 16px;
}

.form__confirm p {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 360px;
  line-height: 1.7;
  margin-bottom: 12px;
}

.form__confirm-email {
  font-size: .88rem;
}

.form__confirm-email a {
  color: var(--green-mid);
  font-weight: 500;
}

/* ── Footer ──────────────────────────────────────────────────── */
.footer {
  background: var(--bg-dark);
  color: rgba(255,255,255,.6);
}

.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  padding-top: 64px;
  padding-bottom: 48px;
}

.footer__brand .nav__brand {
  color: var(--white);
  margin-bottom: 14px;
}

.footer__brand p { font-size: .88rem; line-height: 1.6; }

.footer__links h4,
.footer__contact h4 {
  color: var(--white);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.footer__links ul { display: flex; flex-direction: column; gap: 10px; }
.footer__links a { font-size: .88rem; transition: color .2s; }
.footer__links a:hover { color: var(--amber); }

.footer__contact p { font-size: .88rem; margin-bottom: 8px; }
.footer__contact a { color: var(--amber); font-size: .88rem; }

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 20px 24px;
  text-align: center;
  font-size: .8rem;
}

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .tours__grid { grid-template-columns: repeat(2, 1fr); }
  .guides__grid { grid-template-columns: 1fr; }
  .guide-card { grid-template-columns: 160px 1fr; }
  .footer__inner { grid-template-columns: 1fr 1fr; gap: 32px; }
  .book__grid { grid-template-columns: 1fr; gap: 48px; }
  .about__grid { grid-template-columns: 1fr; gap: 48px; }
  .about__images { padding-bottom: 24px; padding-right: 24px; max-width: 560px; }
}

@media (max-width: 768px) {
  :root { --nav-h: 60px; }

  .nav { padding: 0 20px; }

  .nav__menu {
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    background: rgba(247,244,239,.97);
    backdrop-filter: blur(12px);
    flex-direction: column;
    gap: 0;
    padding: 16px 0 24px;
    box-shadow: 0 8px 32px rgba(0,0,0,.1);
    transform: translateY(-110%);
    transition: transform .3s ease;
  }

  .nav__menu.open { transform: translateY(0); }

  .nav__menu a {
    color: var(--text);
    padding: 14px 24px;
    display: block;
    width: 100%;
  }

  .nav__menu .btn--nav {
    margin: 8px 24px 0;
    width: calc(100% - 48px);
    justify-content: center;
  }

  .nav__toggle { display: flex; }

  .hero__content { padding: 0 20px; margin-left: 0; }

  .section { padding: 64px 0; }

  .tours__grid { grid-template-columns: 1fr; }

  .guide-card { grid-template-columns: 1fr; }
  .guide-card__img-wrap { max-width: 160px; }

  .gallery { height: 180px; }

  .form-row { grid-template-columns: 1fr; }

  .footer__inner { grid-template-columns: 1fr; gap: 24px; }
}

/* ── Tour card actions ───────────────────────────────────────── */
.tour-card__actions {
  display: flex;
  gap: 8px;
}

.btn--outline {
  background: transparent;
  border: 1.5px solid var(--green-deep);
  color: var(--green-deep);
}

.btn--outline:hover {
  background: var(--green-deep);
  color: var(--white);
}

/* ── Modals ──────────────────────────────────────────────────── */
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 24px 16px;
  overflow-y: auto;
}

.modal[hidden] { display: none; }

.modal__backdrop {
  position: fixed;
  inset: 0;
  background: rgba(10, 20, 14, .7);
  backdrop-filter: blur(4px);
  cursor: pointer;
}

.modal__panel {
  position: relative;
  background: var(--white);
  border-radius: var(--radius);
  width: 100%;
  max-width: 760px;
  margin: auto;
  box-shadow: 0 24px 80px rgba(0,0,0,.25);
  overflow: hidden;
  animation: modalIn .3s ease both;
}

@keyframes modalIn {
  from { opacity: 0; transform: translateY(24px) scale(.98); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 10;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: rgba(0,0,0,.45);
  color: var(--white);
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s;
}

.modal__close:hover { background: rgba(0,0,0,.7); }

.modal__hero {
  position: relative;
  height: 280px;
  overflow: hidden;
}

.modal__hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Slideshow variant (Epic Marka modal) */
.modal__hero--slideshow img {
  position: absolute;
  inset: 0;
  opacity: 0;
  animation: heroSlide 12s infinite;
}

.modal__hero--slideshow img:nth-child(1) { animation-delay: 0s; }
.modal__hero--slideshow img:nth-child(2) { animation-delay: 4s; }
.modal__hero--slideshow img:nth-child(3) { animation-delay: 8s; }

@keyframes heroSlide {
  0%   { opacity: 0; }
  8%   { opacity: 1; }
  33%  { opacity: 1; }
  41%  { opacity: 0; }
  100% { opacity: 0; }
}

.modal__hero-badges {
  position: absolute;
  bottom: 16px;
  left: 20px;
  display: flex;
  gap: 8px;
}

.modal__body {
  padding: 32px 36px 36px;
}

.modal__stats {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  padding: 14px 18px;
  background: var(--bg);
  border-radius: var(--radius-sm);
  margin-bottom: 24px;
}

.modal__stat {
  font-size: .85rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 5px;
}

.modal__body h2 {
  font-family: var(--font-serif);
  font-size: 1.9rem;
  color: var(--green-deep);
  margin-bottom: 16px;
  line-height: 1.2;
}

.modal__body h3 {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--green-deep);
  margin: 24px 0 10px;
}

.modal__body p {
  font-size: .95rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 12px;
}

.modal__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 8px;
}

.modal__list li {
  font-size: .9rem;
  color: var(--text);
  padding-left: 18px;
  position: relative;
}

.modal__list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--green-light);
  font-size: .8rem;
}

.modal__gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 28px 0;
}

.modal__gallery img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: var(--radius-sm);
}

.modal__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  margin-top: 8px;
}

.modal__price {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--green-deep);
}

.modal__price em {
  font-style: normal;
  font-size: .9rem;
  font-weight: 400;
  color: var(--text-muted);
}

@media (max-width: 600px) {
  .modal__body { padding: 24px 20px 28px; }
  .modal__gallery { grid-template-columns: 1fr 1fr; }
  .modal__gallery img:last-child { display: none; }
  .modal__stats { gap: 12px; }
  .modal__footer { flex-direction: column; gap: 16px; align-items: flex-start; }
}

/* ── Fade-in on scroll ───────────────────────────────────────── */
.fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .6s ease, transform .6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
