/* =========================================================================
   combineagency.ro: pagina de identitate a Combine.
   Tokenii, fonturile, grila de linii si butoanele sunt copiate din
   site-prezentare-combine (src/index.css, styles/grid.css, styles/buttons.css,
   DESIGN-SYSTEM.md). Nu minta valori noi: schimbarea unui token se face intai
   in site-prezentare-combine, apoi aici.
   ========================================================================= */

@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('fonts/geist-var.woff2') format('woff2-variations');
}
@font-face {
  font-family: 'Schibsted Grotesk';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url('fonts/schibsted-grotesk-var.woff2') format('woff2-variations');
}

:root {
  color-scheme: light;

  --font-display: "Schibsted Grotesk", "Segoe UI", system-ui, sans-serif;
  --font-sans: "Geist", "Segoe UI", system-ui, -apple-system, sans-serif;

  /* ELECTRIC · AZURE · INK (rampele folosite aici) */
  --color-electric-100: oklch(0.93 0.045 265);
  --color-electric-300: oklch(0.75 0.160 265);
  --color-electric-500: oklch(0.54 0.270 265);
  --color-electric-600: oklch(0.47 0.270 266);
  --color-azure-100: oklch(0.94 0.050 220);
  --color-azure-400: oklch(0.82 0.130 220);
  --color-azure-500: oklch(0.80 0.140 222);
  --color-ink-50:  oklch(0.985 0.001 265);
  --color-ink-200: oklch(0.900 0.003 265);
  --color-ink-300: oklch(0.820 0.004 265);
  --color-ink-600: oklch(0.500 0.006 265);
  --color-ink-700: oklch(0.440 0.006 265);
  --color-ink-950: oklch(0.200 0.005 265);

  /* Radius: 10px pentru tot, 14px pentru butoane */
  --radius-card: 10px;
  --radius-frame: 10px;
  --radius-button: 14px;

  /* Roluri semantice (tema luminoasa) */
  --canvas: oklch(1 0 0);
  --surface: var(--color-ink-50);
  --elevated: oklch(1 0 0);
  --fg: var(--color-ink-950);
  --fg-muted: var(--color-ink-700);
  --fg-subtle: var(--color-ink-600);
  --border: var(--color-ink-200);
  --border-muted: color-mix(in oklab, var(--color-ink-950) 8%, var(--canvas));
  --shadow-frame: 0 1px 2px rgb(14 14 16 / 0.05), 0 8px 24px -12px rgb(14 14 16 / 0.16);
  --shadow-btn-dark: 0 1px 2px rgb(14 14 16 / 0.2), 0 4px 10px -4px rgb(14 14 16 / 0.3), inset 0 1px 0 rgb(255 255 255 / 0.08);
  --shadow-btn-soft: 0 1px 2px rgb(14 14 16 / 0.05), 0 3px 8px -4px rgb(14 14 16 / 0.12);
  --brand: var(--color-electric-500);
  --focus: var(--color-electric-500);
  --gradient-brand: linear-gradient(150deg, var(--color-electric-500) 0%, var(--color-azure-500) 100%);
  --gradient-soft: linear-gradient(150deg, var(--color-electric-100) 0%, var(--color-azure-100) 100%);

  /* Miscare: patru durate, trei curbe */
  --motion-press: 120ms;
  --motion-text: 160ms;
  --hover-dur: 0.25s;
  --motion-move: 400ms;
  --hover-ease: ease-in-out;
  --ease-arrive: cubic-bezier(0.165, 0.84, 0.44, 1);

  /* Layout */
  --gutter: clamp(1.5rem, 5vw, 2.5rem);
  --page-max: 1420px;
  --measure: 42.5rem;
  --section-sm: clamp(4rem, 8vw, 6rem);
  --rail-x: max(var(--gutter), calc((100% - var(--page-max)) / 2));
  --rail-inset: var(--gutter);
  --band: clamp(4rem, 7vw, 5.5rem);
  --strip: clamp(2rem, 3.5vw, 3rem);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  overflow-x: clip;
}
html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
body {
  margin: 0;
  font-family: var(--font-sans);
  background-color: var(--canvas);
  color: var(--fg);
  font-weight: 400;
  line-height: 1.65;
  font-variant-ligatures: none;
  font-feature-settings: "liga" 0, "clig" 0, "dlig" 0;
}
h1, h2, h3 {
  margin: 0;
  font-family: var(--font-display);
  color: var(--fg);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
p {
  margin: 0;
}
::selection {
  background-color: var(--color-electric-500);
  color: oklch(1 0 0);
}
:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}
a {
  color: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---- Layout ------------------------------------------------------------- */
.container-page {
  width: 100%;
  max-width: var(--page-max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.frame {
  margin: var(--gutter);
  border-radius: var(--radius-frame);
  overflow: hidden;
}
.frame-muted {
  border: 1px solid var(--border-muted);
  box-shadow: var(--shadow-frame);
}

/* ---- Grila de linii: sine, cusaturi, benzi ------------------------------- */
.page-grid {
  position: relative;
}
@media (max-width: 767px) {
  .page-grid {
    --rail-inset: 1rem;
  }
}
.page-grid::before {
  content: "";
  position: absolute;
  inset: 0 var(--rail-x);
  z-index: 20;
  border-inline: 1px solid var(--border-muted);
  pointer-events: none;
}
.page-grid .frame {
  position: relative;
  z-index: 30;
}
.page-grid :is(section, footer):not(.frame) > .container-page {
  padding-inline: calc(var(--rail-x) - max(0px, (100% - var(--page-max)) / 2) + var(--rail-inset));
}

.seam {
  position: relative;
  border-top: 1px solid var(--border-muted);
}
.seam--strip {
  height: var(--strip);
  padding-inline: var(--rail-x);
  border-bottom: 1px solid var(--border-muted);
  background: repeating-linear-gradient(
      45deg,
      transparent 0 7px,
      var(--border-muted) 7px 8px
    )
    content-box;
}
.seam::before,
.seam--strip::after {
  content: "";
  position: absolute;
  top: -6px;
  left: calc(var(--rail-x) - 5px);
  right: calc(var(--rail-x) - 5px);
  z-index: 21;
  height: 11px;
  pointer-events: none;
  background:
    linear-gradient(var(--fg-subtle), var(--fg-subtle)) left 5px top 0 / 1px 11px no-repeat,
    linear-gradient(var(--fg-subtle), var(--fg-subtle)) left 0 top 5px / 11px 1px no-repeat,
    linear-gradient(var(--fg-subtle), var(--fg-subtle)) right 5px top 0 / 1px 11px no-repeat,
    linear-gradient(var(--fg-subtle), var(--fg-subtle)) right 0 top 5px / 11px 1px no-repeat;
}
.seam--strip::after {
  top: calc(100% - 5px);
}

/* ---- Kicker ------------------------------------------------------------- */
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.8125rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--fg-subtle);
}
.kicker::before {
  content: "";
  width: 2.25rem;
  height: 1px;
  background: currentColor;
  opacity: 0.55;
}

/* ---- Butoane ------------------------------------------------------------ */

.btn-white,
.btn-outline {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: 0.375rem;
  height: 2.25rem;
  padding: 0 1.25rem;
  border-radius: var(--radius-button);
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.01em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: scale var(--motion-press) var(--ease-arrive);
}
.btn-white {
  border: 0;
  background: oklch(1 0 0);
  box-shadow: var(--shadow-btn-light);
  color: var(--color-ink-950);
}
.btn-outline {
  border: 1px solid var(--border-muted);
  box-shadow: var(--shadow-btn-soft);
  background: var(--canvas);
  color: var(--fg);
}
.btn-white::before,
.btn-outline::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  opacity: 0;
  transition: opacity var(--hover-dur) var(--hover-ease);
}
.btn-white::before,
.btn-outline::before {
  background: color-mix(in oklab, var(--color-ink-950) 5%, transparent);
}
@media (hover: hover) and (pointer: fine) {
  .btn-white:hover::before,
  .btn-outline:hover::before {
    opacity: 1;
  }
}
@media (prefers-reduced-motion: no-preference) {
  .btn-white:active,
  .btn-outline:active {
    scale: 0.97;
  }
}
.btn-white svg,
.btn-outline svg {
  width: 0.875rem;
  height: 0.875rem;
  flex: none;
}

/* Linkuri: culoarea se schimba in 160ms, fara animatie de subliniere */
.link-fade {
  transition: color var(--motion-text) var(--hover-ease);
}
.link-ghost {
  color: #fff;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
}
.link-ghost:hover {
  color: var(--color-ink-300);
}
.link-inline {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.link-inline:hover {
  color: var(--fg);
}

/* ---- Sectiuni ----------------------------------------------------------- */
.band {
  padding-block: var(--band);
}
.section-head {
  max-width: var(--measure);
}
.section-head h2 {
  margin-top: 1rem;
  /* text-display-sm pe mobil, text-display de la md (index.css) */
  font-size: 2.25rem;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
@media (min-width: 768px) {
  .section-head h2 {
    font-size: 3rem;
    line-height: 1.05;
    letter-spacing: -0.025em;
  }
}
.section-head p {
  margin-top: 1.25rem;
  color: var(--fg-muted);
  font-size: 1.0625rem;
}
.section-head p + p {
  margin-top: 1rem;
}


/* Identitate */
.who {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
@media (max-width: 899px) {
  .who {
    grid-template-columns: minmax(0, 1fr);
  }
}
.card {
  border-radius: var(--radius-card);
  background: var(--elevated);
  padding: 0.5rem 1.5rem;
}
.card--brand {
  position: relative;
  overflow: hidden;
}
.card--brand::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: var(--gradient-brand);
}
.facts {
  margin: 0;
}
.facts > div {
  display: grid;
  grid-template-columns: minmax(7rem, 0.38fr) minmax(0, 1fr);
  gap: 0.25rem 1.5rem;
  padding: 1rem 0;
}
.facts > div + div {
  border-top: 1px solid var(--border-muted);
}
.facts dt {
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--fg-subtle);
}
.facts dd {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--fg);
  overflow-wrap: anywhere;
}
@media (max-width: 479px) {
  .facts > div {
    grid-template-columns: minmax(0, 1fr);
  }
}

.optout {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem 2rem;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border-radius: var(--radius-card);
  background: var(--elevated);
}
.optout h2 {
  font-size: 2.25rem;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.optout p {
  margin-top: 0.75rem;
  max-width: 34rem;
  color: var(--fg-muted);
}

/* ---- Footer ------------------------------------------------------------- */
.footer__logo {
  display: block;
  max-width: 100%;
  width: auto;
  height: 2.25rem;
}
.footer__name {
  margin-top: 0.25rem;
  font-size: 0.875rem;
  color: var(--fg-muted);
}
.footer__links {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: var(--fg-muted);
}
.footer__links a {
  text-decoration: none;
}
.footer__links a:hover {
  color: var(--fg);
}
.footer__legal {
  width: 100%;
  max-width: 68rem;
  margin-inline: auto;
  font-size: 0.875rem;
  color: var(--fg-muted);
}

/* ---- Intrarea in pagina: un singur fel, 12px si 400ms --------------------- */
.reveal-pending {
  opacity: 0;
  transform: translateY(12px);
}
.reveal-in {
  transition: opacity var(--motion-move) var(--ease-arrive), transform var(--motion-move) var(--ease-arrive);
}
@media print {
  .reveal-pending {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ---- Tinte de atingere: 45px sub cursorul gros -------------------------- */
@media (pointer: coarse) {
  a,
  button {
    min-height: 45px;
  }
  p a {
    padding-block: 13px;
    margin-block: -13px;
  }
}
@media (max-width: 1024px) {
  footer a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }
}

/* ---- Pagina simpla: butonul spre combineai.ro si banda de inchidere ------- */
.section-head__actions {
  margin-top: 1.75rem;
}

/* =========================================================================
   Structura de pe combineai.ro: hero in coloana, linia neagra din gutter, nav in hero,
   banda de logouri, banda de inchidere. Valorile sunt cele din Hero.jsx / ClientLogos.jsx /
   CtaBand.jsx si din styles/navbar.css; nimic nou in afara lor.
   ========================================================================= */

/* Cuvantul accent: gradientul brand, capetele luminoase pe fond inchis (hero-accent din index.css) */
.text-gradient-brand {
  background-image: linear-gradient(150deg, var(--color-electric-500) 0%, var(--color-azure-500) 100%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  padding-bottom: 0.16em;
  margin-bottom: -0.16em;
}

/* ---- Butonul negru (Contact, Audit gratuit din subsol) ---- */
.btn-dark {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  height: 2.25rem;
  padding: 0 1.25rem;
  border-radius: var(--radius-button);
  background: var(--color-ink-950);
  box-shadow: var(--shadow-btn-dark);
  color: #fff;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.01em;
  text-decoration: none;
  white-space: nowrap;
  transition: scale var(--motion-press) var(--ease-arrive);
}
.btn-dark::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: hsl(0 0% 100% / 0.15);
  opacity: 0;
  transition: opacity var(--hover-dur) var(--hover-ease);
}
@media (hover: hover) and (pointer: fine) {
  .btn-dark:hover::before {
    opacity: 1;
  }
}
@media (prefers-reduced-motion: no-preference) {
  .btn-dark:active {
    scale: 0.97;
  }
}

/* ---- Hero ---- */
.hero-section {
  position: relative;
  width: 100%;
  padding: var(--gutter);
  height: max(41.5rem, calc(100svh - 10.5rem));
}
@media (min-width: 768px) {
  .hero-section {
    height: min(100dvh, 50rem);
  }
}
/* Linia neagra din gutterul de sus: incape exact in gutter, cadrul o acopera cu colturile lui */
.hero-topline {
  position: absolute;
  top: 0;
  left: var(--rail-x);
  right: var(--rail-x);
  z-index: 0;
  display: flex;
  height: calc(var(--gutter) + var(--radius-frame));
  margin: 0;
  padding: 0 0.5rem calc(var(--radius-frame));
  align-items: flex-start;
  justify-content: center;
  gap: 0.375rem;
  border-radius: var(--radius-frame) var(--radius-frame) 0 0;
  background: var(--color-ink-950);
  color: #fff;
  font-size: clamp(8.5px, 2.4vw, 13px);
  font-weight: 500;
  line-height: 1;
  text-align: center;
}
.hero-topline span {
  align-self: center;
  margin-top: calc(var(--gutter) / 2 - 0.5em);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.hero-topline a {
  flex: none;
  display: inline-flex;
  align-items: center;
  align-self: center;
  margin-top: calc(var(--gutter) / 2 - 0.5em);
  gap: 0.25rem;
  color: #fff;
  text-decoration: none;
  transition: opacity var(--motion-text) var(--hover-ease);
}
.hero-topline a:hover {
  opacity: 0.8;
}
.hero-topline svg {
  width: 0.75rem;
  height: 0.75rem;
}
@media (min-width: 768px) {
  .hero-topline {
    font-size: 15px;
  }
  .hero-topline svg {
    width: 0.875rem;
    height: 0.875rem;
  }
}

.hero-frame {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  max-width: var(--page-max);
  margin-inline: auto;
  overflow: hidden;
  border-radius: var(--radius-frame);
  background: var(--color-ink-950);
  color: #fff;
}
.hero-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  /* gradientul din hero-ul anterior, gradat ca banda de inchidere: saturatie, apoi plafonul de ton */
  filter: saturate(1.3) url(#tone-rolloff);
}
@media (max-width: 767px) {
  .hero-media {
    /* portretul taie din latimea imaginii: panglica luminoasa sta in dreapta sus */
    object-position: 84% 30%;
  }
}
/* contact.so: un singur val de cerneala, 64%, peste tot cadrul */

.hero-nav {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8125rem clamp(1.25rem, 3vw, 2rem);
}
.hero-copy {
  position: relative;
  z-index: 10;
  display: flex;
  height: 100%;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 5rem 1.5rem 3rem;
  text-align: center;
}
@media (min-width: 768px) {
  .hero-copy {
    padding-block: 0;
  }
}
.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  padding: 0.25rem 0.875rem 0.25rem 0.25rem;
  border: 1px solid rgb(255 255 255 / 0.35);
  border-radius: var(--radius-card);
  background: rgb(255 255 255 / 0.2);
  box-shadow: 0 4px 20px rgb(0 0 0 / 0.08), inset 0 1px 1px rgb(255 255 255 / 0.35);
  backdrop-filter: blur(12px);
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1.5;
  white-space: nowrap;
  color: #fff;
  user-select: none;
}
.hero-pill__icon {
  display: flex;
  width: 1.25rem;
  height: 1.25rem;
  flex: none;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgb(255 255 255 / 0.25);
  box-shadow: 0 0 0 1px rgb(255 255 255 / 0.5);
}
.hero-pill__icon svg {
  width: 0.625rem;
  height: 0.625rem;
}
@media (min-width: 768px) {
  .hero-pill {
    margin-bottom: 2rem;
  }
}
.hero-copy h1 {
  max-width: 16em;
  color: #fff;
  font-size: 2rem;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.hero-accent {
  margin: 0.25rem 0 0;
  font-family: var(--font-display);
  font-size: 2rem;
  font-style: italic;
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.02em;
  padding-right: 0.12em;
  margin-right: -0.12em;
  /* pe cadrul intunecat: capetele luminoase ale gradientului (hero-accent din index.css) */
  background-image: linear-gradient(100deg, var(--color-electric-300) 0%, var(--color-azure-400) 100%);
}
@media (min-width: 768px) {
  .hero-copy h1,
  .hero-accent {
    max-width: none;
    font-size: 3.5rem;
    line-height: 1.03;
  }
}
.hero-lead {
  margin-top: 1.5rem;
  max-width: 36rem;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--color-ink-300);
}
.hero-actions {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem 1.5rem;
}

/* ---- Banda de logouri ---- */
.logos {
  position: relative;
  z-index: 10;
  padding-block: 2rem;
  background: var(--canvas);
}
@media (min-width: 768px) {
  .logos {
    padding-block: var(--gutter);
  }
}
.logos__box {
  overflow: hidden;
  border-radius: var(--radius-card);
  background: var(--elevated);
  text-align: center;
}
.logos__caption {
  margin: 0;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border-muted);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--fg-muted);
}
.logos__row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
}
.logos__row li + li {
  border-left: 1px solid var(--border-muted);
}
.logos__cell {
  display: flex;
  height: 5rem;
  align-items: center;
  justify-content: center;
  padding: 0 0.5rem;
  transition: background-color var(--hover-dur) var(--hover-ease);
}
.logos__cell:hover {
  background: var(--surface);
}
.logos__cell img {
  width: auto;
  max-width: none;
}
.logo-gtcad {
  height: 1.5rem;
}
.logo-kineto {
  height: 1.75rem;
}
.logo-nell {
  height: 1.125rem;
}
@media (min-width: 768px) {
  .logos__cell {
    padding: 0 2rem;
  }
  .logo-gtcad {
    height: 2.25rem;
  }
  .logo-kineto {
    height: 2.5rem;
  }
  .logo-nell {
    height: 2rem;
  }
}

/* ---- Cartea fondatorului ---- */
.founder {
  border-radius: var(--radius-card);
  background: var(--elevated);
  padding: 1.5rem;
}
.founder__head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.founder__photo {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  object-fit: cover;
}
.founder__name {
  margin: 0;
  font-weight: 600;
  line-height: 1.3;
}
.founder__role {
  margin: 0;
  font-size: 0.875rem;
  color: var(--fg-subtle);
}
.founder .facts {
  margin-top: 1rem;
}
.founder .btn-dark {
  margin-top: 0.5rem;
}

/* ---- Banda de inchidere ---- */
.cta-section {
  position: relative;
  padding: var(--gutter);
}
.cta-frame {
  position: relative;
  max-width: var(--page-max);
  margin-inline: auto;
  overflow: hidden;
  border-radius: var(--radius-frame);
  background: var(--color-ink-950);
  color: #fff;
}
.cta-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.3) url(#tone-rolloff);
}
.cta-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: clamp(3rem, 8vw, 5.5rem) var(--gutter);
  text-align: center;
}
.cta-inner h2 {
  max-width: 20ch;
  color: #fff;
  font-size: 2.25rem;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
@media (min-width: 768px) {
  .cta-inner h2 {
    font-size: 3rem;
    line-height: 1.05;
    letter-spacing: -0.025em;
  }
}
.cta-inner p {
  margin-top: 1.25rem;
  max-width: 32rem;
  font-size: 1.0625rem;
  color: var(--color-ink-300);
}
.cta-inner .btn-white {
  margin-top: 2rem;
}

/* ---- Subsol: marca, navigare, contact ---- */
.footer__grid {
  display: grid;
  width: 100%;
  max-width: 68rem;
  margin-inline: auto;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr) minmax(0, 1fr);
  gap: 3rem;
}
@media (max-width: 767px) {
  .footer__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
  }
}
.footer__head {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-muted);
}
.footer__links {
  margin: 1.25rem 0 0;
}
.footer__cta {
  margin-top: 1.75rem;
}
.footer__bottom {
  padding-block: 2rem;
}
.footer__bottom .footer__legal {
  margin-inline: auto;
}

.page-grid .grid-over {
  position: relative;
  z-index: 30;
}
.footer__logo + .footer__name {
  margin-top: 1.25rem;
}

/* =========================================================================
   Navigare ca pe combineai.ro (styles/navbar.css): aceleasi pilule negre in hero si in header,
   CTA alb in hero si negru in header, cu cercul de brand care se extinde la hover.
   ========================================================================= */
:root {
  --color-logo-blue: oklch(0.72 0.16 240);
}
.nav-logo {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  text-decoration: none;
}
.nav-logo img {
  display: block;
  width: auto;
  height: 1.625rem;
  user-select: none;
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-link {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  height: 36px;
  padding: 0 20px;
  border-radius: var(--radius-button);
  background: var(--color-ink-950);
  box-shadow: var(--shadow-btn-dark);
  color: #fff;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.01em;
  text-decoration: none;
  white-space: nowrap;
  transition: scale var(--motion-press) var(--ease-arrive);
}
.nav-link::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: hsl(0 0% 100% / 0.15);
  opacity: 0;
  transition: opacity var(--hover-dur) var(--hover-ease);
}
@media (hover: hover) and (pointer: fine) {
  .nav-link:hover::before {
    opacity: 1;
  }
}
@media (prefers-reduced-motion: no-preference) {
  .nav-link:active,
  .nav-cta:active {
    scale: 0.97;
  }
}

.nav-cta {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  padding: 0 20px 0 40px;
  overflow: hidden;
  border: 0;
  border-radius: var(--radius-button);
  box-shadow: var(--shadow-btn-dark);
  background-color: #fff;
  color: var(--color-ink-950);
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.01em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: padding 0.5s ease, color 0.2s ease, background-color 0.2s ease, scale var(--motion-press) var(--ease-arrive);
}
.nav-cta svg {
  width: 15px;
  height: 15px;
}
.nav-cta__fill {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--gradient-brand);
  clip-path: circle(0% at calc(100% - 18px) 50%);
  transition: clip-path 0.55s cubic-bezier(0.77, 0, 0.175, 1);
}
.nav-cta__label {
  position: relative;
  z-index: 1;
}
.nav-cta__icon {
  position: absolute;
  z-index: 1;
  left: 14px;
  top: 50%;
  display: inline-flex;
  color: var(--color-electric-500);
  transform: translateY(-50%);
  transition: opacity 0.4s ease, transform 0.5s cubic-bezier(0.77, 0, 0.175, 1);
}
.nav-cta__chip {
  position: absolute;
  z-index: 2;
  right: 5px;
  top: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #fff;
  color: var(--color-electric-500);
  opacity: 0;
  transform: translateY(-50%) scale(0);
  transition: opacity 0.4s ease, transform 0.5s cubic-bezier(0.77, 0, 0.175, 1);
}
@media (hover: hover) and (pointer: fine) {
  .nav-cta:hover {
    padding: 0 40px 0 20px;
    color: #fff;
  }
  .nav-cta:hover .nav-cta__fill {
    clip-path: circle(140% at calc(100% - 18px) 50%);
  }
  .nav-cta:hover .nav-cta__icon {
    opacity: 0;
    transform: translate(-8px, -50%);
  }
  .nav-cta:hover .nav-cta__chip {
    opacity: 1;
    transform: translateY(-50%) scale(1);
  }
}

.hero-nav {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8125rem clamp(1.25rem, 3vw, 2rem);
}

/* Header-ul de dupa scroll: canvas la 82%, blur 14px, linie jos; logo negru, pilule negre, CTA negru cu iconita albastra a logo-ului */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  background: color-mix(in oklab, var(--canvas) 82%, transparent);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--border);
  transform: translateY(-100%);
  transition: transform var(--motion-move) var(--ease-arrive);
}
.site-header.is-on {
  transform: none;
}
.site-header__inner {
  display: flex;
  height: 62px;
  align-items: center;
  justify-content: space-between;
  padding-inline: clamp(24px, 4.5vw, 64px);
}
.site-header .nav-cta {
  background-color: var(--color-ink-950);
  color: #fff;
}
.site-header .nav-cta__icon {
  color: var(--color-logo-blue);
}
.site-header .nav-cta__chip {
  color: var(--color-ink-950);
}
@media (prefers-reduced-motion: reduce) {
  .site-header {
    transition: none;
  }
}

/* Pe telefon nu apar pilulele (ca pe combineai.ro, unde butonul mare dispare din bara) */
@media (max-width: 767px) {
  .nav-actions {
    display: none;
  }
}

/* Hover vizibil pe pastilele albe de pe fond inchis: gradientul de brand creste de unde a intrat cursorul
   (cbtn--primary din buttons.css), iar eticheta trece din negru in alb. */
.btn-white {
  --hx: 50%;
  --hy: 50%;
  transition: color 0.2s ease, scale var(--motion-press) var(--ease-arrive);
}
.btn-white::before {
  background: var(--gradient-brand);
  opacity: 1;
  clip-path: circle(0 at var(--hx) var(--hy));
  transition: clip-path 0.4s var(--ease-arrive);
}
@media (hover: hover) and (pointer: fine) {
  .btn-white:hover {
    color: #fff;
  }
  .btn-white:hover::before {
    clip-path: circle(160% at var(--hx) var(--hy));
  }
}
