/* Reusable page patterns. Keep one-off layout and responsive details in HTML. */

.material-symbols-outlined {
  font-variation-settings:
    "FILL" 0,
    "wght" 300,
    "GRAD" 0,
    "opsz" 24;
}

.atmospheric-shadow {
  box-shadow: 0 10px 40px -10px rgba(69, 85, 72, 0.08);
}

.text-glow-focus:focus-within {
  box-shadow: 0 0 0 4px rgba(69, 85, 72, 0.1);
}

/* Page structure */
.page-section {
  padding-block: 80px;
  transition: all 1000ms;
  opacity: 1;
  transform: translateY(0);
}

.page-container {
  width: 100%;
  max-width: 1140px;
  margin-inline: auto;
  padding-inline: 24px;
}

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

@media (min-width: 768px) {
  .content-grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
  }
}

/* Type roles */
.section-title {
  color: #1a1c1b;
  font-family: "Source Serif 4", serif;
  font-size: 32px;
  font-weight: 600;
  line-height: 40px;
}

.subsection-title {
  color: #1a1c1b;
  font-family: "Source Serif 4", serif;
  font-size: 24px;
  font-weight: 500;
  line-height: 32px;
}

.body-copy {
  color: #434843;
  font-family: "Hanken Grotesk", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  text-align: justify;
}

.body-copy--large {
  font-size: 18px;
  line-height: 28px;
}

.label-text {
  color: #1a1c1b;
  font-family: "Hanken Grotesk", sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.05em;
  line-height: 20px;
}

.section-rule {
  width: 80px;
  height: 4px;
  border-radius: 9999px;
  background: #455548;
}

/* Shared actions and links */
.button {
  display: inline-block;
  border-radius: 9999px;
  padding: 24px 80px;
  font-family: "Hanken Grotesk", sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.05em;
  line-height: 20px;
  transition: all 300ms;
}

.button:hover {
  opacity: 0.9;
}
.button:active {
  transform: scale(0.95);
}

.button--primary {
  background: #455548;
  color: #fff;
}

.button--outline {
  border: 1px solid #747872;
  color: #434843;
}

.button--outline:hover {
  background: #efeeec;
  opacity: 1;
}

.nav-link {
  color: #434843;
  font-family: "Hanken Grotesk", sans-serif;
  font-size: 16px;
  line-height: 24px;
  cursor: pointer;
  transition: color 300ms;
}

.nav-link:hover,
.text-link:hover {
  color: #455548;
}

.mobile-nav-link {
  color: #434843;
  font-family: "Source Serif 4", serif;
  font-size: 24px;
  font-weight: 500;
  line-height: 32px;
  padding-block: 12px;
  transition: color 150ms;
}

.mobile-nav-link:hover {
  color: #455548;
}

.text-link {
  color: #434843;
  font-family: "Hanken Grotesk", sans-serif;
  font-size: 12px;
  font-weight: 500;
  line-height: 16px;
  transition: color 300ms;
}

/* Cards and repeated content blocks */
.service-card,
.card-with-text {
  border: 1px solid #e9e8e6;
  border-radius: 12px;
  background: #fff;
  padding: 48px;
  transition: transform 500ms;
}

.service-card:hover {
  transform: translateY(-8px);
}

.service-card__header {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 24px;
}

.icon-badge {
  display: flex;
  width: 64px;
  height: 64px;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  transition: transform 300ms;
}

.service-card:hover .icon-badge {
  transform: scale(1.1);
}
.icon-badge--primary {
  background: #d6e7d6;
  color: #455548;
}
.icon-badge--secondary {
  background: #f3dfc8;
  color: #6a5c4a;
}

.feature-item {
  display: flex;
  gap: 24px;
}

.feature-icon,
.contact-icon {
  display: flex;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
}

.feature-icon {
  background: rgba(214, 231, 214, 0.3);
  color: #455548;
}
.feature-icon--secondary {
  background: rgba(243, 223, 200, 0.3);
  color: #6a5c4a;
}
.feature-icon--tertiary {
  background: rgba(229, 226, 216, 0.3);
  color: #525149;
}
.contact-icon {
  background: #efeeec;
  color: #455548;
}

.surface-card {
  border-radius: 40px;
  background: #fff;
  overflow: hidden;
}

.cover-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.form-card {
  border-radius: 40px;
  background: #fff;
  padding: 48px;
}

@media (min-width: 768px) {
  .form-card {
    padding: 80px;
  }
}

/* Form fields */
.form-label {
  margin-left: 12px;
  color: #434843;
  font-family: "Hanken Grotesk", sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.05em;
  line-height: 20px;
}

.form-control {
  width: 100%;
  border: 0;
  border-bottom: 1px solid #747872;
  border-radius: 8px 8px 0 0;
  background: #f4f3f1;
  padding: 12px;
  transition: all 150ms;
}

.form-control:focus {
  border-color: #455548;
  outline: 0;
}

.hero-section {
  padding-top: 5rem;
}

.list-normal {
  padding-inline-start: 2rem;
}

.hero-section-faq {
  padding-top: 7rem;
}
.hero-section-faq .section-picture > div {
  max-height: 12rem;
}
.hero-section-faq h1 {
  margin-left: 2rem;
}

@media (max-width: 768px) {
  .service-card,
  .card-with-text {
    padding: 32px;
    transition: transform 500ms;
  }

  .hero-section {
    padding-top: 6rem;
  }

  .hero-section .hero-actions {
    justify-content: center;
  }

  .page-section.page-section-cardless > .page-container {
    padding-inline: 32px;
  }

  .hero-section-faq {
    padding-top: 9rem;
  }
  .hero-section-faq .section-picture {
    display: none;
  }
  .hero-section-faq h1 {
    text-align: center;
    margin-left: 0;
  }
}

@media (min-width: 1200px) {
  .faq-grid > .service-card:nth-child(odd) {
    /*margin-right: 8rem;*/
  }
  .faq-grid > .service-card:nth-child(even) {
    /*margin-left: 8rem;*/
  }
}