/* ============================================================
   A Place to Start — ptshealing.com
   All styles. No inline CSS anywhere.
   ============================================================ */

/* ── 1. Design tokens ──────────────────────────────────────── */
:root {
  /* Page */
  --bg:           #FAF8F5;
  --bg-2:         #F3EFE9;
  --surface:      #FFFFFF;
  --border:       #E8E0EF;

  /* Text */
  --text-1:       #2C1F3D;
  --text-2:       #5A4E6B;
  --text-3:       #8B7FA0;

  /* Brand */
  --accent:       #8B6FAE;
  --accent-deep:  #6A4D8E;
  --accent-soft:  #C4A8D4;
  --rose:         #C9A0A0;
  --mauve:        #D4B8C8;
  --sage:         #8FAE9B;

  /* Hero */
  --hero-1:       #2C1F3D;
  --hero-2:       #4A3060;
  --hero-3:       #6B4A8A;

  /* Feedback */
  --success:      #5B9B7E;
  --error:        #B04050;

  /* Typography */
  --font-body:    'DM Sans', system-ui, sans-serif;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-script:  'Playwrite ES Deco', cursive;

  /* Layout */
  --container:    min(1100px, 100% - 3rem);
  --section-pad:  clamp(4rem, 8vw, 7rem);

  /* Motion */
  --ease:         cubic-bezier(0.22, 1, 0.36, 1);
  --dur:          0.25s;
}

/* ── 2. Reset ──────────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 74px;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text-2);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }

a {
  color: var(--accent);
  text-decoration: none;
  transition: color var(--dur);
}
a:hover { color: var(--accent-deep); }

ul, ol { list-style: none; }

button {
  cursor: pointer;
  border: none;
  background: none;
  font: inherit;
}

/* ── 3. Utilities ──────────────────────────────────────────── */
.container {
  width: var(--container);
  margin-inline: auto;
}

.section-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.section-heading {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.5vw, 2.75rem);
  font-weight: 700;
  color: var(--text-1);
  line-height: 1.2;
  margin-bottom: 1.25rem;
}

.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 3.5rem;
}

.section-intro {
  font-size: 1.05rem;
  color: var(--text-3);
  line-height: 1.7;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Scroll-reveal */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: 0.10s; }
.reveal-delay-2 { transition-delay: 0.20s; }
.reveal-delay-3 { transition-delay: 0.30s; }
.reveal-delay-4 { transition-delay: 0.40s; }
.reveal-delay-5 { transition-delay: 0.50s; }

/* ── 4. Buttons ────────────────────────────────────────────── */
.btn-hero {
  display: inline-block;
  padding: 0.85rem 2.25rem;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  border-radius: 100px;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  backdrop-filter: blur(8px);
  transition: background var(--dur), border-color var(--dur), transform var(--dur);
}
.btn-hero:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.65);
  transform: translateY(-2px);
}

.btn-outline {
  display: inline-block;
  padding: 0.75rem 1.75rem;
  border: 1.5px solid var(--accent);
  border-radius: 100px;
  color: var(--accent);
  font-size: 0.9rem;
  font-weight: 500;
  transition: background var(--dur), color var(--dur), transform var(--dur);
}
.btn-outline:hover {
  background: var(--accent);
  color: #fff;
  transform: translateY(-2px);
}

.btn-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.9rem 1.5rem;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-deep) 100%);
  color: #fff;
  border-radius: 100px;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: opacity var(--dur), transform var(--dur), box-shadow var(--dur);
}
.btn-submit:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(139, 111, 174, 0.35);
}
.btn-submit:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
}

/* ── 5. Navigation ─────────────────────────────────────────── */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.25rem 0;
  transition: background var(--dur), padding var(--dur), box-shadow var(--dur);
}
.site-nav.scrolled {
  background: rgba(250, 248, 245, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 0.75rem 0;
  box-shadow: 0 1px 0 var(--border);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: inherit;
  flex-shrink: 0;
}
.nav__lotus { flex-shrink: 0; }

.nav__logo-text {
  font-family: var(--font-script);
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.9);
  transition: color var(--dur);
  white-space: nowrap;
}
.site-nav.scrolled .nav__logo-text { color: var(--text-1); }

.nav__links {
  display: flex;
  align-items: center;
  gap: 0.2rem;
}

.nav__link {
  display: block;
  padding: 0.4rem 0.85rem;
  border-radius: 100px;
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  transition: color var(--dur), background var(--dur);
}
.nav__link:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}
.site-nav.scrolled .nav__link { color: var(--text-2); }
.site-nav.scrolled .nav__link:hover { color: var(--accent); background: transparent; }

.nav__link--cta {
  margin-left: 0.5rem;
  padding: 0.45rem 1.25rem;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  border-radius: 100px;
  color: #fff !important;
  font-weight: 600;
}
.nav__link--cta:hover {
  background: rgba(255, 255, 255, 0.15) !important;
  border-color: rgba(255, 255, 255, 0.65) !important;
}
.site-nav.scrolled .nav__link--cta {
  border-color: var(--accent);
  color: var(--accent) !important;
  background: transparent;
}
.site-nav.scrolled .nav__link--cta:hover {
  background: var(--accent) !important;
  color: #fff !important;
  border-color: var(--accent) !important;
}

/* Mobile toggle */
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  z-index: 101;
  position: relative;
}
.nav__toggle-bar {
  display: block;
  width: 24px;
  height: 2px;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 2px;
  transition: transform var(--dur), opacity var(--dur);
}
.site-nav.scrolled .nav__toggle-bar { background: var(--text-1); }

.nav__toggle[aria-expanded="true"] .nav__toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav__toggle[aria-expanded="true"] .nav__toggle-bar:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] .nav__toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ── 6. Hero ───────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(160deg, var(--hero-1) 0%, var(--hero-2) 55%, var(--hero-3) 100%);
}

.hero__bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  animation: orb-drift 12s ease-in-out infinite alternate;
}
.hero__orb--1 {
  width: 520px; height: 520px;
  top: -12%; left: -8%;
  background: rgba(196, 168, 212, 0.16);
  animation-duration: 15s;
}
.hero__orb--2 {
  width: 420px; height: 420px;
  top: 15%; right: -10%;
  background: rgba(201, 160, 160, 0.13);
  animation-duration: 11s;
  animation-delay: -4s;
}
.hero__orb--3 {
  width: 360px; height: 360px;
  bottom: -8%; left: 38%;
  background: rgba(143, 174, 155, 0.11);
  animation-duration: 17s;
  animation-delay: -8s;
}

@keyframes orb-drift {
  from { transform: translate(0, 0); }
  to   { transform: translate(40px, -30px); }
}

/* Lotus flower */
.lotus {
  position: relative;
  width: 150px;
  height: 150px;
  margin-bottom: 2rem;
  flex-shrink: 0;
  animation: lotus-breathe 5s ease-in-out infinite;
}

.lotus__petal {
  position: absolute;
  bottom: 50%;
  right: 50%;
  width: 22px;
  height: 56px;
  border-radius: 100% 0;
  transform-origin: bottom right;
  opacity: 0.85;
}

.lotus__petal--1  { background: linear-gradient(to top, #C9A0A0, #EAD4DC); transform: rotate(-10deg); }
.lotus__petal--2  { background: linear-gradient(to top, #D4B8C8, #EEE0EA); transform: rotate(30deg);  }
.lotus__petal--3  { background: linear-gradient(to top, #C9A0A0, #EAD4DC); transform: rotate(70deg);  }
.lotus__petal--4  { background: linear-gradient(to top, #D4B8C8, #EEE0EA); transform: rotate(110deg); }
.lotus__petal--5  { background: linear-gradient(to top, #C9A0A0, #EAD4DC); transform: rotate(150deg); }
.lotus__petal--6  { background: linear-gradient(to top, #D4B8C8, #EEE0EA); transform: rotate(190deg); }
.lotus__petal--7  { background: linear-gradient(to top, #C9A0A0, #EAD4DC); transform: rotate(230deg); }
.lotus__petal--8  { background: linear-gradient(to top, #D4B8C8, #EEE0EA); transform: rotate(270deg); }
.lotus__petal--9  { background: linear-gradient(to top, #C9A0A0, #EAD4DC); transform: rotate(310deg); }

.lotus__leaf {
  position: absolute;
  bottom: 50%;
  right: 50%;
  width: 30px;
  height: 50px;
  border-radius: 100% 0;
  transform-origin: bottom right;
  transform: rotate(190deg);
  background: linear-gradient(to top, #6B9A7E, #8FAE9B);
  opacity: 0.88;
}

.lotus__center {
  position: absolute;
  top: 50%; left: 50%;
  width: 22px; height: 22px;
  margin-top: -11px; margin-left: -11px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #F5E6C0, #C4953A);
  box-shadow: 0 0 16px rgba(196, 149, 58, 0.4);
}

@keyframes lotus-breathe {
  0%, 100% { transform: scale(1); }
  50%       { transform: scale(1.05) rotate(4deg); }
}

/* Hero content */
.hero__content {
  position: relative;
  z-index: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding: 0 1.5rem;
  max-width: 680px;
}

.hero__location {
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.hero__title {
  font-family: var(--font-script);
  font-size: clamp(2.75rem, 7vw, 5rem);
  font-weight: 300;
  color: #fff;
  line-height: 1.1;
}

.hero__subtitle {
  font-family: var(--font-display);
  font-size: clamp(1rem, 2vw, 1.3rem);
  font-weight: 400;
  font-style: italic;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 0.75rem;
}

.hero__scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.4);
  animation: scroll-bounce 2.4s ease-in-out infinite;
  transition: color var(--dur);
}
.hero__scroll:hover { color: rgba(255, 255, 255, 0.75); }

@keyframes scroll-bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(8px); }
}

/* ── 7. About ──────────────────────────────────────────────── */
.about {
  padding: var(--section-pad) 0;
  background: var(--bg);
}

.about__layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 4.5rem;
  align-items: start;
}

.about__photo-frame {
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: linear-gradient(160deg, #EEE4F6 0%, #F4EBF8 100%);
  border: 1px solid var(--border);
}

.about__photo-placeholder {
  width: 100%; height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  color: var(--text-3);
}
.about__photo-placeholder p {
  font-size: 0.85rem;
  color: var(--text-3);
}

.about__info {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.about__info-item {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--border);
}
.about__info-item:first-child { border-top: 1px solid var(--border); }

.about__info-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}

.about__info-value {
  font-size: 0.9rem;
  color: var(--text-2);
}

.about__lead {
  font-size: 1.1rem;
  color: var(--text-1);
  font-weight: 400;
  line-height: 1.65;
  margin-bottom: 1rem;
}

.about__content p { margin-bottom: 1rem; }
.about__content .btn-outline { margin-top: 0.75rem; }

/* ── 8. Services ───────────────────────────────────────────── */
.services {
  padding: var(--section-pad) 0;
  background: var(--bg-2);
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.service-card {
  background: var(--surface);
  border-radius: 16px;
  padding: 2rem 1.75rem;
  border: 1px solid var(--border);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur);
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(139, 111, 174, 0.11);
}

.service-card__icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, #EEE4F6 0%, #F8EEF4 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--accent);
}

.service-card__title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-1);
  margin-bottom: 0.6rem;
  line-height: 1.3;
}

.service-card__body {
  font-size: 0.9rem;
  color: var(--text-3);
  line-height: 1.65;
}

/* ── 9. Quote strip ────────────────────────────────────────── */
.quote-strip {
  padding: clamp(3rem, 6vw, 5rem) 0;
  background: linear-gradient(135deg, var(--hero-1) 0%, var(--hero-2) 100%);
}

.quote-strip__quote {
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
}

.quote-strip__quote p {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  font-style: italic;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.65;
  margin-bottom: 1.25rem;
}

.quote-strip__attribution {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

/* ── 10. Contact ───────────────────────────────────────────── */
.contact__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 700px;
}

.contact__image {
  /* Serene lotus on water — replace path to use a local photo if preferred */
  background-image: url('https://images.unsplash.com/photo-1518241353330-0f7941c2d9b5?auto=format&w=900&q=80');
  background-size: cover;
  background-position: center;
  position: relative;
  min-height: 400px;
}
.contact__image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(44, 31, 61, 0.2) 0%,
    transparent 60%
  );
}

.contact__panel {
  background: var(--bg);
  display: flex;
  align-items: center;
  padding: 4rem 0;
}

.contact__panel-inner {
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  padding: 0 3rem;
}

.contact__intro {
  font-size: 0.95rem;
  color: var(--text-3);
  margin-bottom: 2rem;
  line-height: 1.7;
}

/* Form */
.contact__form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form__honeypot {
  position: absolute;
  left: -9999px;
  top: -9999px;
  visibility: hidden;
}

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form__group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.form__label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-2);
  letter-spacing: 0.01em;
}

.form__required {
  color: var(--accent);
  margin-left: 2px;
}

.form__input,
.form__textarea {
  padding: 0.7rem 0.95rem;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
  color: var(--text-1);
  font: inherit;
  font-size: 0.95rem;
  transition: border-color var(--dur), box-shadow var(--dur);
  resize: none;
}
.form__input:focus,
.form__textarea:focus {
  outline: none;
  border-color: var(--accent-soft);
  box-shadow: 0 0 0 3px rgba(139, 111, 174, 0.12);
}
.form__input.error,
.form__textarea.error { border-color: var(--error); }
.form__input::placeholder,
.form__textarea::placeholder { color: var(--text-3); opacity: 0.65; }

.form__footer-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.5rem;
}

.form__error {
  font-size: 0.78rem;
  color: var(--error);
  min-height: 1.1em;
}

.form__char-count {
  font-size: 0.75rem;
  color: var(--text-3);
  white-space: nowrap;
  flex-shrink: 0;
}

.form__privacy {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.78rem;
  color: var(--text-3);
  margin-top: 0.25rem;
}

/* CAPTCHA */
.captcha-container { margin-bottom: 0.25rem; }

/* Spinner */
.spinner { animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Success */
.success-state {
  text-align: center;
  padding: 3rem 1rem;
}
.success-state__icon {
  width: 72px; height: 72px;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  background: linear-gradient(135deg, #E8F5EF, #C8EAD8);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--success);
}
.success-state__heading {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-1);
  margin-bottom: 0.75rem;
}
.success-state__body {
  font-size: 0.95rem;
  color: var(--text-3);
  line-height: 1.7;
  max-width: 380px;
  margin: 0 auto;
}

/* ── 11. Footer ────────────────────────────────────────────── */
.site-footer {
  background: var(--text-1);
  color: rgba(255, 255, 255, 0.55);
  padding: 2.5rem 0;
}

.site-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.site-footer__name {
  font-family: var(--font-script);
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 0.2rem;
}
.site-footer__tagline {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.38);
}

.site-footer__nav {
  display: flex;
  gap: 1.5rem;
}
.site-footer__link {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  transition: color var(--dur);
}
.site-footer__link:hover { color: rgba(255, 255, 255, 0.88); }

.site-footer__copy {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.3);
}

/* ── 12. Responsive ────────────────────────────────────────── */
@media (max-width: 900px) {
  .about__layout {
    grid-template-columns: 1fr;
  }
  .about__photo-frame {
    max-width: 260px;
    margin: 0 auto;
    aspect-ratio: 4 / 3;
  }
  .services__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .contact__layout {
    grid-template-columns: 1fr;
  }
  .contact__panel {
    padding: 3rem 0;
  }
  .contact__panel-inner {
    padding: 0 1.5rem;
  }
  .site-footer__inner {
    flex-direction: column;
    text-align: center;
  }
  .site-footer__nav { justify-content: center; }
}

@media (max-width: 640px) {
  .nav__toggle { display: flex; }

  .nav__links {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(44, 31, 61, 0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    padding: 2rem;
    z-index: 99;
  }
  .nav__links.open { display: flex; }
  .nav__link { font-size: 1.3rem; color: rgba(255, 255, 255, 0.85); }
  .nav__link--cta { margin-left: 0; }

  .services__grid { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .site-footer__nav { flex-wrap: wrap; justify-content: center; gap: 1rem; }
}
