/* ==========================================================================
   Contact page
   ========================================================================== */

.ct-hero {
  position: relative;
  min-height: 484px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px var(--pad-x);
  overflow: hidden;
}

.ct-hero__bg {
  position: absolute;
  inset: 0;
}

.ct-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ct-hero__panel {
  position: relative;
  z-index: 1;
  width: min(1096px, 100%);
  background: rgba(184, 190, 155, 0.8);
  backdrop-filter: blur(2px);
  padding: 56px 48px;
  text-align: center;
}

.ct-hero__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(36px, 3.5vw, 50px);
  line-height: 1.1;
  margin-bottom: 20px;
}

.ct-hero__text {
  font-family: var(--font-display);
  font-size: 20px;
  line-height: 1.4;
  max-width: 678px;
  margin: 0 auto;
}

/* Info bar */
.ct-info {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
}

.ct-info__col {
  padding: 32px 40px;
  min-height: 152px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.ct-info__col--beige {
  background: #e3dccd;
}

.ct-info__col--sage {
  background: #b8be9b;
}

.ct-info__label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.75);
  margin-bottom: 12px;
}

.ct-info__value {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: clamp(20px, 2vw, 30px);
  line-height: 1.3;
  color: var(--color-black);
}

/* Form */
.ct-form-section {
  background: #ececec;
  padding: 70px 0 90px;
}

.ct-form-section__inner {
  max-width: 1087px;
  margin: 0 auto;
  padding: 0 var(--pad-x);
  text-align: center;
  position: relative;
}

.ct-form-section__watermark {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(48px, 7vw, 100px);
  text-transform: uppercase;
  background: linear-gradient(180deg, rgba(132, 132, 132, 0.6), rgba(202, 195, 195, 0.6));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: -18px;
}

.ct-form-section__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(24px, 2.8vw, 40px);
  line-height: 1.25;
  margin-bottom: 40px;
}

.ct-form__notice {
  padding: 14px 18px;
  border-radius: 8px;
  margin-bottom: 24px;
  font-size: 16px;
}

.ct-form__notice--ok {
  background: #e6f0d8;
  color: #2f3a1f;
}

.ct-form__notice--err {
  background: #f8e0e0;
  color: #6a1f1f;
}

.ct-form {
  text-align: left;
}

.ct-form__row--2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.ct-field,
.ct-services {
  display: block;
  margin-bottom: 32px;
  position: relative;
}

.ct-field input,
.ct-field textarea,
.ct-services__toggle {
  width: 100%;
  min-height: 92px;
  border: 0;
  border-radius: 10px;
  background: #fff;
  padding: 0 32px;
  font-family: var(--font-display);
  font-size: 26px;
  color: #3c3c3c;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.ct-field input::placeholder,
.ct-field textarea::placeholder {
  color: #858585;
}

.ct-field textarea {
  min-height: 193px;
  padding: 28px 32px;
  resize: vertical;
}

.ct-field--icon input {
  padding-right: 56px;
}

.ct-field__chevron {
  position: absolute;
  right: 32px;
  top: 50%;
  transform: translateY(-50%) rotate(-45deg);
  width: 18px;
  height: 18px;
  pointer-events: none;
  opacity: 0.7;
}

.ct-date {
  display: grid;
  grid-template-columns: 1fr 1.4fr 1fr;
  gap: 16px;
}

.ct-date__part {
  display: block;
  margin: 0;
}

.ct-date select {
  width: 100%;
  min-height: 92px;
  border: 0;
  border-radius: 10px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='8' viewBox='0 0 14 8'%3E%3Cpath fill='none' stroke='%23858585' stroke-width='1.5' d='M1 1l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 24px center;
  padding: 0 48px 0 28px;
  font-family: var(--font-display);
  font-size: 26px;
  color: #3c3c3c;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}

.ct-date select:has(option[value=""]:checked) {
  color: #858585;
}

.ct-date select option {
  color: #3c3c3c;
}

.ct-services__toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  text-align: left;
  color: #858585;
}

.ct-services__toggle img {
  width: 18px;
  height: 18px;
  transform: rotate(-45deg);
  transition: transform 0.2s ease;
}

.ct-services.is-open .ct-services__toggle img {
  transform: rotate(135deg);
}

.ct-services__panel {
  margin-top: 12px;
  background: #f9f9f9;
  border-radius: 10px;
  padding: 40px 48px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px 40px;
}

.ct-services__panel[hidden] {
  display: none !important;
}

.ct-services__col {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.ct-services__item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 22px;
  color: #3c3c3c;
  text-transform: capitalize;
  cursor: pointer;
}

.ct-services__item input {
  width: 18px;
  height: 18px;
  accent-color: #4f523f;
}

.ct-form {
  display: flex;
  flex-direction: column;
}

.ct-form__submit {
  display: inline-flex;
  align-self: center;
  margin: 8px auto 0;
  background: #4f523f;
  color: #fff;
  min-width: 221px;
  min-height: 56px;
  font-size: 24px;
  gap: 16px;
}

/* Services icons */
.ct-services-bar {
  background: #fff;
  padding: 70px 0 50px;
  text-align: center;
}

.ct-services-bar__inner {
  max-width: 1247px;
  margin: 0 auto;
  padding: 0 var(--pad-x);
  position: relative;
}

.ct-services-bar__watermark {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(40px, 4.8vw, 70px);
  text-transform: uppercase;
  background: linear-gradient(180deg, rgba(52, 52, 52, 0.2), rgba(231, 231, 231, 0.2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: -10px;
}

.ct-services-bar__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 30px;
  line-height: 50px;
  margin-bottom: 48px;
}

.ct-services-bar__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
}

.ct-svc {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.ct-svc img {
  width: 48px;
  height: 48px;
}

.ct-svc span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 55px;
  padding: 0 20px;
  background: rgba(157, 162, 134, 0.2);
  border-radius: 64px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 22px;
  min-width: 180px;
}

/* Stat */
.ct-stat {
  background: #b8be9b;
  border-radius: 80px 80px 0 0;
  padding: 56px var(--pad-x);
  text-align: center;
  margin-top: 20px;
}

.ct-stat p {
  font-family: var(--font-display);
  font-size: 20px;
  line-height: 1.35;
  max-width: 815px;
  margin: 0 auto;
}

/* CTA */
.ct-cta {
  position: relative;
  min-height: 308px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: #fff;
}

.ct-cta__bg {
  position: absolute;
  inset: 0;
}

.ct-cta__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ct-cta__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.48);
}

.ct-cta__inner {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 48px var(--pad-x);
}

.ct-cta__inner h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(28px, 4vw, 60px);
  margin-bottom: 28px;
}

.ct-cta__btn {
  min-width: 231px;
  min-height: 59px;
  font-size: 20px;
}

@media (max-width: 1100px) {
  .ct-info {
    grid-template-columns: 1fr;
  }

  .ct-date {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .ct-date select {
    font-size: 20px;
    min-height: 72px;
  }

  .ct-form__row--2 {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .ct-services__panel {
    grid-template-columns: 1fr;
  }

  .ct-services-bar__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .ct-hero {
    min-height: 360px;
    padding: 48px 20px;
  }

  .ct-hero__panel {
    padding: 36px 20px;
  }

  .ct-field input,
  .ct-field textarea,
  .ct-services__toggle {
    min-height: 64px;
    font-size: 18px;
    padding: 0 20px;
  }

  .ct-field textarea {
    min-height: 140px;
    padding: 18px 20px;
  }

  .ct-services__item {
    font-size: 18px;
  }

  .ct-services-bar__grid {
    grid-template-columns: 1fr;
  }

  .ct-stat {
    border-radius: 40px 40px 0 0;
    padding: 40px 20px;
  }

  .ct-cta {
    min-height: 260px;
  }
}
