:root {
  --bg: #f3ede4;
  --paper: #fffdfa;
  --surface: #ffffff;
  --ink: #15191d;
  --muted: #69717a;
  --line: rgba(18, 22, 28, 0.08);
  --line-strong: rgba(255, 255, 255, 0.12);
  --navy: #07111c;
  --navy-soft: #0d1825;
  --sand: #e7d8c1;
  --sand-soft: #f5eee5;
  --accent: #cf372f;
  --accent-dark: #af2d27;
  --shadow-soft: 0 18px 48px rgba(6, 10, 16, 0.08);
  --shadow-strong: 0 28px 72px rgba(4, 8, 14, 0.22);
  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 16px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Montserrat", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(215, 190, 154, 0.28), transparent 32%),
    linear-gradient(180deg, #f4ede3 0%, #f8f5ef 100%);
}

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

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

textarea,
input,
select,
button {
  font: inherit;
}

.container {
  width: min(1240px, calc(100% - 40px));
  margin: 0 auto;
}

.button-primary,
.button-secondary,
.button-ghost,
.cta-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 0.18s ease, background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.button-primary,
.cta-nav {
  background: var(--accent);
  color: #fff;
}

.button-secondary {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
}

.button-ghost {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(8px);
}

.button-primary:hover,
.button-secondary:hover,
.button-ghost:hover,
.cta-nav:hover {
  transform: translateY(-1px);
}

.wide {
  width: 100%;
}

.hero,
.tour-hero {
  position: relative;
  color: #fff;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(7, 17, 28, 0.38), rgba(7, 17, 28, 0.72));
}

.hero {
  min-height: 100vh;
}

.tour-hero {
  min-height: 86vh;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url("/static/images/tambopata-reserve.jpeg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  opacity: 0;
  transform: scale(1.045);
  animation: hero-media-reveal 1.15s ease-out 0.1s forwards;
  will-change: opacity, transform;
}

.hero::after,
.tour-hero::after {
  content: "";
  position: absolute;
  inset: auto auto -1px 0;
  width: 100%;
  height: 140px;
  background: linear-gradient(180deg, rgba(244, 237, 228, 0), rgba(244, 237, 228, 1));
}

.hero-backdrop,
.utility-bar,
.main-nav-wrap,
.hero-content,
.tour-hero-content {
  position: relative;
  z-index: 1;
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(4, 8, 14, 0.46), rgba(4, 8, 14, 0.72)),
    linear-gradient(180deg, rgba(7, 17, 28, 0.08), rgba(7, 17, 28, 0.42)),
    radial-gradient(circle at 70% 22%, rgba(231, 216, 193, 0.16), transparent 22%);
}

@keyframes hero-media-reveal {
  0% {
    opacity: 0;
    transform: scale(1.065);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-media {
    animation: none;
    transform: none;
    opacity: 1;
  }
}

.utility-bar {
  min-height: 58px;
  font-size: 0.9rem;
  font-weight: 600;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-shell {
  width: min(1380px, calc(100% - 56px));
  min-height: 58px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
}

.utility-left,
.utility-right,
.main-links,
.hero-actions,
.intro-grid,
.style-grid {
  display: flex;
  gap: 20px;
}

.utility-left,
.utility-right,
.main-links,
.hero-actions {
  align-items: center;
  flex-wrap: wrap;
}

.main-nav-wrap {
  position: relative;
  z-index: 5;
  padding: 16px 0;
}

.main-nav {
  width: min(1380px, calc(100% - 56px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.logo-lockup {
  display: inline-flex;
  align-items: center;
  margin-left: 0;
}

.logo-image {
  width: 152px;
  height: auto;
}

.main-links {
  min-height: 64px;
  font-size: 0.95rem;
  font-weight: 700;
}

.main-links a {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
}

.menu-toggle,
.mobile-menu,
.mobile-nav-actions {
  display: none;
}

.menu-toggle {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 52px;
  height: 52px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
  background: rgba(20, 26, 35, 0.34);
  backdrop-filter: blur(12px);
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: #fff;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.mobile-menu {
  position: absolute;
  top: calc(100% - 4px);
  left: 12px;
  right: 12px;
  z-index: 20;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  background: rgba(10, 18, 29, 0.94);
  box-shadow: var(--shadow-strong);
  backdrop-filter: blur(16px);
}

.mobile-menu-links,
.mobile-menu-meta {
  display: grid;
  gap: 12px;
}

.mobile-menu-links {
  margin-bottom: 0;
}

.mobile-menu-links a:not(.cta-nav),
.mobile-menu-meta a {
  color: rgba(255, 255, 255, 0.86);
  font-weight: 700;
}

.mobile-menu-links .cta-nav {
  width: 100%;
  margin-top: 4px;
}

.mobile-menu-meta {
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(20, 26, 35, 0.34);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px);
}

.language-switch a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.language-switch a.active {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
}

.language-switch-inline {
  margin-left: auto;
}

.language-switch-mobile {
  display: none;
}

.social-links {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(20, 26, 35, 0.28);
  color: rgba(255, 255, 255, 0.88);
  transition: transform 0.18s ease, background-color 0.18s ease, border-color 0.18s ease;
}

.social-link:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.28);
}

.social-link svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
}

.social-whatsapp svg {
  width: 17px;
  height: 17px;
}

.hero-content,
.tour-hero-content {
  padding: 29px 0 79px;
}

.hero-grid,
.tour-heading-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(320px, 0.52fr);
  gap: 28px;
  align-items: start;
}

.hero-copy {
  padding: 18px 0 6px;
}

.hero-kicker,
.section-head p,
.section-kicker,
.contact-copy > p,
.eyebrow-admin,
.panel-kicker {
  margin: 0 0 18px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.8rem;
  font-weight: 700;
}

.hero-kicker {
  margin-bottom: 24px;
  font-size: 1rem;
  letter-spacing: 0.24em;
}

.hero h1,
.tour-hero h1,
.section-head h2,
.split-copy h2,
.contact-copy h2,
.admin-header h1,
.hero-panel h2 {
  margin: 0;
  font-family: "Playfair Display", serif;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 0.98;
}

.hero h1,
.tour-hero h1 {
  max-width: 12.5ch;
  font-size: clamp(2.45rem, 4.55vw, 4.2rem);
  line-height: 0.96;
}

.hero-lead {
  max-width: 640px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.98rem;
  line-height: 1.7;
}

.hero-panel,
.tour-heading-note {
  padding: 22px 22px 24px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-strong);
}

.hero-panel {
  margin-top: 20px;
}

.panel-kicker,
.tour-heading-note span {
  color: rgba(255, 255, 255, 0.66);
}

.hero-panel h2 {
  font-size: 1.6rem;
  line-height: 1.12;
}

.hero-panel-stats {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.hero-panel-stats article,
.tour-heading-note {
  color: rgba(255, 255, 255, 0.94);
}

.hero-panel-stats span,
.tour-heading-note span {
  display: block;
  margin-bottom: 8px;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-panel-stats strong,
.tour-heading-note strong {
  display: block;
  font-size: 0.92rem;
  line-height: 1.45;
}

.hero-panel-stats article + article {
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-actions {
  margin-top: 24px;
}

.hero-search {
  width: min(760px, 100%);
  margin-top: 24px;
  padding: 7px;
  display: grid;
  grid-template-columns: 1fr 178px;
  border-radius: 22px;
  background: rgba(255, 252, 248, 0.96);
  box-shadow: var(--shadow-strong);
}

.hero-search input {
  min-height: 56px;
  padding: 0 22px;
  border: 0;
  background: transparent;
  color: var(--ink);
}

.hero-search button {
  border: 0;
  border-radius: 16px;
  background: var(--accent);
  color: #fff;
  font-weight: 800;
}

.intro-strip {
  position: relative;
  z-index: 2;
  margin-top: -34px;
  padding: 0 0 24px;
}

.intro-grid {
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 28px 30px;
  border-radius: 26px;
  color: #fff;
  background: linear-gradient(135deg, #0a121d, #121e2d);
  box-shadow: var(--shadow-strong);
}

.intro-grid article {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1 1 220px;
}

.intro-grid span {
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.section,
.split-wrap,
.process-band {
  padding: 96px 0;
}

.section-head {
  margin-bottom: 34px;
  display: grid;
  gap: 16px;
}

.section-head p,
.section-kicker,
.contact-copy > p,
.eyebrow-admin {
  color: var(--accent);
}

.section-head h2,
.split-copy h2,
.contact-copy h2 {
  max-width: 15ch;
  font-size: clamp(2.4rem, 4vw, 4.2rem);
  line-height: 1;
}

.split-copy h2 {
  margin-bottom: 24px;
}

.section-head.light p,
.dark-band .section-head.light h2 {
  color: #fff;
}

.section-link {
  color: var(--accent);
  font-weight: 800;
}

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

.destination-card {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  border-radius: 28px;
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow-soft);
}

.card-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5, 10, 17, 0.06), rgba(5, 10, 17, 0.74)),
    linear-gradient(0deg, rgba(207, 55, 47, 0.12), rgba(207, 55, 47, 0));
}

.card-content {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 28px;
  z-index: 1;
  color: #fff;
}

.card-content span,
.tour-badge {
  display: inline-flex;
  align-items: center;
  padding: 9px 13px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.card-content span {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
}

.card-content h3,
.style-grid h3,
.tour-card h3,
.process-grid h3,
.detail-section h2,
.sidebar-card h3 {
  margin: 16px 0 12px;
}

.card-content h3,
.style-grid h3,
.tour-card h3,
.process-grid h3,
.sidebar-card h3 {
  font-size: 1.7rem;
  line-height: 1.12;
}

.card-content a,
.tour-card a,
.inline-link {
  color: #fff;
  font-weight: 800;
}

.dark-band {
  color: #fff;
  background:
    radial-gradient(circle at top right, rgba(207, 55, 47, 0.16), transparent 24%),
    linear-gradient(180deg, rgba(8, 13, 20, 0.98), rgba(11, 18, 28, 0.98)),
    url("https://images.unsplash.com/photo-1469854523086-cc02fe5d8800?auto=format&fit=crop&w=1800&q=80") center/cover no-repeat;
}

.style-grid {
  flex-wrap: wrap;
}

.style-grid article {
  flex: 1 1 240px;
  padding: 30px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.03));
}

.style-index {
  margin: 0;
  color: rgba(255, 255, 255, 0.44);
  font-size: 0.9rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.style-grid p:last-child,
.tour-card p,
.process-grid p,
.contact-copy p:last-of-type,
.detail-section p,
.faq-list p {
  color: var(--muted);
  line-height: 1.82;
}

.split-copy-intro,
.split-copy-body {
  margin: 0 0 18px;
  max-width: 60ch;
  line-height: 1.8;
}

.split-copy-intro {
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.98rem;
  font-weight: 700;
}

.split-copy-body {
  color: var(--muted);
}

.dark-band .style-grid p:last-child {
  color: rgba(255, 255, 255, 0.72);
}

.tour-grid {
  display: grid;
  gap: 22px;
}

.tour-grid.polished {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.tour-card {
  overflow: hidden;
  border-radius: 26px;
  border: 1px solid rgba(17, 24, 32, 0.07);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow-soft);
}

.tour-card-media {
  min-height: 250px;
  background-size: cover;
  background-position: center;
}

.tour-card-body {
  padding: 24px;
}

.tour-badge {
  background: rgba(207, 55, 47, 0.1);
  color: var(--accent);
}

.tour-card h3 {
  font-family: "Playfair Display", serif;
  font-size: 2rem;
  line-height: 1.02;
}

.tour-card a {
  color: var(--accent);
}

.tour-meta-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 22px 0;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.tour-meta-grid small {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
}

.tour-meta-grid strong {
  font-size: 0.96rem;
  line-height: 1.45;
}

.split-wrap {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.82)),
    linear-gradient(135deg, rgba(231, 216, 193, 0.26), rgba(255, 255, 255, 0.4));
}

.split-section {
  display: grid;
  gap: 36px;
  align-items: start;
}

.split-section.cinematic {
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
}

.stats-panel {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.stats-panel article {
  padding: 30px 24px;
  border-radius: 22px;
  color: #fff;
  background: linear-gradient(160deg, #0a121d, #121f2d);
  box-shadow: var(--shadow-soft);
}

.stats-panel strong {
  display: block;
  margin-bottom: 12px;
  font-size: 2rem;
  font-family: "Playfair Display", serif;
}

.stats-panel span {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
}

.process-band {
  background:
    linear-gradient(180deg, rgba(247, 241, 233, 0.94), rgba(244, 236, 226, 0.92));
}

.site-footer {
  color: #fff;
  background:
    radial-gradient(circle at top right, rgba(207, 55, 47, 0.16), transparent 20%),
    linear-gradient(180deg, #0b121b, #111b28);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) repeat(3, minmax(0, 0.72fr));
  gap: 28px;
  padding: 64px 0 38px;
}

.footer-brand,
.footer-column {
  min-width: 0;
}

.footer-logo {
  width: 138px;
  height: auto;
  margin-bottom: 18px;
}

.footer-brand p,
.footer-column p,
.footer-column a {
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.8;
}

.footer-column {
  display: grid;
  align-content: start;
  gap: 10px;
}

.footer-column h3 {
  margin: 0 0 10px;
  color: #fff;
  font-size: 1rem;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 0 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p,
.footer-bottom a {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.92rem;
}

.footer-bottom-links {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.process-grid article {
  padding: 28px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(18, 22, 28, 0.08);
  box-shadow: var(--shadow-soft);
}

.process-grid span {
  color: var(--accent);
  font-size: 1.4rem;
  font-weight: 800;
}

.tour-page {
  padding: 0 0 88px;
}

.tour-heading-shell {
  align-items: center;
}

.tour-heading-copy {
  padding-top: 26px;
}

.tour-heading-note p {
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.8;
}

.tour-stats-bar {
  position: relative;
  z-index: 2;
  margin-top: -56px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  overflow: hidden;
  border-radius: 24px;
  background: rgba(255, 253, 250, 0.98);
  box-shadow: var(--shadow-strong);
}

.tour-stats-bar article,
.tour-book-button {
  padding: 28px 24px;
  border-right: 1px solid var(--line);
}

.tour-stats-bar span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.86rem;
}

.tour-stats-bar strong {
  font-size: 1.25rem;
  line-height: 1.25;
}

.tour-book-button {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: #fff;
  font-weight: 800;
}

.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) 360px;
  gap: 34px;
  padding-top: 46px;
}

.detail-main,
.detail-sidebar {
  min-width: 0;
}

.detail-section {
  margin-bottom: 38px;
}

.detail-section h2 {
  position: relative;
  padding-left: 16px;
  font-family: "Playfair Display", serif;
  font-size: 2.6rem;
  line-height: 1;
}

.detail-section h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 5px;
  height: calc(100% - 14px);
  border-radius: 999px;
  background: var(--accent);
}

.detail-feature-media {
  position: relative;
  margin: 6px 0 34px;
}

.detail-image {
  width: 100%;
  min-height: 420px;
  object-fit: cover;
  border-radius: 24px;
  box-shadow: var(--shadow-soft);
}

.detail-image-caption {
  position: absolute;
  left: 24px;
  bottom: 24px;
  padding: 14px 18px;
  border-radius: 18px;
  color: #fff;
  background: rgba(7, 17, 28, 0.74);
  backdrop-filter: blur(8px);
}

.detail-image-caption span {
  display: block;
  margin-bottom: 4px;
  color: rgba(255, 255, 255, 0.62);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
}

.itinerary-list,
.faq-list {
  display: grid;
  gap: 18px;
}

.itinerary-list article,
.faq-list article {
  position: relative;
  padding: 26px 24px 24px 76px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(18, 22, 28, 0.08);
  box-shadow: var(--shadow-soft);
}

.itinerary-step {
  position: absolute;
  left: 22px;
  top: 26px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(207, 55, 47, 0.12);
  color: var(--accent);
  font-weight: 800;
}

.detail-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.detail-columns > div {
  padding: 24px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(18, 22, 28, 0.08);
  box-shadow: var(--shadow-soft);
}

.detail-columns ul,
.sidebar-meta {
  padding-left: 20px;
  line-height: 1.9;
  color: var(--muted);
}

.detail-sidebar {
  position: sticky;
  top: 26px;
  align-self: start;
}

.sidebar-card {
  padding: 30px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(18, 22, 28, 0.08);
  box-shadow: var(--shadow-strong);
}

.booking-card {
  overflow: hidden;
}

.sidebar-card h3 {
  font-family: "Playfair Display", serif;
  font-size: 2rem;
  line-height: 1.08;
}

.sidebar-price {
  margin: 20px 0 24px;
  padding: 18px 0 22px;
  text-align: center;
  border-top: 2px solid #efddd9;
  border-bottom: 2px solid #efddd9;
}

.sidebar-price span,
.sidebar-price small {
  color: var(--muted);
}

.sidebar-price strong {
  display: block;
  margin: 10px 0 6px;
  color: var(--accent);
  font-size: 2.3rem;
  line-height: 1;
  font-family: "Playfair Display", serif;
}

.sidebar-highlight {
  margin: 20px 0;
  padding: 18px 18px 4px;
  border-radius: 18px;
  background: var(--sand-soft);
}

.sidebar-highlight span {
  display: block;
  color: var(--accent);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
}

.sidebar-highlight p {
  line-height: 1.75;
}

.sidebar-actions {
  display: grid;
  gap: 12px;
}

.admin-body {
  background:
    radial-gradient(circle at top left, rgba(207, 55, 47, 0.08), transparent 18%),
    linear-gradient(180deg, #f3ede4, #f7f3ec);
}

.admin-login-wrap {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 16px;
  background:
    radial-gradient(circle at top left, rgba(207, 55, 47, 0.16), transparent 18%),
    radial-gradient(circle at bottom right, rgba(231, 216, 193, 0.12), transparent 22%),
    linear-gradient(135deg, #08101a, #192436);
}

.admin-login-shell {
  width: min(1180px, 100%);
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(340px, 0.68fr);
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: var(--shadow-strong);
  backdrop-filter: blur(10px);
}

.admin-login-brand {
  padding: 24px 24px 20px;
  color: #fff;
  background:
    radial-gradient(circle at top right, rgba(207, 55, 47, 0.22), transparent 20%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
}

.admin-login-kicker {
  margin: 2px 0 10px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.admin-login-brand h1 {
  margin: 0;
  max-width: 14ch;
  color: #fff;
  font-family: "Playfair Display", serif;
  font-size: clamp(1.8rem, 3vw, 2.65rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.admin-login-lead {
  max-width: 56ch;
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.9rem;
  line-height: 1.6;
}

.admin-login-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.admin-login-points article {
  padding: 14px 14px 12px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.admin-login-points span {
  display: inline-flex;
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 800;
}

.admin-login-points strong {
  display: block;
  margin-bottom: 4px;
  font-size: 0.88rem;
}

.admin-login-points p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.82rem;
  line-height: 1.45;
}

.admin-login-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 26px 24px;
  background: rgba(255, 255, 255, 0.98);
}

.admin-login-card-top {
  margin-bottom: 14px;
}

.admin-login-card-top h2 {
  margin: 0 0 8px;
  font-family: "Playfair Display", serif;
  font-size: 1.9rem;
  line-height: 1;
  letter-spacing: -0.04em;
}

.admin-login-card-top p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.45;
}

.admin-logo {
  width: 142px;
  margin: 0 0 8px;
}

.admin-logo.small {
  width: 118px;
  margin: 0 0 26px;
}

.admin-form,
.tour-form-grid {
  display: grid;
  gap: 10px;
}

.admin-form label,
.tour-form-grid label {
  display: grid;
  gap: 8px;
  font-weight: 600;
  color: #313842;
}

.admin-form input,
.tour-form-grid input,
.tour-form-grid textarea,
.tour-form-grid select {
  width: 100%;
  min-height: 42px;
  padding: 10px 13px;
  border-radius: 14px;
  border: 1px solid #d8dfe8;
  background: #fff;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.admin-form input:focus,
.tour-form-grid input:focus,
.tour-form-grid textarea:focus,
.tour-form-grid select:focus {
  outline: none;
  border-color: rgba(207, 55, 47, 0.44);
  box-shadow: 0 0 0 4px rgba(207, 55, 47, 0.08);
}

.tour-form-grid textarea {
  min-height: 130px;
  resize: vertical;
}

.admin-shell {
  display: grid;
  grid-template-columns: 280px 1fr;
  min-height: 100vh;
}

.admin-sidebar {
  padding: 30px 24px;
  color: #fff;
  background:
    radial-gradient(circle at top right, rgba(207, 55, 47, 0.18), transparent 22%),
    linear-gradient(180deg, #09111b, #152131);
}

.admin-sidebar nav {
  display: grid;
  gap: 12px;
}

.admin-sidebar a {
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
}

.admin-main {
  padding: 36px;
}

.admin-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 28px;
}

.admin-table-wrap {
  overflow: auto;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-soft);
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
}

.admin-table th,
.admin-table td {
  padding: 18px 16px;
  border-bottom: 1px solid #edf0f4;
  text-align: left;
}

.table-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.link-button {
  padding: 0;
  border: 0;
  background: none;
  color: var(--accent);
  cursor: pointer;
  font-weight: 700;
}

.status-pill {
  display: inline-flex;
  padding: 7px 12px;
  border-radius: 999px;
  background: #e6f9ee;
  color: #127742;
  font-weight: 700;
}

.status-pill.muted {
  background: #eceef2;
  color: #59616d;
}

.flash {
  padding: 10px 12px;
  margin-bottom: 12px;
  border-radius: 12px;
  font-weight: 600;
}

.flash-success {
  background: #e8f7ec;
  color: #197046;
}

.flash-error {
  background: #fde9e8;
  color: #962e28;
}

.tour-form-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: 30px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-soft);
}

.tour-form-grid .full {
  grid-column: 1 / -1;
}

.form-section-title {
  margin: 6px 0 12px;
  padding-top: 12px;
  border-top: 1px solid #edf0f4;
}

.form-section-title:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.form-section-title h2 {
  margin: 0 0 6px;
  font-size: 1.1rem;
}

.form-section-title p {
  margin: 0;
  color: var(--muted);
}

.tour-form-grid .checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
}

.tour-form-grid .checkbox input {
  width: 18px;
  min-height: 18px;
}

.tour-form-grid small {
  font-weight: 500;
  color: var(--muted);
}

.form-actions {
  display: flex;
  justify-content: flex-start;
}

@media (max-width: 1180px) {
  .destination-grid,
  .tour-grid.polished,
  .process-grid,
  .stats-panel,
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-grid,
  .tour-heading-shell,
  .detail-grid,
  .split-section.cinematic {
    grid-template-columns: 1fr;
  }

  .detail-sidebar {
    position: static;
  }
}

@media (max-width: 900px) {
  .utility-bar,
  .utility-left,
  .utility-right,
  .hero-actions,
  .intro-grid,
  .style-grid {
    flex-direction: column;
    align-items: flex-start;
  }

  .utility-bar {
    display: none;
  }

  .main-nav {
    width: min(100% - 24px, 1380px);
    display: flex;
    align-items: center;
    gap: 12px;
    justify-content: space-between;
    min-height: 60px;
  }

  .main-nav > .main-links,
  .main-nav > .social-links,
  .main-nav > .language-switch:not(.language-switch-mobile) {
    display: none;
  }

  .mobile-nav-actions {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-left: auto;
    position: relative;
    z-index: 2;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 0;
  }

  .language-switch-mobile {
    display: inline-flex;
    margin: 0;
  }

  .logo-lockup {
    position: static;
    margin-left: 0;
    transform: none;
  }

  .main-nav-wrap.is-open .mobile-menu {
    display: block;
  }

  .main-nav-wrap.is-open .menu-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .main-nav-wrap.is-open .menu-toggle span:nth-child(2) {
    opacity: 0;
  }

  .main-nav-wrap.is-open .menu-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .hero-grid,
  .tour-heading-shell {
    gap: 20px;
  }

  .hero-actions {
    width: 100%;
    gap: 12px;
  }

  .hero-actions .button-primary,
  .hero-actions .button-ghost {
    width: 100%;
  }

  .social-links {
    gap: 8px;
  }

  .hero-search {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .tour-stats-bar {
    margin-top: 22px;
    border-radius: 22px;
  }

  .tour-stats-bar article,
  .tour-book-button {
    padding: 20px 18px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .tour-stats-bar article:last-of-type,
  .tour-book-button:last-child {
    border-bottom: 0;
  }

  .tour-stats-bar,
  .detail-columns,
  .tour-grid.polished,
  .destination-grid,
  .process-grid,
  .stats-panel,
  .footer-grid,
  .tour-form-grid,
  .admin-shell {
    grid-template-columns: 1fr;
  }

  .tour-card-media {
    min-height: 220px;
  }

  .hero-panel {
    margin-top: 8px;
  }

  .admin-login-shell {
    grid-template-columns: 1fr;
  }

  .admin-login-points {
    grid-template-columns: 1fr;
  }

  .admin-login-brand,
  .admin-login-card {
    padding: 24px;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 24px, 1240px);
  }

  .main-nav {
    width: min(100% - 24px, 1380px);
  }

  .logo-lockup {
    margin-left: 0;
  }

  .logo-image {
    width: 118px;
  }

  .hero h1,
  .tour-hero h1 {
    font-size: clamp(2.25rem, 10.5vw, 3.1rem);
    max-width: 12ch;
  }

  .hero-kicker {
    margin-bottom: 18px;
    font-size: 0.82rem;
    letter-spacing: 0.16em;
  }

  .section,
  .split-wrap,
  .process-band {
    padding: 68px 0;
  }

  .hero-content,
  .tour-hero-content {
    padding: 18px 0 58px;
  }

  .hero-lead {
    font-size: 0.95rem;
    line-height: 1.7;
  }

  .hero-search input,
  .hero-search button {
    min-height: 50px;
  }

  .tour-form-grid,
  .admin-main,
  .sidebar-card,
  .hero-panel,
  .tour-heading-note {
    padding: 22px;
  }

  .mobile-menu {
    left: 8px;
    right: 8px;
    padding: 16px;
  }

  .footer-grid {
    padding: 54px 0 30px;
  }
}
