/* ============================================
   Formación Corporativa — B2B Landing Page
   Prefix: .fc-*
   Palette: navy #0f172a, teal #0891b2, light #f0f9ff
   Base: 10px (global html font-size:62.5%)
   ============================================ */

/* --- Hero --- */
.fc-hero {
  background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 50%, #0891b2 100%);
  color: #fff;
  padding: 8rem 2rem 6rem;
  text-align: center;
}
.fc-hero h1 {
  font-size: 3.6rem;
  font-weight: 700;
  margin-bottom: 1.6rem;
  line-height: 1.2;
}
.fc-hero .fc-subtitle {
  font-size: 1.8rem;
  color: #fff;
  max-width: 700px;
  margin: 0 auto 3rem;
  line-height: 1.5;
}
.fc-hero .fc-cta-btn {
  display: inline-block;
  background: #10b981;
  color: #fff;
  padding: 1.4rem 3.6rem;
  border-radius: 6px;
  font-size: 1.6rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s;
}
.fc-hero .fc-cta-btn:hover {
  background: #059669;
  color: #fff;
  text-decoration: none;
}

/* --- Trust badges --- */
.fc-badges {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-top: 3rem;
  flex-wrap: wrap;
}
.fc-badge {
  text-align: center;
}
.fc-badge-number {
  font-size: 3.2rem;
  font-weight: 700;
  display: block;
  color: #fff;
}
.fc-badge-label {
  font-size: 1.3rem;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* --- Section base --- */
.fc-section {
  padding: 6rem 2rem;
}
.fc-section--alt {
  background: #f0f9ff;
}
.fc-section-title {
  font-size: 2.8rem;
  font-weight: 700;
  color: #0f172a;
  text-align: center;
  margin-bottom: 1.2rem;
}
.fc-section-subtitle {
  font-size: 1.6rem;
  color: #475569;
  text-align: center;
  max-width: 650px;
  margin: 0 auto 4rem;
}

/* --- Services grid --- */
.fc-services {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.4rem;
  max-width: 900px;
  margin: 0 auto;
}
.fc-service-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 2.8rem 2.4rem;
  transition: box-shadow 0.2s;
}
.fc-service-card:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}
.fc-service-icon {
  font-size: 3.2rem;
  margin-bottom: 1.2rem;
  display: block;
}
.fc-service-card h3 {
  font-size: 1.8rem;
  font-weight: 600;
  color: #0f172a;
  margin-bottom: 0.8rem;
}
.fc-service-card p {
  font-size: 1.4rem;
  color: #64748b;
  line-height: 1.6;
}

/* --- Methodology timeline --- */
.fc-timeline {
  display: flex;
  justify-content: center;
  gap: 0;
  max-width: 950px;
  margin: 0 auto;
  position: relative;
}
.fc-step {
  flex: 1;
  text-align: center;
  position: relative;
  padding: 0 1rem;
}
.fc-step-number {
  width: 48px;
  height: 48px;
  background: #0891b2;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  font-weight: 700;
  margin: 0 auto 1.2rem;
  position: relative;
  z-index: 2;
}
.fc-step::after {
  content: '';
  position: absolute;
  top: 24px;
  left: 50%;
  width: 100%;
  height: 2px;
  background: #cbd5e1;
  z-index: 1;
}
.fc-step:last-child::after {
  display: none;
}
.fc-step h4 {
  font-size: 1.4rem;
  font-weight: 600;
  color: #0f172a;
  margin-bottom: 0.4rem;
}
.fc-step p {
  font-size: 1.2rem;
  color: #64748b;
}

/* --- Technology badges --- */
.fc-tech-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.2rem;
  max-width: 700px;
  margin: 0 auto;
}
.fc-tech-badge {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 0.8rem 1.8rem;
  font-size: 1.3rem;
  color: #334155;
  font-weight: 500;
}

/* --- Use cases cards --- */
.fc-cases {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
}
.fc-case-card {
  background: #fff;
  border-radius: 10px;
  padding: 2.4rem 2rem;
  text-align: center;
  border: 1px solid #e2e8f0;
}
.fc-case-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  display: block;
}
.fc-case-card h4 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #0f172a;
  margin-bottom: 0.6rem;
}
.fc-case-card p {
  font-size: 1.3rem;
  color: #64748b;
  line-height: 1.5;
}

/* --- Differentiators --- */
.fc-diffs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 800px;
  margin: 0 auto;
}
.fc-diff {
  display: flex;
  align-items: flex-start;
  gap: 1.4rem;
}
.fc-diff-icon {
  font-size: 2.4rem;
  flex-shrink: 0;
  margin-top: 0.2rem;
}
.fc-diff h4 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #0f172a;
  margin-bottom: 0.3rem;
}
.fc-diff p {
  font-size: 1.3rem;
  color: #64748b;
}

/* --- Form section --- */
.fc-form-section {
  background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 100%);
  padding: 6rem 2rem;
}
.fc-form-container {
  max-width: 720px;
  margin: 0 auto;
  background: #fff;
  border-radius: 12px;
  padding: 4rem 3.6rem;
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
}
.fc-form-container h2 {
  font-size: 2.4rem;
  font-weight: 700;
  color: #0f172a;
  text-align: center;
  margin-bottom: 0.8rem;
}
.fc-form-container .fc-form-sub {
  font-size: 1.4rem;
  color: #64748b;
  text-align: center;
  margin-bottom: 3rem;
}
.fc-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.6rem;
}
.fc-form-group {
  margin-bottom: 1.6rem;
}
.fc-form-group.fc-full {
  grid-column: 1 / -1;
}
.fc-form-group label {
  display: block;
  font-size: 1.3rem;
  font-weight: 600;
  color: #334155;
  margin-bottom: 0.4rem;
}
.fc-form-group label .fc-required {
  color: #ef4444;
}
.fc-form-group input,
.fc-form-group select,
.fc-form-group textarea {
  width: 100%;
  padding: 1rem 1.2rem;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  font-size: 1.4rem;
  color: #1e293b;
  font-family: var(--font-body, 'DM Sans', system-ui, sans-serif);
  transition: border-color 0.2s;
  box-sizing: border-box;
}
.fc-form-group input:focus,
.fc-form-group select:focus,
.fc-form-group textarea:focus {
  outline: none;
  border-color: #0891b2;
  box-shadow: 0 0 0 3px rgba(8,145,178,0.1);
}
.fc-form-group textarea {
  resize: vertical;
  min-height: 100px;
}

/* Radio groups */
.fc-radio-group {
  display: flex;
  gap: 1.6rem;
  margin-top: 0.4rem;
}
.fc-radio-group label {
  font-weight: 400;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  cursor: pointer;
}
.fc-radio-group input[type="radio"] {
  width: auto;
  padding: 0;
}

/* Checkboxes */
.fc-checkbox-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  margin-top: 0.4rem;
}
.fc-checkbox-group label {
  font-weight: 400;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  cursor: pointer;
}
.fc-checkbox-group input[type="checkbox"] {
  width: auto;
  padding: 0;
}

/* Section divider in form */
.fc-form-divider {
  border: none;
  border-top: 1px solid #e2e8f0;
  margin: 2rem 0;
  grid-column: 1 / -1;
}
.fc-form-section-label {
  font-size: 1.2rem;
  font-weight: 600;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.8rem;
  grid-column: 1 / -1;
}

/* Submit button */
.fc-submit-btn {
  display: block;
  width: 100%;
  padding: 1.4rem;
  background: linear-gradient(135deg, #10b981, #059669);
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 1.6rem;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.2s;
  margin-top: 1rem;
}
.fc-submit-btn:hover {
  opacity: 0.9;
}
.fc-submit-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Success/sending states */
#fc-enviando {
  display: none;
  text-align: center;
  padding: 2rem;
  font-size: 1.4rem;
  color: #64748b;
}
#fc-gracias {
  display: none;
  text-align: center;
  padding: 3rem;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 8px;
  margin-top: 2rem;
}
#fc-gracias h3 {
  font-size: 2rem;
  color: #166534;
  margin-bottom: 0.8rem;
}
#fc-gracias p {
  font-size: 1.4rem;
  color: #15803d;
}

/* Validation errors */
.fc-form-group input.error,
.fc-form-group select.error,
.fc-form-group textarea.error {
  border-color: #ef4444;
}
label.error {
  color: #ef4444;
  font-size: 1.2rem;
  font-weight: 400;
  margin-top: 0.3rem;
}

/* --- Hero image --- */
.fc-hero-visual {
  max-width: 900px;
  margin: 3rem auto 0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}
.fc-hero-visual img {
  display: block;
  width: 100%;
  height: auto;
}

/* --- Section images --- */
.fc-section-image {
  max-width: 800px;
  margin: 0 auto 3rem;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}
.fc-section-image img {
  display: block;
  width: 100%;
  height: auto;
}

/* --- Scroll animations --- */
.fc-animate {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.fc-animate.fc-visible {
  opacity: 1;
  transform: translateY(0);
}
.fc-animate-delay-1 { transition-delay: 0.1s; }
.fc-animate-delay-2 { transition-delay: 0.2s; }
.fc-animate-delay-3 { transition-delay: 0.3s; }
.fc-animate-delay-4 { transition-delay: 0.4s; }

/* Scale-up variant */
.fc-animate-scale {
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}
.fc-animate-scale.fc-visible {
  opacity: 1;
  transform: scale(1);
}

/* Slide from left */
.fc-animate-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.fc-animate-left.fc-visible {
  opacity: 1;
  transform: translateX(0);
}

/* Slide from right */
.fc-animate-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.fc-animate-right.fc-visible {
  opacity: 1;
  transform: translateX(0);
}

/* --- Footer CTA --- */
.fc-footer-cta {
  background: #0891b2;
  color: #fff;
  text-align: center;
  padding: 5rem 2rem;
}
.fc-footer-cta h2 {
  font-size: 2.6rem;
  font-weight: 700;
  margin-bottom: 1.6rem;
}
.fc-footer-cta .fc-cta-btn {
  display: inline-block;
  background: #fff;
  color: #0891b2;
  padding: 1.2rem 3rem;
  border-radius: 6px;
  font-size: 1.6rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s;
}
.fc-footer-cta .fc-cta-btn:hover {
  background: #f0f9ff;
  text-decoration: none;
}

/* --- Responsive --- */
@media (max-width: 768px) {
  .fc-hero { padding: 6rem 1.6rem 4rem; }
  .fc-hero h1 { font-size: 2.8rem; }
  .fc-hero .fc-subtitle { font-size: 1.5rem; }
  .fc-badges { gap: 2rem; }
  .fc-badge-number { font-size: 2.4rem; }
  .fc-services { grid-template-columns: 1fr; }
  .fc-timeline { flex-direction: column; gap: 2rem; }
  .fc-step::after { display: none; }
  .fc-cases { grid-template-columns: 1fr; }
  .fc-diffs { grid-template-columns: 1fr; }
  .fc-form-row { grid-template-columns: 1fr; }
  .fc-form-container { padding: 2.4rem 2rem; }
  .fc-radio-group { flex-direction: column; gap: 0.8rem; }
  .fc-hero-visual { margin-top: 2rem; border-radius: 8px; }
  .fc-section-image { max-width: 100%; margin-bottom: 2rem; }
}
