/**
 * Cusco Car Tourism promotional landing page.
 */

.stp-car-page {
  --stp-car-green: #418d16;
  --stp-car-green-deep: #418d16;
  --stp-car-green-soft: rgba(65, 141, 22, 0.115);
  --stp-car-gold: #d4a15f;
  --stp-car-ink: #1f1f1f;
  --stp-car-muted: #5f5f5f;
  --stp-car-cream: #f7f4ed;
  --stp-car-line: #e1e1e1;
  --stp-car-white: #ffffff;
  color: var(--stp-car-ink);
  background: var(--stp-car-white);
  overflow: clip;
}

.stp-car-page ::selection {
  color: var(--stp-car-white);
  background: var(--stp-car-green);
}

.stp-car-page h1,
.stp-car-page h2,
.stp-car-page h3,
.stp-car-page p {
  margin-top: 0;
}

.stp-car-page h1,
.stp-car-page h2 {
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.stp-car-page h2 {
  margin-bottom: 1.25rem;
  font-size: clamp(2rem, 4vw, 3.65rem);
  font-weight: 800;
  line-height: 1.05;
}

.stp-car-page h3 {
  letter-spacing: -0.015em;
}

.stp-car-page a,
.stp-car-page button {
  -webkit-tap-highlight-color: transparent;
}

.stp-car-page a:focus-visible,
.stp-car-page button:focus-visible {
  outline: 3px solid var(--stp-car-gold);
  outline-offset: 4px;
}

.stp-car-rich-copy,
.stp-car-section-copy {
  color: var(--stp-car-muted);
  font-size: 1.06rem;
  line-height: 1.75;
}

.stp-car-rich-copy > :last-child,
.stp-car-section-copy > :last-child {
  margin-bottom: 0;
}

.stp-car-hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: clamp(620px, 82vh, 820px);
  color: var(--stp-car-white);
  background-image: linear-gradient(90deg, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0.6) 45%, rgba(0, 0, 0, 0.22) 100%), var(--stp-car-hero-image);
  background-position: center;
  background-size: cover;
  isolation: isolate;
}

.stp-car-hero::after {
  position: absolute;
  inset: auto 0 0;
  height: 120px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.2));
  content: "";
  pointer-events: none;
  z-index: -1;
}

.stp-car-hero-inner {
  width: 100%;
  padding-top: 8rem;
  padding-bottom: 7rem;
}

.stp-car-hero-copy {
  max-width: 760px;
  animation: stp-car-hero-reveal 800ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.stp-car-hero h1 {
  max-width: 12ch;
  margin-bottom: 1.5rem;
  font-size: clamp(3.15rem, 7vw, 6rem);
  font-weight: 850;
  line-height: 0.97;
}

.stp-car-hero-text {
  max-width: 64ch;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  line-height: 1.65;
}

.stp-car-hero-text > :last-child {
  margin-bottom: 0;
}

.stp-car-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

.stp-car-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  gap: 0.65rem;
  padding: 0.85rem 1.25rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 750;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: transform 240ms cubic-bezier(0.16, 1, 0.3, 1), background-color 240ms ease, color 240ms ease, border-color 240ms ease, box-shadow 240ms ease;
}

.stp-car-button:hover {
  transform: translateY(-2px);
}

.stp-car-button-primary {
  color: var(--stp-car-white);
  background: var(--stp-car-green);
  box-shadow: 0 14px 28px rgba(32, 32, 32, 0.28);
}

.stp-car-button-primary:hover {
  color: var(--stp-car-white);
  background: #418d16;
}

.stp-car-button-ghost {
  color: var(--stp-car-white);
  border-color: rgba(255, 255, 255, 0.62);
  background: rgba(0, 0, 0, 0.16);
}

.stp-car-button-ghost:hover {
  color: var(--stp-car-ink);
  border-color: var(--stp-car-white);
  background: var(--stp-car-white);
}

.stp-car-hero-scroll {
  position: absolute;
  bottom: 2.25rem;
  left: 50%;
  display: grid;
  width: 30px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 999px;
  place-items: start center;
  transform: translateX(-50%);
}

.stp-car-hero-scroll span {
  width: 4px;
  height: 8px;
  margin-top: 9px;
  border-radius: 999px;
  background: var(--stp-car-white);
  animation: stp-car-scroll-cue 1.8s ease-in-out infinite;
}

.stp-car-introduction,
.stp-car-services,
.stp-car-process,
.stp-car-gallery,
.stp-car-faq {
  padding: clamp(5rem, 9vw, 8rem) 0;
}

.stp-car-intro-layout {
  display: grid;
  align-items: center;
}

.stp-car-intro-layout.has-media {
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: clamp(3rem, 7vw, 7rem);
}

.stp-car-intro-copy {
  max-width: 690px;
}

.stp-car-points {
  display: grid;
  gap: 1.2rem;
  margin-top: 2rem;
}

.stp-car-point {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 0.9rem;
  align-items: start;
}

.stp-car-point > i {
  margin-top: 0.2rem;
  color: var(--stp-car-green);
  font-size: 1.15rem;
}

.stp-car-point h3,
.stp-car-point p {
  margin-bottom: 0.25rem;
}

.stp-car-point h3 {
  font-size: 1.04rem;
  font-weight: 780;
}

.stp-car-point p {
  color: var(--stp-car-muted);
  line-height: 1.6;
}

.stp-car-intro-media {
  position: relative;
  min-height: 520px;
  margin: 0;
}

.stp-car-intro-media::before {
  position: absolute;
  top: -22px;
  right: -22px;
  width: 55%;
  height: 45%;
  border-radius: 14px;
  background: var(--stp-car-green-soft);
  content: "";
}

.stp-car-intro-image {
  position: relative;
  width: 100%;
  height: 520px;
  border-radius: 14px;
  object-fit: cover;
  box-shadow: 0 24px 56px rgba(65, 141, 22, 0.14);
}

.stp-car-services {
  background: var(--stp-car-cream);
}

.stp-car-services-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.75fr) minmax(0, 1.4fr);
  gap: clamp(3rem, 7vw, 7rem);
  align-items: start;
}

.stp-car-services-heading {
  position: sticky;
  top: 130px;
}

.stp-car-route-list {
  border-top: 1px solid #d3d3d3;
}

.stp-car-route {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) auto;
  gap: 1.25rem;
  align-items: center;
  padding: 1.65rem 0;
  border-bottom: 1px solid #d3d3d3;
  transition: padding 220ms ease, background-color 220ms ease;
}

.stp-car-route:hover {
  padding-right: 1rem;
  padding-left: 1rem;
  background: rgba(255, 255, 255, 0.62);
}

.stp-car-route-icon {
  display: grid;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  color: var(--stp-car-green);
  background: var(--stp-car-green-soft);
  font-size: 1.15rem;
  place-items: center;
}

.stp-car-route h3 {
  margin-bottom: 0.45rem;
  font-size: 1.2rem;
  font-weight: 790;
}

.stp-car-route p {
  max-width: 58ch;
  margin-bottom: 0;
  color: var(--stp-car-muted);
  line-height: 1.65;
}

.stp-car-route-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 0.55rem;
  color: var(--stp-car-green-deep);
  font-size: 0.9rem;
  font-weight: 780;
  text-decoration: none;
}

.stp-car-route-link i {
  transition: transform 200ms ease;
}

.stp-car-route-link:hover {
  color: var(--stp-car-green);
}

.stp-car-route-link:hover i {
  transform: translateX(4px);
}

.stp-car-private {
  padding: clamp(4rem, 8vw, 7rem) 0;
  background: var(--stp-car-white);
}

.stp-car-private-panel {
  display: grid;
  overflow: hidden;
  border-radius: 16px;
  color: var(--stp-car-white);
  background: var(--stp-car-green-deep);
  box-shadow: 0 26px 60px rgba(65, 141, 22, 0.2);
}

.stp-car-private-panel.has-media {
  grid-template-columns: minmax(0, 1fr) minmax(330px, 0.85fr);
}

.stp-car-private-panel:not(.has-media) .stp-car-private-copy {
  max-width: 900px;
}

.stp-car-private-copy {
  padding: clamp(2.5rem, 6vw, 5.25rem);
}

.stp-car-private .stp-car-rich-copy {
  max-width: 64ch;
  color: rgba(255, 255, 255, 0.76);
}

.stp-car-private-routes {
  display: grid;
  gap: 1.25rem;
  margin-top: 2.25rem;
}

.stp-car-private-route {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 0.85rem;
  align-items: start;
}

.stp-car-private-route > i {
  margin-top: 0.2rem;
  color: var(--stp-car-gold);
}

.stp-car-private-route h3 {
  margin-bottom: 0.25rem;
  color: var(--stp-car-white);
  font-size: 1.04rem;
  font-weight: 780;
}

.stp-car-private-route p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.55;
}

.stp-car-private-media {
  min-height: 100%;
  margin: 0;
}

.stp-car-private-image {
  width: 100%;
  height: 100%;
  min-height: 580px;
  object-fit: cover;
}

.stp-car-process {
  background: #f2f2f2;
}

.stp-car-centered-heading {
  max-width: 760px;
  margin: 0 auto 3.5rem;
  text-align: center;
}

.stp-car-process-list {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.stp-car-process-list::before {
  position: absolute;
  top: 28px;
  right: 16.66%;
  left: 16.66%;
  height: 1px;
  background: #c7c7c7;
  content: "";
}

.stp-car-process-step {
  position: relative;
  text-align: center;
}

.stp-car-step-number {
  position: relative;
  z-index: 1;
  display: grid;
  width: 56px;
  height: 56px;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  color: var(--stp-car-white);
  background: var(--stp-car-green);
  font-size: 0.88rem;
  font-variant-numeric: tabular-nums;
  font-weight: 800;
  place-items: center;
  box-shadow: 0 9px 22px rgba(65, 141, 22, 0.22);
}

.stp-car-process-step h3 {
  margin-bottom: 0.65rem;
  font-size: 1.2rem;
  font-weight: 800;
}

.stp-car-process-step p {
  max-width: 35ch;
  margin: 0 auto;
  color: var(--stp-car-muted);
  line-height: 1.65;
}

.stp-car-gallery {
  background: var(--stp-car-white);
}

.stp-car-gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 260px;
  gap: 0.9rem;
}

.stp-car-gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  color: var(--stp-car-white);
  background: var(--stp-car-green-deep);
}

.stp-car-gallery-item:first-child {
  grid-column: span 2;
  grid-row: span 2;
}

.stp-car-gallery-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 650ms cubic-bezier(0.16, 1, 0.3, 1), filter 650ms cubic-bezier(0.16, 1, 0.3, 1);
}

.stp-car-gallery-item > span {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  display: grid;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: var(--stp-car-ink);
  background: rgba(255, 255, 255, 0.94);
  opacity: 0;
  place-items: center;
  transform: translateY(8px);
  transition: opacity 220ms ease, transform 220ms ease;
}

.stp-car-gallery-item:hover .stp-car-gallery-image,
.stp-car-gallery-item:focus-visible .stp-car-gallery-image {
  filter: brightness(0.8);
  transform: scale(1.035);
}

.stp-car-gallery-item:hover > span,
.stp-car-gallery-item:focus-visible > span {
  opacity: 1;
  transform: translateY(0);
}

.stp-car-faq {
  background: var(--stp-car-cream);
}

.stp-car-faq-layout {
  display: grid;
  grid-template-columns: minmax(250px, 0.7fr) minmax(0, 1.35fr);
  gap: clamp(3rem, 7vw, 7rem);
  align-items: start;
}

.stp-car-accordion {
  border-top: 1px solid #d3d3d3;
}

.stp-car-accordion .stp-car-accordion-item {
  border: 0;
  border-bottom: 1px solid #d3d3d3;
  border-radius: 0;
  background: transparent;
}

.stp-car-accordion .accordion-button {
  min-height: 72px;
  padding: 1.25rem 0;
  color: var(--stp-car-ink);
  background: transparent;
  box-shadow: none;
  font-size: 1.04rem;
  font-weight: 780;
}

.stp-car-accordion .accordion-button:not(.collapsed) {
  color: var(--stp-car-green);
  background: transparent;
  box-shadow: none;
}

.stp-car-accordion .accordion-button::after {
  margin-left: 1rem;
}

.stp-car-accordion .accordion-body {
  max-width: 70ch;
  padding: 0 2.75rem 1.5rem 0;
  color: var(--stp-car-muted);
  line-height: 1.7;
}

.stp-car-accordion .accordion-body > :last-child {
  margin-bottom: 0;
}

.stp-car-cta {
  padding: 0 0 clamp(5rem, 9vw, 8rem);
  background: var(--stp-car-cream);
}

.stp-car-cta-panel {
  display: flex;
  min-height: 320px;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  padding: clamp(2.5rem, 6vw, 5rem);
  border-radius: 16px;
  color: var(--stp-car-white);
  background: var(--stp-car-green);
  box-shadow: 0 24px 52px rgba(65, 141, 22, 0.2);
}

.stp-car-cta-copy {
  max-width: 680px;
}

.stp-car-cta-copy h2 {
  margin-bottom: 1rem;
}

.stp-car-cta .stp-car-section-copy {
  color: rgba(255, 255, 255, 0.78);
}

.stp-car-cta-actions {
  flex: 0 0 auto;
  margin-top: 0;
}

.stp-car-button-light {
  color: var(--stp-car-green-deep);
  background: var(--stp-car-white);
  box-shadow: 0 12px 24px rgba(28, 28, 28, 0.2);
}

.stp-car-button-light:hover {
  color: var(--stp-car-green-deep);
  background: #f6f6f6;
}

.stp-car-button-outline-light {
  color: var(--stp-car-white);
  border-color: rgba(255, 255, 255, 0.6);
}

.stp-car-button-outline-light:hover {
  color: var(--stp-car-green-deep);
  border-color: var(--stp-car-white);
  background: var(--stp-car-white);
}

@keyframes stp-car-hero-reveal {
  from {
    opacity: 0;
    filter: blur(7px);
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
  }
}

@keyframes stp-car-scroll-cue {
  0%,
  100% {
    opacity: 0.45;
    transform: translateY(0);
  }

  50% {
    opacity: 1;
    transform: translateY(14px);
  }
}

@media (max-width: 1199.98px) {
  .stp-car-route {
    grid-template-columns: 58px minmax(0, 1fr);
  }

  .stp-car-route-link {
    grid-column: 2;
    justify-self: start;
  }

  .stp-car-cta-panel {
    display: grid;
  }

  .stp-car-cta-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 991.98px) {
  .stp-car-hero {
    min-height: 680px;
    background-image: linear-gradient(90deg, rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.38)), var(--stp-car-hero-image);
  }

  .stp-car-intro-layout,
  .stp-car-intro-layout.has-media,
  .stp-car-services-layout,
  .stp-car-faq-layout {
    grid-template-columns: 1fr;
  }

  .stp-car-services-heading {
    position: static;
    max-width: 720px;
  }

  .stp-car-private-panel.has-media {
    grid-template-columns: 1fr;
  }

  .stp-car-private-image {
    min-height: 420px;
  }

  .stp-car-gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767.98px) {
  .stp-car-hero-inner {
    padding-top: 7rem;
    padding-bottom: 6.5rem;
  }

  .stp-car-hero h1 {
    font-size: clamp(2.75rem, 13vw, 4rem);
  }

  .stp-car-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .stp-car-button {
    width: 100%;
  }

  .stp-car-intro-media,
  .stp-car-intro-image {
    min-height: 390px;
    height: 390px;
  }

  .stp-car-intro-media::before {
    top: -14px;
    right: -8px;
  }

  .stp-car-route {
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 0.9rem;
  }

  .stp-car-route:hover {
    padding-right: 0;
    padding-left: 0;
    background: transparent;
  }

  .stp-car-route-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
  }

  .stp-car-private-copy {
    padding: 2.25rem 1.5rem;
  }

  .stp-car-private-image {
    min-height: 330px;
  }

  .stp-car-process-list {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .stp-car-process-list::before {
    top: 28px;
    bottom: 28px;
    left: 27px;
    width: 1px;
    height: auto;
  }

  .stp-car-process-step {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 0 1.2rem;
    text-align: left;
  }

  .stp-car-step-number {
    grid-row: span 2;
    margin: 0;
  }

  .stp-car-process-step p {
    max-width: none;
    margin: 0;
  }

  .stp-car-gallery-grid {
    grid-auto-rows: 210px;
  }

  .stp-car-gallery-item:first-child {
    grid-column: span 2;
    grid-row: span 1;
  }

  .stp-car-cta-panel {
    min-height: 0;
    gap: 1.5rem;
    padding: 2.25rem 1.5rem;
  }

  .stp-car-cta-actions {
    width: 100%;
  }
}

@media (max-width: 479.98px) {
  .stp-car-route {
    grid-template-columns: 44px minmax(0, 1fr);
  }

  .stp-car-route-link {
    grid-column: 1 / -1;
  }

  .stp-car-gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 230px;
  }

  .stp-car-gallery-item:first-child {
    grid-column: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .stp-car-page *,
  .stp-car-page *::before,
  .stp-car-page *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
