/* =========================================================
   Prizma Care — hoja de estilos
   Mismos colores, tipografías y medidas del sitio original,
   llevados de estilos en línea a clases.
   ========================================================= */

/* ---------- Fuentes (alojadas en el propio sitio) ---------- */
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../assets/fonts/fraunces-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../assets/fonts/fraunces-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../assets/fonts/manrope-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../assets/fonts/manrope-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Paleta ---------- */
:root {
  --bg: #FBF8F2;
  --surface: #FFFFFF;
  --ink: #2A2A28;
  --ink-dark: #232320;
  --ink-strong: #3E3A33;
  --text: #5A5548;
  --text-soft: #6B665C;
  --text-faint: #8C877D;
  --label: #A6A090;
  --line: #ECE7DA;
  --line-soft: #F0EBE0;
  --line-input: #E0DACB;
  --line-btn: #D9D3C4;
  --chip-bg: #EFEAE0;
  --hover-border: #D9BE93;

  --green: #6FBF9B;
  --yellow: #F4C95D;
  --orange: #EF9B5B;
  --coral: #E2604F;
  --teal: #2B6E63;
  --teal-dark: #1D4B44;

  --on-green: #12352E;
  --on-yellow: #4A3808;
  --on-orange: #4A2408;

  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Manrope', system-ui, sans-serif;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  overflow-x: hidden;
}
img { max-width: 100%; }
a { color: var(--teal); }
a:hover { color: var(--teal-dark); }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 3px;
}
section[id] { scroll-margin-top: 84px; }
p { text-wrap: pretty; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- Animaciones ---------- */
@keyframes drift {
  0% { transform: translate(0, 0) rotate(0deg); }
  50% { transform: translate(-2%, 3%) rotate(2deg); }
  100% { transform: translate(0, 0) rotate(0deg); }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- Estructura ---------- */
.pz-shell { max-width: 1200px; margin: 0 auto; padding: 0 56px; }
.pz-section { padding: 104px 0; }
.pz-section--white { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pz-section--tint { background: #F6F2EA; }

.pz-eyebrow {
  font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--teal); margin: 0 0 18px;
}
.pz-h1 {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(38px, 5vw, 64px); line-height: 1.05; letter-spacing: -0.02em;
  margin: 0 0 24px; text-wrap: balance;
}
.pz-h2 {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(28px, 3.4vw, 42px); line-height: 1.12; letter-spacing: -0.015em;
  margin: 0 0 24px; max-width: 820px; text-wrap: balance;
}
.pz-lead {
  font-size: 17.5px; line-height: 1.7; color: var(--text);
  max-width: 760px; margin: 0 0 48px;
}
.pz-body { font-size: 17px; line-height: 1.7; color: var(--text); margin: 0; }

.pz-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.pz-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.pz-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.pz-2 > *, .pz-3 > *, .pz-4 > * { min-width: 0; }

/* ---------- Botones ---------- */
.pz-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-body); font-weight: 600; font-size: 15px;
  padding: 14px 26px; border-radius: 99px; text-decoration: none; cursor: pointer;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}
.pz-btn--dark { background: var(--ink-dark); color: var(--bg); border: 1px solid var(--ink-dark); }
.pz-btn--dark:hover { background: var(--teal); border-color: var(--teal); color: var(--bg); }
.pz-btn--line { background: transparent; color: var(--ink); border: 1px solid var(--line-btn); }
.pz-btn--line:hover { border-color: var(--hover-border); color: var(--ink); }

/* ---------- Navegación ---------- */
.pz-nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 248, 242, 0.88);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.pz-navbar {
  height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.pz-brand { display: flex; align-items: center; text-decoration: none; color: var(--ink); }
.pz-logo { height: 100px; width: auto; margin: -14px 0; display: block; }
.pz-nav-links { display: flex; align-items: center; gap: 30px; font-size: 15px; font-weight: 500; }
.pz-nav-links a { color: var(--text); text-decoration: none; white-space: nowrap; transition: color 160ms ease; }
.pz-nav-links a:hover, .pz-nav-links a.is-active { color: #1F2A33; }
.pz-nav-links a.is-active:not(.pz-nav-cta) { box-shadow: inset 0 -2px 0 var(--green); }
.pz-nav-links .pz-nav-cta { color: var(--bg); background: var(--ink-dark); padding: 10px 20px; border-radius: 99px; }
.pz-nav-links .pz-nav-cta:hover { color: var(--bg); background: var(--teal); }

/* ---------- Hero ---------- */
.pz-hero { position: relative; padding: 96px 0 104px; overflow: hidden; }
.pz-hero__glow {
  position: absolute; top: -24%; right: -10%; width: 660px; height: 660px; border-radius: 50%;
  background: conic-gradient(from 200deg, var(--green), var(--yellow), var(--orange), var(--coral), var(--green));
  opacity: 0.15; filter: blur(3px); animation: drift 24s ease-in-out infinite; pointer-events: none;
}
.pz-hero .pz-shell { position: relative; z-index: 2; }
.pz-hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.pz-hero-grid > * { min-width: 0; }
.pz-hero__copy { animation: fadeUp 0.8s ease both; }
.pz-hero__card { animation: fadeUp 0.9s 0.12s ease both; }
.pz-pill {
  display: inline-flex; align-items: center; gap: 9px; background: var(--chip-bg);
  padding: 8px 16px; border-radius: 99px; font-size: 13px; color: var(--text-soft); margin-bottom: 26px;
}
.pz-pill__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); flex-shrink: 0; }
.pz-hero__sub {
  font-size: 19px; line-height: 1.6; color: var(--ink-strong); font-weight: 600;
  max-width: 540px; margin: 0 0 16px;
}
.pz-hero__text { font-size: 17px; line-height: 1.65; color: var(--text); max-width: 540px; margin: 0 0 34px; }
.pz-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Tarjeta "Mirada integral" */
.pz-panel { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 32px; }
.pz-panel__label { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--label); margin-bottom: 20px; }
.pz-bars { display: flex; flex-direction: column; gap: 14px; margin: 0; padding: 0; list-style: none; }
.pz-bar { display: flex; align-items: center; gap: 14px; }
.pz-bar__dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.pz-bar__name { font-size: 15px; color: var(--ink-strong); flex: 1; }
.pz-bar__fill { height: 8px; border-radius: 99px; }
.pz-panel__foot { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line-soft); display: flex; flex-direction: column; gap: 10px; }
.pz-panel__claim {
  display: flex; align-items: baseline; gap: 9px; font-family: var(--font-display);
  font-size: 17.5px; line-height: 1.35; font-weight: 600; color: var(--ink);
}
.pz-panel__claim::before {
  content: ""; width: 4px; height: 17px; border-radius: 99px; background: var(--coral);
  flex-shrink: 0; transform: translateY(2px);
}
.pz-panel__note { font-size: 13px; line-height: 1.5; color: var(--text-faint); padding-left: 13px; }

/* Colores de dimensión (se usan en barras, chips y niveles) */
.c-green { background: var(--green); }
.c-yellow { background: var(--yellow); }
.c-orange { background: var(--orange); }
.c-coral { background: var(--coral); }
.c-teal { background: var(--teal); }
.t-coral { color: var(--coral); }

/* ---------- Qué somos ---------- */
.pz-about { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; }
.pz-about > * { min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.pz-quote {
  border-left: 3px solid var(--green); padding: 6px 0 6px 26px; margin: 48px 0 0; max-width: 820px;
}
.pz-quote p { font-family: var(--font-display); font-size: 20px; line-height: 1.5; color: var(--ink); margin: 0; }

/* ---------- Tarjetas ---------- */
.pz-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 30px 32px;
  transition: border-color 200ms ease, transform 200ms ease, box-shadow 200ms ease;
}
.pz-card:hover { border-color: var(--hover-border); transform: translateY(-2px); box-shadow: 0 10px 26px -16px rgba(43, 58, 74, 0.22); }
.pz-card--alert { background: #FFF6F3; border-color: #F3D5CD; }
.pz-card--alert:hover { border-color: #F3D5CD; transform: none; box-shadow: none; }
.pz-card__row { display: flex; gap: 16px; align-items: flex-start; }
.pz-card__row > div:last-child { min-width: 0; }
.pz-card__title {
  font-family: var(--font-display); font-size: 20px; font-weight: 600; line-height: 1.25;
  margin: 0 0 11px;
}
.pz-card p { font-size: 15.5px; line-height: 1.68; color: var(--text); margin: 0; }
.pz-card p + p { margin-top: 12px; }
.pz-stack { display: flex; flex-direction: column; gap: 20px; }

.pz-num {
  width: 38px; height: 38px; border-radius: 50%; flex-shrink: 0;
  font-family: var(--font-display); font-weight: 600; font-size: 16px;
  display: flex; align-items: center; justify-content: center;
}
.pz-num.c-green { color: var(--on-green); }
.pz-num.c-yellow { color: var(--on-yellow); }
.pz-num.c-orange { color: var(--on-orange); }
.pz-num.c-coral, .pz-num.c-teal { color: #FFFFFF; }

/* Bloque oscuro (frase destacada) */
.pz-dark { background: var(--ink-dark); color: var(--bg); border-radius: 22px; padding: 44px 48px; margin-top: 56px; }
.pz-stripes { display: flex; gap: 8px; margin-bottom: 22px; }
.pz-stripes span { width: 34px; height: 7px; border-radius: 99px; }
.pz-dark p {
  font-family: var(--font-display); font-size: clamp(20px, 2.4vw, 29px); line-height: 1.35;
  font-weight: 400; margin: 0; max-width: 900px;
}

/* ---------- Esquema del modelo ---------- */
.pz-model {
  background: var(--surface); border: 1px solid var(--line); border-radius: 22px;
  padding: 40px 40px 36px; margin-top: 56px; text-align: center;
}
.pz-model__brand { font-family: var(--font-display); font-size: 22px; font-weight: 600; letter-spacing: 0.04em; margin: 0; }
.pz-model__title { font-family: var(--font-display); font-size: 19px; font-weight: 600; margin: 8px 0 4px; }
.pz-model__sub { font-size: 14.5px; color: var(--text-soft); margin: 0; }
.pz-model__arrow { display: flex; justify-content: center; color: var(--label); margin: 18px 0; }
.pz-model__parts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; text-align: center; }
.pz-model__part { background: var(--bg); border: 1px solid var(--line); border-radius: 16px; padding: 22px 20px; min-width: 0; }
.pz-model__icon {
  width: 44px; height: 44px; border-radius: 50%; margin: 0 auto 12px;
  display: flex; align-items: center; justify-content: center;
}
.pz-model__icon.c-green { color: var(--on-green); }
.pz-model__icon.c-teal { color: #FFFFFF; }
.pz-model__part h4 { font-family: var(--font-display); font-size: 19px; font-weight: 600; margin: 0 0 6px; }
.pz-model__part p { font-size: 14.5px; line-height: 1.55; color: var(--text); margin: 0; }
.pz-model__cycle { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px 10px; margin: 12px 0 0; padding: 0; list-style: none; font-size: 14.5px; color: var(--text); }
.pz-model__cycle li { display: flex; align-items: center; gap: 10px; }
.pz-model__cycle li + li::before { content: "→"; color: var(--label); }
.pz-model__caption { font-size: 15px; line-height: 1.6; color: var(--text); max-width: 680px; margin: 26px auto 0; }

/* ---------- MIRA ---------- */
.pz-chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 0; padding: 0; list-style: none; }
.pz-chip {
  display: inline-flex; align-items: center; gap: 8px; background: var(--bg); border: 1px solid var(--line);
  border-radius: 99px; padding: 8px 15px; font-size: 14px; color: var(--ink-strong);
}
.pz-chip span { width: 8px; height: 8px; border-radius: 50%; }
.pz-levels { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 16px; margin: 16px 0; padding: 0; list-style: none; }
.pz-levels li { font-size: 13.5px; line-height: 1.4; font-weight: 600; color: var(--ink-strong); min-width: 0; }
.pz-levels li::before { content: ""; display: block; height: 6px; border-radius: 99px; margin-bottom: 9px; background: var(--lvl); }
.pz-stages { display: flex; flex-direction: column; gap: 10px; margin-top: 14px; }
.pz-stage-item { background: var(--bg); border-radius: 12px; padding: 14px 16px; }
.pz-stage-item strong { display: block; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--teal); margin-bottom: 4px; }
.pz-stage-item span { font-size: 15px; line-height: 1.55; color: var(--ink-strong); }

/* ---------- Cómo acompañamos (pasos) ---------- */
.pz-steps { display: flex; flex-direction: column; gap: 16px; margin: 0 auto; max-width: 860px; padding: 0; list-style: none; }
.pz-step {
  display: flex; gap: 18px; align-items: flex-start; background: var(--surface); border: 1px solid var(--line);
  border-radius: 16px; padding: 22px 26px; min-width: 0;
  transition: border-color 200ms ease, transform 200ms ease, box-shadow 200ms ease;
}
.pz-step:hover { border-color: var(--hover-border); transform: translateY(-2px); box-shadow: 0 8px 22px -14px rgba(43, 58, 74, 0.22); }
.pz-step .pz-num { width: 40px; height: 40px; font-size: 17px; }
.pz-step h3 { font-family: var(--font-display); font-size: 18.5px; font-weight: 600; line-height: 1.25; margin: 0 0 7px; }
.pz-step p { font-size: 14.5px; line-height: 1.65; color: var(--text-soft); margin: 0; }
.pz-note {
  display: flex; gap: 14px; align-items: flex-start; max-width: 860px; margin: 28px auto 0;
  background: var(--chip-bg); border-radius: 16px; padding: 18px 22px;
  font-size: 15px; line-height: 1.6; color: var(--ink-strong);
}
.pz-note svg { flex-shrink: 0; color: var(--teal); margin-top: 2px; }

/* ---------- El valor para tu comunidad ---------- */
.pz-value { border-top: 4px solid var(--accent, var(--green)); padding: 30px 28px; }
.pz-value h3 { font-family: var(--font-display); font-size: 21px; font-weight: 600; line-height: 1.25; margin: 0 0 12px; }
.pz-value p { font-size: 15.5px; line-height: 1.65; }

/* ---------- Contacto ---------- */
.pz-contact { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px; align-items: start; }
.pz-contact > * { min-width: 0; }
.pz-contact__info { display: flex; flex-direction: column; gap: 14px; margin-top: 32px; }
.pz-contact__mail { font-size: 16.5px; font-weight: 600; text-decoration: none; }
.pz-contact__place { font-size: 15px; color: var(--text-soft); }
.pz-tagline { font-family: var(--font-display); font-size: 22px; font-weight: 700; color: var(--ink); margin: 36px 0 0; }
.pz-form { background: var(--bg); border: 1px solid var(--line); border-radius: 22px; padding: 34px; display: flex; flex-direction: column; gap: 18px; }
.pz-field { display: flex; flex-direction: column; gap: 8px; font-size: 13.5px; font-weight: 600; color: var(--text); }
.pz-field input, .pz-field textarea {
  font-family: var(--font-body); font-size: 15px; font-weight: 400; padding: 13px 15px;
  border: 1px solid var(--line-input); border-radius: 11px; background: var(--surface); color: var(--ink);
}
.pz-field textarea { resize: vertical; }
.pz-field input[aria-invalid="true"] { border-color: var(--coral); }
.pz-form .pz-btn { width: 100%; padding: 15px; }
.pz-form__status { font-size: 14px; line-height: 1.5; color: var(--text-soft); margin: 0; min-height: 1.5em; }
.pz-form__status.is-error { color: #B23A2B; }

/* ---------- Footer ---------- */
.pz-footer { background: var(--ink-dark); color: #C9C4B8; padding: 48px 0; }
.pz-footer .pz-shell { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.pz-footer__brand { font-family: var(--font-display); font-size: 19px; font-weight: 600; color: var(--bg); }
.pz-footer__brand span { color: var(--green); }
.pz-footer small { font-size: 13.5px; }

/* ---------- Responsive ---------- */
@media (max-width: 1150px) {
  .pz-3 { grid-template-columns: 1fr; }
  .pz-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pz-card { padding: 26px; }
  .pz-nav-links { gap: 20px; font-size: 14.5px; }
}
@media (max-width: 900px) {
  .pz-shell { padding: 0 22px; }
  .pz-section { padding: 64px 0; }
  .pz-hero { padding: 64px 0; }
  .pz-hero-grid, .pz-2, .pz-4, .pz-about, .pz-contact, .pz-model__parts { grid-template-columns: 1fr; gap: 20px; }
  .pz-navbar { height: auto; flex-direction: column; align-items: stretch; gap: 0; padding-top: 8px; padding-bottom: 10px; }
  .pz-logo { height: 84px; margin: -10px 0; }
  .pz-nav-links { gap: 12px; font-size: 14px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; padding: 4px 16px 2px; margin: 0 -22px; }
  .pz-nav-links::-webkit-scrollbar { display: none; }
  .pz-nav-links .pz-nav-cta { padding: 7px 12px; }
  .pz-panel, .pz-form, .pz-model { padding: 26px; }
  .pz-dark { padding: 32px 26px; }
  .pz-actions .pz-btn { flex: 1 1 100%; }
}
@media (max-width: 380px) {
  .pz-nav-links { gap: 10px; font-size: 13px; padding-left: 14px; padding-right: 14px; }
}

/* ---------- Valores por elemento (sin estilos en línea) ---------- */
.w-30 { width: 30%; } .w-38 { width: 38%; } .w-44 { width: 44%; }
.w-56 { width: 56%; } .w-68 { width: 68%; } .w-74 { width: 74%; }
.lvl-green { --lvl: var(--green); } .lvl-yellow { --lvl: var(--yellow); }
.lvl-orange { --lvl: var(--orange); } .lvl-coral { --lvl: var(--coral); }
.pz-value--green { --accent: var(--green); } .pz-value--orange { --accent: var(--orange); }
.pz-value--yellow { --accent: var(--yellow); } .pz-value--teal { --accent: var(--teal); }
