/* Estilos para las páginas públicas (formularios de cliente) — colores
   EXACTOS del CSS real de hectorsalazarphotography.com (Hector lo mandó
   2026-09-09), no una aproximación. Se redefinen aquí, solo para estas
   páginas (no afecta el panel interno, que sigue con su dorado/trigo). */

body.pf-body {
  --bg: #FDF9F7;        /* fondo rosa-crema del sitio real */
  --surface-2: #F6F1EF; /* variante suave del fondo, para cajas de resumen */
  --ink: #111111;       /* títulos */
  --ink-soft: #555555;  /* texto de párrafo */
  --ink-faint: #8A8A8A; /* texto secundario/notas */
  --line: #E6DED9;      /* líneas y bordes (hr, divider) */
  --rose: #C98F84;      /* acento — botones, links, selección */
  --rose-dark: #B8786E; /* estado hover/activo del acento */
  --rose-soft: #F3E4E0; /* fondo suave del acento (tarjetas seleccionadas) */
  min-height: 100vh; padding: 28px 14px 60px;
}
.pf-shell { max-width: 560px; margin: 0 auto; }
.pf-logo-wrap { text-align: center; margin-bottom: 14px; }
.pf-logo { max-width: 220px; width: 62%; height: auto; }

.pf-footer { text-align: center; margin-top: 32px; padding-top: 16px; border-top: 1px solid var(--line); }
.pf-footer-title { color: #111111; font-weight: 600; font-size: 13px; margin: 0 0 4px; }
.pf-footer-copy { color: #555555; font-size: 12px; margin: 0; }

/* Interruptor Español / English, arriba del formulario — igual que el que
   usa el sitio real de Hector en su header. */
.pf-langtoggle { display: flex; justify-content: center; gap: 0; margin-bottom: 16px; }
.pf-langtoggle a {
  border: 1.5px solid var(--line); background: var(--surface); color: var(--ink-soft);
  font-size: 12.5px; font-weight: 700; padding: 7px 18px; text-decoration: none;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.pf-langtoggle a:first-child { border-radius: 20px 0 0 20px; border-right: none; }
.pf-langtoggle a:last-child { border-radius: 0 20px 20px 0; }
.pf-langtoggle a.active { background: var(--rose); border-color: var(--rose); color: #fff; }
.pf-langtoggle a:not(.active):hover { color: var(--rose); border-color: var(--rose); }

.pf-divider { border: none; border-top: 1px solid var(--line); margin: 0 0 22px; }

.pf-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px;
  box-shadow: 0 1px 2px rgba(40, 32, 12, 0.05); padding: 26px 22px 28px;
}
.pf-title { font-size: 24px; margin: 0 0 6px; text-align: center; }
.pf-sub { font-size: 14px; color: var(--ink-soft); text-align: center; margin: 0 0 26px; line-height: 1.5; }

.pf-section-title {
  font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em;
  color: var(--rose); margin: 22px 0 4px;
}
.pf-section-title:first-of-type { margin-top: 4px; }

/* Esta página usa el acento rosa/terracota de la marca en vez del dorado
   del panel interno — botón principal y focos de campos incluidos. */
.pf-shell .btn-primary { background: var(--rose); border-color: var(--rose); color: #fff; }
.pf-shell .btn-primary:hover { background: var(--rose-dark); border-color: var(--rose-dark); }
.pf-form .field input:focus, .pf-form .field select:focus, .pf-form .field textarea:focus {
  outline: 2px solid var(--rose); outline-offset: 1px; border-color: var(--rose);
}

.pf-form { display: flex; flex-direction: column; gap: 14px; }
.pf-form .field label { display: flex; gap: 4px; }
.pf-req { color: var(--sem-bad); }

.pf-summary {
  background: var(--surface-2); border-radius: 10px; padding: 12px 14px; margin-bottom: 4px;
  font-size: 12.5px; color: var(--ink-soft);
}

/* Grupos de opciones grandes, fáciles de tocar con el dedo */
.pf-choice-group { display: flex; flex-wrap: wrap; gap: 10px; }
.pf-choice { position: relative; flex: 1 1 130px; min-width: 100px; }
.pf-choice input {
  position: absolute; inset: 0; opacity: 0; margin: 0; width: 100%; height: 100%; cursor: pointer;
}
.pf-choice span {
  display: flex; align-items: center; justify-content: center; text-align: center;
  min-height: 50px; padding: 12px 10px; border: 1.5px solid var(--line); border-radius: 10px;
  font-weight: 600; font-size: 14px; color: var(--ink-soft); background: var(--surface);
  transition: border-color .15s ease, background .15s ease, color .15s ease;
}
.pf-choice input:checked + span { border-color: var(--rose); background: var(--rose-soft); color: var(--rose); }
.pf-choice input:focus-visible + span { outline: 2px solid var(--rose); outline-offset: 2px; }

.pf-conditional {
  border-left: 2px solid var(--line); padding-left: 14px; margin-left: 2px;
  display: flex; flex-direction: column; gap: 14px;
}
.pf-hidden { display: none !important; }

.pf-submit { margin-top: 8px; }
.pf-submit .btn { width: 100%; justify-content: center; padding: 13px 16px; font-size: 15px; }

.pf-note { font-size: 12px; color: var(--ink-faint); text-align: center; margin-top: 14px; }

.pf-success { text-align: center; padding: 20px 6px; }
.pf-success-mark {
  width: 56px; height: 56px; border-radius: 50%; background: var(--sem-good-soft); color: var(--sem-good);
  display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; font-size: 26px;
}
.pf-success h1 { font-size: 22px; margin: 0 0 8px; }
.pf-success p { font-size: 14px; color: var(--ink-soft); line-height: 1.5; }

@media (max-width: 420px) {
  .pf-card { padding: 22px 16px 26px; border-radius: 14px; }
  .pf-choice { flex: 1 1 100%; }
}
