/*  */

/* -------------------------------------------------------------------------- */
/*                                       */
/* -------------------------------------------------------------------------- */

:root {
  --riq-doctor-navy: #0f172a;
  --riq-doctor-slate: #1e293b;
  --riq-doctor-blue: #0ea5e9;      /* */
  --riq-doctor-sky-soft: #bae6fd;
  --riq-doctor-sky-light: #e0f2fe;
  --riq-doctor-cyan: #22d3ee;
  --riq-doctor-white: #ffffff;

  --riq-doctor-text: rgba(255, 255, 255, 0.96);
  --riq-doctor-text-soft: rgba(240, 249, 255, 0.84);
  --riq-doctor-text-muted: rgba(224, 242, 254, 0.72);

  --riq-doctor-border: rgba(224, 242, 254, 0.32);
  --riq-doctor-border-strong: rgba(224, 242, 254, 0.48);
  --riq-doctor-glass: rgba(255, 255, 255, 0.14);
  --riq-doctor-glass-soft: rgba(255, 255, 255, 0.10);
  --riq-doctor-glass-strong: rgba(255, 255, 255, 0.18);

  --riq-doctor-shadow:
    0 28px 90px rgba(15, 23, 42, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);

  --riq-doctor-shadow-soft:
    0 14px 34px rgba(15, 23, 42, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.20);
}

/* -------------------------------------------------------------------------- */
/* Main Footer Shell                                                          */
/* -------------------------------------------------------------------------- */

.riq-doctor-footer {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-top: 1px solid var(--riq-doctor-border-strong);
  background:
    radial-gradient(circle at 10% 0%, rgba(186, 230, 253, 0.28), transparent 0 28%),
    radial-gradient(circle at 92% 12%, rgba(34, 211, 238, 0.18), transparent 0 30%),
    radial-gradient(circle at 50% 100%, rgba(14, 165, 233, 0.18), transparent 0 34%),
    linear-gradient(
      135deg,
      #0f172a 0%,
      #075985 38%,
      #0ea5e9 72%,
      #164e63 100%
    );
  color: var(--riq-doctor-text);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  box-shadow: 0 -30px 90px rgba(15, 23, 42, 0.42);
}

.riq-doctor-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(circle at top left, rgba(224, 242, 254, 0.30), transparent 34%),
    radial-gradient(circle at bottom right, rgba(125, 211, 252, 0.22), transparent 38%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), transparent 45%, rgba(15, 23, 42, 0.24));
}

.riq-doctor-footer::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  top: 0;
  height: 1px;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(224, 242, 254, 0.95),
    transparent
  );
}

.riq-doctor-footer-inner {
  position: relative;
  width: 100%;
  max-width: 80rem;
  margin-inline: auto;
  padding: 2rem 1rem;
}

@media (min-width: 640px) {
  .riq-doctor-footer-inner {
    padding-inline: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .riq-doctor-footer-inner {
    padding-inline: 2rem;
  }
}

/* -------------------------------------------------------------------------- */
/* Glass Containers                                                           */
/* -------------------------------------------------------------------------- */

.riq-doctor-panel,
.riq-doctor-card,
.riq-doctor-legal {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--riq-doctor-border);
  background: var(--riq-doctor-glass);
  box-shadow: var(--riq-doctor-shadow);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}

.riq-doctor-panel {
  border-radius: 2rem;
  padding: 1.25rem;
}

.riq-doctor-card {
  border-radius: 2rem;
  padding: 1.25rem;
}

.riq-doctor-legal {
  margin-top: 1.25rem;
  border-radius: 2rem;
  padding: 1rem 1.25rem;
  background: rgba(255, 255, 255, 0.12);
}

.riq-doctor-panel::before,
.riq-doctor-card::before,
.riq-doctor-legal::before {
  content: "";
  position: absolute;
  inset-inline: 2rem;
  top: 0;
  height: 1px;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.86), transparent);
}

.riq-doctor-inner-frame {
  position: absolute;
  inset: 7px;
  pointer-events: none;
  border-radius: 1.65rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

/* -------------------------------------------------------------------------- */
/* Typography                                                                 */
/* -------------------------------------------------------------------------- */

.riq-doctor-pill {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 0.5rem;
  border-radius: 999px;
  border: 1px solid rgba(224, 242, 254, 0.42);
  background: rgba(240, 249, 255, 0.16);
  padding: 0.4rem 0.8rem;
  color: var(--riq-doctor-sky-light);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.26);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.riq-doctor-dot {
  height: 0.5rem;
  width: 0.5rem;
  border-radius: 999px;
  background: var(--riq-doctor-sky-soft);
  box-shadow: 0 0 16px rgba(186, 230, 253, 0.95);
}

.riq-doctor-title {
  margin-top: 1rem;
  max-width: 64rem;
  color: var(--riq-doctor-white);
  font-size: 1.5rem;
  line-height: 1.15;
  font-weight: 900;
  letter-spacing: -0.03em;
  text-shadow:
    0 2px 18px rgba(14, 165, 233, 0.30),
    0 1px 2px rgba(15, 23, 42, 0.35);
}

@media (min-width: 768px) {
  .riq-doctor-title {
    font-size: 1.875rem;
  }
}

.riq-doctor-heading {
  color: var(--riq-doctor-white);
  font-size: 1.875rem;
  line-height: 1.15;
  font-weight: 900;
  letter-spacing: -0.035em;
  text-shadow: 0 2px 16px rgba(14, 165, 233, 0.24);
}

.riq-doctor-subheading {
  color: var(--riq-doctor-sky-light);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.riq-doctor-body {
  margin-top: 0.75rem;
  max-width: 48rem;
  color: var(--riq-doctor-text-soft);
  font-size: 0.875rem;
  line-height: 1.75;
  font-weight: 600;
}

.riq-doctor-small {
  color: var(--riq-doctor-text-muted);
  font-size: 0.75rem;
  line-height: 1.55;
  font-weight: 600;
}

.riq-doctor-mini-label {
  color: rgba(186, 230, 253, 0.86);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.riq-doctor-mini-value {
  margin-top: 0.25rem;
  color: var(--riq-doctor-white);
  font-size: 0.875rem;
  font-weight: 900;
}

/* -------------------------------------------------------------------------- */
/* Badges / Mini Cards                                                        */
/* -------------------------------------------------------------------------- */

.riq-doctor-badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.riq-doctor-badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  border: 1px solid rgba(224, 242, 254, 0.38);
  background: rgba(240, 249, 255, 0.16);
  padding: 0.4rem 0.8rem;
  color: var(--riq-doctor-sky-light);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  box-shadow: var(--riq-doctor-shadow-soft);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.riq-doctor-mini-card {
  border-radius: 1rem;
  border: 1px solid rgba(224, 242, 254, 0.26);
  background: rgba(255, 255, 255, 0.11);
  padding: 0.8rem 1rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

/* -------------------------------------------------------------------------- */
/* Links / Buttons                                                            */
/* -------------------------------------------------------------------------- */

.riq-doctor-link-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .riq-doctor-link-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.riq-doctor-link {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  overflow: hidden;
  border-radius: 1rem;
  border: 1px solid rgba(224, 242, 254, 0.26);
  background: rgba(255, 255, 255, 0.12);
  padding: 0.9rem 1rem;
  color: var(--riq-doctor-white);
  font-size: 0.875rem;
  font-weight: 900;
  text-decoration: none;
  box-shadow: var(--riq-doctor-shadow-soft);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition:
    transform 220ms ease,
    border-color 220ms ease,
    background 220ms ease,
    box-shadow 220ms ease;
}

.riq-doctor-link::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(224, 242, 254, 0.22), transparent);
  opacity: 0;
  transition: opacity 220ms ease;
}

.riq-doctor-link:hover {
  transform: translateY(-3px);
  border-color: rgba(224, 242, 254, 0.66);
  background: rgba(224, 242, 254, 0.20);
  box-shadow:
    0 20px 42px rgba(14, 165, 233, 0.26),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.riq-doctor-link:hover::before {
  opacity: 1;
}

.riq-doctor-link-arrow {
  color: var(--riq-doctor-sky-light);
  transition: transform 220ms ease;
}

.riq-doctor-link:hover .riq-doctor-link-arrow {
  transform: translateX(4px);
}

.riq-doctor-social-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

.riq-doctor-social {
  display: inline-flex;
  height: 3rem;
  width: 3rem;
  align-items: center;
  justify-content: center;
  border-radius: 1rem;
  border: 1px solid rgba(224, 242, 254, 0.30);
  background: rgba(255, 255, 255, 0.13);
  box-shadow: var(--riq-doctor-shadow-soft);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition:
    transform 220ms ease,
    border-color 220ms ease,
    background 220ms ease,
    box-shadow 220ms ease;
}

.riq-doctor-social:hover {
  transform: translateY(-3px);
  border-color: rgba(224, 242, 254, 0.70);
  background: rgba(224, 242, 254, 0.22);
  box-shadow: 0 18px 40px rgba(59, 130, 246, 0.24);
}

.riq-doctor-social img {
  height: 1.25rem;
  width: 1.25rem;
  filter: brightness(0) invert(1);
  transition: transform 220ms ease;
}

.riq-doctor-social:hover img {
  transform: scale(1.1);
}

/* -------------------------------------------------------------------------- */
/* Layout helpers                                                             */
/* -------------------------------------------------------------------------- */

.riq-doctor-footer-grid {
  margin-top: 1.25rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 1024px) {
  .riq-doctor-footer-grid {
    grid-template-columns: 5fr 4fr 3fr;
  }
}

.riq-doctor-flex-between {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

@media (min-width: 1024px) {
  .riq-doctor-flex-between {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.riq-doctor-two-col {
  margin-top: 1.25rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .riq-doctor-two-col {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}