/* Rental promo page — shared by /rental/ (HR) and /rental/en/ (EN).
   Relies on design tokens and components from ../index.css (Webflow export). */

/* --- How it works steps --- */
.rental-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.rental-step {
  background-color: var(--white);
  border-radius: 1rem;
  padding: 2rem 1.5rem;
}

.rental-step-number {
  background-color: var(--green);
  border-radius: 100rem;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 600;
  margin-bottom: 1rem;
}

/* --- Template showcase --- */
.rental-templates-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.rental-template-card {
  background-color: var(--light-grey);
  border-radius: 1rem;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.rental-shot-wrap {
  position: relative;
}

.rental-screenshot {
  display: block;
  width: 100%;
  border-radius: 0.75rem;
  border: 1px solid var(--grey);
  box-shadow: 0 10px 30px rgba(23, 23, 23, 0.12);
}

.rental-screenshot--mobile {
  position: absolute;
  right: -0.5rem;
  bottom: -1.25rem;
  width: 27%;
  border-radius: 0.6rem;
  border: 2px solid var(--black);
  box-shadow: 0 12px 24px rgba(23, 23, 23, 0.25);
}

.rental-shot-wrap.has-mobile {
  margin-bottom: 1.25rem;
}

.rental-template-body {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex-grow: 1;
}

.rental-included {
  font-size: 0.875rem;
  color: var(--black);
  opacity: 0.7;
  margin-top: auto;
}

/* --- Feature checklist --- */
.rental-feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.rental-check-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.rental-check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.5rem 0;
}

.rental-check-list li::before {
  content: "\2713";
  background-color: var(--green);
  border-radius: 100rem;
  width: 1.5rem;
  height: 1.5rem;
  min-width: 1.5rem;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  font-size: 0.875rem;
  font-weight: 700;
}

/* --- Pricing --- */
.rental-pricing-card {
  background-color: var(--white);
  border: 1px solid var(--black);
  border-radius: 1.5rem;
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
  padding: 3rem 2.5rem;
  text-align: center;
}

.rental-price {
  font-size: 3.5rem;
  font-weight: 500;
  line-height: 1.1;
}

.rental-price-plus {
  font-size: 1.5rem;
  font-weight: 500;
  margin-top: 0.75rem;
}

.rental-price-note {
  font-size: 0.8rem;
  opacity: 0.6;
  margin-top: 1.5rem;
}

.rental-pricing-card .rental-check-list {
  text-align: left;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

/* --- FAQ via native <details> (Webflow IX2 animations don't run on this page) --- */
details.faq-accordion > summary.faq-question {
  list-style: none;
}

details.faq-accordion > summary.faq-question::-webkit-details-marker {
  display: none;
}

details.faq-accordion .faq-icon {
  transition: transform 0.3s;
}

details.faq-accordion[open] .faq-icon {
  transform: rotate(45deg);
}

details.faq-accordion .faq-answer {
  padding-bottom: 0.5rem;
}

/* --- Language switch --- */
.lang-switch {
  border: 1px solid var(--black);
  border-radius: 100rem;
  padding: 0.25rem 0.9rem;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--black);
  align-self: center;
  margin-left: 1rem;
  transition: background-color 0.3s;
}

.lang-switch:hover {
  background-color: var(--green);
}

/* --- Responsive --- */
@media screen and (max-width: 991px) {
  .rental-templates-grid {
    grid-template-columns: 1fr;
    max-width: 34rem;
    margin-left: auto;
    margin-right: auto;
  }

  .rental-steps {
    grid-template-columns: 1fr;
  }

  .rental-feature-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media screen and (max-width: 767px) {
  .rental-price {
    font-size: 2.75rem;
  }

  .rental-pricing-card {
    padding: 2rem 1.5rem;
  }

  .lang-switch {
    margin-left: 0;
  }
}

/* --- Live template demos --- */
.rental-shot-link {
  display: block;
  cursor: pointer;
  transition: transform 0.25s ease;
}
.rental-shot-link:hover { transform: translateY(-3px); }

.rental-demo-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.75rem;
}
.rental-demo-link {
  display: inline-block;
  padding: 0.45rem 0.9rem;
  background-color: var(--green);
  color: var(--black);
  border-radius: 100rem;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.2s ease, transform 0.2s ease;
}
.rental-demo-link:hover {
  background-color: var(--black);
  color: var(--white);
  transform: translateY(-1px);
}
