/* ============================ VARIABLES ============================ */
:root {
  --cream: #faf7f2;
  --cream-2: #f3ece4;
  --blush: #e9d5cf;
  --blush-2: #d9b8ae;
  --ink: #322e2b;
  --ink-soft: #6b635d;
  --accent: #a3756b;
  --white: #fffdfb;

  --font-display: "Cormorant Garamond", serif;
  --font-body: "Jost", sans-serif;

  --radius: 18px;
  --shadow: 0 20px 50px -20px rgba(50, 46, 43, 0.25);
  --container: 1160px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  font-size: 16px;
  font-weight: 400;
}

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

a { color: inherit; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.15;
}

h2 {
  font-size: clamp(28px, 4vw, 44px);
  letter-spacing: 0.2px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 12px;
  font-weight: 500;
  color: var(--accent);
  margin-bottom: 12px;
}

.section {
  padding: clamp(64px, 9vw, 120px) 24px;
}

.section__header {
  max-width: var(--container);
  margin: 0 auto 48px;
}

.section__lede {
  color: var(--ink-soft);
  max-width: 560px;
  margin-top: 14px;
  font-size: 17px;
}

.container { max-width: var(--container); margin: 0 auto; }

/* ============================ NAV ============================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 24px;
  background: rgba(250, 247, 242, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(50, 46, 43, 0.06);
}

.nav__brand {
  font-family: var(--font-display);
  font-size: 22px;
  text-decoration: none;
}

.nav__brand span {
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-family: var(--font-body);
  font-weight: 500;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 14px;
}

.nav__toggle {
  display: none;
  background: none;
  border: none;
  color: var(--ink);
  cursor: pointer;
  padding: 4px;
  line-height: 0;
  border-radius: 8px;
}

.nav__toggle:hover { color: var(--accent); }

.nav__links a {
  text-decoration: none;
  color: var(--ink-soft);
  transition: color 0.15s ease;
}

.nav__links a:not(.btn):hover { color: var(--ink); }

/* ============================ BUTTONS ============================ */
.btn {
  display: inline-block;
  padding: 13px 26px;
  background: var(--ink);
  color: var(--cream);
  text-decoration: none;
  border-radius: 999px;
  border: 1px solid var(--ink);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
}

.btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  transform: translateY(-1px);
}

.btn--ghost {
  background: transparent;
  color: var(--ink);
}

.btn--ghost:hover {
  background: transparent;
  color: var(--accent);
  border-color: var(--accent);
}

.btn--small { padding: 9px 18px; }

.btn--large { padding: 16px 34px; font-size: 15px; }

.btn--text {
  background: transparent;
  border: none;
  color: var(--accent);
  padding-inline: 0;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.btn--text:hover { background: transparent; transform: none; }

.btn--light { color: var(--white); }

/* ============================ HERO ============================ */
.hero {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  min-height: calc(100svh - 64px);
  max-width: var(--container);
  margin: 0 auto;
  align-items: center;
  gap: 48px;
  padding: clamp(48px, 6vw, 80px) 24px;
}

.hero__eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 12px;
  color: var(--accent);
  margin-bottom: 16px;
}

.hero__title {
  font-size: clamp(42px, 6vw, 74px);
  margin-bottom: 24px;
}

.hero__quote {
  font-family: var(--font-display);
  font-size: 20px;
  line-height: 1.55;
  font-style: italic;
  color: var(--ink-soft);
  margin-bottom: 36px;
  max-width: 480px;
}

.hero__cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero__photo {
  position: relative;
}

.hero__photo img {
  width: 100%;
  height: 100%;
  max-height: 82svh;
  object-fit: cover;
  object-position: center 20%;
  border-radius: var(--radius);
  border: 10px solid var(--white);
  box-shadow: var(--shadow);
}

/* ============================ SOBRE MÍ ============================ */
.section--photo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  max-width: var(--container);
  margin: 0 auto;
  align-items: center;
}

.section--photo--reverse .section__photo { order: -1; }

.section__photo img {
  width: 100%;
  border-radius: var(--radius);
  border: 10px solid var(--white);
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.section__content p { color: var(--ink-soft); margin-bottom: 16px; }

.section__content strong { color: var(--ink); }

.section__content--blush { background: none; }

.checklist {
  list-style: none;
  margin: 24px 0 28px;
}

.checklist li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 10px;
  color: var(--ink);
}

.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 600;
}

/* ============================ TRATAMIENTOS ============================ */
.section--treatments {
  background: linear-gradient(180deg, var(--cream) 0%, var(--blush) 90%);
}

.section--treatments .section__header {
  max-width: var(--container);
}

.treatment {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 20px;
  max-width: var(--container);
  margin: 0 auto 24px;
  padding: clamp(28px, 4vw, 44px);
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.treatment__num {
  font-family: var(--font-display);
  font-size: 40px;
  color: var(--blush-2);
  line-height: 1;
}

.treatment h3 {
  font-size: 28px;
  margin-bottom: 4px;
}

.treatment__tag {
  font-style: italic;
  font-family: var(--font-display);
  font-size: 17px;
  color: var(--accent);
  margin-bottom: 12px;
}

.treatment p {
  color: var(--ink-soft);
  margin-bottom: 16px;
}

.treatment ul {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 8px 24px;
}

.treatment ul li {
  position: relative;
  padding-left: 24px;
  color: var(--ink);
  font-size: 15px;
}

.treatment ul li::before {
  content: "·";
  position: absolute;
  left: 8px;
  color: var(--accent);
  font-weight: 700;
}

.treatment em { font-style: italic; color: var(--ink); }

/* ============================ RESERVAR ============================ */
.section--booking {
  background: var(--cream);
}

.booking {
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(28px, 4vw, 48px);
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.step {
  border: none;
  margin-bottom: 36px;
}

.step legend {
  font-family: var(--font-display);
  font-size: 22px;
  margin-bottom: 16px;
  font-weight: 600;
}

.step legend small {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--ink-soft);
  font-weight: 400;
}

.step__options {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.chip {
  position: relative;
  cursor: pointer;
}

.chip input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.chip span {
  display: inline-block;
  padding: 11px 20px;
  border: 1.5px solid rgba(50, 46, 43, 0.18);
  border-radius: 999px;
  font-size: 14px;
  transition: all 0.15s ease;
}

.chip:hover span { border-color: var(--accent); }

.chip input:checked + span {
  background: var(--ink);
  color: var(--cream);
  border-color: var(--ink);
}

.chip input:focus-visible + span {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.dates {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(86px, 1fr));
  gap: 8px;
  margin-bottom: 14px;
}

.date-btn, .slot-btn {
  border: 1.5px solid rgba(50, 46, 43, 0.18);
  background: transparent;
  border-radius: 12px;
  padding: 10px 8px;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--ink);
  transition: all 0.15s ease;
}

.date-btn small, .slot-btn small {
  display: block;
  font-size: 11px;
  color: var(--ink-soft);
  letter-spacing: 0.04em;
}

.date-btn:hover:not(:disabled), .slot-btn:hover:not(:disabled) {
  border-color: var(--accent);
}

.date-btn[aria-pressed="true"], .slot-btn[aria-pressed="true"] {
  background: var(--ink);
  color: var(--cream);
  border-color: var(--ink);
}

.date-btn[aria-pressed="true"] small, .slot-btn[aria-pressed="true"] small {
  color: rgba(250, 247, 242, 0.75);
}

.date-btn:disabled, .slot-btn:disabled {
  opacity: 0.38;
  cursor: not-allowed;
  text-decoration: line-through;
  background: var(--cream-2);
}

.slots {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.slots .muted { font-size: 14px; }

.muted { color: var(--ink-soft); }

/* -------- Form -------- */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 20px;
}

.form-grid label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 14px;
}

.form-grid label span {
  font-weight: 500;
}

.form-grid label span small {
  font-weight: 400;
  color: var(--ink-soft);
}

.form-grid .wide { grid-column: 1 / -1; }

.form-grid input,
.form-grid textarea {
  border: 1.5px solid rgba(50, 46, 43, 0.18);
  border-radius: 12px;
  padding: 12px 14px;
  font-family: var(--font-body);
  font-size: 15px;
  background: var(--cream);
  color: var(--ink);
  resize: vertical;
  transition: border-color 0.15s ease;
}

.form-grid input:focus,
.form-grid textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--white);
}

.captcha__q {
  font-family: var(--font-display);
  font-size: 19px;
  font-style: italic;
  background: var(--cream-2);
  padding: 12px 16px;
  border-radius: 12px;
  margin-bottom: 10px;
}

.captcha__row {
  display: flex;
  gap: 10px;
}

.captcha__row input { flex: 1; }

.booking__actions {
  display: flex;
  justify-content: center;
  padding-top: 8px;
}

#book-submit:disabled {
  opacity: 0.6;
  cursor: wait;
  transform: none;
}

.booking__selected {
  text-align: center;
  margin-top: 14px;
  font-size: 14px;
  color: var(--ink-soft);
  font-style: italic;
  min-height: 20px;
}

.booking__message {
  text-align: center;
  margin-top: 8px;
  min-height: 24px;
  font-weight: 500;
}

.booking__message.ok { color: #3e7a4e; }
.booking__message.err { color: #a3493c; }

.booking__alt {
  text-align: center;
  margin-top: 32px;
  color: var(--ink-soft);
  font-size: 15px;
}

.booking__alt a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 500;
}

/* ============================ FOOTER ============================ */
.footer {
  background: var(--ink);
  color: rgba(250, 247, 242, 0.75);
  padding: 56px 24px;
}

.footer__inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.footer__brand {
  font-family: var(--font-display);
  font-size: 34px;
  color: var(--cream);
  margin-bottom: 4px;
}

.footer__tag {
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 12px;
  margin-bottom: 24px;
}

.footer__links {
  display: flex;
  justify-content: center;
  gap: 28px;
  margin-bottom: 28px;
}

.footer__links a {
  color: var(--blush);
  text-decoration: none;
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.footer__links a:hover { text-decoration: underline; }

.footer__legal {
  font-size: 13px;
  color: rgba(250, 247, 242, 0.45);
}

/* ============================ RESPONSIVE ============================ */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    gap: 32px;
    padding-top: 40px;
  }
  .hero__photo { order: -1; }
  .hero__photo img { max-height: 60svh; }
  .section--photo { grid-template-columns: 1fr; }
  .section--photo .section__photo img { aspect-ratio: 4 / 3; }
  .section--photo--reverse .section__photo { order: 0; }
}

@media (max-width: 640px) {
  .nav {
    padding: 12px 16px;
    align-items: flex-start;
    flex-wrap: wrap;
  }
  .nav__toggle { display: inline-flex; }
  .nav__links {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    font-size: 15px;
    width: 100%;
    padding: 14px 8px 18px;
    border-top: 1px solid rgba(50, 46, 43, 0.08);
    margin-top: 10px;
  }
  .nav.is-open .nav__links { display: flex; }
  .nav__links .btn { text-align: center; width: 100%; }
  .nav__brand span { display: none; }
  .treatment { grid-template-columns: 1fr; padding: 26px 22px; }
  .treatment__num { font-size: 30px; }
  .form-grid { grid-template-columns: 1fr; }
  .booking { padding: 26px 20px; }
  .hero__cta .btn { flex: 1; text-align: center; }
}
