/* ── SERVICIOS.CSS ── */

/* ── HERO ── */
.srv-hero {
  padding: 9rem 0 5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.srv-hero::before {
  content: '';
  position: absolute;
  top: -100px; left: 50%;
  transform: translateX(-50%);
  width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(3,124,70,0.22) 0%, transparent 60%);
  pointer-events: none;
}
.srv-hero-tag {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--green-bright); border: 1px solid rgba(50,205,135,0.25);
  border-radius: 999px; padding: 0.35rem 1rem; margin-bottom: 1.5rem;
}
.srv-hero h1 {
  font-size: clamp(2.8rem, 6.5vw, 4.8rem);
  font-weight: 900; line-height: 1.05;
  letter-spacing: -0.04em; margin-bottom: 1.25rem;
}
.srv-hero h1 span {
  background: linear-gradient(135deg, var(--green-bright), #7affcd);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.srv-hero-lead {
  font-size: 1.1rem; color: var(--muted);
  max-width: 520px; margin: 0 auto 2rem; line-height: 1.7;
}
.srv-hero-cta {
  display: flex; align-items: center; justify-content: center; gap: 1rem; flex-wrap: wrap;
  margin-bottom: 3.5rem;
}
.btn-link {
  font-size: 0.9rem; color: var(--muted); font-weight: 500;
  transition: color 0.2s;
}
.btn-link:hover { color: var(--text); }

/* Trust bar */
.srv-trust-bar {
  display: flex; align-items: center; justify-content: center;
  background: var(--s1); border: 1px solid var(--border2);
  border-radius: var(--radius); padding: 1.25rem 2rem;
  max-width: 860px; margin: 0 auto;
}
.srv-trust-item {
  display: flex; flex-direction: column; align-items: center; gap: 0.25rem;
  padding: 0 2rem; flex: 1; min-width: 130px;
}
.srv-trust-num {
  font-size: 1.6rem; font-weight: 800; color: var(--green-bright);
  letter-spacing: -0.03em; line-height: 1;
}
.srv-trust-label {
  font-size: 0.72rem; color: var(--muted); text-align: center; line-height: 1.4;
}
.srv-trust-divider {
  width: 1px; height: 40px; background: var(--border2); flex-shrink: 0;
}

/* ── PAIN POINTS ── */
.srv-pain {
  padding: 5rem 0;
  border-top: 1px solid var(--border);
}
.srv-pain-header { text-align: center; margin-bottom: 3rem; }
.srv-pain-header h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 700; margin-top: 0.75rem;
}
.srv-pain-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem;
}
.srv-pain-card {
  background: linear-gradient(160deg, #011f12 0%, #022b1c 45%, #033d28 100%);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius); padding: 2rem 2rem 2.25rem;
  position: relative; overflow: hidden;
  min-height: 200px;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.srv-pain-card:hover {
  border-color: rgba(50,205,135,0.2);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}
.srv-pain-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(50,205,135,0.4), transparent);
  opacity: 0; transition: opacity 0.3s;
}
.srv-pain-card:hover::before { opacity: 1; }
.srv-pain-emoji {
  position: absolute;
  font-size: 9rem; line-height: 1;
  bottom: -0.75rem; left: 50%;
  transform: translateX(-50%);
  filter: grayscale(1) opacity(0.07);
  pointer-events: none; user-select: none;
  z-index: 0;
}
.srv-pain-card h3 {
  font-size: 0.95rem; font-weight: 700; margin-bottom: 0.65rem; line-height: 1.4;
  position: relative; z-index: 1; color: rgba(255,255,255,0.92);
}
.srv-pain-card p {
  font-size: 0.875rem; color: rgba(255,255,255,0.55); line-height: 1.7;
  position: relative; z-index: 1;
}

/* ── SERVICES GRID ── */
.srv-section {
  padding: 5rem 0;
  border-top: 1px solid var(--border);
}
.srv-section-header { text-align: center; margin-bottom: 3.5rem; }
.srv-section-header h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 700; margin-bottom: 0.75rem; margin-top: 0.75rem; line-height: 1.2;
}
.srv-section-header p { color: var(--muted); max-width: 480px; margin: 0 auto; }
.srv-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem;
}
.srv-card {
  background: linear-gradient(160deg, #011f12 0%, #022b1c 45%, #033d28 100%);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius); padding: 2rem;
  display: flex; flex-direction: column; gap: 0.9rem;
  position: relative; overflow: hidden;
  min-height: 260px;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.srv-card:hover {
  border-color: rgba(50,205,135,0.2);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}
.srv-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(50,205,135,0.4), transparent);
  opacity: 0; transition: opacity 0.3s;
}
.srv-card:hover::before { opacity: 1; }
.srv-card-icon {
  position: absolute;
  bottom: -10px; right: -10px;
  width: 130px; height: 130px;
  display: flex; align-items: center; justify-content: center;
  opacity: 0.07;
  pointer-events: none; user-select: none;
  z-index: 0;
}
.srv-card-icon svg { width: 100%; height: 100%; }
.srv-card-num {
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(50,205,135,0.5);
  position: relative; z-index: 1;
}
.srv-card h3 {
  font-size: 1.05rem; font-weight: 700; line-height: 1.3;
  color: rgba(255,255,255,0.92);
  position: relative; z-index: 1;
}
.srv-card-desc {
  font-size: 0.875rem; color: rgba(255,255,255,0.55); line-height: 1.7; flex: 1;
  position: relative; z-index: 1;
}
.srv-card-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; position: relative; z-index: 1; }
.srv-card-tag {
  font-size: 0.68rem; font-weight: 500;
  padding: 0.2rem 0.6rem; border-radius: 999px;
  background: rgba(50,205,135,0.07); border: 1px solid rgba(50,205,135,0.18);
  color: var(--green-bright);
}
.srv-card-cta {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: 0.8rem; font-weight: 600; color: var(--green-bright);
  transition: gap 0.2s; position: relative; z-index: 1;
}
.srv-card-cta:hover { gap: 0.7rem; }

/* ── POR QUÉ REACSS ── */
.srv-why {
  padding: 5rem 0;
  border-top: 1px solid var(--border);
  background: var(--s1);
}
.srv-why-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center;
}
.srv-why-content .section-tag { margin-bottom: 1rem; }
.srv-why-content h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  font-weight: 700; line-height: 1.2; margin-bottom: 1rem;
}
.srv-why-content > p { color: var(--muted); line-height: 1.8; margin-bottom: 2rem; }
.srv-why-list { display: flex; flex-direction: column; gap: 1.25rem; }
.srv-why-item { display: flex; gap: 1rem; align-items: flex-start; }
.srv-why-icon {
  width: 38px; height: 38px; border-radius: 10px;
  background: rgba(3,124,70,0.08); border: 1px solid rgba(50,205,135,0.14);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; color: var(--green-bright);
}
.srv-why-text h4 { font-size: 0.95rem; font-weight: 700; margin-bottom: 0.25rem; }
.srv-why-text p { font-size: 0.85rem; color: var(--muted); line-height: 1.65; }
.srv-why-visual {
  background: var(--bg); border: 1px solid var(--border2);
  border-radius: 20px; padding: 1.5rem;
  display: flex; flex-direction: column; gap: 0.85rem;
}
.srv-why-row {
  display: flex; align-items: center; gap: 1rem;
  background: var(--s1); border: 1px solid var(--border2);
  border-radius: 12px; padding: 0.9rem 1.1rem;
}
.srv-why-row-icon { font-size: 1.2rem; flex-shrink: 0; line-height: 1; }
.srv-why-row-text { display: flex; flex-direction: column; gap: 0.15rem; flex: 1; min-width: 0; }
.srv-why-row-title { font-size: 0.82rem; font-weight: 600; }
.srv-why-row-sub { font-size: 0.72rem; color: var(--muted); }
.srv-why-row-badge {
  font-size: 0.68rem; font-weight: 600;
  padding: 0.2rem 0.6rem; border-radius: 999px;
  background: rgba(50,205,135,0.1); border: 1px solid rgba(50,205,135,0.22);
  color: var(--green-bright); white-space: nowrap; flex-shrink: 0;
}

/* ── PROCESO STACK ── */
.srv-proceso {
  padding: 5rem 0;
  border-top: 1px solid var(--border);
}
.srv-proceso-header { text-align: center; margin-bottom: 4rem; }
.srv-proceso-header h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 700; margin-bottom: 0.75rem; margin-top: 0.75rem;
}
.srv-proceso-header p { color: var(--muted); max-width: 480px; margin: 0 auto; }

.sp-stack { display: block; position: relative; z-index: 1; }
.sp-card {
  display: grid; grid-template-columns: 1fr 420px;
  border-radius: 22px; overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08); background: #111;
  position: sticky; top: 88px; margin-bottom: 2rem; min-height: 340px;
}
.sp-card:nth-child(1) { z-index: 1; }
.sp-card:nth-child(2) { z-index: 2; }
.sp-card:nth-child(3) { z-index: 3; }
.sp-card:nth-child(4) { z-index: 4; margin-bottom: 0; }

.sp-card-left { padding: 2.75rem 3rem 2.5rem; display: flex; flex-direction: column; gap: 1rem; }
.sp-tag {
  display: inline-block; font-size: 0.72rem; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase; color: var(--muted);
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1);
  border-radius: 100px; padding: 0.3rem 0.85rem; width: fit-content;
}
.sp-title { font-size: 1.45rem; font-weight: 700; line-height: 1.3; color: #fff; }
.sp-desc { font-size: 0.92rem; color: var(--muted); line-height: 1.75; flex: 1; }
.sp-points {
  display: flex; flex-direction: column; gap: 0.5rem;
  margin-top: auto; padding-top: 1.25rem;
  border-top: 1px solid rgba(255,255,255,0.07);
}
.sp-point { font-size: 0.85rem; color: var(--muted); display: flex; align-items: center; gap: 0.6rem; }
.sp-check { color: var(--green-bright); font-weight: 700; flex-shrink: 0; }

.sp-card-right {
  position: relative; display: flex; align-items: center; justify-content: center;
  min-height: 340px; flex-direction: column; gap: 1rem; padding: 2rem;
}
.sp-right--teal   { background: linear-gradient(135deg, #0d3d3d 0%, #0d6e6e 100%); }
.sp-right--green  { background: linear-gradient(135deg, #012d1a 0%, #037c46 100%); }
.sp-right--purple { background: linear-gradient(135deg, #1e0a3c 0%, #5b21b6 100%); }
.sp-right--amber  { background: linear-gradient(135deg, #3d1a00 0%, #c2410c 100%); }

.sp-arrow {
  position: absolute; top: 1.25rem; right: 1.25rem;
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(0,0,0,0.35); border: 1px solid rgba(255,255,255,0.2);
  color: #fff; font-size: 1rem; display: flex; align-items: center; justify-content: center;
  text-decoration: none; transition: background 0.2s;
}
.sp-arrow:hover { background: rgba(255,255,255,0.15); }
.sp-icon-block { display: flex; flex-direction: column; align-items: center; gap: 0.85rem; }
.sp-icon-label { font-size: 1rem; font-weight: 700; color: rgba(255,255,255,0.8); }

@media (max-width: 860px) {
  .sp-card { grid-template-columns: 1fr; }
  .sp-card-right { min-height: 200px; }
  .sp-card { position: relative; top: auto; margin-bottom: 1rem; }
}

/* ── FAQ ── */
.srv-faq {
  padding: 5rem 0;
  border-top: 1px solid var(--border);
}
.srv-faq-header { text-align: center; margin-bottom: 3rem; }
.srv-faq-header h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 700; margin-bottom: 0.5rem; margin-top: 0.75rem;
}
.srv-faq-header p { color: var(--muted); }
.srv-faq-list { max-width: 760px; margin: 0 auto; }
.srv-faq-item { border-bottom: 1px solid var(--border); }
.srv-faq-item:first-child { border-top: 1px solid var(--border); }
.srv-faq-item details summary {
  display: flex; justify-content: space-between; align-items: center;
  padding: 1.25rem 0; cursor: pointer; list-style: none;
  font-size: 0.95rem; font-weight: 600; gap: 1rem;
  transition: color 0.2s; user-select: none;
}
.srv-faq-item details summary::-webkit-details-marker { display: none; }
.srv-faq-item details summary::after {
  content: '+'; font-size: 1.5rem; font-weight: 300; color: var(--green-bright);
  flex-shrink: 0; transition: transform 0.3s; line-height: 1;
}
.srv-faq-item details[open] summary::after { transform: rotate(45deg); }
.srv-faq-item details[open] summary { color: var(--green-bright); }
.srv-faq-answer {
  font-size: 0.9rem; color: var(--muted); line-height: 1.75;
  padding-bottom: 1.25rem; padding-right: 2.5rem;
}

/* ── CTA FINAL ── */
.srv-cta {
  padding: 7rem 0;
  border-top: 1px solid var(--border);
  text-align: center;
  position: relative; overflow: hidden;
}
.srv-cta::before {
  content: '';
  position: absolute;
  bottom: -100px; left: 50%; transform: translateX(-50%);
  width: 700px; height: 500px;
  background: radial-gradient(circle, rgba(3,124,70,0.2) 0%, transparent 65%);
  pointer-events: none;
}
.srv-cta h2 {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 800; margin-bottom: 1rem; line-height: 1.15;
  letter-spacing: -0.03em; position: relative;
}
.srv-cta-lead {
  color: var(--muted); max-width: 480px; margin: 0 auto 2rem; line-height: 1.7;
  position: relative;
}
.srv-cta-btns { display: flex; align-items: center; justify-content: center; gap: 1rem; flex-wrap: wrap; position: relative; }
.srv-cta-note { font-size: 0.78rem; color: var(--dim); margin-top: 1.25rem; position: relative; }

/* ── BTN GREEN ── */
.btn-green {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--green); color: var(--text);
  font-size: 0.9rem; font-weight: 600;
  padding: 0.7rem 1.4rem;
  border-radius: var(--radius-sm); border: none;
  transition: background 0.2s;
}
.btn-green:hover { background: #049355; }

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
  .srv-grid { grid-template-columns: repeat(2, 1fr); }
  .srv-why-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .srv-why-visual { display: none; }
  .srv-steps { grid-template-columns: repeat(2, 1fr); gap: 3rem; }
  .srv-steps::before { display: none; }
}
@media (max-width: 768px) {
  .nav-hamburger { display: flex !important; opacity: 1 !important; visibility: visible !important; position: relative; z-index: 101; }
  .srv-pain-grid { grid-template-columns: 1fr; }
  .srv-grid { grid-template-columns: 1fr; }
  .srv-trust-bar { flex-direction: column; gap: 1.25rem; padding: 1.5rem; }
  .srv-trust-divider { width: 40px; height: 1px; }
  .srv-trust-item { padding: 0; }
  .srv-hero { padding: 8rem 0 4rem; }
  .srv-steps { grid-template-columns: 1fr; gap: 2.5rem; }
  .srv-faq-answer { padding-right: 0; }
}
