/* =========================================================================
   LEGAL FERTILITY CARE — Estilos específicos PÁGINA QUIÉNES SOMOS
   ========================================================================= */

[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 ============ */
.hero-internal-nosotros {
  background: var(--hueso);
  padding: 200px 0 100px;
  text-align: center;
  position: relative;
  border-bottom: 1px solid rgba(201, 168, 106, 0.15);
}

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

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

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

.hero-internal-nosotros .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;
}

/* ============ HISTORIA DE LFC ============ */
.historia-section {
  background: var(--hueso);
  padding: var(--space-2xl) 0;
}

.historia-content {
  max-width: 880px;
  margin: 0 auto;
}

.historia-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
  margin-top: 60px;
}

.historia-eyebrow-section {
  font-family: var(--serif);
  font-size: 40px;
  font-style: italic;
  font-weight: 300;
  color: var(--oro);
  line-height: 1;
  margin-bottom: 24px;
}

.historia-title {
  font-family: var(--serif);
  font-size: clamp(28px, 2.8vw, 36px);
  font-weight: 400;
  color: var(--tierra);
  margin-bottom: 16px;
  line-height: 1.2;
}

.historia-title em {
  font-style: italic;
  color: var(--salvia);
}

.historia-text p {
  font-family: var(--sans);
  font-size: 16px;
  color: var(--tierra-light);
  line-height: 1.8;
  margin-bottom: 20px;
}

.historia-text p:last-child {
  margin-bottom: 0;
}

.historia-text strong {
  color: var(--tierra);
  font-weight: 500;
}

/* ============ DIRECTOR LEGAL DESTACADO ============ */
.director-section {
  background: var(--hueso-warm);
  padding: var(--space-2xl) 0;
}

.director-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 80px;
  align-items: center;
  max-width: 1180px;
  margin: 60px auto 0;
}

.director-image-wrapper {
  position: relative;
}

.director-image-wrapper::before {
  content: '';
  position: absolute;
  top: -16px;
  left: -16px;
  right: 16px;
  bottom: 16px;
  border: 1px solid var(--oro);
  border-radius: 2px;
  z-index: 0;
  opacity: 0.5;
}

.director-photo-large {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: 2px;
  position: relative;
  z-index: 1;
  filter: brightness(1.02) contrast(1.02);
}

.director-content .eyebrow {
  margin-bottom: 16px;
}

.director-name {
  font-family: var(--serif);
  font-size: clamp(34px, 3.8vw, 48px);
  font-weight: 400;
  color: var(--tierra);
  margin-bottom: 8px;
  line-height: 1.1;
  letter-spacing: 0.5px;
}

.director-role {
  font-family: var(--serif);
  font-style: italic;
  font-size: 20px;
  color: var(--salvia);
  margin-bottom: 24px;
  font-weight: 400;
}

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

.director-bio p:last-of-type {
  margin-bottom: 32px;
}

.director-details {
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid rgba(58, 53, 48, 0.1);
}

.director-detail-row {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 24px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(58, 53, 48, 0.06);
}

.director-detail-row:last-child {
  border-bottom: none;
}

.director-detail-label {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--salvia);
  font-weight: 700;
  padding-top: 2px;
}

.director-detail-value {
  font-family: var(--sans);
  font-size: 14px;
  color: var(--tierra);
  line-height: 1.6;
}

.director-detail-value strong {
  font-weight: 600;
  letter-spacing: 0.3px;
}

/* ============ VALORES RECTORES ============ */
.valores-section {
  background: var(--tierra);
  color: var(--hueso);
  padding: var(--space-2xl) 0;
}

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

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

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

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

.valores-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  margin-top: 60px;
}

.valor-card {
  background: rgba(250, 247, 242, 0.03);
  border: 1px solid rgba(201, 168, 106, 0.2);
  padding: 40px 28px;
  transition: all 0.4s ease;
  text-align: center;
}

.valor-card:hover {
  background: rgba(250, 247, 242, 0.06);
  border-color: var(--oro);
  transform: translateY(-4px);
}

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

.valor-title {
  font-family: var(--serif);
  font-size: 20px;
  color: var(--hueso);
  margin-bottom: 14px;
  font-weight: 500;
  line-height: 1.25;
}

.valor-description {
  font-family: var(--sans);
  font-size: 13px;
  color: var(--hueso);
  opacity: 0.85;
  line-height: 1.7;
}

/* ============ QUÉ ES Y QUÉ NO ES LFC ============ */
.identidad-section {
  background: var(--hueso);
  padding: var(--space-2xl) 0;
}

.identidad-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  max-width: 1100px;
  margin: 60px auto 0;
}

.identidad-col {
  background: var(--hueso-warm);
  padding: 56px 44px;
  border-radius: 2px;
  border-top: 3px solid;
  transition: all 0.4s ease;
}

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

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

.col-no-es {
  border-top-color: var(--tierra-light);
  background: var(--hueso-warm);
  opacity: 0.95;
}

.identidad-col-eyebrow {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 12px;
}

.col-es .identidad-col-eyebrow {
  color: var(--oro);
}

.col-no-es .identidad-col-eyebrow {
  color: var(--tierra-light);
}

.identidad-col h3 {
  font-family: var(--serif);
  font-size: clamp(28px, 2.6vw, 36px);
  color: var(--tierra);
  margin-bottom: 32px;
  font-weight: 400;
  line-height: 1.2;
}

.identidad-col h3 em {
  font-style: italic;
  color: var(--salvia);
}

.col-no-es h3 em {
  color: var(--tierra-light);
}

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

.identidad-col li {
  font-family: var(--sans);
  font-size: 15px;
  color: var(--tierra);
  padding: 14px 0 14px 28px;
  position: relative;
  line-height: 1.55;
  border-bottom: 1px solid rgba(58, 53, 48, 0.06);
}

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

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

.col-no-es li::before {
  content: '✕';
  position: absolute;
  left: 0;
  top: 13px;
  color: var(--tierra-light);
  font-weight: bold;
  font-size: 14px;
  opacity: 0.5;
}

.col-no-es li {
  color: var(--tierra-light);
}

/* ============ RED PROFESIONAL ============ */
.red-section {
  background: var(--hueso-warm);
  padding: var(--space-2xl) 0;
}

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

.red-card {
  background: var(--hueso);
  padding: 44px 36px;
  border: 1px solid rgba(58, 53, 48, 0.08);
  transition: all 0.4s ease;
}

.red-card:hover {
  border-color: var(--oro);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(58, 53, 48, 0.06);
}

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

.red-card h3 {
  font-family: var(--serif);
  font-size: 22px;
  color: var(--tierra);
  margin-bottom: 14px;
  font-weight: 500;
  line-height: 1.25;
}

.red-card p {
  font-family: var(--sans);
  font-size: 14px;
  color: var(--tierra-light);
  line-height: 1.7;
}

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

.red-callout p {
  font-family: var(--serif);
  font-style: italic;
  font-size: 17px;
  color: var(--tierra);
  line-height: 1.7;
  font-weight: 300;
  margin: 0;
}

/* ============ COMPROMISO COMUNIDAD ============ */
.comunidad-section {
  background: var(--salvia);
  color: var(--hueso);
  padding: var(--space-2xl) 0;
}

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

.comunidad-content {
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
}

.comunidad-content h2,
.comunidad-content h2 em {
  color: var(--hueso);
}

.comunidad-content h2 em {
  color: var(--oro-light);
}

.comunidad-content > p {
  font-family: var(--serif);
  font-size: clamp(19px, 1.7vw, 24px);
  color: var(--hueso);
  font-weight: 300;
  line-height: 1.6;
  margin-top: 32px;
}

.comunidad-content > p:first-of-type {
  font-style: italic;
}

.comunidad-divider {
  width: 80px;
  height: 1px;
  background: var(--oro-light);
  margin: 40px auto;
}

.comunidad-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 60px;
  padding-top: 60px;
  border-top: 1px solid rgba(250, 247, 242, 0.15);
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-family: var(--serif);
  font-size: clamp(40px, 4.5vw, 56px);
  font-style: italic;
  font-weight: 300;
  color: var(--oro-light);
  line-height: 1;
  margin-bottom: 12px;
}

.stat-label {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--hueso);
  opacity: 0.85;
  font-weight: 500;
  line-height: 1.4;
}

/* ============ CTA FINAL ============ */
.cta-nosotros-section {
  background: var(--hueso);
  padding: var(--space-2xl) 0;
  text-align: center;
  border-top: 1px solid rgba(201, 168, 106, 0.15);
}

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

.cta-nosotros-content h2 em {
  font-style: italic;
  color: var(--salvia);
  display: block;
  margin-top: 4px;
}

.cta-nosotros-subtitle {
  font-family: var(--serif);
  font-size: clamp(17px, 1.5vw, 20px);
  color: var(--tierra-light);
  margin: 24px 0 40px;
  font-weight: 300;
  line-height: 1.6;
}

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

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
  .hero-internal-nosotros { padding: 140px 0 70px; }
  
  .historia-grid { 
    grid-template-columns: 1fr; 
    gap: 40px;
  }
  
  .director-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }
  
  .director-image-wrapper {
    max-width: 480px;
    margin: 0 auto;
  }
  
  .valores-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .valor-card:nth-child(4),
  .valor-card:nth-child(5) {
    grid-column: span 1;
  }
  
  .identidad-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .red-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .comunidad-stats {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 768px) {
  .director-detail-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  
  .valores-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .valor-card { padding: 32px 22px; }
  
  .identidad-col { padding: 40px 28px; }
  .identidad-col h3 { font-size: 26px; }
  
  .red-callout { padding: 24px 28px; }
  .red-callout p { font-size: 15px; }
  
  .cta-nosotros-buttons { flex-direction: column; align-items: stretch; }
}

@media (max-width: 500px) {
  .valores-grid { grid-template-columns: 1fr; }
}
