/* =========================================================================
   LEGAL FERTILITY CARE — Estilos específicos PÁGINA EL PROCESO
   ========================================================================= */

/* ============ ANIMACIONES BASE ============ */
[data-animate] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

[data-animate].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============ HERO INTERNO PROCESO ============ */
.hero-internal-process {
  background: var(--hueso);
  padding: 200px 0 100px;
  text-align: center;
  position: relative;
  border-bottom: 1px solid rgba(201, 168, 106, 0.15);
}

.hero-internal-process .container {
  max-width: 880px;
}

.hero-internal-process h1 {
  font-size: clamp(40px, 4.5vw, 60px);
  margin-bottom: 24px;
  line-height: 1.15;
}

.hero-internal-process h1 em {
  font-style: italic;
  display: block;
  color: var(--salvia);
  margin-top: 4px;
}

.hero-internal-process .hero-subtitle-internal {
  font-family: var(--serif);
  font-size: clamp(17px, 1.4vw, 20px);
  color: var(--tierra-light);
  font-weight: 300;
  line-height: 1.6;
  max-width: 720px;
  margin: 0 auto;
}

/* ============ MANIFIESTO DEL PROCESO ============ */
.manifiesto-proceso {
  background: var(--hueso);
  padding: 100px 0;
  text-align: center;
}

.manifiesto-proceso .container {
  max-width: 820px;
}

.manifiesto-statement {
  font-family: var(--serif);
  font-size: clamp(22px, 2.2vw, 30px);
  font-weight: 300;
  color: var(--tierra);
  line-height: 1.5;
  letter-spacing: 0.3px;
  margin-top: 24px;
}

.manifiesto-statement em {
  display: block;
  font-style: italic;
  color: var(--salvia);
  margin-top: 12px;
}

/* ============ TIMELINE - LAS 7 ETAPAS ============ */
.etapas-section {
  background: var(--hueso-warm);
  padding: var(--space-2xl) 0;
}

.etapas-timeline {
  max-width: 920px;
  margin: 80px auto 0;
  position: relative;
}

/* Línea vertical dorada conectora */
.etapas-timeline::before {
  content: '';
  position: absolute;
  left: 50px;
  top: 30px;
  bottom: 80px;
  width: 1px;
  background: linear-gradient(to bottom, 
    var(--oro) 0%, 
    var(--oro) 95%, 
    transparent 100%);
  opacity: 0.6;
}

.etapa-item {
  position: relative;
  padding-left: 120px;
  padding-bottom: 80px;
}

.etapa-item:last-child {
  padding-bottom: 0;
}

/* Nodo circular dorado en la línea */
.etapa-item::before {
  content: '';
  position: absolute;
  left: 41px;
  top: 18px;
  width: 19px;
  height: 19px;
  background: var(--hueso-warm);
  border: 2px solid var(--oro);
  border-radius: 50%;
  z-index: 2;
  transition: all 0.4s ease;
}

.etapa-item:hover::before {
  background: var(--oro);
  transform: scale(1.15);
}

/* Número grande de etapa */
.etapa-number {
  position: absolute;
  left: 0;
  top: 0;
  font-family: var(--serif);
  font-size: 56px;
  font-style: italic;
  font-weight: 300;
  color: var(--oro);
  line-height: 1;
  width: 100px;
  text-align: left;
}

.etapa-meta {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--salvia);
  font-weight: 600;
  margin-bottom: 12px;
}

.etapa-title {
  font-family: var(--serif);
  font-size: clamp(26px, 2.5vw, 32px);
  font-weight: 400;
  color: var(--tierra);
  margin-bottom: 16px;
  line-height: 1.2;
}

.etapa-description {
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.8;
  color: var(--tierra-light);
  margin-bottom: 24px;
}

.etapa-includes {
  background: var(--hueso);
  border-left: 2px solid var(--oro);
  padding: 24px 28px;
  margin-top: 24px;
  border-radius: 2px;
}

.etapa-includes-title {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--salvia);
  font-weight: 700;
  margin-bottom: 12px;
}

.etapa-includes ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.etapa-includes li {
  font-family: var(--sans);
  font-size: 14px;
  color: var(--tierra);
  padding: 6px 0 6px 20px;
  position: relative;
  line-height: 1.5;
}

.etapa-includes li::before {
  content: '·';
  position: absolute;
  left: 0;
  color: var(--oro);
  font-weight: bold;
  font-size: 22px;
  line-height: 1;
  top: 8px;
}

/* ============ MARCO LEGAL EN MÉXICO ============ */
.marco-legal-section {
  background: var(--tierra);
  color: var(--hueso);
  padding: var(--space-2xl) 0;
}

.marco-legal-section .eyebrow {
  color: var(--oro);
}

.marco-legal-section .section-header h2,
.marco-legal-section .section-header h2 em {
  color: var(--hueso);
}

.marco-legal-section h2 em {
  color: var(--oro-light);
}

.marco-legal-section .section-subtitle {
  color: var(--hueso);
  opacity: 0.85;
}

.marco-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 60px;
}

.marco-card {
  background: rgba(250, 247, 242, 0.04);
  border: 1px solid rgba(201, 168, 106, 0.2);
  padding: 40px 32px;
  transition: all 0.4s ease;
}

.marco-card:hover {
  background: rgba(250, 247, 242, 0.07);
  border-color: var(--oro);
  transform: translateY(-3px);
}

.marco-card-icon {
  font-family: var(--serif);
  font-size: 36px;
  font-style: italic;
  font-weight: 300;
  color: var(--oro);
  margin-bottom: 20px;
  line-height: 1;
}

.marco-card h3 {
  font-size: 22px;
  color: var(--hueso);
  margin-bottom: 16px;
  font-weight: 400;
}

.marco-card p {
  font-family: var(--sans);
  font-size: 14px;
  color: var(--hueso);
  opacity: 0.8;
  line-height: 1.7;
}

.marco-callout {
  max-width: 820px;
  margin: 60px auto 0;
  padding: 40px;
  background: rgba(201, 168, 106, 0.08);
  border-left: 2px solid var(--oro);
  text-align: left;
}

.marco-callout p {
  font-family: var(--serif);
  font-size: 19px;
  font-style: italic;
  color: var(--hueso);
  line-height: 1.6;
  font-weight: 300;
  margin-bottom: 0;
}

.marco-callout .callout-author {
  display: block;
  margin-top: 16px;
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--oro);
  font-style: normal;
  font-weight: 600;
}

/* ============ TABLA DE TIEMPOS ============ */
.tiempos-section {
  background: var(--hueso);
  padding: var(--space-2xl) 0;
}

.tiempos-table-wrapper {
  max-width: 880px;
  margin: 60px auto 0;
  background: var(--hueso-warm);
  border: 1px solid rgba(58, 53, 48, 0.08);
  border-radius: 2px;
  overflow: hidden;
}

.tiempos-table {
  width: 100%;
  border-collapse: collapse;
}

.tiempos-table thead {
  background: var(--salvia);
  color: var(--hueso);
}

.tiempos-table th {
  padding: 22px 28px;
  text-align: left;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 600;
}

.tiempos-table th:last-child {
  text-align: right;
}

.tiempos-table tbody tr {
  border-bottom: 1px solid rgba(58, 53, 48, 0.08);
  transition: background 0.3s ease;
}

.tiempos-table tbody tr:hover {
  background: rgba(201, 168, 106, 0.04);
}

.tiempos-table tbody tr:last-child {
  border-bottom: none;
}

.tiempos-table td {
  padding: 20px 28px;
  font-family: var(--sans);
  font-size: 15px;
  color: var(--tierra);
}

.tiempos-table td:first-child {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 500;
  color: var(--tierra);
}

.tiempos-table td:last-child {
  text-align: right;
  color: var(--salvia);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.3px;
}

.tiempos-table .total-row {
  background: var(--tierra);
  color: var(--hueso);
}

.tiempos-table .total-row td {
  color: var(--hueso);
  font-weight: 600;
  padding: 24px 28px;
}

.tiempos-table .total-row td:first-child {
  font-family: var(--serif);
  font-size: 20px;
  color: var(--hueso);
  font-style: italic;
}

.tiempos-table .total-row td:last-child {
  color: var(--oro-light);
  font-size: 16px;
  letter-spacing: 1px;
}

.tiempos-note {
  max-width: 720px;
  margin: 32px auto 0;
  text-align: center;
  font-family: var(--serif);
  font-style: italic;
  font-size: 15px;
  color: var(--tierra-light);
  line-height: 1.6;
}

/* ============ QUÉ INCLUYE EL ACOMPAÑAMIENTO ============ */
.acompanamiento-section {
  background: var(--hueso-warm);
  padding: var(--space-2xl) 0;
}

.acompanamiento-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 24px;
  margin-top: 60px;
}

.acompanamiento-col {
  background: var(--hueso);
  padding: 48px 36px;
  border-top: 3px solid;
  transition: all 0.4s ease;
}

.acompanamiento-col:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(58, 53, 48, 0.06);
}

.acompanamiento-col.col-lfc {
  border-top-color: var(--oro);
  background: linear-gradient(180deg, var(--hueso) 0%, rgba(201, 168, 106, 0.04) 100%);
  position: relative;
}

.acompanamiento-col.col-lfc::before {
  content: 'TU EQUIPO';
  position: absolute;
  top: -12px;
  right: 24px;
  background: var(--oro);
  color: var(--tierra);
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  padding: 6px 12px;
  border-radius: 2px;
}

.acompanamiento-col.col-clinica {
  border-top-color: var(--salvia);
}

.acompanamiento-col.col-cliente {
  border-top-color: var(--tierra-light);
}

.acompanamiento-col-header {
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(58, 53, 48, 0.08);
}

.acompanamiento-col-title {
  font-family: var(--serif);
  font-size: 24px;
  color: var(--tierra);
  margin-bottom: 6px;
  font-weight: 500;
}

.acompanamiento-col-subtitle {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--salvia);
  font-weight: 600;
}

.acompanamiento-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.acompanamiento-col li {
  font-family: var(--sans);
  font-size: 14px;
  color: var(--tierra);
  padding: 10px 0 10px 24px;
  position: relative;
  line-height: 1.5;
  border-bottom: 1px solid rgba(58, 53, 48, 0.04);
}

.acompanamiento-col li:last-child {
  border-bottom: none;
}

.acompanamiento-col li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--oro);
  font-weight: bold;
  font-size: 14px;
}

.col-clinica li::before {
  color: var(--salvia);
}

.col-cliente li::before {
  color: var(--tierra-light);
}

/* ============ FAQs DEL PROCESO ============ */
.faqs-proceso-section {
  background: var(--hueso);
  padding: var(--space-2xl) 0;
}

.faqs-list {
  max-width: 820px;
  margin: 60px auto 0;
}

.faq-item {
  border-bottom: 1px solid rgba(58, 53, 48, 0.1);
  padding: 0;
}

.faq-item:first-child {
  border-top: 1px solid rgba(58, 53, 48, 0.1);
}

.faq-q {
  width: 100%;
  text-align: left;
  padding: 28px 40px 28px 0;
  font-family: var(--serif);
  font-size: clamp(18px, 1.6vw, 22px);
  font-weight: 400;
  color: var(--tierra);
  cursor: pointer;
  position: relative;
  background: none;
  border: none;
  transition: color 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  line-height: 1.3;
}

.faq-q:hover {
  color: var(--salvia);
}

.faq-q-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  position: relative;
  transition: transform 0.4s ease;
}

.faq-q-icon::before,
.faq-q-icon::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  background: var(--oro);
  transition: all 0.4s ease;
}

.faq-q-icon::before {
  width: 16px;
  height: 1px;
  transform: translate(-50%, -50%);
}

.faq-q-icon::after {
  width: 1px;
  height: 16px;
  transform: translate(-50%, -50%);
}

.faq-item.open .faq-q-icon::after {
  height: 0;
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease, padding 0.3s ease;
}

.faq-item.open .faq-a {
  max-height: 1000px;
  padding-bottom: 28px;
}

.faq-a p {
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.8;
  color: var(--tierra-light);
  margin-bottom: 12px;
}

.faq-a p:last-child {
  margin-bottom: 0;
}

/* ============ CTA FINAL PROCESO ============ */
.cta-proceso-section {
  background: var(--salvia);
  color: var(--hueso);
  padding: var(--space-2xl) 0;
  text-align: center;
}

.cta-proceso-content {
  max-width: 720px;
  margin: 0 auto;
}

.cta-proceso-section .eyebrow {
  color: var(--oro-light);
}

.cta-proceso-section h2,
.cta-proceso-section h2 em {
  color: var(--hueso);
}

.cta-proceso-section h2 em {
  color: var(--oro-light);
}

.cta-proceso-section .cta-divider {
  background: var(--oro-light);
  margin: 32px auto;
}

.cta-proceso-subtitle {
  font-family: var(--serif);
  font-size: clamp(17px, 1.5vw, 20px);
  color: var(--hueso);
  opacity: 0.9;
  margin-bottom: 40px;
  font-weight: 300;
  line-height: 1.6;
}

.cta-proceso-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============ RESPONSIVE PROCESO ============ */
@media (max-width: 1024px) {
  .hero-internal-process { padding: 140px 0 70px; }
  
  .marco-grid { grid-template-columns: 1fr; gap: 24px; }
  
  .acompanamiento-grid { 
    grid-template-columns: 1fr; 
    gap: 24px;
  }
  
  .etapas-timeline::before { left: 30px; }
  .etapa-item { padding-left: 80px; }
  .etapa-item::before { left: 21px; }
  .etapa-number { 
    font-size: 42px; 
    width: 70px;
  }
}

@media (max-width: 768px) {
  .etapas-timeline { margin-top: 60px; }
  .etapas-timeline::before { left: 22px; }
  .etapa-item { 
    padding-left: 64px; 
    padding-bottom: 60px;
  }
  .etapa-item::before { 
    left: 13px;
    width: 15px;
    height: 15px;
  }
  .etapa-number { 
    font-size: 32px; 
    width: 50px;
  }
  .etapa-title { font-size: 24px; }
  
  .etapa-includes {
    padding: 20px 22px;
  }
  
  .tiempos-table th,
  .tiempos-table td {
    padding: 16px 18px;
    font-size: 13px;
  }
  
  .tiempos-table td:first-child { font-size: 15px; }
  .tiempos-table td:last-child { font-size: 13px; }
  
  .marco-card { padding: 32px 24px; }
  .marco-callout { padding: 28px 24px; }
  .marco-callout p { font-size: 17px; }
  
  .acompanamiento-col { padding: 36px 28px; }
  
  .faq-q { 
    font-size: 17px; 
    padding: 22px 36px 22px 0;
  }
  
  .cta-proceso-buttons { flex-direction: column; align-items: stretch; }
}
