* {
  box-sizing: border-box;
}

:root {
  --text-cream: #fff5e2;
  --panel-green: #202f2d;
  --panel-olive: #536449;
  --overlay-dark: rgba(3, 8, 5, 0.76);
  --field-border: rgba(255, 245, 226, 0.24);
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    linear-gradient(rgba(2, 6, 3, 0.48), rgba(2, 6, 3, 0.62)),
    url("./assets/images/backgrounds/leaf-tile.png") top center / 520px auto repeat,
    #07100b;
}

body.contact-modal-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

.page-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 3rem 1rem 4rem;
}

.top-contact {
  margin-bottom: 1.25rem;
  text-align: center;
  color: var(--text-cream);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.1rem, 1.9vw, 1.45rem);
  font-weight: 700;
  line-height: 1.2;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.45);
}

.top-contact p {
  margin: 0;
}

.contact-launch {
  margin-top: 1.2rem;
  padding: 0.85rem 1.8rem;
  border: 1px solid rgba(255, 245, 226, 0.42);
  border-radius: 999px;
  background: rgba(32, 47, 45, 0.9);
  color: var(--text-cream);
  font: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 160ms ease, transform 160ms ease, border-color 160ms ease;
}

.contact-launch:hover,
.contact-launch:focus-visible {
  background: rgba(83, 100, 73, 0.92);
  border-color: rgba(255, 245, 226, 0.7);
  transform: translateY(-1px);
}

.top-contact a,
.top-contact a:visited,
.top-contact a:hover,
.top-contact a:active {
  color: var(--text-cream);
}

.top-contact a[x-apple-data-detectors],
.top-contact a[x-apple-data-detectors]:visited,
.top-contact a[x-apple-data-detectors]:hover,
.top-contact a[x-apple-data-detectors]:active {
  color: var(--text-cream) !important;
  text-decoration: none !important;
}

.top-logo {
  margin-top: 6rem;
  width: min(88vw, 920px);
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.top-logo img {
  width: 100%;
  height: auto;
  display: block;
}

.tagline {
  width: 100%;
  margin-top: 9rem;
  text-align: center;
  color: var(--text-cream);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.6rem, 2.8vw, 2.55rem);
  font-weight: 700;
  line-height: 1.05;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.45);
}

.tagline p {
  margin: 0;
}

.tagline span {
  display: inline;
}

.availability-row {
  width: min(88vw, 920px);
  margin-top: 9rem;
  display: flex;
  justify-content: flex-end;
  min-height: 0;
}

.availability-row p {
  margin: 0;
}

.content-card {
  width: 100%;
  margin-top: 2.5rem;
  background: var(--panel-green);
  border-radius: 28px;
}

.content-card--intro {
  min-height: 16rem;
  background: #000000;
  padding: 2.5rem 2rem 2.75rem;
}

.intro-card {
  color: var(--text-cream);
  font-family: Georgia, "Times New Roman", serif;
  text-align: center;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.45);
}

.intro-card__days,
.intro-card__address p {
  margin: 0;
}

.intro-card__rate {
  font-size: clamp(1.3rem, 2.2vw, 1.8rem);
  font-weight: 700;
  line-height: 1.15;
}

.intro-card__days {
  margin: 0;
  font-size: clamp(1.05rem, 1.6vw, 1.28rem);
  font-weight: 700;
  line-height: 1.15;
}

.intro-card__rate {
  margin-top: 1.1rem;
}

.intro-card__address {
  margin-top: 1.4rem;
  font-size: clamp(1.05rem, 1.6vw, 1.28rem);
  font-weight: 700;
  line-height: 1.15;
}

.content-card--first {
  padding: 2.5rem 2rem 2.75rem;
}

.content-card--second {
  margin-top: 2rem;
  padding: 2.75rem 2rem 3rem;
  background: var(--panel-olive);
}

.content-card--third {
  margin-top: 2rem;
  padding: 1.25rem 0 0.5rem;
  background: transparent;
}

.content-card--fourth {
  margin-top: 2rem;
  min-height: 16rem;
  padding: 2.75rem 2rem 3rem;
  background: var(--panel-olive);
}

.history-card {
  color: var(--text-cream);
  font-family: Georgia, "Times New Roman", serif;
}

.history-card__title {
  margin: 0;
  text-align: center;
  font-size: clamp(1.8rem, 3.3vw, 2.5rem);
  line-height: 1;
}

.history-card__body {
  max-width: 72rem;
  margin: 1.6rem auto 0;
  text-align: left;
}

.history-card__body p {
  margin: 0;
  font-size: clamp(1.02rem, 1.45vw, 1.2rem);
  line-height: 1.52;
  text-indent: 2.6rem;
}

.history-card__body p + p {
  margin-top: 1.25rem;
}

.history-card__sources {
  margin-top: 2.8rem;
  text-align: center;
}

.history-card__sources p {
  font-size: clamp(0.9rem, 1.2vw, 1rem);
  line-height: 1.2;
  text-indent: 0;
}

.history-card__sources p + p {
  margin-top: 0.35rem;
}

.history-card__sources-title {
  margin-bottom: 0.55rem;
  font-weight: 700;
}

.aftercare-card {
  color: var(--text-cream);
  font-family: Georgia, "Times New Roman", serif;
}

.aftercare-card__title {
  margin: 0;
  display: grid;
  justify-items: center;
  gap: 0.15rem;
  text-align: center;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 0.92;
  letter-spacing: 0.05em;
}

.aftercare-card__title span {
  display: block;
}

.aftercare-list {
  margin-top: 2rem;
  display: grid;
  gap: 1.35rem;
}

.aftercare-list--before {
  margin-bottom: 2.2rem;
}

.aftercare-item {
  position: relative;
  padding-left: 1.35rem;
}

.aftercare-item::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0.08rem;
  font-size: 1.2rem;
}

.aftercare-item:not(:last-child) {
  padding-bottom: 1.1rem;
  border-bottom: 1px solid rgba(255, 245, 226, 0.18);
}

.aftercare-item h3,
.aftercare-item p {
  margin: 0;
}

.aftercare-item h3 {
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  line-height: 1.2;
}

.aftercare-item p {
  margin-top: 0.35rem;
  color: rgba(255, 245, 226, 0.88);
  font-size: clamp(1rem, 1.5vw, 1.18rem);
  line-height: 1.32;
}

.techniques-card {
  color: var(--text-cream);
  font-family: Georgia, "Times New Roman", serif;
}

.techniques-card__eyebrow,
.techniques-card__subhead {
  margin: 0;
  text-align: center;
  color: rgba(255, 245, 226, 0.9);
}

.techniques-card__eyebrow {
  font-size: clamp(0.98rem, 1.45vw, 1.18rem);
  line-height: 1.25;
}

.techniques-card__title {
  margin: 0.45rem 0 0;
  text-align: center;
  font-size: clamp(1.8rem, 3.4vw, 2.5rem);
  line-height: 1;
}

.techniques-card__subhead {
  margin-top: 0.45rem;
  font-size: clamp(0.98rem, 1.45vw, 1.18rem);
  line-height: 1.25;
}

.techniques-layout {
  margin-top: 4.5rem;
  color: var(--text-cream);
  font-family: Georgia, "Times New Roman", serif;
}

.techniques-item {
  margin: 0;
  font-size: clamp(1.2rem, 2vw, 1.65rem);
  line-height: 1.1;
}

.techniques-item--center {
  text-align: center;
}

.techniques-row--split {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
}

.techniques-item--left {
  justify-self: start;
  text-align: left;
}

.techniques-item--right {
  justify-self: end;
  text-align: right;
}

.techniques-layout > .techniques-item--center,
.techniques-focus {
  margin-top: 1rem;
}

.techniques-focus {
  text-align: center;
}

.techniques-focus__subline {
  margin: 0.35rem 0 0;
  color: rgba(255, 245, 226, 0.96);
  font-size: clamp(1rem, 1.55vw, 1.28rem);
  line-height: 1.2;
}

.benefits-card {
  color: var(--text-cream);
  font-family: Georgia, "Times New Roman", serif;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.45);
}

.benefits-card__title {
  margin: 0;
  text-align: center;
  font-size: clamp(1.8rem, 3.3vw, 2.5rem);
  line-height: 1;
}

.benefits-grid {
  margin-top: 1.35rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 25rem));
  justify-content: center;
  gap: 2rem 5.25rem;
  align-items: start;
}

.benefits-block--left,
.benefits-block--right {
  justify-self: stretch;
  width: 100%;
}

.benefits-block h3,
.benefits-block ul {
  margin: 0;
}

.benefits-block h3 {
  font-size: clamp(1.2rem, 2vw, 1.65rem);
  font-weight: 400;
}

.benefits-block ul {
  margin-top: 0.7rem;
  padding-left: 1.25rem;
}

.benefits-block li {
  font-size: clamp(1rem, 1.55vw, 1.28rem);
  line-height: 1.35;
}

.benefits-block--center {
  width: max-content;
  max-width: min(72%, 720px);
  margin: 1rem auto 0;
  text-align: left;
  transform: translateX(1.75rem);
}

.benefits-block--center h3 {
  display: block;
  width: auto;
}

.benefits-block--center ul {
  display: block;
  text-align: left;
}

.contact-modal {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: grid;
  place-items: center;
  padding: 1.25rem;
}

.contact-modal[hidden] {
  display: none;
}

.contact-modal__backdrop {
  position: absolute;
  inset: 0;
  background: var(--overlay-dark);
  backdrop-filter: blur(6px);
}

.contact-modal__card {
  position: relative;
  z-index: 1;
  width: min(100%, 720px);
  max-height: min(88vh, 860px);
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  border: 1px solid rgba(255, 245, 226, 0.16);
  border-radius: 30px;
  overflow: hidden;
  background:
    linear-gradient(rgba(12, 20, 15, 0.9), rgba(12, 20, 15, 0.96)),
    url("./assets/images/backgrounds/leaf-tile.png") center / 420px auto repeat,
    #0f1912;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
}

.contact-success-modal {
  position: fixed;
  inset: 0;
  z-index: 21;
  display: grid;
  place-items: center;
  padding: 1.25rem;
}

.contact-success-modal[hidden] {
  display: none;
}

.contact-success-modal__backdrop {
  position: absolute;
  inset: 0;
  background: var(--overlay-dark);
  backdrop-filter: blur(6px);
}

.contact-success-modal__card {
  position: relative;
  z-index: 1;
  width: min(100%, 420px);
  padding: 2rem 1.5rem 1.5rem;
  border: 1px solid rgba(255, 245, 226, 0.16);
  border-radius: 28px;
  background:
    linear-gradient(rgba(12, 20, 15, 0.92), rgba(12, 20, 15, 0.98)),
    url("./assets/images/backgrounds/leaf-tile.png") center / 420px auto repeat,
    #0f1912;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
  color: var(--text-cream);
  text-align: center;
  font-family: Georgia, "Times New Roman", serif;
}

.contact-success-modal__card h2 {
  margin: 0;
  font-size: clamp(1.9rem, 4vw, 2.4rem);
}

.contact-success-modal__card p {
  margin: 0.85rem 0 1.5rem;
  font-size: 1.05rem;
  line-height: 1.4;
}

.contact-error-modal {
  position: fixed;
  inset: 0;
  z-index: 22;
  display: grid;
  place-items: center;
  padding: 1.25rem;
}

.contact-error-modal[hidden] {
  display: none;
}

.contact-error-modal__backdrop {
  position: absolute;
  inset: 0;
  background: var(--overlay-dark);
  backdrop-filter: blur(6px);
}

.contact-error-modal__card {
  position: relative;
  z-index: 1;
  width: min(100%, 460px);
  padding: 2rem 1.5rem 1.5rem;
  border: 1px solid rgba(255, 212, 204, 0.32);
  border-radius: 28px;
  background:
    linear-gradient(rgba(28, 14, 14, 0.94), rgba(22, 10, 10, 0.98)),
    #1a0c0c;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
  color: var(--text-cream);
  text-align: center;
  font-family: Georgia, "Times New Roman", serif;
}

.contact-error-modal__card h2 {
  margin: 0;
  font-size: clamp(1.65rem, 3.8vw, 2.2rem);
  line-height: 1.1;
}

.contact-error-modal__card p {
  margin: 0.9rem 0 1.5rem;
  font-size: 1.02rem;
  line-height: 1.45;
}

.contact-modal__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem 1.6rem 1rem;
  border-bottom: 1px solid rgba(255, 245, 226, 0.12);
  color: var(--text-cream);
  font-family: Georgia, "Times New Roman", serif;
}

.contact-modal__eyebrow {
  margin: 0 0 0.35rem;
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.82;
}

.contact-modal__header h2 {
  margin: 0;
  font-size: clamp(1.55rem, 3.2vw, 2.2rem);
  line-height: 1.05;
}

.contact-modal__close {
  border: 0;
  background: transparent;
  color: var(--text-cream);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}

.contact-form {
  min-height: 0;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
}

.contact-form__hidden {
  display: none;
}

.contact-form__scroll {
  min-height: 0;
  overflow-y: auto;
  padding: 1.25rem 1.6rem 1.4rem;
}

.contact-form__intro {
  margin: 0 0 1.2rem;
  color: rgba(255, 245, 226, 0.88);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1rem;
  line-height: 1.5;
}

.contact-form__status {
  min-height: 1.5rem;
  margin-bottom: 0.9rem;
  color: var(--text-cream);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.98rem;
  line-height: 1.4;
}

.contact-form__status[data-state="success"] {
  color: #d6f2c4;
}

.contact-form__status[data-state="error"] {
  color: #ffd4cc;
}

.contact-field {
  display: grid;
  gap: 0.45rem;
  margin-top: 1rem;
  color: var(--text-cream);
  font-family: Georgia, "Times New Roman", serif;
}

.contact-field-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

.contact-field span {
  font-size: 1rem;
  font-weight: 700;
}

.contact-field__required {
  color: #f2c98e;
}

.contact-field--conditional[hidden] {
  display: none;
}

.contact-options {
  margin: 1.15rem 0 0;
  padding: 1rem 1rem 0.4rem;
  border: 1px solid var(--field-border);
  border-radius: 22px;
  color: var(--text-cream);
  font-family: Georgia, "Times New Roman", serif;
}

.contact-options legend {
  padding: 0 0.4rem;
  font-size: 1rem;
  font-weight: 700;
}

.contact-option {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  margin-bottom: 0.8rem;
  cursor: pointer;
}

.contact-option input {
  margin-top: 0.15rem;
  accent-color: #8a9d73;
}

.contact-option span {
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.35;
}

.contact-options__error {
  min-height: 1.2rem;
  margin: 0.15rem 0 0.2rem;
  color: #ffd4cc;
  font-size: 0.94rem;
  line-height: 1.35;
}

.contact-field input,
.contact-field textarea {
  width: 100%;
  border: 1px solid var(--field-border);
  border-radius: 18px;
  background: rgba(255, 245, 226, 0.06);
  color: var(--text-cream);
  font: inherit;
  font-size: 1rem;
  line-height: 1.4;
  padding: 0.9rem 1rem;
  resize: vertical;
}

.contact-field input::placeholder,
.contact-field textarea::placeholder {
  color: rgba(255, 245, 226, 0.5);
}

.contact-field input:focus,
.contact-field textarea:focus,
.contact-form__button:focus-visible,
.contact-modal__close:focus-visible {
  outline: 2px solid rgba(255, 245, 226, 0.78);
  outline-offset: 2px;
}

.contact-form__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
  padding: 1rem 1.6rem 1.5rem;
  border-top: 1px solid rgba(255, 245, 226, 0.12);
  background: rgba(8, 13, 10, 0.88);
}

.contact-form__button {
  min-height: 3.15rem;
  border-radius: 999px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
}

.contact-form__button--ghost {
  border: 1px solid rgba(255, 245, 226, 0.35);
  background: transparent;
  color: var(--text-cream);
}

.contact-form__button--submit {
  border: 1px solid transparent;
  background: var(--panel-olive);
  color: var(--text-cream);
}

.contact-form__button:disabled {
  opacity: 0.7;
  cursor: wait;
}

@media (max-width: 540px) {
  .page-shell {
    padding: 6.75rem 1rem 3rem;
  }

  .top-contact {
    margin-bottom: 1.4rem;
    font-size: 1rem;
  }

  .contact-launch {
    width: 100%;
    max-width: 18rem;
    margin-top: 1rem;
    padding: 0.8rem 1.2rem;
    font-size: 0.88rem;
  }

  .top-logo {
    margin-top: 3.8rem;
    width: min(84vw, 920px);
  }

  .tagline {
    margin-top: 5rem;
    font-size: 1rem;
    line-height: 1.2;
  }

  .tagline p {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.05rem;
  }

  .tagline span {
    display: block;
  }

  .availability-row {
    width: min(92vw, 920px);
    margin-top: 6rem;
  }

  .content-card {
    margin-top: 8rem;
  }

  .content-card--first {
    padding: 2rem 1.15rem 2.2rem;
  }

  .content-card--intro {
    min-height: 12rem;
    padding: 2rem 1.15rem 2.2rem;
  }

  .intro-card__days,
  .intro-card__rate {
    margin-top: 0.8rem;
    font-size: 1rem;
  }

  .intro-card__days,
  .intro-card__address {
    margin-top: 1rem;
    font-size: 0.92rem;
  }

  .content-card--second {
    padding: 2rem 1.15rem 2.3rem;
  }

  .content-card--third {
    padding: 1rem 0 0.25rem;
  }

  .content-card--fourth {
    min-height: 12rem;
    padding: 2rem 1.15rem 2.3rem;
  }

  .history-card__title {
    font-size: 1.12rem;
  }

  .history-card__body {
    margin-top: 1.1rem;
  }

  .history-card__body p {
    font-size: 0.92rem;
    line-height: 1.45;
    text-indent: 1.4rem;
  }

  .history-card__body p + p {
    margin-top: 1rem;
  }

  .history-card__sources {
    margin-top: 1.8rem;
  }

  .history-card__sources p {
    font-size: 0.8rem;
  }

  .history-card__sources p + p {
    margin-top: 0.25rem;
  }

  .aftercare-card__title {
    font-size: 1.24rem;
  }

  .aftercare-list {
    margin-top: 1.5rem;
    gap: 1rem;
  }

  .aftercare-list--before {
    margin-bottom: 1.75rem;
  }

  .aftercare-item {
    padding-left: 1.1rem;
  }

  .aftercare-item h3 {
    font-size: 1rem;
  }

  .aftercare-item p {
    font-size: 0.92rem;
  }

  .techniques-card__title {
    font-size: 1.12rem;
  }

  .techniques-card__eyebrow,
  .techniques-card__subhead {
    font-size: 0.78rem;
  }

  .techniques-layout {
    margin-top: 3rem;
  }

  .techniques-item {
    font-size: 0.88rem;
  }

  .techniques-row--split {
    margin-top: 0.8rem;
    gap: 1rem;
  }

  .techniques-layout > .techniques-item--center,
  .techniques-focus {
    margin-top: 0.8rem;
  }

  .techniques-focus__subline {
    font-size: 0.78rem;
  }

  .benefits-card__title {
    font-size: 1.12rem;
  }

  .benefits-grid {
    margin-top: 1rem;
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }

  .benefits-block--right {
    justify-self: stretch;
    width: auto;
    order: 1;
  }

  .benefits-block h3 {
    font-size: 0.98rem;
  }

  .benefits-block ul {
    margin-top: 0.45rem;
    padding-left: 1rem;
  }

  .benefits-block li {
    font-size: 0.86rem;
  }

  .benefits-block--center {
    width: 100%;
    max-width: none;
    margin-top: 1.2rem;
    text-align: left;
    transform: none;
  }

  .benefits-block--center h3 {
    display: block;
    width: auto;
  }

  .benefits-block--left {
    order: 2;
  }

  .benefits-block--left,
  .benefits-block--right,
  .benefits-block--center {
    text-align: left;
  }

  .contact-modal {
    padding: 0.75rem;
  }

  .contact-modal__card {
    width: 100%;
    max-height: 92vh;
    border-radius: 24px;
  }

  .contact-success-modal {
    padding: 0.75rem;
  }

  .contact-success-modal__card {
    width: 100%;
    border-radius: 24px;
  }

  .contact-error-modal {
    padding: 0.75rem;
  }

  .contact-error-modal__card {
    width: 100%;
    border-radius: 24px;
  }

  .contact-modal__header {
    padding: 1.1rem 1rem 0.9rem;
  }

  .contact-modal__header h2 {
    font-size: 1.3rem;
  }

  .contact-form__scroll {
    padding: 1rem 1rem 1.1rem;
  }

  .contact-form__intro,
  .contact-field span,
  .contact-field input,
  .contact-field textarea,
  .contact-form__status {
    font-size: 0.94rem;
  }

  .contact-field-group {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .contact-form__actions {
    grid-template-columns: 1fr;
    padding: 0.9rem 1rem 1rem;
  }
}
