/* ==========================================================================
   Contacts Page Styles - COMO Face and Body
   Design transferred directly from live site: https://comofaceandbody.com/contacts/
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Hero Section (Split Layout)
   -------------------------------------------------------------------------- */
.contacts-hero {
  display: flex;
  flex-direction: row;
  min-height: 800px;
  margin-bottom: 120px;
  width: 100%;
}

.contacts-hero-image {
  flex: 0 0 55%;
  width: 55%;
  background-image: url('../images/contacts/Treatment_Robosolo_laser_closeup.avif');
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

.contacts-hero-content {
  flex: 0 0 45%;
  width: 45%;
  background-color: var(--color-alternate, #F7F5EF);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 20px 60px;
  box-sizing: border-box;
}

@media (min-width: 1601px) {
  .contacts-hero-content {
    padding: 20px 120px;
  }
}

.contacts-hero-subtitle {
  font-family: var(--font-family-base);
  font-size: var(--font-size-h6, 15px);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: var(--letter-spacing-h6, 2px);
  color: var(--color-tertiary, #AEAAA5);
  margin: 0 0 15px 0;
}

.contacts-hero-title {
  font-family: var(--font-family-base);
  font-size: var(--font-size-h2, 56px);
  font-weight: var(--font-weight-h2, 300);
  line-height: var(--line-height-h2, 1.15);
  color: var(--color-secondary, #222222);
  margin: 0 0 35px 0;
}

.contacts-hero-actions {
  display: flex;
  flex-direction: row;
  align-items: center;
  flex-wrap: wrap;
}

.contacts-hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-primary, #C8A37C);
  color: var(--color-background, #FFFFFF);
  font-family: var(--font-family-base);
  font-size: var(--font-size-button, 14px);
  font-weight: var(--font-weight-button, 700);
  letter-spacing: var(--letter-spacing-button, 2px);
  text-transform: uppercase;
  border-radius: var(--btn-border-radius, 8px);
  padding: 15px 35px;
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.contacts-hero-btn:hover {
  background-color: var(--color-secondary, #222222);
  color: #FFFFFF;
}

.contacts-hero-sep {
  margin: 0 25px;
  color: var(--color-border, #EAE9E6);
  font-weight: 300;
  font-size: 18px;
  user-select: none;
}

.contacts-hero-phone {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  font-family: var(--font-family-base);
  font-size: 16px;
  font-weight: 500;
  color: var(--color-secondary, #222222);
  text-decoration: none;
  transition: color 0.3s ease;
}

.contacts-hero-phone:hover {
  color: var(--color-primary, #C8A37C);
}

.contacts-phone-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--color-accent, #E7DECF);
  color: var(--color-secondary, #222222);
  transition: background-color 0.3s ease, color 0.3s ease;
}

.contacts-phone-icon svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.contacts-hero-phone:hover .contacts-phone-icon {
  background-color: var(--color-primary, #C8A37C);
  color: #FFFFFF;
}

/* --------------------------------------------------------------------------
   2. Contact Information Section
   -------------------------------------------------------------------------- */
.contacts-info-section {
  max-width: 1280px;
  margin: 0 auto 120px auto;
  padding: 0 40px;
  box-sizing: border-box;
}

.contacts-info-inner {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 40px;
}

.contacts-info-col {
  flex: 0 0 41%;
  width: 41%;
  padding-right: 40px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 25px;
}

.contacts-info-title {
  font-family: var(--font-family-base);
  font-size: var(--font-size-h2, 56px);
  font-weight: var(--font-weight-h2, 300);
  line-height: var(--line-height-h2, 1.15);
  color: var(--color-secondary, #222222);
  margin: 0;
}

.contacts-info-desc {
  font-family: var(--font-family-base);
  font-size: var(--font-size-body, 18px);
  line-height: var(--line-height-body, 1.45);
  font-weight: 300;
  color: var(--color-text, #6B6966);
  margin: 0;
}

.contacts-details-grid {
  display: flex;
  gap: 60px;
  margin-top: 10px;
}

.contacts-detail-block {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contacts-detail-label {
  font-family: var(--font-family-base);
  font-size: var(--font-size-h6, 15px);
  font-weight: 600;
  color: var(--color-secondary, #222222);
  margin: 0;
}

.contacts-detail-text {
  font-family: var(--font-family-base);
  font-size: 15px;
  line-height: 1.6;
  color: var(--color-text, #6B6966);
  margin: 0 0 15px 0;
}

.contacts-detail-text:last-child {
  margin-bottom: 0;
}

.contacts-phone-link {
  color: var(--color-secondary, #222222);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.contacts-phone-link:hover {
  color: var(--color-primary, #C8A37C);
}

.contacts-map-col {
  flex: 0 0 58%;
  width: 58%;
}

.contacts-map-wrapper {
  width: 100%;
  height: 560px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04);
}

.contacts-map-wrapper iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* --------------------------------------------------------------------------
   3. Ask a Question Section
   -------------------------------------------------------------------------- */
.contacts-form-section {
  max-width: 1280px;
  margin: 0 auto 120px auto;
  padding: 0 40px;
  box-sizing: border-box;
}

.contacts-form-inner {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 40px;
}

.contacts-form-image-col {
  flex: 0 0 48%;
  width: 48%;
  display: flex;
}

.contacts-form-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
  display: block;
}

.contacts-form-content-col {
  flex: 0 0 52%;
  width: 52%;
  padding: 30px 20px 30px 60px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 25px;
}

.contacts-form-title {
  font-family: var(--font-family-base);
  font-size: var(--font-size-h2, 56px);
  font-weight: var(--font-weight-h2, 300);
  line-height: var(--line-height-h2, 1.15);
  color: var(--color-secondary, #222222);
  margin: 0;
}

.contacts-form-desc {
  font-family: var(--font-family-base);
  font-size: var(--font-size-body, 18px);
  line-height: var(--line-height-body, 1.45);
  font-weight: 300;
  color: var(--color-text, #6B6966);
  margin: 0 0 10px 0;
}

/* Form Styles */
.contacts-form-row {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}

.contacts-form-col {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.contacts-form-col-full {
  width: 100%;
  display: flex;
  flex-direction: column;
  margin-bottom: 25px;
}

.contacts-form-label {
  font-family: var(--font-family-base);
  font-size: var(--font-size-h6, 15px);
  font-weight: 600;
  color: var(--color-secondary, #222222);
  margin-bottom: 8px;
}

.contacts-form-required {
  color: #d9534f;
  margin-left: 2px;
}

.contacts-form-input,
.contacts-form-textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid var(--color-border, #EAE9E6);
  border-radius: 8px;
  padding: 14px 18px;
  font-family: var(--font-family-base);
  font-size: 15px;
  color: var(--color-secondary, #222222);
  background-color: transparent;
  outline: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contacts-form-input:focus,
.contacts-form-textarea:focus {
  border-color: var(--color-primary, #C8A37C);
  box-shadow: 0 0 0 3px rgba(200, 163, 124, 0.15);
}

.contacts-form-textarea {
  min-height: 140px;
  resize: vertical;
}

.contacts-form-submit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-primary, #C8A37C);
  color: var(--color-background, #FFFFFF);
  font-family: var(--font-family-base);
  font-size: var(--font-size-button, 14px);
  font-weight: var(--font-weight-button, 700);
  letter-spacing: var(--letter-spacing-button, 2px);
  text-transform: uppercase;
  border: none;
  border-radius: var(--btn-border-radius, 8px);
  padding: 16px 40px;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.contacts-form-submit-btn:hover {
  background-color: var(--color-secondary, #222222);
  color: #FFFFFF;
}

/* --------------------------------------------------------------------------
   4. Responsive Breakpoints
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {

  /* Hero */
  .contacts-hero {
    flex-direction: column;
    min-height: auto;
    margin-bottom: 100px;
  }

  .contacts-hero-image {
    width: 100%;
    flex: none;
    min-height: 500px;
  }

  .contacts-hero-content {
    width: 100%;
    flex: none;
    padding: 80px 40px;
  }

  /* Information Section */
  .contacts-info-section {
    margin-bottom: 100px;
    padding: 0 30px;
  }

  .contacts-info-inner {
    flex-direction: column;
    gap: 40px;
  }

  .contacts-info-col {
    width: 100%;
    flex: none;
    padding-right: 0;
  }

  .contacts-map-col {
    width: 100%;
    flex: none;
  }

  .contacts-map-wrapper {
    height: 450px;
  }

  /* Form Section */
  .contacts-form-section {
    margin-bottom: 100px;
    padding: 0 30px;
  }

  .contacts-form-inner {
    flex-direction: column;
    gap: 50px;
  }

  .contacts-form-image-col {
    width: 100%;
    flex: none;
    max-height: 550px;
  }

  .contacts-form-content-col {
    width: 100%;
    flex: none;
    padding: 0;
  }
}

@media (max-width: 767px) {

  /* Hero */
  .contacts-hero {
    margin-bottom: 80px;
  }

  .contacts-hero-image {
    min-height: 300px;
  }

  .contacts-hero-content {
    padding: 50px 20px;
  }

  .contacts-hero-title {
    font-size: 34px;
    line-height: 1.2;
    margin-bottom: 25px;
  }

  .contacts-hero-actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .contacts-hero-sep {
    display: none;
  }

  /* Information Section */
  .contacts-info-section {
    margin-bottom: 80px;
    padding: 0 20px;
  }

  .contacts-info-title {
    font-size: 34px;
  }

  .contacts-details-grid {
    flex-direction: column;
    gap: 30px;
  }

  .contacts-map-wrapper {
    height: 350px;
  }

  /* Form Section */
  .contacts-form-section {
    margin-bottom: 80px;
    padding: 0 20px;
  }

  .contacts-form-title {
    font-size: 34px;
  }

  .contacts-form-row {
    flex-direction: column;
    gap: 15px;
  }

  .contacts-form-submit-btn {
    width: 100%;
  }
}