/* Self-hosted fonts (SIL OFL — see fonts/OFL-*.txt) */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("fonts/inter-400-700-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

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

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

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

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

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

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

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

:root {
  --color-bg: #ffffff;
  --color-bg-alt: #f2f5f9;
  --color-text: #0f1b2a;
  --color-text-muted: #4f5b6a;
  --color-primary: #0f2a44;
  --color-primary-dark: #0b1f33;
  --color-primary-hover: #1b3d61;
  --color-on-primary: #ffffff;
  --color-link: #0f2a44;
  --color-heading: #0f2a44;
  /* Brand accent (the bee's amber): fills, underlines, badges */
  --accent: #f2b630;
  --accent-hover: #ffc94d;
  --accent-dark: #a86f0c; /* icons/graphics on light backgrounds (≥3:1) */
  --color-on-accent: #0f2a44;
  /* Page header band (Despre, Servicii, …) */
  --color-header-bg: #0f2a44;
  --color-header-text: #ffffff;
  --color-header-muted: #c9d5e3;
  /* Call-to-action band */
  --color-cta-bg: #0f2a44;
  --color-cta-text: #ffffff;
  --color-cta-muted: #c9d5e3;
  /* Footer */
  --color-footer-bg: #0b1f33;
  --color-footer-text: #b6c3d1;
  --color-footer-heading: #ffffff;
  --color-footer-link: #e3eaf2;
  --color-footer-border: #22384f;
  --color-footer-muted: #93a3b5;
  --color-footer-logo-bg: #ffffff;
  --color-border: #e6e9ed;
  --color-border-subtle: #eef0f3; /* dividers inside the mobile menu */
  --color-input-border: #d9dde3;
  --border-radius: 10px;
  --pill-radius: 999px;
  --max-width: 1120px;
  --font-display: "Poppins", "Segoe UI", Arial, Helvetica, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
}

h1, h2, h3,
.logo,
.btn,
.form-submit {
  font-family: var(--font-display);
  font-weight: 700;
}

h1, h2, h3 {
  color: var(--color-heading);
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Header / Nav */
.site-header {
  border-bottom: 1px solid var(--color-border);
  background: var(--color-bg);
  position: sticky;
  top: 0;
  z-index: 10;
}

.nav {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  padding-bottom: 18px;
}

.logo-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-heading);
  text-decoration: none;
  letter-spacing: 0.01em;
}

.logo-bee {
  display: inline-block;
  font-size: 1.75rem;
}

.logo-bee svg {
  display: block;
  width: 0.75em;
  height: 1em;
}

.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  position: relative;
  display: inline-block;
  color: var(--color-text);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  padding-bottom: 4px;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 3px;
  background: var(--accent);
  transition: width 200ms ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--color-heading);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0 6px;
  margin-right: -6px;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
}

/* Hero */
/* Home hero: text on the header band, no photo; the bee as a faint watermark */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--color-header-bg);
  padding: 96px 0 88px;
}

.hero::after {
  content: "";
  position: absolute;
  top: 50%;
  right: max(24px, calc((100% - var(--max-width)) / 2));
  width: 270px;
  height: 360px;
  background: url("favicon.svg") no-repeat center / contain;
  opacity: 0.14;
  transform: translateY(-50%) rotate(14deg);
  pointer-events: none;
}

.hero-text {
  position: relative;
  z-index: 1;
  max-width: 680px;
}

.hero-text h1 {
  font-size: clamp(2rem, 4vw, 2.9rem);
  font-weight: 800;
  line-height: 1.2;
  margin: 0 0 18px;
  color: var(--color-header-text);
}

.hero-text p {
  max-width: 560px;
  margin: 0 0 30px;
  color: var(--color-header-muted);
  font-size: 1.15rem;
}

.hero .btn {
  background: var(--accent);
  color: var(--color-on-accent);
}

.hero .btn:hover {
  background: var(--accent-hover);
}

/* Outline in the band's text colour, so it works on light theme headers too */
.hero .btn-secondary {
  background: transparent;
  color: var(--color-header-text);
  box-shadow: inset 0 0 0 2px var(--color-header-text);
}

.hero .btn-secondary:hover {
  background: var(--color-header-text);
  color: var(--color-header-bg);
}

.btn {
  display: inline-block;
  background: var(--color-primary);
  color: var(--color-on-primary);
  padding: 12px 26px;
  border-radius: var(--pill-radius);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: background-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.btn:hover {
  background: var(--color-primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 24px -12px rgba(13, 15, 18, 0.5);
}

/* Secondary action next to a primary .btn */
.btn-secondary {
  background: transparent;
  color: var(--color-primary);
  box-shadow: inset 0 0 0 2px var(--color-primary);
}

.btn-secondary:hover {
  background: var(--color-bg-alt);
  box-shadow: inset 0 0 0 2px var(--color-primary);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--color-link);
  outline-offset: 2px;
}

/* On dark bands the default navy outline would be invisible */
.cta-band a:focus-visible,
.site-footer a:focus-visible {
  outline-color: var(--accent);
}

.hero a:focus-visible {
  outline-color: var(--color-header-text);
}

/* Sections */
.section {
  padding: 64px 0;
}

/* A section that continues the one above it, without a second top gap */
.section-continued {
  padding-top: 0;
}

.section-title {
  text-align: center;
  font-size: 1.9rem;
  color: var(--color-heading);
  margin: 0 0 12px;
}

.section-subtitle {
  text-align: center;
  color: var(--color-text-muted);
  max-width: 600px;
  margin: 0 auto 40px;
}

/* Icon rows (services / trust indicators) */
.icon-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
  padding: 32px 0;
}

.icon-row-divider {
  border-top: 1px solid var(--color-border);
}

.icon-item .icon-circle {
  margin-bottom: 12px;
  color: var(--accent-dark);
}

.icon-circle svg {
  width: 1.8rem;
  height: 1.8rem;
}

.icon-item h2,
.icon-item h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text);
}

/* CTA band */
.cta-band {
  background: var(--color-cta-bg);
  padding: 56px 0;
  text-align: center;
}

.cta-band h2 {
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--color-cta-text);
  margin: 0 0 10px;
}

.cta-band p {
  color: var(--color-cta-muted);
  margin: 0 0 24px;
}

.cta-band .btn {
  background: var(--accent);
  color: var(--color-on-accent);
}

.cta-band .btn:hover {
  background: var(--accent-hover);
}

/* Footer */
.site-footer {
  background: var(--color-footer-bg);
  color: var(--color-footer-text);
  padding: 48px 0 24px;
  font-size: 0.9rem;
}

.footer-logo {
  font-size: 2.25rem;
  display: inline-flex;
  padding: 8px 10px;
  border-radius: 50%;
  background: var(--color-footer-logo-bg);
}

.footer-about {
  max-width: 260px;
  margin: 14px 0 0;
  line-height: 1.55;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 32px;
  margin-bottom: 24px;
}

/* Column titles are h2 (the footer is a top-level landmark), styled as small labels */
.footer-grid h2 {
  color: var(--color-footer-heading);
  margin: 0 0 12px;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: inherit;
  letter-spacing: normal;
}

.footer-grid ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-grid li {
  margin-bottom: 8px;
}

.footer-grid a {
  color: var(--color-footer-link);
  text-decoration: none;
}

.footer-grid a:hover {
  color: var(--accent);
  text-decoration: underline;
}

.footer-bottom {
  border-top: 1px solid var(--color-footer-border);
  padding-top: 18px;
  text-align: center;
  font-size: 0.85rem;
  color: var(--color-footer-muted);
}

/* Simple page header for sub-pages */
.page-header {
  background: var(--color-header-bg);
  padding: 56px 0;
  text-align: center;
}

.page-header h1 {
  color: var(--color-header-text);
  margin: 0 0 10px;
}

.page-header p {
  color: var(--color-header-muted);
  margin: 0;
}

/* Text blocks (About page style sections) */
.text-block {
  max-width: 760px;
  margin: 0 0 40px;
}

.text-block h2 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-text);
  margin: 0 0 12px;
}

.text-block p {
  color: var(--color-text-muted);
  margin: 0;
  font-size: 1.02rem;
}

/* Icon row with description (value props) */
.icon-row-desc .icon-item {
  text-align: center;
}

.icon-row-desc .icon-item h3 {
  margin-bottom: 8px;
}

.icon-row-desc .icon-item p {
  color: var(--color-text-muted);
  font-size: 0.92rem;
  margin: 0;
}

/* Supporting section image (Despre / Servicii) */
/* Services list (icon + title + paragraphs, stacked) */
.service-block {
  margin-bottom: 16px;
  max-width: 760px;
  padding: 20px;
  margin-left: -20px;
  border-radius: var(--border-radius);
  transition: background-color 200ms ease;
}

.service-block:hover {
  background: var(--color-bg-alt);
}

.service-block {
  scroll-margin-top: 96px;
}

.service-block h2 {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--color-text);
  margin: 0 0 14px;
}

.service-block h2 .icon-circle {
  display: inline-flex;
  color: var(--accent-dark);
}

.service-block h2 .icon-circle svg {
  width: 1.5rem;
  height: 1.5rem;
}

.service-block p {
  color: var(--color-text-muted);
  margin: 0 0 12px;
}

.service-block .service-cta {
  margin: 16px 0 0;
}

.service-cta a {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--color-link);
}

/* Team page: profile cards */
.text-block-center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* Narrow cards keep the 4:5 portraits at a sensible height, uncropped */
.profile-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: 800px;
  margin: 0 auto;
}

.profile {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius);
  overflow: hidden;
  background: var(--color-bg);
}

/* Initials avatar: stands in for portraits until real photos exist */
.monogram {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: var(--color-primary);
  color: var(--accent);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.9rem;
  letter-spacing: 0.02em;
}

/* Second person: inverted colours (both are "AȘ") */
.monogram-alt {
  background: var(--accent);
  color: var(--color-on-accent);
}

.profile-head {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 18px;
}

.profile-body {
  padding: 24px 28px 28px;
}

.profile-body h2 {
  margin: 0;
  font-size: 1.35rem;
}

.profile-role {
  margin: 4px 0 0;
  font-weight: 600;
  color: var(--accent-dark);
}

.profile-body p {
  color: var(--color-text-muted);
}

.profile-body > p:not(.profile-role) {
  margin: 0 0 18px;
}

.profile-body h3 {
  margin: 0 0 8px;
  font-size: 0.95rem;
}

.practice-list {
  margin: 0;
  padding-left: 1.2em;
}

.practice-list li {
  margin-bottom: 4px;
}

.practice-list a {
  color: var(--color-link);
}

/* Team page: accreditations with links to the official registers */
.accreditations {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
  padding: 0;
}

.accreditations li {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-left: 3px solid var(--accent);
  border-radius: var(--border-radius);
  padding: 22px 24px;
}

.accreditations h3 {
  margin: 0 0 6px;
  font-size: 1.1rem;
}

.accreditations p {
  margin: 0 0 10px;
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

.accreditations p:last-child {
  margin-bottom: 0;
}

.accreditations a {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--color-link);
}

/* Contact page: details and form side by side, map below */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 48px;
  align-items: start;
}

.contact-details {
  padding: 28px;
  background: var(--color-bg-alt);
  border-radius: var(--border-radius);
}

.contact-details h2,
.contact-form-panel h2 {
  font-size: 1.5rem;
  color: var(--color-text);
  margin: 0 0 14px;
}

.contact-form-panel {
  scroll-margin-top: 96px;
}

.contact-details p {
  margin: 0 0 8px;
  color: var(--color-text-muted);
}

.contact-details a {
  color: var(--color-link);
  font-weight: 600;
  text-decoration: none;
}

.contact-details a:hover {
  text-decoration: underline;
}

.map-embed {
  margin: 56px 0 0;
  border-radius: var(--border-radius);
  overflow: hidden;
  border: 1px solid var(--color-border);
}

.map-embed iframe {
  width: 100%;
  height: 360px;
  border: 0;
  display: block;
}

.contact-form {
  margin: 0;
}

.form-group {
  margin-bottom: 18px;
  text-align: left;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--color-input-border);
  border-radius: 8px;
  background: var(--color-bg-alt);
  font-family: inherit;
  font-size: 1rem; /* below 16px, iOS Safari zooms the page when a field is tapped */
  color: var(--color-text);
}

.form-group .optional {
  font-weight: 400;
  color: var(--color-text-muted);
}

.form-check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 20px;
  font-size: 0.88rem;
  color: var(--color-text-muted);
  text-align: left;
}

.form-check input {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  flex-shrink: 0;
  accent-color: var(--color-primary);
}

/* Facts the firm still has to supply — visible on purpose so they can't ship unnoticed */
mark.todo {
  background: #fff3c4;
  color: #6b4e00;
  padding: 0 4px;
  border-radius: 4px;
}

.form-group textarea {
  min-height: 110px;
  resize: vertical;
}

.form-submit {
  display: block;
  width: 100%;
  background: var(--color-primary);
  color: #fff;
  border: none;
  padding: 14px 0;
  border-radius: var(--pill-radius);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
}

.form-submit:hover {
  background: var(--color-primary-hover);
}

/* Anchor targets (e.g. #cum-lucram) clear the sticky header */
section[id] {
  scroll-margin-top: 64px;
}

/* Alternate-background section */
.section-alt {
  background: var(--color-bg-alt);
}

/* "Cum lucrăm" numbered process */
.process-steps {
  list-style: none;
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin: 0;
  padding: 0;
}

.process-steps li {
  counter-increment: step;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius);
  padding: 24px 20px;
}

.process-steps li::before {
  content: counter(step);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin-bottom: 14px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--color-on-accent);
  font-family: var(--font-display);
  font-weight: 700;
}

.process-steps h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
}

.process-steps p {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

/* Home: credentials strip under the hero */
.trust-strip {
  background: var(--color-bg-alt);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  padding: 18px 0;
}

.trust-strip ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 36px;
  margin: 0;
  padding: 0;
}

.trust-strip li {
  position: relative;
  padding-left: 26px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--color-heading);
}

/* Check mark drawn with borders, so it follows the theme's accent */
.trust-strip li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 0.2em;
  width: 6px;
  height: 12px;
  border: solid var(--accent-dark);
  border-width: 0 2.5px 2.5px 0;
  transform: rotate(45deg);
}

/* Home: service cards (3×2) */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  display: flex;
  flex-direction: column;
  padding: 28px 24px;
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius);
  background: var(--color-bg);
  color: inherit;
  text-decoration: none;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.service-card:hover {
  border-color: var(--accent);
  box-shadow: 0 16px 32px -20px rgba(15, 42, 68, 0.35);
  transform: translateY(-2px);
}

.service-card .icon-circle {
  margin-bottom: 14px;
  color: var(--accent-dark);
}

.service-card h3 {
  margin: 0 0 8px;
  font-size: 1.1rem;
}

.service-card p {
  margin: 0 0 16px;
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

.card-more {
  margin-top: auto;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--color-link);
}

.service-card:hover .card-more {
  text-decoration: underline;
}

/* Home: key numbers */
.stats {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 48px 0 0;
  padding: 32px 0 0;
  border-top: 1px solid var(--color-border);
  text-align: center;
  color: var(--color-text-muted);
}

.stats strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 800;
  line-height: 1.2;
  color: var(--color-heading);
}

.stats strong mark.todo {
  font-size: 1.4rem;
}

/* "Read more" link under a home section */
.section-link {
  text-align: center;
  margin: 32px 0 0;
}

.section-link a {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--color-link);
}

/* Home: team teaser */
.team-teaser {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 280px));
  justify-content: center;
  gap: 40px;
}

.team-card {
  display: block;
  padding: 32px 20px 28px;
  text-align: center;
  color: inherit;
  text-decoration: none;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.team-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 36px -18px rgba(15, 42, 68, 0.4);
}

.team-card .monogram {
  width: 104px;
  height: 104px;
  margin: 0 auto 16px;
  font-size: 2.2rem;
}

.team-card h3 {
  margin: 0 0 2px;
  font-size: 1.1rem;
}

.team-card p {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

/* Home: "Pentru cine lucrăm" */
.audience-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin: 0;
  padding: 0;
}

.audience-grid li {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-top: 3px solid var(--accent);
  border-radius: var(--border-radius);
  padding: 24px 20px;
}

.audience-grid h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
}

.audience-grid p {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

/* FAQ accordion (native <details>, no JS) */
.faq {
  max-width: 760px;
  margin: 0 auto;
}

.faq details {
  border-bottom: 1px solid var(--color-border);
}

.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 36px 18px 0;
  position: relative;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--color-text);
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--color-text-muted);
}

.faq details[open] summary::after {
  content: "−";
}

.faq details p {
  margin: 0 0 18px;
  color: var(--color-text-muted);
}

/* Per-person register numbers on the team page; one click selects the whole number, ready to copy */
.reg-no {
  font-weight: 700;
  color: var(--color-heading);
  white-space: nowrap;
  user-select: all;
}

.verify-link {
  margin: 0 0 16px;
  font-size: 0.88rem;
}

.verify-link a {
  color: var(--color-link);
}

/* Text for screen readers only (e.g. "opens in a new tab") */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* Skip link: hidden until focused with the keyboard */
/* Back-to-top arrow (shown by script.js after two screens of scrolling) */
.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 2px solid var(--color-on-primary); /* keeps it visible over the navy footer */
  border-radius: 50%;
  background: var(--color-primary);
  color: var(--color-on-primary);
  box-shadow: 0 8px 20px -8px rgba(15, 42, 68, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: opacity 200ms ease, visibility 200ms ease, background-color 180ms ease;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--color-primary-hover);
}

.back-to-top:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.back-to-top svg {
  width: 22px;
  height: 22px;
}

/* Focused programmatically after "back to top"; no outline around the whole header */
.site-header:focus {
  outline: none;
}

@media print {
  .back-to-top {
    display: none;
  }
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--color-primary);
  color: #fff;
  border-radius: var(--border-radius);
  text-decoration: none;
  font-weight: 600;
}

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
  .btn:hover,
  .service-card:hover,
  .team-card:hover {
    transform: none;
  }
}

/* Responsive */
@media (max-width: 900px) {
  .icon-row {
    grid-template-columns: repeat(2, 1fr);
  }
  .process-steps {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero {
    padding: 64px 0 60px;
  }
  .hero::after {
    display: none;
  }
  .hero-text {
    margin: 0 auto;
    text-align: center;
  }
  .hero-text p {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-actions {
    justify-content: center;
  }
  .card-grid,
  .audience-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .back-to-top {
    right: 16px;
    bottom: 16px;
  }
  /* Room under the copyright line so the arrow never covers it */
  .site-footer {
    padding-bottom: 80px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .process-steps {
    grid-template-columns: 1fr;
  }
  .nav-toggle {
    display: flex;
  }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--color-bg);
    border-top: 1px solid var(--color-border);
    padding: 12px 24px 20px;
    box-shadow: 0 12px 24px -16px rgba(17, 19, 24, 0.2);
  }
  .nav-links.open {
    display: flex;
  }
  .nav-links li {
    padding: 10px 0;
    border-bottom: 1px solid var(--color-border-subtle);
  }
  .icon-row {
    grid-template-columns: 1fr;
  }
  .audience-grid,
  .stats {
    grid-template-columns: 1fr;
  }
  /* Home services: compact two-column tiles (title + link); details are one tap away */
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .service-card {
    padding: 18px 16px;
  }
  .service-card p {
    display: none;
  }
  .service-card h3 {
    font-size: 1rem;
    margin-bottom: 12px;
  }
  .team-teaser {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .profile-grid,
  .accreditations {
    grid-template-columns: 1fr;
  }
  .trust-strip ul {
    flex-direction: column;
    align-items: flex-start;
    width: fit-content;
    margin: 0 auto;
  }
}
