/* =========================================================
   Design tokens — derived from the client's own brand PDF
   (cream background, mocha heading, olive badge, slate script)
   ========================================================= */
:root {
  --bg: #F7ECDD;
  --bg-alt: #EFE0C8;
  --card: #FFFBF4;
  --ink: #3A2A1C;
  --ink-soft: #7A6852;
  --heading: #5B3D22;
  --olive: #63603F;
  --slate: #47597A;
  --gold: #B08D57;
  --line: #E3D2B6;
  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 8px 28px rgba(58, 42, 28, 0.08);
  --shadow-hover: 0 14px 36px rgba(58, 42, 28, 0.14);
  --whatsapp: #25D366;
  --font-display: "Bodoni Moda", Georgia, serif;
  --font-script: "Beau Rivage", cursive;
  --font-body: "Jost", "Work Sans", sans-serif;
  --max: 1080px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }
ul { margin: 0; padding: 0; list-style: none; }

a:focus-visible, button:focus-visible, input:focus-visible,
textarea:focus-visible, select:focus-visible {
  outline: 2px solid var(--heading);
  outline-offset: 3px;
  border-radius: 6px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.section { padding: 72px 0; }
.section--alt { background: var(--bg-alt); }
.section--card { background: var(--card); }

.eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--olive);
  font-weight: 600;
  margin: 0 0 12px;
}

.h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  color: var(--heading);
  line-height: 1.25;
  margin: 0 0 22px;
  max-width: 760px;
}

.lede { color: var(--ink-soft); font-size: 1.02rem; max-width: 640px; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.92rem;
  border: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn--primary { background: var(--heading); color: #FCF6EC; }
.btn--primary:hover { background: #472F1A; transform: translateY(-2px); box-shadow: var(--shadow-hover); }

.btn--whatsapp { background: var(--whatsapp); color: #fff; }
.btn--whatsapp:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(37,211,102,0.35); }

.btn--outline { background: transparent; color: var(--heading); border: 1.5px solid var(--heading); }
.btn--outline:hover { background: var(--heading); color: #FCF6EC; }

.btn-row { display: flex; gap: 14px; flex-wrap: wrap; }

/* =========================================================
   Nav
   ========================================================= */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 236, 221, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav__brand { display: flex; align-items: center; }
.nav__logo { height: 48px; width: auto; display: block; }
.nav__links { display: flex; gap: 22px; align-items: center; }
.nav__links a { font-size: 0.86rem; font-weight: 500; color: var(--ink); }
.nav__links a:hover { color: var(--heading); }
.nav__cta { font-size: 0.82rem !important; padding: 10px 20px !important; }

@media (max-width: 640px) {
  .nav__links a:not(.nav__cta) { display: none; }
}

/* =========================================================
   Hero
   ========================================================= */
.hero {
  padding: 56px 0 72px;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}
.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 5vw, 3.1rem);
  color: var(--heading);
  line-height: 1.15;
  margin: 0 0 10px;
}
.hero__brandline {
  font-family: var(--font-display);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 1.6rem;
  color: var(--heading);
}
.hero__script {
  font-family: var(--font-script);
  font-size: 2.1rem;
  color: var(--slate);
  display: block;
  margin: -6px 0 18px;
}
.hero__sub { color: var(--ink-soft); font-size: 1.05rem; max-width: 480px; margin: 18px 0 30px; }
.hero__photo {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.hero__photo img { width: 100%; height: auto; display: block; }

@media (max-width: 800px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__photo { max-width: 340px; margin: 0 auto; }
}

/* =========================================================
   Stats badge
   ========================================================= */
.stats {
  background: var(--olive);
  color: #FBF6EA;
  border-radius: var(--radius);
  padding: 28px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 8px;
}
.stats__num { font-family: var(--font-display); font-size: 2rem; margin-right: 8px; }
.stats__main { display: flex; align-items: baseline; }
.stats__sub { font-size: 0.85rem; opacity: 0.9; }
.stats__tags { display: flex; gap: 22px; flex-wrap: wrap; }
.stats__tags span { font-size: 0.82rem; font-weight: 600; letter-spacing: 0.03em; }

/* =========================================================
   Point lists (meaning / mistakes / transitions / about / transformation)
   ========================================================= */
.pointlist { display: grid; gap: 16px; margin-top: 8px; }
.pointlist li {
  display: flex;
  gap: 14px;
  background: var(--card);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  box-shadow: var(--shadow);
  font-size: 0.96rem;
}
.pointlist li::before {
  content: "";
  flex-shrink: 0;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--gold);
  margin-top: 8px;
}
.closing-line {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--heading);
  font-size: 1.15rem;
  margin-top: 24px;
  text-align: center;
}

.two-col { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 44px; align-items: center; }
.two-col--rev { grid-template-columns: 1.15fr 0.85fr; }
.two-col img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; height: auto; display: block; }
@media (max-width: 800px) {
  .two-col, .two-col--rev { grid-template-columns: 1fr; }
  .two-col img { max-width: 320px; margin: 0 auto; }
}

/* =========================================================
   Discover steps (4-step mini flow with arrows)
   ========================================================= */
.flowsteps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 24px;
}
.flowstep {
  background: var(--card);
  border-radius: var(--radius-sm);
  padding: 20px 16px;
  text-align: center;
  box-shadow: var(--shadow);
  position: relative;
}
.flowstep__title { font-weight: 600; font-size: 0.9rem; margin-bottom: 6px; color: var(--heading); }
.flowstep__desc { font-size: 0.78rem; color: var(--ink-soft); }
@media (max-width: 760px) { .flowsteps { grid-template-columns: 1fr 1fr; } }

.quote-block {
  margin-top: 28px;
  text-align: center;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.2rem;
  color: var(--heading);
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
}

/* =========================================================
   Process (numbered — genuine sequence)
   ========================================================= */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 8px; }
.process__step { text-align: center; }
.process__n {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--heading);
  color: #FCF6EC;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin: 0 auto 14px;
}
.process__title { font-weight: 600; margin-bottom: 4px; }
.process__desc { font-size: 0.85rem; color: var(--ink-soft); }
@media (max-width: 760px) { .process { grid-template-columns: 1fr 1fr; } }

/* =========================================================
   Expertise chips
   ========================================================= */
.chips { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.chip {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 20px;
  font-size: 0.88rem;
  font-weight: 500;
  box-shadow: var(--shadow);
}

/* =========================================================
   Services grid
   ========================================================= */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 12px;
}
.service-card {
  background: var(--card);
  border-radius: var(--radius-sm);
  padding: 22px;
  box-shadow: var(--shadow);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.service-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.service-card h3 { font-family: var(--font-display); font-size: 1.02rem; color: var(--heading); margin: 0 0 8px; }
.service-card p { font-size: 0.88rem; color: var(--ink-soft); margin: 0; }
@media (max-width: 700px) { .services-grid { grid-template-columns: 1fr; } }

/* =========================================================
   Philosophy
   ========================================================= */
.philosophy {
  text-align: center;
  max-width: 520px;
  margin: 0 auto;
}
.philosophy p {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.35rem;
  color: var(--heading);
  margin: 6px 0;
}

/* =========================================================
   Empower icons row
   ========================================================= */
.empower-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 10px;
}
.empower-item {
  text-align: center;
  background: var(--card);
  border-radius: var(--radius-sm);
  padding: 22px 12px;
  box-shadow: var(--shadow);
  font-weight: 600;
  font-size: 0.86rem;
  color: var(--heading);
}
.empower-item .icon-circle {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--bg-alt);
  margin: 0 auto 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.empower-item .icon-circle img {
  width: 30px; height: 30px;
  object-fit: contain;
}
@media (max-width: 700px) { .empower-row { grid-template-columns: 1fr 1fr; } }

/* =========================================================
   Gallery
   ========================================================= */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 8px;
}
.gallery img {
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  width: 100%;
  height: 100%;
  aspect-ratio: 0.68;
  object-fit: contain;
  background: var(--card);
  display: block;
}
@media (max-width: 700px) { .gallery { grid-template-columns: 1fr 1fr; } }

/* =========================================================
   Press mention
   ========================================================= */
.press {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  background: var(--card);
  border-radius: var(--radius);
  padding: 24px 28px;
  box-shadow: var(--shadow);
}
.press a { font-weight: 600; color: var(--heading); border-bottom: 1.5px solid var(--gold); padding-bottom: 2px; }

/* =========================================================
   FAQ accordion
   ========================================================= */
.faq-list { display: grid; gap: 10px; margin-top: 8px; }
.faq-item {
  background: var(--card);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.faq-q {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 18px 22px;
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.faq-q__icon {
  flex-shrink: 0;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--bg-alt);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  color: var(--heading);
  transition: transform 0.2s ease;
}
.faq-item[data-open="true"] .faq-q__icon { transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
  padding: 0 22px;
  font-size: 0.88rem;
  color: var(--ink-soft);
}
.faq-item[data-open="true"] .faq-a { padding-bottom: 18px; }

/* =========================================================
   Community CTA
   ========================================================= */
.community-cta {
  background: var(--heading);
  color: #FCF6EC;
  border-radius: var(--radius);
  padding: 40px 36px;
  text-align: center;
}
.community-cta h2 { color: #FCF6EC; margin: 0 0 8px; }
.community-cta p { color: #E4D5C1; margin: 0 0 22px; }

/* =========================================================
   Final CTA
   ========================================================= */
.final-cta { text-align: center; }
.final-cta .btn-row { justify-content: center; margin-top: 22px; }

/* =========================================================
   Footer
   ========================================================= */
.footer {
  background: var(--bg-alt);
  padding: 40px 0 28px;
  text-align: center;
}
.footer__logo { width: 84px; height: 84px; margin: 0 auto 16px; display: block; }
.footer__social { display: flex; justify-content: center; gap: 14px; margin-bottom: 18px; }
.footer__social a {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--card);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow);
  color: var(--heading);
}
.footer__social svg { width: 18px; height: 18px; }
.footer__note { font-size: 0.78rem; color: var(--ink-soft); margin-top: 6px; }

/* =========================================================
   WhatsApp chat widget (floating button + popup panel)
   ========================================================= */
.wa-widget {
  position: fixed;
  bottom: 22px;
  right: 22px;
  z-index: 45;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 14px;
}

.wa-fab {
  width: 58px; height: 58px;
  border-radius: 50%;
  background: var(--whatsapp);
  border: none;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4);
  animation: wa-pulse 2.4s ease-in-out infinite;
  padding: 0;
}
.wa-fab svg { width: 30px; height: 30px; fill: #fff; transition: transform 0.15s ease; }
.wa-fab .wa-fab__icon-close { display: none; }
.wa-fab--open .wa-fab__icon-chat { display: none; }
.wa-fab--open .wa-fab__icon-close { display: block; }
.wa-fab--open { animation: none; }

@keyframes wa-pulse {
  0%, 100% { box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4); }
  50% { box-shadow: 0 8px 26px rgba(37, 211, 102, 0.65); }
}

.wa-panel {
  width: 300px;
  max-width: calc(100vw - 44px);
  background: var(--card);
  border-radius: 16px;
  box-shadow: 0 16px 40px rgba(58, 42, 28, 0.22);
  overflow: hidden;
}

.wa-panel__header {
  background: var(--whatsapp);
  padding: 16px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.wa-panel__avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.25);
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 600;
  flex-shrink: 0;
}
.wa-panel__name { color: #fff; font-weight: 600; font-size: 0.92rem; }
.wa-panel__status { color: rgba(255,255,255,0.85); font-size: 0.74rem; }

.wa-panel__body {
  padding: 16px;
  background: #E9E3D8;
}
.wa-bubble {
  background: #fff;
  border-radius: 12px;
  border-top-left-radius: 2px;
  padding: 10px 14px;
  font-size: 0.86rem;
  color: var(--ink);
  box-shadow: 0 2px 6px rgba(0,0,0,0.06);
  max-width: 90%;
}

.wa-panel__form {
  display: flex;
  gap: 8px;
  padding: 12px;
  background: var(--card);
  border-top: 1px solid var(--line);
}
.wa-panel__form input {
  flex: 1;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 14px;
  font-family: inherit;
  font-size: 0.85rem;
  background: #fff;
  color: var(--ink);
}
.wa-panel__form button {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--whatsapp);
  border: none;
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.wa-panel__form button svg { width: 18px; height: 18px; fill: #fff; }


/* =========================================================
   Appointment / booking form (appointment.html)
   ========================================================= */
.booking {
  max-width: 640px;
  margin: 0 auto;
}
.price-badge {
  display: block;
  width: fit-content;
  margin: 14px auto 10px;
  background: var(--olive);
  color: #FBF6EA;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  padding: 8px 22px;
  border-radius: 999px;
}
.form-card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
}
.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
}
.field input, .field select, .field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-family: inherit;
  font-size: 0.92rem;
  background: #fff;
  color: var(--ink);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
.form-note {
  font-size: 0.8rem;
  color: var(--ink-soft);
  margin-top: 14px;
  text-align: center;
  min-height: 1.2em;
}
.back-link {
  display: inline-block;
  margin-bottom: 24px;
  color: var(--heading);
  font-weight: 600;
  font-size: 0.85rem;
}

.payment-step {
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px dashed var(--line);
  text-align: center;
}
.payment-step__msg {
  font-size: 0.9rem;
  color: var(--ink);
  background: var(--bg-alt);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  margin: 0 0 16px;
}
