*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  color: #1b1b1b;
  background: #f9f1e6;
}

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

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

.container {
  width: min(1100px, 92%);
  margin: 0 auto;
}

.hero {
  position: relative;
  background: linear-gradient(135deg, #b65c2a, #e28a4a);
  color: #fff;
  padding: 80px 0 70px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("images/hero-tbilisi.jpg") center/cover no-repeat;
  opacity: 0.5;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(182, 92, 42, 0.85), rgba(226, 138, 74, 0.65));
}

.hero .container {
  position: relative;
  z-index: 1;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.75rem;
  opacity: 0.8;
  margin-bottom: 12px;
}

.hero-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.hero-contacts,
.footer-contacts {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-contacts a,
.footer-contacts a {
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
  color: #fff;
  transition: background 0.2s ease, color 0.2s ease;
}

.hero-contacts a:hover,
.footer-contacts a:hover {
  background: #fff;
  color: #a34d24;
}

.hero h1 {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  margin: 0 0 16px;
}

.lead {
  font-size: 1.1rem;
  max-width: 680px;
  margin: 0 0 24px;
}

.hero-nav {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-nav a {
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 999px;
  font-size: 0.95rem;
  transition: background 0.2s ease, color 0.2s ease;
}

.hero-nav a:hover {
  background: #fff;
  color: #a34d24;
}

.section {
  padding: 60px 0;
}

.section-alt {
  background: #fff7ec;
}

h2 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  margin-bottom: 24px;
  color: #8f4a24;
}

h3 {
  font-size: clamp(1.3rem, 2.5vw, 1.7rem);
  margin: 0 0 6px;
}

h4 {
  font-size: 1rem;
  margin-bottom: 10px;
  color: #8f4a24;
}

.text-block p {
  margin: 0 0 16px;
}

.about-grid {
  display: grid;
  gap: 24px;
  align-items: start;
  grid-template-columns: minmax(220px, 320px) 1fr;
}

.about-photo img {
  border-radius: 18px;
  width: 100%;
  height: auto;
  object-fit: cover;
  box-shadow: 0 14px 30px rgba(33, 37, 41, 0.18);
}

.card {
  background: #fff3e2;
  border-radius: 16px;
  padding: 28px;
  margin-bottom: 28px;
  box-shadow: 0 12px 28px rgba(148, 90, 40, 0.12);
}

.card:last-child {
  margin-bottom: 0;
}

.card-header {
  margin-bottom: 16px;
}

.card-subtitle {
  margin: 0;
  color: #9a6b4a;
  font-weight: 600;
}

.card-lead {
  margin: 0 0 20px;
}

.tour-main {
  display: grid;
  gap: 20px;
  align-items: start;
  grid-template-columns: minmax(240px, 360px) 1fr;
}

.tour-main img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 14px;
}

.tour-main-text .card-lead {
  margin-bottom: 0;
}

.tour-details {
  margin-top: 18px;
  border-radius: 12px;
  background: #fffaf3;
  padding: 10px 14px 16px;
}

.tour-details summary {
  cursor: pointer;
  font-weight: 600;
  color: #8f4a24;
  padding: 6px 0;
  list-style: none;
}

.tour-details summary::-webkit-details-marker {
  display: none;
}

.tour-details summary::before {
  content: "+";
  display: inline-block;
  width: 20px;
  color: #8f4a24;
}

.tour-details[open] summary::before {
  content: "–";
}

.tour-details > *:not(summary) {
  margin-top: 16px;
}

.card-columns {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin-bottom: 20px;
}

.card ul {
  margin: 0;
  padding-left: 18px;
}

.info-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  background: #fffaf3;
  border-radius: 12px;
  padding: 16px;
}

.photo-grid {
  display: flex;
  gap: 12px;
  margin-top: 18px;
  overflow-x: auto;
  padding-bottom: 6px;
  scroll-snap-type: x mandatory;
}

.photo-grid img {
  flex: 0 0 180px;
  height: 140px;
  object-fit: cover;
  border-radius: 12px;
  scroll-snap-align: start;
}

.footer {
  background: #8f4a24;
  color: #fff;
  padding: 24px 0;
  font-size: 0.95rem;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

@media (max-width: 640px) {
  .hero {
    padding: 60px 0 50px;
  }

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

  .tour-main {
    grid-template-columns: 1fr;
  }

  .tour-main img {
    height: 200px;
  }

  .card {
    padding: 22px;
  }

  .footer {
    text-align: center;
  }

  .footer-content {
    justify-content: center;
  }
}
