/*
 * ControlPantallas.cl marketing landing page.
 *
 * Static, self-contained port of the previous Next.js landing, which was itself
 * built on the "crimson-cut-studio" (Warm-Paper Viral Studio) template. All
 * colors and type come from the tokens below; the dashboard's dark theme is
 * intentionally NOT reused here. Breakpoints follow the M3 window size classes:
 * compact < 600px, medium 600-839px, expanded >= 840px.
 *
 * No framework, no Material Web, no external JS libraries. Icons are inline SVG
 * (`.icon`) instead of Material Symbols. Manrope is self-hosted at /fonts.
 *
 * Layout model: sections are full-bleed bands; a shared `.container` centers
 * their content and provides consistent horizontal gutters.
 */

@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url('/fonts/manrope.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url('/fonts/manrope-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  color-scheme: light;
  --paper: #efeeea;
  --surface: #ffffff;
  --ink: #232825;
  --muted-ink: #444a46;
  --crimson: #de103c;
  --jade: #36a379;
  --sun: #fbbf24;
  --hairline: rgb(16 16 20 / 10%);
  --hairline-light: rgb(255 255 255 / 12%);
  --ease-editorial: cubic-bezier(0.16, 1, 0.3, 1);
  --font-manrope: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

html {
  overflow-x: clip;
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  -webkit-text-size-adjust: 100%;
}

body {
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-manrope);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
a:focus-visible {
  outline: 3px solid var(--crimson);
  outline-offset: 4px;
}

img {
  display: block;
  max-width: 100%;
}

svg.icon {
  display: block;
  fill: currentColor;
}

/* Skip-to-content link: visually hidden until focused. */
.skip-link {
  position: absolute;
  top: -60px;
  left: 16px;
  z-index: 200;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--crimson);
  color: white;
  font-size: 13px;
  font-weight: 750;
  text-decoration: none;
  transition: top 200ms var(--ease-editorial);
}

.skip-link:focus {
  top: 16px;
}

/* Images inside the card/showcase containers fill their box (the Next.js
 * landing used next/image `fill`; this replicates that behaviour here). */
.showcase-card img,
.case-image img,
.result-image img,
.cta-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.page {
  width: 100%;
  overflow: clip;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin-inline: auto;
  padding-inline: 24px;
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 800ms var(--ease-editorial), transform 800ms var(--ease-editorial);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ---------------------------------------------------------------- Header */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  padding-block: 20px;
  transition: background 400ms var(--ease-editorial), box-shadow 400ms var(--ease-editorial), backdrop-filter 400ms;
}

.site-header--scrolled {
  background: rgb(239 238 234 / 82%);
  box-shadow: 0 1px 0 var(--hairline);
  backdrop-filter: blur(14px);
}

.header-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.wordmark {
  color: var(--ink);
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}

.wordmark span {
  color: var(--crimson);
}

.nav-pill {
  display: none;
  align-items: center;
  gap: 28px;
  padding: 10px 25px;
  border: 1px solid var(--hairline);
  border-radius: 999px;
  background: rgb(35 40 37 / 6%);
  backdrop-filter: blur(8px);
}

.nav-pill a {
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: opacity 200ms;
}

.nav-pill a:hover {
  opacity: 0.55;
}

.header-cta,
.footer-pill {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  padding: 8px 8px 8px 19px;
  border-radius: 999px;
  background: rgb(35 40 37 / 8%);
  color: var(--ink);
  font-size: 13px;
  font-weight: 750;
  text-decoration: none;
  transition: background 300ms, color 300ms;
}

.arrow-circle {
  display: grid;
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  transition: background 300ms, transform 300ms var(--ease-editorial);
}

.arrow-circle svg {
  color: white;
}

.header-cta:hover {
  background: var(--ink);
  color: white;
}

.header-cta:hover .arrow-circle {
  background: white;
}

.header-cta:hover .arrow-circle svg {
  color: var(--ink);
}

/* ------------------------------------------------------------------ Hero */

.hero {
  padding: 176px 0 74px;
  background: var(--paper);
}

.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.availability {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 15px;
  border: 1px solid var(--hairline);
  border-radius: 999px;
  background: rgb(255 255 255 / 62%);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.availability-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--jade);
  animation: pulse 1.8s ease-in-out infinite;
}

.hero-title {
  max-width: 18ch;
  margin: 31px 0 0;
  color: var(--ink);
  font-size: clamp(40px, 6.5vw, 72px);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.04;
  text-wrap: balance;
}

.hero-sticker {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin: 0 0.18em;
  padding: 0.22em 0.52em;
  border-radius: 0.46em;
  vertical-align: middle;
  background: var(--ink);
  box-shadow: 0 14px 30px -10px rgb(35 40 37 / 50%);
  transform: rotate(2deg);
}

.hero-sticker span {
  display: block;
  width: 0.58em;
  height: 0.58em;
  border-radius: 0.16em;
  background: var(--crimson);
  transform: rotate(12deg);
}

.hero-sticker span:nth-child(2) {
  background: var(--jade);
  transform: rotate(-12deg);
}

.hero-sticker span:nth-child(3) {
  background: var(--sun);
  transform: rotate(6deg);
}

.hero-subtitle {
  max-width: 44ch;
  margin: 26px 0 0;
  color: var(--muted-ink);
  font-size: clamp(17px, 2.2vw, 21px);
  line-height: 1.6;
  text-wrap: pretty;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 25px;
  margin-top: 40px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  border-radius: 999px;
  font-weight: 750;
  text-decoration: none;
  transition: transform 300ms var(--ease-editorial), background 300ms;
}

.button--primary {
  padding: 9px 9px 9px 29px;
  background: var(--crimson);
  box-shadow: 0 16px 34px -12px rgb(222 16 60 / 60%);
  color: white;
  font-size: 16px;
}

.button--primary:hover {
  transform: scale(1.05);
}

.arrow-circle--light {
  width: 40px;
  height: 40px;
  background: rgb(255 255 255 / 22%);
}

.social-proof {
  display: flex;
  align-items: center;
  gap: 15px;
}

.proof-avatars {
  display: flex;
}

.proof-avatars span {
  display: grid;
  width: 47px;
  height: 47px;
  margin-left: -12px;
  place-items: center;
  border: 4px solid var(--paper);
  border-radius: 50%;
  background: var(--ink);
  color: white;
  font-size: 13px;
  font-weight: 800;
}

.proof-avatars span:first-child {
  margin-left: 0;
  background: var(--crimson);
}

.proof-avatars span:last-child {
  background: white;
  color: var(--ink);
}

.proof-copy {
  max-width: 230px;
  text-align: left;
}

.proof-stars,
.testimonial-stars {
  color: var(--crimson);
  font-size: 15px;
  letter-spacing: 2px;
  line-height: 1;
}

.proof-copy p {
  margin: 4px 0 0;
  font-size: 12px;
  font-weight: 750;
  line-height: 1.35;
}

.showcase {
  padding: 24px 0 64px;
  background: var(--paper);
}

.showcase-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
}

.showcase-card {
  position: relative;
  width: min(100%, 320px);
  aspect-ratio: 9 / 16;
  overflow: hidden;
  border-radius: 24px;
  background: var(--ink);
  box-shadow: 0 24px 50px -24px rgb(35 40 37 / 55%);
}

.showcase-card img {
  object-fit: cover;
  filter: grayscale(calc(1 - var(--colorize, 0)));
  transition: transform 700ms var(--ease-editorial), filter 700ms var(--ease-editorial);
}

@media (hover: hover) {
  .showcase-card:hover img {
    transform: scale(1.04);
    filter: grayscale(0);
  }
}

.showcase-scrim {
  position: absolute;
  inset: auto 0 0;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 25px;
  background: linear-gradient(to top, rgb(0 0 0 / 85%), transparent);
  color: white;
}

.showcase-scrim p {
  margin: 0 0 2px;
  color: rgb(255 255 255 / 60%);
  font-size: 11px;
  font-weight: 700;
}

.showcase-scrim strong {
  font-size: 21px;
  letter-spacing: -0.03em;
}

.showcase-icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  background: var(--crimson);
}

.showcase-icon svg {
  color: white;
}

/* -------------------------------------------------------------- Sections */

.section {
  padding-block: 96px;
  scroll-margin-top: 76px;
}

.section-heading {
  display: grid;
  grid-template-columns: 1fr;
  align-items: start;
  gap: 24px;
  margin-bottom: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--hairline);
}

.section-kicker {
  display: flex;
  align-items: center;
  gap: 14px;
}

.section-kicker > span {
  width: 44px;
  height: 1px;
  background: currentColor;
}

.section-kicker p {
  margin: 0;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.section-heading h2 {
  max-width: 18ch;
  margin: 0;
  font-size: clamp(32px, 5vw, 54px);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.04;
  text-wrap: balance;
}

.section-index {
  color: var(--muted-ink);
  font-size: 16px;
  font-weight: 650;
}

.section-heading--dark {
  border-color: var(--hairline-light);
  color: white;
}

.section-heading--dark .section-index {
  color: rgb(255 255 255 / 40%);
}

/* --------------------------------------------------------------- Why grid */

.expertise {
  background: white;
}

.expertise-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.expertise-card {
  position: relative;
  display: flex;
  min-height: 320px;
  flex-direction: column;
  justify-content: space-between;
  gap: 32px;
  overflow: hidden;
  padding: 40px;
  border-radius: 24px;
  background: var(--paper);
}

.card-number {
  color: var(--muted-ink);
  font-size: 13px;
  font-weight: 750;
}

.expertise-copy {
  position: relative;
  z-index: 1;
}

.expertise-copy h3 {
  max-width: 17ch;
  margin: 0 0 13px;
  font-size: clamp(24px, 3vw, 32px);
  letter-spacing: -0.03em;
  line-height: 1.12;
}

.expertise-copy p {
  max-width: 39ch;
  margin: 0;
  color: var(--muted-ink);
  font-size: 16px;
  line-height: 1.65;
}

.card-decoration {
  position: absolute;
  right: -24px;
  bottom: -24px;
  transition: transform 500ms var(--ease-editorial);
}

.card-decoration--tiles {
  display: flex;
  gap: 14px;
  transform: rotate(12deg);
}

.card-decoration--tiles span {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  background: white;
  box-shadow: 0 10px 20px -8px rgb(0 0 0 / 15%);
}

.expertise-card:hover .card-decoration--tiles {
  transform: rotate(0deg);
}

.card-decoration--dot {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--crimson);
}

.expertise-card:hover .card-decoration--dot {
  transform: scale(1.15);
}

.card-decoration--pill {
  width: 112px;
  height: 54px;
  border-radius: 999px;
  background: var(--ink);
}

.expertise-card:hover .card-decoration--pill {
  transform: translateX(-16px);
}

.card-decoration--ring {
  width: 128px;
  height: 128px;
  border: 1px solid rgb(54 163 121 / 35%);
  border-radius: 50%;
  background: rgb(54 163 121 / 18%);
}

.expertise-card:hover .card-decoration--ring {
  transform: scale(1.12);
}

/* -------------------------------------------------------- Feature blocks */

.results,
.faq {
  background: var(--ink);
  color: white;
}

.results-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.result-stat,
.result-wide,
.result-platforms {
  border: 1px solid var(--hairline-light);
  border-radius: 24px;
  background: rgb(255 255 255 / 4%);
}

.result-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 42px 32px;
  text-align: center;
}

.result-stat strong {
  font-size: clamp(48px, 8vw, 72px);
  letter-spacing: -0.06em;
  line-height: 1;
}

.result-stat p,
.result-wide p,
.result-platforms p {
  margin: 0;
  color: rgb(255 255 255 / 60%);
  font-size: 16px;
  line-height: 1.6;
}

.result-stat p {
  max-width: 25ch;
}

.result-wide {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding: 40px;
}

.result-wide h3,
.result-platforms h3 {
  margin: 0 0 12px;
  font-size: 27px;
  letter-spacing: -0.03em;
}

.result-image {
  position: relative;
  min-height: 210px;
  overflow: hidden;
  border-radius: 16px;
}

.result-image img {
  object-fit: cover;
  filter: grayscale(1);
  transition: filter 700ms var(--ease-editorial);
}

/* Colorize the bento image on hover, matching the hero showcase cards. */
@media (hover: hover) {
  .result-image:hover img {
    filter: grayscale(0);
  }
}

.result-platforms {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px;
}

.platform-icons {
  display: flex;
  margin-bottom: 25px;
}

.platform-icons span {
  display: grid;
  width: 49px;
  height: 49px;
  margin-left: -8px;
  place-items: center;
  border: 3px solid var(--ink);
  border-radius: 50%;
  background: white;
  color: var(--ink);
}

.platform-icons span:first-child {
  margin-left: 0;
  background: var(--crimson);
  color: white;
}

.platform-icons svg {
  width: 22px;
  height: 22px;
}

/* -------------------------------------------------------- Industries tabs */

.cases,
.pricing {
  background: white;
}

.cases-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}

.case-image {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 24px;
  background: var(--paper);
}

.case-image img {
  object-fit: cover;
  transition: transform 700ms var(--ease-editorial);
}

.case-card:hover .case-image img {
  transform: scale(1.05);
}

.case-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgb(0 0 0 / 25%);
  opacity: 0;
  transition: opacity 350ms;
}

.case-card:hover .case-overlay {
  opacity: 1;
}

.case-overlay > span {
  display: grid;
  width: 72px;
  height: 72px;
  place-items: center;
  border-radius: 50%;
  background: white;
  color: var(--ink);
}

.case-overlay svg {
  width: 26px;
  height: 26px;
}

.case-copy {
  margin-top: 28px;
}

.case-title-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}

.case-title-row p {
  margin: 0 0 8px;
  color: var(--muted-ink);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.case-title-row h3 {
  max-width: 23ch;
  margin: 0;
  font-size: clamp(24px, 3vw, 33px);
  letter-spacing: -0.035em;
  line-height: 1.12;
}

.case-arrow {
  display: grid;
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid var(--hairline);
  border-radius: 50%;
  transition: background 300ms, color 300ms, border-color 300ms;
}

.case-arrow svg {
  width: 22px;
  height: 22px;
}

.case-card:hover .case-arrow {
  border-color: var(--crimson);
  background: var(--crimson);
  color: white;
}

.case-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 25px 0 0;
  padding-top: 22px;
  border-top: 1px solid var(--hairline);
}

.case-stats dt {
  margin-bottom: 5px;
  color: var(--muted-ink);
  font-size: 11px;
  font-weight: 750;
}

.case-stats dd {
  margin: 0;
  color: var(--crimson);
  font-size: clamp(16px, 2.1vw, 23px);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.industry-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 9px;
  margin-top: 52px;
}

.industry-chips span {
  padding: 9px 16px;
  border: 1px solid var(--hairline);
  border-radius: 999px;
  color: var(--muted-ink);
  font-size: 12px;
  font-weight: 700;
}

/* ----------------------------------------------------------- Steps grid */

.process {
  background: var(--paper);
}

.process-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.process-card {
  position: relative;
  min-height: 315px;
  overflow: hidden;
  padding: 34px;
  border: 1px solid var(--hairline);
  border-radius: 24px;
  background: rgb(255 255 255 / 48%);
}

.process-number {
  color: var(--muted-ink);
  font-size: 12px;
  font-weight: 800;
}

.process-icon {
  display: grid;
  width: 64px;
  height: 64px;
  margin: 52px 0 25px;
  place-items: center;
  border-radius: 18px;
  background: var(--ink);
  color: white;
  transform: rotate(-3deg);
  transition: transform 400ms var(--ease-editorial), background 400ms;
}

.process-icon svg {
  width: 30px;
  height: 30px;
}

.process-card:hover .process-icon {
  background: var(--crimson);
  transform: rotate(3deg) scale(1.08);
}

.process-card h3 {
  margin: 0 0 9px;
  font-size: 27px;
  letter-spacing: -0.03em;
}

.process-card p {
  margin: 0;
  color: var(--muted-ink);
  font-size: 15px;
  line-height: 1.6;
}

/* -------------------------------------------------------------------- FAQ */

.faq-list {
  max-width: 896px;
  margin-inline: auto;
}

.faq-item {
  border-bottom: 1px solid var(--hairline-light);
}

.faq-item > button {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 0;
  border: 0;
  background: none;
  color: white;
  cursor: pointer;
  font: inherit;
  text-align: left;
}

.faq-item > button > span:first-child {
  font-size: clamp(20px, 3vw, 27px);
  font-weight: 550;
  letter-spacing: -0.025em;
}

.faq-icon {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid var(--hairline-light);
  border-radius: 50%;
  transition: background 300ms, border-color 300ms;
}

.faq-icon svg {
  width: 20px;
  height: 20px;
  transition: transform 350ms var(--ease-editorial);
}

.faq-item > button:hover .faq-icon {
  background: white;
  color: var(--ink);
}

.faq-item--open .faq-icon {
  border-color: var(--crimson);
  background: var(--crimson);
  color: white;
}

.faq-item--open .faq-icon svg {
  transform: rotate(45deg);
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 400ms var(--ease-editorial);
}

.faq-answer > div {
  overflow: hidden;
}

.faq-item--open .faq-answer {
  grid-template-rows: 1fr;
}

.faq-answer p {
  max-width: 57ch;
  margin: 0;
  padding-bottom: 29px;
  color: rgb(255 255 255 / 60%);
  font-size: 17px;
  line-height: 1.65;
}

/* --------------------------------------------------------------- Pricing */

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.price-card {
  position: relative;
  display: flex;
  min-height: 565px;
  flex-direction: column;
  gap: 22px;
  padding: 37px;
  border-radius: 28px;
  background: var(--paper);
}

.price-card--highlighted {
  background: var(--ink);
  color: white;
}

.price-badge {
  position: absolute;
  top: 22px;
  right: 27px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--crimson);
  color: white;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  animation: pulse 2s ease-in-out infinite;
}

.price-card h3 {
  margin: 0;
  font-size: 25px;
  letter-spacing: -0.03em;
}

.price-description {
  min-height: 52px;
  margin: 0;
  color: var(--muted-ink);
  line-height: 1.6;
}

.price-card--highlighted .price-description {
  color: rgb(255 255 255 / 60%);
}

.price {
  display: flex;
  align-items: flex-end;
  gap: 7px;
  margin: 3px 0 0;
}

.price strong {
  font-size: clamp(38px, 6vw, 55px);
  letter-spacing: -0.055em;
  line-height: 1;
}

.price span {
  color: var(--muted-ink);
  font-size: 14px;
}

.price-card--highlighted .price span {
  color: rgb(255 255 255 / 45%);
}

.price-card ul {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin: 0;
  padding: 23px 0 0;
  border-top: 1px solid var(--hairline);
  list-style: none;
}

.price-card--highlighted ul {
  border-color: var(--hairline-light);
}

.price-card li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted-ink);
  font-size: 14px;
}

.price-card--highlighted li {
  color: rgb(255 255 255 / 70%);
}

.price-card li svg {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  color: var(--crimson);
}

.price-button {
  margin-top: auto;
  padding: 15px 20px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--ink);
  color: white;
  font-size: 14px;
  font-weight: 750;
  text-align: center;
  text-decoration: none;
  transition: background 300ms, color 300ms, transform 300ms var(--ease-editorial);
}

.price-button:hover {
  border-color: var(--crimson);
  background: var(--crimson);
}

.price-button--red {
  border-color: var(--crimson);
  background: var(--crimson);
}

.price-button--red:hover {
  transform: scale(1.04);
}

.pricing-note {
  margin: 24px 0 0;
  color: var(--muted-ink);
  font-size: 12px;
  text-align: center;
}

/* ---------------------------------------------------------- Testimonials */

.testimonials {
  overflow: hidden;
  background: var(--paper);
}

.testimonial-marquee {
  overflow: hidden;
  margin-top: 40px;
  mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}

.testimonial-track {
  display: flex;
  width: max-content;
  gap: 24px;
  animation: marquee 42s linear infinite;
}

.testimonial-marquee:hover .testimonial-track {
  animation-play-state: paused;
}

.testimonial-card {
  display: flex;
  width: min(420px, 84vw);
  flex: 0 0 auto;
  flex-direction: column;
  gap: 22px;
  margin: 0;
  padding: 38px;
  border-radius: 28px;
  background: white;
  box-shadow: 0 18px 40px -28px rgb(35 40 37 / 30%);
}

.testimonial-card blockquote {
  margin: 0;
  font-size: 20px;
  font-weight: 520;
  letter-spacing: -0.015em;
  line-height: 1.48;
}

.testimonial-card figcaption {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: auto;
}

.testimonial-avatar {
  display: grid;
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: white;
  font-size: 12px;
  font-weight: 800;
}

.testimonial-card figcaption > span:last-child {
  display: flex;
  flex-direction: column;
}

.testimonial-card strong {
  font-size: 14px;
}

.testimonial-card small {
  margin-top: 2px;
  color: var(--muted-ink);
  font-size: 12px;
}

/* --------------------------------------------------------------- Final CTA */

.final-cta {
  padding: 80px 0 96px;
  background: white;
  scroll-margin-top: 76px;
}

.cta-panel {
  position: relative;
  display: flex;
  overflow: hidden;
  flex-direction: column;
  border-radius: 40px;
  background: var(--paper);
}

.cta-copy {
  position: relative;
  z-index: 2;
  padding: 48px 32px;
}

.cta-copy h2 {
  max-width: 12ch;
  margin: 0;
  font-size: clamp(36px, 6vw, 64px);
  letter-spacing: -0.05em;
  line-height: 1.04;
}

.cta-copy p {
  max-width: 40ch;
  margin: 22px 0 0;
  color: var(--muted-ink);
  font-size: 17px;
  line-height: 1.65;
}

.cta-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  margin-top: 31px;
}

.cta-actions .button--primary {
  padding: 16px 28px;
}

.button--secondary {
  padding: 15px 28px;
  border: 1px solid var(--hairline);
  background: white;
  color: var(--ink);
}

.button--secondary:hover {
  background: var(--ink);
  color: white;
}

.cta-image {
  position: relative;
  height: 280px;
}

.cta-image img {
  object-fit: cover;
  filter: grayscale(1);
  transition: filter 900ms var(--ease-editorial);
}

.cta-panel:hover .cta-image img {
  filter: grayscale(0);
}

.cta-image > span {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, var(--paper), rgb(239 238 234 / 15%));
}

/* ---------------------------------------------------------------- Footer */

.site-footer {
  padding: 80px 0 40px;
  background: var(--ink);
  color: white;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  margin-bottom: 64px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 32px;
}

.footer-brand .wordmark {
  color: white;
  font-size: 28px;
}

.footer-pill {
  background: rgb(255 255 255 / 10%);
  color: white;
}

.footer-pill .arrow-circle {
  background: white;
}

.footer-pill .arrow-circle svg {
  color: var(--ink);
}

.footer-pill:hover {
  background: white;
  color: var(--ink);
}

.footer-pill:hover .arrow-circle {
  background: var(--crimson);
}

.footer-pill:hover .arrow-circle svg {
  color: white;
}

.footer-column h2 {
  margin: 0 0 20px;
  font-size: 20px;
  letter-spacing: -0.02em;
}

.footer-column > a,
.footer-column > p,
.footer-links a {
  color: rgb(255 255 255 / 60%);
  font-size: 14px;
  text-decoration: none;
}

.footer-column > p {
  margin: 10px 0 0;
}

.footer-column a:hover,
.footer-links a:hover {
  color: white;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 24px;
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 31px;
  border-top: 1px solid var(--hairline-light);
}

.footer-bottom p {
  margin: 0;
  color: rgb(255 255 255 / 40%);
  font-size: 12px;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.82); }
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(calc(-50% - 12px)); }
}

/* ------------------------------------------- M3 window size class: medium */

@media (min-width: 600px) {
  .container {
    padding-inline: 32px;
  }

  .expertise-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .cta-actions {
    flex-direction: row;
  }

  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

/* ----------------------------------------- M3 window size class: expanded */

@media (min-width: 840px) {
  .nav-pill {
    display: flex;
  }

  .section-heading {
    grid-template-columns: auto 1fr auto;
    align-items: end;
    gap: 40px;
  }

  .results-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .result-wide {
    grid-column: span 2;
    flex-direction: row;
    align-items: center;
  }

  .result-wide > div {
    flex: 1;
  }

  .result-image {
    width: 50%;
  }

  .cases-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pricing-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1.25fr 1fr 1fr;
    gap: 64px;
  }
}

@media (min-width: 920px) {
  .hero {
    padding-top: 208px;
  }

  .showcase-grid {
    gap: 32px;
  }

  .showcase-card--raised {
    transform: translateY(-36px);
  }

  .showcase-card--raised.is-visible {
    transform: translateY(-36px);
  }

  .cta-panel {
    min-height: 520px;
    flex-direction: row;
    align-items: center;
  }

  .cta-copy {
    width: 60%;
    padding: 72px 64px;
  }

  .cta-image {
    position: absolute;
    inset: 0 0 0 auto;
    width: 50%;
    height: 100%;
  }

  .cta-image > span {
    background: linear-gradient(to right, var(--paper) 8%, transparent 60%);
  }
}

@media (max-width: 599px) {
  .header-cta > span:first-child {
    display: none;
  }

  .header-cta {
    padding: 6px;
  }

  .hero {
    padding-top: 144px;
  }

  .social-proof {
    align-items: flex-start;
  }

  .expertise-card,
  .result-wide,
  .result-platforms,
  .price-card {
    padding: 30px;
  }

  .case-stats {
    gap: 8px;
  }

  .case-stats dd {
    font-size: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .showcase-card--raised,
  .showcase-card--raised.is-visible {
    transform: none;
  }
}
