
/* RENDEMY SECTOR PAGE - Template comun */
.sec-wrap { font-family: 'Inter', -apple-system, sans-serif; background: #0a0a0a; color: #f0f0f0; width: 100%; overflow-x: hidden; }

/* HERO con video bg */
.sec-hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 6rem 2rem;
  background: #0a0a0a;
}
.sec-hero-video {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: .4; z-index: 0;
}
.sec-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,10,10,.5) 0%, rgba(10,10,10,.95) 100%);
  z-index: 1;
}
.sec-hero-content { position: relative; z-index: 2; max-width: 900px; text-align: center; }
.sec-badge {
  display: inline-block;
  background: rgba(0,223,171,.12);
  border: 1px solid rgba(0,223,171,.35);
  color: #00dfab;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  padding: .4rem 1.2rem;
  border-radius: 100px;
  margin-bottom: 1.8rem;
}
.sec-hero h1 {
  font-size: clamp(2.6rem, 7vw, 5rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
  letter-spacing: -.025em;
  margin-bottom: 1.4rem;
}
.sec-hero h1 span { color: #00dfab; }
.sec-hero-desc {
  font-size: clamp(1.15rem, 1.8vw, 1.5rem);
  color: #ccc;
  max-width: 680px;
  margin: 0 auto 2.5rem;
  line-height: 1.75;
}
.sec-hero-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.sec-btn-primary {
  display: inline-block;
  background: #00dfab !important;
  color: #0a0a0a !important;
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: .05em;
  text-transform: uppercase;
  padding: 1.1rem 2.6rem;
  border-radius: 6px;
  text-decoration: none !important;
  transition: all .25s;
  -webkit-text-fill-color: #0a0a0a !important;
}
.sec-btn-primary:hover {
  background: #00c49a !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0,223,171,.3);
}
.sec-btn-ghost {
  display: inline-block;
  border: 1px solid rgba(255,255,255,.25);
  color: #fff !important;
  font-weight: 600;
  font-size: .95rem;
  padding: 1.1rem 2.6rem;
  border-radius: 6px;
  text-decoration: none !important;
  transition: all .25s;
}
.sec-btn-ghost:hover { border-color: #00dfab; color: #00dfab !important; }

/* Stats strip */
.sec-stats-bg { background: #0d0d0d; border-bottom: 1px solid rgba(255,255,255,.05); }
.sec-stats {
  max-width: 1100px;
  margin: 0 auto;
  padding: 3.5rem 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2rem;
  text-align: center;
}
.sec-stat-num {
  font-size: clamp(2rem, 3.2vw, 2.6rem);
  font-weight: 800;
  color: #00dfab;
  line-height: 1;
  margin-bottom: .5rem;
}
.sec-stat-label {
  font-size: .92rem;
  color: #666;
  text-transform: uppercase;
  letter-spacing: .12em;
}

/* Por que 3D - manifiesto */
.sec-why {
  max-width: 1100px;
  margin: 0 auto;
  padding: 7rem 2rem;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 5rem;
  align-items: start;
}
.sec-label {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: #00dfab;
  margin-bottom: 1rem;
  display: block;
}
.sec-why h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.1rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  letter-spacing: -.02em;
}
.sec-why h2 span { color: #00dfab; }
.sec-why-text p {
  font-size: 1.5rem;
  color: #b0b0b0;
  line-height: 1.85;
  margin-bottom: 1.4rem;
}
.sec-why-text p:last-child { margin-bottom: 0; }
.sec-why-text strong { color: #fff; }

/* Casos de uso - cards */
.sec-cases-bg { background: #0d0d0d; border-top: 1px solid rgba(255,255,255,.05); padding: 7rem 2rem; }
.sec-cases-inner { max-width: 1200px; margin: 0 auto; }
.sec-cases-head { text-align: center; margin-bottom: 4rem; }
.sec-cases-head h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.1rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: -.02em;
  margin-bottom: 1rem;
}
.sec-cases-head p { color: #999; font-size: 1.5rem; max-width: 680px; margin: 0 auto; line-height: 1.55; }
.sec-cases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.sec-case {
  background: #111;
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 14px;
  padding: 2rem 1.8rem;
  transition: border-color .25s, transform .25s;
  position: relative;
  overflow: hidden;
}
.sec-case::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 3px;
  background: linear-gradient(90deg, #00dfab, transparent);
  opacity: 0;
  transition: opacity .25s;
}
.sec-case:hover { border-color: rgba(0,223,171,.3); transform: translateY(-4px); }
.sec-case:hover::before { opacity: 1; }
.sec-case-num {
  font-size: .78rem;
  font-weight: 700;
  color: #00dfab;
  letter-spacing: .15em;
  display: block;
  margin-bottom: 1rem;
}
.sec-case h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: .7rem;
}
.sec-case p {
  font-size: 1.05rem;
  color: #999;
  line-height: 1.7;
}

/* Proceso */
.sec-process-bg { background: #0a0a0a; padding: 7rem 2rem; }
.sec-process-inner { max-width: 1100px; margin: 0 auto; }
.sec-process-head { text-align: center; margin-bottom: 4rem; }
.sec-process-head h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.1rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: -.02em;
}
.sec-process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0;
  background: #111;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.07);
  overflow: hidden;
}
.sec-process-step {
  padding: 2.2rem 2rem;
  border-right: 1px solid rgba(255,255,255,.06);
}
.sec-process-step:last-child { border-right: none; }
.sec-process-num {
  font-size: 2.4rem;
  font-weight: 900;
  color: rgba(0,223,171,.15);
  line-height: 1;
  margin-bottom: .8rem;
}
.sec-process-step h4 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: .5rem;
}
.sec-process-step p {
  font-size: 1.05rem;
  color: #777;
  line-height: 1.6;
}

/* FAQ inline */
.sec-faq-bg { background: #0d0d0d; border-top: 1px solid rgba(255,255,255,.05); padding: 7rem 2rem; }
.sec-faq-inner { max-width: 760px; margin: 0 auto; }
.sec-faq-head { text-align: center; margin-bottom: 3rem; }
.sec-faq-head h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.1rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: -.02em;
}
.sec-faq-list { display: flex; flex-direction: column; gap: .8rem; }
.sec-faq-item {
  background: #111;
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 10px;
  overflow: hidden;
  transition: border-color .2s;
}
.sec-faq-item[open] { border-color: rgba(0,223,171,.3); }
.sec-faq-item summary {
  padding: 1.5rem 1.8rem;
  cursor: pointer;
  font-size: 1.2rem;
  font-weight: 600;
  color: #fff;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color .2s;
}
.sec-faq-item summary::-webkit-details-marker { display: none; }
.sec-faq-item summary::after {
  content: '+';
  font-size: 1.4rem;
  color: #00dfab;
  font-weight: 300;
  transition: transform .25s;
  line-height: 1;
}
.sec-faq-item[open] summary::after { transform: rotate(45deg); }
.sec-faq-item summary:hover { color: #00dfab; }
.sec-faq-content { padding: 0 1.8rem 1.5rem; color: #aaa; font-size: 1.1rem; line-height: 1.8; }

/* CTA final - Caja verde con margen lateral (estilo visual.rendemy.com) */
.sec-cta-final {
  background: #0a0a0a;
  padding: 5rem 2rem;
  text-align: center;
}
.sec-cta-box {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
  background: linear-gradient(135deg, #00b89a 0%, #009e84 100%);
  border-radius: 40px;
  padding: 120px 100px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 80px rgba(0, 211, 176, 0.25), 0 0 160px rgba(0, 211, 176, 0.12), 0 24px 48px rgba(0, 0, 0, 0.3);
}
.sec-cta-box::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.18), transparent 55%);
  pointer-events: none;
}
.sec-cta-inner { max-width: 760px; margin: 0 auto; position: relative; z-index: 2; }
.sec-cta-final .sec-label,
.sec-cta-final .sec-badge {
  color: rgba(255,255,255,.85) !important;
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  margin-bottom: 1.5rem !important;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .25em;
  text-transform: uppercase;
}
.sec-cta-final h2 {
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  font-weight: 800;
  color: #ffffff !important;
  margin-bottom: 1.4rem;
  letter-spacing: -.025em;
  line-height: 1.1;
}
.sec-cta-final h2 span {
  color: #ffffff !important;
  opacity: 1;
  font-style: normal;
}
.sec-cta-final p {
  color: rgba(255,255,255,.92) !important;
  margin-bottom: 2.5rem;
  font-size: 1.5rem;
  line-height: 1.55;
}
.sec-cta-btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}
.sec-cta-final .sec-btn-primary,
.sec-cta-final a.sec-btn-primary {
  background: #0a0a0a !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  border: none;
  padding: 1.1rem 2.6rem;
  font-size: .95rem;
  border-radius: 100px;
}
.sec-cta-final .sec-btn-primary:hover {
  background: #000 !important;
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(0,0,0,.4);
}
.sec-cta-final .sec-btn-ghost {
  background: rgba(255,255,255,.15) !important;
  border: 1px solid rgba(255,255,255,.4) !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  padding: 1.1rem 2.6rem;
  border-radius: 100px;
  font-weight: 600;
}
.sec-cta-final .sec-btn-ghost:hover {
  background: rgba(255,255,255,.25) !important;
  border-color: #fff !important;
  color: #fff !important;
}
@media(max-width:900px){
  .sec-cta-box { padding: 80px 40px; border-radius: 32px; }
}
@media(max-width:640px){
  .sec-cta-box { padding: 60px 24px; border-radius: 24px; }
  .sec-cta-final { padding: 3rem 1rem; }
}

@media (max-width: 768px) {
  .sec-why { grid-template-columns: 1fr; gap: 2rem; padding: 5rem 1.5rem; }
  .sec-hero { min-height: 70vh; padding: 5rem 1.5rem; }
  .sec-process-step { border-right: none; border-bottom: 1px solid rgba(255,255,255,.06); }
  .sec-process-step:last-child { border-bottom: none; }
}
