/* Tecnología y equipamiento — Podología & Biomecánica Rivas */

.pbr-wrap, .pbr-wrap *, .pbr-wrap *::before, .pbr-wrap *::after { box-sizing: border-box; }
.pbr-wrap { font-family: 'Catamaran', sans-serif; font-weight: 400; color: #183B5F; background: #fff; overflow-x: hidden; -webkit-font-smoothing: antialiased; line-height: 1.6; }
.pbr-wrap h1, .pbr-wrap h2, .pbr-wrap h3, .pbr-wrap h4 { font-family: 'Now', 'Catamaran', sans-serif; font-weight: 900; letter-spacing: -0.02em; margin: 0; line-height: 1.1; }
.pbr-wrap p { margin: 0; }
.pbr-wrap a { text-decoration: none; color: inherit; }
.pbr-wrap img, .pbr-wrap svg { max-width: 100%; display: block; }
.pbr-wrap ul { list-style: none; padding: 0; margin: 0; }
@font-face { font-family: 'Now'; src: local('Now Black'), local('NowBlack'); font-weight: 900; }

.pbr-wrap {
  --denim: #183B5F;
  --denim-deep: #0f2540;
  --denim-10: rgba(24,59,95,0.08);
  --pumpkin: #F18852;
  --pumpkin-dark: #d9713e;
  --sky: #94C0D4;
  --banana: #F5CA77;
  --off: #F9F7F4;
  --cream: #FDF8F2;
  --muted: #5a7080;
}

/* Hero */
.pbr-wrap .tec-hero { background: linear-gradient(135deg, var(--denim) 0%, var(--denim-deep) 100%); padding: 110px 32px 90px; text-align: center; position: relative; overflow: hidden; }
.pbr-wrap .tec-hero::before { content: ''; position: absolute; top: -120px; right: -100px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, var(--pumpkin) 0%, transparent 65%); opacity: .18; }
.pbr-wrap .tec-hero::after { content: ''; position: absolute; bottom: -140px; left: -100px; width: 380px; height: 380px; border-radius: 50%; background: radial-gradient(circle, var(--sky) 0%, transparent 65%); opacity: .16; }
.pbr-wrap .tec-hero-inner { position: relative; z-index: 1; max-width: 760px; margin: 0 auto; }
.pbr-wrap .tec-eyebrow { font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--banana); margin-bottom: 20px; display: flex; align-items: center; justify-content: center; gap: 12px; }
.pbr-wrap .tec-eyebrow::before, .pbr-wrap .tec-eyebrow::after { content: ''; width: 30px; height: 2px; background: var(--banana); }
.pbr-wrap .tec-hero h1 { font-size: clamp(32px, 4.6vw, 52px); line-height: 1.1; color: #fff; margin-bottom: 24px; }
.pbr-wrap .tec-hero h1 .accent { color: var(--banana); }
.pbr-wrap .tec-hero-sub { font-size: clamp(16px, 1.3vw, 18.5px); line-height: 1.7; color: rgba(255,255,255,0.72); max-width: 620px; margin: 0 auto 40px; }
.pbr-wrap .tec-hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.pbr-wrap .btn-primary { display: inline-flex; align-items: center; gap: 8px; background: var(--pumpkin); color: #fff; padding: 16px 32px; border-radius: 100px; font-size: 15px; font-weight: 700; transition: all .25s; box-shadow: 0 8px 24px rgba(241,136,82,0.3); }
.pbr-wrap .btn-primary:hover { background: var(--pumpkin-dark); transform: translateY(-2px); }
.pbr-wrap .btn-ghost-light { display: inline-flex; align-items: center; gap: 8px; border: 1.5px solid rgba(255,255,255,0.3); color: rgba(255,255,255,0.85); padding: 16px 28px; border-radius: 100px; font-size: 14.5px; font-weight: 600; transition: all .25s; }
.pbr-wrap .btn-ghost-light:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,0.08); }

/* Section base */
.pbr-wrap .tec-photo-section { padding: 64px 32px 0; }
.pbr-wrap .tec-photo-frame { position: relative; max-width: 900px; margin: -140px auto 0; border-radius: 24px; overflow: hidden; box-shadow: 0 30px 70px rgba(24,59,95,0.25); z-index: 2; }
.pbr-wrap .tec-photo-frame img { width: 100%; height: auto; display: block; }
.pbr-wrap .tec-photo-caption { position: absolute; left: 0; right: 0; bottom: 0; padding: 20px 28px; background: linear-gradient(180deg, transparent, rgba(15,37,64,0.85)); color: #fff; font-size: 14px; font-weight: 600; }
.pbr-wrap .tec-section { padding: 100px 32px; }
.pbr-wrap .tec-container { max-width: 1160px; margin: 0 auto; }
.pbr-wrap .tec-intro { text-align: center; max-width: 680px; margin: 0 auto 64px; }
.pbr-wrap .tec-intro .eyebrow { font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--pumpkin); margin-bottom: 16px; }
.pbr-wrap .tec-intro h2 { font-size: clamp(26px, 3.2vw, 36px); color: var(--denim); margin-bottom: 16px; line-height: 1.15; }
.pbr-wrap .tec-intro p { font-size: 17px; line-height: 1.7; color: var(--muted); }

/* Equipment grid */
.pbr-wrap .tec-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.pbr-wrap .tec-item { background: var(--off); border-radius: 22px; padding: 36px 32px; display: flex; gap: 20px; align-items: flex-start; transition: all .3s cubic-bezier(.16,1,.3,1); }
.pbr-wrap .tec-item:hover { background: #fff; box-shadow: 0 20px 50px rgba(24,59,95,0.1); transform: translateY(-4px); }
.pbr-wrap .tec-item-icon { width: 56px; height: 56px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; background: #fff; border-radius: 16px; box-shadow: 0 6px 16px rgba(24,59,95,0.1); color: var(--pumpkin); transition: background .3s, color .3s; }
.pbr-wrap .tec-item-icon svg { width: 28px; height: 28px; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.pbr-wrap .tec-item:hover .tec-item-icon { background: var(--pumpkin); color: #fff; }
.pbr-wrap .tec-item-body h3 { font-size: 19px; color: var(--denim); margin-bottom: 10px; line-height: 1.25; }
.pbr-wrap .tec-item-body p { font-size: 15px; line-height: 1.65; color: var(--muted); margin-bottom: 12px; }
.pbr-wrap .tec-item-link { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 700; color: var(--pumpkin); transition: gap .25s; }
.pbr-wrap .tec-item:hover .tec-item-link { gap: 10px; }

/* Cierre */
.pbr-wrap .tec-cierre { background: var(--cream); padding: 100px 32px; text-align: center; }
.pbr-wrap .tec-cierre-inner { max-width: 620px; margin: 0 auto; }
.pbr-wrap .tec-cierre h2 { font-size: clamp(26px, 3.4vw, 40px); color: var(--denim); margin-bottom: 18px; line-height: 1.15; }
.pbr-wrap .tec-cierre p { font-size: 17px; line-height: 1.7; color: var(--muted); margin-bottom: 36px; }
.pbr-wrap .tec-cierre-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.pbr-wrap .btn-denim { display: inline-flex; align-items: center; gap: 8px; border: 2px solid var(--denim); color: var(--denim); padding: 14px 28px; border-radius: 100px; font-size: 14.5px; font-weight: 700; transition: all .25s; }
.pbr-wrap .btn-denim:hover { background: var(--denim); color: #fff; }

/* Reveal on scroll */
.pbr-wrap .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s cubic-bezier(.16,1,.3,1), transform .8s cubic-bezier(.16,1,.3,1); }
.pbr-wrap .reveal.visible { opacity: 1; transform: translateY(0); }
.pbr-wrap .reveal-d1 { transition-delay: .05s; }
.pbr-wrap .reveal-d2 { transition-delay: .1s; }
.pbr-wrap .reveal-d3 { transition-delay: .15s; }
.pbr-wrap .reveal-d4 { transition-delay: .2s; }

@media (prefers-reduced-motion: reduce) {
  .pbr-wrap *, .pbr-wrap *::before, .pbr-wrap *::after { animation-duration: .01s !important; transition-duration: .01s !important; }
}

@media (max-width: 860px) {
  .pbr-wrap .tec-grid { grid-template-columns: 1fr; }
  .pbr-wrap .tec-section, .pbr-wrap .tec-cierre { padding: 80px 24px; }
  .pbr-wrap .tec-hero { padding: 90px 24px 70px; }
  .pbr-wrap .tec-photo-frame { margin-top: -70px; }
}
@media (max-width: 560px) {
  .pbr-wrap .tec-photo-frame { margin-top: -40px; border-radius: 18px; }
  .pbr-wrap .tec-photo-caption { font-size: 12.5px; padding: 14px 18px; }
}
@media (max-width: 520px) {
  .pbr-wrap .tec-item { flex-direction: column; }
  .pbr-wrap .tec-hero-actions, .pbr-wrap .tec-cierre-actions { flex-direction: column; align-items: stretch; }
  .pbr-wrap .tec-hero-actions a, .pbr-wrap .tec-cierre-actions a { justify-content: center; }
}
