@import url("https://fonts.googleapis.com/css2?family=Archivo:wght@500;600;700;800;900&family=Source+Serif+4:ital,wght@0,400;0,500;0,600;1,400;1,500;1,600&display=swap");

:root {
  --midnight: #0f172a;
  --cool-white: #f8fafc;
  --azure: #2563eb;
  --paper: #fdfcf8;
  --steel: #94a3b8;
  --ink: #1c1a17;
  --rule: rgba(15, 23, 42, 0.14);
  --font-display: "Archivo", sans-serif;
  --font-body: "Source Serif 4", serif;
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  overflow-x: clip;
}

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

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

a {
  color: inherit;
  text-decoration: none;
}

::selection {
  background: var(--azure);
  color: var(--cool-white);
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
}

@media (min-width: 768px) {
  .container {
    padding: 0 48px;
  }
}

/* ---------- Grid ---------- */
.grid-12 {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
}

.col-12 {
  grid-column: span 12;
}

@media (min-width: 768px) {
  .md\:col-3 {
    grid-column: span 3;
  }
  .md\:col-4 {
    grid-column: span 4;
  }
  .md\:col-5 {
    grid-column: span 5;
  }
  .md\:col-7 {
    grid-column: span 7;
  }
  .md\:col-8 {
    grid-column: span 8;
  }
  .md\:col-9 {
    grid-column: span 9;
  }
  .md\:col-start-1 {
    grid-column-start: 1;
  }
  .md\:col-start-5 {
    grid-column-start: 5;
  }
  .md\:col-start-6 {
    grid-column-start: 6;
  }
  .md\:col-start-8 {
    grid-column-start: 8;
  }
  .md\:col-start-9 {
    grid-column-start: 9;
  }
  .md\:row-start-1 {
    grid-row-start: 1;
  }
}

/* ---------- Typography helpers ---------- */
.eyebrow {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--azure);
}

.text-balance {
  text-wrap: balance;
}

/* ---------- Manuscript margin rule ---------- */
.manuscript-rule {
  position: relative;
}

.manuscript-rule::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 1px;
  background: repeating-linear-gradient(
    to bottom,
    var(--rule) 0,
    var(--rule) 88px,
    transparent 88px,
    transparent 112px
  );
}

.paper-grain {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
}

/* ---------- Reveal animation (scroll) ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 {
  transition-delay: 0.05s;
}
.reveal-delay-2 {
  transition-delay: 0.1s;
}
.reveal-delay-3 {
  transition-delay: 0.15s;
}
.reveal-delay-4 {
  transition-delay: 0.18s;
}
.reveal-delay-5 {
  transition-delay: 0.2s;
}
.reveal-delay-6 {
  transition-delay: 0.25s;
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  border-bottom: 1px solid var(--rule);
  background: rgba(253, 252, 248, 0.9);
  backdrop-filter: blur(8px);
}

.site-header__inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

@media (min-width: 768px) {
  .site-header__inner {
    padding: 20px 48px;
  }
}

.brand {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--midnight);
}

.brand .dot {
  color: var(--azure);
  margin: 0 6px;
}

.brand .sub {
  font-family: var(--font-body);
  font-weight: 400;
  font-style: italic;
  color: var(--steel);
}

.site-nav {
  display: none;
  align-items: center;
  gap: 32px;
}

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

.site-nav a {
  position: relative;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(15, 23, 42, 0.7);
  transition: color 0.3s;
}

.site-nav a:hover {
  color: var(--midnight);
}

.site-nav a .idx {
  color: rgba(37, 99, 235, 0.6);
  margin-right: 4px;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  height: 1px;
  width: 0;
  background: var(--azure);
  transition: width 0.3s;
}

.site-nav a:hover::after {
  width: 100%;
}

.cta-book {
  display: none;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--cool-white);
  background: var(--midnight);
  padding: 10px 20px;
  transition: transform 0.3s, background 0.3s;
}

@media (min-width: 768px) {
  .cta-book {
    display: inline-block;
  }
}

.cta-book:hover {
  transform: translateY(-2px);
  background: var(--azure);
}

.burger {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 4px;
  background: none;
  border: none;
  cursor: pointer;
}

@media (min-width: 768px) {
  .burger {
    display: none;
  }
}

.burger span {
  display: block;
  height: 1.5px;
  width: 24px;
  background: var(--midnight);
  transition: transform 0.3s;
}

.burger.open span:nth-child(1) {
  transform: translateY(3.5px) rotate(45deg);
}

.burger.open span:nth-child(2) {
  transform: translateY(-3.5px) rotate(-45deg);
}

.mobile-nav {
  display: none;
  flex-direction: column;
  border-top: 1px solid var(--rule);
  background: var(--paper);
  padding: 24px;
}

.mobile-nav.open {
  display: flex;
}

@media (min-width: 768px) {
  .mobile-nav {
    display: none !important;
  }
}

.mobile-nav a {
  border-bottom: 1px solid var(--rule);
  padding: 16px 0;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--midnight);
}

.mobile-nav a:first-child {
  padding-top: 0;
}

.mobile-nav a:last-of-type {
  border-bottom: none;
}

.mobile-nav a .idx {
  color: rgba(37, 99, 235, 0.6);
  margin-right: 8px;
}

.mobile-nav .cta-book {
  display: block;
  margin-top: 24px;
  text-align: center;
  color: var(--cool-white);
  border-bottom: none;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 92vh;
  overflow-x: clip;
  border-bottom: 1px solid var(--rule);
  padding: 88px 0 48px;
}

@media (min-width: 768px) {
  .hero {
    padding: 0;
  }
}

.hero__grain {
  position: absolute;
  inset: 0;
  opacity: 0.05;
  pointer-events: none;
}

.hero__grid {
  position: relative;
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  min-height: auto;
}

@media (min-width: 768px) {
  .hero__grid {
    grid-template-columns: repeat(12, 1fr);
    min-height: 92vh;
  }
}

.hero__content {
  position: relative;
  z-index: 20;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 16px 24px 40px;
}

@media (min-width: 768px) {
  .hero__content {
    grid-column: span 8;
    padding: 112px 48px 48px;
  }
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 8.5vw, 4.2rem);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.02em;
  color: var(--midnight);
}

/* pe mobil: „Limba română,” pe primul rând, apoi câte un cuvânt pe rând */
@media (max-width: 767px) {
  .hero h1 span.line span.w {
    display: block;
    transform: none;
    opacity: 1;
    transition: none;
  }
}

@media (min-width: 768px) {
  .hero h1 {
    font-size: clamp(2.4rem, 5vw, 4.2rem);
  }
}

.hero h1 span.line {
  display: block;
  overflow: hidden;
}

.hero h1 span.line span {
  display: inline-block;
  transform: translateY(100%);
  opacity: 0;
  transition: transform 1s var(--ease), opacity 1s var(--ease);
}

.hero.loaded h1 span.line span {
  transform: translateY(0);
  opacity: 1;
}

.hero h1 .accent {
  color: var(--azure);
}

.hero__lede {
  margin-top: 24px;
  max-width: 44ch;
  font-size: 1.05rem;
  line-height: 1.65;
  color: rgba(28, 26, 23, 0.8);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.8s var(--ease) 0.85s, transform 0.8s var(--ease) 0.85s;
}

.hero__lede + .hero__lede {
  margin-top: 14px;
  max-width: 52ch;
  font-size: 0.98rem;
  line-height: 1.6;
  color: rgba(28, 26, 23, 0.72);
}

.hero.loaded .hero__lede {
  opacity: 1;
  transform: translateY(0);
}

.hero__actions {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.8s var(--ease) 1.05s, transform 0.8s var(--ease) 1.05s;
}

.hero.loaded .hero__actions {
  opacity: 1;
  transform: translateY(0);
}

.btn-primary {
  position: relative;
  overflow: hidden;
  background: var(--midnight);
  color: var(--cool-white);
  padding: 16px 32px;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  display: inline-block;
  white-space: nowrap;
}

@media (max-width: 480px) {
  .btn-primary {
    padding: 16px 18px;
    font-size: 0.74rem;
    letter-spacing: 0.03em;
  }
}

.btn-primary span {
  position: relative;
  z-index: 1;
  transition: color 0.3s;
}

.btn-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--azure);
  transform: translateX(-100%);
  transition: transform 0.4s ease-out;
  z-index: 0;
}

.btn-primary:hover::before {
  transform: translateX(0);
}

.btn-primary:hover span {
  color: var(--midnight);
}

.link-underline {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--midnight);
  text-decoration: underline;
  text-decoration-color: var(--azure);
  text-decoration-thickness: 2px;
  text-underline-offset: 8px;
  transition: opacity 0.3s;
}

.link-underline:hover {
  opacity: 0.6;
}

.hero__quote {
  position: relative;
  z-index: 30;
  margin-top: 32px;
  max-width: 420px;
  border: 1px solid var(--rule);
  background: rgba(248, 250, 252, 0.95);
  padding: 24px 28px;
  box-shadow: 0 18px 50px -20px rgba(15, 23, 42, 0.35);
  backdrop-filter: blur(4px);
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s var(--ease) 1.3s, transform 0.9s var(--ease) 1.3s;
}

.hero.loaded .hero__quote {
  opacity: 1;
  transform: translateY(0);
}

.hero__quote p:first-child {
  font-size: 1.05rem;
  font-style: italic;
  line-height: 1.4;
  color: var(--midnight);
}

.hero__quote p:last-child {
  margin-top: 12px;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--steel);
}

.hero__portrait-col {
  position: relative;
  height: auto;
}

@media (min-width: 768px) {
  .hero__portrait-col {
    grid-column: span 4;
  }
}

.hero__portrait-wrap {
  position: relative;
  margin: 32px 0;
  aspect-ratio: 3 / 4;
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 1.1s var(--ease) 0.3s, transform 1.1s var(--ease) 0.3s;
}

.hero.loaded .hero__portrait-wrap {
  opacity: 1;
  transform: translateX(0);
}

@media (min-width: 768px) {
  .hero__portrait-wrap {
    position: absolute;
    inset: 112px -4vw 56px 0;
    margin: 0;
    aspect-ratio: auto;
  }
}

.hero__portrait {
  position: relative;
  height: 100%;
  width: 100%;
  background: var(--midnight);
  overflow: hidden;
}

.hero__portrait img {
  position: absolute;
  inset: 0;
  height: 100%;
  width: 100%;
  object-fit: cover;
  object-position: top;
  opacity: 0.95;
}

@media (min-width: 768px) {
  .hero__portrait img {
    inset: 0 0 0 auto;
    width: 115%;
    max-width: none;
    object-position: right top;
  }
}

.hero__portrait .wash {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(15, 23, 42, 0.1),
    transparent,
    rgba(15, 23, 42, 0.6)
  );
}

.hero__portrait .tint {
  position: absolute;
  inset: 0;
  background: rgba(37, 99, 235, 0.1);
  mix-blend-mode: multiply;
}

.hero__portrait .caption {
  position: absolute;
  left: 32px;
  right: 32px;
  bottom: 32px;
}

.hero__portrait .caption p {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(248, 250, 252, 0.7);
}

/* ---------- Section eyebrow/heading pattern ---------- */
.section-head {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
}

.section-head h1,
.section-head h2 {
  grid-column: span 12;
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--midnight);
}

@media (min-width: 768px) {
  .section-head .eyebrow-col {
    grid-column: span 3;
  }
  .section-head .heading-col {
    grid-column: span 9;
  }
  .section-head h1,
  .section-head h2 {
    grid-column: auto;
  }
}

/* ---------- Manifesto ---------- */
.manifesto {
  border-bottom: 1px solid var(--rule);
  padding: 112px 0;
}

@media (min-width: 768px) {
  .manifesto {
    padding: 160px 0;
  }
}

.manifesto__lead {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.4vw, 2.6rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--midnight);
}

.manifesto__lead .accent {
  color: var(--azure);
}

.manifesto__body {
  margin-top: 56px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

@media (min-width: 768px) {
  .manifesto__body {
    grid-template-columns: repeat(12, 1fr);
    gap: 32px;
  }
}

.manifesto__text {
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(28, 26, 23, 0.75);
}

@media (min-width: 768px) {
  .manifesto__text {
    grid-column: span 7;
  }
}

.manifesto__note {
  max-width: 360px;
  border-left: 1px solid var(--rule);
  padding-left: 24px;
}

@media (min-width: 768px) {
  .manifesto__note {
    grid-column: span 5;
    justify-self: end;
  }
}

.manifesto__note .mark {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1;
  color: rgba(37, 99, 235, 0.25);
}

.manifesto__note p.quote {
  margin-top: -24px;
  font-size: 1.1rem;
  font-style: italic;
  line-height: 1.35;
  color: var(--midnight);
}

.manifesto__note p.caption {
  margin-top: 12px;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--steel);
  white-space: nowrap;
}

@media (max-width: 560px) {
  .manifesto__note p.caption {
    font-size: 0.6rem;
    letter-spacing: 0.1em;
  }
}

/* ---------- Methodology (dark) ---------- */
.methodology {
  position: relative;
  border-bottom: 1px solid var(--rule);
  background: var(--midnight);
  padding: 112px 0;
  color: var(--cool-white);
}

@media (min-width: 768px) {
  .methodology {
    padding: 144px 0;
  }
}

.methodology h2 {
  max-width: 30ch;
  font-size: clamp(2rem, 4.4vw, 3.4rem);
  line-height: 1.05;
}

.methodology__grid {
  margin-top: 64px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 768px) {
  .methodology__grid {
    margin-top: 96px;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }
}

.pillar-card {
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.03);
  padding: 32px;
  transition: border-color 0.5s;
}

@media (min-width: 768px) {
  .pillar-card {
    padding: 44px;
  }
}

.pillar-card:hover {
  border-color: rgba(37, 99, 235, 0.5);
}

.pillar-card .num {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1;
  color: rgba(37, 99, 235, 0.4);
  font-size: 2.8rem;
}

@media (min-width: 768px) {
  .pillar-card .num {
    font-size: 3.4rem;
  }
}

.pillar-card h3 {
  margin-top: 20px;
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
  font-size: 1.3rem;
}

@media (min-width: 768px) {
  .pillar-card h3 {
    font-size: 1.55rem;
  }
}

.pillar-card p.body {
  margin-top: 14px;
  font-size: 0.98rem;
  line-height: 1.65;
  color: rgba(248, 250, 252, 0.88);
  max-width: 52ch;
  text-wrap: pretty;
}

/* ---------- Product ---------- */
.product {
  border-bottom: 1px solid var(--rule);
  padding: 112px 0;
}

@media (min-width: 768px) {
  .product {
    padding: 144px 0;
  }
}

.product h2 {
  font-size: clamp(1.8rem, 3.3vw, 2.9rem);
  line-height: 1.05;
}

.product__grid {
  margin-top: 64px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
}

@media (min-width: 900px) {
  .product__grid {
    margin-top: 80px;
    grid-template-columns: 6fr 5fr;
    gap: 72px;
    align-items: center;
  }
}

.product__intro h3 {
  margin-top: 20px;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 2.9vw, 2.6rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--midnight);
}

.product__intro h3 .accent {
  color: var(--azure);
}

.product__intro p.desc {
  margin-top: 24px;
  max-width: 46ch;
  font-size: 1.05rem;
  line-height: 1.65;
  color: rgba(28, 26, 23, 0.75);
}

.btn-whatsapp {
  position: relative;
  overflow: hidden;
  margin-top: 36px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #25d366;
  color: #fff;
  padding: 16px 32px;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  transition: transform 0.3s;
}

.btn-whatsapp:hover {
  transform: translateY(-2px);
}

.btn-whatsapp svg {
  height: 16px;
  width: 16px;
  fill: currentColor;
}

.product__panel {
  position: relative;
  border: 1px solid var(--rule);
  border-top: 4px solid var(--azure);
  background: #fff;
  padding: 32px 28px;
  box-shadow: 0 24px 48px -32px rgba(15, 23, 42, 0.25);
  container-type: inline-size;
}

@media (min-width: 768px) {
  .product__panel {
    padding: 44px 40px;
  }
}

.panel-block + .panel-block {
  margin-top: 28px;
  border-top: 1px solid var(--rule);
  padding-top: 28px;
}

.panel-block .label {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--steel);
}

.panel-block .body {
  margin-top: 10px;
  font-size: 0.98rem;
  line-height: 1.65;
  color: rgba(28, 26, 23, 0.8);
}

.panel-block .body strong {
  color: var(--azure);
  font-weight: 700;
}

.panel-block .body br + strong,
.panel-block .body strong:not(:first-child) {
  display: inline-block;
  margin-top: 10px;
}

.panel-list {
  margin-top: 16px;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.panel-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.panel-list svg {
  height: 18px;
  width: 18px;
  flex-shrink: 0;
  margin-top: 4px;
  color: var(--azure);
}

.panel-list p {
  font-size: 0.98rem;
  line-height: 1.6;
  color: rgba(28, 26, 23, 0.8);
}

.panel-list strong {
  color: var(--azure);
  font-weight: 700;
}

@container (min-width: 400px) {
  .panel-list li:last-child p {
    white-space: nowrap;
  }
}

.product__panel .btn-whatsapp {
  margin-top: 32px;
}

/* ---------- Stats ---------- */
.stats {
  border-bottom: 1px solid var(--rule);
  padding: 96px 0;
}

@media (min-width: 768px) {
  .stats {
    padding: 128px 0;
  }
}

.stats__grid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: 1fr;
  border-top: 1px solid var(--rule);
}

.stats__grid > div {
  border-bottom: 1px solid var(--rule);
}

.stats__grid > div:last-child {
  border-bottom: none;
}

@media (min-width: 768px) {
  .stats__grid {
    margin-top: 64px;
    grid-template-columns: repeat(3, 1fr);
  }
  .stats__grid > div {
    border-bottom: none;
    border-left: 1px solid var(--rule);
  }
  .stats__grid > div:first-child {
    border-left: none;
  }
}

.stat {
  padding: 40px 8px;
}

@media (min-width: 768px) {
  .stat {
    padding: 16px 40px;
  }
  .stat--mid {
    padding-top: 64px;
  }
  .stat--last {
    padding-top: 112px;
  }
}

.stat .value-row {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.stat .value {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--midnight);
  font-size: clamp(3.5rem, 7vw, 6rem);
}

.stat .unit {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--azure);
}

.stat .label {
  margin-top: 16px;
  max-width: 26ch;
  font-size: 0.98rem;
  line-height: 1.4;
  color: rgba(28, 26, 23, 0.7);
}

/* ---------- Testimonials ---------- */
.testimonials {
  border-bottom: 1px solid var(--rule);
  background: var(--paper);
  padding: 112px 0;
}

@media (min-width: 768px) {
  .testimonials {
    padding: 144px 0;
  }
}

.testimonials h2 {
  font-size: clamp(2rem, 4vw, 2.9rem);
  line-height: 1.08;
}

@media (min-width: 768px) {
  .testimonials h2 {
    white-space: nowrap;
  }
}

.testimonials__grid {
  margin-top: 64px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

@media (min-width: 768px) {
  .testimonials__grid {
    margin-top: 96px;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
  }
}

.note-card {
  position: relative;
  border: 1px solid var(--rule);
  background: rgba(248, 250, 252, 0.6);
  padding: 32px 32px 32px 36px;
  box-shadow: 0 24px 60px -32px rgba(15, 23, 42, 0.4);
}

.note-card .quote-mark {
  font-family: var(--font-display);
  font-size: 2.2rem;
  line-height: 1;
  color: rgba(37, 99, 235, 0.5);
}

.note-card p.quote {
  margin-top: -16px;
  font-size: 1.05rem;
  font-style: italic;
  line-height: 1.5;
  color: var(--ink);
}

.note-card .attribution {
  margin-top: 24px;
  border-top: 1px solid var(--rule);
  padding-top: 16px;
}

.note-card .attribution .name {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--midnight);
}

.note-card .attribution .context {
  margin-top: 2px;
  font-family: var(--font-display);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--steel);
}

/* ---------- CTA Final ---------- */
.cta-final {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--rule);
  padding: 112px 0;
}

@media (min-width: 768px) {
  .cta-final {
    padding: 144px 0;
  }
}

.cta-final__watermark {
  position: absolute;
  right: -96px;
  top: 50%;
  transform: translateY(-50%);
  display: none;
  font-family: var(--font-display);
  font-size: 26rem;
  font-weight: 900;
  line-height: 1;
  color: rgba(15, 23, 42, 0.03);
  pointer-events: none;
}

@media (min-width: 768px) {
  .cta-final__watermark {
    display: block;
  }
}

.cta-final__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

@media (min-width: 768px) {
  .cta-final__grid {
    grid-template-columns: repeat(12, 1fr);
  }
}

@media (min-width: 768px) {
  .cta-final__main {
    grid-column: span 8;
  }
}

.cta-final__main h2 {
  margin-top: 16px;
  max-width: 18ch;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: var(--midnight);
}

.cta-final__main p {
  margin-top: 24px;
  max-width: 52ch;
  font-size: 1.05rem;
  line-height: 1.6;
  color: rgba(28, 26, 23, 0.75);
}

.cta-final__side {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

@media (min-width: 768px) {
  .cta-final__side {
    grid-column: span 4;
  }
}

.cta-final__note {
  display: none;
  border-left: 1px solid var(--rule);
  padding-left: 24px;
}

@media (min-width: 768px) {
  .cta-final__note {
    display: block;
  }
}

.cta-final__note p.quote {
  font-size: 1.05rem;
  font-style: italic;
  line-height: 1.35;
  color: rgba(15, 23, 42, 0.7);
}

.cta-final__note p.caption {
  margin-top: 8px;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--steel);
}

.cta-final__btn-wrap {
  margin-top: 40px;
}

@media (min-width: 768px) {
  .cta-final__btn-wrap {
    margin-top: 0;
  }
}

.btn-primary--block {
  display: flex;
  width: 100%;
  text-align: center;
  padding: 20px 32px;
}

.btn-primary--block span {
  margin: 0 auto;
}

.cta-final__response {
  margin-top: 16px;
  text-align: center;
  font-family: var(--font-display);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--steel);
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--rule);
  padding: 40px 0;
}

@media (min-width: 768px) {
  .site-footer {
    padding: 48px 0;
  }
}

.site-footer .inner {
  display: flex;
  flex-direction: column;
  gap: 24px;
  text-align: center;
}

@media (min-width: 768px) {
  .site-footer .inner {
    text-align: left;
  }
}

.footer-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

@media (min-width: 768px) {
  .footer-top {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--midnight);
}

.footer-brand .dot {
  color: var(--azure);
  margin: 0 4px;
}

.footer-brand .sub {
  font-family: var(--font-body);
  font-weight: 400;
  font-style: italic;
  color: var(--steel);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 24px;
}

@media (min-width: 768px) {
  .footer-nav {
    justify-content: flex-start;
  }
}

.footer-nav a {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(15, 23, 42, 0.7);
  transition: color 0.3s;
}

.footer-nav a:hover {
  color: var(--azure);
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  border-top: 1px solid var(--rule);
  padding-top: 24px;
}

@media (min-width: 640px) {
  .footer-bottom {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    border-top: none;
    padding-top: 0;
  }
}

.footer-bottom p {
  font-family: var(--font-display);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--steel);
}

.footer-bottom a {
  color: rgba(15, 23, 42, 0.7);
  text-decoration: underline;
  text-decoration-color: var(--azure);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
  transition: color 0.3s;
}

.footer-bottom a:hover {
  color: var(--azure);
}

/* ---------- Newsletter popup ---------- */
.nl-popup {
  position: fixed;
  bottom: 24px;
  left: 50%;
  z-index: 60;
  width: min(400px, calc(100vw - 48px));
  background: var(--midnight);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 45px -16px rgba(15, 23, 42, 0.55);
  padding: 22px 24px;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 14px) scale(0.97);
  transition: opacity 0.45s var(--ease), transform 0.45s var(--ease);
}

.nl-popup.show {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0) scale(1);
}

.nl-popup .nl-close {
  position: absolute;
  top: 8px;
  right: 12px;
  background: none;
  border: 0;
  color: rgba(248, 250, 252, 0.55);
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
}

.nl-popup .nl-close:hover {
  color: var(--cool-white);
}

.nl-popup .nl-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--cool-white);
  padding-right: 16px;
}

.nl-popup .nl-text {
  margin-top: 8px;
  font-size: 0.85rem;
  line-height: 1.5;
  color: rgba(248, 250, 252, 0.7);
}

.nl-popup .nl-form {
  position: relative;
  margin-top: 14px;
  display: flex;
  gap: 8px;
}

.nl-popup .nl-form input[type="email"] {
  flex: 1;
  min-width: 0;
  border: 1px solid rgba(248, 250, 252, 0.25);
  background: rgba(248, 250, 252, 0.06);
  color: var(--cool-white);
  padding: 11px 12px;
  font-family: var(--font-body);
  font-size: 0.9rem;
}

.nl-popup .nl-form input[type="email"]::placeholder {
  color: rgba(248, 250, 252, 0.45);
}

.nl-popup .nl-form input[type="email"]:focus {
  outline: 2px solid var(--azure);
  border-color: var(--azure);
}

.nl-popup .nl-form button {
  border: 0;
  background: var(--azure);
  color: var(--cool-white);
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0 16px;
  cursor: pointer;
  transition: background 0.3s;
}

.nl-popup .nl-form button:hover {
  background: #1d4ed8;
}

.nl-popup .nl-consent {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  margin-top: 12px;
  font-size: 0.72rem;
  line-height: 1.5;
  color: rgba(248, 250, 252, 0.6);
  cursor: pointer;
}

.nl-popup .nl-consent input {
  margin-top: 2px;
  accent-color: var(--azure);
  flex-shrink: 0;
}

.nl-popup .nl-feedback {
  margin-top: 10px;
  font-size: 0.8rem;
  color: var(--azure);
  min-height: 1em;
}

.nl-popup .nl-feedback:empty {
  display: none;
}

@media (max-width: 480px) {
  .nl-popup {
    bottom: 12px;
    width: calc(100vw - 24px);
  }
}

/* ---------- WhatsApp float ---------- */
.wa-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 50;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  transition: opacity 0.3s;
}

@media (min-width: 768px) {
  .wa-float {
    bottom: 32px;
    right: 32px;
  }
}

.wa-float.hide-over-footer {
  opacity: 0;
  pointer-events: none;
}

.wa-bubble {
  position: relative;
  display: none;
  width: 300px;
  align-items: flex-start;
  gap: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: var(--midnight);
  padding: 14px 32px 14px 16px;
  box-shadow: 0 20px 45px -16px rgba(15, 23, 42, 0.55);
  opacity: 0;
  transform: translateY(14px) scale(0.96);
  transition: opacity 0.45s var(--ease), transform 0.45s var(--ease);
}

@media (min-width: 640px) {
  .wa-bubble {
    display: flex;
  }
}

.wa-bubble.show {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.wa-bubble.dismissed {
  display: none;
}

.wa-bubble .bullet {
  margin-top: 2px;
  height: 6px;
  width: 6px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--azure);
}

.wa-bubble p {
  font-size: 0.92rem;
  font-style: italic;
  line-height: 1.4;
  color: var(--cool-white);
}

.wa-bubble .cta-inline {
  font-family: var(--font-display);
  font-style: normal;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--azure);
}

.wa-bubble .close-btn {
  position: absolute;
  right: 8px;
  top: 10px;
  display: flex;
  height: 20px;
  width: 20px;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 0.75rem;
  color: rgba(248, 250, 252, 0.5);
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.3s;
}

.wa-bubble .close-btn:hover {
  color: var(--azure);
}

.wa-round {
  display: flex;
  height: 56px;
  width: 56px;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  box-shadow: 0 14px 30px -8px rgba(37, 211, 102, 0.6);
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.5s var(--ease) 0.6s, transform 0.5s var(--ease) 0.6s,
    scale 0.2s;
}

.wa-round.show {
  opacity: 1;
  transform: scale(1);
}

.wa-round:hover {
  transform: scale(1.06);
}

.wa-round:active {
  transform: scale(0.96);
}

.wa-round svg {
  height: 28px;
  width: 28px;
  fill: currentColor;
}

/* ---------- Simple hero/eyebrow pages (Contact, Blog) ---------- */
.page-hero {
  border-bottom: 1px solid var(--rule);
  padding: 32px 0 56px;
}

@media (min-width: 768px) {
  .page-hero {
    padding: 112px 0;
  }
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.6vw, 3.4rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--midnight);
}

.page-hero p.lede {
  margin-top: 24px;
  max-width: 56ch;
  font-size: 1.08rem;
  line-height: 1.6;
  color: rgba(28, 26, 23, 0.75);
}

main {
  padding-top: 84px;
}

@media (min-width: 768px) {
  main {
    padding-top: 128px;
  }
}

/* ---------- Contact main ---------- */
.contact-main {
  padding: 8px 0 96px;
}

@media (min-width: 768px) {
  .contact-main {
    padding: 16px 0 144px;
  }
}

.contact-main__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
}

@media (min-width: 900px) {
  .contact-main__grid {
    grid-template-columns: 6fr 5fr;
    gap: 72px;
    align-items: start;
  }
}

.contact-main__intro h2 {
  margin-top: 20px;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 2.9vw, 2.6rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--midnight);
}

.contact-main__intro h2 .accent {
  color: var(--azure);
}

.contact-main__intro p.desc {
  margin-top: 24px;
  max-width: 46ch;
  font-size: 1.05rem;
  line-height: 1.65;
  color: rgba(28, 26, 23, 0.75);
}

/* Info cards 2×2 */
.contact-info-grid {
  margin-top: 44px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 560px) {
  .contact-info-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.info-card {
  display: block;
  border: 1px solid var(--rule);
  background: rgba(255, 255, 255, 0.55);
  padding: 24px;
  transition: border-color 0.3s, transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.info-card:hover {
  border-color: rgba(37, 99, 235, 0.45);
}

a.info-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px -24px rgba(15, 23, 42, 0.4);
}

.info-card__icon {
  height: 40px;
  width: 40px;
  padding: 9px;
  background: rgba(37, 99, 235, 0.09);
  color: var(--azure);
}

.info-card .label {
  margin-top: 16px;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  color: var(--steel);
}

.info-card .value {
  margin-top: 6px;
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--midnight);
  overflow-wrap: anywhere;
}

/* Form card */
.contact-form-card {
  position: relative;
  border: 1px solid var(--rule);
  border-top: 4px solid var(--azure);
  background: #fff;
  padding: 32px 28px;
  box-shadow: 0 24px 48px -32px rgba(15, 23, 42, 0.25);
}

@media (min-width: 768px) {
  .contact-form-card {
    padding: 44px 40px;
  }
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 560px) {
  .form-row {
    grid-template-columns: 1fr 1fr;
  }
}

.form-field {
  margin-bottom: 20px;
}

.form-row .form-field {
  margin-bottom: 0;
}

.form-row {
  margin-bottom: 20px;
}

.form-field label {
  display: block;
  margin-bottom: 8px;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--steel);
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  border: 1px solid rgba(15, 23, 42, 0.18);
  background: #fff;
  padding: 14px 16px;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  transition: border-color 0.25s, box-shadow 0.25s;
  border-radius: 0;
  appearance: none;
  -webkit-appearance: none;
}

.form-field input:hover,
.form-field select:hover,
.form-field textarea:hover {
  border-color: rgba(15, 23, 42, 0.35);
}

.form-field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%230f172a' stroke-width='2'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 42px;
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
}

.form-field textarea {
  min-height: 130px;
  resize: vertical;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: var(--steel);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--azure);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.14);
}

/* Dropdown stilizat (browsere moderne; fallback nativ în rest) */
.form-field select,
.form-field select::picker(select) {
  appearance: base-select;
}

@supports (appearance: base-select) {
  .form-field select {
    background-image: none;
    padding-right: 16px;
  }

  .form-field select::picker-icon {
    color: var(--steel);
  }

  .form-field select:open::picker-icon {
    rotate: 180deg;
  }
}

.form-field select::picker(select) {
  border: 1px solid rgba(15, 23, 42, 0.18);
  background: #fff;
  padding: 6px;
  margin-top: 6px;
  box-shadow: 0 20px 44px -20px rgba(15, 23, 42, 0.35);
}

.form-field select option {
  padding: 11px 14px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--ink);
  background: #fff;
  cursor: pointer;
}

.form-field select option::checkmark {
  color: var(--azure);
}

.form-field select option:hover,
.form-field select option:focus {
  background: rgba(37, 99, 235, 0.08);
}

.form-field select option:checked {
  background: rgba(37, 99, 235, 0.12);
  color: var(--azure);
}

.contact-form-card .btn-whatsapp {
  margin-top: 8px;
  border: 0;
  cursor: pointer;
}

.btn-whatsapp--block {
  display: flex;
  width: 100%;
  justify-content: center;
}

.form-note {
  margin-top: 16px;
  text-align: center;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--steel);
}

/* ---------- Blog empty ---------- */
.blog-empty {
  margin-top: 64px;
  max-width: 46ch;
  border-left: 1px solid var(--rule);
  padding: 40px 0 40px 32px;
}

@media (min-width: 768px) {
  .blog-empty {
    margin-top: 96px;
  }
}

.blog-empty .label {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--azure);
}

.blog-empty p.body {
  margin-top: 16px;
  font-size: 1.05rem;
  line-height: 1.6;
  color: rgba(28, 26, 23, 0.7);
}
