/* Hitelesed.hu — üzleti / hiteltanácsadói design system */

:root {
  --color-navy: #0a1622;
  --color-navy-deep: #071018;
  --color-navy-mid: #102033;
  --color-navy-card: #132538;
  --color-navy-elevated: #183047;
  --color-gold: #b8975a;
  --color-gold-bright: #c9a85a;
  --color-gold-muted: #9a7d48;
  --color-warm-white: #f4f1ea;
  --color-soft-white: #e8e2d6;
  --text-mid: rgba(244, 241, 234, 0.78);
  --text-low: rgba(244, 241, 234, 0.58);
  --text-dim: rgba(244, 241, 234, 0.38);
  --space-section: clamp(4.5rem, 7vw, 7.5rem);
  --border: 1px solid rgba(184, 151, 90, 0.28);
  --border-strong: 1px solid rgba(184, 151, 90, 0.55);
  --shadow-soft: 0 12px 40px rgba(0, 0, 0, 0.28);
  --shadow-box: 0 4px 14px rgba(0, 0, 0, 0.22);
  --font-display: "Cormorant Garamond", "Times New Roman", Georgia, serif;
  --font-body: "Source Sans 3", "Segoe UI", sans-serif;
  --max-width: 1180px;
  --topbar-h: 2.4rem;
  --header-h: 4.75rem;
  --focus: 0 0 0 3px rgba(184, 151, 90, 0.5);
  --radius-box: 12px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  /* Sticky header only (topbar scrolls away) */
  scroll-padding-top: calc(var(--header-h) + 1rem);
  overflow-x: clip;
  scrollbar-gutter: stable;
  scrollbar-width: thin;
  scrollbar-color: rgba(184, 151, 90, 0.7) rgba(244, 241, 234, 0.08);
}

/* WebKit scrollbar — only on page + scrollable panels (not every element) */
html::-webkit-scrollbar,
.mobile-nav::-webkit-scrollbar {
  width: 12px;
  height: 12px;
}

html::-webkit-scrollbar-track,
.mobile-nav::-webkit-scrollbar-track {
  background: rgba(244, 241, 234, 0.06);
}

html::-webkit-scrollbar-thumb,
.mobile-nav::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(184, 151, 90, 0.65), rgba(154, 125, 72, 0.85));
  border-radius: 999px;
  border: 3px solid var(--color-navy-deep);
  background-clip: padding-box;
}

html::-webkit-scrollbar-thumb:hover,
.mobile-nav::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, var(--color-gold-bright), var(--color-gold));
  border: 3px solid var(--color-navy-deep);
  background-clip: padding-box;
}

html::-webkit-scrollbar-corner,
.mobile-nav::-webkit-scrollbar-corner {
  background: transparent;
}

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--color-warm-white);
  background: var(--color-navy);
  min-height: 100vh;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--color-gold-bright);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--color-warm-white);
}

:focus-visible {
  outline: none;
  box-shadow: var(--focus);
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 1000;
  background: var(--color-gold);
  color: var(--color-navy);
  padding: 0.75rem 1rem;
  font-weight: 600;
  text-decoration: none;
}

.skip-link:focus { top: 1rem; }

.container {
  width: min(100% - 2.5rem, var(--max-width));
  margin-inline: auto;
}

.prose-width { max-width: 38rem; }

/* Typography */
.eyebrow {
  margin: 0 0 0.85rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-gold);
}

h1, .h1 {
  font-family: var(--font-display);
  font-size: clamp(2.35rem, 4.8vw, 4.35rem);
  line-height: 1.08;
  font-weight: 600;
  margin: 0 0 1rem;
  letter-spacing: -0.01em;
}

h2, .h2 {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3vw, 2.85rem);
  line-height: 1.15;
  font-weight: 600;
  margin: 0 0 0.85rem;
}

h3, .h3 {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 1.6vw, 1.55rem);
  line-height: 1.25;
  font-weight: 600;
  margin: 0 0 0.7rem;
}

.lead {
  font-size: 1.0625rem;
  color: var(--text-mid);
  margin: 0 0 1.5rem;
  max-width: 36rem;
}

.section {
  padding-block: var(--space-section);
}

.section--alt {
  background: linear-gradient(180deg, var(--color-navy-mid) 0%, var(--color-navy) 100%);
  border-block: 1px solid rgba(184, 151, 90, 0.12);
}

.section-head {
  margin-bottom: clamp(2.25rem, 4vw, 3.25rem);
  text-align: center;
}

.section-head__text {
  margin-inline: auto;
  max-width: 40rem;
}

.section-head .prose-width,
.section-head__text.prose-width {
  margin-inline: auto;
}

.section-head__rule {
  margin: 1.25rem auto 0;
  width: 3.5rem;
  height: 2px;
  background: var(--color-gold);
}

.section-head__note {
  margin: 0.85rem auto 0;
  color: var(--text-low);
  font-size: 0.98rem;
  max-width: 32rem;
  text-align: center;
}

.section-head--aside {
  text-align: center;
}

.section-cta {
  margin-top: 2.25rem;
  text-align: center;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.8rem 1.6rem;
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: var(--radius-box);
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.btn--gold {
  background: var(--color-gold);
  color: var(--color-navy);
  border-color: var(--color-gold);
}

.btn--gold:hover {
  background: var(--color-gold-bright);
  color: var(--color-navy);
  box-shadow: 0 8px 24px rgba(184, 151, 90, 0.25);
}

.btn--ghost {
  background: transparent;
  color: var(--color-warm-white);
  border-color: rgba(184, 151, 90, 0.45);
}

.btn--ghost:hover {
  border-color: var(--color-gold);
  color: var(--color-gold-bright);
}

.btn--navy {
  background: var(--color-navy);
  color: var(--color-warm-white);
  border-color: var(--color-navy);
}

.btn--navy:hover {
  background: var(--color-navy-elevated);
  color: var(--color-warm-white);
}

.btn--block { width: 100%; }
.btn--header { display: none; }
.btn:disabled { opacity: 0.65; cursor: not-allowed; }

.cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.1rem;
}

/* Top bar */
.topbar {
  background: var(--color-navy-deep);
  border-bottom: 1px solid rgba(184, 151, 90, 0.18);
  font-size: 0.8rem;
  min-height: var(--topbar-h);
}

.topbar__inner {
  width: min(100% - 2.5rem, var(--max-width));
  margin-inline: auto;
  min-height: var(--topbar-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.topbar__role {
  margin: 0;
  color: var(--text-low);
  letter-spacing: 0.02em;
}

.topbar__contacts {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 1.25rem;
}

.topbar__contacts a {
  color: var(--text-mid);
  text-decoration: none;
  font-weight: 500;
}

.topbar__contacts a:hover {
  color: var(--color-gold-bright);
}

@media (max-width: 640px) {
  .topbar__role { display: none; }
  .topbar__inner { justify-content: center; }
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(10, 22, 34, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(184, 151, 90, 0.12);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.site-header.is-scrolled {
  border-bottom-color: rgba(184, 151, 90, 0.4);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
}

.site-header__inner {
  width: min(100% - 2.5rem, var(--max-width));
  margin-inline: auto;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--color-warm-white);
  margin-right: auto;
  min-width: 0;
}

.logo__img {
  width: 2.75rem;
  height: 2.75rem;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  flex-shrink: 0;
  display: block;
}

.logo__copy {
  display: flex;
  flex-direction: column;
  gap: 0.05rem;
  min-width: 0;
}

.logo__text {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: 0.01em;
}

.logo__tag {
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-low);
  font-weight: 600;
}

@media (max-width: 420px) {
  .logo__tag { display: none; }
  .logo__img {
    width: 2.4rem;
    height: 2.4rem;
  }
  .logo__text { font-size: 1.25rem; }
}

.nav-desktop { display: none; }

.nav-desktop__list {
  display: flex;
  gap: 0.15rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-desktop__list a {
  color: var(--text-mid);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.55rem 0.7rem;
  border-bottom: 2px solid transparent;
}

.nav-desktop__list a:hover {
  color: var(--color-warm-white);
  border-bottom-color: var(--color-gold);
}

.nav-toggle {
  width: 44px;
  height: 44px;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  background: transparent;
  border: var(--border);
  color: var(--color-warm-white);
  cursor: pointer;
  padding: 0;
}

.nav-toggle__bar {
  display: block;
  width: 18px;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

.mobile-nav {
  position: fixed;
  inset: calc(var(--topbar-h) + var(--header-h)) 0 0;
  z-index: 99;
  background: rgba(7, 16, 24, 0.98);
  padding: 1.75rem;
  overflow-y: auto;
}

.mobile-nav[hidden] { display: none; }

.mobile-nav__list {
  list-style: none;
  margin: 0 0 1.75rem;
  padding: 0;
}

.mobile-nav__list a {
  display: flex;
  align-items: center;
  min-height: 52px;
  color: var(--color-warm-white);
  text-decoration: none;
  font-size: 1.1rem;
  border-bottom: 1px solid rgba(184, 151, 90, 0.15);
}

body.nav-open { overflow: hidden; }

/* Hero */
.hero {
  display: flex;
  flex-direction: column;
  background: var(--color-navy);
  border-bottom: var(--border);
}

.hero__content {
  order: 1;
  position: relative;
  z-index: 1;
  padding: clamp(2.75rem, 5vw, 4.5rem) 0;
  background: var(--color-navy);
}

.hero__inner {
  width: min(100% - 2.5rem, 36rem);
  margin-inline: auto;
}

.hero__highlight {
  display: block;
  margin-top: 0.35rem;
  color: var(--color-gold-bright);
  font-weight: 600;
}

.hero__trust {
  margin: 0;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(184, 151, 90, 0.2);
  font-size: 0.88rem;
  color: var(--text-low);
  letter-spacing: 0.01em;
}

.hero__media {
  order: 2;
  position: relative;
  /* Mobile: no fixed height — image dictates full natural height */
  min-height: 0;
  height: auto;
  overflow: visible;
  background:
    linear-gradient(160deg, var(--color-navy-elevated), var(--color-navy-deep));
  border-bottom: var(--border);
  line-height: 0;
}

.hero__media::before {
  content: "HITELESED";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 12vw, 7rem);
  letter-spacing: 0.12em;
  color: rgba(244, 241, 234, 0.035);
  pointer-events: none;
  user-select: none;
  z-index: 1;
}

.hero__media img {
  display: block;
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
  object-position: center top;
  position: static;
}

.hero__placeholder {
  position: relative;
  min-height: 260px;
  display: grid;
  place-items: center;
  padding: 2rem;
}

.hero__placeholder-frame {
  width: min(72%, 240px);
  aspect-ratio: 3 / 4;
  border: var(--border-strong);
  border-radius: var(--radius-box);
  background:
    linear-gradient(180deg, rgba(184, 151, 90, 0.08), transparent 55%),
    var(--color-navy-card);
  box-shadow: var(--shadow-box);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.35rem;
  text-align: left;
}

.hero__placeholder-role {
  margin: 0 0 0.25rem;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-gold);
}

.hero__placeholder-name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--color-warm-white);
  margin: 0;
  font-weight: 600;
}

/* Hero benefits strip */
.hero-benefits {
  background: var(--color-navy-mid);
  border-bottom: var(--border);
}

.hero-benefits__grid {
  display: grid;
  gap: 0;
}

.hero-benefits__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.55rem;
  padding: 1.5rem 1rem;
  border-bottom: 1px solid rgba(184, 151, 90, 0.15);
}

.hero-benefits__item:last-child { border-bottom: none; }

.hero-benefits__item p {
  margin: 0;
  color: var(--text-mid);
  font-size: 0.98rem;
  font-weight: 500;
  max-width: 16rem;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

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

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* Cards */
.card-grid,
.services-grid {
  display: grid;
  gap: 1.15rem;
}

.card {
  background: var(--color-navy-card);
  border: var(--border);
  border-radius: var(--radius-box);
  box-shadow: var(--shadow-box);
  padding: 1.75rem 1.6rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.card:hover {
  border-color: rgba(184, 151, 90, 0.5);
  background: var(--color-navy-elevated);
}

.card--value {
  text-align: center;
  align-items: center;
}

.card__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.1rem;
}

.card--value .card__top {
  width: 100%;
  justify-content: center;
  margin-bottom: 1rem;
}

.card--value .card__icon {
  margin-inline: auto;
}

.card--value p {
  max-width: 22rem;
}

.card--service {
  text-align: center;
  align-items: center;
}

.card--service p {
  text-align: center;
  max-width: 34rem;
  margin-inline: auto;
}

.card--service .card__cta {
  justify-content: center;
  align-self: stretch;
  margin-top: 1.35rem;
}

.card__icon {
  width: 2.1rem;
  height: 2.1rem;
  color: var(--color-gold);
}

.card__badge {
  margin: 0 0 0.85rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-gold);
}

.card p {
  margin: 0;
  color: var(--text-mid);
  font-size: 0.98rem;
  flex: 1;
}

.card--featured {
  border-color: rgba(184, 151, 90, 0.55);
  background:
    linear-gradient(160deg, rgba(184, 151, 90, 0.1), transparent 45%),
    var(--color-navy-card);
}

.card--supplementary {
  background: transparent;
}

.card--supplementary .card__badge {
  color: var(--text-low);
}

.card__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 1.35rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(184, 151, 90, 0.18);
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
  color: var(--color-gold-bright);
}

.card__cta:hover {
  color: var(--color-warm-white);
}

/* Process */
.process-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.15rem;
}

.process-list__item {
  position: relative;
  padding: 1.75rem 1.4rem 1.5rem;
  border: var(--border);
  border-radius: var(--radius-box);
  box-shadow: var(--shadow-box);
  background: var(--color-navy-card);
  min-height: 100%;
  text-align: center;
}

.process-list__item p {
  margin: 0 auto;
  color: var(--text-mid);
  font-size: 0.98rem;
  max-width: 18rem;
}

/* Trust strip */
.trust-strip {
  background: var(--color-navy-deep);
  border-block: var(--border);
}

.trust-strip__grid {
  display: grid;
  gap: 0;
  padding-block: 0;
}

.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.75rem;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 1.6rem 1rem;
  border-bottom: 1px solid rgba(184, 151, 90, 0.15);
}

.trust-item:last-child { border-bottom: none; }

.trust-item__icon {
  width: 1.75rem;
  height: 1.75rem;
  flex-shrink: 0;
  color: var(--color-gold);
}

/* About */
.about-grid {
  display: grid;
  gap: 2.25rem;
}

.about__media {
  position: relative;
  min-height: 360px;
  aspect-ratio: 4 / 5;
  background: var(--color-navy-card);
  border: var(--border);
  border-radius: var(--radius-box);
  box-shadow: var(--shadow-box);
  overflow: hidden;
}

.about__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}

.about__placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.75rem;
  background:
    linear-gradient(180deg, transparent 30%, rgba(7, 16, 24, 0.85)),
    linear-gradient(135deg, var(--color-navy-elevated), var(--color-navy-deep));
}

.about__placeholder-label {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 0.35rem;
}

.about__placeholder span:last-child {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 600;
}

.about__content p {
  color: var(--text-mid);
}

.about__bg {
  margin-top: 1.5rem;
  padding: 1.25rem 1.35rem;
  border: var(--border);
  border-radius: var(--radius-box);
  box-shadow: var(--shadow-box);
  background: var(--color-navy-card);
}

.about__bg ul {
  margin: 0.75rem 0 0;
  padding-left: 1.1rem;
  color: var(--text-mid);
}

/* Situations */
.situations-grid {
  display: grid;
  gap: 0.75rem;
}

.situation {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.45rem;
  min-height: 88px;
  padding: 1.15rem 1.15rem;
  border: var(--border);
  border-radius: var(--radius-box);
  box-shadow: var(--shadow-box);
  background: var(--color-navy-card);
  color: var(--color-warm-white);
  text-decoration: none;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.situation:hover {
  border-color: rgba(184, 151, 90, 0.55);
  background: var(--color-navy-elevated);
  color: var(--color-warm-white);
}

.situation__text {
  font-weight: 500;
  font-size: 0.98rem;
  max-width: 16rem;
}

/* FAQ */
.faq-layout {
  display: grid;
  gap: 2rem;
}

.faq-list {
  display: grid;
  gap: 0;
  border-top: var(--border);
}

.faq-item {
  border-bottom: var(--border);
  background: transparent;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.2rem 0;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  min-height: 44px;
  font-size: 1.02rem;
}

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

.faq-item summary::after {
  content: "+";
  color: var(--color-gold);
  font-size: 1.35rem;
  line-height: 1;
  flex-shrink: 0;
  font-weight: 400;
}

.faq-item[open] summary::after { content: "–"; }

.faq-item__answer {
  padding: 0 0 1.35rem;
  color: var(--text-mid);
  margin: 0;
  max-width: 42rem;
}

/* Lead form — business panel */
.lead-section {
  background:
    linear-gradient(180deg, var(--color-navy-mid), var(--color-navy-deep));
  border-block: var(--border-strong);
  padding-block: var(--space-section);
}

.lead-layout {
  display: grid;
  gap: 2.5rem;
}

.lead-intro .eyebrow {
  color: var(--color-gold);
}

.lead-intro h2,
.lead-intro .lead {
  color: var(--color-warm-white);
}

.lead-intro {
  text-align: center;
}

.lead-intro .lead {
  margin-inline: auto;
}

.lead-intro__points {
  list-style: none;
  margin: 0 auto 1.75rem;
  padding: 0;
  display: grid;
  gap: 0.65rem;
  max-width: 22rem;
  text-align: left;
}

.lead-intro__points li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-mid);
  font-weight: 500;
}

.lead-intro__points li::before {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  background: var(--color-gold);
  flex-shrink: 0;
}

.lead-intro__contact {
  padding-top: 1.25rem;
  border-top: 1px solid rgba(184, 151, 90, 0.22);
  max-width: 22rem;
  margin-inline: auto;
}

.lead-intro__contact p {
  margin: 0 0 0.45rem;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-low);
}

.lead-intro__contact a {
  display: block;
  text-decoration: none;
  color: var(--color-warm-white);
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.lead-intro__contact a:hover {
  color: var(--color-gold-bright);
}

.lead-panel {
  background: /*var(--color-warm-white);*/ #b8975a;
  color: var(--color-navy);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  box-shadow: var(--shadow-box);
  border-top: 3px solid var(--color-gold);
  border-radius: var(--radius-box);
}

.lead-form {
  display: grid;
  gap: 1rem;
}

.form-row {
  display: grid;
  gap: 1rem;
}

.form-field {
  display: grid;
  gap: 0.4rem;
}

.form-field label {
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--color-navy);
}

.form-field .req {
  color: #8a2f2f;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.75rem 0.9rem;
  border: 1px solid rgba(10, 22, 34, 0.22);
  border-radius: var(--radius-box);
  background: #fff;
  color: var(--color-navy);
  font: inherit;
}

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

.form-field input:focus-visible,
.form-field select:focus-visible,
.form-field textarea:focus-visible {
  box-shadow: 0 0 0 3px rgba(184, 151, 90, 0.45);
  border-color: var(--color-gold-muted);
}

.form-field.is-invalid input,
.form-field.is-invalid select,
.form-field.is-invalid textarea {
  border-color: #8a2f2f;
}

.field-error {
  font-size: 0.85rem;
  color: #8a2f2f;
  margin: 0;
}

.checkbox-field {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.checkbox-field input {
  width: 1.15rem;
  height: 1.15rem;
  /*margin-top: 0.2rem;*/
  margin-top: -0.8rem;
  flex-shrink: 0;
  accent-color: var(--color-navy);
}

.checkbox-field label {
  font-size: 0.9rem;
  line-height: 1.5;
  font-weight: 500;
}

.checkbox-field a {
  color: var(--color-navy);
  font-weight: 700;
}

.honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
  overflow: hidden;
}

.form-status {
  min-height: 1.4rem;
  font-weight: 600;
  color: var(--color-navy);
}

.form-status[data-state="error"] { color: #8a2f2f; }
.form-status[data-state="success"] { color: #1f5a3a; }

.form-micro {
  margin: 0.35rem 0 0;
  font-size: 0.82rem;
  color: rgba(10, 22, 34, 0.65);
}

/* Closing */
.closing {
  text-align: center;
  padding-block: clamp(3.5rem, 6vw, 5.5rem);
  background: var(--color-navy);
}

/* Testimonials */
.testimonials-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.15rem;
}

.testimonial {
  background: var(--color-navy-card);
  border: var(--border);
  border-radius: var(--radius-box);
  box-shadow: var(--shadow-box);
  padding: 1.85rem 1.65rem 1.7rem;
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  height: 100%;
}

.testimonial__mark {
  display: block;
  width: 2rem;
  height: 2px;
  background: var(--color-gold);
}

.testimonial__quote {
  margin: 0;
  flex: 1;
}

.testimonial__quote p {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2vw, 1.45rem);
  line-height: 1.45;
  font-weight: 500;
  color: var(--color-warm-white);
}

.testimonial__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.4rem 0.85rem;
}

.testimonial__name {
  font-style: normal;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--color-soft-white);
}

.testimonial__context {
  font-size: 0.85rem;
  color: var(--color-gold);
  letter-spacing: 0.02em;
}

.closing__inner {
  max-width: 42rem;
}

.closing__mark {
  display: block;
  width: 2.5rem;
  height: 2px;
  background: var(--color-gold);
  margin: 0 auto 1.5rem;
}

.closing__quote {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 2.8vw, 2.35rem);
  line-height: 1.3;
  margin: 0;
  color: var(--color-warm-white);
  font-weight: 600;
}

/* Footer */
.site-footer {
  border-top: var(--border-strong);
  background: var(--color-navy-deep);
  padding-block: 3.75rem 2rem;
}

.footer__grid {
  display: grid;
  gap: 2.25rem;
  margin-bottom: 2.5rem;
}

.footer__logo {
  width: 3.25rem;
  height: 3.25rem;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  display: block;
  margin: 0 0 0.85rem;
}

.footer__name {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 600;
  margin: 0 0 0.45rem;
}

.footer__person {
  margin: 0 0 0.65rem;
  font-size: 0.92rem;
  color: var(--text-mid);
  font-weight: 500;
}

.footer__slogan,
.footer__contact,
.footer__mnb,
.footer__disclaimer,
.footer__copy {
  color: var(--text-low);
}

.footer__contact {
  list-style: none;
  margin: 1.15rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.35rem;
}

.footer__contact a {
  color: var(--text-mid);
  text-decoration: none;
  font-weight: 500;
}

.footer__contact a:hover { color: var(--color-gold-bright); }

.footer__heading {
  margin: 0 0 0.85rem;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-gold);
  font-weight: 700;
}

.footer__nav ul,
.footer__legal-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.5rem;
}

.footer__nav a,
.footer__legal-nav a {
  color: var(--text-mid);
  text-decoration: none;
  font-size: 0.95rem;
}

.footer__nav a:hover,
.footer__legal-nav a:hover {
  color: var(--color-gold-bright);
}

.footer__mnb {
  margin-top: 1.15rem;
  font-size: 0.85rem;
}

.footer__bottom {
  border-top: 1px solid rgba(184, 151, 90, 0.18);
  padding-top: 1.5rem;
}

.footer__disclaimer {
  font-size: 0.84rem;
  max-width: 58rem;
  line-height: 1.6;
  text-align: center;
  margin-inline: auto;
}

.footer__copy {
  font-size: 0.84rem;
  margin-top: 1rem;
  text-align: center;
}

.footer__copy-sep {
  margin-inline: 0.35em;
  opacity: 0.55;
}

.footer__copy a {
  color: var(--text-mid);
  text-decoration: none;
  font-weight: 500;
}

.footer__copy a:hover {
  color: var(--color-gold-bright);
}

/* Mobile sticky CTA */
.mobile-sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 0.85rem calc(0.65rem + env(safe-area-inset-bottom));
  background: rgba(7, 16, 24, 0.96);
  backdrop-filter: blur(10px);
  border-top: var(--border);
}

.mobile-sticky-cta[hidden] { display: none; }
.mobile-sticky-cta .btn { flex: 1; }

.mobile-sticky-cta__phone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-box);
  border: var(--border);
  color: var(--color-gold);
  text-decoration: none;
}

.mobile-sticky-cta__close {
  width: 44px;
  height: 44px;
  border: none;
  background: transparent;
  color: var(--text-low);
  font-size: 1.5rem;
  cursor: pointer;
}

body.has-sticky-cta { padding-bottom: 5rem; }

/* Cookie */
.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 120;
  max-width: 34rem;
  margin-inline: auto;
  background: var(--color-navy-card);
  border: var(--border-strong);
  border-radius: var(--radius-box);
  box-shadow: var(--shadow-soft);
  padding: 1.35rem;
}

.cookie-banner[hidden] { display: none; }

.cookie-banner__title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  margin: 0 0 0.5rem;
}

.cookie-banner__text {
  margin: 0 0 1rem;
  color: var(--text-mid);
  font-size: 0.9rem;
}

.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* Legal / inner */
.page-hero {
  padding: clamp(3rem, 5vw, 4.5rem) 0 2rem;
  border-bottom: var(--border);
  background: var(--color-navy-mid);
  text-align: center;
}

.page-hero .breadcrumb {
  display: inline-block;
}

.page-hero h1 {
  max-width: 28rem;
  margin-inline: auto;
}

.page-hero__lead {
  max-width: 36rem;
  margin: 0.85rem auto 0;
  color: var(--text-mid);
  font-size: 1.05rem;
}

.page-hero--article h1 {
  max-width: 42rem;
}

.blog-meta {
  display: block;
  margin-bottom: 0.75rem;
  color: var(--color-gold);
  font-size: 0.9rem;
  letter-spacing: 0.04em;
}

.blog-list {
  padding-block: 3rem 4.5rem;
}

.blog-empty {
  text-align: center;
  max-width: 32rem;
  margin-inline: auto;
  padding: 2rem 0 3rem;
}

.blog-empty h2 {
  margin-bottom: 0.75rem;
}

.blog-empty p {
  color: var(--text-mid);
  margin-bottom: 1.5rem;
}

.blog-grid {
  display: grid;
  gap: 1.75rem;
}

.blog-card {
  border: var(--border);
  border-radius: var(--radius-box);
  box-shadow: var(--shadow-box);
  background: var(--color-navy-mid);
  overflow: hidden;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.blog-card:hover {
  border-color: rgba(184, 151, 90, 0.45);
  transform: translateY(-2px);
}

.blog-card__media {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.25);
}

.blog-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.blog-card__body {
  padding: 1.35rem 1.4rem 1.5rem;
}

.blog-card__date {
  display: block;
  margin-bottom: 0.45rem;
  color: var(--color-gold);
  font-size: 0.85rem;
  letter-spacing: 0.03em;
}

.blog-card__title {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.5vw, 1.65rem);
  font-weight: 600;
  line-height: 1.25;
  margin: 0 0 0.65rem;
}

.blog-card__title a {
  color: var(--color-warm-white);
  text-decoration: none;
}

.blog-card__title a:hover {
  color: var(--color-gold);
}

.blog-card__excerpt {
  color: var(--text-mid);
  margin: 0 0 1rem;
  font-size: 0.98rem;
}

.blog-card__more {
  color: var(--color-gold);
  font-weight: 600;
  text-decoration: none;
  font-size: 0.95rem;
}

.blog-card__more:hover {
  text-decoration: underline;
}

.blog-article__inner {
  max-width: 46rem;
}

.blog-article__figure {
  margin: 0 0 2rem;
}

.blog-article__figure img {
  width: 100%;
  height: auto;
  display: block;
  border: var(--border);
}

.blog-article__body {
  max-width: 42rem;
}

.blog-article__body > *:first-child {
  margin-top: 0;
}

.blog-article__body h2,
.blog-article__body h3 {
  margin-top: 2rem;
  color: var(--color-warm-white);
}

.blog-article__body p,
.blog-article__body li {
  color: var(--text-mid);
}

.blog-article__body a {
  color: var(--color-gold);
}

.blog-article__body ul,
.blog-article__body ol {
  padding-left: 1.25rem;
  margin: 1rem 0;
}

.blog-article__note {
  margin-top: 2.5rem;
  padding: 1rem 1.2rem;
  border-left: 3px solid var(--color-gold);
  background: rgba(184, 151, 90, 0.08);
  color: var(--text-mid);
  font-size: 0.92rem;
}

.blog-article__cta {
  margin-top: 2.75rem;
  padding-top: 2rem;
  border-top: var(--border);
}

.blog-article__cta h2 {
  margin-top: 0;
  margin-bottom: 0.5rem;
}

.blog-article__cta p {
  color: var(--text-mid);
  margin-bottom: 1.25rem;
}

.blog-article__cta .btn {
  margin-right: 0.75rem;
  margin-bottom: 0.5rem;
}

.page-content { padding-block: 3rem; }
.page-content h2 { margin-top: 2.25rem; }
.page-content p,
.page-content li {
  color: var(--text-mid);
  max-width: 42rem;
}

.legal-warning {
  margin-bottom: 2rem;
  padding: 1rem 1.25rem;
  border-left: 3px solid var(--color-gold);
  border-radius: var(--radius-box);
  background: rgba(184, 151, 90, 0.1);
  color: var(--color-warm-white);
}

.thank-you {
  min-height: 60vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 4rem 1rem;
}

.thank-you__card {
  max-width: 36rem;
  border: var(--border);
  border-top: 3px solid var(--color-gold);
  border-radius: var(--radius-box);
  box-shadow: var(--shadow-box);
  padding: 2.75rem 1.75rem;
  background: var(--color-navy-card);
}

.breadcrumb {
  font-size: 0.875rem;
  color: var(--text-low);
  margin-bottom: 1rem;
}

.breadcrumb a {
  color: var(--text-mid);
  text-decoration: none;
}

.breadcrumb a:hover { color: var(--color-gold-bright); }

.not-found {
  min-height: 50vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 4rem 1rem;
}

/* Tablet+ */
@media (min-width: 768px) {
  .hero-benefits__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .hero-benefits__item {
    padding: 1.65rem 1.25rem;
    border-bottom: none;
    border-right: 1px solid rgba(184, 151, 90, 0.15);
  }

  .hero-benefits__item:last-child {
    border-right: none;
  }

  .hero-benefits__item:first-child {
    padding-left: 1.25rem;
  }

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

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

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

  .services-grid .card--featured {
    grid-column: 1 / -1;
  }

  .process-list {
    grid-template-columns: 1fr 1fr;
  }

  .trust-strip__grid {
    grid-template-columns: repeat(2, 1fr);
    padding-block: 0.5rem;
  }

  .trust-item {
    padding: 1.65rem 1rem;
    border-bottom: none;
    border-right: 1px solid rgba(184, 151, 90, 0.15);
  }

  .trust-item:nth-child(2n) {
    border-right: none;
  }

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

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

  .form-row {
    grid-template-columns: 1fr 1fr;
  }

  .footer__grid {
    grid-template-columns: 2fr 1fr 1fr;
  }

  .about-grid {
    grid-template-columns: 0.9fr 1.1fr;
    align-items: center;
    gap: 3rem;
  }

  .faq-layout {
    grid-template-columns: 0.85fr 1.15fr;
    gap: 3rem;
    align-items: start;
  }

  .section-head--aside {
    text-align: left;
  }

  .section-head--aside .section-head__note {
    margin-left: 0;
    text-align: left;
  }

  .lead-layout {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 3rem;
    align-items: start;
  }

  .lead-intro {
    text-align: left;
  }

  .lead-intro .lead {
    margin-inline: 0;
  }

  .lead-intro__points,
  .lead-intro__contact {
    margin-inline: 0;
  }
}

@media (min-width: 1024px) {
  .nav-toggle { display: none; }
  .nav-desktop { display: block; }
  .btn--header { display: inline-flex; }
  .mobile-nav { display: none !important; }
  body.nav-open {
    overflow-x: clip;
    overflow-y: visible;
  }

  .hero {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    min-height: min(78vh, 720px);
  }

  .hero__content {
    order: 1;
    display: flex;
    align-items: center;
    /* Padding (not margin) keeps alignment inside the grid cell — avoids 100vw overflow */
    padding: 4rem 2rem 4rem max(1.25rem, calc((100vw - var(--max-width)) / 2 + 1.25rem));
    border-right: none;
  }

  .hero__media {
    order: 2;
    min-height: 100%;
    height: auto;
    overflow: hidden;
    border-bottom: none;
    border-left: var(--border);
    line-height: normal;
  }

  .hero__media img {
    width: 100%;
    height: 100%;
    max-height: none;
    object-fit: cover;
    object-position: center top;
    position: absolute;
    inset: 0;
  }

  .hero__placeholder {
    position: absolute;
    inset: 0;
    min-height: 0;
  }

  .hero__media::after {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 140px;
    background: linear-gradient(to right, var(--color-navy), transparent);
    z-index: 2;
    pointer-events: none;
  }

  .hero__inner {
    width: min(100%, 520px);
    margin: 0;
  }

  .process-list {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.15rem;
  }

  .trust-strip__grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .trust-item {
    padding: 1.85rem 1.25rem;
  }

  .trust-item:nth-child(2n) {
    border-right: 1px solid rgba(184, 151, 90, 0.15);
  }

  .trust-item:last-child {
    border-right: none;
  }

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

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

  .mobile-sticky-cta { display: none !important; }
  body.has-sticky-cta { padding-bottom: 0; }
}

@media (min-width: 1280px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .services-grid .card--featured {
    grid-column: 1 / -1;
  }
}
