/* Tipografía de marca (Pensarnos Design System): Fraunces + Public Sans. */
@import url("https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300..700;1,9..144,300..700&family=Public+Sans:ital,wght@0,300..700;1,300..700&display=swap");

:root {
  /* Tokens oficiales del Design System (tokens/colors.css) */
  --cream: #F7F3EC;
  --cream-2: #FBF8F3;
  --carbon: #17140F;
  --charcoal-soft: #33302B; /* gris carbón suave — bloques oscuros del hero/footer */
  --ink: #1E1B16;
  --whatsapp: #25D366;
  --orange: #E2622C;
  --orange-hover: #B84B1F;
  --orange-tint: #FBEADF;
  --violet: #6E4FA3;
  --violet-pale: #EFE7FA;
  --rose-pale: #F7E4DC;
  --warm-border: #E6DFD4;
  --warm-border-strong: #D6CDBE;
  --warm-gray: #6E685D;
  --sans: "Public Sans", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --serif: "Fraunces", Georgia, "Iowan Old Style", "Times New Roman", serif;

  --card-bg: #FFFDF9;

  /* Sombras cálidas (tokens/shadows.css) */
  --shadow-card: 0 1px 2px rgba(23, 20, 15, .04), 0 8px 20px -14px rgba(23, 20, 15, .14);
  --shadow-raised: 0 2px 4px rgba(23, 20, 15, .05), 0 18px 40px -22px rgba(23, 20, 15, .22);
  --shadow-float: 0 24px 60px -28px rgba(23, 20, 15, .34);
}

* {
  box-sizing: border-box;
}

html, body {
  max-width: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--carbon);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

/* ---------- Progress bar ---------- */

.progress-bar {
  max-width: 1080px;
  margin: 0 auto;
  padding: 32px 24px 0;
  display: flex;
  align-items: center;
  gap: 16px;
}

.progress-step {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--warm-gray);
  flex-shrink: 0;
}

.progress-circle {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1.5px solid var(--warm-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 600;
}

.progress-label {
  font-size: 0.95rem;
  font-weight: 500;
}

.progress-step.active {
  color: var(--carbon);
}

.progress-step.active .progress-circle {
  border-color: var(--orange);
  color: var(--orange);
}

.progress-line {
  flex: 1;
  height: 1px;
  background: var(--warm-border);
}

.progress-line-fill {
  width: 35%;
  height: 100%;
  background: var(--orange);
}

/* ---------- Header ---------- */

.site-header {
  padding: 56px 24px 40px;
  text-align: center;
}

.site-header h1 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 3.2rem;
  letter-spacing: -0.03em;
  color: var(--carbon);
}

.site-header p {
  margin: 12px 0 0;
  color: var(--warm-gray);
  font-size: 1.15rem;
  letter-spacing: 0.01em;
}

/* ---------- Layout ---------- */

.layout {
  display: grid;
  grid-template-columns: 55fr 45fr;
  gap: 56px;
  max-width: 1080px;
  margin: 0 auto;
  padding: 8px 24px 96px;
  align-items: start;
}

.scheduler {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.section-title {
  font-family: var(--serif);
  font-weight: normal;
  font-size: 1.5rem;
  color: var(--carbon);
  margin: 0 0 20px;
  letter-spacing: -0.01em;
}

.section-subtitle {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--warm-gray);
  margin: 32px 0 16px;
}

/* ---------- Month nav ---------- */

.month-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.month-label {
  font-weight: 600;
  color: var(--carbon);
}

.month-arrows {
  display: flex;
  gap: 8px;
}

.arrow-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--warm-border);
  background: #FFFFFF;
  color: var(--warm-gray);
  font-size: 1rem;
  cursor: not-allowed;
  opacity: 0.5;
}

/* ---------- Date cards ---------- */

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

.date-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  width: 78px;
  padding: 14px 8px;
  border-radius: 16px;
  border: 1.5px solid var(--warm-border);
  background: #FFFFFF;
  cursor: pointer;
  font-family: var(--sans);
  transition: border-color 0.18s ease, background-color 0.18s ease;
}

.date-card:hover {
  border-color: var(--orange);
}

.date-card-weekday {
  font-size: 0.78rem;
  color: var(--warm-gray);
  text-transform: lowercase;
}

.date-card-day {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--carbon);
}

.date-card-month {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--warm-gray);
}

.date-card.selected {
  border-color: var(--orange);
  background: rgba(226, 98, 44, 0.07);
}

.date-card.selected .date-card-weekday,
.date-card.selected .date-card-month {
  color: var(--orange);
}

.date-card.selected .date-card-day {
  color: var(--orange);
}

/* ---------- Slot buttons ---------- */

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

.slot-pill {
  border: 1.5px solid var(--warm-border);
  background: #FFFFFF;
  color: var(--carbon);
  padding: 15px 26px;
  border-radius: 14px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  font-family: var(--sans);
  transition: border-color 0.18s ease, background-color 0.18s ease,
    color 0.18s ease, box-shadow 0.18s ease, transform 0.1s ease;
}

.slot-pill:hover {
  border-color: var(--orange);
  background: rgba(226, 98, 44, 0.06);
}

.slot-pill:active {
  transform: scale(0.97);
}

.slot-pill.selected {
  background: var(--orange);
  border-color: var(--orange);
  color: #FFFFFF;
  box-shadow: 0 6px 16px rgba(226, 98, 44, 0.25);
}

.slot-pill.selected:hover {
  background: var(--orange-hover);
  border-color: var(--orange-hover);
}

/* ---------- Summary card ---------- */

.summary-card {
  min-width: 0;
  background: var(--card-bg);
  border: 1px solid var(--warm-border);
  border-radius: 24px;
  padding: 36px;
  box-shadow: 0 20px 48px rgba(23, 20, 15, 0.08);
}

.summary-pro {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 24px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--warm-border);
}

.summary-pro-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--violet);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
}

.summary-pro-name {
  font-weight: 700;
  color: var(--carbon);
}

.summary-pro-role {
  font-size: 0.88rem;
  color: var(--warm-gray);
}

.summary-card h2 {
  font-family: var(--serif);
  margin: 0 0 24px;
  font-size: 1.5rem;
  color: var(--carbon);
  letter-spacing: -0.01em;
}

.summary-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 28px;
}

.summary-meta-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.summary-meta-label {
  font-size: 0.78rem;
  color: var(--warm-gray);
}

.summary-meta-value {
  font-weight: 700;
  color: var(--carbon);
}

.summary-price {
  color: var(--orange);
}

.summary-selection {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: var(--cream);
  border: 1px solid var(--warm-border);
  border-radius: 16px;
  padding: 18px 20px;
  margin-bottom: 24px;
}

.summary-selection-icon {
  width: 20px;
  height: 20px;
  color: var(--orange);
  flex-shrink: 0;
  margin-top: 2px;
}

.summary-selection-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.summary-selection-label {
  font-size: 0.78rem;
  color: var(--warm-gray);
}

.summary-selection-value {
  font-weight: 700;
  color: var(--carbon);
  overflow-wrap: break-word;
  word-break: break-word;
}

/* ---------- CTA ---------- */

.btn-continue {
  width: 100%;
  max-width: 100%;
  padding: 17px;
  border: 1px solid var(--orange);
  border-radius: 999px;
  background: var(--orange);
  color: #FFFFFF;
  font-size: 1rem;
  font-weight: 600;
  font-family: var(--sans);
  cursor: pointer;
  transition: background-color 0.18s ease, opacity 0.18s ease;
}

.btn-continue:hover:not(:disabled) {
  background: var(--orange-hover);
  border-color: var(--orange-hover);
}

.btn-continue:disabled {
  background: transparent;
  border-color: var(--warm-border);
  color: var(--warm-gray);
  cursor: not-allowed;
}

/* ---------- Utility ---------- */

.hidden {
  display: none !important;
}

/* ---------- Datos step ---------- */

.back-link {
  border: none;
  background: none;
  color: var(--warm-gray);
  font-family: var(--sans);
  font-size: 0.9rem;
  cursor: pointer;
  padding: 0;
  margin-bottom: 20px;
}

.back-link:hover {
  color: var(--orange);
}

#booking-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* ---------- Paso 2: resumen y derivación a Encuadrado ---------- */
/* Pensarnos no pide datos personales: muestra el horario elegido y deriva. */

.handoff {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.handoff-summary {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 24px;
  background: var(--cream);
  border: 1px solid var(--warm-border);
  border-radius: 18px;
}

.handoff-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}

.handoff-label {
  font-size: 0.82rem;
  color: var(--warm-gray);
}

.handoff-value {
  font-weight: 700;
  color: var(--carbon);
  text-align: right;
  overflow-wrap: break-word;
}

.handoff-cta {
  display: block;
  text-align: center;
  text-decoration: none;
}

.handoff-note {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--warm-gray);
  text-align: center;
}

/* ---------- Status ---------- */

.status {
  max-width: 100%;
  text-align: center;
  color: var(--warm-gray);
  min-height: 1.2em;
  padding: 0 24px 48px;
  overflow-wrap: break-word;
  word-break: break-word;
}

/* ---------- Mobile ---------- */

@media (max-width: 720px) {
  .progress-bar {
    padding: 24px 20px 0;
  }

  .layout {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 8px 20px 72px;
  }

  .site-header {
    padding: 40px 20px 28px;
  }

  .site-header h1 {
    font-size: 2.4rem;
  }

  .site-header p {
    font-size: 1.05rem;
  }

  .date-card {
    width: 68px;
    padding: 12px 6px;
  }

  .slot-pill {
    padding: 14px 20px;
    flex: 1 1 calc(50% - 6px);
    text-align: center;
  }

  .summary-card {
    padding: 28px 24px;
  }

  .summary-meta {
    grid-template-columns: 1fr 1fr;
    row-gap: 20px;
  }
}

/* =====================================================================
   LANDING — Pensarnos Design System (hand-port de LandingPage.dc.html)
   Prefijo pn- en todo lo nuevo para no chocar con las clases de la agenda.
   ===================================================================== */

html {
  scroll-behavior: smooth;
}

.pn-shell {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 28px 28px;
  font-family: var(--sans);
  color: var(--ink);
}

/* ---------- Reveal on scroll ---------- */

[data-reveal] {
  opacity: 0;
}

[data-reveal].pn-in {
  animation: pn-rise 0.62s cubic-bezier(0.16, 0.84, 0.28, 1) both;
}

@keyframes pn-rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal] {
    opacity: 1;
  }
  [data-reveal].pn-in {
    animation: none;
  }
}

/* ---------- Icons (Lucide via CSS mask, igual técnica que el Design System) ---------- */

.pn-icon {
  display: inline-block;
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  background-color: currentColor;
  -webkit-mask-image: var(--icon-url);
  mask-image: var(--icon-url);
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  vertical-align: -3px;
}

.pn-icon-accent {
  color: var(--orange);
}

.pn-icon-lg {
  width: 26px;
  height: 26px;
}

/* ---------- Nav ---------- */

.pn-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 22px 0;
  flex-wrap: wrap;
}

.pn-nav-brand {
  display: flex;
  flex-direction: column;
  gap: 3px;
  text-decoration: none;
  color: var(--ink);
}

.pn-nav-brand-name {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 26px;
  letter-spacing: -0.015em;
}

.pn-nav-brand-tag {
  font-size: 13px;
  color: var(--warm-gray);
}

.pn-nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  flex-wrap: wrap;
}

.pn-nav-link {
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  color: var(--ink);
  padding-bottom: 6px;
  border-bottom: 2px solid transparent;
  transition: color 0.18s ease, border-color 0.18s ease;
}

.pn-nav-link:hover {
  color: var(--orange);
}

.pn-nav-link.pn-active {
  color: var(--orange);
  border-bottom-color: var(--orange);
}

/* ---------- Buttons ---------- */

.pn-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 22px;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.01em;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.2s cubic-bezier(.2,.6,.2,1), border-color 0.2s cubic-bezier(.2,.6,.2,1), color 0.2s ease;
}

.pn-btn:active {
  transform: scale(0.985);
}

.pn-btn-lg {
  padding: 16px 28px;
  font-size: 15px;
  gap: 12px;
}

.pn-btn-primary {
  background: var(--orange);
  color: #FFFFFF;
  border-color: var(--orange);
}

.pn-btn-primary:hover {
  background: var(--orange-hover);
  border-color: var(--orange-hover);
  color: #FFFFFF;
  text-decoration: none;
}

.pn-btn-secondary {
  background: var(--card-bg);
  color: var(--ink);
  border-color: var(--warm-border-strong);
}

.pn-btn-secondary:hover {
  background: rgba(23, 20, 15, 0.04);
  border-color: var(--ink);
  color: var(--ink);
  text-decoration: none;
}

.pn-btn-inverse {
  background: transparent;
  color: #F5F1EA;
  border-color: rgba(245, 241, 234, 0.34);
}

.pn-btn-inverse:hover {
  background: rgba(245, 241, 234, 0.1);
  border-color: rgba(245, 241, 234, 0.6);
  color: #F5F1EA;
  text-decoration: none;
}

/* ---------- Badge ---------- */

.pn-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  font-size: 13.5px;
  font-weight: 500;
  border-radius: 999px;
  width: max-content;
}

.pn-badge-inverse {
  background: rgba(245, 241, 234, 0.06);
  color: #F5F1EA;
  border: 1px solid rgba(245, 241, 234, 0.24);
}

.pn-badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--orange);
  flex: 0 0 auto;
}

/* ---------- Hero ---------- */

.pn-hero {
  position: relative;
  background: var(--charcoal-soft);
  color: #F5F1EA;
  border-radius: 28px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.02fr 1fr;
  min-height: 540px;
  margin-top: 6px;
}

/* La imagen va primera en el DOM (para que en mobile quede arriba),
   pero en desktop se ubica a la derecha. */
.pn-hero-media {
  grid-column: 2;
  grid-row: 1;
}

.pn-hero-copy {
  grid-column: 1;
  grid-row: 1;
  padding: 52px 40px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  justify-content: center;
  z-index: 2;
  min-width: 0;
}

/* Panel curvo que monta sobre la foto (reemplaza las dos curvas antiguas). */
.pn-hero::after {
  content: "";
  position: absolute;
  top: -2px;
  bottom: -2px;
  left: 0;
  width: calc(52% + 92px);
  background: var(--charcoal-soft);
  border-radius: 0 34% 30% 0 / 0 46% 54% 0;
  z-index: 1;
  pointer-events: none;
}

.pn-hero-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(34px, 4.4vw, 54px);
  line-height: 1.1;
  letter-spacing: -0.015em;
  margin: 0;
  max-width: 15ch;
}

.pn-accent-word {
  color: var(--orange);
}

.pn-hero-lead {
  font-size: 16px;
  line-height: 1.6;
  color: #C3BCB0;
  max-width: 42ch;
  margin: 0;
}

.pn-hero-ctas {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: stretch;
  max-width: 380px;
}

.pn-hero-trust {
  display: grid;
  grid-template-columns: repeat(2, auto);
  gap: 12px 24px;
  justify-content: start;
  padding-top: 8px;
  border-top: 1px solid rgba(245, 241, 234, 0.14);
  margin-top: 4px;
}

.pn-hero-trust span {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  line-height: 1.4;
  color: #C3BCB0;
}

.pn-hero-media {
  position: relative;
  min-height: 320px;
  overflow: hidden;
}

/* Foto del hero. La original es horizontal (6000x3376) y el sujeto queda
   a la izquierda del encuadre, así que object-position lo recentra en cada
   formato. Solo se recorta y reposiciona: nunca se deforma ni se retoca. */
.pn-hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Desktop: panel casi vertical a la derecha — se prioriza rostro, torso
     y postura completa, dejando fuera la pared vacía del lado derecho. */
  object-position: 42% 42%;
}

.pn-photo-placeholder {
  position: absolute;
  inset: 0;
  height: 100%;
  background: linear-gradient(155deg, var(--rose-pale) 0%, var(--orange-tint) 55%, var(--violet-pale) 100%);
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 20px;
}

.pn-photo-placeholder::after {
  content: attr(data-note);
  font-size: 11.5px;
  line-height: 1.4;
  color: var(--warm-gray);
  background: rgba(255, 253, 249, 0.86);
  border-radius: 10px;
  padding: 8px 12px;
  max-width: 220px;
  text-align: right;
}

/* ---------- Botón WhatsApp (verde solo en el glifo, nunca como fondo) ---------- */

.pn-btn-whatsapp {
  background: transparent;
  color: var(--ink);
  border-color: var(--warm-border-strong);
}

.pn-btn-whatsapp .pn-icon {
  background-color: var(--whatsapp);
}

.pn-btn-whatsapp:hover {
  background: rgba(23, 20, 15, 0.04);
  border-color: var(--ink);
  color: var(--ink);
  text-decoration: none;
}

/* ---------- Eyebrow ---------- */

.pn-eyebrow {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
}

.pn-eyebrow-center {
  text-align: center;
}

/* ---------- Feature grid ---------- */

.pn-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 56px;
}

.pn-feature-card {
  background: var(--card-bg);
  border: 1px solid var(--warm-border);
  border-radius: 16px;
  box-shadow: var(--shadow-card);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.pn-feature-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-raised);
}

.pn-feature-card h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 22px;
  line-height: 1.28;
  letter-spacing: -0.01em;
  margin: 0;
}

.pn-feature-card p {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--warm-gray);
  margin: 0;
}

.pn-icon-tile {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  border-radius: 14px;
  background: var(--orange-tint);
  color: var(--orange);
}

.pn-icon-tile-violet {
  background: var(--violet-pale);
  color: var(--violet);
}

.pn-icon-tile-rose {
  background: var(--rose-pale);
  color: var(--orange-hover);
}

.pn-icon-tile-sm {
  width: 38px;
  height: 38px;
  border-radius: 12px;
}

/* ---------- Split panel (Enfoque) ---------- */

.pn-split {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  align-items: stretch;
  background: var(--card-bg);
  border: 1px solid var(--warm-border);
  border-radius: 22px;
  overflow: hidden;
  margin-top: 64px;
  box-shadow: var(--shadow-card);
}

.pn-split-copy {
  padding: 34px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
  min-width: 0;
}

.pn-split-name {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 32px;
  line-height: 1.14;
  letter-spacing: -0.015em;
  margin: 0;
}

.pn-split-copy p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--warm-gray);
  max-width: 48ch;
  margin: 0;
}

.pn-split-facts {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 6px;
  padding-top: 16px;
  border-top: 1px solid var(--warm-border);
}

.pn-split-facts span {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  line-height: 1.45;
  color: var(--ink);
}

.pn-split-facts .pn-icon {
  margin-top: 1px;
}

.pn-split-media {
  position: relative;
  min-height: 300px;
}

/* ---------- Áreas ---------- */

#areas {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 64px;
}

.pn-areas-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 34px;
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin: 0 0 22px;
  text-align: center;
}

.pn-areas-title em {
  font-style: italic;
}

.pn-areas {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.pn-tag {
  display: flex;
  align-items: center;
  gap: 12px;
  /* min-height uniforma la retícula cuando un texto ocupa 2–3 líneas. */
  min-height: 62px;
  padding: 12px 16px 12px 12px;
  background: var(--card-bg);
  border: 1px solid var(--warm-border);
  border-radius: 14px;
  box-shadow: var(--shadow-card);
  font-family: var(--sans);
  font-weight: 500;
  font-size: 14.5px;
  line-height: 1.35;
  color: var(--ink);
  transition: border-color 0.18s ease, transform 0.18s ease;
}

.pn-tag:hover {
  border-color: var(--warm-border-strong);
  transform: translateY(-1px);
}

/* ---------- Cómo funciona ---------- */

#como-funciona {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-top: 56px;
}

.pn-steps {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 12px;
  align-items: center;
}

.pn-step-card {
  background: var(--cream-2);
  border: 1px solid var(--warm-border);
  border-radius: 16px;
  padding: 22px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.pn-step-num {
  width: 52px;
  height: 52px;
  flex: 0 0 auto;
  border-radius: 999px;
  background: var(--orange);
  color: #FFFFFF;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: 26px;
  line-height: 1;
}

.pn-step-text {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.pn-step-text h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 22px;
  line-height: 1.28;
  margin: 0;
}

.pn-step-text p {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--warm-gray);
  margin: 0;
}

.pn-step-connector {
  border-top: 2px dotted var(--orange);
  width: 34px;
  opacity: 0.6;
}

/* ---------- FAQ ---------- */

.pn-faq {
  display: block;
  max-width: 780px;
  margin: 64px auto 0;
}

.pn-faq-copy {
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-width: 0;
}

.pn-faq-copy h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 36px;
  line-height: 1.12;
  letter-spacing: -0.015em;
  margin: 0;
}

.pn-accordion {
  background: var(--card-bg);
  border: 1px solid var(--warm-border);
  border-radius: 16px;
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.pn-accordion-item {
  border-top: 1px solid var(--warm-border);
}

.pn-accordion-item:first-child {
  border-top: none;
}

.pn-accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 18px;
  color: var(--ink);
}

.pn-accordion-icon {
  width: 26px;
  height: 26px;
  flex: 0 0 auto;
  border-radius: 999px;
  background: var(--orange-tint);
  color: var(--orange);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1;
  transition: background-color 0.18s ease, color 0.18s ease;
}

.pn-accordion-item.pn-open .pn-accordion-icon {
  background: var(--orange);
  color: #FFFFFF;
}

.pn-accordion-panel {
  display: none;
  padding: 0 24px 22px;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--warm-gray);
  max-width: 62ch;
  margin: 0;
}

.pn-accordion-item.pn-open .pn-accordion-panel {
  display: block;
}


/* ---------- Reservar (intro editorial + agenda real) ---------- */

.pn-reservar {
  margin-top: 56px;
}

.pn-reservar-intro {
  max-width: 640px;
  margin: 0 auto 40px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.pn-reservar-intro h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 40px;
  line-height: 1.12;
  letter-spacing: -0.015em;
  margin: 0;
}

.pn-reservar-intro p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--warm-gray);
  margin: 0;
}

/* Integración: la agenda ya vive dentro de .pn-shell, así que se le quitan
   el ancho máximo y los paddings laterales propios para no duplicarlos.
   Sus estilos funcionales (date-card, slot-pill, summary-card, form…) no se tocan. */

#reservar .progress-bar {
  max-width: none;
  padding: 0 0 8px;
  margin-bottom: 28px;
}

#reservar .layout {
  max-width: none;
  padding: 0;
  gap: 48px;
}

#reservar .status {
  padding: 16px 0 0;
}

/* ---------- Footer ---------- */

.pn-footer {
  background: var(--charcoal-soft);
  color: #F5F1EA;
  border-radius: 22px;
  padding: 38px 34px;
  margin-top: 64px;
}

.pn-footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 34px;
}

.pn-footer-brand {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}

.pn-footer-name {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 26px;
  letter-spacing: -0.015em;
}

.pn-footer-tag {
  font-size: 13px;
  color: #B9B2A6;
}

.pn-footer-brand p {
  font-size: 14px;
  line-height: 1.6;
  color: #B9B2A6;
  max-width: 34ch;
  margin: 0;
}

.pn-footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}

.pn-footer-col-title {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
}

.pn-footer-col a {
  font-size: 14px;
  color: #B9B2A6;
  text-decoration: none;
}

.pn-footer-col a:hover {
  color: #F5F1EA;
  text-decoration: underline;
}

.pn-footer-contact {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: #B9B2A6;
}

.pn-footer-socials {
  display: flex;
  gap: 10px;
  margin-top: 6px;
}

.pn-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(245, 241, 234, 0.24);
  color: #F5F1EA;
  text-decoration: none;
  transition: background-color 0.18s ease, border-color 0.18s ease;
}

.pn-icon-btn:hover {
  background: rgba(245, 241, 234, 0.1);
  border-color: rgba(245, 241, 234, 0.6);
}

.pn-footer-legal {
  margin-top: 30px;
  padding-top: 18px;
  border-top: 1px solid rgba(245, 241, 234, 0.16);
  font-size: 13px;
  color: #B9B2A6;
  text-align: center;
}

/* ---------- Floating CTA ---------- */

.pn-fab {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 40;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  background: var(--whatsapp);
  color: #FFFFFF;
  text-decoration: none;
  border-radius: 999px;
  box-shadow: var(--shadow-float);
  transition: transform 0.18s ease;
}

.pn-fab:hover {
  transform: translateY(-2px);
  text-decoration: none;
  color: #FFFFFF;
}

.pn-fab-glyph {
  width: 27px;
  height: 27px;
}

/* ---------- Landing responsive ---------- */

@media (max-width: 900px) {
  /* Mobile/tablet: foto arriba, panel carbón curvo montado encima. */
  .pn-hero {
    grid-template-columns: 1fr;
    min-height: 0;
    background: transparent;
  }

  .pn-hero::after {
    display: none;
  }

  .pn-hero-media {
    grid-column: 1;
    grid-row: 1;
    min-height: 340px;
  }

  /* Mobile: franja apaisada. Se sube el encuadre para centrar rostro y
     torso, ya que el panel carbón monta sobre el borde inferior. */
  .pn-hero-photo {
    object-position: 44% 30%;
  }

  .pn-hero-copy {
    grid-column: 1;
    grid-row: 2;
    position: relative;
    margin-top: -60px;
    padding: 26px 22px 22px;
    gap: 13px;
    background: var(--charcoal-soft);
    border-radius: 0 68% 0 0 / 0 60px 0 0;
    z-index: 2;
  }

  .pn-hero-title {
    font-size: 28px;
    line-height: 1.14;
    max-width: none;
  }

  .pn-hero-lead {
    font-size: 14.5px;
    line-height: 1.5;
  }

  .pn-hero-ctas {
    max-width: none;
    gap: 9px;
  }

  .pn-hero-ctas .pn-btn {
    padding: 12px 20px;
  }

  .pn-hero-trust {
    padding-top: 12px;
    gap: 7px 14px;
    margin-top: 0;
  }

  .pn-grid-4 {
    grid-template-columns: 1fr 1fr;
  }

  .pn-steps {
    grid-template-columns: 1fr;
  }

  .pn-step-connector {
    display: none;
  }

  .pn-areas {
    grid-template-columns: 1fr 1fr;
  }

  .pn-split {
    grid-template-columns: 1fr;
  }

  .pn-split-media {
    min-height: 220px;
    order: -1;
  }

  .pn-faq {
    grid-template-columns: 1fr;
  }

  .pn-shell {
    padding: 0 18px 22px;
  }

  .pn-footer-grid {
    grid-template-columns: 1fr 1fr;
    row-gap: 28px;
  }
}

@media (max-width: 640px) {
  .pn-grid-4 {
    grid-template-columns: 1fr;
  }

  /* Áreas: se mantienen en 2 columnas en mobile (tarjetas compactas). */
  .pn-areas {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .pn-tag {
    font-size: 13.5px;
    padding: 10px 12px 10px 10px;
    gap: 10px;
  }

  .pn-icon-tile-sm {
    width: 34px;
    height: 34px;
  }

  .pn-areas-title {
    font-size: 28px;
  }

  /* Nav compacto: brand + CTA en una fila, para que el hero entre casi
     de inmediato. Los enlaces de sección siguen disponibles en el footer. */
  .pn-nav {
    flex-wrap: nowrap;
    gap: 12px;
    padding: 16px 0;
  }

  .pn-nav-links {
    display: none;
  }

  .pn-nav-brand-name {
    font-size: 22px;
  }

  .pn-nav-brand-tag {
    font-size: 11.5px;
  }

  .pn-nav .pn-btn-primary {
    padding: 10px 16px;
    font-size: 14px;
  }

  .pn-hero-ctas .pn-btn {
    width: 100%;
  }

  .pn-hero-trust {
    grid-template-columns: 1fr 1fr;
    gap: 10px 16px;
  }

  .pn-footer-grid {
    grid-template-columns: 1fr;
    row-gap: 26px;
  }

  .pn-reservar-intro h2 {
    font-size: 30px;
  }

  .pn-split-name {
    font-size: 27px;
  }

  .pn-fab {
    right: 16px;
    bottom: 16px;
    width: 48px;
    height: 48px;
  }

  .pn-fab-glyph {
    width: 25px;
    height: 25px;
  }

  /* El FAB no debe tapar el CTA final de la agenda ni el footer. */
  .pn-footer {
    padding-bottom: 80px;
  }
}

/* =====================================================================
   PÁGINAS LEGALES (privacidad.html, terminos.html)
   ===================================================================== */

.pn-legal {
  max-width: 720px;
  margin: 48px auto 80px;
  padding: 0 4px;
}

.pn-legal h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(32px, 4.4vw, 44px);
  line-height: 1.12;
  letter-spacing: -0.015em;
  margin: 10px 0 6px;
}

.pn-legal-updated {
  font-size: 13.5px;
  color: var(--warm-gray);
  margin: 0 0 32px;
}

.pn-legal > p {
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--ink);
  margin: 0 0 28px;
}

.pn-legal h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 22px;
  line-height: 1.3;
  letter-spacing: -0.01em;
  margin: 40px 0 12px;
  padding-top: 24px;
  border-top: 1px solid var(--warm-border);
}

.pn-legal h2:first-of-type {
  margin-top: 8px;
  padding-top: 0;
  border-top: none;
}

.pn-legal p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink);
  margin: 0 0 14px;
}

.pn-legal ul {
  margin: 0 0 14px;
  padding-left: 22px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink);
}

.pn-legal li {
  margin-bottom: 6px;
}

.pn-legal a {
  color: var(--orange);
  text-decoration: underline;
  text-decoration-color: rgba(226, 98, 44, 0.35);
  text-underline-offset: 2px;
}

.pn-legal a:hover {
  text-decoration-color: var(--orange);
}

.pn-legal em {
  color: var(--warm-gray);
}

@media (max-width: 640px) {
  .pn-legal {
    margin: 32px auto 64px;
  }

  .pn-legal h2 {
    font-size: 19px;
    margin-top: 32px;
  }
}
