/* Home page — Podología & Biomecánica Rivas
   Base: diseño y textos del borrador aprobado (home-borrador), sin cambios de contenido.
   Añadido: foto de cabecera + animaciones de cursor/scroll (ver bloque final). */

body { margin: 0; }

.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; }
@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;
  --peach: #F3B6A1;
  --peach-light: #fdeee5;
  --sky: #94C0D4;
  --sky-light: #eaf3f7;
  --banana: #F5CA77;
  --banana-light: #fdf3dc;
  --off: #F9F7F4;
  --cream: #FDF8F2;
  --muted: #5a7080;
}

/* =================== HERO (EXPERIMENTO: foto de fondo a toda anchura) =================== */
.pbr-wrap .home-hero {
  position: relative;
  min-height: 92vh;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.pbr-wrap .home-hero-bg { position: absolute; inset: 0; z-index: 0; }
.pbr-wrap .home-hero-bg .home-hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 22%; display: block; opacity: 0; }
.pbr-wrap .home-hero-bg .home-hero-photo.is-active { opacity: 1; }
.pbr-wrap .home-hero-bg .home-hero-photo.photo-podologa { object-position: 78% 22%; }
.pbr-wrap .home-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(15,37,64,0.95) 0%, rgba(15,37,64,0.86) 30%, rgba(15,37,64,0.55) 55%, rgba(15,37,64,0.22) 78%, rgba(15,37,64,0.08) 100%);
}
/* Usadas también por los blobs decorativos de otras secciones (quienes, especialidades, tech, rios, cierre) */
@keyframes pbrShapeFloat1 { from { transform: translate(0,0) scale(1) rotate(0); } to { transform: translate(-22px,16px) scale(1.04) rotate(2deg); } }
@keyframes pbrShapeFloat2 { from { transform: translate(0,0) scale(1) rotate(0); } to { transform: translate(20px,-18px) scale(1.05) rotate(-3deg); } }
@keyframes pbrShapeFloat3 { from { transform: translate(0,0) scale(1); } to { transform: translate(-12px,22px) scale(1.06); } }

.pbr-wrap .home-hero-left { position: relative; z-index: 2; max-width: 680px; padding: 160px 32px 120px 56px; margin-left: max(0px, calc((100vw - 1680px) / 2)); }
.pbr-wrap .home-hero-eyebrow { display: inline-flex; align-items: center; gap: 10px; background: rgba(255,255,255,0.12); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); padding: 10px 20px; border-radius: 100px; font-size: 12.5px; font-weight: 700; color: #fff; letter-spacing: .08em; text-transform: uppercase; border: 1px solid rgba(255,255,255,0.22); margin-bottom: 32px; opacity: 0; transform: translateY(-10px); animation: pbrFadeDownSmall .7s .4s cubic-bezier(.16,1,.3,1) forwards; }
.pbr-wrap .home-hero-eyebrow .dot { width: 8px; height: 8px; background: #2ecc71; border-radius: 50%; position: relative; }
.pbr-wrap .home-hero-eyebrow .dot::after { content: ''; position: absolute; inset: -4px; border-radius: 50%; background: #2ecc71; opacity: 0.4; animation: pbrDotPulse 2.2s ease-out infinite; }
@keyframes pbrDotPulse { 0% { transform: scale(1); opacity: 0.4; } 100% { transform: scale(1.9); opacity: 0; } }
@keyframes pbrFadeDownSmall { to { opacity: 1; transform: translateY(0); } }
.pbr-wrap .home-hero h1 { font-size: clamp(30px, 3.4vw, 58px); line-height: 1.12; color: var(--denim); margin-bottom: 28px; letter-spacing: -0.02em; max-width: 17ch; }
.pbr-wrap .home-hero h1 .word { display: inline-block; opacity: 0; transform: translateY(28px); animation: pbrWordReveal 1s cubic-bezier(.16,1,.3,1) forwards; }
.pbr-wrap .home-hero h1 .word-nowrap { display: inline-block; white-space: nowrap; }
.pbr-wrap .home-hero h1 .accent { color: var(--pumpkin); }
.pbr-wrap .home-hero h1 .accent-sky { color: var(--sky); }
.pbr-wrap .home-hero h1 .accent-banana { color: var(--banana); }
@keyframes pbrWordReveal { to { opacity: 1; transform: translateY(0); } }
.pbr-wrap .home-hero h1 .underline-wrap { position: relative; display: inline-block; }
.pbr-wrap .home-hero h1 .underline-wrap::after { content: ''; position: absolute; bottom: 0.05em; left: 0; width: 0; height: 0.18em; background: var(--banana); border-radius: 6px; z-index: -1; opacity: 0.55; animation: pbrUnderline 1.2s 1.8s cubic-bezier(.7,0,.2,1) forwards; }
@keyframes pbrUnderline { to { width: 100%; } }
.pbr-wrap .home-hero-sub { font-size: clamp(17px, 1.5vw, 22px); line-height: 1.65; color: var(--muted); max-width: 600px; margin-bottom: 44px; opacity: 0; animation: pbrFadeUp .9s 1.85s cubic-bezier(.16,1,.3,1) forwards; }
.pbr-wrap .home-hero-sub strong { color: var(--denim); font-weight: 600; }
.pbr-wrap .home-hero-actions { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; margin-bottom: 56px; }
.pbr-wrap .btn-primary { display: inline-flex; align-items: center; gap: 10px; background: var(--pumpkin); color: #fff; padding: 18px 34px; border-radius: 100px; font-size: 15px; font-weight: 700; transition: all .35s cubic-bezier(.16,1,.3,1); box-shadow: 0 8px 24px rgba(241,136,82,0.3); position: relative; overflow: hidden; opacity: 0; animation: pbrFadeUp .8s 2.1s cubic-bezier(.16,1,.3,1) forwards; }
.pbr-wrap .btn-primary::before { content: ''; position: absolute; top: 50%; left: 50%; width: 0; height: 0; background: var(--pumpkin-dark); border-radius: 50%; transform: translate(-50%,-50%); transition: width .55s ease, height .55s ease; z-index: 0; }
.pbr-wrap .btn-primary:hover::before { width: 480px; height: 480px; }
.pbr-wrap .btn-primary > * { position: relative; z-index: 1; }
.pbr-wrap .btn-primary:hover { box-shadow: 0 14px 36px rgba(241,136,82,0.42); }
.pbr-wrap .btn-ghost { display: inline-flex; align-items: center; gap: 8px; border: 2px solid var(--denim); color: var(--denim); padding: 16px 30px; border-radius: 100px; font-size: 14.5px; font-weight: 700; transition: all .3s; background: transparent; }
.pbr-wrap .btn-ghost:hover { background: var(--denim); color: #fff; }
.pbr-wrap .btn-ghost.opacity { opacity: 0; animation: pbrFadeUp .8s 2.25s cubic-bezier(.16,1,.3,1) forwards; }
.pbr-wrap .home-hero-trust { display: flex; align-items: center; gap: 24px; flex-wrap: nowrap; padding-top: 36px; border-top: 1px solid rgba(24,59,95,0.12); opacity: 0; animation: pbrFadeUp 1s 2.5s cubic-bezier(.16,1,.3,1) forwards; }
.pbr-wrap .home-hero-trust .trust-item { display: flex; align-items: center; gap: 8px; font-size: clamp(13px, 0.95vw, 17px); color: var(--muted); line-height: 1.3; white-space: nowrap; }
.pbr-wrap .home-hero-trust .trust-item strong { display: inline; color: var(--denim); font-family: 'Now','Catamaran',sans-serif; font-weight: 900; font-size: clamp(16px, 1.2vw, 21px); letter-spacing: -0.01em; margin-right: 4px; }
.pbr-wrap .home-hero-trust .trust-stars { color: #f5b800; font-size: clamp(15px, 1.1vw, 19px); letter-spacing: 1px; }
.pbr-wrap .home-hero-trust .trust-divider { width: 1px; height: 34px; background: var(--denim-10); flex-shrink: 0; }
@keyframes pbrFadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

/* Overrides de color para texto sobre foto (solo dentro del hero, no toca .btn-ghost ni
   los demás usos de estas clases en el resto de la página) */
.pbr-wrap .home-hero h1 { color: #fff; }
.pbr-wrap .home-hero-sub { color: rgba(255,255,255,0.8); }
.pbr-wrap .home-hero-sub strong { color: #fff; }
.pbr-wrap .home-hero .btn-ghost { border-color: rgba(255,255,255,0.5); color: #fff; }
.pbr-wrap .home-hero .btn-ghost:hover { background: #fff; color: var(--denim); }
.pbr-wrap .home-hero-trust { border-top-color: rgba(255,255,255,0.22); }
.pbr-wrap .home-hero-trust .trust-item { color: rgba(255,255,255,0.75); }
.pbr-wrap .home-hero-trust .trust-item strong { color: #fff; }
.pbr-wrap .home-hero-trust .trust-divider { background: rgba(255,255,255,0.22); }

/* =================== SECTION BASE =================== */
.pbr-wrap .pbr-section { padding: 120px 48px; position: relative; overflow: hidden; }
.pbr-wrap .pbr-container { max-width: 1240px; margin: 0 auto; position: relative; z-index: 1; }
.pbr-wrap .pbr-container-narrow { max-width: 1100px; margin: 0 auto; position: relative; z-index: 1; }
.pbr-wrap .eyebrow { font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--pumpkin); margin-bottom: 20px; display: flex; align-items: center; gap: 14px; justify-content: center; }
.pbr-wrap .eyebrow::before, .pbr-wrap .eyebrow::after { content: ''; width: 36px; height: 2px; background: var(--pumpkin); border-radius: 2px; }
.pbr-wrap .eyebrow.left { justify-content: flex-start; }
.pbr-wrap .eyebrow.left::after { display: none; }
.pbr-wrap .eyebrow.banana { color: var(--banana); }
.pbr-wrap .eyebrow.banana::before, .pbr-wrap .eyebrow.banana::after { background: var(--banana); }
.pbr-wrap .eyebrow.sky { color: var(--sky); }
.pbr-wrap .eyebrow.sky::before, .pbr-wrap .eyebrow.sky::after { background: var(--sky); }
.pbr-wrap .section-title { font-size: clamp(32px, 3.6vw, 60px); line-height: 1.08; color: var(--denim); text-align: center; margin-bottom: 28px; }
.pbr-wrap .section-title .accent { color: var(--pumpkin); }
.pbr-wrap .section-title .accent-sky { color: var(--sky); }
.pbr-wrap .section-title .accent-banana { color: var(--banana); }
.pbr-wrap .section-intro { font-size: clamp(17px, 1.3vw, 21px); line-height: 1.7; color: var(--muted); text-align: center; max-width: 760px; margin: 0 auto 72px; }
.pbr-wrap .section-intro strong { color: var(--denim); font-weight: 600; }

/* =================== QUIÉNES SOMOS =================== */
.pbr-wrap .quienes-section { background: var(--peach-light); }
.pbr-wrap .quienes-section::before { content: ''; position: absolute; top: -150px; right: -100px; width: 500px; height: 500px; background: radial-gradient(circle, var(--peach) 0%, transparent 65%); opacity: 0.5; border-radius: 50%; animation: pbrShapeFloat3 30s ease-in-out infinite alternate; z-index: 0; }
.pbr-wrap .quienes-section::after { content: ''; position: absolute; bottom: -100px; left: -150px; width: 420px; height: 420px; background: radial-gradient(circle, var(--banana) 0%, transparent 60%); opacity: 0.35; border-radius: 50%; animation: pbrShapeFloat1 36s ease-in-out infinite alternate; z-index: 0; }
.pbr-wrap .quienes-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 64px; align-items: center; }
.pbr-wrap .quienes-photo img { border-radius: 24px; box-shadow: 0 30px 70px rgba(24,59,95,0.18); width: 100%; height: auto; display: block; }
.pbr-wrap .quienes-text { font-size: clamp(16px, 1.3vw, 19px); line-height: 1.75; color: var(--denim); max-width: 560px; font-weight: 400; }
.pbr-wrap .quienes-text p { margin-bottom: 22px; }
.pbr-wrap .quienes-text p:last-child { margin-bottom: 0; }
.pbr-wrap .quienes-text strong { font-weight: 700; }
.pbr-wrap .quienes-text em { font-style: normal; background: linear-gradient(120deg, transparent 50%, rgba(245,202,119,0.55) 50%); background-size: 200% 100%; background-position: 100% 0; padding: 0 4px; transition: background-position 1.2s ease; }
.pbr-wrap .quienes-text em.highlighted { background-position: 0 0; }
.pbr-wrap .quienes-pregunta { font-family: 'Now','Catamaran',sans-serif; font-weight: 900; font-size: clamp(24px, 2.2vw, 38px); color: var(--pumpkin); margin: 32px 0 0; }
.pbr-wrap .quienes-cta { margin-top: 28px; }
.pbr-wrap .quienes-copy, .pbr-wrap .quienes-copy .section-title { text-align: left; }
@media (max-width: 1024px) {
  .pbr-wrap .quienes-grid { grid-template-columns: 1fr; gap: 40px; }
  .pbr-wrap .quienes-photo { order: -1; max-width: 420px; margin: 0 auto; }
  .pbr-wrap .quienes-photo img { aspect-ratio: 4 / 3; object-fit: cover; object-position: center 32%; height: auto; }
  .pbr-wrap .quienes-copy, .pbr-wrap .quienes-copy .section-title { text-align: center; }
  .pbr-wrap .quienes-text { margin: 0 auto; }
  .pbr-wrap .rios-grid { grid-template-columns: 1fr; gap: 36px; }
  .pbr-wrap .rios-photo { order: -1; max-width: 420px; margin: 0 auto; }
  .pbr-wrap .rios-photo img { aspect-ratio: 4 / 3; object-fit: cover; object-position: center 25%; height: auto; }
  .pbr-wrap .rios-text, .pbr-wrap .rios-cta, .pbr-wrap .rios-content .section-title, .pbr-wrap .rios-content .eyebrow { text-align: center; justify-content: center; }
}

/* =================== RAZONES (6 cards) =================== */
.pbr-wrap .razones-section { background: #fff; }
.pbr-wrap .razones-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.pbr-wrap .razon { background: var(--off); border-radius: 24px; padding: 40px 36px; transition: all .35s cubic-bezier(.16,1,.3,1); position: relative; overflow: hidden; border-left: 4px solid var(--pumpkin); }
.pbr-wrap .razon:nth-child(2) { border-left-color: var(--sky); }
.pbr-wrap .razon:nth-child(3) { border-left-color: var(--banana); }
.pbr-wrap .razon:nth-child(4) { border-left-color: var(--peach); }
.pbr-wrap .razon:nth-child(5) { border-left-color: var(--sky); }
.pbr-wrap .razon:nth-child(6) { border-left-color: var(--banana); }
.pbr-wrap .razon:hover { box-shadow: 0 16px 40px rgba(24,59,95,0.1); background: #fff; }
.pbr-wrap .razon-num { font-family: 'Now','Catamaran',sans-serif; font-weight: 900; font-size: 14px; color: var(--pumpkin); letter-spacing: .14em; margin-bottom: 18px; display: block; }
.pbr-wrap .razon:nth-child(2) .razon-num { color: var(--sky); }
.pbr-wrap .razon:nth-child(3) .razon-num { color: var(--banana); }
.pbr-wrap .razon:nth-child(4) .razon-num { color: var(--peach); }
.pbr-wrap .razon:nth-child(5) .razon-num { color: var(--sky); }
.pbr-wrap .razon:nth-child(6) .razon-num { color: var(--banana); }
.pbr-wrap .razon h3 { font-size: clamp(21px, 1.4vw, 24px); line-height: 1.25; color: var(--denim); margin-bottom: 14px; }
.pbr-wrap .razon p { font-size: clamp(15.5px, 1vw, 17px); line-height: 1.65; color: var(--muted); }
.pbr-wrap .razon p strong { color: var(--denim); font-weight: 600; }

/* =================== ESPECIALIDADES (6 cards con header) =================== */
.pbr-wrap .especialidades-section { background: var(--off); position: relative; overflow: hidden; }
.pbr-wrap .especialidades-section::before { content: ''; position: absolute; top: 100px; left: -200px; width: 400px; height: 400px; background: radial-gradient(circle, var(--sky) 0%, transparent 65%); opacity: 0.18; border-radius: 50%; animation: pbrShapeFloat2 40s ease-in-out infinite alternate; }
.pbr-wrap .especialidades-section::after { content: ''; position: absolute; bottom: 100px; right: -150px; width: 360px; height: 360px; background: radial-gradient(circle, var(--peach) 0%, transparent 65%); opacity: 0.25; border-radius: 50%; animation: pbrShapeFloat3 36s ease-in-out infinite alternate; }
.pbr-wrap .especialidades-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.pbr-wrap .esp-card { background: #fff; border-radius: 28px; padding: 44px 36px; transition: all .35s cubic-bezier(.16,1,.3,1); position: relative; overflow: hidden; display: flex; flex-direction: column; }
.pbr-wrap .esp-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 5px; background: var(--pumpkin); transition: height .3s; }
.pbr-wrap .esp-card.s-pumpkin::before { background: var(--pumpkin); }
.pbr-wrap .esp-card.s-sky::before { background: var(--sky); }
.pbr-wrap .esp-card.s-banana::before { background: var(--banana); }
.pbr-wrap .esp-card.s-peach::before { background: var(--peach); }
.pbr-wrap .esp-card.s-denim::before { background: var(--denim); }
.pbr-wrap .esp-card:hover { box-shadow: 0 24px 60px rgba(24,59,95,0.12); }
.pbr-wrap .esp-card:hover::before { height: 8px; }
.pbr-wrap .esp-icon { width: 56px; height: 56px; margin-bottom: 18px; transition: transform .3s cubic-bezier(.16,1,.3,1); }
.pbr-wrap .esp-icon-photo { border-radius: 14px; object-fit: cover; box-shadow: 0 6px 16px rgba(24,59,95,0.18); }
.pbr-wrap .esp-card:hover .esp-icon { transform: scale(1.08) rotate(-4deg); }
.pbr-wrap .esp-card h3 { font-size: clamp(22px, 1.3vw, 25px); color: var(--denim); margin-bottom: 12px; line-height: 1.2; letter-spacing: -0.015em; }
.pbr-wrap .esp-card .esp-tagline { font-size: 14.5px; color: var(--muted); line-height: 1.55; margin-bottom: 24px; font-style: italic; min-height: 44px; }
.pbr-wrap .esp-card ul { list-style: none; padding: 0; margin: 0 0 28px 0; flex: 1; }
.pbr-wrap .esp-card ul li { font-size: clamp(14.5px, .95vw, 16px); color: var(--denim); padding: 8px 0 8px 22px; position: relative; line-height: 1.4; border-bottom: 1px solid rgba(24,59,95,0.06); }
.pbr-wrap .esp-card ul li:last-child { border-bottom: none; }
.pbr-wrap .esp-card ul li::before { content: ''; position: absolute; left: 0; top: 14px; width: 8px; height: 8px; border-radius: 50%; background: var(--pumpkin); }
.pbr-wrap .esp-card.s-sky ul li::before { background: var(--sky); }
.pbr-wrap .esp-card.s-banana ul li::before { background: var(--banana); }
.pbr-wrap .esp-card.s-peach ul li::before { background: var(--peach); }
.pbr-wrap .esp-card.s-denim ul li::before { background: var(--denim); }
.pbr-wrap .esp-card .esp-link { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; color: var(--pumpkin); margin-top: auto; transition: gap .3s; }
.pbr-wrap .esp-card.s-sky .esp-link { color: var(--sky); }
.pbr-wrap .esp-card.s-banana .esp-link { color: #c89c4a; }
.pbr-wrap .esp-card.s-peach .esp-link { color: var(--pumpkin-dark); }
.pbr-wrap .esp-card.s-denim .esp-link { color: var(--denim); }
.pbr-wrap .esp-card:hover .esp-link { gap: 14px; }

/* =================== TECNOLOGÍA (banda) =================== */
.pbr-wrap .tech-section { background: linear-gradient(135deg, var(--denim) 0%, var(--denim-deep) 100%); padding: 100px 48px; position: relative; overflow: hidden; }
.pbr-wrap .tech-section::before { content: ''; position: absolute; top: -100px; right: -100px; width: 400px; height: 400px; background: radial-gradient(circle, var(--pumpkin) 0%, transparent 65%); opacity: 0.18; border-radius: 50%; animation: pbrShapeFloat1 40s ease-in-out infinite alternate; }
.pbr-wrap .tech-section::after { content: ''; position: absolute; bottom: -120px; left: -100px; width: 360px; height: 360px; background: radial-gradient(circle, var(--sky) 0%, transparent 65%); opacity: 0.15; border-radius: 50%; animation: pbrShapeFloat2 36s ease-in-out infinite alternate; }
.pbr-wrap .tech-section .pbr-container-narrow { max-width: 920px; text-align: center; }
.pbr-wrap .tech-section .eyebrow { color: var(--banana); }
.pbr-wrap .tech-section .eyebrow::before, .pbr-wrap .tech-section .eyebrow::after { background: var(--banana); }
.pbr-wrap .tech-section .section-title { color: #fff; }
.pbr-wrap .tech-section .section-title .accent-banana { color: var(--banana); }
.pbr-wrap .tech-section .section-intro { color: rgba(255,255,255,0.72); }
.pbr-wrap .tech-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 48px 0 56px; }
.pbr-wrap .tech-card { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.14); border-radius: 16px; padding: 22px 14px; display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; backdrop-filter: blur(12px); transition: all .3s; }
.pbr-wrap .tech-card:hover { background: rgba(245,202,119,0.14); border-color: var(--banana); transform: translateY(-3px); }
.pbr-wrap .tech-card-icon { width: 52px; height: 52px; border-radius: 50%; background: rgba(255,255,255,0.09); display: flex; align-items: center; justify-content: center; color: var(--banana); transition: background .3s, color .3s; }
.pbr-wrap .tech-card-icon svg { width: 26px; height: 26px; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.pbr-wrap .tech-card:hover .tech-card-icon { background: var(--banana); color: var(--denim); }
.pbr-wrap .tech-card-label { color: #fff; font-size: 13.5px; font-weight: 600; line-height: 1.3; }
.pbr-wrap .tech-cta { display: inline-flex; align-items: center; gap: 10px; background: var(--banana); color: var(--denim); padding: 16px 30px; border-radius: 100px; font-size: 15px; font-weight: 700; transition: all .3s; box-shadow: 0 8px 24px rgba(245,202,119,0.25); }
.pbr-wrap .tech-cta:hover { background: #fff; box-shadow: 0 14px 36px rgba(255,255,255,0.2); }

/* =================== MÁS DEMANDADOS =================== */
.pbr-wrap .top-servicios-section { background: var(--off); padding: 80px 48px; }
.pbr-wrap .top-servicios-label { text-align: center; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 32px; }
.pbr-wrap .top-servicios-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 24px; max-width: 1240px; margin: 0 auto; }
.pbr-wrap .top-servicio-card { position: relative; display: block; height: 420px; border-radius: 22px; overflow: hidden; isolation: isolate; box-shadow: 0 10px 30px rgba(24,59,95,0.14); transition: transform .4s cubic-bezier(.16,1,.3,1), box-shadow .4s; }
.pbr-wrap .top-servicio-card:hover { transform: translateY(-6px); box-shadow: 0 22px 48px rgba(24,59,95,0.24); }
.pbr-wrap .top-servicio-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.16,1,.3,1); z-index: 0; }
.pbr-wrap .top-servicio-card:hover .top-servicio-photo { transform: scale(1.08); }
.pbr-wrap .top-servicio-overlay { position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(15,37,64,0.15) 0%, rgba(15,37,64,0.35) 50%, rgba(15,37,64,0.92) 100%); }
.pbr-wrap .top-servicio-overlay::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: var(--c); }
.pbr-wrap .top-servicio-icon { position: absolute; top: 22px; left: 22px; z-index: 2; width: 48px; height: 48px; border-radius: 50%; background: rgba(255,255,255,0.95); display: flex; align-items: center; justify-content: center; color: var(--c); box-shadow: 0 6px 16px rgba(0,0,0,0.18); }
.pbr-wrap .top-servicio-icon svg { width: 24px; height: 24px; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; fill: none; }
.pbr-wrap .top-servicio-text { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 0 26px 26px; display: flex; flex-direction: column; gap: 8px; }
.pbr-wrap .top-servicio-title { font-size: 22px; font-weight: 800; color: #fff; line-height: 1.2; }
.pbr-wrap .top-servicio-sub { font-size: 14px; color: rgba(255,255,255,0.82); line-height: 1.45; max-width: 92%; }
.pbr-wrap .top-servicio-cta { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; font-size: 13.5px; font-weight: 700; color: #fff; width: fit-content; }
.pbr-wrap .top-servicio-arrow { display: inline-block; transition: transform .25s; }
.pbr-wrap .top-servicio-card:hover .top-servicio-arrow { transform: translateX(5px); }
@media (max-width: 900px) {
  .pbr-wrap .top-servicios-grid { grid-template-columns: minmax(0,1fr); gap: 18px; }
  .pbr-wrap .top-servicio-card { height: 260px; }
}
@media (max-width: 800px) {
  .pbr-wrap .top-servicios-section { padding: 56px 20px; }
}

/* =================== DOS RÍOS =================== */
.pbr-wrap .rios-section { background: var(--sky-light); position: relative; overflow: hidden; }
.pbr-wrap .rios-section::before { content: ''; position: absolute; top: -100px; left: -100px; width: 400px; height: 400px; background: radial-gradient(circle, var(--sky) 0%, transparent 65%); opacity: 0.45; border-radius: 50%; animation: pbrShapeFloat2 32s ease-in-out infinite alternate; }
.pbr-wrap .rios-section::after { content: ''; position: absolute; bottom: -150px; right: -100px; width: 480px; height: 480px; background: radial-gradient(circle, var(--peach) 0%, transparent 70%); opacity: 0.4; border-radius: 50%; animation: pbrShapeFloat3 36s ease-in-out infinite alternate; }
.pbr-wrap .rios-grid { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 64px; align-items: center; position: relative; z-index: 1; }
.pbr-wrap .rios-photo img { border-radius: 24px; box-shadow: 0 30px 70px rgba(24,59,95,0.18); width: 100%; height: auto; display: block; }
.pbr-wrap .rios-text { font-size: clamp(17px, 1.3vw, 20px); line-height: 1.75; color: var(--denim); text-align: left; max-width: none; margin: 0; }
.pbr-wrap .rios-text p { margin-bottom: 24px; }
.pbr-wrap .rios-text p:last-child { margin-bottom: 0; }
.pbr-wrap .rios-text strong { font-weight: 700; }
.pbr-wrap .rios-cta { text-align: left; margin-top: 40px; }

/* =================== CONFIANZA =================== */
.pbr-wrap .confianza-section { background: #fff; }
.pbr-wrap .confianza-card { max-width: 920px; margin: 0 auto; background: var(--cream); border-radius: 32px; padding: 80px 56px; text-align: center; position: relative; overflow: hidden; }
.pbr-wrap .confianza-card::before { content: ''; position: absolute; top: -80px; right: -80px; width: 280px; height: 280px; background: radial-gradient(circle, var(--banana) 0%, transparent 65%); opacity: 0.55; border-radius: 50%; }
.pbr-wrap .confianza-card::after { content: ''; position: absolute; bottom: -80px; left: -80px; width: 280px; height: 280px; background: radial-gradient(circle, var(--peach) 0%, transparent 65%); opacity: 0.5; border-radius: 50%; }
.pbr-wrap .confianza-card > * { position: relative; z-index: 1; }
.pbr-wrap .confianza-rating { display: inline-flex; align-items: center; gap: 16px; padding: 16px 28px; background: #fff; border-radius: 100px; box-shadow: 0 12px 32px rgba(24,59,95,0.1); margin-bottom: 36px; }
.pbr-wrap .confianza-rating .stars { color: #f5b800; font-size: 24px; letter-spacing: 2px; }
.pbr-wrap .confianza-rating .rating-num { font-family: 'Now','Catamaran',sans-serif; font-weight: 900; font-size: 28px; color: var(--denim); letter-spacing: -0.02em; }
.pbr-wrap .confianza-rating .rating-text { text-align: left; font-size: 13px; color: var(--muted); line-height: 1.3; }
.pbr-wrap .confianza-rating .rating-text strong { display: block; color: var(--denim); font-weight: 700; font-size: 14px; }
.pbr-wrap .confianza-card p { font-size: clamp(16px, 1.3vw, 20px); line-height: 1.7; color: var(--muted); max-width: 640px; margin: 0 auto 40px; }
.pbr-wrap .confianza-card p strong { color: var(--denim); font-weight: 600; }
.pbr-wrap .confianza-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* =================== CIERRE CON SLOGAN =================== */
.pbr-wrap .cierre-section { background: var(--cream); padding: 140px 48px; position: relative; overflow: hidden; text-align: center; }
.pbr-wrap .cierre-section::before { content: ''; position: absolute; top: -140px; right: -120px; width: 480px; height: 480px; background: radial-gradient(circle, var(--peach) 0%, transparent 65%); opacity: 0.45; border-radius: 50%; animation: pbrShapeFloat1 28s ease-in-out infinite alternate; }
.pbr-wrap .cierre-section::after { content: ''; position: absolute; bottom: -140px; left: -120px; width: 460px; height: 460px; background: radial-gradient(circle, var(--banana) 0%, transparent 60%); opacity: 0.4; border-radius: 50%; animation: pbrShapeFloat2 32s ease-in-out infinite alternate; }
.pbr-wrap .cierre-content { position: relative; z-index: 1; max-width: 920px; margin: 0 auto; }
.pbr-wrap .cierre-eyebrow { font-size: 12px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--pumpkin); margin-bottom: 32px; }
.pbr-wrap .slogan { font-family: 'Now','Catamaran',sans-serif; font-weight: 900; font-size: clamp(36px, 5vw, 84px); line-height: 1.05; color: var(--denim); margin-bottom: 24px; letter-spacing: -0.025em; }
.pbr-wrap .slogan .word-pumpkin { color: var(--pumpkin); }
.pbr-wrap .slogan .word-sky { color: var(--sky); }
.pbr-wrap .slogan .word-banana { color: var(--banana); }
.pbr-wrap .slogan .ellipsis { color: var(--denim); }
.pbr-wrap .vive-intenso { font-family: 'Now','Catamaran',sans-serif; font-weight: 900; font-size: clamp(28px, 4vw, 64px); color: var(--pumpkin); margin-bottom: 56px; letter-spacing: -0.02em; line-height: 1.05; }
.pbr-wrap .cierre-sub { font-size: clamp(16px, 1.3vw, 20px); line-height: 1.7; color: var(--muted); max-width: 580px; margin: 0 auto 48px; }
.pbr-wrap .cierre-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* =================== SCROLL REVEAL =================== */
.pbr-wrap .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s cubic-bezier(.16,1,.3,1), transform .9s cubic-bezier(.16,1,.3,1); }
.pbr-wrap .reveal.visible { opacity: 1; transform: translateY(0); }
.pbr-wrap .reveal-d1 { transition-delay: .1s; }
.pbr-wrap .reveal-d2 { transition-delay: .2s; }
.pbr-wrap .reveal-d3 { transition-delay: .3s; }
.pbr-wrap .reveal-d4 { transition-delay: .4s; }
.pbr-wrap .reveal-d5 { transition-delay: .5s; }
.pbr-wrap .reveal-d6 { transition-delay: .6s; }

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

/* =================== RESPONSIVE =================== */
/* El hero pasa a apilado antes que el resto de secciones: en anchos intermedios
   (ventana más estrecha de lo normal pero no móvil), la barra de reseñas de abajo
   (con texto que no puede partirse) "robaba" espacio a la columna de la foto y la
   dejaba minúscula. Con este breakpoint propio se evita ese rango problemático. */
@media (max-width: 1180px) {
  .pbr-wrap .home-hero-left { max-width: 560px; padding: 140px 28px 100px 40px; }
  .pbr-wrap .home-hero h1 { max-width: none; }
}
@media (max-width: 900px) {
  .pbr-wrap .home-hero-left { padding: 120px 24px 80px; }
  .pbr-wrap .pbr-section { padding: 96px 32px; }
  .pbr-wrap .razones-grid { grid-template-columns: 1fr; }
  .pbr-wrap .especialidades-grid { grid-template-columns: 1fr 1fr; }
  .pbr-wrap .tech-section { padding: 80px 32px; }
  .pbr-wrap .tech-grid { grid-template-columns: repeat(3, 1fr); }
  .pbr-wrap .cierre-section { padding: 96px 32px; }
  .pbr-wrap .confianza-card { padding: 64px 40px; }
}
@media (max-width: 640px) {
  .pbr-wrap .home-hero-left { padding: 104px 20px 64px; }
  .pbr-wrap .home-hero-eyebrow { font-size: 11px; padding: 8px 14px; }
  .pbr-wrap .home-hero h1 { font-size: 28px; }
  .pbr-wrap .home-hero-actions { flex-direction: column; align-items: stretch; gap: 12px; }
  .pbr-wrap .btn-primary, .pbr-wrap .btn-ghost { justify-content: center; }
  .pbr-wrap .home-hero-trust { flex-direction: column; align-items: center; text-align: center; gap: 14px; padding-top: 28px; }
  .pbr-wrap .home-hero-trust .trust-item { white-space: normal; font-size: 15px; gap: 10px; justify-content: center; }
  .pbr-wrap .home-hero-trust .trust-item > div { text-align: center; }
  .pbr-wrap .home-hero-trust .trust-item strong { font-size: 17px; }
  .pbr-wrap .home-hero-trust .trust-stars { font-size: 16px; }
  .pbr-wrap .home-hero-trust .trust-divider { display: none; }
  .pbr-wrap .pbr-section { padding: 72px 20px; }
  .pbr-wrap .especialidades-grid { grid-template-columns: 1fr; }
  .pbr-wrap .tech-section { padding: 64px 20px; }
  .pbr-wrap .tech-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .pbr-wrap .tech-card { padding: 18px 10px; }
  .pbr-wrap .confianza-card { padding: 48px 24px; }
  .pbr-wrap .confianza-rating { flex-direction: column; gap: 8px; padding: 14px 20px; }
  .pbr-wrap .confianza-rating .rating-text { text-align: center; }
  .pbr-wrap .cierre-section { padding: 72px 20px; }
  .pbr-wrap .confianza-actions, .pbr-wrap .cierre-actions { flex-direction: column; }
  .pbr-wrap .confianza-actions .btn-primary, .pbr-wrap .cierre-actions .btn-primary,
  .pbr-wrap .confianza-actions .btn-ghost, .pbr-wrap .cierre-actions .btn-ghost { justify-content: center; }
}

.site-header, header.site-header, #masthead { display: none !important; }


/* =====================================================================
   AÑADIDO: layout de hero con foto grande + animaciones premium
   (lo único nuevo respecto al borrador — el resto de arriba es tal cual)
   ===================================================================== */


/* --- Parallax de decorativos de sección --- */
.pbr-wrap .quienes-section::before,
.pbr-wrap .quienes-section::after,
.pbr-wrap .especialidades-section::before,
.pbr-wrap .especialidades-section::after,
.pbr-wrap .tech-section::before,
.pbr-wrap .tech-section::after,
.pbr-wrap .rios-section::before,
.pbr-wrap .rios-section::after,
.pbr-wrap .cierre-section::before,
.pbr-wrap .cierre-section::after {
  translate: 0 calc(var(--scrollY, 0) * var(--parallax-speed, 0.04) * 1px);
}
.pbr-wrap .quienes-section::before { --parallax-speed: -0.05; }
.pbr-wrap .quienes-section::after { --parallax-speed: 0.06; }
.pbr-wrap .especialidades-section::before { --parallax-speed: 0.05; }
.pbr-wrap .especialidades-section::after { --parallax-speed: -0.06; }
.pbr-wrap .tech-section::before { --parallax-speed: -0.04; }
.pbr-wrap .tech-section::after { --parallax-speed: 0.05; }
.pbr-wrap .rios-section::before { --parallax-speed: 0.05; }
.pbr-wrap .rios-section::after { --parallax-speed: -0.05; }
.pbr-wrap .cierre-section::before { --parallax-speed: -0.05; }
.pbr-wrap .cierre-section::after { --parallax-speed: 0.05; }

/* --- Tilt 3D en tarjetas al pasar el ratón --- */
.pbr-wrap .razon, .pbr-wrap .esp-card { will-change: transform; }
.pbr-wrap .razon.pbr-tilt-ready, .pbr-wrap .esp-card.pbr-tilt-ready { transition: transform .15s ease-out, box-shadow .35s cubic-bezier(.16,1,.3,1); }
.pbr-wrap .razon-shine, .pbr-wrap .esp-card .esp-shine {
  position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .3s ease;
  background: radial-gradient(circle at var(--mx,50%) var(--my,50%), rgba(255,255,255,0.55), transparent 55%);
}
.pbr-wrap .razon:hover .razon-shine, .pbr-wrap .esp-card:hover .esp-shine { opacity: 1; }

/* --- Botones magnéticos --- */
.pbr-wrap .btn-primary, .pbr-wrap .btn-ghost, .pbr-wrap .tech-cta { transition: translate .15s ease-out, background .3s, box-shadow .3s, color .3s; will-change: translate; }

/* --- FAQ --- */
.pbr-wrap .faq-section { background: #fff; }
.pbr-wrap .faq-list { display: flex; flex-direction: column; }
.pbr-wrap .faq-item { border-bottom: 1px solid var(--denim-10); }
.pbr-wrap .faq-q { width: 100%; display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding: 22px 0; cursor: pointer; font-size: clamp(16.5px, 1vw, 18.5px); font-weight: 600; color: var(--denim); transition: color .2s; background: none; border: none; text-align: left; font-family: inherit; }
.pbr-wrap .faq-q:hover { color: var(--pumpkin); }
.pbr-wrap .faq-toggle { width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--denim-10); display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: all .3s; color: var(--pumpkin); font-size: 16px; font-weight: 400; }
.pbr-wrap .faq-q:hover .faq-toggle { border-color: var(--pumpkin); }
.pbr-wrap .faq-item.open .faq-toggle { background: var(--pumpkin); border-color: var(--pumpkin); color: #fff; transform: rotate(45deg); }
.pbr-wrap .faq-a { font-size: clamp(16px, 1vw, 18px); line-height: 1.75; color: var(--muted); max-height: 0; overflow: hidden; transition: max-height .4s ease; font-weight: 400; }
.pbr-wrap .faq-a p { padding-bottom: 24px; }
.pbr-wrap .faq-a a { color: var(--pumpkin); font-weight: 600; text-decoration: underline; }
.pbr-wrap .faq-item.open .faq-a { max-height: 280px; }

/* --- Botón flotante de WhatsApp --- */
.pbr-wrap .wa-float {
  position: fixed; right: 24px; bottom: 24px; z-index: 500;
  height: 56px; padding: 0 24px 0 14px; border-radius: 100px;
  display: inline-flex; align-items: center; gap: 12px;
  background: rgba(24,59,95,0.94); color: #fff;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.16);
  box-shadow: 0 14px 36px rgba(15,37,64,0.32);
  font-weight: 600; font-size: 15px; letter-spacing: .02em;
  transition: transform .3s cubic-bezier(.16,1,.3,1), box-shadow .3s, background .3s;
}
.pbr-wrap .wa-float:hover { transform: translateY(-3px); background: #0f2540; box-shadow: 0 20px 44px rgba(15,37,64,0.42); }
.pbr-wrap .wa-float-icon { position: relative; width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.pbr-wrap .wa-float-icon svg { width: 22px; height: 22px; }
.pbr-wrap .wa-float-dot { position: absolute; top: -1px; right: -1px; width: 10px; height: 10px; border-radius: 50%; background: #4ade80; border: 2px solid #183B5F; }
.pbr-wrap .wa-float-dot::after { content: ''; position: absolute; inset: -2px; border-radius: 50%; background: #4ade80; opacity: .6; animation: waPulse 2.4s ease-out infinite; }
@keyframes waPulse { 0% { transform: scale(1); opacity: .55; } 100% { transform: scale(2.4); opacity: 0; } }
@media (max-width: 640px) {
  .pbr-wrap .wa-float { right: 16px; bottom: 16px; width: 56px; padding: 0; justify-content: center; }
  .pbr-wrap .wa-float-label { display: none; }
  .pbr-wrap .wa-float-icon { background: transparent; width: 40px; height: 40px; }
  .pbr-wrap .wa-float-icon svg { width: 26px; height: 26px; }
  .pbr-wrap .wa-float-dot { top: 3px; right: 3px; }
}

/* Separar el botón "volver arriba" del theme del botón flotante de WhatsApp, para que no se solapen */
#back_to_top { bottom: 100px; }
@media (max-width: 640px) {
  #back_to_top { bottom: 86px; right: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .pbr-wrap .wa-float-dot::after { animation: none; }
}
