/* Custom landing-page CSS for "Nuestro centro" (filosofía, equipo, directorio de servicios) */
.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;
  --denim: #183B5F;
  --peach: #F3B6A1;
  --peach-dark: #d4917a;
  --sky: #94C0D4;
  --sky-light: #eaf3f7;
  --banana: #F5CA77;
  --banana-light: #fdf6e3;
  --off: #FDF8F6;
  --muted: #6b7e8f;
}
.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;
}
.pbr-wrap p { margin: 0; }
.pbr-wrap a { text-decoration: none; }
.pbr-wrap img { max-width: 100%; display: block; }
@font-face { font-family: 'Now'; src: local('Now Black'), local('NowBlack'); font-weight: 900; }

/* ─── HERO ─── */
.nc-hero { position: relative; min-height: 66vh; display: flex; align-items: center; overflow: hidden; }
.nc-hero-bg { position: absolute; inset: 0; z-index: 0; }
.nc-hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 65%; display: block; }
.nc-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(15,37,64,0.93) 0%, rgba(15,37,64,0.84) 30%, rgba(15,37,64,0.5) 56%, rgba(15,37,64,0.18) 78%, rgba(15,37,64,0.04) 100%);
}
.nc-hero-content {
  position: relative; z-index: 2; max-width: 640px;
  padding: 140px 56px 80px;
  margin-left: max(0px, calc((100vw - 1680px) / 2));
  animation: pbrFadeUp .7s cubic-bezier(.16,1,.3,1) both;
}
.nc-hero-tag {
  display: inline-flex; align-items: center; gap: 8px;
  background: #F3B6A1; color: #fff;
  padding: 6px 16px; border-radius: 100px;
  font-size: 12px; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; margin-bottom: 18px;
}
.nc-hero h1 { font-size: clamp(34px, 4.6vw, 66px); line-height: 1.15; color: #fff; margin-bottom: 16px; }
.nc-hero h1 em { font-style: normal; color: #F3B6A1; }
.pbr-wrap .nc-hero-sub { font-size: 18px; line-height: 1.75; font-weight: 300; color: rgba(255,255,255,0.75); max-width: 480px; margin-bottom: 28px; }
.nc-hero-sub strong { color: #fff; font-weight: 600; }
.nc-hero-btns { display: flex; flex-wrap: wrap; gap: 12px; }
.nc-btn-main {
  display: inline-flex; align-items: center; gap: 8px;
  background: #F3B6A1; color: #183B5F;
  padding: 15px 30px; border-radius: 100px;
  font-size: 15px; font-weight: 700; transition: all .2s;
}
.nc-btn-main:hover { background: #d4917a; color: #fff; }
.nc-btn-ghost {
  display: inline-flex; align-items: center; gap: 6px;
  border: 1.5px solid rgba(255,255,255,0.4); color: #fff;
  padding: 15px 26px; border-radius: 100px;
  font-size: 14px; transition: all .2s;
}
.nc-btn-ghost:hover { border-color: #F3B6A1; color: #F3B6A1; }

/* ─── SECCIONES ─── */
.nc-section { padding: 96px 56px; }
.nc-section-off { padding: 96px 56px; background: #FDF8F6 !important; }
.nc-container { max-width: 1080px; margin: 0 auto; }
.nc-container-narrow { max-width: 760px; margin: 0 auto; }
.nc-eyebrow {
  font-size: 11px; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: #F3B6A1;
  margin-bottom: 14px; display: flex; align-items: center; gap: 8px;
}
.nc-eyebrow::before { content: ''; width: 20px; height: 2px; background: #F3B6A1; }
.nc-eyebrow.center { justify-content: center; }
.nc-title { font-size: clamp(28px,3.6vw,42px); line-height: 1.15; color: #183B5F; margin-bottom: 20px; }
.nc-intro { font-size: 19px; line-height: 1.8; font-weight: 300; color: var(--muted); }
.nc-intro strong { color: #183B5F; font-weight: 600; }
.nc-intro + .nc-intro { margin-top: 20px; }
.nc-intro:last-of-type { margin-bottom: 32px; }
.center-text { text-align: center; }

/* ─── EQUIPO (split alternante) ─── */
.nc-team-item { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 64px; align-items: center; }
.nc-team-item.reverse { direction: rtl; }
.nc-team-item.reverse > * { direction: ltr; }
.nc-team-item + .nc-team-item { margin-top: 96px; }
.nc-team-photo {
  border-radius: 32% 68% 62% 38% / 46% 40% 60% 54%;
  overflow: hidden; position: relative;
  opacity: 0; transform: scale(.94);
  transition: opacity .6s cubic-bezier(.16,1,.3,1), transform .6s cubic-bezier(.16,1,.3,1);
}
.nc-team-photo.visible { opacity: 1; transform: none; }
.nc-team-photo img { width: 100%; height: 520px; object-fit: cover; object-position: center 15%; display: block; }
.nc-team-text {
  opacity: 0; transform: translateY(20px);
  transition: opacity .6s cubic-bezier(.16,1,.3,1) .1s, transform .6s cubic-bezier(.16,1,.3,1) .1s;
}
.nc-team-text.visible { opacity: 1; transform: none; }
.nc-team-name { font-family: 'Now','Catamaran',sans-serif; font-weight: 900; font-size: clamp(30px,3.4vw,44px); color: #F3B6A1; line-height: 1; margin-bottom: 10px; }
.nc-team-role { font-size: 14px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: #183B5F; margin-bottom: 22px; }
.nc-team-bio p { font-size: 16.5px; line-height: 1.8; color: var(--muted); font-weight: 300; margin-bottom: 14px; }
.nc-team-bio p:last-child { margin-bottom: 0; }
.nc-team-bio strong { color: #183B5F; font-weight: 600; }
.nc-team-fun {
  margin-top: 24px; padding: 20px 24px;
  background: #FDF8F6; border-radius: 14px;
  border-left: 3px solid #F3B6A1;
}
.nc-team-fun-title { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #d4917a; margin-bottom: 8px; }
.nc-team-fun p { font-size: 14.5px; line-height: 1.7; color: var(--muted); font-weight: 300; }

/* ─── Placeholder de foto (sin foto real todavía) ─── */
.nc-team-photo-placeholder {
  display: flex; align-items: center; justify-content: center;
  height: 520px;
  font-family: 'Now','Catamaran',sans-serif; font-weight: 900; font-size: 96px; color: rgba(255,255,255,0.85);
}

/* ─── SERVICIOS (directorio) ─── */
.nc-servicios-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; max-width: 920px; margin: 0 auto; }
.nc-servicio-card {
  background: #fff; border-radius: 20px; padding: 30px 24px;
  box-shadow: 0 2px 20px rgba(24,59,95,0.06);
  display: flex; flex-direction: column; gap: 12px;
  position: relative; overflow: hidden;
  opacity: 0; transform: translateY(16px);
}
.nc-servicio-card.visible { opacity: 1; transform: none; }
.nc-servicio-card.pbr-tilt-ready { transition: opacity .4s, transform .15s ease-out, box-shadow .35s cubic-bezier(.16,1,.3,1); will-change: transform; }
.nc-servicio-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--c, #F3B6A1); }
.nc-servicio-card:hover { box-shadow: 0 14px 40px rgba(24,59,95,0.12); }
.nc-servicio-icon { font-size: 30px; }
.nc-servicio-title { font-size: 16px; font-weight: 700; color: #183B5F; }
.nc-servicio-desc { font-size: 12.5px; line-height: 1.6; color: var(--muted); flex: 1; }
.nc-servicio-link { font-size: 12.5px; font-weight: 700; color: var(--c, #F3B6A1); display: inline-flex; align-items: center; gap: 6px; margin-top: auto; transition: gap .2s; }
.nc-servicio-card:hover .nc-servicio-link { gap: 10px; }

/* ─── CTA CIERRE ─── */
.nc-cierre { padding: 96px 56px; background: #FDF8F6 !important; text-align: center; position: relative; overflow: hidden; }
.nc-cierre-inner { max-width: 620px; margin: 0 auto; position: relative; z-index: 1; }
.nc-cierre-title { font-size: clamp(28px,3.8vw,44px); line-height: 1.2; color: #183B5F; margin-bottom: 18px; }
.pbr-wrap .nc-cierre-sub { font-size: 18px; line-height: 1.7; color: var(--muted); margin-bottom: 36px; font-weight: 300; }
.nc-btn-cierre {
  display: inline-flex; align-items: center; gap: 10px;
  background: #183B5F; color: #fff;
  padding: 18px 42px; border-radius: 100px;
  font-size: 16px; font-weight: 700; transition: all .2s;
  margin-bottom: 14px;
}
.nc-btn-cierre:hover { background: #F3B6A1; color: #183B5F; }
.nc-phone { font-size: 16px; color: var(--muted); margin-top: 8px; }
.nc-phone a { color: #d4917a; font-weight: 600; }

@keyframes pbrFadeUp { from { opacity:0; transform: translateY(28px); } to { opacity:1; transform: none; } }

@media (max-width: 980px) {
  .nc-hero { min-height: 70vh; }
  .nc-hero-content { padding: 110px 24px 60px; max-width: 100%; }
  .nc-hero-overlay { background: linear-gradient(180deg, rgba(15,37,64,0.55) 0%, rgba(15,37,64,0.75) 55%, rgba(15,37,64,0.93) 100%); }
  .nc-team-item, .nc-team-item.reverse { grid-template-columns: 1fr; direction: ltr; gap: 32px; }
  .nc-team-photo img { height: 380px; }
  .nc-servicios-grid { grid-template-columns: repeat(2,1fr); }
  .nc-section, .nc-section-off, .nc-cierre { padding: 70px 24px; }
  .nc-team-item + .nc-team-item { margin-top: 56px; }
}
@media (max-width: 560px) {
  .nc-servicios-grid { grid-template-columns: 1fr; }
}

/* Quita el relleno lateral de WPBakery para que el hero llegue de borde a borde */
.vc_column-inner { padding-left: 0 !important; padding-right: 0 !important; }
.vc_row.wpb_row { margin-left: 0 !important; margin-right: 0 !important; }
