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

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

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

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

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

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

/* ============ MODELO DOS PASOS ============ */
.modelo-pasos-section {
  background: var(--hueso-warm);
  padding: var(--space-2xl) 0;
}

.pasos-grid-contacto {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 32px;
  align-items: stretch;
  max-width: 1100px;
  margin: 60px auto 0;
}

.paso-card-contacto {
  background: var(--hueso);
  padding: 48px 40px;
  border: 1px solid rgba(58, 53, 48, 0.08);
  position: relative;
  transition: all 0.4s ease;
  display: flex;
  flex-direction: column;
}

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

.paso-card-contacto.paso-featured-c {
  border-color: var(--oro);
  background: linear-gradient(180deg, var(--hueso) 0%, rgba(201, 168, 106, 0.04) 100%);
}

.paso-card-contacto.paso-featured-c::before {
  content: 'PRINCIPAL';
  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;
}

.paso-number-c {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--salvia);
  font-weight: 700;
  margin-bottom: 16px;
}

.paso-card-contacto h3 {
  font-family: var(--serif);
  font-size: clamp(24px, 2.4vw, 30px);
  color: var(--tierra);
  margin-bottom: 12px;
  font-weight: 500;
  line-height: 1.2;
}

.paso-meta-c {
  font-family: var(--sans);
  font-size: 13px;
  color: var(--tierra-light);
  margin-bottom: 20px;
  font-weight: 500;
  letter-spacing: 0.3px;
}

.paso-card-contacto > p {
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.7;
  color: var(--tierra-light);
  margin-bottom: 24px;
  flex-grow: 1;
}

.paso-cta-c {
  margin-top: auto;
}

.paso-cta-c a {
  display: block;
  text-align: center;
  padding: 16px 24px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  border-radius: 2px;
  transition: all 0.3s ease;
  background: var(--salvia);
  color: var(--hueso);
}

.paso-cta-c a:hover {
  background: var(--salvia-dark);
}

.paso-card-contacto.paso-featured-c .paso-cta-c a {
  background: var(--tierra);
}

.paso-card-contacto.paso-featured-c .paso-cta-c a:hover {
  background: var(--tierra-light);
}

.paso-arrow-c {
  font-family: var(--serif);
  font-size: 48px;
  color: var(--oro);
  font-weight: 300;
  text-align: center;
  align-self: center;
  padding: 0 8px;
}

/* ============ FORMULARIO ============ */
.formulario-section {
  background: var(--hueso);
  padding: var(--space-2xl) 0;
  scroll-margin-top: 100px;
}

.formulario-wrapper {
  max-width: 880px;
  margin: 60px auto 0;
  background: var(--hueso-warm);
  padding: 64px 56px;
  border: 1px solid rgba(58, 53, 48, 0.08);
  border-radius: 2px;
  position: relative;
}

.formulario-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: var(--oro);
}

.formulario-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-label {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--salvia);
  font-weight: 600;
  margin-bottom: 8px;
}

.form-label .required {
  color: var(--oro);
  margin-left: 2px;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 14px 18px;
  font-family: var(--sans);
  font-size: 14px;
  color: var(--tierra);
  background: var(--hueso);
  border: 1px solid rgba(58, 53, 48, 0.15);
  border-radius: 2px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--oro);
  box-shadow: 0 0 0 3px rgba(201, 168, 106, 0.1);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: rgba(58, 53, 48, 0.4);
  font-family: var(--serif);
  font-style: italic;
}

.form-select {
  cursor: pointer;
  background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='8' viewBox='0 0 14 8'%3E%3Cpath fill='%235C7560' d='M7 8L0 0h14z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
  background-size: 10px;
  appearance: none;
  -webkit-appearance: none;
}

.form-textarea {
  resize: vertical;
  min-height: 140px;
  font-family: var(--sans);
}

.form-radio-group {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 6px;
}

.form-radio {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-family: var(--sans);
  font-size: 14px;
  color: var(--tierra);
}

.form-radio input[type="radio"] {
  width: 18px;
  height: 18px;
  accent-color: var(--salvia);
  cursor: pointer;
}

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  font-family: var(--sans);
  font-size: 13px;
  color: var(--tierra-light);
  line-height: 1.5;
  margin-top: 8px;
}

.form-checkbox input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--salvia);
  cursor: pointer;
  flex-shrink: 0;
  margin-top: 2px;
}

.form-checkbox a {
  color: var(--salvia);
  text-decoration: underline;
}

.form-submit-wrapper {
  grid-column: 1 / -1;
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.form-submit {
  display: inline-block;
  background: var(--salvia);
  color: var(--hueso);
  padding: 18px 48px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  border: none;
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.form-submit:hover {
  background: var(--salvia-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(92, 117, 96, 0.25);
}

.form-note {
  font-family: var(--serif);
  font-size: 14px;
  font-style: italic;
  color: var(--tierra-light);
  text-align: center;
  line-height: 1.6;
  max-width: 480px;
}

/* ============ INFORMACIÓN DE CONTACTO ============ */
.info-contacto-section {
  background: var(--hueso-warm);
  padding: var(--space-2xl) 0;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 1180px;
  margin: 60px auto 0;
}

.info-card {
  background: var(--hueso);
  padding: 40px 32px;
  border: 1px solid rgba(58, 53, 48, 0.08);
  text-align: center;
  transition: all 0.4s ease;
}

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

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

.info-card h3 {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--salvia);
  font-weight: 700;
  margin-bottom: 14px;
}

.info-card-value {
  font-family: var(--serif);
  font-size: 18px;
  color: var(--tierra);
  font-weight: 500;
  margin-bottom: 8px;
  line-height: 1.3;
  word-break: break-word;
}

.info-card-meta {
  font-family: var(--sans);
  font-size: 12px;
  color: var(--tierra-light);
  font-style: italic;
  line-height: 1.5;
}

/* ============ MAPA PLACEHOLDER ============ */
.mapa-section {
  background: var(--hueso);
  padding: var(--space-2xl) 0;
}

.mapa-wrapper {
  max-width: 1180px;
  margin: 60px auto 0;
  background: linear-gradient(135deg, var(--hueso-warm) 0%, rgba(92, 117, 96, 0.08) 100%);
  border: 1px dashed rgba(58, 53, 48, 0.2);
  border-radius: 2px;
  aspect-ratio: 21/9;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px;
  position: relative;
  overflow: hidden;
}

.mapa-wrapper::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  background-image:
    linear-gradient(rgba(201, 168, 106, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201, 168, 106, 0.05) 1px, transparent 1px);
  background-size: 60px 60px;
  z-index: 0;
}

.mapa-content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.mapa-pin {
  display: inline-block;
  width: 16px;
  height: 16px;
  background: var(--oro);
  border-radius: 50%;
  position: relative;
  margin-bottom: 20px;
  box-shadow: 0 0 0 8px rgba(201, 168, 106, 0.2);
  animation: pulse-pin 2s ease-in-out infinite;
}

@keyframes pulse-pin {
  0%, 100% { box-shadow: 0 0 0 8px rgba(201, 168, 106, 0.2); }
  50% { box-shadow: 0 0 0 16px rgba(201, 168, 106, 0.1); }
}

.mapa-title {
  font-family: var(--serif);
  font-size: clamp(24px, 2.2vw, 30px);
  color: var(--tierra);
  font-weight: 400;
  margin-bottom: 12px;
}

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

.mapa-subtitle {
  font-family: var(--sans);
  font-size: 14px;
  color: var(--tierra-light);
  letter-spacing: 0.3px;
  line-height: 1.6;
  max-width: 480px;
  margin: 0 auto;
}

.mapa-note {
  margin-top: 24px;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--oro);
  font-weight: 600;
}

/* ============ GARANTÍAS DE PRIVACIDAD ============ */
.garantias-section {
  background: var(--tierra);
  color: var(--hueso);
  padding: var(--space-2xl) 0;
}

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

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

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

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

.garantias-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 1100px;
  margin: 60px auto 0;
}

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

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

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

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

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

/* ============ FAQs CONTACTO ============ */
.faqs-contacto-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);
}

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

.faq-q {
  width: 100%;
  text-align: left;
  padding: 26px 40px 26px 0;
  font-family: var(--serif);
  font-size: clamp(18px, 1.5vw, 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: 800px;
  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 DE CIERRE ============ */
.cta-contacto-section {
  background: var(--salvia);
  color: var(--hueso);
  padding: var(--space-2xl) 0;
  text-align: center;
  position: relative;
}

.cta-contacto-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, transparent, var(--oro));
}

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

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

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

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

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

.cta-contacto-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-contacto-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.cierre-final {
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1px solid rgba(201, 168, 106, 0.3);
}

.cierre-final-text {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(20px, 1.8vw, 26px);
  color: var(--oro-light);
  font-weight: 300;
  line-height: 1.5;
  letter-spacing: 0.5px;
}

/* ============ FOOTER SOCIAL ICONS DESACTIVADOS ============ */
.site-footer .footer-social a {
  pointer-events: none;
  opacity: 0.3;
  cursor: default;
}

.site-footer .footer-social a:hover {
  background: transparent;
  color: rgba(250, 247, 242, 0.6);
  border-color: rgba(201, 168, 106, 0.4);
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
  .hero-internal-contacto { padding: 140px 0 70px; }
  
  .pasos-grid-contacto {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .paso-arrow-c {
    transform: rotate(90deg);
    padding: 8px 0;
  }
  
  .info-grid {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  
  .garantias-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (max-width: 768px) {
  .formulario-wrapper {
    padding: 40px 28px;
  }
  
  .formulario-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .info-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .info-card { padding: 32px 24px; }
  .garantia-card { padding: 36px 28px; }
  
  .mapa-wrapper {
    aspect-ratio: auto;
    padding: 60px 24px;
  }
  
  .cta-contacto-buttons {
    flex-direction: column;
    align-items: stretch;
  }
  
  .paso-card-contacto { padding: 36px 28px; }
}
