body.page-template-template-contact-theraglo-php,
body.page-template-page-templates-template-contact-theraglo-php,
body.page-template-template-contact-theraglo {
  background: #fbfaf5;
}

body.page-template-template-contact-theraglo-php #content,
body.page-template-page-templates-template-contact-theraglo-php #content,
body.page-template-template-contact-theraglo #content {
  max-width: none;
}

body.page-template-template-contact-theraglo-php .tg-site-header,
body.page-template-page-templates-template-contact-theraglo-php .tg-site-header,
body.page-template-template-contact-theraglo .tg-site-header {
  margin-bottom: 0;
}

body.page-template-template-contact-theraglo-php .tg-nav a[href*="contact"],
body.page-template-page-templates-template-contact-theraglo-php .tg-nav a[href*="contact"],
body.page-template-template-contact-theraglo .tg-nav a[href*="contact"],
body.page-template-template-contact-theraglo-php .tg-nav a[aria-current="page"],
body.page-template-page-templates-template-contact-theraglo-php .tg-nav a[aria-current="page"],
body.page-template-template-contact-theraglo .tg-nav a[aria-current="page"] {
  color: var(--tg-gold);
  border-bottom: 1px solid currentColor;
}

.tg-contact-page {
  overflow: clip;
  background: #fbfaf5;
  color: #102f27;
}

.tg-contact-page svg {
  width: 20px;
  height: 20px;
}

.tg-contact-hero {
  position: relative;
  padding: clamp(34px, 5vw, 70px) var(--tg-container-pad) clamp(48px, 7vw, 92px);
  background:
    radial-gradient(circle at 82% 14%, rgba(232, 196, 109, 0.18), transparent 22%),
    radial-gradient(circle at 13% 18%, rgba(15, 90, 67, 0.1), transparent 30%),
    linear-gradient(120deg, #fbfaf5 0%, #f7f3ea 54%, #e4ded0 100%);
}

.tg-contact-hero__inner {
  display: grid;
  grid-template-columns: minmax(270px, 0.92fr) minmax(320px, 0.72fr) minmax(260px, 0.58fr);
  align-items: center;
  gap: clamp(24px, 3vw, 42px);
  width: min(100%, 1240px);
  margin: 0 auto;
}

.tg-contact-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 34px;
  color: #69756e;
  font-size: 13px;
}

.tg-contact-breadcrumb a {
  color: #073f30;
  text-decoration: none;
}

.tg-contact-eyebrow {
  margin: 0 0 14px;
  color: #b5822d;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.tg-contact-hero h1,
.tg-contact-methods h2,
.tg-contact-promise h2,
.tg-contact-faq h2,
.tg-contact-cta h2 {
  margin: 0;
  color: #073f30;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 500;
  letter-spacing: 0;
}

.tg-contact-hero h1 {
  max-width: 560px;
  font-size: clamp(46px, 6.2vw, 82px);
  line-height: 0.96;
}

.tg-contact-hero h1 span {
  display: block;
  color: #b5822d;
}

.tg-contact-lede {
  max-width: 500px;
  margin: 24px 0 0;
  color: #596960;
  font-size: 17px;
}

.tg-contact-values {
  display: grid;
  gap: 14px;
  margin-top: 34px;
}

.tg-contact-values span,
.tg-contact-badges span {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #073f30;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.tg-contact-values svg,
.tg-contact-badges svg {
  color: #b5822d;
}

.tg-contact-form-card {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 17px;
  padding: clamp(24px, 3vw, 34px);
  border: 1px solid rgba(15, 61, 46, 0.14);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 28px 70px rgba(7, 63, 48, 0.16);
}

.tg-contact-form-card h2 {
  margin: 0 0 6px;
  color: #073f30;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 32px;
  font-weight: 500;
}

.tg-contact-field,
.wpcf7-form > p {
  display: grid;
  gap: 7px;
}

.wpcf7-form > p:last-of-type {
  margin-block-end: 0;
}

.tg-contact-field label,
.wpcf7-form > p label {
  color: #073f30;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tg-contact-field input,
.tg-contact-field select,
.tg-contact-field textarea,
.wpcf7-form > p textarea,
.wpcf7-form > p input,
.wpcf7-form > p select {
  width: 100%;
  min-height: 46px;
  border: 1px solid #ded8ca;
  border-radius: 10px;
  background: #fbfaf5;
  color: #102f27;
  font: inherit;
  padding: 11px 13px;
}

.tg-contact-field textarea,
.wpcf7-form > p textarea {
  min-height: 120px;
  resize: vertical;
}

.tg-contact-field input:focus-visible,
.tg-contact-field select:focus-visible,
.tg-contact-field textarea:focus-visible,
.tg-contact-submit:focus-visible,
.tg-contact-chat:focus-visible,
.tg-contact-faq button:focus-visible,
.wpcf7-form > p textarea:focus-visible,
.wpcf7-form > p input:focus-visible,
.wpcf7-form > p select:focus-visible {
  outline: 3px solid rgba(181, 130, 45, 0.4);
  outline-offset: 3px;
}

.tg-contact-submit,
.tg-contact-chat,
.wpcf7-form .wpcf7-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  border: 1px solid #073f30;
  border-radius: 999px;
  background: #073f30;
  color: #fff;
  cursor: pointer;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.tg-contact-submit:hover,
.tg-contact-chat:hover,
.wpcf7-form .wpcf7-submit:hover {
  background: #02291f;
  box-shadow: 0 16px 34px rgba(7, 63, 48, 0.2);
  transform: translateY(-1px);
}

body .wpcf7-form .wpcf7-response-output {
 font-family: "Cormorant Garamond", Georgia, serif;
  padding: 10px 15px;
  border-radius: 20px;
  margin: 0;
}

.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.unaccepted .wpcf7-response-output, .wpcf7 form.payment-required .wpcf7-response-output {
  border-color: #b5822d;
}

.wpcf7 form.sent .wpcf7-response-output {
  border-color: #073f30;
}

body .wpcf7-not-valid-tip {
  text-transform: none;
  letter-spacing: 0;
  color: #3f0707;
}

.tg-contact-product {
  position: relative;
  display: grid;
  place-items: end center;
  min-height: 520px;
  border-radius: 22px;
  background:
    linear-gradient(115deg, rgba(7, 63, 48, 0.12), transparent 34%),
    radial-gradient(ellipse at 60% 78%, rgba(7, 63, 48, 0.22), transparent 42%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.36), rgba(222, 216, 202, 0.56));
}

.tg-contact-product::before {
  content: "";
  position: absolute;
  inset: 42px 18px auto auto;
  width: 180px;
  height: 260px;
  border-radius: 50%;
  background: rgba(15, 90, 67, 0.16);
  filter: blur(20px);
  transform: rotate(-20deg);
}

.tg-contact-product img {
  position: relative;
  z-index: 1;
  width: min(118%, 420px);
  max-width: none;
  filter: drop-shadow(0 30px 32px rgba(7, 63, 48, 0.2));
}

.tg-contact-methods {
  width: min(100% - calc(var(--tg-container-pad) * 2), 1240px);
  margin: clamp(34px, 5vw, 62px) auto 0;
  padding: clamp(28px, 4vw, 42px);
  border: 1px solid rgba(15, 61, 46, 0.12);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(7, 63, 48, 0.09);
}

.tg-contact-methods h2,
.tg-contact-faq h2,
.tg-contact-cta h2 {
  font-size: clamp(34px, 4vw, 48px);
  line-height: 1.05;
}

.tg-contact-methods__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 28px;
}

.tg-contact-methods article {
  min-width: 0;
  padding: 0 24px;
  border-left: 1px solid #ded8ca;
}

.tg-contact-methods article:first-child {
  border-left: 0;
  padding-left: 0;
}

.tg-contact-methods__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 16px;
  border: 1px solid rgba(181, 130, 45, 0.42);
  border-radius: 999px;
  color: #b5822d;
}

.tg-contact-methods h3 {
  margin: 0 0 8px;
  color: #073f30;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.tg-contact-methods p {
  margin: 0;
  color: #102f27;
  line-height: 1.6;
}

.tg-contact-methods a {
  color: inherit;
  text-decoration: none;
}

.tg-contact-methods small {
  display: block;
  margin-top: 8px;
  color: #68746e;
  line-height: 1.45;
}

.tg-contact-lower {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: clamp(28px, 4vw, 52px);
  width: min(100% - calc(var(--tg-container-pad) * 2), 1240px);
  margin: clamp(44px, 6vw, 76px) auto clamp(64px, 8vw, 104px);
}

.tg-contact-lower__main {
  display: grid;
  gap: clamp(28px, 4vw, 46px);
}

.tg-contact-promise {
  padding: clamp(28px, 4vw, 46px);
  border-radius: 18px;
  background: linear-gradient(135deg, #073f30, #02291f);
  color: #fff;
}

.tg-contact-promise .tg-contact-eyebrow,
.tg-contact-promise h2 {
  color: #e8c46d;
}

.tg-contact-promise h2 {
  font-size: clamp(34px, 4vw, 50px);
}

.tg-contact-promise p:not(.tg-contact-eyebrow) {
  max-width: 700px;
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 18px;
}

.tg-contact-badges {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 30px;
}

.tg-contact-badges span {
  min-height: 76px;
  padding: 14px;
  border: 1px solid rgba(232, 196, 109, 0.34);
  border-radius: 12px;
  color: #fff;
  letter-spacing: 0.08em;
}

.tg-contact-faq {
  display: grid;
  gap: 12px;
}

.tg-contact-faq h2 {
  margin-bottom: 8px;
}

.tg-contact-faq__item {
  border: 1px solid #ded8ca;
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
}

.tg-contact-faq h3 {
  margin: 0;
}

.tg-contact-faq button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: 100%;
  min-height: 58px;
  border: 0;
  background: transparent;
  color: #073f30;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  padding: 18px 20px;
  text-align: left;
}

.tg-contact-faq button span[aria-hidden] {
  position: relative;
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
}

.tg-contact-faq button span[aria-hidden]::before,
.tg-contact-faq button span[aria-hidden]::after {
  content: "";
  position: absolute;
  inset: 8px 1px auto;
  height: 2px;
  background: #b5822d;
}

.tg-contact-faq button span[aria-hidden]::after {
  transform: rotate(90deg);
}

.tg-contact-faq button[aria-expanded="true"] span[aria-hidden]::after {
  transform: rotate(0deg);
}

.tg-contact-faq__panel {
  padding: 0 20px 20px;
  color: #68746e;
}

.tg-contact-faq__panel p {
  margin: 0;
}

.tg-contact-cta {
  display: grid;
  grid-template-columns: minmax(180px, 0.8fr) minmax(260px, 1fr);
  align-items: center;
  gap: clamp(22px, 3vw, 38px);
  padding: clamp(20px, 3vw, 30px);
  border: 1px solid rgba(15, 61, 46, 0.12);
  border-radius: 18px;
  background: #fff;
}

.tg-contact-cta img {
  width: 100%;
  aspect-ratio: 1.15;
  border-radius: 14px;
  object-fit: cover;
}

.tg-contact-cta p {
  margin: 14px 0 24px;
  color: #68746e;
}

.tg-contact-chat {
  padding: 0 24px;
}

.tg-contact-phone {
  position: sticky;
  top: 140px;
  align-self: start;
  display: flex;
  justify-content: center;
}

.tg-contact-phone__frame {
  width: 286px;
  min-height: 560px;
  padding: 28px 22px;
  border: 10px solid #102f27;
  border-radius: 38px;
  background: linear-gradient(180deg, #fbfaf5, #f1eadf);
  box-shadow: 0 26px 70px rgba(7, 63, 48, 0.22);
}

.tg-contact-phone__bar {
  width: 72px;
  height: 6px;
  margin: 0 auto 24px;
  border-radius: 999px;
  background: #102f27;
}

.tg-contact-phone .tg-logo-shortcode--phone-preview {
  display: block;
  width: 42px;
  color: #073f30;
}

.tg-contact-phone .tg-logo-shortcode--phone-preview svg {
  display: block;
  width: 100%;
  height: auto;
}

.tg-contact-phone .tg-logo-lockup--phone-preview {
  display: inline-flex;
  gap: 9px;
  white-space: normal;
}

.tg-contact-phone .tg-logo-lockup--phone-preview .tg-logo-wordmark {
  font-size: 28px;
}

.tg-contact-phone .tg-logo-lockup--phone-preview .tg-logo-tag {
  font-size: 7px;
  letter-spacing: 0.09em;
}

.tg-contact-phone strong {
  display: block;
  color: #073f30;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 30px;
  font-weight: 500;
  line-height: 1;
}

.tg-contact-phone strong span {
  color: #b5822d;
}

.tg-contact-phone small {
  display: block;
  margin-top: 28px;
  color: #b5822d;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.tg-contact-phone h2 {
  margin: 12px 0 0;
  color: #073f30;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 34px;
  font-weight: 500;
  line-height: 1;
}

.tg-contact-phone p {
  margin: 12px 0 20px;
  color: #68746e;
}

.tg-contact-phone__form {
  display: grid;
  gap: 12px;
}

.tg-contact-phone__form span,
.tg-contact-phone__form b {
  display: block;
  height: 42px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid #ded8ca;
}

.tg-contact-phone__form span:nth-child(3) {
  height: 96px;
}

.tg-contact-phone__form b {
  background: #073f30;
  border-color: #073f30;
  border-radius: 999px;
}

@media (max-width: 1120px) {
  .tg-contact-hero__inner {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.86fr);
  }

  .tg-contact-product {
    grid-column: 1 / -1;
    min-height: 360px;
  }

  .tg-contact-methods__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px 0;
  }

  .tg-contact-methods article:nth-child(3) {
    border-left: 0;
    padding-left: 0;
  }

  .tg-contact-lower {
    grid-template-columns: minmax(0, 1fr);
  }

  .tg-contact-phone {
    display: none;
  }
}

@media (max-width: 760px) {
  .tg-contact-hero {
    padding-inline: 18px;
  }

  .tg-contact-hero__inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .tg-contact-breadcrumb {
    margin-bottom: 24px;
  }

  .tg-contact-values {
    grid-template-columns: minmax(0, 1fr);
  }

  .tg-contact-product {
    min-height: 280px;
  }

  .tg-contact-product img {
    width: min(100%, 330px);
  }

  .tg-contact-methods,
  .tg-contact-lower {
    width: calc(100% - 36px);
  }

  .tg-contact-methods__grid,
  .tg-contact-badges,
  .tg-contact-cta {
    grid-template-columns: minmax(0, 1fr);
  }

  .tg-contact-methods article,
  .tg-contact-methods article:nth-child(3) {
    border-left: 0;
    border-top: 1px solid #ded8ca;
    padding: 22px 0 0;
  }

  .tg-contact-methods article:first-child {
    border-top: 0;
    padding-top: 0;
  }
}

@media (max-width: 520px) {
  .tg-contact-form-card {
    border-radius: 14px;
  }

  .tg-contact-submit,
  .tg-contact-chat {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tg-contact-submit,
  .tg-contact-chat {
    transition: none;
  }
}
