/* ==========================================================================
   tarau.ro - static build
   Palette inherited from the retired site so the brand stays recognisable;
   everything else - scale, rhythm, surfaces, motion - rebuilt.
   ========================================================================== */

:root {
  /* Brand - carried over verbatim */
  --accent:     #C40E0E;
  --accent-600: #A50C0C;
  --accent-700: #7E0909;

  /* Neutrals - recut as a proper ramp instead of four loose greys */
  --ink-900: #16161A;
  --ink-800: #232329;
  --ink-700: #2E2E2E;
  --ink-500: #54595F;
  --ink-400: #6E7379;
  --ink-300: #9AA0A6;
  --ink-200: #D9DCE0;
  --ink-100: #ECEEF1;
  --ink-050: #F6F7F9;
  --white:   #FFFFFF;

  --blush-50:  #FEF7F7;
  --blush-100: #FCEDED;
  --blush-200: #F5D6D6;

  --body-text: var(--ink-500);
  --rule:      var(--ink-200);
  --rule-soft: var(--ink-100);

  --display: "Castoro", Georgia, "Times New Roman", serif;
  --sans: "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;

  /* Scale - tighter than before; the old headings ran oversized */
  --t-xs:  0.75rem;
  --t-sm:  0.8125rem;
  --t-md:  clamp(1.0625rem, 1.03rem + .16vw, 1.125rem);
  --t-lg:  clamp(1.1875rem, 1.13rem + .28vw, 1.375rem);
  --t-xl:  clamp(1.4rem, 1.29rem + .52vw, 1.75rem);
  --t-2xl: clamp(1.7rem, 1.5rem + .92vw, 2.35rem);
  --t-3xl: clamp(2.05rem, 1.72rem + 1.5vw, 3.1rem);

  --shell: 1200px;
  --narrow: 720px;
  --pad: clamp(1.15rem, .75rem + 1.7vw, 2.25rem);
  --sec: clamp(3.25rem, 2.1rem + 4.6vw, 6.5rem);
  --sec-sm: clamp(2.25rem, 1.6rem + 2.6vw, 3.75rem);

  --r-sm: 6px;
  --r-md: 12px;
  --r-lg: 18px;
  --sh-1: 0 1px 2px rgba(22,22,26,.05), 0 2px 8px rgba(22,22,26,.04);
  --sh-2: 0 2px 6px rgba(22,22,26,.06), 0 12px 32px rgba(22,22,26,.08);
  --sh-3: 0 4px 12px rgba(22,22,26,.08), 0 24px 56px rgba(22,22,26,.12);

  --ease: cubic-bezier(.22, .61, .36, 1);
  --header-h: 76px;
}

/* --------------------------------------------------------------- reset -- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 1rem); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important; animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
body {
  margin: 0; font-family: var(--sans); font-size: var(--t-md); line-height: 1.7;
  color: var(--body-text); background: var(--white);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-wrap: break-word;
}
img, svg, video, iframe { max-width: 100%; display: block; }
img { height: auto; }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: .2em; transition: color .15s var(--ease); }
a:hover { color: var(--accent-600); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 3px; }

h1, h2, h3, h4, h5, h6 { color: var(--ink-900); margin: 0 0 .55em; font-weight: 700; line-height: 1.18; letter-spacing: -.018em; }
h1 { font-family: var(--display); font-size: var(--t-3xl); font-weight: 400; }
h2 { font-family: var(--display); font-size: var(--t-2xl); font-weight: 400; }
h3 { font-size: var(--t-lg); letter-spacing: -.012em; }
h4 { font-size: var(--t-md); letter-spacing: -.008em; }
p { margin: 0 0 1.1em; }
ul, ol { margin: 0 0 1.25em; padding-left: 1.3em; }
li { margin-bottom: .45em; }
li::marker { color: var(--accent); }
/* Bold carries emphasis through weight alone - it stays the same colour as
   the text around it instead of jumping to near-black. */
strong, b { color: inherit; font-weight: 600; }
hr { border: 0; border-top: 1px solid var(--rule-soft); margin: 2.5rem 0; }
::selection { background: var(--accent); color: #fff; }

.skip-link { position: absolute; left: -9999px; top: 0; z-index: 999; background: var(--ink-900); color: #fff; padding: .8rem 1.2rem; }
.skip-link:focus { left: 0; color: #fff; }

/* ------------------------------------------------------------- layout --- */
.shell { width: 100%; max-width: var(--shell); margin-inline: auto; padding-inline: var(--pad); }
.shell--narrow { max-width: var(--narrow); }
.section { padding-block: var(--sec); position: relative; }
.section--sm { padding-block: var(--sec-sm); }
.section--mist { background: var(--ink-050); }
.section--blush { background: linear-gradient(180deg, var(--blush-50), var(--white)); }
.section--ink { background: var(--ink-900); color: rgba(255,255,255,.72); }
.section--ink h1, .section--ink h2, .section--ink h3, .section--ink strong { color: #fff; }
.section--plain + .section--plain { border-top: 1px solid var(--rule-soft); }

.measure { max-width: 68ch; }
.center { text-align: center; }
.stack > * + * { margin-top: 1.1rem; }

.eyebrow {
  display: flex; align-items: center; gap: .6rem;
  font-size: var(--t-xs); font-weight: 600; letter-spacing: .18em;
  text-transform: uppercase; color: var(--accent); margin: 0 0 .85rem;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--accent); flex: none; border-radius: 2px; }
.eyebrow--center { justify-content: center; }
.section--ink .eyebrow, .hero .eyebrow, .pagehead .eyebrow, .cta .eyebrow { color: #fff; }

.sec-head { max-width: 62ch; margin-bottom: clamp(2rem, 1.4rem + 1.8vw, 3rem); }
.sec-head--center { margin-inline: auto; text-align: center; }
.sec-head--center .eyebrow { justify-content: center; }
.sec-head h2 { margin-bottom: .5rem; }
.sec-head p { color: var(--ink-400); margin-bottom: 0; }

/* ------------------------------------------------------------ buttons --- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .85rem 1.6rem; border: 1px solid transparent; border-radius: var(--r-sm);
  background: var(--accent); color: #fff;
  font-family: var(--sans); font-size: .9rem; font-weight: 600;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background .18s var(--ease), transform .18s var(--ease),
              box-shadow .18s var(--ease), color .18s var(--ease), border-color .18s var(--ease);
}
.btn:hover { background: var(--accent-600); color: #fff; transform: translateY(-1px); box-shadow: 0 6px 18px rgba(196,14,14,.22); }
.btn:active { transform: translateY(0); }
.btn--ghost { background: transparent; color: var(--ink-800); border-color: var(--rule); }
.btn--ghost:hover { background: var(--ink-050); color: var(--accent); border-color: var(--blush-200); box-shadow: none; }
.btn--onink { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.28); }
.btn--onink:hover { background: #fff; color: var(--ink-900); border-color: #fff; box-shadow: none; }
.btn--lg { padding: 1rem 2rem; font-size: .95rem; }
@media (max-width: 640px) { .btn--lg { width: 100%; } }
.btn[disabled] { opacity: .55; cursor: not-allowed; transform: none; }

.btn-row { display: flex; flex-wrap: wrap; gap: .7rem; }
.btn-row--center { justify-content: center; }
/* Same footprint as the video CTAs: two buttons sharing a 780px-wide track,
   stacked full-width on small screens. */
.btn-row--wide {
  max-width: 780px; margin-inline: auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: .8rem;
}
.btn-row--wide .btn { width: 100%; }
@media (max-width: 640px) { .btn-row--wide { grid-template-columns: 1fr; } }

.link-arrow { display: inline-flex; align-items: center; gap: .4rem; font-size: .9rem; font-weight: 600; text-decoration: none; color: var(--accent); }
.link-arrow svg { width: 15px; height: 15px; transition: transform .2s var(--ease); }
.link-arrow:hover svg { transform: translateX(3px); }

/* ------------------------------------------------------------- header --- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255,255,255,.86);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--rule-soft);
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; flex: none; text-decoration: none; }
.brand img { height: 44px; width: auto; }
/* Logos are static marks - not links, not draggable, not selectable. */
.brand img, .footer__brand img { -webkit-user-drag: none; user-select: none; -webkit-user-select: none; }

.nav { display: flex; align-items: center; gap: clamp(.4rem, 0rem + .9vw, 1.1rem); }
.nav__list { display: flex; align-items: center; gap: clamp(.15rem, -.25rem + 1vw, .9rem); list-style: none; margin: 0; padding: 0; }
.nav__list > li { margin: 0; position: relative; }
.nav__link {
  display: inline-flex; align-items: center; gap: .3rem;
  padding: .5rem .6rem; border-radius: var(--r-sm);
  font-size: .9rem; font-weight: 500; color: var(--ink-700);
  text-decoration: none; white-space: nowrap;
  transition: color .15s var(--ease), background .15s var(--ease);
}
.nav__link:hover { color: var(--accent); background: var(--blush-50); }
.nav__link[aria-current="page"] { color: var(--accent); font-weight: 600; }

/* Contact - an accent CTA pill with the same shine sweep as the language flag. */
.nav__link--cta {
  position: relative; overflow: hidden; margin-left: .3rem;
  padding: .55rem 1.1rem; border-radius: var(--r-sm);
  background: var(--accent); color: #fff;
  box-shadow: 0 2px 8px rgba(196,14,14,.28);
  transition: background .22s var(--ease), transform .22s var(--ease), box-shadow .22s var(--ease);
}
.nav__link--cta::after {
  content: ""; position: absolute; top: -20%; bottom: -20%; left: 0; width: 45%;
  background: linear-gradient(100deg, rgba(255,255,255,0) 12%, rgba(255,255,255,.5) 50%, rgba(255,255,255,0) 88%);
  transform: translateX(-240%) skewX(-18deg); pointer-events: none;
}
.nav__link--cta:hover, .nav__link--cta:focus-visible {
  background: var(--accent-600); color: #fff; transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(196,14,14,.35);
}
.nav__link--cta:hover::after, .nav__link--cta:focus-visible::after { animation: lang-shine .7s var(--ease); }
.nav__link--cta:active { transform: translateY(0) scale(.96); transition-duration: .08s; }
.nav__link--cta[aria-current="page"] { color: #fff; }
/* "Cazuri" is a group label, not a destination - only its sub-links navigate. */
.nav__item--has-sub > span.nav__link { cursor: default; }
.nav__item--has-sub > .nav__link::after {
  content: ""; width: 5px; height: 5px; border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-2px);
  opacity: .5; transition: transform .2s var(--ease);
}
.nav__item--has-sub:hover > .nav__link::after { transform: rotate(225deg) translateY(-2px); }

.nav__sub {
  position: absolute; top: calc(100% + 6px); left: 50%;
  min-width: 262px; background: #fff; border: 1px solid var(--rule-soft);
  border-radius: var(--r-md); box-shadow: var(--sh-2);
  list-style: none; margin: 0; padding: .35rem;
  opacity: 0; visibility: hidden; transform: translate(-50%, -6px);
  transition: opacity .18s var(--ease), transform .18s var(--ease), visibility .18s;
}
.nav__item--has-sub:hover .nav__sub, .nav__item--has-sub:focus-within .nav__sub {
  opacity: 1; visibility: visible; transform: translate(-50%, 0);
}
.nav__sub li { margin: 0; }
.nav__sub a { display: block; padding: .6rem .8rem; border-radius: var(--r-sm); font-size: .89rem; color: var(--ink-700); text-decoration: none; }
.nav__sub a:hover { background: var(--blush-50); color: var(--accent); }

/* Language switcher - flags, as on the retired site. Always at full colour;
   hover/focus lifts the flag and sweeps a shine across it, click presses it. */
.lang { display: inline-flex; align-items: center; gap: .3rem; padding-left: .6rem; border-left: 1px solid var(--rule-soft); }
.lang a {
  position: relative; display: inline-flex; width: 32px; height: 24px; border-radius: 4px;
  border: 1px solid var(--rule); overflow: hidden;
  box-shadow: 0 0 0 2px var(--blush-100), 0 2px 6px rgba(196,14,14,.16);
  transition: transform .22s var(--ease), border-color .22s var(--ease), box-shadow .22s var(--ease);
}
.lang a::after {
  content: ""; position: absolute; top: -20%; bottom: -20%; left: 0; width: 55%;
  background: linear-gradient(100deg, rgba(255,255,255,0) 12%, rgba(255,255,255,.8) 50%, rgba(255,255,255,0) 88%);
  transform: translateX(-180%) skewX(-18deg); pointer-events: none;
}
.lang a:hover, .lang a:focus-visible {
  transform: translateY(-2px) scale(1.12) rotate(-2deg); border-color: var(--accent);
  box-shadow: 0 0 0 2px var(--blush-200), 0 6px 14px rgba(196,14,14,.3);
}
.lang a:hover::after, .lang a:focus-visible::after { animation: lang-shine .6s var(--ease); }
.lang a:active { transform: translateY(0) scale(.9); transition-duration: .08s; }
.lang img { width: 100%; height: 100%; object-fit: cover; }
@keyframes lang-shine { to { transform: translateX(300%) skewX(-18deg); } }
@media (prefers-reduced-motion: reduce) {
  .lang a, .nav__link--cta { transition: none; }
  .lang a::after, .nav__link--cta::after { animation: none !important; }
  .lang a:hover, .lang a:focus-visible,
  .nav__link--cta:hover, .nav__link--cta:focus-visible { transform: none; }
}

/* Hamburger - bars positioned absolutely (no flex/gap involved) with
   hard-coded colours, so they render identically on every mobile engine. */
.nav-toggle {
  display: none; position: relative;
  width: 44px; height: 44px; padding: 0;
  -webkit-appearance: none; appearance: none;
  background: #ffffff; border: 1px solid var(--rule); border-radius: var(--r-sm);
  cursor: pointer; -webkit-tap-highlight-color: transparent;
}
.nav-toggle span {
  position: absolute; left: 11px; right: 11px; height: 2.5px; border-radius: 3px;
  background: #16161A;
  transition: transform .25s var(--ease), top .25s var(--ease), opacity .15s var(--ease);
}
.nav-toggle span:nth-child(1) { top: 14px; }
.nav-toggle span:nth-child(2) { top: 20px; }
.nav-toggle span:nth-child(3) { top: 26px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { top: 20px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { top: 20px; transform: rotate(-45deg); }

@media (max-width: 1040px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0; display: block;
    background: #fff; border-bottom: 1px solid var(--rule);
    border-radius: 0 0 var(--r-lg) var(--r-lg);
    box-shadow: 0 24px 48px rgba(22,22,26,.22);
    padding: .8rem var(--pad) 1.4rem; max-height: calc(100dvh - var(--header-h));
    overflow-y: auto; transform: translateY(-14px); opacity: 0; visibility: hidden;
    transition: opacity .18s var(--ease), transform .18s var(--ease), visibility .18s;
    /* own compositor layer - animating a child of the backdrop-filtered
       header otherwise repaints the blur every frame and stutters */
    will-change: transform, opacity;
  }
  .nav[data-open="true"] { opacity: 1; visibility: visible; transform: none; }
  .nav__list { display: block; }
  .nav__link {
    display: flex; justify-content: space-between; align-items: center;
    padding: .95rem .9rem; font-size: 1.02rem; border-radius: var(--r-md);
  }
  .nav__link:hover { background: var(--blush-50); }
  .nav__link[aria-current="page"] { background: var(--blush-50); }
  /* visibility must be `inherit`, not `visible`: a `visible` child inside the
     closed (visibility:hidden, opacity:0) nav panel stays clickable while
     fully transparent, hijacking taps on the page content behind it. */
  .nav__sub {
    position: static; transform: none; opacity: 1; visibility: inherit;
    min-width: 0; border: none; box-shadow: none;
    margin: 0 0 .3rem .9rem; padding: 0 0 0 .5rem;
    border-left: 2px solid var(--blush-200); border-radius: 0;
  }
  /* The desktop dropdown centres itself with translate(-50%); that rule wins
     on specificity, so tapping "Cazuri" shoved the static sub-list left. */
  .nav__item--has-sub:hover .nav__sub, .nav__item--has-sub:focus-within .nav__sub { transform: none; }
  /* Tapping the group label folds its sub-list shut (and back open). */
  .nav__item--has-sub > span.nav__link { cursor: pointer; }
  .nav__sub { overflow: hidden; max-height: 12rem; transition: max-height .28s var(--ease), opacity .22s var(--ease), margin .28s var(--ease); }
  .nav__item--has-sub.is-collapsed .nav__sub { max-height: 0; opacity: 0; margin-bottom: 0; }
  .nav__item--has-sub > .nav__link::after,
  .nav__item--has-sub:hover > .nav__link::after { transform: rotate(45deg) translateY(-2px); }
  .nav__item--has-sub.is-collapsed > .nav__link::after,
  .nav__item--has-sub.is-collapsed:hover > .nav__link::after { transform: rotate(-45deg) translateY(0); }
  .nav__sub a { padding: .75rem .8rem; font-size: .95rem; }
  /* the aria-current blush background above must never bleach the CTA -
     it stays accent-red on its own page too */
  .nav__link--cta, .nav__link--cta[aria-current="page"] { justify-content: center; margin: .9rem 0 .2rem; padding: .9rem 1rem; background: var(--accent); }
  .lang { padding: 1rem .2rem 0; border-left: 0; border-top: 1px solid var(--rule-soft); margin-top: .7rem; width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .nav { transition: none; }
}

/* --------------------------------------------------------------- hero --- */
.hero { position: relative; background: var(--ink-900); color: #fff; overflow: hidden; isolation: isolate; }
/* The photo sits in a box no wider than 1080px pinned to the right edge;
   its left edge fades into the dark hero background. */
.hero__media { position: absolute; top: 0; bottom: 0; right: 0; left: auto; width: 100%; max-width: 1080px; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; }
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--ink-900) 0, rgba(22,22,26,0) 32%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(120% 90% at 8% 0%, rgba(196,14,14,.22) 0%, transparent 55%),
    linear-gradient(100deg, rgba(18,18,22,.92) 0 36%, rgba(18,18,22,.38) 68%, rgba(18,18,22,.05) 100%);
}
.hero__inner { padding-block: clamp(4.25rem, 2.2rem + 9vw, 9.25rem); }
/* Desktop: a taller hero so the portrait shows larger; content stays
   vertically centred in the extra room. */
@media (min-width: 1041px) {
  .hero__inner {
    display: flex; flex-direction: column; justify-content: center;
    min-height: 36rem;
  }
}
.hero__body { max-width: 42rem; }
.hero__kicker { font-family: var(--display); font-size: var(--t-3xl); color: #fff; line-height: 1.15; margin: 0 0 .9rem; letter-spacing: -.018em; }
/* Solid red highlight block behind the emphasised words, white text on top. */
.hero__kicker em {
  color: #fff; font-style: normal; white-space: nowrap;
  background: var(--accent); padding: .02em .22em; margin-inline: -.06em;
  box-decoration-break: clone; -webkit-box-decoration-break: clone;
}
/* Below the same breakpoint where the nav collapses to the hamburger, the
   title breaks into three rows ("Noi luptăm / pentru tine / ca să câștigi!")
   and keeps left, so the portrait's face stays clear on the right.
   display:table puts the highlight on its own shrink-wrapped line. */
@media (max-width: 1040px) {
  .hero__kicker em { display: table; margin-block: .08em; }
  /* the em already ends its line - without this the desktop <br> would add
     an empty row between "pentru tine" and the last line */
  .hero__kicker br { display: none; }
}
.hero p { color: rgba(255,255,255,.78); max-width: 46ch; }
.hero .btn-row { margin-top: 1.9rem; }

/* Red statement bar directly under the hero */
/* The h1 sits inside the hero as a quiet glassy label under the intro copy -
   it replaced the solid red .herobar band. */
.hero__label {
  display: inline-flex; align-items: center; gap: .55rem;
  margin: 1.5rem 0 0; padding: .6rem 1.05rem;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.22);
  border-radius: 100px;
  font-family: var(--sans); font-size: .8rem; font-weight: 600;
  letter-spacing: .09em; text-transform: uppercase;
  color: rgba(255,255,255,.92); line-height: 1.45; text-align: left;
}
.hero__label::before {
  content: ""; flex: none; width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 8px rgba(196,14,14,.9);
}

.pagehead { position: relative; background: var(--ink-900); color: #fff; overflow: hidden; isolation: isolate; padding-block: clamp(2.5rem, 1.6rem + 3.6vw, 4.5rem); }
.pagehead::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(90% 130% at 100% 0%, rgba(196,14,14,.20) 0%, transparent 60%);
}
.pagehead h1 { color: #fff; margin-bottom: .3em; }
.pagehead p { color: rgba(255,255,255,.74); max-width: 58ch; margin: 0; }

/* --------------------------------------------------------- breadcrumbs -- */
.crumbs { border-bottom: 1px solid var(--rule-soft); font-size: var(--t-sm); background: var(--white); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: .4rem; list-style: none; margin: 0; padding: .8rem 0; }
.crumbs li { margin: 0; display: flex; align-items: center; gap: .4rem; color: var(--ink-400); }
.crumbs li + li::before { content: "/"; color: var(--ink-300); }
.crumbs a { color: var(--ink-400); text-decoration: none; }
.crumbs a:hover { color: var(--accent); }
.crumbs [aria-current="page"] { color: var(--ink-800); font-weight: 500; }

/* --------------------------------------------------------------- grid --- */
.grid { display: grid; gap: clamp(1rem, .65rem + 1.5vw, 1.75rem); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 270px), 1fr)); }
.grid--split { grid-template-columns: minmax(0,1fr); }
@media (min-width: 940px) { .grid--split { grid-template-columns: 1.08fr .92fr; align-items: start; gap: clamp(2rem, 1rem + 3vw, 4rem); } }

/* --------------------------------------------------------------- card --- */
.card {
  position: relative; background: #fff; border: 1px solid var(--rule-soft);
  border-radius: var(--r-md); padding: clamp(1.35rem, 1.1rem + .9vw, 1.9rem);
  transition: box-shadow .22s var(--ease), transform .22s var(--ease), border-color .22s var(--ease);
}
.card h3 { font-size: var(--t-md); margin-bottom: .5rem; }
.card p { font-size: .96rem; margin-bottom: 0; color: var(--ink-400); }
.card--lift:hover { box-shadow: var(--sh-2); transform: translateY(-3px); border-color: var(--rule); }
/* Homepage "who we are" cards: titles centered with an accent underline,
   body copy stays left-aligned. */
.grid--titles-center .card { box-shadow: var(--sh-1); border-color: var(--rule-soft); }
.grid--titles-center .card h3 { text-align: center; padding-top: .35rem; }
.grid--titles-center .card h3::after {
  content: ""; display: block; width: 34px; height: 2px; border-radius: 2px;
  margin: .6rem auto .9rem; background: var(--accent); opacity: .65;
}
.grid--titles-center .card.card--lift:hover { transform: translateY(-4px); box-shadow: var(--sh-2); }

.pillar { display: flex; gap: 1rem; align-items: flex-start; }
.pillar__mark {
  flex: none; width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center;
  background: var(--blush-100); color: var(--accent); font-size: .8rem; font-weight: 700;
}
.pillar h3 { margin-bottom: .3rem; }
.pillar p { font-size: .93rem; }

/* Case card - the signature element. Styled as a pull-quote: an oversized
   ghost quotation mark, Castoro italic body, amounts picked out in accent,
   and the tag demoted to an attribution line pinned to the card foot. */
.case {
  position: relative; display: flex; flex-direction: column;
  background: linear-gradient(180deg, var(--blush-50), #fff 42%);
  border: 1px solid var(--rule-soft); border-radius: var(--r-md); overflow: hidden;
  padding: clamp(2.6rem, 2.2rem + 1.3vw, 3.4rem) clamp(1.4rem, 1.1rem + 1vw, 2.1rem) clamp(1.4rem, 1.1rem + 1vw, 2rem);
  margin-bottom: clamp(.9rem, .6rem + .9vw, 1.35rem);
  transition: box-shadow .22s var(--ease), border-color .22s var(--ease);
}
.case::after {
  content: "„"; position: absolute; top: -.6em; left: clamp(1.1rem, .9rem + .7vw, 1.7rem);
  font-family: var(--display); font-size: clamp(4.25rem, 3.4rem + 3vw, 5.75rem);
  line-height: 1; color: var(--blush-200); pointer-events: none;
}
.case:hover { box-shadow: var(--sh-1); border-color: var(--rule); }
.case p {
  position: relative; z-index: 1;
  font-family: var(--display); font-style: italic;
  font-size: 1.02rem; line-height: 1.68; color: var(--ink-700);
}
.case p:last-of-type { margin-bottom: 0; }
.case strong, .case b { color: var(--accent-700); font-style: normal; font-weight: 600; }
.case__tag {
  display: inline-flex; align-items: center; gap: .4rem;
  order: 2; margin: auto 0 0; align-self: stretch;
  padding: .9rem 0 0; border-top: 1px solid var(--rule-soft);
  font-size: var(--t-xs); font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--accent);
}
.case__tag::before { content: "-"; font-weight: 400; color: var(--ink-300); }

/* Stats band - large serif figures (counted up on scroll), hairline
   separators between the three items. */
.stats { display: grid; gap: 1.75rem 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); }
.stat { position: relative; text-align: center; padding: .9rem .5rem; }
.stat__fig {
  font-family: var(--display); display: block; line-height: 1;
  font-size: clamp(2.7rem, 2.1rem + 2.4vw, 4.25rem);
  color: var(--accent); letter-spacing: -.02em;
}
.stat__label {
  display: block; margin-top: .6rem;
  font-size: var(--t-xs); font-weight: 600; letter-spacing: .16em;
  text-transform: uppercase; color: var(--ink-500);
}
.stat__label::after {
  content: ""; display: block; width: 26px; height: 2px; border-radius: 2px;
  background: var(--blush-200); margin: .65rem auto 0;
}
@media (min-width: 640px) {
  .stat + .stat::before {
    content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
    width: 1px; height: 68%;
    background: linear-gradient(180deg, transparent, var(--blush-200) 28% 72%, transparent);
  }
}

/* ---------------------------------------------------------- post cards -- */
.posts { display: grid; gap: clamp(.85rem, .6rem + .8vw, 1.15rem); }
.posts--3 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr)); }

.post-card {
  position: relative; display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--rule-soft); border-radius: var(--r-md);
  padding: 1.2rem 1.3rem; overflow: hidden;
  transition: box-shadow .22s var(--ease), transform .22s var(--ease), border-color .22s var(--ease);
}
.post-card::before {
  content: ""; position: absolute; inset: 0 auto 0 0; width: 3px; background: var(--accent);
  transform: scaleY(0); transform-origin: top; transition: transform .3s var(--ease);
}
.post-card:hover { border-color: var(--rule); box-shadow: var(--sh-2); transform: translateY(-2px); }
.post-card:hover::before { transform: scaleY(1); }
.post-card__meta {
  display: flex; align-items: center; gap: .5rem; flex-wrap: wrap;
  font-size: var(--t-xs); letter-spacing: .07em; text-transform: uppercase;
  color: var(--ink-300); margin-bottom: .5rem;
}
.post-card__cat { color: var(--accent); font-weight: 600; }
.post-card__meta .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--ink-200); flex: none; }
.post-card__title { font-family: var(--sans); font-size: 1.01rem; font-weight: 600; line-height: 1.4; letter-spacing: -.01em; margin: 0 0 .5rem; }
.post-card__title a { color: var(--ink-900); text-decoration: none; }
.post-card__title a::after { content: ""; position: absolute; inset: 0; }
.post-card:hover .post-card__title a { color: var(--accent); }
.post-card__excerpt {
  font-size: .91rem; line-height: 1.6; color: var(--ink-400); margin: 0 0 1rem;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.post-card__more { margin-top: auto; font-size: var(--t-sm); font-weight: 600; color: var(--accent); display: inline-flex; align-items: center; gap: .35rem; }
.post-card__more svg { width: 14px; height: 14px; transition: transform .2s var(--ease); }
.post-card:hover .post-card__more svg { transform: translateX(3px); }

/* Blog index lead card */
.post-card--feature { padding: 0; }
.post-card--feature .post-card__media { aspect-ratio: 21/9; overflow: hidden; background: var(--ink-050); }
.post-card--feature .post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.post-card--feature:hover .post-card__media img { transform: scale(1.03); }
.post-card--feature .post-card__body { padding: 1.4rem 1.5rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.post-card--feature .post-card__title { font-size: var(--t-lg); }
.post-card--feature .post-card__excerpt { -webkit-line-clamp: 2; }

/* --------------------------------------------------------- article body -- */
.article { padding-block: clamp(2.25rem, 1.6rem + 2.4vw, 3.5rem) var(--sec); }
.article__head { margin-bottom: 2rem; padding-bottom: 1.4rem; border-bottom: 1px solid var(--rule-soft); }
/* Deliberately smaller than page h1 elsewhere - long legal headlines at 3rem
   were unreadable. */
.article__head h1 {
  font-family: var(--sans); font-size: clamp(1.5rem, 1.24rem + 1.15vw, 2.1rem);
  font-weight: 700; line-height: 1.26; letter-spacing: -.022em; margin-bottom: .7rem;
}
.article__meta { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .85rem; font-size: var(--t-sm); color: var(--ink-400); }
.article__meta .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--ink-200); flex: none; }
.article__meta .author { display: inline-flex; align-items: center; gap: .45rem; color: var(--ink-700); font-weight: 500; }
.article__tag { display: inline-flex; font-size: var(--t-xs); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); background: var(--blush-100); padding: .25rem .6rem; border-radius: 100px; }
.article__hero { margin: 0 0 2.25rem; }
.article__hero img { width: 100%; border-radius: var(--r-md); }

.prose { font-size: 1.05rem; line-height: 1.78; color: var(--ink-500); }
.prose > h2 { margin-top: 2.2em; margin-bottom: .7em; font-family: var(--sans); font-size: var(--t-lg); font-weight: 700; letter-spacing: -.015em; padding-left: .8rem; border-left: 3px solid var(--accent); }
.prose > h3 { margin-top: 1.9em; margin-bottom: .55em; font-family: var(--sans); font-size: var(--t-md); font-weight: 700; }
.prose > h4 { margin-top: 1.7em; font-family: var(--sans); font-size: 1.02rem; }
.prose > h2:first-child, .prose > h3:first-child { margin-top: 0; }
/* A heading introduced by an eyebrow reads like the homepage sec-heads:
   serif display face, no side rule. */
.prose > .eyebrow { margin: 2.2em 0 .85rem; }
.prose > .eyebrow:first-child { margin-top: 0; }
.prose > .eyebrow + h2 {
  margin-top: 0; padding-left: 0; border-left: 0;
  font-family: var(--display); font-weight: 400;
  font-size: var(--t-2xl); letter-spacing: -.018em;
}
.prose img { margin: 2rem auto; border-radius: var(--r-md); }
.prose a { font-weight: 500; }
.prose a[href$=".pdf"]::after { content: " (PDF)"; font-size: .8em; color: var(--ink-300); font-weight: 400; }
.prose blockquote {
  margin: 2rem 0; padding: 1.15rem 1.4rem; background: var(--blush-50);
  border-left: 3px solid var(--accent); border-radius: 0 var(--r-md) var(--r-md) 0;
  font-style: italic; color: var(--ink-500);
}
.prose blockquote p:last-child { margin-bottom: 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 2rem 0; font-size: .95rem; }
.prose th, .prose td { border: 1px solid var(--rule-soft); padding: .7rem .9rem; text-align: left; }
.prose th { background: var(--ink-050); color: var(--ink-900); font-weight: 600; }

.article-nav { display: grid; gap: .9rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--rule-soft); }
.article-nav a { display: block; padding: 1.05rem 1.2rem; border: 1px solid var(--rule-soft); border-radius: var(--r-md); text-decoration: none; color: var(--ink-800); font-size: .94rem; font-weight: 500; line-height: 1.45; transition: border-color .18s var(--ease), background .18s var(--ease); }
.article-nav a:hover { border-color: var(--blush-200); background: var(--blush-50); }
.article-nav small { display: block; font-size: var(--t-xs); letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-bottom: .4rem; font-weight: 600; }

/* --------------------------------------------------------------- form --- */
.form { display: grid; gap: 1rem; }
.form__row { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr)); }
.field { display: grid; gap: .35rem; }
.field label { font-size: var(--t-sm); font-weight: 600; color: var(--ink-800); }
.field .req { color: var(--accent); }
.field input, .field textarea {
  width: 100%; padding: .8rem .95rem; font-family: var(--sans); font-size: .97rem;
  color: var(--ink-900); background: var(--white); border: 1px solid var(--rule);
  border-radius: var(--r-sm);
  transition: border-color .16s var(--ease), box-shadow .16s var(--ease), background .16s var(--ease);
}
.field input::placeholder, .field textarea::placeholder { color: var(--ink-300); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--blush-100); }
.field textarea { min-height: 145px; resize: vertical; }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: var(--accent); background: var(--blush-50); }
.field__error { font-size: var(--t-sm); color: var(--accent); margin: 0; }
.field__error:empty { display: none; }
/* Terms are accepted by submitting - a plain notice, no checkbox. */
.form__terms { margin: 0; font-size: .9rem; color: var(--ink-400); line-height: 1.55; }
.form__status { padding: .9rem 1.1rem; border-radius: var(--r-sm); font-size: .93rem; display: none; }
.form__status[data-state="ok"] { display: block; background: #EDF7EF; border: 1px solid #BFDFC7; color: #1F6030; }
.form__status[data-state="err"] { display: block; background: var(--blush-50); border: 1px solid var(--blush-200); color: var(--accent-700); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-panel { background: #fff; border: 1px solid var(--rule-soft); border-radius: var(--r-lg); padding: clamp(1.5rem, 1.1rem + 1.6vw, 2.4rem); box-shadow: var(--sh-1); }

/* ------------------------------------------------------------- offices -- */
/* About page - numbered editorial blocks: an oversized serif numeral beside
   each title/paragraph pair, accent underline beneath the serif heading. */
.about-blocks {
  max-width: 880px; margin-inline: auto;
  display: grid; gap: clamp(2.4rem, 1.7rem + 2.4vw, 4rem);
}
.about-block { display: grid; grid-template-columns: auto 1fr; gap: .4rem 1.7rem; align-items: start; }
.about-block__num {
  font-family: var(--display); font-size: clamp(2.2rem, 1.8rem + 1.4vw, 3.1rem);
  line-height: 1; color: var(--blush-200); min-width: 2.2ch;
  padding-top: .2rem; user-select: none;
}
.about-block h2 { font-size: var(--t-xl); margin-bottom: .55rem; }
.about-block h2::after {
  content: ""; display: block; width: 34px; height: 2px; border-radius: 2px;
  margin-top: .6rem; background: var(--accent); opacity: .65;
}
.about-block p { margin: 0; font-size: 1.02rem; line-height: 1.78; color: var(--ink-500); }
@media (max-width: 560px) {
  .about-block { grid-template-columns: 1fr; gap: .5rem; }
  .about-block__num { padding-top: 0; }
}

/* Offices - a design statement, not a utility list: dark ink cards echoing
   the hero and footer, big serif city names, a soft red glow in the corner. */
.offices { display: grid; gap: clamp(.9rem, .7rem + .9vw, 1.3rem); grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.office {
  position: relative; overflow: hidden; isolation: isolate;
  padding: clamp(1.5rem, 1.2rem + 1.1vw, 2.1rem);
  background: var(--ink-900); border: 1px solid var(--ink-800); border-radius: var(--r-lg);
  transition: transform .22s var(--ease), box-shadow .22s var(--ease), border-color .22s var(--ease);
}
.office::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(120% 90% at 12% 0%, rgba(196,14,14,.30) 0%, transparent 55%);
}
.office:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(22,22,26,.28); border-color: rgba(196,14,14,.5); }
.office h3 {
  display: flex; align-items: center; gap: .55rem;
  font-family: var(--display); font-weight: 400; font-size: var(--t-xl);
  color: #fff; margin-bottom: .55rem; letter-spacing: -.01em;
}
.office h3::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 10px rgba(196,14,14,.9); flex: none;
}
.office address { font-style: normal; font-size: .93rem; line-height: 1.6; color: rgba(255,255,255,.66); }

/* Contact page: the form and the "talk to us directly" block stack in one
   centred column - the info block sits under the form, tiles side by side. */
.contact-stack { max-width: 820px; margin-inline: auto; }
.contact-stack > div + div { margin-top: clamp(2.75rem, 2rem + 2.4vw, 4rem); }
.contact-tiles { display: grid; gap: .75rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 235px), 1fr)); }
.contact-tile {
  display: flex; align-items: center; gap: .9rem; padding: 1rem 1.15rem;
  background: #fff; border: 1px solid var(--rule-soft); border-radius: var(--r-md);
  text-decoration: none; transition: border-color .18s var(--ease), box-shadow .18s var(--ease), transform .18s var(--ease);
}
.contact-tile:hover { border-color: var(--blush-200); box-shadow: var(--sh-1); transform: translateY(-2px); }
.contact-tile__icon { flex: none; width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; background: var(--blush-100); color: var(--accent); }
.contact-tile__icon svg { width: 19px; height: 19px; fill: currentColor; }
.contact-tile__k { display: block; font-size: var(--t-xs); letter-spacing: .09em; text-transform: uppercase; color: var(--ink-300); }
.contact-tile__v { display: block; font-size: 1rem; font-weight: 600; color: var(--ink-900); }

/* ------------------------------------------------------------- gallery -- */
/* Compact album: only the first three photos show (wider lead + two tiles);
   clicking any of them opens the full set in a browser overlay with arrows.
   The remaining figures stay in the markup as the lightbox's source list. */
.gallery { display: grid; gap: .6rem; grid-template-columns: repeat(2, 1fr); }
.gallery figure { position: relative; margin: 0; overflow: hidden; border-radius: var(--r-md); background: var(--ink-050); cursor: zoom-in; aspect-ratio: 3/2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s var(--ease); }
.gallery figure:hover img { transform: scale(1.045); }
.gallery figure:nth-child(n+4) { display: none; }
.gallery figure:nth-child(1) { grid-column: span 2; aspect-ratio: 21/10; }
.gallery figure:nth-child(3)::after {
  content: "+3"; position: absolute; right: .6rem; bottom: .6rem;
  padding: .25rem .6rem; border-radius: 100px;
  background: rgba(22,22,26,.68); color: #fff;
  font-size: var(--t-sm); font-weight: 600; letter-spacing: .04em;
  pointer-events: none;
}
@media (min-width: 760px) {
  .gallery { grid-template-columns: 1.8fr 1fr 1fr; gap: .65rem; }
  .gallery figure, .gallery figure:nth-child(1) { grid-column: auto; aspect-ratio: auto; height: clamp(170px, 21vw, 250px); }
}

/* --------------------------------------------------------------- video -- */
.videos { display: grid; gap: clamp(1rem, .7rem + 1.2vw, 1.6rem); grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.video { background: #fff; border: 1px solid var(--rule-soft); border-radius: var(--r-md); overflow: hidden; transition: box-shadow .22s var(--ease), transform .22s var(--ease); }
.video:hover { box-shadow: var(--sh-2); transform: translateY(-2px); }
.video__frame { position: relative; aspect-ratio: 16/9; background: var(--ink-900); }
.video__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video__body { padding: 1.05rem 1.2rem 1.25rem; }
.video__src { display: block; font-size: var(--t-xs); letter-spacing: .09em; text-transform: uppercase; color: var(--accent); font-weight: 600; margin-bottom: .4rem; }
.video__body h3 { font-family: var(--sans); font-size: 1rem; font-weight: 600; margin-bottom: .3rem; }
.video__body p { font-size: .89rem; color: var(--ink-400); margin: 0; }

/* --------------------------------------------------------------- CTA ---- */
.cta { position: relative; background: var(--ink-900); color: rgba(255,255,255,.74); overflow: hidden; isolation: isolate; }
.cta::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(70% 130% at 50% 0%, rgba(196,14,14,.24) 0%, transparent 62%);
}
.cta h2 { color: #fff; }
.cta p { color: rgba(255,255,255,.72); }

/* ------------------------------------------------------------- footer --- */
.site-footer { background: var(--ink-900); color: rgba(255,255,255,.60); font-size: .92rem; }
/* The CTA above shares the footer's background; a short accent bar marks the
   seam between the two. */
.site-footer::before {
  content: ""; display: block; width: 76px; height: 3px; margin: 0 auto;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, var(--accent) 30%, var(--accent) 70%, transparent);
}
.site-footer a { color: rgba(255,255,255,.60); text-decoration: none; transition: color .15s var(--ease); }
.site-footer a:hover { color: #fff; }
.site-footer h3 { color: #fff; font-family: var(--sans); font-size: var(--t-xs); font-weight: 600; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 1rem; }

/* Brand-only footer top, centred on every viewport. */
.footer__top { padding-block: clamp(2.75rem, 2rem + 3vw, 4.25rem); }
.footer__brand { text-align: center; }
.footer__brand img { height: 40px; width: auto; margin-inline: auto; margin-bottom: 1rem; filter: brightness(0) invert(1); opacity: .92; }
.footer__brand p { max-width: 34ch; line-height: 1.62; margin-bottom: 0; margin-inline: auto; }
/* justify-items keeps each link shrink-wrapped to its text - as stretched
   grid items the tap targets would span the whole row */
.footer__contact { display: grid; gap: .4rem; margin-top: 1.1rem; justify-items: center; }
.footer__contact a { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; color: #fff; font-weight: 500; }
.footer__contact svg { width: 15px; height: 15px; fill: var(--accent); flex: none; }

/* Bottom block: © and legal links stack as centred rows on every viewport,
   a short hairline marking the break. */
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.10);
  padding-top: 1.4rem; padding-bottom: clamp(1.8rem, 1.3rem + 1.6vw, 2.75rem);
  display: flex; flex-direction: column; align-items: center; gap: 1.1rem;
  text-align: center; font-size: var(--t-sm); line-height: 1.5;
  color: rgba(255,255,255,.45);
}
.footer__bottom p { margin: 0; }
.footer__legal { display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem 1.1rem; }
@media (max-width: 1040px) {
  .site-footer { text-align: center; }
  /* "Toate drepturile rezervate." drops to its own centred line */
  .footer__rights { display: block; }
}
/* the bottom clearance for the floating call button stays footer-dark
   instead of body-white */
@media (max-width: 767px) {
  .site-footer { padding-bottom: 4.25rem; }
}

/* ----------------------------------------------- call now button (mobile) */
/* Full-width bottom bar showing only a big phone icon; the text label
   stays in the markup for screen readers only. */
/* Floating call button - a round FAB with a sonar pulse and a periodic
   receiver wiggle. Transform/opacity animations only, so it stays cheap. */
#callnowbutton {
  display: none; position: fixed; right: 1rem; bottom: 1.1rem; z-index: 90;
  align-items: center; justify-content: center;
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--accent); color: #fff; text-decoration: none;
  box-shadow: 0 6px 18px rgba(196,14,14,.42);
  transition: background .18s var(--ease), transform .18s var(--ease);
}
#callnowbutton::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid var(--accent);
  animation: call-pulse 5.6s var(--ease) infinite;
}
#callnowbutton:hover, #callnowbutton:focus { background: var(--accent-600); color: #fff; }
#callnowbutton:active { transform: scale(.92); }
#callnowbutton svg { width: 27px; height: 27px; fill: currentColor; flex: none; animation: call-wiggle 5.6s linear infinite; }
#callnowbutton span {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
@keyframes call-pulse {
  0%        { transform: scale(1); opacity: .75; }
  30%, 100% { transform: scale(1.65); opacity: 0; }
}
@keyframes call-wiggle {
  0%, 86%, 97%, 100% { transform: rotate(0); }
  89% { transform: rotate(14deg); }
  92% { transform: rotate(-11deg); }
  95% { transform: rotate(7deg); }
}
@media (max-width: 767px) {
  #callnowbutton { display: flex; }
}
@media (prefers-reduced-motion: reduce) {
  #callnowbutton::before, #callnowbutton svg { animation: none; }
}

/* ------------------------------------------------------ cookie notice --- */
.cookie {
  position: fixed; z-index: 95; left: var(--pad); right: var(--pad); bottom: var(--pad);
  max-width: 560px; margin-inline: auto; background: #fff; color: var(--ink-500);
  border: 1px solid var(--rule); border-radius: var(--r-lg);
  box-shadow: var(--sh-3); padding: 1.2rem 1.3rem; font-size: .9rem; line-height: 1.6;
}
.cookie[hidden] { display: none; }
.cookie p { margin: 0 0 .9rem; }
.cookie__actions { display: flex; flex-wrap: wrap; gap: .55rem; }
.cookie .btn { padding: .6rem 1.15rem; font-size: .84rem; }
@media (max-width: 767px) { .cookie { bottom: calc(62px + var(--pad)); } }

/* ----------------------------------------- malpraxis service page -------- */
/* Dark quick-facts panel beside the intro prose. */
.keyfacts {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--ink-900); color: rgba(255,255,255,.78);
  border-radius: var(--r-lg); padding: clamp(1.5rem, 1.2rem + 1.2vw, 2.25rem);
}
.keyfacts::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(90% 90% at 100% 0%, rgba(196,14,14,.28) 0%, transparent 62%);
}
.keyfacts h3 { color: #fff; font-family: var(--display); font-weight: 400; font-size: var(--t-xl); margin-bottom: .9rem; }
.keyfacts ul { list-style: none; margin: 0 0 1.5rem; padding: 0; }
.keyfacts li { margin: 0; padding: .8rem 0; font-size: .94rem; line-height: 1.6; }
.keyfacts li + li { border-top: 1px solid rgba(255,255,255,.13); }
.keyfacts strong { color: #fff; font-weight: 600; }
.keyfacts .btn { width: 100%; }

/* Grid of "mistake" items, each led by a red cross chip. */
.ticklist { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.ticklist li {
  display: flex; gap: .75rem; align-items: flex-start; margin: 0;
  background: #fff; border: 1px solid var(--rule-soft); border-radius: var(--r-md);
  padding: .9rem 1.05rem; font-size: .94rem; line-height: 1.55; color: var(--ink-500);
}
.ticklist li::before {
  content: "\2713"; flex: none; width: 22px; height: 22px; border-radius: 50%;
  background: #E7F4EB; color: #1E9E4C;
  display: grid; place-items: center; font-size: .78rem; font-weight: 700;
  margin-top: .1em;
}

/* Numbered patient-rights tiles. */
.right { display: flex; gap: .9rem; align-items: flex-start; }
.right__num { flex: none; font-family: var(--display); font-size: 1.4rem; line-height: 1.3; color: var(--accent); }
.right p { margin: 0; font-size: .95rem; }

/* FAQ - a permanently open list; every answer visible, no toggle. */
.faq__item { background: #fff; border: 1px solid var(--rule-soft); border-radius: var(--r-md); margin-bottom: .7rem; overflow: hidden; box-shadow: var(--sh-1); }
.faq__q {
  margin: 0; padding: 1.05rem 1.25rem .5rem;
  font-family: var(--sans); font-size: 1rem; font-weight: 600;
  color: var(--ink-900); letter-spacing: normal; line-height: 1.4;
}
.faq__body { padding: 0 1.25rem 1.15rem; color: var(--ink-400); font-size: .96rem; }
.faq__body p:last-child { margin-bottom: 0; }

/* ----------------------------------------------------- blog card partial -- */
/* Shared card markup used on the homepage, /blog and /media. The blog hub's
   lead article keeps the larger .post-card--feature treatment. */
.blog-card {
  position: relative; display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--rule-soft); border-radius: var(--r-md);
  overflow: hidden;
  transition: box-shadow .22s var(--ease), transform .22s var(--ease), border-color .22s var(--ease);
}
.blog-card:hover { border-color: var(--rule); box-shadow: var(--sh-2); transform: translateY(-2px); }
.blog-card__media { aspect-ratio: 16/9; overflow: hidden; background: var(--ink-050); }
.blog-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.blog-card:hover .blog-card__media img { transform: scale(1.04); }
.blog-card__body { display: flex; flex-direction: column; flex: 1; padding: 1.15rem 1.25rem 1.3rem; }
.blog-card__meta {
  display: flex; align-items: center; gap: .5rem; flex-wrap: wrap;
  font-size: var(--t-xs); letter-spacing: .07em; text-transform: uppercase;
  color: var(--ink-300); margin-bottom: .5rem;
}
.blog-card__cat { color: var(--accent); font-weight: 600; }
.blog-card__meta .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--ink-200); flex: none; }
.blog-card__title { font-family: var(--sans); font-size: 1.01rem; font-weight: 600; line-height: 1.4; letter-spacing: -.01em; margin: 0 0 .5rem; }
.blog-card__title a { color: var(--ink-900); text-decoration: none; }
.blog-card__title a::after { content: ""; position: absolute; inset: 0; }
.blog-card:hover .blog-card__title a { color: var(--accent); }
.blog-card__excerpt {
  font-size: .91rem; line-height: 1.6; color: var(--ink-400); margin: 0 0 1rem;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.blog-card__more { margin-top: auto; font-size: var(--t-sm); font-weight: 600; color: var(--accent); display: inline-flex; align-items: center; gap: .35rem; }
.blog-card__more svg { width: 14px; height: 14px; transition: transform .2s var(--ease); }
.blog-card:hover .blog-card__more svg { transform: translateX(3px); }
.blog-card--center { max-width: 420px; width: 100%; margin-inline: auto; }

/* --------------------------------------------------------- pagination ---- */
.pagination { display: flex; flex-wrap: wrap; gap: .45rem; justify-content: center; margin-top: clamp(2rem, 1.5rem + 1.6vw, 2.75rem); }
.pagination a, .pagination span {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 42px; height: 42px; padding: 0 .85rem;
  border: 1px solid var(--rule); border-radius: var(--r-sm);
  font-size: .9rem; font-weight: 600; color: var(--ink-700); text-decoration: none;
  transition: border-color .18s var(--ease), background .18s var(--ease), color .18s var(--ease);
}
.pagination a:hover { border-color: var(--blush-200); background: var(--blush-50); color: var(--accent); }
.pagination [aria-current="page"] { background: var(--accent); border-color: var(--accent); color: #fff; }

/* ------------------------------------------------------------ lightbox --- */
.lightbox {
  position: fixed; inset: 0; z-index: 120; display: grid; place-items: center;
  padding: clamp(1rem, 4vw, 3rem); background: rgba(18,18,22,.88); cursor: zoom-out;
  animation: lightbox-in .18s var(--ease);
}
.lightbox img {
  max-width: 100%; width: auto; height: auto;
  /* viewport-based cap: percentage max-height doesn't resolve inside the
     auto-sized grid row, so tall images overflowed the screen */
  max-height: calc(100vh - clamp(2rem, 8vw, 6rem));
  max-height: calc(100dvh - clamp(2rem, 8vw, 6rem));
  border-radius: var(--r-md); box-shadow: var(--sh-3);
}
@keyframes lightbox-in { from { opacity: 0; } to { opacity: 1; } }

.lightbox__nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 1;
  width: 46px; height: 46px; padding: 0; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.35); background: rgba(22,22,26,.55);
  color: #fff; font-size: 1.7rem; line-height: 1; display: grid; place-items: center;
  cursor: pointer; transition: background .18s var(--ease), border-color .18s var(--ease);
}
.lightbox__nav:hover { background: var(--accent); border-color: var(--accent); }
.lightbox__nav--prev { left: clamp(.6rem, 2.5vw, 1.75rem); }
.lightbox__nav--next { right: clamp(.6rem, 2.5vw, 1.75rem); }
.lightbox__count {
  position: absolute; bottom: 1rem; left: 50%; transform: translateX(-50%);
  color: rgba(255,255,255,.78); font-size: var(--t-sm); letter-spacing: .06em;
}

/* --------------------------------------------------------------- misc --- */
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.note { padding: 1.1rem 1.25rem; background: var(--blush-50); border: 1px solid var(--blush-200); border-radius: var(--r-md); font-size: .92rem; }
.note p:last-child { margin-bottom: 0; }

@media print {
  .site-header, .site-footer, #callnowbutton, .cookie, .hero__media, .crumbs, .article-nav { display: none !important; }
  body { color: #000; font-size: 11pt; }
}

/* ==========================================================================
   Additions - homepage media, values panel, reviews, media page, CTA band
   ========================================================================== */

/* Accent-outline button - used for the secondary large CTAs */
.btn--accent {
  background: transparent; color: var(--accent); border-color: var(--accent);
}
.btn--accent:hover { background: var(--accent); color: #fff; border-color: var(--accent); }

/* Balanta panel: scales image with the three values set over it ------------ */
.values {
  position: relative; overflow: hidden; border-radius: var(--r-lg);
  background: var(--ink-900); isolation: isolate;
  min-height: clamp(320px, 26vw, 440px);
  display: grid; place-items: center; padding: 2rem 1.5rem;
}
/* On desktop the panel stretches to the full height of the bio column so the
   two sit flush side by side. */
@media (min-width: 940px) {
  .grid--split > .values { align-self: stretch; }
}
.values__bg { position: absolute; inset: 0; z-index: -2; }
.values__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center; opacity: .38; }
.values::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(80% 70% at 50% 15%, rgba(196,14,14,.30) 0%, transparent 62%),
    linear-gradient(180deg, rgba(18,18,22,.55), rgba(18,18,22,.86));
}
.values__list { list-style: none; margin: 0; padding: 0; text-align: center; display: grid; gap: clamp(.9rem, .5rem + 1.4vw, 1.6rem); }
.values__list li { margin: 0; }
.values__list span {
  display: block; font-family: var(--display); font-size: clamp(1.5rem, 1.15rem + 1.6vw, 2.25rem);
  color: #fff; line-height: 1.1; letter-spacing: -.01em;
}
.values__list li + li { padding-top: clamp(.9rem, .5rem + 1.4vw, 1.6rem); border-top: 1px solid rgba(255,255,255,.16); }

/* Presentation video ------------------------------------------------------- */
.videoblock { max-width: 780px; margin-inline: auto; }
.videoblock video {
  width: 100%; border-radius: var(--r-lg); background: var(--ink-900);
  box-shadow: var(--sh-2); display: block;
}
/* The two CTAs together span exactly the video's width; on small screens
   they stack, each full-width. */
.videoblock__cta { margin-top: 1.75rem; display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.videoblock__cta .btn { width: 100%; }
@media (max-width: 640px) { .videoblock__cta { grid-template-columns: 1fr; } }

/* Click-to-play facade: until the first click the video is just its poster
   with a white play triangle; controls appear only after playback starts. */
.videoblock__frame { position: relative; }
.videoblock__play {
  position: absolute; inset: 0; width: 100%; height: 100%;
  display: grid; place-items: center; padding: 0; border: 0;
  border-radius: var(--r-lg); background: rgba(18,18,22,.15); cursor: pointer;
  transition: background .2s var(--ease);
}
.videoblock__play:hover { background: rgba(18,18,22,.28); }
.videoblock__play svg {
  width: clamp(58px, 9vw, 84px); height: clamp(58px, 9vw, 84px); color: #fff;
  filter: drop-shadow(0 4px 18px rgba(0,0,0,.5));
  transition: transform .2s var(--ease);
}
.videoblock__play:hover svg { transform: scale(1.08); }
.videoblock__play[hidden] { display: none; }

/* Google reviews ----------------------------------------------------------- */
.reviews { display: grid; gap: clamp(1.5rem, 1rem + 2vw, 2.75rem); justify-items: center; text-align: center; }
/* Static display card - deliberately not a link; the button below it is. */
.reviews__badge {
  display: inline-block; background: #fff; border: 1px solid var(--rule-soft);
  border-radius: var(--r-lg); padding: clamp(.85rem, .7rem + .5vw, 1.15rem);
  box-shadow: var(--sh-1);
  max-width: 300px;
}

/* Homepage - three sample outcomes ahead of the cases CTA ------------------ */
.cases-sample { align-items: stretch; margin-bottom: clamp(1.6rem, 1.1rem + 1.6vw, 2.4rem); }
.cases-sample .case { margin-bottom: 0; }
.cases-sample .case p { font-size: 1rem; }
.reviews__badge img {
  width: 100%; height: auto; border-radius: var(--r-sm);
  pointer-events: none; user-select: none; -webkit-user-drag: none;
}

/* Dark CTA band - matches the retired site's mid-page call to action ------- */
.cta-band { background: var(--ink-800); color: rgba(255,255,255,.82); }
.cta-band .shell { display: grid; gap: 1.5rem; align-items: center; }
@media (min-width: 860px) { .cta-band .shell { grid-template-columns: 1fr auto; gap: 2.5rem; } }
.cta-band p { margin: 0; color: #fff; font-size: var(--t-lg); line-height: 1.45; max-width: 46ch; }
.cta-band .btn { background: var(--accent); color: #fff; border-color: var(--accent); }
.cta-band .btn:hover { background: var(--accent-600); border-color: var(--accent-600); }

/* Media page --------------------------------------------------------------- */
.video__meta { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; font-size: var(--t-xs); color: var(--ink-300); margin-top: .5rem; }
.video__meta .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--ink-200); flex: none; }

.press { display: grid; gap: .85rem; }
.press-item {
  position: relative; display: grid; gap: .55rem; padding: 1.35rem 1.5rem;
  background: #fff; border: 1px solid var(--rule-soft); border-radius: var(--r-md);
  transition: box-shadow .22s var(--ease), transform .22s var(--ease), border-color .22s var(--ease);
}
.press-item::before {
  content: ""; position: absolute; inset: 0 auto 0 0; width: 3px; background: var(--accent);
  transform: scaleY(0); transform-origin: top; transition: transform .3s var(--ease);
}
.press-item:hover { box-shadow: var(--sh-2); transform: translateY(-2px); border-color: var(--rule); }
.press-item:hover::before { transform: scaleY(1); }
.press-item__src { font-size: var(--t-xs); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.press-item__title { font-family: var(--sans); font-size: 1.02rem; font-weight: 600; line-height: 1.45; margin: 0; }
.press-item__title a { color: var(--ink-900); text-decoration: none; }
.press-item__title a::after { content: ""; position: absolute; inset: 0; }
.press-item:hover .press-item__title a { color: var(--accent); }
.press-item__meta { display: flex; align-items: center; gap: .5rem; font-size: var(--t-sm); color: var(--ink-300); }
.press-item__more { display: inline-flex; align-items: center; gap: .35rem; font-size: var(--t-sm); font-weight: 600; color: var(--accent); }
.press-item__more svg { width: 14px; height: 14px; transition: transform .2s var(--ease); }
.press-item:hover .press-item__more svg { transform: translateX(3px); }
