/* ════════════════════════════════════════
   Partner AWS — paleta #FF9900 como acento
   Fondos: estándar del sitio (var(--bk), alt, white)
   ════════════════════════════════════════ */
:root {
  --aws:  #FF9900;
  --aws2: #e68a00;
}

/* ── Hero ── */
.pt-hero {
  background: var(--bk);
  padding: 7rem 0 5rem;
  position: relative;
  overflow: hidden;
}
.pt-hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 5%;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}
.pt-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(255,153,0,.1);
  border: 1px solid rgba(255,153,0,.3);
  border-radius: 20px;
  padding: .3rem .9rem;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--aws);
  margin-bottom: 1.1rem;
}
.pt-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.18;
  margin: 0 0 1.1rem;
}
.pt-hero h1 em { font-style: normal; color: var(--aws); }
.pt-hero p {
  font-size: 1rem;
  color: rgba(255,255,255,.55);
  line-height: 1.75;
  max-width: 560px;
  margin-bottom: 2rem;
}
.pt-hero-logos {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}
.pt-hero-logos img { display: block; }
.pt-partner-badge-img { width: 160px; }

/* ── Botón AWS ── */
.btn-aws {
  display: inline-flex; align-items: center; gap: .5rem;
  background: var(--aws); color: #fff;
  font-weight: 700; font-size: .9rem;
  padding: .8rem 1.8rem; border-radius: 8px;
  text-decoration: none; border: 2px solid var(--aws);
  transition: background .18s, transform .15s;
}
.btn-aws:hover { background: var(--aws2); transform: translateY(-2px); }

/* ── Secciones generales ── */
.pt-sec { padding: 5rem 0; }
.pt-sec.dark  { background: var(--bk); }
.pt-sec.alt   { background: #f7f8f6; }
.pt-sec.white { background: #fff; }
.pt-inner { max-width: 1100px; margin: 0 auto; padding: 0 5%; }

.pt-label {
  font-size: .72rem; font-weight: 700; letter-spacing: 1.8px;
  text-transform: uppercase; color: var(--aws); margin-bottom: .6rem;
}
.pt-title {
  font-size: clamp(1.5rem, 2.8vw, 2.1rem);
  font-weight: 700; line-height: 1.25; margin: 0 0 .9rem;
}
.pt-title.light { color: #fff; }
.pt-sub {
  font-size: .95rem; line-height: 1.75; color: var(--muted);
  max-width: 620px; margin-bottom: 3rem;
}
.pt-sub.light { color: rgba(255,255,255,.52); }

/* ── Sección blanca: stats cuadro ── */
.pt-what-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 5rem; align-items: center;
}
.pt-what-visual {
  background: #f0f4f9;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 3rem 2.5rem; display: flex; flex-direction: column; gap: 1.2rem;
}
.pt-stat-row { display: flex; align-items: baseline; gap: .6rem; }
.pt-stat-n { font-size: 2.4rem; font-weight: 700; color: var(--aws); line-height: 1; }
.pt-stat-l { font-size: .82rem; color: var(--muted); line-height: 1.4; }
.pt-stat-divider { height: 1px; background: var(--border); }
.pt-what-text p { font-size: .95rem; line-height: 1.8; color: var(--muted); margin-bottom: 1rem; }
.pt-what-text p:last-child { margin-bottom: 0; }
.pt-what-text strong { color: var(--bk); font-weight: 600; }

/* ── Sección dark: stats cuadro ── */
.pt-sec.dark .pt-what-visual {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
}
.pt-sec.dark .pt-stat-n { color: var(--aws); }
.pt-sec.dark .pt-stat-l { color: rgba(255,255,255,.5); }
.pt-sec.dark .pt-stat-divider { background: rgba(255,255,255,.1); }

/* ── Partnership strip ── */
.pt-strip {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 20px; padding: 3.5rem 3rem;
  display: grid; grid-template-columns: 1fr 1px 1fr 1px 1fr;
  gap: 2.5rem; align-items: center;
}
.pt-strip-divider { background: rgba(255,255,255,.1); align-self: stretch; }
.pt-strip-item { text-align: center; }
.pt-strip-ico {
  width: 52px; height: 52px; background: rgba(255,153,0,.1);
  border: 1px solid rgba(255,153,0,.25); border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1rem; font-size: 1.5rem; color: var(--aws);
}
.pt-strip-ico::before { margin-right: 0 !important; }
.pt-strip-title { font-size: .88rem; font-weight: 700; color: #fff; margin-bottom: .4rem; }
.pt-strip-sub { font-size: .78rem; color: rgba(255,255,255,.45); line-height: 1.55; }

/* ── Capacidades ── */
.pt-sol-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem;
}
.pt-sol-card {
  border: 1px solid var(--border); border-radius: 16px; padding: 1.6rem 1.5rem;
  text-decoration: none; display: flex; flex-direction: column; gap: .6rem;
  transition: border-color .2s, box-shadow .2s, transform .2s; background: #fff;
}
.pt-sol-card:hover {
  border-color: var(--aws);
  box-shadow: 0 8px 28px rgba(255,153,0,.1);
  transform: translateY(-3px);
}
.pt-sol-ico {
  width: 44px; height: 44px; background: rgba(255,153,0,.08); border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; color: var(--aws);
}
.pt-sol-ico::before { margin-right: 0 !important; }
.pt-sol-cat { font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .6px; color: var(--aws); }
.pt-sol-name { font-size: .95rem; font-weight: 700; color: var(--bk); line-height: 1.3; }
.pt-sol-desc { font-size: .8rem; color: var(--muted); line-height: 1.6; flex: 1; }
.pt-sol-link { font-size: .75rem; font-weight: 600; color: var(--aws); margin-top: .4rem; }

/* ── SAP + AWS grid ── */
.aws-sap-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin-top: 2.5rem;
}
.aws-sap-card {
  border-radius: 16px; padding: 2rem;
  border: 1px solid rgba(255,255,255,.1);
  background: rgba(255,255,255,.04);
}
.aws-sap-card h3 {
  font-size: .95rem; font-weight: 700; color: #fff;
  margin: 0 0 .5rem;
}
.aws-sap-card p {
  font-size: .82rem; color: rgba(255,255,255,.5); line-height: 1.6; margin: 0 0 1.2rem;
}
.aws-sap-tag {
  display: inline-block;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12);
  color: rgba(255,255,255,.6); font-size: .68rem; font-weight: 600;
  padding: .2rem .65rem; border-radius: 20px; margin: .2rem .2rem 0 0;
}

/* ── Fondos grid ── */
.aws-funds-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.2rem; margin-top: 2.5rem;
}
.aws-fund-card {
  background: #fff; border: 1px solid var(--border); border-radius: 16px;
  padding: 1.6rem 1.5rem; display: flex; flex-direction: column; gap: .5rem;
}
.aws-fund-ico {
  width: 42px; height: 42px; border-radius: 10px;
  background: rgba(255,153,0,.08); display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem; color: var(--aws); margin-bottom: .4rem;
}
.aws-fund-ico::before { margin-right: 0 !important; }
.aws-fund-name { font-size: .9rem; font-weight: 700; color: var(--bk); }
.aws-fund-sub  { font-size: .78rem; color: var(--muted); line-height: 1.55; flex: 1; }
.aws-fund-tag  {
  font-size: .68rem; font-weight: 700; color: var(--aws);
  border-top: 1px solid var(--border); padding-top: .6rem; margin-top: .4rem;
}

/* ── Por qué AWS ── */
.pt-why-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px; background: rgba(255,255,255,.07);
  border-radius: 16px; overflow: hidden; border: 1px solid rgba(255,255,255,.07);
}
.pt-why-item { background: rgba(255,255,255,.03); padding: 2rem 1.5rem; transition: background .2s; }
.pt-why-item:hover { background: rgba(255,153,0,.06); }
.pt-why-ico { font-size: 1.6rem; color: var(--aws); margin-bottom: .9rem; }
.pt-why-ico::before { margin-right: 0 !important; }
.pt-why-title { font-size: .88rem; font-weight: 700; color: #fff; margin-bottom: .4rem; }
.pt-why-text  { font-size: .78rem; color: rgba(255,255,255,.45); line-height: 1.6; }

/* ── CTA ── */
.pt-cta { background: var(--bk); padding: 5.5rem 5%; text-align: center; }
.pt-cta h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 700; color: #fff; margin: 0 0 .9rem; }
.pt-cta h2 em { font-style: normal; color: var(--aws); }
.pt-cta p   { font-size: .95rem; color: rgba(255,255,255,.5); max-width: 500px; margin: 0 auto 2.2rem; line-height: 1.7; }
.pt-cta-btns { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; }

/* ── Responsive ── */
@media (max-width: 900px) {
  .pt-hero-inner   { grid-template-columns: 1fr; }
  .pt-hero-logos   { flex-direction: row; justify-content: flex-start; }
  .pt-what-grid    { grid-template-columns: 1fr; gap: 2.5rem; }
  .pt-strip        { grid-template-columns: 1fr; }
  .pt-strip-divider { display: none; }
  .pt-sol-grid     { grid-template-columns: 1fr 1fr; }
  .pt-why-grid     { grid-template-columns: 1fr 1fr; }
  .aws-sap-grid    { grid-template-columns: 1fr; }
  .aws-funds-grid  { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .pt-sol-grid  { grid-template-columns: 1fr; }
  .pt-why-grid  { grid-template-columns: 1fr; }
}
