/* =========================================================
   CHM Beauty â€” Contact Page CSS
   Clean delivery version
   ========================================================= */

/* ------------------------------
   1. Reset & Base
------------------------------ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --color-bg: #f7f3ed;
  --color-text: #151515;
  --color-muted: #444;
  --color-red: #b70e17;
  --color-red-dark: #9f0d16;
  --color-orange: #ff6f23;
  --color-gold: #c1903a;
  --color-gold-dark: #b88933;
  --color-gold-light: #d3a64a;
  --color-white: #ffffff;
  --shadow-soft: 0 15px 40px rgba(0, 0, 0, 0.05);
  --shadow-card: 0 35px 90px rgba(80, 45, 22, 0.12);
  --gradient-brand: linear-gradient(135deg, var(--color-red), var(--color-orange));
  --gradient-gold: linear-gradient(135deg, var(--color-gold-dark), var(--color-gold-light));
}

html,
body {
  width: 100%;
  overflow-x: hidden;
}

body {
  background: var(--color-bg);
  color: var(--color-text);
  font-family: "Times New Roman", Times, serif;
}

img,
iframe {
  max-width: 100%;
}

/* ------------------------------
   2. Header
------------------------------ */
.contact-header {
  width: 100%;
  min-height: 140px;
  display: grid;
  grid-template-columns: 480px 1fr 240px;
  gap: 70px;
  align-items: center;
  padding: 0 70px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(183, 14, 23, 0.08);
}

.logo {
  display: flex;
  align-items: center;
  gap: 18px;
  text-decoration: none;
}

.logo img {
  width: 90px;
  height: 90px;
  object-fit: contain;
}

.logo h1 {
  font-family: "Times New Roman", Times, serif;
  font-size: 54px;
  line-height: 0.9;
  color: var(--color-red-dark);
  white-space: nowrap;
}

.logo span {
  display: block;
  margin-top: 10px;
  font-size: 13px;
  letter-spacing: 4px;
  color: #222;
}

/* ------------------------------
   3. Navigation
------------------------------ */
.main-nav {
  width: fit-content;
  min-width: 700px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  padding: 9px 15px;
  margin-left: 50px;
  border-radius: 999px;
  background: var(--color-white);
  box-shadow: var(--shadow-soft);
  overflow: visible;
}

.main-nav a {
  text-decoration: none;
  padding: 14px 24px;
  color: #222;
  border-radius: 999px;
  font-weight: 700;
  white-space: nowrap;
  transition: 0.3s ease;
}

.main-nav a:hover {
  color: var(--color-red);
  background: rgba(255, 111, 35, 0.1);
}

.main-nav a.active {
  color: var(--color-white);
  background: var(--gradient-brand);
}

/* ------------------------------
   4. Header Button
------------------------------ */
.header-btn {
  width: 180px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 40px;
  padding: 0;
  border-radius: 999px;
  color: var(--color-white);
  background: var(--gradient-brand);
  box-shadow: 0 16px 35px rgba(215, 50, 20, 0.28);
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
  transition: 0.3s ease;
}

.header-btn:hover {
  transform: translateY(-3px);
}

/* ------------------------------
   5. Contact Page Layout
------------------------------ */
.contact-page {
  min-height: calc(100vh - 118px);
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 8% 25%, rgba(183, 14, 23, 0.08), transparent 28%),
    radial-gradient(circle at 92% 16%, rgba(255, 111, 35, 0.10), transparent 30%),
    linear-gradient(135deg, #f9f6f0, #fffaf4);
}

.contact-page::before,
.contact-page::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.contact-page::before {
  left: -220px;
  bottom: -220px;
  width: 620px;
  height: 620px;
  border: 1px solid rgba(190, 143, 54, 0.18);
}

.contact-page::after {
  right: -180px;
  top: 180px;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.65), transparent 62%);
}

.contact-section {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 40px));
  margin: auto;
  padding: 70px 0 90px;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 70px;
  align-items: start;
}

/* ------------------------------
   6. Contact Left Content
------------------------------ */
.contact-left {
  padding-top: 40px;
}

.small-title {
  color: var(--color-gold);
  letter-spacing: 3px;
  font-weight: 800;
  font-size: 13px;
}

.contact-left h2 {
  margin: 22px 0 28px;
  color: var(--color-text);
  font-family: Georgia, serif;
  font-size: clamp(42px, 4.5vw, 66px);
  line-height: 1.13;
  font-weight: 500;
}

.contact-left p {
  max-width: 620px;
  color: var(--color-muted);
  font-size: 16px;
  line-height: 1.85;
}

.contact-left h3 {
  margin-bottom: 24px;
  font-family: "Times New Roman", Times, serif;
  font-size: 34px;
  font-weight: 500;
}

.gold-divider {
  display: flex;
  align-items: center;
  margin: 42px 0;
}

.gold-divider span {
  height: 1px;
  flex: 1;
  background: linear-gradient(90deg, rgba(190, 143, 54, 0.08), rgba(190, 143, 54, 0.55));
}

.gold-divider span:last-child {
  background: linear-gradient(90deg, rgba(190, 143, 54, 0.55), rgba(190, 143, 54, 0.08));
}

.gold-divider i {
  width: 11px;
  height: 11px;
  margin: 0 12px;
  background: var(--color-gold);
  transform: rotate(45deg);
}

/* ------------------------------
   7. Map & Contact Info
------------------------------ */
.map-box {
  width: 100%;
  height: 350px;
  overflow: hidden;
  border-radius: 4px;
  border: 1px solid rgba(190, 143, 54, 0.16);
  box-shadow: 0 25px 60px rgba(80, 45, 22, 0.14);
}

.map-box iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
  filter: saturate(0.85) contrast(0.92);
}

.contact-mini-info {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.contact-mini-info div {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #333;
  font-weight: 600;
}

.contact-mini-info i {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #b98422;
  background: rgba(190, 143, 54, 0.12);
}

.whatsapp-link {
  color: #222;
  text-decoration: none;
  transition: 0.3s ease;
}

.whatsapp-link:hover {
  color: #25d366;
}

/* ------------------------------
   8. Inquiry Card
------------------------------ */
.contact-right {
  display: flex;
  justify-content: center;
}

.inquiry-card {
  width: min(520px, 100%);
  min-height: 720px;
  padding: 76px 58px 54px;
  border: 1px solid rgba(190, 143, 54, 0.20);
  border-radius: 999px 999px 28px 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.9));
  box-shadow:
    var(--shadow-card),
    inset 0 0 60px rgba(190, 143, 54, 0.04);
}

.form-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gold);
  font-size: 42px;
}

.inquiry-card h2 {
  text-align: center;
  color: #222;
  font-family: "Times New Roman", Times, serif;
  font-size: 36px;
  font-weight: 500;
}

.form-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 24px auto 40px;
}

.form-divider span {
  width: 58px;
  height: 1px;
  background: var(--color-gold);
}

.form-divider i {
  width: 10px;
  height: 10px;
  margin: 0 10px;
  background: var(--color-gold);
  transform: rotate(45deg);
}

/* ------------------------------
   9. Native Form Fields
------------------------------ */
.input-field {
  margin-bottom: 26px;
}

.input-field label {
  display: block;
  margin-bottom: 14px;
  color: #222;
  font-weight: 800;
  font-size: 13px;
}

.input-field input,
.input-field textarea {
  width: 100%;
  padding: 0 0 16px;
  border: 0;
  border-bottom: 1px solid rgba(80, 45, 22, 0.18);
  border-radius: 0;
  outline: 0;
  background: transparent;
  color: #222;
  font-family: Arial, sans-serif;
  font-size: 15px;
}

.input-field textarea {
  min-height: 118px;
  resize: vertical;
}

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

.input-field input:focus,
.input-field textarea:focus {
  border-bottom-color: var(--color-gold);
}

.privacy-check {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  margin: 28px 0 32px;
  color: #777;
  font-size: 14px;
  line-height: 1.65;
}

.privacy-check input {
  margin-top: 5px;
  accent-color: var(--color-gold);
}

.inquiry-card button {
  width: 100%;
  height: 58px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  color: var(--color-white);
  background: var(--gradient-gold);
  box-shadow: 0 18px 34px rgba(190, 143, 54, 0.25);
  font-weight: 800;
  letter-spacing: 1px;
  transition: 0.35s ease;
}

.inquiry-card button:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 44px rgba(190, 143, 54, 0.34);
}

/* ------------------------------
   10. WPForms Styling
   !important is kept only here because WPForms injects plugin styles.
------------------------------ */
.inquiry-card .wpforms-container {
  margin: 0 !important;
}

.inquiry-card .wpforms-field {
  padding: 0 !important;
  margin-bottom: 26px !important;
}

.inquiry-card .wpforms-field-label,
.wpforms-container-full .wpforms-form .wpforms-field-label,
.wpforms-field-label {
  display: block !important;
  margin-bottom: 10px !important;
  color: #4b4038 !important;
  font-family: "Times New Roman", Times, serif !important;
  font-size: 14px !important;
  font-weight: 700 !important;
}

.inquiry-card input,
.inquiry-card textarea,
.wpforms-container-full .wpforms-form input[type="text"],
.wpforms-container-full .wpforms-form input[type="email"],
.wpforms-container-full .wpforms-form input[type="tel"],
.wpforms-container-full .wpforms-form input[type="number"],
.wpforms-container-full .wpforms-form textarea {
  width: 100% !important;
  padding: 12px 0 14px !important;
  border: 0 !important;
  border-bottom: 1px solid rgba(80, 45, 22, 0.22) !important;
  border-radius: 0 !important;
  outline: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #222 !important;
  font-family: "Times New Roman", Times, serif !important;
  font-size: 15px !important;
}

.inquiry-card textarea,
.wpforms-container-full .wpforms-form textarea {
  min-height: 120px !important;
  resize: vertical !important;
}

.inquiry-card input:focus,
.inquiry-card textarea:focus,
.wpforms-container-full .wpforms-form input:focus,
.wpforms-container-full .wpforms-form textarea:focus {
  border-bottom-color: var(--color-gold) !important;
  outline: none !important;
  box-shadow: none !important;
}

.inquiry-card .wpforms-submit,
.wpforms-container-full .wpforms-form .wpforms-submit,
.wpforms-submit {
  width: 100% !important;
  height: 58px !important;
  border: 0 !important;
  border-radius: 999px !important;
  color: var(--color-white) !important;
  background: var(--gradient-gold) !important;
  box-shadow: 0 18px 34px rgba(190, 143, 54, 0.25) !important;
  font-weight: 800 !important;
  letter-spacing: 1px !important;
  transition: 0.35s ease !important;
}

.inquiry-card .wpforms-submit:hover,
.wpforms-container-full .wpforms-form .wpforms-submit:hover,
.wpforms-submit:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 24px 44px rgba(190, 143, 54, 0.34) !important;
}

.wpforms-field-description,
.wpforms-title,
.wpforms-description {
  display: none !important;
}

/* ------------------------------
   11. Footer Compatibility
------------------------------ */
.footer {
  width: 100%;
}

.footer-container {
  width: min(1200px, calc(100% - 40px));
  margin: auto;
}
.footer-logo-box h2 {
  color: #9f0d16;
  font-family: Georgia, serif;
  font-size: 30px;
}

/* ------------------------------
   12. Responsive
------------------------------ */
@media (max-width: 1100px) {
  .contact-header {
    display: flex;
    flex-direction: column;
    min-height: auto;
    padding: 24px 18px;
    gap: 22px;
    text-align: center;
  }

  .logo {
    justify-content: center;
    text-align: center;
  }

  .logo img {
    width: 82px;
    height: 82px;
  }

  .logo h1 {
    font-size: 38px;
    white-space: normal;
  }

  .logo span {
    letter-spacing: 2px;
  }

  .main-nav {
    width: 100%;
    min-width: 0;
    margin-left: 0;
    flex-wrap: wrap;
    justify-content: center;
  }

  .header-btn {
    margin-left: 0;
  }

  .contact-section {
    width: calc(100% - 32px);
    grid-template-columns: 1fr;
    gap: 48px;
    padding: 55px 0 80px;
  }

  .contact-left {
    padding-top: 0;
    text-align: center;
  }

  .contact-left p {
    margin: 0 auto;
  }

  .contact-mini-info div {
    justify-content: center;
  }

  .contact-right {
    width: 100%;
  }

  .inquiry-card {
    width: 100%;
    max-width: 560px;
    min-height: auto;
    padding: 58px 38px 42px;
    border-radius: 60px 60px 28px 28px;
  }
}

@media (max-width: 600px) {
  .contact-header {
    padding: 20px 12px;
  }

  .logo {
    flex-direction: column;
    gap: 8px;
  }

  .logo img {
    width: 72px;
    height: 72px;
  }

  .logo h1 {
    font-size: 32px;
    line-height: 1;
  }

  .main-nav {
    flex-direction: column;
    gap: 8px;
    padding: 12px;
    border-radius: 24px;
  }

  .main-nav a {
    width: 100%;
    padding: 13px 16px;
    text-align: center;
  }

  .header-btn {
    width: 100%;
    max-width: 280px;
  }

  .contact-section {
    width: calc(100% - 20px);
    gap: 36px;
    padding: 40px 0 60px;
  }

  .contact-left h2 {
    font-size: 36px;
    line-height: 1.15;
  }

  .contact-left h3 {
    font-size: 26px;
    line-height: 1.3;
  }

  .contact-left p {
    font-size: 16px;
    line-height: 1.8;
  }

  .gold-divider {
    margin: 30px 0;
  }

  .map-box {
    height: 260px;
    border-radius: 22px;
  }

  .contact-mini-info {
    gap: 16px;
  }

  .contact-mini-info div {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  .inquiry-card {
    width: 100%;
    padding: 42px 20px 32px;
    border-radius: 34px;
  }

  .form-icon {
    margin-bottom: 18px;
  }

  .inquiry-card h2 {
    font-size: 28px;
  }

  .form-divider {
    margin: 18px auto 28px;
  }

  .wpforms-container-full .wpforms-form .wpforms-field-label,
  .wpforms-field-label {
    font-size: 15px !important;
  }

  .wpforms-container-full .wpforms-form input,
  .wpforms-container-full .wpforms-form textarea {
    font-size: 15px !important;
  }

  .wpforms-submit,
  .inquiry-card .wpforms-submit {
    height: 54px !important;
  }

  .footer {
    padding: 50px 18px 25px;
  }

  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 34px;
  }

  .footer-logo-box,
  .social-wrapper {
    justify-content: center;
  }

  .footer-brand p {
    margin: auto;
  }
}