/*
Theme Name: TePagamos Lite
Theme URI: #
Author: JM
Author URI: #
Description: Tema WordPress estilo landing simple para campañas educativas con Gravity Forms.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
Text Domain: tepagamos-lite
*/

:root{
  --tpl-primary:#024a98;
  --tpl-primary-dark:#023b7b;
  --tpl-primary-soft:#2d5f9e;
  --tpl-accent:#f4c400;
  --tpl-text:#0f2a44;
  --tpl-muted:#5f6f84;
  --tpl-bg:#edf1f7;
  --tpl-white:#ffffff;
  --tpl-border:#d8e0ea;
  --tpl-shadow:0 18px 60px rgba(2,36,84,.14);
  --tpl-radius-xl:32px;
  --tpl-radius-lg:22px;
  --tpl-radius-md:16px;
  --tpl-radius-sm:12px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body.tpl-body{
  margin:0;
  font-family: Inter, Arial, Helvetica, sans-serif;
  background:var(--tpl-bg);
  color:var(--tpl-text);
}
img{max-width:100%;height:auto}
a{text-decoration:none;color:inherit}

.tpl-page{
  min-height:100vh;
  overflow:hidden;
}

.tpl-hero{
  position:relative;
  background:linear-gradient(180deg,var(--tpl-primary-dark) 0%,var(--tpl-primary) 100%);
  color:#fff;
  padding:22px 20px 140px;
}
.tpl-shape,
.tpl-shape-two,
.tpl-shape-three{
  position:absolute;
  border-radius:50%;
  pointer-events:none;
}
.tpl-shape{
  width:360px;height:360px;
  right:-120px;top:-20px;
  background:rgba(255,255,255,.12);
}
.tpl-shape-two{
  width:280px;height:280px;
  left:-140px;top:320px;
  background:rgba(255,255,255,.08);
}
.tpl-shape-three{
  width:260px;height:260px;
  right:12%;bottom:-140px;
  background:rgba(255,255,255,.08);
}

.tpl-container{
  width:min(100%,1100px);
  margin:0 auto;
  position:relative;
  z-index:2;
}

.tpl-topbar{
  display:flex;
  justify-content:center;
  align-items:center;
  gap:18px;
  margin-bottom:28px;
  text-align:center;
  flex-wrap:wrap;
}
.tpl-brand{
  display:flex;
  align-items:center;
  gap:14px;
  justify-content:center;
}
.tpl-brand img{
  max-height:58px;
  width:auto;
}
.tpl-brand-text{
  font-size:15px;
  letter-spacing:.06em;
  text-transform:uppercase;
  opacity:.92;
  font-weight:700;
}
.tpl-brand-subtext{
  width:100%;
  text-align:center;
  margin-top:6px;
  color:rgba(255,255,255,.88);
  font-size:16px;
}

.tpl-badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:12px 26px;
  border-radius:999px;
  background:var(--tpl-accent);
  color:#1d2732;
  font-weight:800;
  letter-spacing:.03em;
  margin:8px auto 28px;
  box-shadow:0 10px 30px rgba(244,196,0,.25);
}
.tpl-badge::before{
  content:'';
  width:10px;height:10px;border-radius:50%;
  background:#e74c3c;
}

.tpl-headline{
  max-width:920px;
  margin:0 auto;
  text-align:center;
}
.tpl-headline h1{
  font-size:clamp(20px,2vw,82px);
  line-height:1.05;
  letter-spacing:-.03em;
  margin:0 0 22px;
  font-weight:900;
}
.tpl-headline .accent{color:var(--tpl-accent)}
.tpl-description{
  max-width:760px;
  margin:0 auto;
  color:rgba(255,255,255,.9);
  font-size:clamp(18px,2.2vw,24px);
  line-height:1.5;
}
.tpl-description strong{color:var(--tpl-accent)}

.tpl-pills{
  display:flex;
  flex-wrap:wrap;
  gap:14px;
  justify-content:center;
  margin:34px 0 36px;
}
.tpl-pill{
  padding:14px 22px;
  border-radius:999px;
  background:rgba(255,255,255,.14);
  border:1px solid rgba(255,255,255,.2);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.12);
  font-weight:700;
  font-size:18px;
}

.tpl-arrow{
  display:flex;
  justify-content:center;
  align-items:center;
  font-size:54px;
  line-height:1;
  color:rgba(255,255,255,.8);
}

.tpl-card-wrap{
  position:relative;
  margin-top:-92px;
  padding:0 20px 40px;
}
.tpl-form-card{
  background:#fff;
  width:min(100%,760px);
  margin:0 auto;
  border-radius:var(--tpl-radius-xl);
  padding:40px 36px 30px;
  box-shadow:var(--tpl-shadow);
}
.tpl-form-card h2{
  text-align:center;
  color:#0f4382;
  font-size:20px;
  line-height:1.1;
  margin:0 0 12px;
}
.tpl-form-card p{
  text-align:center;
  color:var(--tpl-muted);
  font-size:clamp(18px,2vw,24px);
  line-height:1.5;
  margin:0 auto 28px;
  max-width:620px;
}

.tpl-form-shell{
  border-radius:22px;
}
.tpl-form-placeholder{
  border:2px dashed var(--tpl-border);
  border-radius:22px;
  background:#f8fafc;
  padding:26px;
  color:var(--tpl-muted);
}
.tpl-form-placeholder code{
  display:block;
  background:#eef4fb;
  color:#123b68;
  border-radius:12px;
  padding:16px;
  font-size:15px;
  overflow:auto;
  margin-top:12px;
}

.tpl-note{
  margin-top:20px;
  padding:18px 20px;
  background:#eef4ff;
  border-radius:18px;
  color:#5b6e84;
  font-size:16px;
  line-height:1.5;
  text-align:center;
}
.tpl-social-proof{
  margin-top:24px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:18px;
  flex-wrap:wrap;
  color:#103b70;
  font-size:19px;
  font-weight:700;
}
.tpl-avatars{
  display:flex;
  align-items:center;
}
.tpl-avatar{
  width:48px;height:48px;border-radius:50%;
  border:3px solid #fff;
  margin-left:-10px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:15px;
  font-weight:800;
  color:#fff;
}
.tpl-avatar:first-child{margin-left:0}
.tpl-avatar.a{background:#0f67be}
.tpl-avatar.b{background:#174b9d}
.tpl-avatar.c{background:#e33b3b}
.tpl-avatar.d{background:#0e64b1}

.tpl-site-footer{
  text-align:center;
  padding:26px 20px 40px;
  color:#708095;
  font-size:14px;
}

/* Gravity Forms normalization */
.tpl-form-shell .gform_wrapper{
  margin:0;
}
.tpl-form-shell .gform_wrapper .gform_fields{
  gap:14px;
}
.tpl-form-shell .gform_wrapper input:not([type=submit]):not([type=button]):not([type=radio]):not([type=checkbox]),
.tpl-form-shell .gform_wrapper select,
.tpl-form-shell .gform_wrapper textarea{
  border:1px solid #cfd8e3;
  border-radius:16px;
  min-height:58px;
  padding:14px 18px !important;
  font-size:17px !important;
  background:#fff;
}
.tpl-form-shell .gform_wrapper .gform_button,
.tpl-form-shell .gform_wrapper button.button{
  width:100%;
  border:none;
  background:var(--tpl-accent);
  color:#17202a;
  border-radius:18px;
  min-height:72px;
  font-size:28px;
  font-weight:900;
  box-shadow:0 12px 28px rgba(244,196,0,.28);
  cursor:pointer;
}

@media (max-width: 768px){
  .tpl-hero{padding:18px 16px 112px}
  .tpl-form-card{padding:28px 20px 24px;border-radius:24px}
  .tpl-pill{font-size:15px;padding:12px 16px}
  .tpl-badge{padding:10px 18px;font-size:14px}
  .tpl-brand img{max-height:46px}
  .tpl-brand-subtext{font-size:14px}
}
