/* Estilos compartidos de las páginas de sector y casos de éxito (11/10/2026) */
:root {
  --navy: oklch(0.28 0.095 250); --navy-deep: oklch(0.18 0.09 250);
  --teal: oklch(0.68 0.16 200); --teal-dark: oklch(0.55 0.15 200);
  --bg: oklch(0.97 0.007 250); --surface: oklch(0.94 0.010 250);
  --ink: oklch(0.18 0.09 250); --ink-muted: oklch(0.42 0.04 250);
  --border: oklch(0.90 0.008 250);
  --font: 'Epilogue', system-ui, sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); background: var(--bg); color: var(--ink); line-height: 1.65; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img { max-width: 100%; display: block; }

.p-nav { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; justify-content: space-between;
  padding: 14px 5%; background: oklch(1 0 0 / 0.95); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); }
.p-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.p-logo img { height: 38px; }
.p-logo span { font-weight: 800; font-size: 1.15rem; color: var(--teal); letter-spacing: -0.025em; }
.p-nav nav { display: flex; align-items: center; gap: 26px; }
.p-nav nav a { text-decoration: none; font-size: 0.92rem; color: var(--ink-muted); }
.p-nav nav a:hover { color: var(--teal-dark); }
.p-nav nav a.p-cta { background: var(--teal); color: oklch(0.1 0.04 265); font-weight: 700; padding: 10px 18px; border-radius: 8px; }

.p-hero { background: var(--navy-deep); color: #fff; padding: clamp(4rem, 9vw, 7rem) 5% clamp(3.5rem, 7vw, 5.5rem); }
.p-hero .in { max-width: 1100px; margin: 0 auto; }
.p-kicker { display: inline-block; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--teal); margin-bottom: 1rem; }
.p-hero h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); line-height: 1.06; letter-spacing: -0.03em; font-weight: 800; max-width: 18ch; margin-bottom: 1.2rem; text-wrap: balance; }
.p-hero p { font-size: clamp(1.02rem, 1.5vw, 1.18rem); color: oklch(0.88 0.02 250); max-width: 60ch; margin-bottom: 2rem; }
.p-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.p-btn { display: inline-flex; align-items: center; padding: 14px 24px; border-radius: 10px; font-weight: 700; text-decoration: none;
  background: var(--teal); color: oklch(0.1 0.04 265); }
.p-btn.ghost { background: transparent; color: #fff; border: 1px solid oklch(1 0 0 / 0.3); }
.p-btn.dark { background: var(--navy-deep); color: #fff; }

.p-sec { padding: clamp(3.5rem, 7vw, 6rem) 5%; }
.p-sec.alt { background: var(--surface); }
.p-sec .in { max-width: 1100px; margin: 0 auto; }
.p-eyebrow { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--teal-dark); margin-bottom: 0.7rem; }
.p-sec h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); line-height: 1.12; letter-spacing: -0.025em; margin-bottom: 1.6rem; max-width: 22ch; }
.p-sec p.lead { color: var(--ink-muted); font-size: 1.05rem; max-width: 62ch; margin-bottom: 1.5rem; }

.p-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem; }
.p-card { background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 1.5rem 1.4rem; }
.p-sec.alt .p-card { background: var(--bg); }
.p-card h3 { font-size: 1.05rem; margin-bottom: 0.45rem; letter-spacing: -0.01em; }
.p-card p { font-size: 0.93rem; color: var(--ink-muted); }

.p-case { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.p-case + .p-case { margin-top: clamp(3rem, 6vw, 5rem); padding-top: clamp(3rem, 6vw, 5rem); border-top: 1px solid var(--border); }
.p-case .shot { border-radius: 14px; overflow: hidden; border: 1px solid var(--border); box-shadow: 0 18px 50px oklch(0.28 0.095 250 / 0.12); background: #fff; }
.p-case h3 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); letter-spacing: -0.02em; margin-bottom: 0.3rem; }
.p-case .tipo { font-size: 0.85rem; font-weight: 600; color: var(--teal-dark); margin-bottom: 1.2rem; }
.p-case dl { display: grid; gap: 0.9rem; margin-bottom: 1.2rem; }
.p-case dt { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-muted); }
.p-case dd { font-size: 0.97rem; }
.p-quote { border-left: 3px solid var(--teal); padding: 0.4rem 0 0.4rem 1rem; font-style: italic; color: var(--ink); margin-bottom: 0.4rem; }
.p-quote-by { font-size: 0.82rem; color: var(--ink-muted); margin-bottom: 1rem; }
.p-link { font-weight: 700; color: var(--teal-dark); text-decoration: none; }

.p-faq details { border-bottom: 1px solid var(--border); padding: 1.1rem 0; }
.p-faq summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.p-faq summary::after { content: "+"; color: var(--teal-dark); font-weight: 700; }
.p-faq details[open] summary::after { content: "–"; }
.p-faq details p { margin-top: 0.7rem; color: var(--ink-muted); max-width: 70ch; }

.p-final { background: var(--navy-deep); color: #fff; text-align: center; padding: clamp(3.5rem, 7vw, 5.5rem) 5%; }
.p-final h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); letter-spacing: -0.025em; margin-bottom: 0.8rem; }
.p-final p { color: oklch(0.85 0.02 250); margin-bottom: 1.8rem; }
.p-final .p-btns { justify-content: center; }

.p-foot { background: oklch(0.12 0.06 255); color: oklch(0.75 0.03 250); padding: 2rem 5%; font-size: 0.85rem;
  display: flex; flex-wrap: wrap; gap: 1rem 2rem; justify-content: space-between; align-items: center; }
.p-foot a { text-decoration: none; color: inherit; }
.p-foot a:hover { color: var(--teal); }
.p-foot .links { display: flex; flex-wrap: wrap; gap: 0.6rem 1.4rem; }

.p-bar { display: none; }
@media (max-width: 760px) {
  .p-nav nav a:not(.p-cta) { display: none; }
  .p-case { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .p-bar { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    background: var(--navy-deep); padding: 8px 8px calc(8px + env(safe-area-inset-bottom)); }
  .p-bar a { display: flex; align-items: center; justify-content: center; min-height: 46px; border-radius: 10px; font-weight: 600;
    font-size: 0.88rem; text-decoration: none; color: #fff; background: oklch(1 0 0 / 0.08); }
  .p-bar a.wa { background: #1fa855; }
  .p-bar a.cta { background: var(--teal); color: oklch(0.1 0.04 265); }
  body { padding-bottom: 66px; }
}
