/* =========================================================
   TP ADVISORS – ¿POR QUÉ ELEGIRNOS? (tpawhy)
   CSS COMPLETO / REEMPLAZO TOTAL
   Scope: #tpa-por-que-elegirnos.tpa
========================================================= */

#tpa-por-que-elegirnos.tpa{
  /* ===== BRAND / BASE ===== */
  --tpawhy-ink:#0f1b2d;
  --tpawhy-muted:rgba(15,27,45,.65);

  --tpawhy-blue-950:#08172b;
  --tpawhy-blue-900:#0b1d33;
  --tpawhy-blue-850:#0e2340;
  --tpawhy-blue-800:#102a47;

  --tpawhy-blue:#1f497d;          /* azul principal (línea, badges) */
  --tpawhy-blue2:#688ae6;         /* azul claro */
  --tpawhy-mint:#63d6b0;          /* verde título / números */
  --tpawhy-orange:#df900c;        /* botón naranja */

  --tpawhy-bg:#ffffff;
  --tpawhy-soft:#f4f7fb;
  --tpawhy-line:rgba(15,27,45,.10);

  --tpawhy-glass:rgba(255,255,255,.16);
  --tpawhy-glass2:rgba(255,255,255,.20);
  --tpawhy-glass-border:rgba(255,255,255,.40);

  --tpawhy-r-xl:26px;
  --tpawhy-r-lg:22px;
  --tpawhy-r-md:16px;
  --tpawhy-r-sm:12px;

  --tpawhy-sh-soft:0 12px 32px rgba(11,29,51,.12);
  --tpawhy-sh-mid:0 26px 70px rgba(11,29,51,.18);
  --tpawhy-sh-hard:0 40px 120px rgba(11,29,51,.30);

  --tpawhy-max:1200px;
  --tpawhy-gutter:24px;

  font-family:"Poppins",system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  color:var(--tpawhy-ink);
  background:var(--tpawhy-bg);
}

section[id]{ scroll-margin-top:92px; }

.tpawhy-container{
  max-width:var(--tpawhy-max);
  margin:0 auto;
  padding:0 var(--tpawhy-gutter);
}

/* =========================================================
   HERO
========================================================= */

.tpawhy-hero{
  position:relative;
  padding:120px 0 95px;
  overflow:hidden;
}

.tpawhy-hero-bg{
  position:absolute;
  inset:0;
  background-image:var(--hero-bg);
  background-size:cover;
  background-position:center;
  z-index:0;
  filter:saturate(1.03) contrast(1.02);
  transform:scale(1.02);
}

.tpawhy-hero-overlay{
  position:absolute;
  inset:0;
  z-index:1;
  background:
    linear-gradient(90deg, rgba(31,73,125,.74), rgba(63,60,113,.72), rgba(31,73,125,.74));
}

.tpawhy-hero-inner{
  position:relative;
  z-index:2;
  max-width:980px;
  margin:0 auto;
  padding:0 var(--tpawhy-gutter);
  text-align:center;
  color:#fff;
}

/* pill */
.tpawhy-pill{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:9px 16px;
  border-radius:999px;
  background:var(--tpawhy-glass2);
  border:1px solid rgba(255,255,255,.22);
  backdrop-filter:blur(10px);
  -webkit-backdrop-filter:blur(10px);
  font-weight:600;
  font-size:1rem;
  letter-spacing:.15px;
  margin:0 0 22px;
}

.tpawhy-pill-ico{
  width:30px;
  height:30px;
  border-radius:10px;
  display:grid;
  place-items:center;
}
.tpawhy-pill-ico i{
  color:var(--tpawhy-orange);
  font-size:1rem;
}

/* title */
.tpawhy-hero-title{
  margin:0 0 14px;
  font-size:4rem;
  line-height:1.06;
  font-weight:900;
  letter-spacing:-.8px;
}
.tpawhy-title-a{ color:#fff; }
.tpawhy-title-b{
  color:var(--tpawhy-mint);
  text-shadow:0 18px 40px rgba(99,214,176,.18);
}

/* subtitle */
.tpawhy-hero-sub{
  margin:0 auto 30px;
  padding:0 5rem;
  max-width:820px;
  font-size:18px;
  line-height:1.72;
  color:rgba(255,255,255,.90);
}

/* actions */
.tpawhy-hero-actions{
  display:flex;
  justify-content:center;
  gap:16px;
  flex-wrap:wrap;
  margin:0 0 44px;
}

.tpawhy-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  height:48px;
  padding:0 24px;
  border-radius:10px;
  font-weight:600;
  font-size:14px;
  letter-spacing:.15px;
  border:1px solid transparent;
  transition:transform .14s ease, box-shadow .14s ease, background .14s ease, border-color .14s ease;
  user-select:none;
}
.tpawhy-btn i{ font-size:14px; }

.tpawhy-btn--primary{
  background:var(--tpawhy-orange);
  color:#fff;
}
.tpawhy-btn--primary:hover{
  transform:translateY(-1px);
  box-shadow:0 22px 48px rgba(223,144,12,.50);
}

.tpawhy-btn--ghost{
  background:rgba(255,255,255,.16);
  color:#fff;
  border-color:rgba(255,255,255,.45);
  backdrop-filter:blur(10px);
  -webkit-backdrop-filter:blur(10px);
}
.tpawhy-btn--ghost:hover{
  transform:translateY(-1px);
  background:rgba(255,255,255,.20);
  border-color:rgba(255,255,255,.55);
}

/* KPIs hero */
.tpawhy-kpis{
  display:grid;
  grid-template-columns:repeat(4, minmax(0,1fr));
  gap:1.5rem;
  padding:0 1rem;
}

.tpawhy-kpi{
  padding:2rem;
  border-radius:16px;
  background:rgba(255,255,255,.15);
  border:1px solid rgba(255,255,255,.20);
  backdrop-filter:blur(8px);
  -webkit-backdrop-filter:blur(8px);
  display:flex;
  align-items:center;
  justify-content:center;
}

.tpawhy-kpi-in{ text-align:center; }

.tpawhy-kpi-num{
  font-size:26px;
  font-weight:700;
  color:var(--tpawhy-mint);
  line-height:1.05;
}

.tpawhy-kpi-lbl{
  margin-top:6px;
  font-size:13px;
  font-weight:500;
  color:rgba(255,255,255,.90);
}

/* =========================================================
   SECTION HEAD
========================================================= */

.tpawhy-sec-head{
  margin:0 0 36px;
}
.tpawhy-sec-head--center{
  text-align:center;
  max-width:820px;
  margin-left:auto;
  margin-right:auto;
}

.tpawhy-h2{
  margin:0 0 10px;
  font-size:2.5rem;
  font-weight:900;
  letter-spacing:-.6px;
  line-height:1.05;
  color:#0f172a;
}
.tpawhy-h2--left{
  text-align:left;
  max-width:620px;
}
.tpawhy-accent{ color:var(--tpawhy-blue); }

.tpawhy-p{
  margin:0;
  font-size:14px;
  line-height:1.75;
  color:var(--tpawhy-muted);
}
.tpawhy-p--left{ text-align:left; }
.tpawhy-p--muted{ opacity:.92; margin-top:14px; }

.tpawhy-divider{
  width:64px;
  height:3px;
  border-radius:999px;
  background:var(--tpawhy-blue);
  margin:18px auto 0;
}

/* =========================================================
   VALUES
========================================================= */

.tpawhy-values{
  padding:90px 0 70px;
  background:#fff;
}

.tpawhy-value-grid{
  display:grid;
  grid-template-columns:repeat(4, minmax(0,1fr));
  gap:26px;
  margin-top:40px;
  align-items:start;
}

.tpawhy-value{
  text-align:center;
  padding:0 8px;
}

.tpawhy-value-ico{
  width:88px;
  height:88px;
  border-radius:18px;
  margin:0 auto 16px;
  display:grid;
  place-items:center;
  background:linear-gradient(135deg, #214f86, #5e80dd);
  box-shadow:0 18px 42px rgba(31,73,125,.20);
}
.tpawhy-value-ico--soft{
  background:linear-gradient(135deg, #6b8ae6, #9bb0dd);
}

.tpawhy-value-ico i{
  color:#fff;
  font-size:28px;
}

.tpawhy-value h3{
  margin:0 0 8px;
  font-size:16px;
  font-weight:900;
  color:#0f172a;
}
.tpawhy-value p{
  margin:0;
  font-size:12.5px;
  line-height:1.65;
  color:rgba(15,27,45,.58);
  max-width:240px;
  margin-left:auto;
  margin-right:auto;
}

/* =========================================================
   BENEFITS
========================================================= */

.tpawhy-benefits{
  padding:70px 0 80px;
  background:#fff;
}

.tpawhy-benefits-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:44px;
  align-items:center;
}

.tpawhy-media-card{
  margin: 1rem;
  position:relative;
  border-radius:22px;
  overflow:visible;
  box-shadow:0 34px 90px rgba(11,29,51,.22);
}
.tpawhy-media-card img{
  border-radius:22px;
  transform:scale(1.01);
}

.tpawhy-badge{
  position:absolute;
  width:54px;
  height:54px;
  border-radius:999px;
  display:grid;
  place-items:center;
  color:#fff;
  background:linear-gradient(135deg, #1b3f6d, #2f5db5);
  box-shadow:0 18px 44px rgba(11,29,51,.26);
}
.tpawhy-badge i{ font-size:20px; }

.tpawhy-badge--tr{ top:-14px; right:-14px; }
.tpawhy-badge--bl{ left:-14px; bottom:-14px; opacity:.92; }

.tpawhy-list{
  margin-top:18px;
  display:grid;
  gap:18px;
}

.tpawhy-list-item{
  display:flex;
  gap:14px;
  align-items:flex-start;
}

.tpawhy-list-ico{
  width:44px;
  height:44px;
  border-radius:14px;
  display:grid;
  place-items:center;
  background:linear-gradient(135deg, #1f497d, #6b8ae6);
  box-shadow:0 16px 36px rgba(31,73,125,.22);
  flex:0 0 auto;
}
.tpawhy-list-ico--soft{
  background:linear-gradient(135deg, #6b8ae6, #9bb0dd);
}
.tpawhy-list-ico i{
  color:#fff;
  font-size:18px;
}

.tpawhy-list-txt{
  display:flex;
  flex-direction:column;
  gap:6px;
  padding-top:2px;
}
.tpawhy-list-txt strong{
  font-size:15px;
  font-weight:900;
  color:#0f172a;
}
.tpawhy-list-txt span{
  font-size:13px;
  line-height:1.6;
  color:rgba(15,27,45,.60);
  max-width:520px;
}

/* =========================================================
   SOMOS DIFERENTES
========================================================= */

.tpawhy-different{
  padding:40px 0 80px;
  background:#fff;
}

.tpawhy-different-card{
  background:var(--tpawhy-soft);
  border-radius:18px;
  padding:34px 34px;
  box-shadow:0 18px 60px rgba(11,29,51,.12);
}

.tpawhy-different-grid{
  display:grid;
  grid-template-columns:1.05fr .95fr;
  gap:34px;
  align-items:center;
}

.tpawhy-different-media img{
  border-radius:16px;
  box-shadow:0 22px 70px rgba(11,29,51,.18);
}

.tpawhy-mini-grid{
  margin-top:26px;
  display:grid;
  grid-template-columns:repeat(2, minmax(0,1fr));
  gap:18px;
}

.tpawhy-mini{
  background:#fff;
  border:1px solid rgba(15,27,45,.10);
  border-radius:14px;
  padding:20px 22px;
  box-shadow:0 16px 52px rgba(11,29,51,.10);
}

.tpawhy-mini-top{
  display:flex;
  align-items:center;
  gap:12px;
  margin-bottom:10px;
}

.tpawhy-mini-ico{
  width:4rem;
  height:4rem;
  border-radius:14px;
  display:grid;
  place-items:center;
  background:#1F497D;
  box-shadow:0 16px 38px rgba(31,73,125,.18);
  flex:0 0 auto;
}
.tpawhy-mini-ico i{
  color:#fff;
  font-size:1.5rem;
}

.tpawhy-mini h3{
  margin:0;
  font-size:16px;
  font-weight:900;
  color:#0f172a;
}
.tpawhy-mini p{
  margin:0;
  font-size:13px;
  line-height:1.65;
  color:rgba(15,27,45,.60);
}

/* =========================================================
   RESULTS
========================================================= */

.tpawhy-results{
  padding:40px 0 70px;
  background:#fff;
}

.tpawhy-results-card{
  border-radius:18px;
  padding:3.5rem 3rem;
  color:#fff;
  background:linear-gradient(135deg, #1F497D, #688AE6);
  box-shadow:0 30px 110px rgba(11,29,51,.22);
}

.tpawhy-results-card h2{
  margin:0 0 26px;
  text-align:center;
  font-size:34px;
  font-weight:600;
  letter-spacing:-.4px;
  color: #fff;
}

.tpawhy-results-grid{
  display:grid;
  grid-template-columns:repeat(4, minmax(0,1fr));
  gap:14px;
  text-align:center;
}

.tpawhy-r strong{
  display:block;
  font-size:40px;
  font-weight:600;
  line-height:1.05;
}
.tpawhy-r .tpawhy-r-title{
  display:block;
  margin-top:10px;
  font-size:13px;
  font-weight:800;
  opacity:.95;
}
.tpawhy-r em{
  display:block;
  margin-top:6px;
  font-style:normal;
  font-size:12px;
  line-height:1.45;
  opacity:.82;
  padding:0 6px;
}

/* =========================================================
   FINAL CTA
========================================================= */

.tpawhy-cta{
  padding:40px 0 70px;
  background:#fff;
  text-align:center;
}

.tpawhy-cta-title{
  margin:0 0 10px;
  font-size:26px;
  font-weight:900;
  color:#0f172a;
}

.tpawhy-cta-sub{
  margin:0 auto 20px;
  max-width:720px;
  font-size:13px;
  line-height:1.7;
  color:rgba(15,27,45,.55);
}

.tpawhy-cta-actions{
  display:flex;
  justify-content:center;
  gap:14px;
  flex-wrap:wrap;
}

.tpawhy-btn2{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  height:44px;
  padding:0 22px;
  border-radius:8px;
  font-size:13px;
  font-weight:700;
  border:1px solid transparent;
  transition:transform .14s ease, box-shadow .14s ease, background .14s ease, border-color .14s ease;
}

.tpawhy-btn2 i{ font-size:1.2rem; }

.tpawhy-btn2--dark{
  padding: 1.8rem;
  background:#1F497D;
  color:#fff;
  box-shadow:0 14px 30px rgba(11,29,51,.18);
}
.tpawhy-btn2--dark:hover{
  transform:translateY(-1px);
  box-shadow:0 20px 44px rgba(11,29,51,.22);
}

/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 980px){
  .tpawhy-hero-title{ font-size:54px; }
  .tpawhy-hero-sub{ padding:0 2rem; }

  .tpawhy-kpis{
    grid-template-columns:repeat(2, minmax(0,1fr));
  }

  .tpawhy-value-grid{
    grid-template-columns:repeat(2, minmax(0,1fr));
    gap:22px;
  }

  .tpawhy-benefits-grid{
    grid-template-columns:1fr;
    gap:26px;
  }

  .tpawhy-different-grid{
    grid-template-columns:1fr;
  }

  .tpawhy-results-grid{
    grid-template-columns:repeat(2, minmax(0,1fr));
    gap:22px;
  }
}

@media (max-width: 640px){
  .tpawhy-hero{
    padding:96px 0 78px;
  }

  .tpawhy-hero-title{ font-size:40px; }
  .tpawhy-hero-sub{
    font-size:15px;
    padding:0 1rem;
  }

  .tpawhy-btn{
    width:100%;
    max-width:360px;
  }

  .tpawhy-kpis{
    grid-template-columns:1fr;
    gap:14px;
    padding:0 .25rem;
  }

  .tpawhy-h2{ font-size:1rem; }

  .tpawhy-value-grid{
    grid-template-columns:1fr;
  }

  .tpawhy-mini-grid{
    grid-template-columns:1fr;
  }

  .tpawhy-results-card{
    padding:32px 18px;
  }

  .tpawhy-results-card h2{
    font-size:26px;

  }

  .tpawhy-results-grid{
    grid-template-columns:1fr;
  }

  .tpawhy-btn2{
    width:100%;
    max-width:360px;
  }
}
