/* Inter self-hosted (variable, latin). Reemplaza el CDN de Google Fonts:
   sin amarras externas, sin cookies, y carga mas rapido. */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/assets/inter-latin-variable.woff2") format("woff2");
}

/* ClinicFrame custom design-system overrides.
   Loaded after clinicframe.webflow.shared.*.css — only redefines CSS custom
   properties (+ a handful of literal-white surface selectors that don't use
   variables), so the whole site re-themes without touching the generated file. */

:root {
  /* Blue scale, light -> dark */
  --blue-100: #eff0f6;
  --blue-200: #dee2ed;
  --blue-300: #bec5dc;
  --blue-400: #9da9ca;
  --blue-500: #7d8eb9;
  --blue-600: #5b74a8;
  --blue-700: #355c96;
  --blue-800: #14457d;
  --blue-900: #003065;
  --blue-1000: #001c4d;
  --blue-1100: #001241;

  /* Site "white" is always this warm off-white, never pure #fff */
  --cf-white: #fdfef9;

  /* Yellow scribing accent (was #f2f962, unused in practice) -> blue */
  --color--base--brand-color: var(--blue-800);

  /* Teal scribing accents -> blue, chosen per surface for WCAG contrast:
     dark text/fills on light bg get the darker shades, light fills on
     dark bg get the lighter shades. */
  --_color---base-color--scribing-brand-color: var(--blue-800);
  --_color---base-color--green: var(--blue-700);
  --teal: var(--blue-800);
  --teal-mid: var(--blue-700);
  --teal-soft: var(--blue-100);

  /* Dark "scribing" surfaces -> unified navy instead of near-black/dark-teal */
  --base--bg--bg-primary: var(--blue-1100);
  --_color---bg-color--bg-primary: var(--cf-white);
  --base--bg--bg-secondary: var(--blue-1100);
  --_color---bg-color--bg-secondary: var(--blue-1100);

  /* Semantic "white" tokens -> cf-white */
  --_color---base-color--white: var(--cf-white);
  --kütüp-library--white: var(--cf-white);

  /* These teal/tan vars were missed in the first pass — still leaking
     through gradient text and a couple of surfaces. */
  --_color---scribing--text-color--text-inverse: var(--blue-800);
  --_color---bg-color--card-bg-01: var(--blue-1100);
  --_color---bg-color--input-bg: var(--blue-1100);
  --text-dark: var(--blue-1000);
  --base--text--text-inverse: var(--blue-400);
}

/* A few gradients/shadows are hardcoded teal hex (not wired to the
   variables above), so they survived the first color pass untouched. */
.hiw-image-wrap.transcription.real-time-transcription {
  background-image:
    linear-gradient(0deg, var(--cf-white), transparent 50%),
    url("https://cdn.prod.website-files.com/69c6d0aaf6b74415caa500c6/69cce071e6b181c5888da07a_Teal-Time%20Transcription.webp");
}

.hiw-image-wrap.ai-coaching {
  background-image:
    linear-gradient(180deg, transparent 30%, rgba(20, 69, 125, 0.5) 99%),
    linear-gradient(180deg, transparent, var(--cf-white) 63%),
    url("https://cdn.prod.website-files.com/69c6d0aaf6b74415caa500c6/69ccdfb83396eb61cfd35689_AI%20coaching.webp");
}

.hiw-image-wrap.transcription {
  background-image:
    linear-gradient(180deg, transparent 30%, rgba(20, 69, 125, 0.5)),
    linear-gradient(0deg, var(--cf-white), transparent 50%),
    url("https://cdn.prod.website-files.com/69c6d0aaf6b74415caa500c6/69cce071e6b181c5888da07a_Teal-Time%20Transcription.webp");
}

.sfa-icon-wrap-1 {
  background-image: linear-gradient(135deg, var(--blue-800), var(--blue-600) 77%);
  box-shadow:
    0 6px 7.5px rgba(20, 69, 125, 0.25),
    0 0 3px rgba(20, 69, 125, 0.25);
}

.sfa-icon-wrap {
  background-image: linear-gradient(135deg, var(--blue-800), var(--blue-600));
  box-shadow:
    0 4px 12px 4px rgba(20, 69, 125, 0.25),
    0 1px 20px -20px rgba(20, 69, 125, 0.25);
}

.cf-icon {
  box-shadow: 0 4px 16px rgba(20, 69, 125, 0.25);
}

.sc-subtitle {
  color: var(--blue-1000);
}

/* Bolder, more confident headline weight — the Webflow default "medium"
   (500) reads flat next to the rest of the redesign. */
.heading-h1,
.heading-h2 {
  font-weight: var(--_font---font-weight--bold);
}

.heading-h3,
.heading-h4 {
  font-weight: var(--_font---font-weight--semibold);
}

/* Literal #fff/white surface backgrounds in the generated stylesheet aren't
   wired to a variable, so the visible "white" panels are re-pointed here. */
body,
.w-input,
.w-select,
._404_section,
.section.features,
.section.how-to,
.section.is-cta,
.section.faq,
.section.specialties-carousel,
.hiw-item-card.platform-clinicframe,
.features-table,
.kutup-section,
.sfa-card,
.sfa-card-1,
.wc-card,
.dropdown-link,
.dropdown-link-2,
.dropdown-link-3,
.page,
.card,
.s1-browser,
.s2-dmg,
.url-bar,
.s1-toast,
.s3-login {
  background-color: var(--cf-white);
}

.w-webflow-badge {
  background-color: var(--cf-white) !important;
}

/* ============================================
   Shared Nav: Features dropdown
   Layout structure only (icon + title + description rows in a shadowed
   panel) — colors/type are ClinicFrame's own blue/Inter system.
   ============================================ */
.cf-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.cf-nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.cf-nav-item {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--_font---font--family--body);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--blue-1000);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.25rem 0;
  text-decoration: none;
}

.cf-nav-item[aria-current="page"] {
  color: var(--blue-800);
  text-decoration: underline;
  text-underline-offset: 6px;
}

.cf-nav-item svg {
  transition: transform 0.15s ease;
}

.cf-nav-item[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

.cf-nav-dropdown {
  position: relative;
}

.cf-nav-dropdown-panel {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%);
  width: 320px;
  background-color: var(--cf-white);
  border-radius: 16px;
  box-shadow: 0 12px 32px rgba(0, 18, 65, 0.16);
  padding: 0.5rem;
  display: none;
  z-index: 1000;
}

.cf-nav-dropdown-panel.is-open {
  display: block;
}

.cf-nav-dropdown-row {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.75rem;
  border-radius: 12px;
  text-decoration: none;
  transition: background-color 0.15s ease;
}

.cf-nav-dropdown-row:hover,
.cf-nav-dropdown-row:focus-visible {
  background-color: var(--blue-100);
}

.cf-nav-dropdown-icon {
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background-color: var(--blue-1000);
  display: flex;
  align-items: center;
  justify-content: center;
}

.cf-nav-dropdown-icon svg {
  width: 18px;
  height: 18px;
}

.cf-nav-dropdown-title {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--_font---font--family--heading);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--blue-1000);
}

.cf-nav-dropdown-desc {
  margin-top: 0.15rem;
  font-family: var(--_font---font--family--body);
  font-size: 0.82rem;
  line-height: 1.4;
  color: var(--text-body);
}

.cf-nav-external-icon {
  flex: none;
  width: 12px;
  height: 12px;
  color: var(--text-body);
}

@media (max-width: 991px) {
  .cf-nav-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .cf-nav-dropdown-panel {
    position: static;
    transform: none;
    width: auto;
    box-shadow: none;
    margin-top: 0.5rem;
  }
}

/* ============================================
   Shared CTA hover fill: a circle grows from the
   pointer/focus origin to swap background + text
   color. Applies on top of each button's own base
   colors — only the two custom properties below
   need to be set per variant.
   ============================================ */
.cf-fill {
  position: relative;
  isolation: isolate;
  transition: color 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.cf-fill::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  pointer-events: none;
  background: var(--cf-fill-color, transparent);
  clip-path: circle(0% at var(--cf-fill-x, 50%) var(--cf-fill-y, 50%));
  transition: clip-path 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.cf-fill.cf-fill-active::before {
  clip-path: circle(150% at var(--cf-fill-x, 50%) var(--cf-fill-y, 50%));
}

.cf-fill.cf-fill-active {
  /* !important: some pages set this button's resting color via a more
     specific ancestor-scoped selector (e.g. .navbar-2.cf-navbar-pill
     .cf-nav-cta) that would otherwise outrank this state override and
     leave white text on the white fill. */
  color: var(--cf-fill-text, inherit) !important;
}

@media (prefers-reduced-motion: reduce) {
  .cf-fill,
  .cf-fill::before {
    transition-duration: 0.01ms;
  }
}

/* Blue-filled CTAs: fill goes blue -> white, text flips to blue. */
.cf-btn-primary.cf-fill,
.cf-nav-cta.cf-fill,
.cf-platform-btn-dark.cf-fill {
  --cf-fill-color: var(--cf-white);
  --cf-fill-text: var(--blue-1100);
}

.primary-button.cf-fill {
  --cf-fill-color: var(--cf-white);
  --cf-fill-text: var(--blue-800);
}

/* White/light CTAs: fill goes white -> blue, text flips to white. */
.cf-btn-ghost.cf-fill,
.cf-platform-btn-light.cf-fill {
  --cf-fill-color: var(--blue-1100);
  --cf-fill-text: var(--cf-white);
}

/* ============================================================
   NAVBAR (compartido, una sola fuente para TODAS las páginas).
   Arriba sobre hero claro: integrado transparente navy.
   Despegado sobre contenido: pill navy angosto invertido.
   Sobre imagen full-bleed (cualquier scroll): re-integrado transparente blanco.
   Activado por [data-nav-media] + el footer (trigger global en BaseLayout).
   ============================================================ */
.navbar-2.cf-navbar-pill { background: transparent; }
.navbar-2.cf-navbar-pill .padding-global { padding: 20px 0 0; justify-content: center; }
.navbar-2.cf-navbar-pill .container-2 { width: 75%; max-width: 75%; transition: width .4s cubic-bezier(.16,1,.3,1), max-width .4s cubic-bezier(.16,1,.3,1); }
.navbar-2.cf-navbar-pill .div-block-3 { position: relative; width: 100%; background: rgba(255,252,248,.85); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-radius: 999px; padding: 8px 8px 8px 20px; gap: 24px; box-shadow: 0 1px 2px rgba(0,18,65,.05); border: 1px solid rgba(0,18,65,.15); transition: background .4s ease, box-shadow .4s ease, backdrop-filter .4s ease, border-color .4s ease; }
.navbar-2.cf-navbar-pill .image-102 { max-width: none; width: auto; height: 34px; transition: filter .4s ease, height .4s ease; }
.navbar-2.cf-navbar-pill .cf-nav-item { font-family: Inter, sans-serif; font-weight: 500; font-size: 16px; color: #001241; transition: color .4s ease; }
.navbar-2.cf-navbar-pill .cf-nav-cta { padding: 12px 20px; margin-left: 4px; border-radius: 999px; background: #001241; color: #fff; font-family: Inter, sans-serif; font-weight: 600; font-size: 16px; transition: background .4s ease, color .4s ease, padding .4s ease; }
@media (min-width: 1024px) {
  .navbar-2.cf-navbar-pill { position: fixed !important; top: 0; left: 0; right: 0; z-index: 999; }
  .navbar-2.cf-navbar-pill:not(.is-pinned):not(.cf-nav-onmedia) .container-2 { width: 90%; max-width: 90%; }
  .navbar-2.cf-navbar-pill:not(.is-pinned):not(.cf-nav-onmedia) .div-block-3 { background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; box-shadow: none; border-color: transparent; }
  .navbar-2.cf-navbar-pill.is-pinned:not(.cf-nav-onmedia) .container-2 { width: 50%; max-width: 50%; }
  .navbar-2.cf-navbar-pill.is-pinned:not(.cf-nav-onmedia) .div-block-3 { background: rgba(0,18,65,.8); backdrop-filter: blur(9px) saturate(150%); -webkit-backdrop-filter: blur(9px) saturate(150%); border-color: rgba(255,255,255,.18); box-shadow: 0 8px 24px rgba(0,18,65,.18), inset 0 1px 0 rgba(255,255,255,.12); padding: 5px 5px 5px 16px; transition: background .4s ease, box-shadow .4s ease, backdrop-filter .4s ease, border-color .4s ease, padding .4s ease; }
  .navbar-2.cf-navbar-pill.is-pinned:not(.cf-nav-onmedia) .image-102 { filter: brightness(0) invert(1); height: 27px; }
  .navbar-2.cf-navbar-pill.is-pinned:not(.cf-nav-onmedia) .cf-nav-item { color: #fffcf8; }
  .navbar-2.cf-navbar-pill.is-pinned:not(.cf-nav-onmedia) .cf-nav-cta { background: #fffcf8; color: #001241; padding: 9px 18px; }
  .navbar-2.cf-navbar-pill.cf-nav-onmedia .container-2 { width: 90%; max-width: 90%; }
  .navbar-2.cf-navbar-pill.cf-nav-onmedia .div-block-3 { background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; box-shadow: none; border-color: transparent; padding: 8px 8px 8px 20px; }
  .navbar-2.cf-navbar-pill.cf-nav-onmedia .image-102 { filter: brightness(0) invert(1); height: 34px; }
  .navbar-2.cf-navbar-pill.cf-nav-onmedia .cf-nav-item { color: #fffcf8; }
  .navbar-2.cf-navbar-pill.cf-nav-onmedia .cf-nav-cta { background: #fffcf8; color: #001241; padding: 12px 20px; }
}
@media (max-width: 991px) {
  .navbar-2.cf-navbar-pill .w-nav-overlay { border-radius: 22.8px; overflow: hidden; }
  .navbar-2.cf-navbar-pill [data-nav-menu-open] { background: #fffcf8; padding: 12px; box-shadow: 0 0 4px rgba(0,18,65,.1); }
}
@media (max-width: 767px) {
  .navbar-2.cf-navbar-pill .padding-global { padding: 12px 0 0; }
  .navbar-2.cf-navbar-pill .div-block-3 { padding: 6px 6px 6px 16px; }
  .navbar-2.cf-navbar-pill .cf-nav-cta { padding: 10px 16px; font-size: 14px; }
}
