.garut-page {
  --garut-red: #c91f28;
  --garut-red-dark: #9e1720;
  --garut-gold: #e4a31f;
  --garut-green: #557b32;
  --garut-ink: #38271f;
  --garut-paper: #fff9ec;
  --garut-paper-deep: #f8ecd2;
  --garut-line: rgba(105, 75, 47, 0.22);
  background: var(--garut-paper);
  color: var(--garut-ink);
}

.garut-page main {
  overflow: hidden;
}

.garut-container {
  width: min(1240px, calc(100% - 48px));
  margin-inline: auto;
}

.garut-hero {
  height: 570px;
  min-height: 570px;
  position: relative;
  background:
    url("../assets/images/rasa-garut/papandayan-watercolor.webp") center / cover no-repeat;
  isolation: isolate;
}

.garut-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(255, 249, 236, 0.72);
}

.garut-hero-inner {
  width: min(1360px, 100%);
  height: 570px;
  min-height: 570px;
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(360px, 0.82fr) minmax(560px, 1.18fr);
  align-items: stretch;
  position: relative;
}

.garut-hero-copy {
  min-width: 0;
  align-self: center;
  padding: 70px 34px 70px max(56px, calc((100vw - 1240px) / 2));
  position: relative;
  z-index: 2;
}

.garut-eyebrow,
.garut-kicker {
  margin: 0 0 10px;
  color: var(--garut-red);
  font-family: Inter, "Segoe UI", sans-serif;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.garut-hero h1,
.garut-section-intro h2,
.garut-results-heading h2,
.garut-routes h2,
.garut-travel-note h2,
.garut-product-cta h2 {
  color: var(--garut-ink);
  font-family: "Segoe Print", "Comic Sans MS", cursive;
  letter-spacing: 0;
}

.garut-hero h1 {
  max-width: 610px;
  margin: 0;
  color: var(--garut-red);
  font-family: Inter, "Segoe UI", sans-serif;
  font-size: clamp(3.7rem, 5.5vw, 5.1rem);
  font-weight: 850;
  letter-spacing: 0;
  line-height: 0.98;
}

.garut-hero-copy > p:not(.garut-eyebrow) {
  max-width: 480px;
  margin: 24px 0 0;
  color: var(--garut-ink);
  font-family: Inter, "Segoe UI", sans-serif;
  font-size: 1.2rem;
  line-height: 1.55;
}

.garut-primary-button,
.garut-secondary-button {
  min-height: 48px;
  padding: 12px 22px;
  border: 0;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.garut-primary-button {
  margin-top: 28px;
  background: var(--garut-red);
  color: #fff;
  box-shadow: 0 10px 22px rgba(158, 23, 32, 0.2);
}

.garut-primary-button:hover,
.garut-primary-button:focus-visible {
  background: var(--garut-red-dark);
  transform: translateY(-2px);
}

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

.garut-primary-button:focus-visible,
.garut-secondary-button:focus-visible,
.garut-text-link:focus-visible,
.garut-page button:focus-visible,
.garut-destination-card a:focus-visible {
  outline: 3px solid rgba(228, 163, 31, 0.5);
  outline-offset: 3px;
}

.garut-hero-visual {
  min-width: 0;
  height: 570px;
  min-height: 570px;
  position: relative;
  overflow: hidden;
}

.garut-hero-visual::before {
  content: "";
  position: absolute;
  inset: 18px 12px 0 0;
  border: 1px solid rgba(201, 31, 40, 0.13);
  border-radius: 48% 0 0 12%;
  pointer-events: none;
  z-index: 1;
}

.garut-hero-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 48%;
  position: absolute;
  inset: 0;
}

.garut-comic-bubble {
  width: 190px;
  min-height: 96px;
  margin: 0;
  padding: 18px 20px;
  border: 2px solid var(--garut-ink);
  border-radius: 50%;
  background: rgba(255, 253, 246, 0.96);
  color: var(--garut-ink);
  font-family: "Segoe Print", "Comic Sans MS", cursive;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  position: absolute;
  top: 54px;
  right: 54px;
  z-index: 2;
  transform: rotate(-3deg);
  filter: drop-shadow(0 7px 10px rgba(70, 45, 25, 0.12));
}

.garut-comic-bubble::after {
  content: "";
  width: 24px;
  height: 24px;
  border-right: 2px solid var(--garut-ink);
  border-bottom: 2px solid var(--garut-ink);
  background: #fffdf6;
  position: absolute;
  left: 32px;
  bottom: -10px;
  transform: rotate(38deg);
}

.garut-discovery {
  padding: 36px 0 22px;
  border-top: 1px solid rgba(228, 163, 31, 0.22);
  border-bottom: 1px solid rgba(228, 163, 31, 0.22);
  background: rgba(255, 253, 247, 0.92);
}

.garut-audience-block {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(560px, 1.28fr);
  align-items: center;
  gap: 38px;
}

.garut-audience-block > * {
  min-width: 0;
}

.garut-section-intro {
  max-width: 760px;
  margin: 0 auto 32px;
  text-align: center;
}

.garut-section-intro-left {
  margin: 0;
  text-align: left;
}

.garut-section-intro h2,
.garut-results-heading h2,
.garut-routes h2,
.garut-travel-note h2,
.garut-product-cta h2 {
  margin: 0;
  font-size: clamp(2rem, 3vw, 3.15rem);
  line-height: 1.12;
}

.garut-section-intro > p:not(.garut-kicker) {
  margin: 14px auto 0;
  color: #725f52;
}

.garut-audience-controls {
  display: grid;
  grid-template-columns: repeat(5, minmax(92px, 1fr));
  gap: 10px;
}

.garut-audience-controls button,
.garut-category-controls button {
  border: 1px solid transparent;
  border-radius: 6px;
  background: transparent;
  color: #5e4a3e;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.garut-audience-controls button {
  min-height: 82px;
  padding: 10px 8px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 3px;
}

.garut-audience-controls button span {
  color: var(--garut-red);
  font-size: 1.8rem;
  line-height: 1;
}

.garut-audience-controls button:hover,
.garut-audience-controls button.is-active {
  border-color: rgba(201, 31, 40, 0.25);
  background: #fff5e8;
  color: var(--garut-red);
}

.garut-category-controls {
  margin-top: 26px;
  display: flex;
  justify-content: center;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: thin;
}

.garut-category-controls button {
  min-height: 42px;
  padding: 9px 17px;
  white-space: nowrap;
}

.garut-category-controls button:hover,
.garut-category-controls button.is-active {
  border-bottom-color: var(--garut-red);
  background: #fff;
  color: var(--garut-red);
}

@media (min-width: 1441px) {
  .garut-hero-inner {
    width: 100%;
    max-width: none;
    grid-template-columns: minmax(680px, 48%) minmax(0, 52%);
  }

  .garut-hero-copy {
    padding-left: clamp(72px, calc((100vw - 1240px) / 2), 300px);
  }

  .garut-hero h1 {
    white-space: nowrap;
  }
}

.garut-recommendations {
  padding: 64px 0 72px;
  background: #fff9ec;
}

.garut-results-heading {
  margin-bottom: 26px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.garut-result-count {
  margin: 0 0 8px;
  color: #765f4c;
  font-size: 0.94rem;
  font-weight: 700;
}

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

.garut-destination-card {
  min-width: 0;
  border: 1px solid rgba(103, 76, 50, 0.2);
  border-radius: 8px;
  background: rgba(255, 253, 247, 0.96);
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(90, 59, 28, 0.08);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.garut-destination-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 36px rgba(90, 59, 28, 0.13);
}

.garut-card-media {
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: #f3ead7;
}

.garut-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 400ms ease;
}

.garut-destination-card:hover .garut-card-media img {
  transform: scale(1.025);
}

.garut-card-copy {
  padding: 18px 19px 20px;
}

.garut-card-meta {
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: var(--garut-green);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
}

.garut-card-region {
  color: #90765f;
  font-weight: 700;
  text-align: right;
  text-transform: none;
}

.garut-card-copy h3 {
  margin: 0;
  color: var(--garut-ink);
  font-family: "Segoe Print", "Comic Sans MS", cursive;
  font-size: 1.45rem;
  line-height: 1.25;
}

.garut-card-copy > p {
  min-height: 72px;
  margin: 9px 0 0;
  color: #69564a;
  font-size: 0.93rem;
  line-height: 1.55;
}

.garut-card-tags {
  margin: 15px 0 17px;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.garut-card-tags span {
  padding: 5px 8px;
  border: 1px solid rgba(85, 123, 50, 0.22);
  border-radius: 999px;
  background: #f5f7eb;
  color: #52613f;
  font-size: 0.75rem;
  line-height: 1;
}

.garut-card-link {
  color: var(--garut-red);
  font-size: 0.84rem;
  font-weight: 900;
  text-transform: uppercase;
}

.garut-card-link:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.garut-empty {
  padding: 50px 24px;
  border: 1px dashed rgba(201, 31, 40, 0.35);
  text-align: center;
}

.garut-empty h3 {
  margin: 0;
  font-family: "Segoe Print", "Comic Sans MS", cursive;
  font-size: 1.7rem;
}

.garut-empty p {
  margin: 8px auto 18px;
}

.garut-empty button {
  min-height: 44px;
  padding: 10px 18px;
  border: 0;
  border-radius: 6px;
  background: var(--garut-red);
  color: #fff;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.garut-routes {
  padding: 68px 0;
  background: #fffdf7;
}

.garut-route-band {
  border-top: 1px solid var(--garut-line);
  border-bottom: 1px solid var(--garut-line);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.garut-route-band article {
  min-height: 156px;
  padding: 27px 26px;
  display: flex;
  align-items: flex-start;
  gap: 17px;
}

.garut-route-band article + article {
  border-left: 1px solid var(--garut-line);
}

.garut-route-number {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--garut-red);
  color: #fff;
  font-weight: 900;
}

.garut-route-band article:nth-child(2) .garut-route-number {
  background: var(--garut-green);
}

.garut-route-band article:nth-child(3) .garut-route-number {
  background: var(--garut-gold);
  color: #3b2919;
}

.garut-route-band h3 {
  margin: 0;
  color: var(--garut-ink);
  font-family: "Segoe Print", "Comic Sans MS", cursive;
  font-size: 1.35rem;
}

.garut-route-band p {
  margin: 7px 0 0;
  color: #6c594d;
  font-size: 0.92rem;
}

.garut-travel-note {
  padding: 36px 0;
  border-top: 1px solid rgba(228, 163, 31, 0.28);
  border-bottom: 1px solid rgba(228, 163, 31, 0.28);
  background: #faefd7;
}

.garut-travel-note-inner,
.garut-product-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.garut-travel-note h2,
.garut-product-cta h2 {
  font-size: clamp(1.8rem, 2.5vw, 2.6rem);
}

.garut-travel-note p:not(.garut-kicker),
.garut-product-cta p:not(.garut-kicker) {
  max-width: 780px;
  margin: 8px 0 0;
  color: #68564a;
}

.garut-product-cta {
  padding: 60px 0;
  background: #fff9ec;
}

.garut-product-actions {
  min-width: 235px;
  display: grid;
  justify-items: center;
  gap: 14px;
}

.garut-product-actions .garut-primary-button {
  width: 100%;
  margin: 0;
}

.garut-text-link {
  color: var(--garut-red);
  font-size: 0.88rem;
  font-weight: 800;
}

@media (max-width: 1024px) {
  .garut-container {
    width: min(100% - 36px, 940px);
  }

  .garut-hero,
  .garut-hero-inner {
    height: 590px;
    min-height: 590px;
  }

  .garut-hero-inner {
    grid-template-columns: minmax(300px, 0.82fr) minmax(420px, 1.18fr);
  }

  .garut-hero-visual {
    height: 590px;
    min-height: 590px;
  }

  .garut-hero-copy {
    padding-left: 36px;
  }

  .garut-hero h1 {
    font-size: clamp(3.35rem, 7vw, 5.1rem);
  }

  .garut-comic-bubble {
    width: 155px;
    min-height: 80px;
    top: 32px;
    right: 25px;
    padding: 15px;
    font-size: 0.88rem;
  }

  .garut-audience-block {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .garut-audience-controls {
    grid-template-columns: repeat(5, 1fr);
  }

  .garut-destination-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .garut-route-band {
    grid-template-columns: 1fr;
  }

  .garut-route-band article + article {
    border-top: 1px solid var(--garut-line);
    border-left: 0;
  }
}

@media (max-width: 640px) {
  .garut-container {
    width: min(100% - 28px, 560px);
  }

  .garut-hero,
  .garut-hero-inner {
    height: auto;
    min-height: auto;
  }

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

  .garut-hero-copy {
    padding: 42px 24px 28px;
    text-align: center;
  }

  .garut-hero h1 {
    font-size: clamp(3rem, 14vw, 4.15rem);
  }

  .garut-hero-copy > p:not(.garut-eyebrow) {
    margin-inline: auto;
    font-size: 1rem;
  }

  .garut-hero-visual {
    height: 455px;
    min-height: 455px;
  }

  .garut-hero-visual::before {
    inset: 0;
    border-radius: 0;
  }

  .garut-hero-visual img {
    object-position: center 43%;
  }

  .garut-comic-bubble {
    width: 148px;
    top: 22px;
    right: 17px;
  }

  .garut-discovery {
    padding-top: 30px;
  }

  .garut-section-intro-left,
  .garut-results-heading {
    text-align: center;
  }

  .garut-section-intro h2,
  .garut-results-heading h2,
  .garut-routes h2 {
    font-size: 2.2rem;
  }

  .garut-audience-controls {
    grid-template-columns: repeat(5, 104px);
    overflow-x: auto;
    justify-content: start;
    padding-bottom: 8px;
  }

  .garut-category-controls {
    justify-content: start;
  }

  .garut-recommendations {
    padding: 48px 0 54px;
    background: #fff9ec;
  }

  .garut-results-heading {
    display: block;
  }

  .garut-result-count {
    margin-top: 12px;
    text-align: center;
  }

  .garut-destination-grid {
    grid-template-columns: 1fr;
  }

  .garut-card-copy > p {
    min-height: 0;
  }

  .garut-routes {
    padding: 52px 0;
  }

  .garut-route-band article {
    min-height: 0;
    padding: 22px 8px;
  }

  .garut-travel-note-inner,
  .garut-product-cta-inner {
    display: grid;
    text-align: center;
  }

  .garut-travel-note p:not(.garut-kicker),
  .garut-product-cta p:not(.garut-kicker) {
    margin-inline: auto;
  }

  .garut-product-actions {
    min-width: 0;
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .garut-primary-button,
  .garut-destination-card,
  .garut-card-media img {
    transition: none;
  }
}
