@font-face {
  font-family: "Google Sans Flex";
  src: url("/fonts/GoogleSansFlex-18pt.woff2") format("woff2");
  font-style: normal;
  font-weight: 1 1000;
  font-display: swap;
}

.v3-scope {
  --doer-brand-font: "Google Sans Flex", sans-serif;
  --doer-brand-ink: #18212e;
  --doer-brand-muted: #46546b;
  --doer-brand-paper: #f7f8fa;
  --doer-brand-blue: #3286ff;
  --doer-brand-action: #175dcf;
  --doer-brand-nav: rgb(12 23 41 / 92%);
}

/* Keep the home canvas and its layout isolated from the interior redesign. */
.v3-scope .v3-page-main > :not(#hero),
.v3-scope:not(:has(.v3-hero-canvas)) .v3-page-main > #hero,
.v3-scope .v3-header,
.v3-scope .v3-mobile-nav,
.v3-scope .v3-footer {
  --v3-font-google-sans: var(--doer-brand-font);
  --font-space-grotesk: var(--doer-brand-font);
  --font-inter: var(--doer-brand-font);
  --font-plus-jakarta: var(--doer-brand-font);
  --font-roboto: var(--doer-brand-font);
  font-family: var(--doer-brand-font);
}

.v3-scope .v3-page-main > :not(#hero) :is(h1,h2,h3,h4,h5,h6,p,dt,dd,button,summary),
.v3-scope:not(:has(.v3-hero-canvas)) .v3-page-main > #hero :is(h1,h2,h3,p,a) {
  font-family: var(--doer-brand-font);
}

.v3-scope .v3-header,
.v3-scope .v3-header.scrolled {
  background: var(--doer-brand-nav);
  border-bottom-color: rgb(215 223 235 / 16%);
  box-shadow: none;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.v3-scope .v3-header .v3-btn-primary,
.v3-scope .v3-header .v3-btn-primary:hover,
.v3-scope .v3-mobile-nav.open a.v3-btn-primary,
.v3-scope .v3-mobile-nav.open a.v3-btn-primary:hover,
.v3-scope:has(#doer-ai-teaser) .v3-header .v3-btn-primary,
.v3-scope:has(#doer-ai-teaser) .v3-mobile-nav.open a.v3-btn-primary {
  background: var(--doer-brand-action);
  color: #fff;
}

.v3-scope .v3-mobile-nav.open,
.v3-scope:has(#doer-ai-teaser) .v3-mobile-nav.open {
  background: var(--doer-brand-nav);
  color: #fff;
  backdrop-filter: blur(16px);
}

.v3-scope.v3-light-inner .v3-page-main > section.v3-split-section {
  background: #fff;
  color: var(--doer-brand-ink);
  box-shadow: none;
}

.v3-scope.v3-light-inner .v3-page-main > section.v3-split-section:nth-of-type(even),
.v3-scope.v3-light-inner .v3-page-main > section.doer-campaign-results {
  background: var(--doer-brand-paper);
}

.v3-scope.v3-light-inner .v3-page-main > section.v3-split-section .v3-section-heading {
  color: var(--doer-brand-ink);
}

.v3-scope.v3-light-inner .v3-page-main > section.v3-split-section .v3-section-sub {
  color: var(--doer-brand-muted);
}

.v3-scope.v3-light-inner .v3-page-main > section.v3-split-section .v3-section-label {
  color: var(--doer-brand-action);
}

.v3-scope .v3-page-main > section.v3-split-section .v3-mini-card {
  border-radius: 16px;
}
.v3-scope .v3-page-main > section.v3-split-section .v3-mini-title {
  line-height: 1.2;
}
.v3-scope .v3-page-main > section.v3-split-section .v3-mini-body {
  line-height: 1.6;
}

.v3-scope .v3-page-main > #after-hero + .v3-split-section .v3-split-copy::after,
.v3-scope .about-page > .about-intro .about-wrap::after {
  display: block;
  content: "";
  width: min(100%, 540px);
  aspect-ratio: 1672 / 941;
  margin-top: clamp(20px, 3vw, 36px);
  border-radius: 20px;
  background: var(--doer-brand-paper) url("/lp/doer-pauta-digital-equipo-costa-rica.webp") center / contain no-repeat;
}

.v3-scope .doer-service-landings {
  background: var(--doer-brand-paper);
  color: var(--doer-brand-ink);
}

.v3-scope .doer-service-card span { color: var(--doer-brand-action); }
.v3-scope :is(.v3-header, .v3-mobile-nav, .v3-page-main) a:focus-visible {
  outline: 2px solid var(--doer-brand-blue);
  outline-offset: 4px;
}

.v3-scope .doer-insights-index {
  background: var(--doer-brand-paper);
  color: var(--doer-brand-ink);
  padding: calc(var(--v3-nav-h, 74px) + 36px) 0 64px;
  font-family: var(--doer-brand-font);
}
.doer-insights-shell { width: min(1240px, calc(100% - 48px)); margin-inline: auto; }
.doer-insights-shell > h1 { margin: 0 0 28px; font-size: clamp(2.5rem, 6vw, 4.5rem); line-height: 1.03; }
.doer-insights-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: clamp(16px, 3vw, 30px); }
.doer-insight-card {
  display: block;
  min-width: 0;
  background: #fff;
  color: var(--doer-brand-ink);
  border: 1px solid #d7dfeb;
  border-radius: 18px;
  overflow: hidden;
  text-decoration: none;
}
.doer-insight-card:hover { border-color: var(--doer-brand-blue); }
.doer-insight-card:hover h2 { color: var(--doer-brand-action); }
.doer-insight-card > img { display: block; width: 100%; height: auto; }
.doer-insight-card > h2 { margin: 0; padding: 17px 18px 21px; font-size: clamp(1.05rem, 1.6vw, 1.4rem); line-height: 1.3; }
.v3-scope .doer-insight-hero {
  padding: calc(var(--v3-nav-h, 74px) + 32px) 0 22px;
  background: var(--doer-brand-paper);
}
.v3-scope .doer-insight-hero .v3-post-title,
.v3-scope .dv-hero > h1 { color: var(--doer-brand-ink); }
.v3-scope .doer-insight-hero .v3-post-lead,
.v3-scope .doer-insight-hero .v3-post-metarow { color: var(--doer-brand-muted); }
.v3-scope .doer-insight-hero .v3-post-eyebrow { color: var(--doer-brand-action); }
.v3-scope .dv-hero { padding-block: clamp(16px, 4vw, 48px) 24px; }
.doer-insight-cover {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 18px;
  margin: 16px 0 24px;
}
@media (max-width: 920px) {
  .doer-insights-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 560px) {
  .doer-insights-shell { width: calc(100% - 36px); }
  .doer-insights-grid { grid-template-columns: minmax(0,1fr); }
}
.v3-scope .doer-insights-related { margin-top: 32px; }
.v3-scope .doer-insights-related a { color: var(--doer-brand-action); }
