/* Credentialing & Enrollment — visual hierarchy + approved imagery */

.cred-page {
  font-family: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.cred-page h1,
.cred-page h2,
.cred-page h3,
.cred-page p,
.cred-page li,
.cred-page label,
.cred-page button,
.cred-page input,
.cred-page select,
.cred-page textarea {
  font-family: inherit;
}

.cred-hero {
  background:
    radial-gradient(ellipse 70% 55% at 0% 0%, rgba(59, 130, 246, 0.12), transparent 55%),
    radial-gradient(ellipse 50% 40% at 100% 0%, rgba(13, 148, 136, 0.1), transparent 50%),
    linear-gradient(180deg, #eef4ff 0%, #ffffff 70%);
  border-bottom: 1px solid var(--line, rgba(15, 23, 42, 0.08));
  padding: 64px 0 72px;
}

.cred-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 40px;
  align-items: center;
}

.cred-hero h1 {
  margin: 0 0 14px;
  font-size: clamp(2rem, 3.4vw, 2.85rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.15;
  color: #0f172a;
}

.cred-hero-lead {
  margin: 0 0 18px;
  font-size: 1.125rem;
  line-height: 1.6;
  color: #475569;
  max-width: 36rem;
}

.cred-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-bottom: 16px;
}

.cred-btn-orange {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #fb923c, #ea580c);
  border: 1px solid #c2410c;
  color: #fff !important;
  border-radius: 999px;
  padding: 14px 22px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(234, 88, 12, 0.28);
}

.cred-btn-orange:hover { color: #fff !important; filter: brightness(1.03); }

.cred-btn-block { width: 100%; }

.cred-hero-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 22px;
  font-weight: 600;
}

.cred-hero-contact a { color: #0f172a; text-decoration: none; }
.cred-hero-contact a:hover { color: #ea580c; }

.cred-media img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 12px 36px rgba(15, 23, 42, 0.1);
  display: block;
  object-fit: cover;
}

.cred-media-portrait {
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
}

.cred-media-portrait img {
  aspect-ratio: 2 / 3;
  object-fit: cover;
  width: 100%;
}

.cred-section { padding: 72px 0; }
.cred-section-alt {
  background: #f8fafc;
  border-top: 1px solid rgba(15, 23, 42, 0.06);
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.cred-section h2 {
  margin: 0 0 12px;
  font-size: clamp(1.7rem, 2.5vw, 2.15rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #0f172a;
  line-height: 1.2;
}

.cred-section-lead {
  margin: 0 0 28px;
  max-width: 40rem;
  color: #475569;
  font-size: 1.0625rem;
  line-height: 1.65;
}

.cred-split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 40px;
  align-items: center;
}

.cred-split-rev {
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
}

.cred-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.cred-list li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 12px;
  align-items: start;
  color: #0f172a;
  line-height: 1.45;
}

.cred-list .mark {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(13, 148, 136, 0.12);
  color: #0d9488;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.85rem;
}

.cred-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.cred-card {
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 16px;
  padding: 26px 22px;
}

.cred-card h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a;
}

.cred-card p {
  margin: 0;
  color: #475569;
  font-size: 0.95rem;
  line-height: 1.5;
}

/* Secondary / specialized — visually quieter */
.cred-secondary {
  background: #fff;
  border: 1px dashed rgba(15, 23, 42, 0.14);
  border-radius: 16px;
  padding: 28px 24px;
}

.cred-secondary h2 {
  font-size: 1.35rem !important;
  font-weight: 700 !important;
}

.cred-secondary-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 18px;
}

.cred-secondary-item {
  background: #f8fafc;
  border-radius: 12px;
  padding: 16px 14px;
  font-size: 0.92rem;
  color: #475569;
  line-height: 1.4;
}

.cred-secondary-item strong {
  display: block;
  color: #0f172a;
  margin-bottom: 4px;
  font-size: 0.95rem;
}

.cred-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
  counter-reset: credstep;
}

.cred-steps li {
  counter-increment: credstep;
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 12px;
  align-items: start;
}

.cred-steps li::before {
  content: counter(credstep);
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #0f172a;
  color: #fff;
  font-weight: 800;
  font-size: 0.85rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.cred-steps strong {
  display: block;
  color: #0f172a;
  margin-bottom: 2px;
}

.cred-steps span {
  color: #475569;
  font-size: 0.95rem;
  line-height: 1.45;
}

.cred-consult-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.9fr);
  gap: 36px;
  align-items: start;
}

.cred-form-card {
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 16px;
  box-shadow: 0 12px 36px rgba(15, 23, 42, 0.1);
  padding: 28px 26px;
  scroll-margin-top: 100px;
}

.cred-form-card h2 {
  margin: 0 0 8px;
  font-size: 1.4rem;
}

.cred-form-card .sub {
  margin: 0 0 18px;
  color: #475569;
  font-size: 0.95rem;
}

.cred-form .form-group { margin-bottom: 12px; }
.cred-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.cred-form label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 5px;
}

.cred-form .req { color: #c2410c; }

.cred-form input,
.cred-form select,
.cred-form textarea {
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  padding: 11px 12px;
  font: inherit;
  background: #fff;
}

.cred-form input:focus,
.cred-form select:focus,
.cred-form textarea:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.18);
}

.cred-form .field-error {
  display: none;
  color: #dc2626;
  font-size: 0.78rem;
  margin-top: 4px;
}

.cred-form .field-error.show { display: block; }
.cred-form .is-invalid { border-color: #dc2626; }

.cred-form-note {
  margin: 12px 0 0;
  font-size: 0.78rem;
  color: #64748b;
  line-height: 1.45;
}

.cred-form-status {
  display: none;
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 0.92rem;
}

.cred-form-status.success {
  display: block;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
}

.cred-form-status.error {
  display: block;
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
}

.cred-hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
}

.cred-band {
  background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 65%, #0d9488 140%);
  color: #fff;
  padding: 64px 0;
  text-align: center;
}

.cred-band h2 { color: #fff; margin: 0 0 10px; }
.cred-band p { color: rgba(255,255,255,0.85); margin: 0 auto 20px; max-width: 36rem; }
.cred-band a.tel,
.cred-band a.mail { color: #fdba74; font-weight: 600; margin: 0 10px; }

@media (max-width: 980px) {
  .cred-hero { padding: 40px 0 48px; }
  .cred-hero-grid,
  .cred-split,
  .cred-split-rev,
  .cred-consult-grid { grid-template-columns: 1fr; gap: 28px; }
  .cred-cards { grid-template-columns: 1fr 1fr; }
  .cred-secondary-grid { grid-template-columns: 1fr 1fr; }
  .cred-section { padding: 56px 0; }
  .cred-media-portrait { max-width: 320px; }
}

@media (max-width: 640px) {
  .cred-cards,
  .cred-secondary-grid,
  .cred-form .form-row { grid-template-columns: 1fr; }
  .cred-section { padding: 48px 0; }
}
