
/* ========================================
   HOUSE OF HEALING SA
   COMPLETE CONTACT PAGE DESIGN
   ======================================== */

/* 1. PAGE COLOURS */

.contact-page {
  --contact-wine: #701022;
  --contact-dark: #391517;
  --contact-cream: #fff7ed;
  --contact-sand: #f5e7d8;
  --contact-text: #281714;
  --contact-muted: #58483f;

  color: var(--contact-text);
  background: var(--contact-cream);
}

.contact-page *,
.contact-page *::before,
.contact-page *::after {
  box-sizing: border-box;
}

.contact-page .container {
  width: min(1200px, 90%);
  margin-inline: auto;
}

.contact-page .nav-links a[aria-current="page"] {
  color: var(--contact-wine);
  font-weight: 700;
}

/* 2. SMALL SECTION LABELS */

.contact-page .contact-eyebrow {
  margin: 0 0 15px;
  color: var(--contact-wine);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

/* 3. CONTACT HERO */

.contact-page .contact-hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: 360px;
  overflow: hidden;
  background: #e8cbb0;
}

.contact-page .contact-hero-art {
  position: absolute;
  inset: 0;
  z-index: 0;

  background-image: url("../images/contact-hero.png");
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
}

.contact-page .contact-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;

  background: linear-gradient(
    90deg,
    rgba(255, 239, 219, 0.23) 0%,
    rgba(255, 239, 219, 0.10) 42%,
    transparent 70%
  );
}

.contact-page .contact-hero-content {
  position: relative;
  z-index: 2;
  width: min(1200px, 90%);
  margin-inline: auto;
  padding: 65px 0;
  text-align: left;
}

.contact-page .contact-hero h1 {
  margin: 0 0 18px;
  max-width: 700px;

  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.5rem, 6vw, 5.6rem);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 1.08;
  color: #231410;
}

.contact-page .contact-hero h1 em {
  color: var(--contact-wine);
  font-weight: 400;
}

.contact-page .contact-hero-description {
  max-width: 475px;
  margin: 0;

  font-size: 1rem;
  line-height: 1.8;
  color: #352720;
}

/* 4. MAIN CONTACT SECTION */

.contact-page .contact-main {
  padding: 65px 0 75px;
  background: linear-gradient(
    115deg,
    #fff9f1,
    #f8ecdf
  );
}

.contact-page .contact-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  align-items: start;
  gap: 65px;
}

.contact-page .contact-details {
  min-width: 0;
  padding-top: 8px;
}

.contact-page .contact-details h2,
.contact-page .contact-form-card h2 {
  margin: 0 0 12px;

  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 3vw, 3rem);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1.15;
  color: #301513;
}

.contact-page .contact-intro,
.contact-page .contact-form-intro {
  margin: 0 0 28px;
  font-size: 0.94rem;
  line-height: 1.75;
  color: #44352f;
}

/* 5. CONTACT METHODS */

.contact-page .contact-methods {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.contact-page .contact-method {
  display: flex;
  align-items: flex-start;
  gap: 18px;
}

.contact-page .contact-method-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 52px;

  width: 52px;
  height: 52px;
  border-radius: 50%;

  background: var(--contact-wine);
  color: #ffffff;
}

.contact-page .contact-method-icon svg {
  width: 25px;
  height: 25px;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-page .contact-method h3 {
  margin: 0 0 5px;

  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.3rem;
  font-weight: 400;
  color: #2d1715;
}

.contact-page .contact-method p {
  margin: 2px 0;
  font-size: 0.88rem;
  line-height: 1.6;
  color: #493b35;
}

.contact-page .contact-method a {
  color: var(--contact-wine);
  text-decoration: none;
  font-size: 0.93rem;
  overflow-wrap: anywhere;
}

.contact-page .contact-method a:hover {
  text-decoration: underline;
}

/* 6. FORM CARD */

.contact-page .contact-form-card {
  min-width: 0;
  padding: 34px 30px 32px;

  border-radius: 20px;
  background: rgba(249, 231, 216, 0.70);

  box-shadow: 0 12px 35px rgba(94, 54, 39, 0.05);
}

.contact-page .contact-form-card h2 {
  font-size: clamp(1.9rem, 2.7vw, 2.65rem);
}

.contact-page .contact-form-intro {
  margin-bottom: 22px;
}

/* 7. FORM LAYOUT */

.contact-page .contact-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;

  background: transparent;
  border: none;
  box-shadow: none;
}

.contact-page .contact-form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.contact-page .contact-form .form-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 0;
  margin: 0;
}

.contact-page .contact-form label {
  font-size: 0.83rem;
  font-weight: 700;
  color: #351f1b;
}

.contact-page .contact-form input,
.contact-page .contact-form select,
.contact-page .contact-form textarea {
  display: block;
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 13px 15px;

  border: 1px solid #d8bfae;
  border-radius: 10px;
  outline: none;

  background: rgba(255, 250, 243, 0.82);
  color: #35221c;

  font-family: inherit;
  font-size: 0.9rem;
  line-height: 1.5;
  box-shadow: none;
}

.contact-page .contact-form input,
.contact-page .contact-form select {
  min-height: 49px;
}

.contact-page .contact-form textarea {
  min-height: 125px;
  resize: vertical;
}

.contact-page .contact-form input::placeholder,
.contact-page .contact-form textarea::placeholder {
  color: #8b786d;
}

.contact-page .contact-form input:focus,
.contact-page .contact-form select:focus,
.contact-page .contact-form textarea:focus {
  border-color: var(--contact-wine);
  box-shadow: 0 0 0 3px rgba(112, 16, 34, 0.10);
}

/* 8. FORM BUTTONS */

.contact-page .contact-form-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 5px;
}

.contact-page .contact-form-actions .btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 10px;

  width: 100%;
  min-height: 48px;
  padding: 12px 15px;

  border-radius: 30px;
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
  cursor: pointer;

  transition: background 0.2s ease,
              transform 0.2s ease;
}

.contact-page .contact-submit {
  border: 1px solid var(--contact-wine);
  background: var(--contact-wine);
  color: #ffffff;
}

.contact-page .contact-submit:hover {
  background: #500b19;
  transform: translateY(-2px);
}

.contact-page .contact-whatsapp-btn {
  border: 1px solid var(--contact-wine);
  background: transparent;
  color: var(--contact-wine);
}

.contact-page .contact-whatsapp-btn:hover {
  background: #fff8ef;
}

/* 9. BURGUNDY CLOSING SECTION */

.contact-page .contact-closing {
  position: relative;
  overflow: hidden;
  padding: 35px 0;

  background: linear-gradient(
    110deg,
    #4b101b,
    #721927 60%,
    #4b101b
  );

  color: #fff7ef;
}

.contact-page .contact-closing::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;

  background:
    radial-gradient(
      ellipse at 10% 0%,
      rgba(255, 215, 185, 0.10),
      transparent 48%
    ),
    radial-gradient(
      ellipse at 90% 100%,
      rgba(255, 215, 185, 0.08),
      transparent 45%
    );
}

.contact-page .contact-closing-layout {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 35px;
}

.contact-page .contact-closing-message h2 {
  margin: 0 0 7px;

  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.5rem, 2.4vw, 2.2rem);
  font-style: italic;
  font-weight: 400;
  color: #fff7ef;
}

.contact-page .contact-closing-message p {
  margin: 0;
  color: #f3dcd3;
  font-size: 0.91rem;
}

.contact-page .contact-values {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}

.contact-page .contact-value {
  display: flex;
  align-items: center;
  gap: 11px;
}

.contact-page .contact-value > span {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;

  width: 46px;
  height: 46px;

  border: 1px solid rgba(255, 241, 227, 0.7);
  border-radius: 50%;

  font-size: 1.5rem;
  color: #fff4e9;
}

.contact-page .contact-value p {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.5;
  color: #fff4e9;
}

/* 10. TABLET */

@media (max-width: 1000px) {
  .contact-page .contact-layout {
    gap: 30px;
  }

  .contact-page .contact-form-card {
    padding: 28px 23px;
  }

  .contact-page .contact-closing-layout {
    grid-template-columns: 1fr;
  }

  .contact-page .contact-values {
    justify-content: flex-start;
    gap: 35px;
  }
}

/* 11. MOBILE */

@media (max-width: 700px) {
  .contact-page .contact-hero {
    min-height: 450px;
  }

  .contact-page .contact-hero-art {
    background-position: 65% center;
  }

  .contact-page .contact-hero::after {
    background: linear-gradient(
      90deg,
      rgba(255, 239, 219, 0.94),
      rgba(255, 239, 219, 0.65)
    );
  }

  .contact-page .contact-hero-content {
    padding: 60px 0;
  }

  .contact-page .contact-hero h1 {
    font-size: clamp(3.2rem, 11vw, 4.5rem);
  }

  .contact-page .contact-layout {
    grid-template-columns: 1fr;
    gap: 45px;
  }

  .contact-page .contact-main {
    padding: 55px 0;
  }

  .contact-page .contact-form-row {
    grid-template-columns: 1fr;
  }

  .contact-page .contact-values {
    flex-wrap: wrap;
    gap: 20px;
  }
}

/* 12. SMALL PHONES */

@media (max-width: 480px) {
  .contact-page .contact-form-card {
    padding: 25px 18px;
  }

  .contact-page .contact-form-actions {
    grid-template-columns: 1fr;
  }

  .contact-page .contact-hero-description {
    font-size: 0.93rem;
  }

  .contact-page .contact-value {
    min-width: 125px;
  }
}

/* 13. KEYBOARD ACCESSIBILITY */

.contact-page a:focus-visible,
.contact-page button:focus-visible {
  outline: 3px solid #bd875d;
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .contact-page .contact-form-actions .btn {
    transition: none;
  }

  .contact-page .contact-submit:hover {
    transform: none;
  }
}


/* CONTACT PAGE FOOTER */

.contact-page .contact-footer {
  padding: 55px 0 22px;
  background: #35141c;
  color: #f8eadd;
}

.contact-page .contact-footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 0.7fr 1fr;
  gap: 55px;
  padding-bottom: 38px;
}

.contact-page .contact-footer h2 {
  margin: 0 0 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.9rem;
  font-weight: 400;
  color: #fff5e9;
}

.contact-page .contact-footer h3 {
  margin: 0 0 16px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
  font-weight: 400;
  color: #fff5e9;
}

.contact-page .contact-footer p {
  margin: 0 0 10px;
  color: #e3c9bd;
  font-size: 0.9rem;
  line-height: 1.7;
}

.contact-page .contact-footer a {
  display: block;
  width: fit-content;
  margin-bottom: 11px;
  color: #e3c9bd;
  font-size: 0.9rem;
  text-decoration: none;
}

.contact-page .contact-footer a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.contact-page .contact-footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 240, 225, 0.2);
}

.contact-page .contact-footer-bottom p {
  margin: 0;
  font-size: 0.8rem;
}

@media (max-width: 700px) {
  .contact-page .contact-footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .contact-page .contact-footer-bottom {
    flex-direction: column;
  }
}
