@font-face {
  font-family: "Inter";
  src: url("../fonts/Inter.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Space Grotesk";
  src: url("../fonts/SpaceGrotesk.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

html,
body {
  overflow-x: clip;
}

:root {
  --bg: #F9F8F6;
  --text: #1A1A1A;
  --gold: #C5A059;
  --gold-hover: #A88340;
  --card-bg: #FFFFFF;
  --secondary-bg: #EAE6DF;
  --font-heading: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
  --max-width: 1200px;
  --section-padding: 48px 20px;
  --section-gap: 64px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--section-gap);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 24px; }
h3 { font-size: 1.5rem; margin-bottom: 16px; }

.btn {
  display: inline-block;
  background-color: var(--gold);
  color: #FFFFFF;
  padding: 16px 32px;
  font-family: var(--font-heading);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
  border-radius: 4px;
  text-align: center;
  max-width: 100%;
}

.btn:hover {
  background-color: var(--gold-hover);
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  width: 100%;
}

section {
  padding: var(--section-padding);
}

.header {
  background-color: var(--card-bg);
  padding: 16px 20px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo a {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
}

.logo img {
  width: 50px;
  height: 50px;
  border-radius: 8px;
}

.header-badge {
  background-color: var(--secondary-bg);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
  color: #555;
}

.hero {
  height: 60vh;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
}

.hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.6));
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 0 20px;
}

.hero h1 {
  margin-bottom: 24px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 32px;
  opacity: 0.9;
}

.about-section .block-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.gallery-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.gallery-main-img {
  width: 100%;
  height: 400px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.gallery-thumbs {
  display: flex;
  gap: 12px;
}

.gallery-thumb {
  width: 80px;
  height: 60px;
  border-radius: 8px;
  cursor: pointer;
  opacity: 0.6;
  transition: opacity 0.3s, transform 0.3s;
  border: 2px solid transparent;
}

.gallery-thumb.active, .gallery-thumb:hover {
  opacity: 1;
  border-color: var(--gold);
  transform: translateY(-2px);
}

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

.tour-card {
  background: var(--card-bg);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.tour-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.tour-card img {
  width: 100%;
  height: 240px;
}

.tour-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.tour-card p {
  margin-bottom: 24px;
  flex: 1;
}

.info-block {
  background-color: var(--secondary-bg);
  text-align: center;
  padding: 64px 20px;
}

.info-block p {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.1rem;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.review-card {
  background: var(--card-bg);
  padding: 24px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.03);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.stars {
  color: var(--gold);
  font-size: 1.2rem;
  letter-spacing: 2px;
}

.review-card h4 {
  font-size: 1.1rem;
  margin-top: auto;
}

.review-card span {
  font-size: 0.9rem;
  color: #777;
}

.block-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.block-content.reverse {
  direction: rtl;
}

.block-content.reverse > * {
  direction: ltr;
}

.block-content img {
  width: 100%;
  height: 400px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.block-content ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.block-content li {
  padding-left: 24px;
  position: relative;
}

.block-content li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: bold;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 32px;
}

.step {
  background: var(--card-bg);
  padding: 32px 24px;
  border-radius: 12px;
  text-align: center;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.1rem;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  border-top: 4px solid var(--gold);
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

details {
  background: var(--card-bg);
  border-radius: 8px;
  padding: 20px 24px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.03);
  cursor: pointer;
}

summary {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.1rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

summary::after {
  content: '+';
  font-size: 1.5rem;
  color: var(--gold);
  transition: transform 0.3s;
}

details[open] summary::after {
  transform: rotate(45deg);
}

details p {
  margin-top: 16px;
  color: #555;
}

.expert blockquote {
  font-size: 1.5rem;
  font-style: italic;
  line-height: 1.5;
  margin-bottom: 24px;
  position: relative;
  padding-left: 24px;
  border-left: 4px solid var(--gold);
}

.expert cite {
  font-family: var(--font-heading);
  font-weight: 600;
  font-style: normal;
  color: var(--gold);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.feature {
  background: var(--secondary-bg);
  padding: 32px;
  border-radius: 12px;
  text-align: center;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.1rem;
  transition: background 0.3s;
}

.feature:hover {
  background: var(--gold);
  color: #FFF;
}

.contact-form-section {
  background: var(--secondary-bg);
  padding: 64px 20px;
}

.contact-form-section .container > h2 {
  text-align: center;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.contact-form {
  max-width: 600px;
  width: 100%;
  min-width: 0;
  margin: 32px auto 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
  background: var(--card-bg);
  padding: 40px;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  box-sizing: border-box;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  padding: 16px;
  border: 1px solid #DDD;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color 0.3s;
}

.contact-form select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 40px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  background-color: #FFF;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23555' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 12px 8px;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--gold);
}

.contact-form textarea {
  min-height: 120px;
  resize: vertical;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  color: #555;
}

.checkbox-label input {
  width: auto;
}

footer {
  background-color: #1A1A1A;
  color: #AAA;
  padding: 48px 20px;
  margin-top: auto;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
  text-align: center;
}

.footer-inner .logo a {
  color: #FFF;
}

.footer-contacts p {
  margin-bottom: 8px;
  font-size: 0.95rem;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 20px;
  font-size: 0.9rem;
}

.footer-legal a {
  color: #CCC;
  transition: color 0.3s;
}

.footer-legal a:hover {
  color: var(--gold);
}

.footer-legal span {
  color: #555;
}

.footer-disclaimer {
  font-size: 0.85rem;
  max-width: 800px;
  line-height: 1.5;
  border-top: 1px solid #333;
  border-bottom: 1px solid #333;
  padding: 24px 0;
  width: 100%;
}

.footer-copy {
  font-size: 0.9rem;
}

.tour-hero {
  padding: 64px 20px;
  text-align: center;
  background: var(--secondary-bg);
}

.tour-details {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 48px;
  align-items: start;
}

.tour-gallery {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 32px;
}

.tour-gallery-main {
  width: 100%;
  height: 450px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.tour-gallery-thumbs {
  display: flex;
  gap: 12px;
}

.tour-gallery-thumb {
  width: 100px;
  height: 75px;
  border-radius: 8px;
  cursor: pointer;
  opacity: 0.6;
  transition: opacity 0.3s, transform 0.3s;
  border: 2px solid transparent;
}

.tour-gallery-thumb.active, .tour-gallery-thumb:hover {
  opacity: 1;
  border-color: var(--gold);
  transform: translateY(-2px);
}

.tour-description {
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 32px;
}

.included-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.included-item {
  background: var(--secondary-bg);
  padding: 16px 24px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 16px;
  font-weight: 500;
}

.included-item::before {
  content: '✓';
  background: var(--gold);
  color: #FFF;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.tour-sidebar {
  position: sticky;
  top: 100px;
  background: var(--card-bg);
  padding: 32px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.tour-price {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--gold);
}

.tour-price span {
  font-size: 1rem;
  color: #777;
  font-weight: 400;
}

.thanks-container {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 64px 20px;
}

.thanks-box {
  background: var(--card-bg);
  padding: 64px;
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.1);
  text-align: center;
  max-width: 600px;
  width: 100%;
}

.thanks-box img {
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
  border-radius: 16px;
}

.thanks-box h1 {
  color: var(--gold);
  margin-bottom: 16px;
}

.thanks-box p {
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 12px;
}

/* ===== Legal pages styles ===== */
.legal-wrapper {
  background: var(--card-bg);
  padding: 48px 56px;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  max-width: 900px;
  margin: 64px auto;
  word-break: break-word;
}

.legal-wrapper h1 {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}

.legal-wrapper .last-updated {
  font-size: 0.9rem;
  color: #888;
  margin-bottom: 28px;
  border-bottom: 1px solid #eee;
  padding-bottom: 16px;
}

.legal-wrapper p {
  margin-bottom: 16px;
  font-size: 1rem;
  line-height: 1.7;
  color: #333;
}

.legal-wrapper b {
  font-weight: 600;
  color: var(--text);
}

.legal-wrapper a {
  color: var(--gold);
  text-decoration: underline;
}

.legal-wrapper a:hover {
  color: var(--gold-hover);
}

@media (max-width: 1024px) {
  .tours-grid, .reviews-grid, .features-grid, .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .tour-details {
    grid-template-columns: 1fr;
  }
  .tour-sidebar {
    position: static;
  }
}

@media (max-width: 768px) {
  :root {
    --section-gap: 40px;
  }
  .about-section .block-content,
  .block-content,
  .block-content.reverse {
    grid-template-columns: 1fr;
    direction: ltr;
  }
  .tours-grid, .reviews-grid, .features-grid, .steps-grid {
    grid-template-columns: 1fr;
  }
  .hero {
    height: 70vh;
  }
  .contact-form {
    padding: 24px;
  }
  .thanks-box {
    padding: 32px;
  }
  .legal-wrapper {
    padding: 28px 20px;
  }
  .legal-wrapper h1 {
    font-size: 1.6rem;
  }
}

.gallery-stage {
  position: relative;
  width: 100%;
  height: 400px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.gallery-main-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.85);
  color: var(--text);
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s, color 0.3s;
  z-index: 2;
}

.gallery-arrow:hover {
  background: var(--gold);
  color: #FFF;
}

.gallery-arrow-left { left: 16px; }
.gallery-arrow-right { right: 16px; }

.gallery-thumbs { display: none; }
#tours > .container > h2 {
  text-align: center;
}
.how-to-book .container > h2 {
  text-align: center;
}
.discover-canada {
  background: var(--secondary-bg);
  padding: var(--section-padding);
}

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

.discover-text p {
  margin-bottom: 18px;
  font-size: 1.05rem;
  line-height: 1.7;
}

.discover-image img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

@media (max-width: 768px) {
  .discover-grid { grid-template-columns: 1fr; }
  .discover-image img { height: 320px; }
}
.contact-cta {
  background: linear-gradient(135deg, #1A1A1A 0%, #2C2C2C 100%);
  color: #FFF;
  padding: var(--section-padding);
}

.contact-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.contact-cta-text h2 {
  color: #FFF;
  margin-bottom: 12px;
}

.contact-cta-text p {
  opacity: 0.85;
  max-width: 600px;
}
section {
  padding: var(--section-padding);
  background: var(--bg);
}

section.bg-alt {
  background: var(--secondary-bg);
}
.reviews-wrapper {
  background: var(--card-bg);
  padding: 40px;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  border: 1px solid rgba(197, 160, 89, 0.15);
}

@media (max-width: 768px) {
  .reviews-wrapper {
    padding: 20px;
  }
}
.reviews > .container > h2,
.faq > .container > h2 {
  text-align: center;
}
.tour-gallery-main {
  transition: opacity 0.3s ease;
}

.tour-gallery-thumb {
  cursor: pointer;
  transition: all 0.3s ease;
}

.tour-gallery-thumb.active {
  opacity: 1;
  border-color: var(--gold);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(197, 160, 89, 0.3);
}

.tour-gallery-thumb:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}
.main-nav {
  display: flex;
  align-items: center;
}

.main-nav ul {
  display: flex;
  list-style: none;
  gap: 32px;
  margin: 0;
  padding: 0;
}

.main-nav a {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text);
  transition: color 0.3s ease;
  position: relative;
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--gold);
  transition: width 0.3s ease;
}

.main-nav a:hover {
  color: var(--gold);
}

.main-nav a:hover::after {
  width: 100%;
}

@media (max-width: 968px) {
  .main-nav {
    display: none;
  }
}

.btn-header {
  padding: 10px 20px;
  font-size: 0.85rem;
  display: none;
}

@media (min-width: 969px) {
  .btn-header {
    display: inline-block;
  }
}

@media (max-width: 968px) {
  .header-inner {
    flex-wrap: wrap;
    gap: 12px;
  }
  .btn-header {
    display: inline-block;
    order: 3;
    width: 100%;
    text-align: center;
  }
  .header-badge {
    order: 4;
  }
}

@media (max-width: 900px) {
  .about-section .block-content > *,
  .block-content > *,
  .discover-grid > *,
  .tour-details > * {
    min-width: 0;
    max-width: 100%;
  }
}

@media (max-width: 640px) {
  .header-badge {
    word-break: break-all;
  }
  .logo a {
    flex-direction: column;
  }
  .logo a span {
    word-break: break-all;
    min-width: 0;
    flex: 1;
  }
  .footer-contacts,
  .footer-legal,
  .footer-disclaimer {
    word-break: break-all;
  }
}

@media (max-width: 480px) {
  :root {
    --section-padding: 32px 12px;
  }
  section {
    padding: 32px 12px;
  }
  .contact-form {
    padding: 20px 16px;
  }
  .contact-form input,
  .contact-form select,
  .contact-form textarea,
  .contact-form .btn {
    font-size: 0.95rem;
  }
  .contact-form select {
    padding-right: 36px;
    background-position: right 12px center;
  }
  .contact-form .btn {
    width: 100%;
  }
  .thanks-box {
    padding: 24px 16px;
  }
  .legal-wrapper {
    padding: 20px 16px;
    margin: 24px auto;
  }
  .container {
    padding: 0 12px;
  }
}