/* =========================================================
   RESET
========================================================= */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "DM Sans", sans-serif;
  color: #252525;
  background: #f4f0eb;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  width: 100%;
}

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

button,
input,
textarea {
  font: inherit;
}

/* =========================================================
   VARIABLES
========================================================= */

:root {
  --dark: #242424;
  --dark-soft: #30302e;

  --cream: #f4f0eb;
  --cream-dark: #e9e3dc;
  --white: #ffffff;

  --text: #272727;
  --muted: #68645f;

  --line: #d5cec5;

  --accent: #9c8b79;
  --accent-light: #b4a393;

  --container: 1240px;

  --section-space: 130px;
}

/* =========================================================
   GLOBAL
========================================================= */

.container {
  width: min(calc(100% - 64px), var(--container));

  margin-inline: auto;
}


.section {
  padding: var(--section-space) 0;
}

.eyebrow {
  margin-bottom: 24px;

  font-size: 11px;
  font-weight: 600;

  letter-spacing: 0.18em;
  text-transform: uppercase;

  color: var(--accent);
}

h1,
h2,
h3 {
  font-family: "DM Sans", sans-serif;
  font-weight: 400;

  line-height: 1.08;
  letter-spacing: -0.045em;
}

h1 {
  font-size: clamp(60px, 8vw, 112px);
}

h2 {
  font-size: clamp(46px, 6vw, 78px);
}

h3 {
  font-size: 25px;
}

p {
  color: var(--muted);
}

.button {
  display: inline-flex;

  align-items: center;
  justify-content: center;

  min-height: 56px;

  padding: 0 30px;

  font-size: 13px;
  font-weight: 600;

  letter-spacing: 0.01em;

  transition:
    transform 0.25s ease,
    background 0.25s ease,
    color 0.25s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-light {
  color: var(--dark);
  background: var(--white);
}

.button-light:hover {
  background: var(--cream);
}

.button-dark {
  color: var(--white);
  background: var(--dark);
}

.button-dark:hover {
  background: #3a3937;
}

/* =========================================================
   HEADER
========================================================= */

.header {
  position: absolute;

  top: 0;
  left: 0;

  width: 100%;

  z-index: 20;

  color: white;
}

.header-inner {
  min-height: 100px;

  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  flex-direction: column;

  line-height: 1.1;

  color: inherit;
}

.brand-top,
.brand-bottom {
  font-size: 9px;

  letter-spacing: 0.17em;

  opacity: 0.8;
}

.brand-main {
  margin: 4px 0;

  font-size: 13px;

  letter-spacing: 0.14em;
}

.header-link {
  padding-bottom: 5px;

  font-size: 12px;

  border-bottom: 1px solid rgba(255, 255, 255, 0.7);
}

/* =========================================================
   HERO
========================================================= */

.hero {
    position: relative;

    min-height: 850px;

    color: white;

    overflow: hidden;
}


/* Background image */

.hero-media {
    position: absolute;

    inset: 0;

    z-index: 0;
}

.hero-media img {
    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center center;
}


/* Overlay */

.hero-overlay {
    position: absolute;

    inset: 0;

    z-index: 1;

    background:
        linear-gradient(
            90deg,
            rgba(0, 0, 0, 0.68) 0%,
            rgba(0, 0, 0, 0.40) 42%,
            rgba(0, 0, 0, 0.08) 100%
        );
}


/* =========================================================
   HERO CONTENT
========================================================= */

.hero-content-wrap {
    position: relative;

    z-index: 2;

    min-height: 850px;

    display: flex;

    align-items: center;
}


.hero-content {
    max-width: 820px;

    padding-top: 70px;
}


/* Eyebrow */

.hero-eyebrow {
    margin-bottom: 28px;

    color: rgba(
        255,
        255,
        255,
        0.82
    );
}


/* Heading */

.hero h1 {
    max-width: 850px;

    margin-bottom: 30px;

    font-size: clamp(
        64px,
        7vw,
        112px
    );

    line-height: 0.98;

    letter-spacing: -0.055em;

    color: white;
}

.hero h1 strong {
    display: block;

    font-weight: 500;
}


/* Subline */

.hero-subline {
    max-width: 650px;

    margin-bottom: 40px;

    font-size: clamp(
        20px,
        2vw,
        28px
    );

    line-height: 1.45;

    color: rgba(
        255,
        255,
        255,
        0.92
    );
}

.hero-subline strong {
    display: block;

    margin-top: 3px;

    font-weight: 500;
}


/* =========================================================
   TRUST
========================================================= */

.hero-trust-wrap {
    position: absolute;

    left: 0;
    right: 0;
    bottom: 0;

    z-index: 3;
}

.hero-trust {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    border-top: 1px solid rgba(
        255,
        255,
        255,
        0.30
    );
}

.hero-trust span {
    min-height: 64px;

    display: flex;

    align-items: center;

    padding: 15px 22px;

    font-size: 11px;

    line-height: 1.4;

    color: rgba(
        255,
        255,
        255,
        0.78
    );

    border-right: 1px solid rgba(
        255,
        255,
        255,
        0.25
    );
}

.hero-trust span:first-child {
    padding-left: 0;
}

.hero-trust span:last-child {
    border-right: 0;
}

/* =========================================================
   SECTION INTRO
========================================================= */

.section-intro {
  max-width: 780px;

  margin-bottom: 75px;
}

.section-intro h2 {
  margin-bottom: 28px;
}

.section-intro > p:last-child {
  max-width: 620px;

  font-size: 19px;
}

/* =========================================================
   BENEFITS
========================================================= */

.benefits {
  background: var(--cream);
}

.benefit-grid {
  display: grid;

  grid-template-columns: repeat(4, 1fr);

  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.benefit-card {
  min-height: 410px;

  padding: 34px 30px 40px;

  border-right: 1px solid var(--line);
}

.benefit-card:last-child {
  border-right: 0;
}

.card-number {
  display: block;

  margin-bottom: 100px;

  font-size: 11px;

  letter-spacing: 0.1em;

  color: var(--accent);
}

.benefit-card h3 {
  max-width: 230px;

  margin-bottom: 24px;
}

.benefit-card p {
  max-width: 250px;

  font-size: 15px;
}

/* =========================================================
   QUOTE
========================================================= */

.quote-section {
  padding: 150px 0;

  color: white;

  background: var(--dark);
}

.quote-layout {
  display: grid;

  grid-template-columns: 0.35fr 1fr;

  gap: 80px;
}

.quote-content {
  max-width: 820px;
}

.quote-content h2 {
  margin-bottom: 40px;
}

.quote-line {
  width: 60px;
  height: 1px;

  margin-bottom: 38px;

  background: var(--accent-light);
}

.quote-content blockquote {
  max-width: 750px;
}

.quote-content blockquote p {
  margin-bottom: 22px;

  font-size: clamp(19px, 2vw, 25px);

  line-height: 1.55;

  color: rgba(255, 255, 255, 0.78);
}

.quote-content cite {
  display: block;

  margin-top: 35px;

  font-size: 14px;

  font-style: normal;

  color: white;
}

/* =========================================================
   PROCESS
========================================================= */

.process {
  background: var(--white);
}

.process-list {
  display: grid;

  grid-template-columns: repeat(3, 1fr);

  border-top: 1px solid var(--line);
}

.process-item {
  min-height: 260px;

  display: flex;

  flex-direction: column;
  justify-content: space-between;

  padding: 28px 32px 35px;

  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.process-item:nth-child(3n) {
  border-right: 0;
}

.process-number {
  font-size: 11px;

  letter-spacing: 0.1em;

  color: var(--accent);
}

.process-item h3 {
  margin-bottom: 12px;
}

.process-item p {
  max-width: 230px;

  font-size: 15px;
}

/* =========================================================
   DOCTOR
========================================================= */

.doctor {
  background: var(--cream-dark);
}

.doctor-grid {
  display: grid;

  grid-template-columns:
    minmax(300px, 0.85fr)
    minmax(0, 1fr);

  gap: 100px;

  align-items: center;
}

.doctor-image {
  overflow: hidden;

  aspect-ratio: 4 / 5;
}

.doctor-image img {
  width: 100%;
  height: 100%;

  object-fit: cover;
}

.doctor-content h2 {
  max-width: 600px;

  margin-bottom: 20px;
}

.doctor-role {
  margin-bottom: 40px;

  font-size: 18px;

  color: var(--text);
}

.doctor-content blockquote {
  max-width: 600px;

  padding-left: 25px;

  margin-bottom: 35px;

  font-size: 25px;

  line-height: 1.4;

  border-left: 1px solid var(--accent);
}

.doctor-bio {
  max-width: 570px;
}

.doctor-bio p + p {
  margin-top: 14px;
}

.memberships {
  display: flex;
  flex-wrap: wrap;

  gap: 8px;

  margin-top: 40px;
}

.memberships span {
  padding: 8px 12px;

  font-size: 10px;

  letter-spacing: 0.08em;

  border: 1px solid var(--line);
}

/* =========================================================
   TREATMENT DETAILS
========================================================= */

.treatment-details {
  background: var(--cream);
}

.treatment-details-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.treatment-detail {
  padding: 35px 30px 40px;
}

.treatment-detail:first-child {
  border-right: 1px solid var(--line);
}

.treatment-detail-label {
  display: block;
  margin-bottom: 24px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.treatment-detail p {
  max-width: 520px;
  font-size: 19px;
  line-height: 1.6;
}

/* =========================================================
   RESPONSE PROMISE
========================================================= */

.response-promise {
  max-width: 620px;
  margin-top: 20px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
}

/* =========================================================
   FORM STATUS
========================================================= */

.form-status {
  min-height: 22px;
  margin-top: 18px;
  font-size: 13px;
}

.form-status.is-error {
  color: #8b2f2f;
}

.form-status.is-success {
  color: #315c3a;
}

/* =========================================================
   FAQ
========================================================= */

.faq {
  background: var(--white);
}

.faq-list {
  max-width: 1000px;

  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item summary {
  display: flex;

  align-items: center;
  justify-content: space-between;

  gap: 30px;

  padding: 30px 0;

  font-size: 21px;

  cursor: pointer;

  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-icon {
  flex: 0 0 auto;

  font-size: 26px;

  font-weight: 300;

  color: var(--accent);

  transition: transform 0.25s ease;
}

.faq-item[open] .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-width: 750px;

  padding: 0 60px 35px 0;
}

.faq-answer p {
  font-size: 16px;

  line-height: 1.7;
}

/* =========================================================
   FINAL CTA
========================================================= */

.final-cta {
  color: white;

  background: var(--dark);
}

.final-cta-inner {
  display: grid;

  grid-template-columns: 1fr 0.55fr;

  gap: 100px;

  padding-top: 130px;
  padding-bottom: 130px;
}

.final-cta-content {
  max-width: 780px;
}

.final-cta-content h2 {
  margin-bottom: 30px;
}

.final-cta-content > p {
  max-width: 600px;

  margin-bottom: 40px;

  font-size: 19px;

  color: rgba(255, 255, 255, 0.68);
}

.contact-person {
  align-self: end;

  padding: 30px 0 0;

  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-person h3 {
  margin-bottom: 15px;
}

.contact-person p {
  margin-bottom: 25px;

  font-size: 14px;
}

.contact-person a {
  display: block;

  margin-top: 7px;

  font-size: 14px;

  color: rgba(255, 255, 255, 0.8);
}

/* =========================================================
   FORM
========================================================= */

.form-section {
  padding: 120px 0;

  background: var(--cream);
}

.form-container {
  max-width: 900px;
}

.lead-form {
  padding: 50px;

  background: white;

  border: 1px solid var(--line);
}

.form-grid {
  display: grid;

  grid-template-columns: repeat(2, 1fr);

  gap: 24px;
}

.form-field {
  display: flex;
  flex-direction: column;

  gap: 8px;

  margin-bottom: 25px;
}

.form-field label {
  font-size: 12px;

  font-weight: 600;

  letter-spacing: 0.03em;
}

.form-field input,
.form-field textarea {
  width: 100%;

  padding: 15px;

  background: white;

  border: 1px solid var(--line);

  outline: none;

  transition: border-color 0.2s ease;
}

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

.form-field textarea {
  resize: vertical;
}

.consent {
  display: flex;

  align-items: flex-start;

  gap: 12px;

  margin-top: 18px;

  font-size: 11px;

  line-height: 1.55;

  color: var(--muted);

  cursor: pointer;
}

.consent input {
  flex: 0 0 auto;

  width: 16px;
  height: 16px;

  margin-top: 2px;
}

.form-submit {
  width: 100%;

  margin-top: 35px;

  border: 0;

  cursor: pointer;
}

/* =========================================================
   FOOTER
========================================================= */

.footer {
  padding: 65px 0;

  color: white;

  background: #1d1d1c;
}

.footer-inner {
  display: grid;

  grid-template-columns: 1fr 1fr 1fr;

  gap: 50px;
}

.footer-location {
  display: flex;
  flex-direction: column;

  gap: 5px;

  font-size: 12px;

  color: rgba(255, 255, 255, 0.55);
}

.footer-location strong {
  margin-bottom: 5px;

  font-weight: 500;

  color: white;
}

/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1000px) {
  :root {
    --section-space: 95px;
  }

  .benefit-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .benefit-card:nth-child(2) {
    border-right: 0;
  }

  .benefit-card:nth-child(1),
  .benefit-card:nth-child(2) {
    border-bottom: 1px solid var(--line);
  }

  .quote-layout {
    grid-template-columns: 1fr;

    gap: 30px;
  }

  .process-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-item:nth-child(3n) {
    border-right: 1px solid var(--line);
  }

  .process-item:nth-child(2n) {
    border-right: 0;
  }

  .doctor-grid {
    grid-template-columns: 1fr;

    gap: 60px;
  }

  .doctor-image {
    max-width: 600px;
  }

  .final-cta-inner {
    grid-template-columns: 1fr;

    gap: 60px;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 650px) {
  :root {
    --section-space: 45px;
  }

  .container {
    width: min(calc(100% - 36px), var(--container));
  }

  .header-inner {
    min-height: 80px;
  }

  .header-link {
    font-size: 11px;
  }

  .hero {
    padding-top: 2px;
    margin-top: -150px;
  }

  .hero-container {
    padding-bottom: 2px;
  }

  .hero h1 {
    font-size: 57px;
    margin-bottom: 9px;
    margin-top: -9px;
  }

  .hero-subline {
    font-size: 18px;
  }

  .button-light {
    margin-top: -20px;
    margin-bottom: -30px;
  }

  .hero-trust {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-trust span {
    padding: 2px 2px 2px 0;
  }

  .hero-trust span + span {
    padding-left: 10px;
  }

  .hero-trust span:nth-child(3) {
    border-left: 0;
  }

  .benefit-grid,
  .process-list {
    grid-template-columns: 1fr;
  }

  .benefit-card {
    min-height: auto;
    padding: 20px 0 25px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .benefit-card:last-child {
    border-bottom: 0;
  }

  .card-number {
    margin-bottom: 25px;
  }

  .process-item {
    min-height: 150px;
    padding: 20px 0 25px;
    border-right: 0 !important;
  }

  .doctor-content blockquote {
    font-size: 21px;
    margin-bottom: 25px;
  }

  .doctor-grid {
    gap: 35px;
  }

  .doctor-role {
    margin-bottom: 25px;
  }

  .memberships {
    margin-top: 25px;
  }

  .treatment-details-grid {
    grid-template-columns: 1fr;
  }

  .treatment-detail:first-child {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .treatment-detail {
    padding: 22px 0 25px;
  }

  .treatment-detail-label {
    margin-bottom: 15px;
  }

  .faq-item summary {
    font-size: 17px;
  }

  .faq-answer {
    padding-right: 0;
  }

  .final-cta-inner {
    padding-top: 55px;
    padding-bottom: 55px;
    gap: 35px;
  }

  .form-section {
    padding: 60px 0;
  }

  .form-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .lead-form {
    padding: 25px;
  }

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

  .form-submit {
    margin-top: 25px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer {
    padding: 45px 0;
  }
}

/* @media (max-width: 650px) {
  :root {
    --section-space: 75px;
  }

  .container {
    width: min(calc(100% - 36px), var(--container));
  }

  .header-inner {
    min-height: 80px;
  }

  .header-link {
    font-size: 11px;
  }

  .hero {
    padding-top: 2px;
    margin-top: -150px;
  }

  .hero-container {
    padding-bottom: 2px;
  }

  .hero h1 {
    font-size: 57px;
    margin-bottom: 9px;
    margin-top: -9px;
  }

  .hero-subline {
    font-size: 18px;
  }

  .button-light {
    margin-top: -20px;
    margin-bottom: -30px;
  }

  .hero-trust {
    display: grid;

    grid-template-columns: repeat(2, 1fr);
  }

  .hero-trust span {
    padding: 2px 2px 2px 0;
  }

  .hero-trust span + span {
    padding-left: 10px;
  }

  .hero-trust span:nth-child(3) {
    border-left: 0;
  }

  .benefit-grid,
  .process-list {
    grid-template-columns: 1fr;
  }

  .benefit-card {
    min-height: auto;

    padding: 28px 0 40px;

    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .benefit-card:last-child {
    border-bottom: 0;
  }

  .card-number {
    margin-bottom: 45px;
  }

  .process-item {
    min-height: 210px;

    border-right: 0 !important;
  }

  .doctor-content blockquote {
    font-size: 21px;
  }

  .faq-item summary {
    font-size: 17px;
  }

  .faq-answer {
    padding-right: 0;
  }

  .final-cta-inner {
    padding-top: 85px;
    padding-bottom: 85px;
  }

  .form-grid {
    grid-template-columns: 1fr;

    gap: 0;
  }

  .lead-form {
    padding: 25px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .treatment-details-grid {
    grid-template-columns: 1fr;
  }

  .treatment-detail:first-child {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .treatment-detail {
    padding: 28px 0 32px;
  }

} */
