﻿/* =========================================
   SELFON CONTACT PAGE
   ========================================= */

.contact-hero {
  position: relative;
  overflow: hidden;
  padding: 76px 20px 64px;
  text-align: center;
  background:
    radial-gradient(circle at 15% 20%, rgba(216, 233, 223, .8), transparent 30%),
    radial-gradient(circle at 85% 10%, rgba(230, 161, 94, .12), transparent 28%),
    #F2F6F1;
}

.contact-eyebrow,
.contact-section-label {
  display: inline-block;
  color: #1C6B42;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.5px;
}

.contact-hero h1 {
  max-width: 760px;
  margin: 16px auto 14px;
  color: #0F3527;
  font-size: clamp(36px, 5.5vw, 56px);
  font-weight: 850;
  line-height: 1.1;
  letter-spacing: -2px;
}

.contact-hero h1 span {
  color: #C66A4A;
}

.contact-hero > p {
  max-width: 570px;
  margin: 0 auto;
  color: #6E7A73;
  font-size: 16px;
  line-height: 1.8;
}

/* Main two-column layout */

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr);
  align-items: start;
  gap: 54px;
  max-width: 1120px;
  margin: 0 auto;
  padding: 64px 24px 88px;
}

.contact-info {
  padding-top: 10px;
}

.contact-info-heading {
  margin-bottom: 30px;
}

.contact-info-heading h2,
.form-heading h2 {
  margin: 10px 0 10px;
  color: #0F3527;
  font-size: 29px;
  line-height: 1.2;
  letter-spacing: -.8px;
}

.contact-info-heading > p,
.form-heading > p {
  margin: 0;
  color: #6E7A73;
  font-size: 14px;
  line-height: 1.8;
}

/* Contact method cards */

.contact-method {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 14px;
  padding: 19px;
  border: 1px solid #DCE5DE;
  border-radius: 16px;
  background: #FFFFFF;
  color: inherit;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.contact-method:hover {
  transform: translateY(-3px);
  border-color: #B7CCBE;
  box-shadow: 0 12px 28px rgba(15, 53, 39, .07);
}

.contact-method-icon {
  display: flex;
  flex: 0 0 48px;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
}

.contact-method-icon svg {
  width: 23px;
  height: 23px;
}

.whatsapp-icon {
  background: #E3F0E7;
  color: #1C6B42;
}

.email-icon {
  background: #F8EEE4;
  color: #A45B2E;
}

.contact-method-content {
  display: flex;
  min-width: 0;
  flex: 1;
  flex-direction: column;
  gap: 3px;
}

.contact-method-label {
  color: #6E7A73;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.1px;
}

.contact-method-content strong {
  color: #111C17;
  font-size: 15px;
  font-weight: 750;
}

.contact-method-detail {
  overflow-wrap: anywhere;
  color: #6E7A73;
  font-size: 13px;
}

.contact-method-arrow {
  color: #0F3527;
  font-size: 22px;
  transition: transform .2s ease;
}

.contact-method:hover .contact-method-arrow {
  transform: translateX(4px);
}

/* Social media */

.social-section {
  margin-top: 36px;
}

.social-section h3 {
  margin: 9px 0 5px;
  color: #0F3527;
  font-size: 21px;
  letter-spacing: -.4px;
}

.social-section > p {
  margin: 0;
  color: #6E7A73;
  font-size: 13px;
  line-height: 1.7;
}

.social-links {
  display: flex;
  gap: 11px;
  margin-top: 18px;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  border: 1px solid #DCE5DE;
  border-radius: 13px;
  background: #FFFFFF;
  color: #0F3527;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}

.social-links a:hover {
  transform: translateY(-3px);
  border-color: #0F3527;
  background: #0F3527;
  color: #FFFFFF;
}

.social-links svg {
  width: 20px;
  height: 20px;
}

/* Security note */

.contact-note {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  margin-top: 34px;
  padding: 15px;
  border: 1px solid #E8EDE7;
  border-radius: 12px;
  background: #F7FAF7;
}

.contact-note-mark {
  display: flex;
  flex: 0 0 20px;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #D8E9DF;
  color: #0F3527;
  font-size: 12px;
  font-weight: 800;
}

.contact-note p {
  margin: 0;
  color: #6E7A73;
  font-size: 12px;
  line-height: 1.7;
}

/* Contact form card */

.contact-form-card {
  padding: 34px;
  border: 1px solid #E1E8E1;
  border-radius: 22px;
  background: #FFFFFF;
  box-shadow: 0 18px 50px rgba(15, 53, 39, .07);
  scroll-margin-top: 100px;
}

.form-heading {
  margin-bottom: 28px;
}

.form-heading h2 {
  font-size: 27px;
}

.form-heading > p {
  font-size: 13px;
}

/* Form fields */

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.form-field label {
  color: #26372E;
  font-size: 13px;
  font-weight: 750;
}

.form-field label span {
  color: #B23B2A;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid #DCE5DE;
  border-radius: 11px;
  outline: none;
  background: #FBFCFA;
  color: #111C17;
  font-family: inherit;
  font-size: 14px;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.form-field input,
.form-field select {
  height: 49px;
  padding: 0 14px;
}

.form-field textarea {
  min-height: 145px;
  padding: 13px 14px;
  line-height: 1.7;
  resize: vertical;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: #A0AAA3;
}

.form-field select {
  color: #6E7A73;
  cursor: pointer;
}

.form-field select:valid {
  color: #111C17;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: #0F3527;
  background: #FFFFFF;
  box-shadow: 0 0 0 3px rgba(15, 53, 39, .09);
}

.message-hint {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: #89938C;
  font-size: 11px;
  line-height: 1.5;
}

/* Submit button */

.contact-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  min-height: 52px;
  padding: 13px 20px;
  border: 0;
  border-radius: 12px;
  background: #0F3527;
  color: #FFFFFF;
  font-family: inherit;
  font-size: 14px;
  font-weight: 750;
  cursor: pointer;
  transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
}

.contact-submit:hover {
  transform: translateY(-2px);
  background: #194B38;
  box-shadow: 0 8px 20px rgba(15, 53, 39, .16);
}

.contact-submit:focus-visible,
.social-links a:focus-visible,
.contact-method:focus-visible {
  outline: 3px solid rgba(230, 161, 94, .65);
  outline-offset: 3px;
}

.contact-submit svg {
  width: 19px;
  height: 19px;
}

.form-disclaimer {
  margin: 13px 0 0;
  color: #89938C;
  font-size: 11px;
  line-height: 1.65;
  text-align: center;
}

.form-status {
  margin: 10px 0 0;
  color: #1C6B42;
  font-size: 12px;
  line-height: 1.6;
  text-align: center;
}

/* Responsive layout */

@media (max-width: 850px) {
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 42px;
    max-width: 650px;
    padding-top: 45px;
  }

  .contact-info {
    padding-top: 0;
  }

  .contact-form-card {
    padding: 30px;
  }
}

@media (max-width: 560px) {
  .contact-hero {
    padding: 55px 20px 45px;
  }

  .contact-hero h1 {
    font-size: 38px;
    letter-spacing: -1.3px;
  }

  .contact-hero > p {
    font-size: 14px;
  }

  .contact-layout {
    gap: 34px;
    padding: 38px 17px 58px;
  }

  .contact-info-heading h2 {
    font-size: 25px;
  }

  .contact-form-card {
    padding: 23px 18px;
    border-radius: 17px;
  }

  .form-heading h2 {
    font-size: 24px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .message-hint {
    flex-direction: column;
    gap: 3px;
  }

  .contact-method {
    gap: 12px;
    padding: 15px;
  }

  .contact-method-icon {
    flex-basis: 43px;
    width: 43px;
    height: 43px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .contact-method,
  .contact-method-arrow,
  .social-links a,
  .contact-submit {
    transition: none;
  }
}
.field-hint {
  color: #89938C;
  font-size: 11px;
  line-height: 1.5;
}