:root {
  --navy: #061b2d;
  --navy-soft: #0b2b43;
  --teal: #19b6ad;
  --teal-dark: #0b8d86;
  --gold: #c69a52;
  --white: #ffffff;
  --off: #f6f8fa;
  --text: #102033;
  --muted: #637083;
  --border: #dce4ea;
  --shadow: 0 18px 50px rgba(6, 27, 45, .16);
  /*
        Point 1 — Hero visual direction.
        Recommended production image: replace the Unsplash URL below with a custom/local image, e.g.:
        --hero-image: url('assets/clarum-sofia-vitosha-sunrise.webp');
        Best subject: modern Sofia business district at sunrise, Vitosha in the background,
        premium but natural light, no staged stock-photo posing. Keep the dark gradient for text readability.
      */
  --hero-image: url('https://images.unsplash.com/photo-1511818966892-d7d671e672a2?q=80&w=2200&auto=format&fit=crop');
  /* PRODUCTION: замени с локален път:
         --hero-image: url('/assets/images/clarum-sofia-hero.webp');
         и добави <img> с alt вместо CSS background за по-добро SEO */
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--off);
  line-height: 1.55;
}

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

.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

/* Header */
header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(6, 27, 45, .92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.nav {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--white);
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.mark {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 8px solid var(--white);
  border-right-color: transparent;
  position: relative;
}

.mark:after {
  content: "";
  position: absolute;
  width: 18px;
  height: 8px;
  background: var(--teal);
  right: -7px;
  bottom: 1px;
  border-radius: 8px;
  transform: rotate(-28deg);
}

.brand-name {
  font-weight: 700;
  letter-spacing: .34em;
  font-size: 20px;
  line-height: 1;
}

.brand-tag {
  color: var(--teal);
  font-size: 11px;
  margin-top: 5px;
  letter-spacing: .01em;
}

.links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 14px;
  color: rgba(255, 255, 255, .84);
}

.mobile-menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 12px;
  background: rgba(255, 255, 255, .06);
  color: var(--white);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.mobile-menu-btn span,
.mobile-menu-btn span:before,
.mobile-menu-btn span:after {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--white);
  border-radius: 3px;
  position: relative;
  transition: .2s ease;
}

.mobile-menu-btn span:before,
.mobile-menu-btn span:after {
  content: "";
  position: absolute;
  left: 0;
}

.mobile-menu-btn span:before {
  top: -7px;
}

.mobile-menu-btn span:after {
  top: 7px;
}

body.menu-open .mobile-menu-btn span {
  background: transparent;
}

body.menu-open .mobile-menu-btn span:before {
  top: 0;
  transform: rotate(45deg);
}

body.menu-open .mobile-menu-btn span:after {
  top: 0;
  transform: rotate(-45deg);
}

.mobile-cta-bar {
  display: none;
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 40;
  background: rgba(6, 27, 45, .96);
  border: 1px solid rgba(25, 182, 173, .35);
  box-shadow: 0 14px 40px rgba(6, 27, 45, .28);
  border-radius: 18px;
  padding: 10px;
  gap: 10px;
  backdrop-filter: blur(12px);
}

.mobile-cta-bar a {
  flex: 1;
  min-height: 46px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 13px;
}

.mobile-cta-primary {
  background: var(--teal);
  color: var(--white);
}

.mobile-cta-secondary {
  border: 1px solid rgba(255, 255, 255, .22);
  color: var(--white);
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(25, 182, 173, .7);
  border-radius: 10px;
  padding: 6px;
  background: rgba(255, 255, 255, .04);
}

.lang-btn {
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, .72);
  padding: 6px 9px;
  border-radius: 7px;
  font-weight: 700;
  cursor: pointer;
}

.lang-btn.active{
  background: var(--teal);
  color: var(--white);
}

.cta-nav {
  border: 1px solid rgba(25, 182, 173, .7);
  padding: 11px 18px;
  border-radius: 10px;
  color: var(--white);
}

/* Hero */
.hero {
  min-height: 760px;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(6, 27, 45, .94) 0%, rgba(6, 27, 45, .80) 40%, rgba(6, 27, 45, .28) 100%),
    linear-gradient(180deg, rgba(6, 27, 45, .15), rgba(6, 27, 45, .4)),
    var(--hero-image);
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  position: relative;
  overflow: hidden;
}

.hero:before {
  content: "";
  position: absolute;
  inset: auto -10% -18% 45%;
  height: 520px;
  background:
    linear-gradient(90deg, transparent, rgba(255, 255, 255, .10), transparent),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .10) 0 2px, transparent 2px 78px);
  transform: skewX(-10deg);
  opacity: .4;
}

.hero-inner {
  position: relative;
  padding: 92px 0 42px;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 40px;
  align-items: center;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--teal);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 26px;
}

.hero-kicker:before {
  content: "";
  width: 42px;
  height: 2px;
  background: var(--gold);
}

h1 {
  font-size: clamp(46px, 7vw, 82px);
  text-shadow: 0 6px 28px rgba(0, 0, 0, .34);
  line-height: .98;
  margin: 0 0 24px;
  letter-spacing: -.05em;
}

h1 span {
  color: var(--teal);
  display: block;
}

.hero-sub {
  font-size: 20px;
  text-shadow: 0 2px 14px rgba(0, 0, 0, .28);
  max-width: 650px;
  color: rgba(255, 255, 255, .84);
  margin: 0 0 32px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 26px;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 48px;
}

.hero-proof span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border: 1px solid rgba(255, 255, 255, .18);
  background: rgba(255, 255, 255, .07);
  color: rgba(255, 255, 255, .84);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  backdrop-filter: blur(8px);
}

.hero-proof span:before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 4px rgba(25, 182, 173, .14);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 12px;
  font-weight: 700;
  border: 1px solid transparent;
  cursor: pointer;
}

.btn-primary {
  background: var(--teal);
  color: var(--white);
  box-shadow: 0 12px 30px rgba(25, 182, 173, .28);
}

.btn-secondary {
  border-color: rgba(255, 255, 255, .35);
  color: var(--white);
  background: rgba(255, 255, 255, .04);
}

.hero-card {
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 24px;
  padding: 28px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
}

.hero-card h3 {
  margin: 0 0 12px;
  font-size: 22px;
}

.hero-card p {
  color: rgba(255, 255, 255, .76);
  margin: 0 0 22px;
}

.mini-list {
  display: grid;
  gap: 12px;
}

.mini-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: rgba(255, 255, 255, .86);
}

.tick {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(25, 182, 173, .16);
  color: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.service-strip {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, .12);
  border-radius: 20px;
  overflow: hidden;
  margin-top: 28px;
  border: 1px solid rgba(255, 255, 255, .10);
}

.strip-item {
  background: rgba(6, 27, 45, .62);
  padding: 20px;
  min-height: 116px;
}

.strip-icon {
  color: var(--teal);
  font-size: 26px;
  margin-bottom: 8px;
}

.strip-title {
  font-weight: 700;
  margin-bottom: 4px;
}

.strip-text {
  color: rgba(255, 255, 255, .68);
  font-size: 13px;
}

section {
  padding: 84px 0;
}

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 44px;
}

.eyebrow {
  color: var(--teal-dark);
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: .14em;
  font-weight: 800;
  margin-bottom: 12px;
}

h2 {
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.1;
  margin: 0 0 16px;
  letter-spacing: -.035em;
  color: var(--navy);
}

.section-head p {
  color: var(--muted);
  font-size: 17px;
  margin: 0;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 28px;
  box-shadow: 0 10px 30px rgba(6, 27, 45, .06);
}

/*
      Point 6 — Premium service-card polish.
      Safe enhancement only: no HTML dependency, no external icon library, no change to bilingual logic.
      Adds more whitespace, subtle depth, hover movement and a restrained top accent.
    */
#services .cards {
  gap: 22px;
}

#services .card {
  position: relative;
  overflow: hidden;
  min-height: 100%;
  padding: 32px;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

#services .card:before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, var(--teal), var(--gold));
  opacity: .85;
}

#services .card:after {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  right: -70px;
  top: -80px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(25, 182, 173, .13), transparent 68%);
  pointer-events: none;
}

#services .card:hover {
  transform: translateY(-6px);
  border-color: rgba(25, 182, 173, .38);
  box-shadow: 0 22px 55px rgba(6, 27, 45, .12);
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: #e9fbf9;
  color: var(--teal-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 18px;
}

#services .card-icon {
  width: 54px;
  height: 54px;
  border-radius: 18px;
  background: linear-gradient(135deg, #e9fbf9, #ffffff);
  border: 1px solid rgba(25, 182, 173, .20);
  box-shadow: 0 10px 24px rgba(6, 27, 45, .08);
  position: relative;
  z-index: 1;
}

.card h3 {
  margin: 0 0 10px;
  color: var(--navy);
  font-size: 20px;
}

.card p {
  margin: 0 0 16px;
  color: var(--muted);
}

.card ul {
  margin: 0;
  padding: 16px 0 0;
  border-top: 1px solid var(--border);
  list-style: none;
  display: grid;
  gap: 8px;
}

.card li {
  color: #4f5f70;
  font-size: 14px;
}

.card li:before {
  content: "✓";
  color: var(--teal-dark);
  font-weight: 800;
  margin-right: 8px;
}

.dark {
  background: var(--navy);
  color: var(--white);
}

.dark h2 {
  color: var(--white);
}

.dark .section-head p {
  color: rgba(255, 255, 255, .68);
}

.dark .card {
  background: rgba(255, 255, 255, .06);
  border-color: rgba(255, 255, 255, .12);
  box-shadow: none;
}

.dark .card h3 {
  color: var(--white);
}

.dark .card p,
.dark .card li {
  color: rgba(255, 255, 255, .72);
}

.dark .card ul {
  border-top-color: rgba(255, 255, 255, .12);
}

.profiles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.profile {
  background: var(--white);
  border-radius: 22px;
  padding: 24px;
  border: 1px solid var(--border);
}

.profile h3 {
  color: var(--navy);
  margin: 0 0 8px;
}

.profile p {
  color: var(--muted);
  margin: 0;
  font-size: 14px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  counter-reset: step;
}

.step {
  position: relative;
  background: var(--white);
  padding: 26px;
  border-radius: 24px;
  border: 1px solid var(--border);
}

.step-num {
  color: var(--teal-dark);
  font-weight: 800;
  margin-bottom: 20px;
  display: inline-block;
}

.step h3 {
  margin: 0 0 10px;
  color: var(--navy);
}

.step p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.about-layout {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 28px;
  align-items: center;
}

.quote-card {
  background:
    linear-gradient(rgba(6, 27, 45, .82), rgba(6, 27, 45, .82)),
    url('https://images.unsplash.com/photo-1521791136064-7986c2920216?q=80&w=1200&auto=format&fit=crop');
  /* PRODUCTION: url('/assets/images/clarum-about-team.webp') */
  /* alt за скрийнридъри се добавя с role="img" aria-label на елемента */
  background-size: cover;
  background-position: center;
  color: var(--white);
  padding: 34px;
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.image-banner {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  min-height: 420px;
  display: flex;
  align-items: end;
  padding: 38px;
  color: var(--white);
  box-shadow: var(--shadow);
  background-size: cover;
  background-position: center;
}

.image-banner:before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 27, 45, .12), rgba(6, 27, 45, .82));
}

.image-banner-content {
  position: relative;
  z-index: 2;
  max-width: 580px;
}

.image-banner h3 {
  margin: 0 0 12px;
  font-size: 34px;
  line-height: 1.08;
}

.image-banner p {
  margin: 0;
  color: rgba(255, 255, 255, .82);
  font-size: 16px;
}

.quote-card p {
  font-size: 24px;
  line-height: 1.35;
  margin: 0 0 18px;
}

.quote-card small {
  color: var(--teal);
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.about-text p {
  color: var(--muted);
  font-size: 16px;
}

.values {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.value {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 10px 14px;
  font-weight: 700;
  color: var(--navy);
  font-size: 14px;
}

.resources-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.resource-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 26px;
  box-shadow: 0 10px 30px rgba(6, 27, 45, .06);
}

.resource-type {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-weight: 800;
  color: var(--teal-dark);
  margin-bottom: 14px;
}

.resource-card h3 {
  margin: 0 0 10px;
  color: var(--navy);
  font-size: 20px;
}

.resource-card p {
  margin: 0 0 18px;
  color: var(--muted);
}

.resource-link {
  color: var(--navy);
  font-weight: 800;
}

.faq-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 24px;
}

.faq-item h3 {
  margin: 0 0 10px;
  color: var(--navy);
  font-size: 18px;
}

.faq-item p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.contact {
  background: linear-gradient(135deg, var(--navy), var(--navy-soft));
  color: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
}

.contact h2 {
  color: var(--white);
}

.contact p {
  color: rgba(255, 255, 255, .72);
}

.contact-box,
form {
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 24px;
  padding: 28px;
}

.contact-row {
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .10);
}

.contact-row:last-child {
  border-bottom: 0;
}

.contact-label {
  color: var(--teal);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-weight: 800;
}

.contact-value {
  color: var(--white);
  font-weight: 700;
  margin-top: 4px;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(255, 255, 255, .18);
  background: rgba(255, 255, 255, .08);
  color: var(--white);
  border-radius: 12px;
  padding: 12px 14px;
  font: inherit;
  margin-bottom: 12px;
  outline: none;
}

textarea {
  min-height: 120px;
  resize: vertical;
}

input::placeholder,
textarea::placeholder {
  color: rgba(255, 255, 255, .52);
}

select option {
  color: var(--navy);
  background: #ffffff;
}

select optgroup {
  color: var(--teal-dark);
  font-weight: 700;
}

select optgroup {
  color: var(--teal-dark);
  font-weight: 700;
}

footer {
  padding: 28px 0;
  background: #04111d;
  color: rgba(255, 255, 255, .58);
  font-size: 14px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.iubenda-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1rem;
  justify-content: center;
}

.iubenda-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .16);
  background: rgba(255, 255, 255, .05);
  color: rgba(255, 255, 255, .95);
  font-size: 0.95rem;
}

.iubenda-links a:hover,
.iubenda-links a:focus {
  background: rgba(255, 255, 255, .12);
}

@media (max-width: 960px) {
  body {
    padding-bottom: 74px;
  }

  .mobile-menu-btn {
    display: inline-flex;
  }

  .mobile-cta-bar {
    display: flex;
  }

  .nav {
    height: 68px;
  }

  .links {
    position: fixed;
    top: 68px;
    left: 14px;
    right: 14px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 14px;
    background: rgba(6, 27, 45, .98);
    border: 1px solid rgba(255, 255, 255, .10);
    border-radius: 18px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, .28);
  }

  body.menu-open .links {
    display: flex;
  }

  .links a,
  .links .cta-nav {
    padding: 13px 14px;
    border-radius: 12px;
    border: 0;
    background: rgba(255, 255, 255, .05);
  }

  .links .lang-switch {
    width: 100%;
    justify-content: space-between;
    margin-top: 6px;
  }

  .links .lang-btn {
    flex: 1;
    min-height: 38px;
  }

  header {
    position: sticky;
  }

  .brand {
    gap: 10px;
  }

  .mark {
    width: 36px;
    height: 36px;
    border-width: 7px;
  }

  .mark:after {
    width: 15px;
    height: 7px;
    right: -6px;
  }

  .brand-tag {
    display: none;
  }

  .hero-inner,
  .about-layout,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .service-strip,
  .cards,
  .profiles,
  .steps,
  .resources-grid,
  .faq-list {
    grid-template-columns: 1fr 1fr;
  }

  .hero {
    min-height: auto;
  }
}

/* ── Form Validation & Custom Select ────────────────────────── */
.field-wrap {
  position: relative;
  margin-bottom: 0;
}

.field-wrap input,
.field-wrap textarea {
  margin-bottom: 0;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.field-wrap+.field-wrap {
  margin-top: 12px;
}

.custom-select-wrap+.field-wrap {
  margin-top: 12px;
}

.field-wrap:has(+ .field-wrap) {
  margin-bottom: 0;
}

/* Valid / Invalid states */
.field-wrap input.is-valid,
.field-wrap textarea.is-valid {
  border-color: rgba(25, 182, 173, .7) !important;
  box-shadow: 0 0 0 3px rgba(25, 182, 173, .12);
}

.field-wrap input.is-invalid,
.field-wrap textarea.is-invalid,
.custom-select-wrap.is-invalid .custom-select-btn {
  border-color: rgba(239, 83, 80, .7) !important;
  box-shadow: 0 0 0 3px rgba(239, 83, 80, .12);
}

.field-err {
  display: block;
  font-size: 11.5px;
  color: #ef6c6a;
  min-height: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height .25s ease, padding .25s ease;
  padding: 0 4px;
}

.field-err.visible {
  max-height: 40px;
  padding: 4px 4px 2px;
}

.field-footer-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-top: 2px;
}

.char-count {
  font-size: 11px;
  color: rgba(255, 255, 255, .38);
  margin-left: auto;
  padding-right: 2px;
  transition: color .2s;
}

.char-count.warn {
  color: var(--gold);
}

.char-count.over {
  color: #ef6c6a;
}

/* Custom select */
.custom-select-wrap {
  position: relative;
  margin-top: 12px;
}

.custom-select-btn {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(255, 255, 255, .18);
  background: rgba(255, 255, 255, .08);
  color: rgba(255, 255, 255, .52);
  border-radius: 12px;
  padding: 12px 14px;
  font: inherit;
  font-size: 15px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  text-align: left;
  transition: border-color .2s, box-shadow .2s;
}

.custom-select-btn.has-value {
  color: var(--white);
}

.custom-select-btn:focus {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
}

.select-arrow {
  flex-shrink: 0;
  transition: transform .2s ease;
  color: rgba(255, 255, 255, .4);
}

.custom-select-btn[aria-expanded="true"] .select-arrow {
  transform: rotate(180deg);
}

.custom-select-list {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: #0b2b43;
  border: 1px solid rgba(25, 182, 173, .3);
  border-radius: 14px;
  padding: 6px;
  list-style: none;
  margin: 0;
  z-index: 50;
  max-height: 300px;
  overflow-y: auto;
  box-shadow: 0 20px 50px rgba(0, 0, 0, .4);
  scrollbar-width: thin;
  scrollbar-color: rgba(25, 182, 173, .3) transparent;
}

.custom-select-list::-webkit-scrollbar {
  width: 4px;
}

.custom-select-list::-webkit-scrollbar-thumb {
  background: rgba(25, 182, 173, .3);
  border-radius: 4px;
}

.custom-select-list.open {
  display: block;
  animation: dropIn .18s ease;
}

@keyframes dropIn {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

.select-group-label {
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--teal);
  font-weight: 700;
  padding: 10px 10px 4px;
  cursor: default;
  user-select: none;
}

.select-opt {
  padding: 9px 12px;
  border-radius: 8px;
  font-size: 14px;
  color: rgba(255, 255, 255, .82);
  cursor: pointer;
  transition: background .15s;
}

.select-opt:hover,
.select-opt.focused {
  background: rgba(25, 182, 173, .14);
  color: var(--white);
}

.select-opt.selected {
  background: rgba(25, 182, 173, .22);
  color: var(--teal);
  font-weight: 600;
}

/* Success / error messages */
.form-success-msg,
.form-error-msg {
  display: none;
}

.form-success-msg {
  margin-top: 14px;
  background: rgba(25, 182, 173, .15);
  border: 1px solid rgba(25, 182, 173, .4);
  color: #7de8e3;
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 14px;
  font-weight: 600;
}

.form-error-msg {
  margin-top: 10px;
  background: rgba(239, 83, 80, .12);
  border: 1px solid rgba(239, 83, 80, .35);
  color: #ef9a9a;
  border-radius: 12px;
  padding: 12px 16px;
  font-size: 13px;
}

/* ── End Form Validation & Custom Select ─────────────────────── */

/* ── Scroll Animations ───────────────────────────────────────── */

/* Base hidden state — applied via JS to avoid FOUC */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s cubic-bezier(.22, .68, 0, 1.2), transform 0.6s cubic-bezier(.22, .68, 0, 1.2);
  will-change: opacity, transform;
}

.reveal.reveal--left {
  transform: translateX(-32px);
}

.reveal.reveal--right {
  transform: translateX(32px);
}

.reveal.reveal--scale {
  transform: translateY(20px) scale(0.97);
}

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

/* Staggered children — cards, steps, profiles etc */
.reveal-group>* {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s cubic-bezier(.22, .68, 0, 1.2), transform 0.55s cubic-bezier(.22, .68, 0, 1.2);
  will-change: opacity, transform;
}

.reveal-group.is-visible>*:nth-child(1) {
  transition-delay: 0s;
  opacity: 1;
  transform: none;
}

.reveal-group.is-visible>*:nth-child(2) {
  transition-delay: 0.09s;
  opacity: 1;
  transform: none;
}

.reveal-group.is-visible>*:nth-child(3) {
  transition-delay: 0.18s;
  opacity: 1;
  transform: none;
}

.reveal-group.is-visible>*:nth-child(4) {
  transition-delay: 0.27s;
  opacity: 1;
  transform: none;
}

.reveal-group.is-visible>*:nth-child(5) {
  transition-delay: 0.36s;
  opacity: 1;
  transform: none;
}

.reveal-group.is-visible>*:nth-child(6) {
  transition-delay: 0.45s;
  opacity: 1;
  transform: none;
}

/* Section heads stagger internally */
.section-head .eyebrow,
.section-head h2,
.section-head p {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.section-head.is-visible .eyebrow {
  opacity: 1;
  transform: none;
  transition-delay: 0s;
}

.section-head.is-visible h2 {
  opacity: 1;
  transform: none;
  transition-delay: 0.1s;
}

.section-head.is-visible p {
  opacity: 1;
  transform: none;
  transition-delay: 0.2s;
}

/* Hero items animate on load (no scroll needed) */
.hero-kicker {
  animation: fadeUp 0.7s 0.1s both cubic-bezier(.22, .68, 0, 1.2);
}

h1 {
  animation: fadeUp 0.7s 0.22s both cubic-bezier(.22, .68, 0, 1.2);
}

.hero-sub {
  animation: fadeUp 0.7s 0.34s both cubic-bezier(.22, .68, 0, 1.2);
}

.hero-actions {
  animation: fadeUp 0.7s 0.44s both cubic-bezier(.22, .68, 0, 1.2);
}

.hero-proof {
  animation: fadeUp 0.7s 0.54s both cubic-bezier(.22, .68, 0, 1.2);
}

.service-strip {
  animation: fadeUp 0.7s 0.64s both cubic-bezier(.22, .68, 0, 1.2);
}

.hero-card {
  animation: fadeUp 0.8s 0.38s both cubic-bezier(.22, .68, 0, 1.2);
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(22px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

/* Image banners slide up with scale */
.image-banner {
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(.22, .68, 0, 1.2);
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {

  .reveal,
  .reveal-group>*,
  .section-head .eyebrow,
  .section-head h2,
  .section-head p,
  .image-banner {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    animation: none !important;
  }
}

/* ── End Scroll Animations ───────────────────────────────────── */

@media (max-width: 620px) {
  .container {
    width: min(100% - 28px, 1180px);
  }

  .hero {
    background:
      linear-gradient(180deg, rgba(6, 27, 45, .98) 0%, rgba(6, 27, 45, .90) 45%, rgba(6, 27, 45, .68) 100%),
      var(--hero-image);
    background-size: cover;
    background-position: center center;
  }

  .hero:before {
    display: none;
  }

  h1 {
    font-size: clamp(42px, 13vw, 58px);
  }

  .hero-sub {
    font-size: 16px;
    line-height: 1.65;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    margin-bottom: 18px;
  }

  .hero-proof {
    margin-bottom: 28px;
  }

  .hero-proof span {
    width: 100%;
    justify-content: flex-start;
  }

  .btn {
    width: 100%;
    min-height: 50px;
  }

  .hero-card {
    padding: 20px;
    border-radius: 20px;
  }

  .service-strip {
    margin-top: 18px;
    border-radius: 18px;
  }

  .strip-item {
    display: grid;
    grid-template-columns: 34px 1fr;
    column-gap: 12px;
    align-items: start;
    padding: 16px;
  }

  .strip-icon {
    grid-row: span 2;
    font-size: 23px;
    margin: 0;
  }

  .strip-text {
    font-size: 12px;
  }

  h2 {
    font-size: clamp(28px, 9vw, 38px);
  }

  .section-head {
    margin-bottom: 30px;
    text-align: left;
  }

  .section-head p {
    font-size: 15px;
  }

  .card,
  .step,
  .faq-item,
  .resource-card {
    padding: 22px;
    border-radius: 20px;
  }

  .image-banner {
    min-height: 300px;
    padding: 24px;
    border-radius: 22px;
  }

  .image-banner h3 {
    font-size: 26px;
  }

  .about-layout {
    gap: 18px;
  }

  .quote-card {
    padding: 24px;
    border-radius: 22px;
  }

  .quote-card p {
    font-size: 20px;
  }

  .contact-box,
  form {
    padding: 22px;
    border-radius: 20px;
  }

  .footer-inner {
    padding-bottom: 74px;
  }

  input,
  select,
  textarea {
    font-size: 16px;
  }

  .service-strip,
  .cards,
  .profiles,
  .steps,
  .resources-grid,
  .faq-list {
    grid-template-columns: 1fr;
  }

  .brand-name {
    letter-spacing: .22em;
    font-size: 17px;
  }

  .hero-inner {
    padding-top: 58px;
  }

  .strip-item {
    min-height: auto;
  }

  section {
    padding: 58px 0;
  }
}


/* ── Multi-page additions ───────────────────────────────────────── */
.page-hero {
  padding: 92px 0 74px;
  color: var(--white);
  background: linear-gradient(90deg, rgba(6, 27, 45, .95), rgba(6, 27, 45, .72)), var(--hero-image);
  background-size: cover;
  background-position: center;
}

.page-hero h1 {
  font-size: clamp(42px, 6vw, 72px);
  margin-bottom: 18px;
}

.page-hero p {
  max-width: 760px;
  color: rgba(255, 255, 255, .82);
  font-size: 19px;
}

.breadcrumbs {
  font-size: 13px;
  color: rgba(255, 255, 255, .72);
  margin-bottom: 20px;
}

.breadcrumbs a {
  color: var(--teal);
  font-weight: 700;
}

.lead-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  align-items: start;
}

.content-block {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(6, 27, 45, .06);
}

.content-block h2,
.content-block h3 {
  color: var(--navy);
  margin-top: 0;
}

.content-block p {
  color: var(--muted);
}

.link-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}

.link-list a {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 18px 20px;
  font-weight: 800;
  color: var(--navy);
  box-shadow: 0 8px 22px rgba(6, 27, 45, .04);
}

.link-list a:after {
  content: '→';
  color: var(--teal-dark);
}

.service-detail {
  display: grid;
  grid-template-columns: 1fr .42fr;
  gap: 24px;
  align-items: start;
}

.aside-box {
  position: sticky;
  top: 96px;
  background: var(--navy);
  color: white;
  border-radius: 24px;
  padding: 26px;
}

.aside-box h3 {
  margin-top: 0;
  color: white;
}

.aside-box p,
.aside-box li {
  color: rgba(255, 255, 255, .75);
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
  display: grid;
  gap: 10px;
}

.check-list li:before {
  content: '✓';
  color: var(--teal);
  font-weight: 900;
  margin-right: 8px;
}

.article-list {
  display: grid;
  gap: 18px;
}

.article-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 24px;
}

.article-card.clickable {
  cursor: pointer;
}

.article-card img {
  max-width: 66%;
  border-radius: 8px;
}

.article-card h2 {
  font-size: 24px;
  margin: 0 0 8px;
}

.article-card p {
  color: var(--muted);
  margin: 0 0 14px;
}

.dropdown {
  position: relative;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 290px;
  background: rgba(6, 27, 45, .98);
  border: 1px solid rgba(255, 255, 255, .10);
  border-radius: 16px;
  padding: 8px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, .26);
}

.dropdown:hover .dropdown-menu,
.dropdown:focus-within .dropdown-menu {
  display: grid;
  gap: 4px;
}

.dropdown-menu a {
  padding: 10px 12px;
  border-radius: 10px;
  color: rgba(255, 255, 255, .86);
}

.dropdown-menu a:hover {
  background: rgba(255, 255, 255, .07);
  color: white;
}

.honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

@media(max-width:960px) {

  .lead-grid,
  .service-detail {
    grid-template-columns: 1fr
  }

  .aside-box {
    position: static
  }

  .dropdown {
    display: grid;
  }

  .dropdown-menu {
    a {
      display: none;
    }
  }

  .page-hero {
    padding: 62px 0 54px
  }

  .page-hero p {
    font-size: 16px
  }

  .article-card img {
    max-width: 100%;
    border-radius: 8px;
  }
}