/* ═══════════════════════════════════════
   YAK JINAK — main.css
   ═══════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300;0,9..144,400;0,9..144,600;0,9..144,700;1,9..144,300;1,9..144,400&family=DM+Mono:ital,wght@0,300;0,400;0,500;1,300&display=swap');

/* ── Tokens ── */
:root {
  --bg:       #F5E6C8;
  --text:     #1C1007;
  --accent:   #8B6914;
  --accent2:  #C4A96A;
  --dark:     #2E4A3E;
  --highlight:#D94F2B;
  --white:    #FEFBF4;
  --border:   rgba(28,16,7,.12);

  --font-head: 'Fraunces', Georgia, serif;
  --font-body: 'DM Mono', 'Courier New', monospace;

  --r: .75rem;
  --r-lg: 1.5rem;
  --shadow: 0 4px 24px rgba(28,16,7,.10);
  --shadow-lg: 0 12px 48px rgba(28,16,7,.18);
  --transition: .28s cubic-bezier(.4,0,.2,1);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.7;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: var(--font-body); cursor: pointer; border: none; background: none; }

/* ── Typography ── */
h1,h2,h3,h4 { font-family: var(--font-head); font-weight: 600; line-height: 1.15; }
h1 { font-size: clamp(2.4rem, 6vw, 5rem); }
h2 { font-size: clamp(1.8rem, 4vw, 3rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }
p { max-width: 68ch; }

/* ── Layout ── */
.container { width: min(1200px, 94%); margin-inline: auto; }
.section    { padding: 5rem 0; }
.section--dark { background: var(--dark); color: var(--white); }
.section--dark p { color: rgba(254,251,244,.8); }

/* ── Header ── */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 5% 0 0; /* 0 padding on the left to allow logo block to be flush with the left screen edge */
  height: 76px; /* Fixed height for clean layout and responsive alignment */
  background: rgba(28, 16, 7, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(254, 251, 244, 0.08);
  transition: box-shadow var(--transition);
}
.site-header.scrolled { box-shadow: var(--shadow); }
.logo {
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start; /* overflow below the header */
  background: var(--bg);
  padding: 0 2rem 0 1.5rem; /* padding left and right for logo breathing room */
  height: 84px; /* extending slightly below header for a layered overlapping look */
  border-radius: 0 0 var(--r-lg) 0; /* rounded corner only on the bottom-right for clean corner alignment */
  transition: background var(--transition), box-shadow var(--transition);
  box-shadow: 4px 4px 16px rgba(28, 16, 7, 0.25);
  border-right: 1px solid rgba(28, 16, 7, 0.1);
  border-bottom: 1px solid rgba(28, 16, 7, 0.1);
}
.logo:hover {
  background: var(--white);
  box-shadow: 6px 6px 20px rgba(28, 16, 7, 0.35);
}
.logo img {
  height: 72px; /* logo stretched close to borders */
  width: auto;
  display: block;
  object-fit: contain;
}
.logo-name {
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -.01em;
  color: var(--white);
}

.nav { display: flex; align-items: center; gap: 2rem; }
.nav a {
  font-size: .82rem;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--white);
  opacity: .8;
  transition: opacity var(--transition), color var(--transition);
  position: relative;
}
.nav a::after {
  content: '';
  position: absolute; bottom: -3px; left: 0; right: 0;
  height: 1.5px; background: var(--accent2);
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--transition);
}
.nav a:hover { opacity: 1; color: var(--accent2); }
.nav a:hover::after, .nav a.active::after { transform: scaleX(1); }
.nav a.active { opacity: 1; color: var(--accent2); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 4px; margin-right: 5%; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--white); transition: var(--transition); border-radius: 2px; }

/* ── Footer ── */
.site-footer {
  background: var(--text);
  color: rgba(245,230,200,.7);
  padding: 3rem 0 2rem;
}
.site-footer .container {
  display: flex; flex-direction: column; align-items: center;
  gap: 1.5rem; text-align: center;
}
.footer-logo {
  background: var(--bg);
  padding: .8rem 2rem;
  border-radius: var(--r);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}
.footer-logo:hover {
  background: var(--white);
}
.footer-logo img {
  height: 44px;
  width: auto;
  display: block;
  object-fit: contain;
}
.footer-tagline {
  font-family: var(--font-head);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--accent2);
}
.footer-social { display: flex; gap: 1.2rem; }
.footer-social a {
  display: flex; align-items: center; justify-content: center;
  width: 38px; height: 38px;
  border: 1px solid rgba(245,230,200,.2);
  border-radius: 50%;
  color: rgba(245,230,200,.7);
  font-size: .75rem;
  letter-spacing: .05em;
  transition: background var(--transition), border-color var(--transition), color var(--transition);
}
.footer-social a:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.footer-copy { font-size: .72rem; opacity: .4; }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .75rem 1.75rem;
  font-family: var(--font-body); font-size: .82rem;
  font-weight: 500; letter-spacing: .07em; text-transform: uppercase;
  border-radius: var(--r);
  transition: all var(--transition);
  cursor: pointer; border: none;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover { background: #6e5210; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(139,105,20,.35); }
.btn-outline {
  background: transparent;
  border: 1.5px solid var(--accent);
  color: var(--accent);
}
.btn-outline:hover { background: var(--accent); color: #fff; transform: translateY(-2px); }
.btn-dark {
  background: var(--dark);
  color: var(--white);
}
.btn-dark:hover { background: #1e3329; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(46,74,62,.35); }
.btn-highlight { background: var(--highlight); color: #fff; }
.btn-highlight:hover { background: #b83d20; transform: translateY(-2px); }

/* ── Hero ── */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; align-items: center;
  overflow: hidden;
  padding-top: 80px;
}
.hero-bg {
  position: absolute; inset: 0;
  background-image: url('https://images.unsplash.com/photo-1464822759023-fed622ff2c3b?w=1800&q=80');
  background-size: cover; background-position: center;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(28,16,7,.72) 0%, rgba(46,74,62,.45) 60%, rgba(28,16,7,.2) 100%);
}
.hero-content {
  position: relative; z-index: 2;
  color: #fff;
  max-width: 760px;
}
.hero-eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.7;
  font-size: .75rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--accent2);
  margin-bottom: 1.2rem;
  border: 1px solid rgba(196,169,106,.4);
  padding: .3rem .9rem; border-radius: 99px;
}
.hero-title {
  font-family: var(--font-head);
  font-size: clamp(2.4rem, 6vw, 5rem);
  font-weight: 700;
  line-height: 1.15;
  color: #fff;
  margin-bottom: 1.2rem;
}
.hero-title em { font-style: italic; color: var(--accent2); }
.hero-sub {
  font-size: 1rem; line-height: 1.7;
  color: rgba(255,255,255,.82);
  margin-bottom: 2rem; max-width: 60ch;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-scroll {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
  z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: .4rem;
  color: rgba(255,255,255,.5); font-size: .65rem; letter-spacing: .1em; text-transform: uppercase;
  animation: bounce 2s ease-in-out infinite;
}
.hero-scroll::before {
  content: '';
  display: block; width: 1px; height: 40px;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,.4));
}
@keyframes bounce { 0%,100%{transform:translateX(-50%) translateY(0)} 50%{transform:translateX(-50%) translateY(-8px)} }

/* ── Section intro ── */
.section-label {
  font-size: .72rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--accent); margin-bottom: .6rem; display: block;
}
.section-title { margin-bottom: .8rem; }
.section-lead { color: rgba(28,16,7,.65); margin-bottom: 2.5rem; }

/* ── Home Page Intro Grids ── */
.home-about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.home-values-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

/* ── Trip Cards Grid ── */
.trips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
}
.trip-card {
  display: flex; flex-direction: column;
  background: var(--white);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition);
  border: 1px solid var(--border);
  color: var(--text);
}
.trip-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.trip-card-img {
  width: 100%; aspect-ratio: 16/10; object-fit: cover;
  transition: transform .5s ease;
}
.trip-card:hover .trip-card-img { transform: scale(1.04); }
.trip-card-img-wrap { overflow: hidden; position: relative; }
.trip-card-status {
  position: absolute; top: .8rem; right: .8rem;
  font-size: .68rem; letter-spacing: .08em; text-transform: uppercase;
  padding: .25rem .7rem; border-radius: 99px; font-weight: 500;
}
.trip-card-status.open  { background: #2E7D32; color: #fff; }
.trip-card-status.full  { background: #C62828; color: #fff; }
.trip-card-status.recommended { background: #C69214; color: #fff; }
.trip-card-status.preparing { background: #1E3E62; color: #fff; }
.trip-card-body { padding: 1.4rem; display: flex; flex-direction: column; flex: 1; }
.trip-card .trip-card-name { font-family: var(--font-head); font-size: 1.25rem; margin-bottom: .5rem; color: var(--text); }
.trip-card .trip-card-desc { font-size: .83rem; color: rgba(28,16,7,.65); flex: 1; line-height: 1.6; margin-bottom: 1.1rem; }
.trip-card-meta {
  display: flex; align-items: center; justify-content: space-between;
  border-top: 1px solid var(--border); padding-top: .9rem; margin-top: auto;
}
.trip-card-price { font-family: var(--font-head); font-size: 1.1rem; color: var(--accent); font-weight: 600; margin-top: 0.5rem; }
.trip-card-dates { font-size: .72rem; color: rgba(28,16,7,.5); }
.trip-card-date-row { margin-bottom: 0.15rem; }
.trip-card-date-row:last-child { margin-bottom: 0; }
.trip-card-cta {
  font-size: .72rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--accent); font-weight: 500;
}
.trip-card:hover .trip-card-cta { color: var(--highlight); }

/* ── Modal ── */
.modal-backdrop {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(28,16,7,.6);
  backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  padding: 1.5rem;
  opacity: 0; pointer-events: none;
  transition: opacity var(--transition);
}
.modal-backdrop.open { opacity: 1; pointer-events: all; }
.modal {
  background: var(--white);
  border-radius: var(--r-lg);
  width: min(820px, 100%);
  max-height: 90svh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  transform: translateY(24px) scale(.97);
  transition: transform var(--transition);
  position: relative;
}
.modal-backdrop.open .modal { transform: none; }
.modal-close {
  position: sticky; top: 0; float: right; z-index: 10;
  width: 38px; height: 38px; margin: .8rem .8rem 0 0;
  background: var(--bg); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; color: var(--text);
  cursor: pointer; transition: background var(--transition);
  border: 1px solid var(--border);
}
.modal-close:hover { background: var(--highlight); color: #fff; border-color: var(--highlight); }
.modal-hero-img { width: 100%; aspect-ratio: 16/7; object-fit: cover; }
.modal-body { padding: 2rem 2.5rem 2.5rem; }
.modal-body h2 { font-size: clamp(1.5rem,3vw,2.2rem); margin-bottom: .4rem; }
.modal-meta {
  display: flex; flex-wrap: wrap; gap: .6rem;
  margin-bottom: 1.5rem;
}
.modal-tag {
  font-size: .72rem; letter-spacing: .07em; text-transform: uppercase;
  padding: .25rem .8rem; border-radius: 99px;
  background: rgba(139,105,20,.1); color: var(--accent); border: 1px solid rgba(139,105,20,.2);
}
.modal-tag.open        { background: rgba(46,125,50,0.1); color: #2E7D32; border-color: rgba(46,125,50,0.25); }
.modal-tag.full        { background: rgba(198,40,40,0.1); color: #C62828; border-color: rgba(198,40,40,0.25); }
.modal-tag.recommended { background: rgba(198,146,20,0.1); color: #B8860B; border-color: rgba(198,146,20,0.25); }
.modal-tag.preparing   { background: rgba(30,62,98,0.1); color: #1E3E62; border-color: rgba(30,62,98,0.25); }
.modal-tag.highlight { background: rgba(217,79,43,.1); color: var(--highlight); border-color: rgba(217,79,43,.2); }
.modal-section-title { font-family: var(--font-head); font-size: 1rem; margin: 1.4rem 0 .5rem; color: var(--accent); }
.modal-desc { font-size: .9rem; line-height: 1.75; color: rgba(28,16,7,.75); }
.modal-program { font-size: .85rem; line-height: 1.7; white-space: pre-wrap; color: rgba(28,16,7,.7); background: var(--bg); padding: 1.4rem 1.6rem; border-radius: var(--r); border-left: 3px solid #DBC287; }
.modal-program ul,
.modal-program ol {
  padding-left: 1.25rem;
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}
.modal-program li {
  margin-bottom: 0.6rem;
}
.modal-program li:last-child {
  margin-bottom: 0;
}
.modal-price-row { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; margin-top: 1.8rem; }
.modal-price { font-family: var(--font-head); font-size: 2rem; color: var(--accent); }
.modal-price span { font-size: .9rem; color: rgba(28,16,7,.5); }
.modal-guide { font-size: .82rem; color: rgba(28,16,7,.6); margin-top: .3rem; }
.modal-guide a { color: var(--accent); text-decoration: underline; font-weight: 600; transition: opacity .2s ease; }
.modal-guide a:hover { opacity: .8; color: var(--highlight); }

/* Inquiry form inside modal */
.inquiry-form { display: none; margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid var(--border); }
.inquiry-form.visible { display: block; }
.inquiry-form label { display: block; font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: .4rem; color: var(--accent); }
.inquiry-form input[type="email"] {
  width: 100%; padding: .75rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--r);
  font-family: var(--font-body); font-size: .9rem;
  background: var(--bg); color: var(--text);
  transition: border-color var(--transition);
}
.inquiry-form input[type="email"]:focus { outline: none; border-color: var(--accent); }
.inquiry-form .btn { margin-top: .8rem; }
.inquiry-success { display: none; padding: 1rem; background: rgba(46,74,62,.1); border-radius: var(--r); color: var(--dark); font-size: .88rem; margin-top: .8rem; border: 1px solid rgba(46,74,62,.2); }
.inquiry-success.visible { display: block; }

/* Custom Select for Inquiry Form */
.inquiry-form select.inquiry-select {
  width: 100%; padding: .75rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--r);
  font-family: var(--font-body); font-size: .9rem;
  background: var(--bg); color: var(--text);
  transition: border-color var(--transition);
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231C1007' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1em;
  cursor: pointer;
  margin-bottom: 1rem;
}
.inquiry-form select.inquiry-select:focus { outline: none; border-color: var(--accent); }
.inquiry-form select.inquiry-select option:disabled { color: rgba(28, 16, 7, 0.4); }

/* Sleek Term list layout in modal */
.modal-terminy {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  background: var(--bg);
  padding: 1rem 1.2rem;
  border-radius: var(--r);
  border-left: 3px solid var(--accent2);
}
.modal-termin-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(28, 16, 7, 0.08);
  gap: 1rem;
}
.modal-termin-row:last-child {
  border-bottom: none;
}
.modal-termin-date {
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
}
.modal-termin-guide {
  font-size: 0.82rem;
  color: rgba(28, 16, 7, 0.65);
  flex-grow: 1;
  margin-left: 1rem;
}
.modal-termin-status {
  flex-shrink: 0;
}

/* Black Term Tag for Obsazeno */
.modal-tag.full-black {
  background: #1C1007;
  color: var(--white);
  border-color: #1C1007;
  font-weight: 600;
}

@media (max-width: 600px) {
  .modal-termin-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
  }
  .modal-termin-guide {
    margin-left: 0;
    margin-top: 0.1rem;
  }
}

/* Guide links in term rows */
.modal-termin-guide a { color: var(--accent); text-decoration: none; transition: color .2s ease; }
.modal-termin-guide a:hover { color: var(--highlight); text-decoration: underline; }

/* ── Modal Photo Slideshow ── */
.slideshow-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16/10;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #1c1007;
  margin-top: 0.8rem;
  border: 1px solid var(--border);
}
.slideshow-slides {
  width: 100%;
  height: 100%;
  position: relative;
}
.slideshow-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.4s ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
}
.slideshow-slide.active {
  opacity: 1;
  z-index: 1;
}
.slideshow-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.slideshow-prev, .slideshow-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background: rgba(28, 16, 7, 0.7);
  backdrop-filter: blur(8px);
  color: var(--white);
  border: 1px solid rgba(254, 251, 244, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: all var(--transition);
  z-index: 10;
  opacity: 0.8;
  cursor: pointer;
}
.slideshow-prev:hover, .slideshow-next:hover {
  background: var(--accent);
  color: #fff;
  opacity: 1;
  transform: translateY(-50%) scale(1.06);
}
.slideshow-prev { left: 0.8rem; }
.slideshow-next { right: 0.8rem; }

.slideshow-dots {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 0.8rem;
  flex-wrap: wrap;
}
.slideshow-dot {
  width: 64px;
  height: 44px;
  border-radius: var(--r);
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  padding: 0;
  transition: all var(--transition);
  opacity: 0.65;
  background: none;
}
.slideshow-dot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.slideshow-dot:hover {
  opacity: 0.9;
}
.slideshow-dot.active {
  opacity: 1;
  border-color: var(--accent);
  box-shadow: 0 4px 12px rgba(139, 105, 20, 0.3);
}
@media (max-width: 600px) {
  .slideshow-container {
    aspect-ratio: 4/3;
  }
  .slideshow-dot {
    width: 48px;
    height: 34px;
  }
}

/* ── Guides Grid ── */
.guides-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 2rem;
}
.guide-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: transform var(--transition), box-shadow var(--transition);
  scroll-margin-top: 100px;
}
.guide-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.guide-card-img { width: 100%; aspect-ratio: 3/4; object-fit: cover; object-position: top; }
.guide-card-body {
  padding: 1.2rem 1.4rem 1.4rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.guide-role { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); margin-bottom: .3rem; }
.guide-name { font-family: var(--font-head); font-size: 1.15rem; margin-bottom: .4rem; }
.guide-contact {
  font-size: .78rem;
  color: var(--accent);
  margin-top: auto;
  padding-top: 0.8rem;
  border-top: 1px solid rgba(28, 16, 7, 0.08);
  word-break: break-all;
}
.guide-contact a:hover { text-decoration: underline; }

/* ── About page intro ── */
.about-intro {
  display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center;
}
.about-intro-img { border-radius: var(--r-lg); overflow: hidden; }
.about-intro-img img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.values-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.5rem; margin-top: 2rem;
}
.value-item {
  padding: 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: var(--white);
  transition: box-shadow var(--transition);
}
.value-item:hover { box-shadow: var(--shadow); }
.value-icon { font-size: 1.8rem; margin-bottom: .6rem; }
.value-title { font-family: var(--font-head); font-size: 1rem; margin-bottom: .3rem; }
.value-desc { font-size: .82rem; color: rgba(28,16,7,.65); }
.section--dark .value-item {
  background: rgba(254, 251, 244, 0.06);
  border-color: rgba(254, 251, 244, 0.12);
  color: var(--white);
}
.section--dark .value-item:hover {
  background: rgba(254, 251, 244, 0.09);
  border-color: rgba(254, 251, 244, 0.2);
}
.section--dark .value-item .value-title {
  color: var(--white);
}
.section--dark .value-item .value-desc {
  color: rgba(254, 251, 244, 0.72);
}

/* ── Contact page ── */
.contact-card {
  max-width: 560px; margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow);
}
.contact-row { display: flex; align-items: flex-start; gap: 1rem; padding: 1.2rem 0; border-bottom: 1px solid var(--border); }
.contact-row:last-child { border-bottom: none; }
.contact-icon { font-size: 1.3rem; width: 38px; text-align: center; flex-shrink: 0; }
.contact-label { font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-bottom: .2rem; }
.contact-val { font-size: .95rem; color: var(--text); }
.contact-val a { color: var(--accent); }
.contact-val a:hover { text-decoration: underline; }
.social-links { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: .4rem; }
.social-link {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .35rem .9rem; border-radius: 99px;
  font-size: .75rem; letter-spacing: .06em; text-transform: uppercase;
  border: 1.5px solid var(--border); color: var(--text);
  transition: all var(--transition);
}
.social-link:hover { border-color: var(--accent); color: var(--accent); background: rgba(139,105,20,.06); }

/* ── States ── */
.loading-state, .error-state {
  grid-column: 1/-1;
  text-align: center; padding: 4rem 2rem;
  font-size: .88rem; color: rgba(28,16,7,.5);
  letter-spacing: .04em;
}
.error-state { color: var(--highlight); }

/* ── Reveal animation ── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ── Page header (inner pages) ── */
.page-header {
  background: var(--dark); color: var(--white);
  padding: 7rem 0 4rem;
  text-align: center;
}
.page-header h1 { color: #fff; margin-bottom: .6rem; }
.page-header p { color: rgba(254,251,244,.65); margin-inline: auto; }

/* ── Misc ── */
.text-accent { color: var(--accent); }
.text-highlight { color: var(--highlight); }
.mt-1 { margin-top: .5rem; }
.mt-2 { margin-top: 1rem; }
.mb-2 { margin-bottom: 1rem; }
hr.divider { border: none; border-top: 1px solid var(--border); margin: 2rem 0; }
.doplnky { font-size: .85rem; color: rgba(28,16,7,.65); line-height: 1.7; }

/* ── Responsive ── */
@media (max-width: 900px) {
  .about-intro { grid-template-columns: 1fr; gap: 2rem; }
  .about-intro-img { display: none; }
  .home-about-grid { grid-template-columns: 1fr; gap: 2.5rem; }
}
@media (max-width: 720px) {
  .section { padding: 3.5rem 0; }
  .home-values-grid { grid-template-columns: 1fr; }
  
  /* Mobile menu alignment and visibility fix */
  .site-header:has(.nav.open) {
    backdrop-filter: none;
    background: rgba(28, 16, 7, 0.99);
    border-bottom: 1px solid rgba(254, 251, 244, 0.05);
    box-shadow: none;
  }
  
  /* Hamburger morphing to X animation */
  .site-header:has(.nav.open) .nav-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .site-header:has(.nav.open) .nav-toggle span:nth-child(2) {
    opacity: 0;
  }
  .site-header:has(.nav.open) .nav-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .nav {
    display: none;
    flex-direction: column;
    position: fixed;
    inset: 0;
    top: 76px;
    background: rgba(28, 16, 7, 0.99); /* Sleek solid background matching header style */
    align-items: center;
    justify-content: center;
    gap: 2.2rem;
    padding: 2.5rem;
    border-top: 1px solid rgba(254, 251, 244, 0.05);
    z-index: 99;
  }
  .nav.open { display: flex; }
  .nav a {
    font-family: var(--font-head);
    font-size: 1.35rem;
    font-weight: 600;
    letter-spacing: .05em;
    color: var(--white);
    transition: color var(--transition), transform var(--transition);
  }
  .nav a::after { display: none; } /* Disable default line indicator on mobile */
  .nav a:hover, .nav a.active {
    color: var(--accent2);
    transform: scale(1.05);
  }
  
  .nav-toggle { display: flex; z-index: 101; }
  
  .hero h1 { font-size: 2.4rem; }
  .modal-body { padding: 1.5rem; }
  .modal-price-row { flex-direction: column; align-items: flex-start; }
  .trips-grid { grid-template-columns: 1fr; }
  .guides-grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
}

/* ── Footer links ── */
.footer-links {
  display: flex;
  gap: 1.5rem;
  font-size: 0.78rem;
  color: rgba(245, 230, 200, 0.6);
  flex-wrap: wrap;
  justify-content: center;
  margin: -0.7rem 0 -1rem;
}
.footer-link {
  transition: color var(--transition);
}
.footer-link:hover {
  color: var(--accent2);
  text-decoration: underline;
}
.footer-separator {
  opacity: 0.3;
}

/* ── Consent Checkbox ── */
.inquiry-consent-wrapper {
  margin-top: 1.2rem;
  margin-bottom: 0.5rem;
  text-align: left;
}
.consent-label {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  text-transform: none !important;
  font-size: 0.72rem !important;
  line-height: 1.45;
  color: var(--text) !important;
  cursor: pointer;
  user-select: none;
}
.consent-label input[type="checkbox"] {
  accent-color: var(--accent);
  width: 14px;
  height: 14px;
  margin-top: 2px;
  flex-shrink: 0;
  cursor: pointer;
}
.consent-label a {
  color: var(--accent);
  text-decoration: underline;
  font-weight: 600;
  transition: color var(--transition);
}
.consent-label a:hover {
  color: var(--highlight);
}
.inquiry-error {
  display: none;
  color: var(--highlight);
  font-size: 0.78rem;
  font-weight: 600;
  margin-top: 0.4rem;
  border-left: 2px solid var(--highlight);
  padding-left: 0.5rem;
}
.inquiry-error.visible {
  display: block;
}

@media (max-width: 600px) {
  .footer-links {
    flex-direction: column;
    gap: 0.5rem;
    align-items: center;
  }
  .footer-separator {
    display: none;
  }
}

