/* ============================================================
   PAGE · SERVICIO (detalle) — secciones comunes a las 5 páginas de servicio
   (cursor/nav/megamenu/dock/footer/divider/reveal/scroll-top → 03-layout.css ·
    hero/slider → 05-hero.css · botones/formulario → 04-components.css)
   ============================================================ */

/* === BREADCRUMB === */
.breadcrumb {
  max-width: var(--max);
  margin: 0 auto;
  padding: 24px 40px 0;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-dim);
}
.breadcrumb a { color: var(--ink-dim); text-decoration: none; transition: color 0.2s; }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb-sep { color: var(--ink-faint); }
.breadcrumb-current { color: var(--gold); }

/* === SECTION-EYEBROW (variante con línea dorada) === */
.section-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-dim);
  margin-bottom: 32px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.section-eyebrow::before { content: ''; display: block; width: 24px; height: 1px; background: var(--gold); }

/* === HERO · CTA inline (complementa 05-hero.css) === */
.hero-cta-row {
  display: flex; gap: 14px; flex-wrap: wrap; margin-top: 36px;
  opacity: 0;
  animation: heroIn 1s var(--ease) 1.9s forwards;
}

/* === MANIFIESTO 2-COL === */
.manifesto {
  padding: 100px 40px;
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 80px;
}
.manifesto-num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--ink-dim);
  text-transform: uppercase;
  padding-top: 6px;
}
.manifesto-num small {
  display: block;
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 500;
  color: var(--gold);
  letter-spacing: 0.1em;
  margin-top: 6px;
}
.manifesto-content h2 {
  font-family: var(--font-display);
  font-size: clamp(34px, 3.5vw, 52px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 36px;
}
.manifesto-content h2 em { font-style: italic; color: var(--gold); }
.manifesto-content h2 .strike { text-decoration: line-through; color: var(--ink-dim); }
.manifesto-lead {
  font-size: 18px;
  line-height: 1.75;
  color: var(--ink-dim);
  max-width: 720px;
}
@media (max-width: 768px) {
  .manifesto { grid-template-columns: 1fr; gap: 32px; padding: 60px 20px; }
}

/* === STATS BAND DORADO === */
.stats {
  background: var(--gold);
  color: var(--bg);
  padding: 100px 40px;
  position: relative;
  overflow: hidden;
}
.stats::before {
  content: '';
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(45deg, transparent, transparent 34px, rgba(10,10,10,0.04) 34px, rgba(10,10,10,0.04) 35px);
  pointer-events: none;
}
.stats-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--bg);
  opacity: 0.65;
  margin-bottom: 48px;
  text-align: center;
  display: flex; align-items: center; justify-content: center; gap: 14px;
}
.stats-eyebrow::before, .stats-eyebrow::after { content: ''; display: block; width: 28px; height: 1px; background: var(--bg); opacity: 0.4; }
.stats-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 48px;
  position: relative; z-index: 1;
}
.stat-cell { border-left: 2px solid var(--bg); padding-left: 28px; }
.stat-cell:first-child { border-left: none; padding-left: 0; }
.stat-big {
  font-family: var(--font-display);
  font-size: clamp(52px, 6vw, 96px);
  line-height: 0.95;
  letter-spacing: -0.02em;
  color: var(--bg);
  margin-bottom: 12px;
}
.stat-big em { font-style: normal; }
.stat-label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--bg);
  opacity: 0.7;
  line-height: 1.5;
}
@media (max-width: 920px) {
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 40px 28px; }
  .stat-cell:nth-child(3) { border-left: none; padding-left: 0; }
}

/* === CTA BANNER (con texto grande de fondo) === */
.cta-banner {
  background: var(--bg3);
  border-top: 1px solid var(--border);
  padding: 100px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner-bg {
  position: absolute;
  inset: 0;
  font-family: var(--font-display);
  font-size: 280px;
  font-weight: 900;
  color: rgba(240,237,230,0.02);
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: -0.05em;
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
}
.cta-inner { position: relative; z-index: 1; max-width: 800px; margin: 0 auto; }
.cta-banner h2 {
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 72px);
  line-height: 1.0;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}
.cta-banner h2 em { font-style: italic; color: var(--gold); }
.cta-banner p {
  font-size: 17px;
  color: var(--ink-dim);
  max-width: 620px;
  margin: 0 auto 48px;
  line-height: 1.7;
}
.cta-buttons-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
@media (max-width: 540px) {
  .cta-banner-bg { font-size: 100px; }
}

/* === FAQs === */
.faqs {
  padding: 100px 40px;
  max-width: var(--max);
  margin: 0 auto;
}
.faqs-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: end;
  margin-bottom: 56px;
}
.faqs-h {
  font-family: var(--font-display);
  font-size: clamp(34px, 3.5vw, 52px);
  line-height: 1.05;
  letter-spacing: -0.02em;
}
.faqs-h em { font-style: italic; color: var(--gold); }
.faqs-meta { font-size: 14px; color: var(--ink-dim); line-height: 1.6; max-width: 380px; }
.faq-list { border-top: 1px solid var(--border); }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
  width: 100%;
  background: transparent;
  border: none;
  padding: 28px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: left;
  font-family: var(--font-display);
  font-size: clamp(18px, 1.5vw, 22px);
  letter-spacing: -0.01em;
  color: var(--ink);
  cursor: none;
  transition: color 0.2s;
}
.faq-q:hover { color: var(--gold); }
.faq-q-icon {
  width: 22px; height: 22px;
  flex-shrink: 0;
  margin-left: 24px;
  transition: transform 0.4s var(--ease);
  position: relative;
}
.faq-q-icon::before, .faq-q-icon::after {
  content: ''; position: absolute;
  background: var(--gold);
  transition: transform 0.4s var(--ease);
}
.faq-q-icon::before { top: 50%; left: 0; right: 0; height: 1.5px; transform: translateY(-50%); }
.faq-q-icon::after { left: 50%; top: 0; bottom: 0; width: 1.5px; transform: translateX(-50%); }
.faq-item.open .faq-q-icon::after { transform: translateX(-50%) rotate(90deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s var(--ease);
}
.faq-item.open .faq-a { max-height: 600px; }
.faq-a-inner {
  padding: 0 0 32px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink-dim);
  max-width: 720px;
}
@media (max-width: 768px) {
  .faqs { padding: 60px 20px; }
  .faqs-header { grid-template-columns: 1fr; gap: 24px; }
}

/* === TESTIMONIALS === */
.testimonials {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 100px 40px;
  position: relative;
  overflow: hidden;
}
.testimonials-inner { max-width: var(--max); margin: 0 auto; }
.testimonial-card {
  background: var(--bg);
  border: 1px solid var(--border-strong);
  padding: 56px 48px;
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 32px;
  align-items: start;
  margin-bottom: 14px;
  transition: border-color 0.3s, background 0.3s;
}
.testimonial-card:hover { border-color: var(--gold); background: var(--bg3); }
.testimonial-quote-mark {
  font-family: var(--font-display);
  font-size: 80px;
  color: var(--gold);
  line-height: 0.5;
  height: 40px;
}
.testimonial-text {
  font-family: var(--font-display);
  font-size: clamp(20px, 1.8vw, 26px);
  line-height: 1.4;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 28px;
  font-style: italic;
}
.testimonial-meta {
  display: flex; align-items: center; gap: 14px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.testimonial-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--bg3);
  border: 1px solid var(--border-strong);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 16px;
  color: var(--gold);
  flex-shrink: 0;
}
.testimonial-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 2px;
}
.testimonial-role {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--ink-dim);
  text-transform: uppercase;
}
@media (max-width: 768px) {
  .testimonial-card { grid-template-columns: 1fr; padding: 36px 28px; gap: 14px; }
  .testimonials { padding: 60px 20px; }
}

/* === OTROS SERVICIOS GRID === */
.other-services {
  padding: 100px 40px;
  max-width: var(--max);
  margin: 0 auto;
}
.other-services-h {
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 48px;
}
.other-services-h em { font-style: italic; color: var(--gold); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}
.service-card {
  background: var(--bg);
  padding: 32px 24px;
  text-decoration: none;
  color: var(--ink);
  transition: background 0.3s;
  position: relative;
}
.service-card:hover { background: var(--bg2); }
.service-card::before {
  content: ''; position: absolute;
  top: 0; left: 0; right: 0; height: 2px;
  background: var(--gold); transform: translateY(-100%);
  transition: transform 0.4s var(--ease);
}
.service-card:hover::before { transform: translateY(0); }
.service-card-num {
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 0.12em;
  color: var(--gold); margin-bottom: 18px;
  font-weight: 600; text-transform: uppercase;
}
.service-card h4 {
  font-family: var(--font-display); font-size: 20px;
  letter-spacing: -0.01em; margin-bottom: 8px;
}
.service-card p { font-size: 13px; color: var(--ink-dim); line-height: 1.5; }
.service-card-arrow {
  display: inline-block; font-size: 14px; color: var(--gold);
  margin-top: 16px; transition: transform 0.3s;
}
.service-card:hover .service-card-arrow { transform: translateX(4px); }
@media (max-width: 920px) { .services-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) {
  .services-grid { grid-template-columns: 1fr; }
  .other-services { padding: 60px 20px; }
}

/* === DELIVERABLES (entregables, 4 columnas brutalist) === */
.deliverables-section {
  padding: 100px 40px;
  max-width: var(--max);
  margin: 0 auto;
}
.deliverables-h {
  font-family: var(--font-display);
  font-size: clamp(34px, 3.5vw, 52px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 64px;
  max-width: 820px;
}
.deliverables-h em { font-style: italic; color: var(--gold); }
.deliverables-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}
.deliverable-cell {
  background: var(--bg);
  padding: 40px 28px 48px;
  position: relative;
  transition: background 0.3s;
}
.deliverable-cell:hover { background: var(--bg2); }
.deliverable-cell::before {
  content: ''; position: absolute;
  top: 0; left: 0; right: 0; height: 2px;
  background: var(--gold); transform: translateY(-100%);
  transition: transform 0.4s var(--ease);
}
.deliverable-cell:hover::before { transform: translateY(0); }
.deliverable-letter {
  font-family: var(--font-display);
  font-size: 56px;
  color: var(--gold);
  line-height: 1;
  letter-spacing: -0.04em;
  margin-bottom: 32px;
}
.deliverable-cell h3 {
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: -0.01em;
  margin-bottom: 14px;
  line-height: 1.15;
}
.deliverable-cell p { font-size: 14px; line-height: 1.7; color: var(--ink-dim); }
@media (max-width: 1100px) { .deliverables-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) {
  .deliverables-grid { grid-template-columns: 1fr; }
  .deliverables-section { padding: 60px 20px; }
}

/* === PROCESS / TIMELINE === */
.process {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 100px 40px;
}
.process-inner { max-width: var(--max); margin: 0 auto; }
.process-h {
  font-family: var(--font-display);
  font-size: clamp(34px, 3.5vw, 52px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 64px;
  max-width: 820px;
}
.process-h em { font-style: italic; color: var(--gold); }
.timeline-list { border-top: 1px solid var(--border); }
.timeline-item {
  display: grid;
  grid-template-columns: 120px 1fr 200px;
  gap: 40px;
  padding: 36px 0;
  border-bottom: 1px solid var(--border);
  align-items: start;
  transition: padding-left 0.3s var(--ease);
}
.timeline-item:hover { padding-left: 12px; }
.timeline-step {
  font-family: var(--font-display);
  font-size: 32px;
  color: var(--ink-faint);
  letter-spacing: -0.02em;
  line-height: 1;
  padding-top: 4px;
  transition: color 0.3s;
}
.timeline-item:hover .timeline-step { color: var(--gold); }
.timeline-content h3 {
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}
.timeline-content p { font-size: 14px; line-height: 1.7; color: var(--ink-dim); }
.timeline-duration {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  text-align: right;
  padding-top: 8px;
  white-space: nowrap;
}
@media (max-width: 768px) {
  .timeline-item { grid-template-columns: 80px 1fr; gap: 20px; }
  .timeline-duration { display: none; }
  .process { padding: 60px 20px; }
}

/* === PORTFOLIO grid === */
.portfolio {
  padding: 100px 40px;
  max-width: var(--max);
  margin: 0 auto;
}
.portfolio-header {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 60px;
  margin-bottom: 56px;
  align-items: end;
}
.portfolio-h {
  font-family: var(--font-display);
  font-size: clamp(34px, 3.5vw, 52px);
  line-height: 1.05;
  letter-spacing: -0.02em;
}
.portfolio-h em { font-style: italic; color: var(--gold); }
.portfolio-meta {
  font-size: 13px;
  color: var(--ink-dim);
  line-height: 1.6;
  text-align: right;
}
.portfolio-meta strong {
  display: block;
  font-family: var(--font-display);
  font-size: 42px;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 6px;
}
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.portfolio-item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/5;
  background: var(--bg2);
  text-decoration: none;
  color: var(--ink);
  display: block;
  border: 1px solid var(--border);
  transition: border-color 0.3s;
}
.portfolio-item:hover { border-color: var(--gold); }
.portfolio-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(60%) contrast(1.05);
  transition: filter 0.6s, transform 0.6s var(--ease);
}
.portfolio-item:hover img { filter: grayscale(0); transform: scale(1.06); }
.portfolio-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(10,10,10,0.95));
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
}
.portfolio-item-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 8px;
}
.portfolio-item-name {
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: -0.01em;
  line-height: 1.1;
}
@media (max-width: 920px) {
  .portfolio-grid { grid-template-columns: 1fr 1fr; }
  .portfolio-header { grid-template-columns: 1fr; }
  .portfolio-meta { text-align: left; }
}
@media (max-width: 540px) {
  .portfolio-grid { grid-template-columns: 1fr; }
  .portfolio { padding: 60px 20px; }
}

/* === BEFORE / AFTER SECTION === */
.before-after-section {
  padding: 100px 40px;
  max-width: var(--max);
  margin: 0 auto;
}
.ba-header {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 60px;
  align-items: end;
  margin-bottom: 56px;
}
.ba-h {
  font-family: var(--font-display);
  font-size: clamp(34px, 3.5vw, 52px);
  line-height: 1.05;
  letter-spacing: -0.02em;
}
.ba-h em { font-style: italic; color: var(--gold); }
.ba-meta {
  font-size: 13px;
  color: var(--ink-dim);
  line-height: 1.6;
  text-align: right;
}
.ba-meta strong {
  display: block;
  font-family: var(--font-display);
  font-size: 36px;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 6px;
}
.ba-tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.ba-tab {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-dim);
  background: transparent;
  border: 1px solid var(--border-strong);
  padding: 10px 18px;
  cursor: none;
  transition: all 0.2s;
}
.ba-tab:hover { color: var(--ink); border-color: var(--ink-dim); }
.ba-tab.active { background: var(--gold); color: var(--bg); border-color: var(--gold); }
.ba-stage {
  background: var(--bg2);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/9;
  user-select: none;
}
.ba-pane {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  display: none;
}
.ba-pane.active { display: block; }
.ba-pane-after {
  clip-path: polygon(50% 0, 100% 0, 100% 100%, 50% 100%);
}
.ba-divider {
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  width: 2px;
  background: var(--gold);
  cursor: ew-resize;
  z-index: 5;
  transition: width 0.2s;
}
.ba-divider::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gold);
  filter: blur(6px);
  opacity: 0.6;
}
.ba-handle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 56px; height: 56px;
  background: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 6;
  cursor: ew-resize;
  box-shadow: 0 4px 24px rgba(232,183,58,0.35);
  transition: transform 0.2s var(--ease);
}
.ba-handle:hover { transform: translate(-50%, -50%) scale(1.08); }
.ba-handle svg { width: 22px; height: 22px; color: var(--bg); }
.ba-label {
  position: absolute;
  top: 20px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: rgba(10,10,10,0.85);
  color: var(--ink);
  padding: 8px 14px;
  border: 1px solid var(--border-strong);
  z-index: 4;
  pointer-events: none;
}
.ba-label-before { left: 20px; color: var(--ink-dim); }
.ba-label-after { right: 20px; color: var(--gold); border-color: var(--gold); }
.ba-info {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}
.ba-info-cell h4 {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 8px;
}
.ba-info-cell p { font-size: 14px; color: var(--ink-dim); line-height: 1.6; }
.ba-info-cell strong { color: var(--ink); font-weight: 600; }
@media (max-width: 768px) {
  .ba-stage { aspect-ratio: 4/5; }
  .ba-info { grid-template-columns: 1fr; gap: 20px; }
  .ba-header { grid-template-columns: 1fr; }
  .ba-meta { text-align: left; }
  .before-after-section { padding: 60px 20px; }
}
