:root {
  --bg: #f7f5ef;
  --bg-soft: #ebe7dc;
  --surface: #ffffff;
  --ink: #131816;
  --muted: #66706c;
  --dark: #111615;
  --dark-2: #1a211f;
  --line: rgba(19, 24, 22, 0.12);
  --line-dark: rgba(255, 255, 255, 0.16);
  --accent: #b99b5f;
  --accent-2: #6f8f72;
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 16px;
  --shadow: 0 24px 80px rgba(19, 24, 22, 0.12);
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 86px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

button,
input,
textarea,
select {
  font: inherit;
}

.container {
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(247, 245, 239, 0.86);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, background 0.25s ease;
}

.header.scrolled {
  border-bottom-color: var(--line);
  background: rgba(247, 245, 239, 0.94);
}

.nav {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.brand-logo {
  display: block;
}

.brand-lockup {
  width: clamp(148px, 16vw, 204px);
  height: auto;
  max-height: 48px;
  object-fit: contain;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 26px;
  color: #2d3532;
  font-size: 0.95rem;
}

.nav-menu a {
  position: relative;
  transition: color 0.2s ease;
}

.nav-menu a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.2s ease;
}

.nav-menu a:hover {
  color: var(--ink);
}

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

.nav-cta {
  padding: 11px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  box-shadow: 0 8px 24px rgba(19, 24, 22, 0.06);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  cursor: pointer;
  padding: 0;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.section {
  padding: 112px 0;
}

.section-dark {
  color: #f6f2e9;
  background: radial-gradient(circle at top left, rgba(185, 155, 95, 0.22), transparent 34%), linear-gradient(135deg, var(--dark), #202925);
}

.section-muted {
  background: var(--bg-soft);
}

.hero {
  position: relative;
  min-height: 760px;
  display: flex;
  align-items: center;
  padding-top: 138px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-bg::before,
.hero-bg::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  filter: blur(2px);
}

.hero-bg::before {
  width: 560px;
  height: 560px;
  right: -160px;
  top: 70px;
  background: radial-gradient(circle, rgba(111, 143, 114, 0.34), transparent 64%);
}

.hero-bg::after {
  width: 420px;
  height: 420px;
  left: -160px;
  bottom: -140px;
  background: radial-gradient(circle, rgba(185, 155, 95, 0.22), transparent 66%);
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 56px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 820px;
  margin-bottom: 24px;
  font-size: clamp(3rem, 7vw, 6.8rem);
  line-height: 0.94;
  letter-spacing: -0.075em;
}

h2 {
  margin-bottom: 22px;
  font-size: clamp(2rem, 4.2vw, 4.25rem);
  line-height: 1.02;
  letter-spacing: -0.06em;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.25rem;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.hero-lead {
  max-width: 720px;
  color: rgba(246, 242, 233, 0.78);
  font-size: clamp(1.08rem, 1.55vw, 1.35rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 36px 0 34px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

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

.btn-primary {
  color: var(--dark);
  background: linear-gradient(135deg, #d7bf84, var(--accent));
  box-shadow: 0 14px 34px rgba(185, 155, 95, 0.28);
}

.btn-secondary {
  color: #f6f2e9;
  border-color: var(--line-dark);
  background: rgba(255, 255, 255, 0.06);
}

.btn-secondary:hover {
  border-color: rgba(255, 255, 255, 0.36);
  background: rgba(255, 255, 255, 0.1);
}

.trust-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  max-width: 830px;
}

.trust-row div {
  padding: 18px;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.055);
}

.trust-row strong {
  display: block;
  margin-bottom: 6px;
  color: #fff;
  font-size: 1.35rem;
  line-height: 1;
}

.trust-row span {
  display: block;
  color: rgba(246, 242, 233, 0.68);
  font-size: 0.9rem;
  line-height: 1.35;
}

.hero-card {
  position: relative;
  padding: 34px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-xl);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.045));
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(18px);
}

.hero-logo-panel {
  margin-bottom: 28px;
  padding: 18px;
  border-radius: 24px;
  background: rgba(247, 245, 239, 0.96);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.18);
}

.hero-logo {
  width: min(100%, 300px);
  margin-inline: auto;
}

.card-topline {
  width: 72px;
  height: 4px;
  margin-bottom: 32px;
  border-radius: 999px;
  background: var(--accent);
}

.card-label {
  margin-bottom: 22px;
  color: rgba(246, 242, 233, 0.7);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

.hero-list li {
  position: relative;
  padding-left: 30px;
  color: #fff;
  font-size: 1.05rem;
}

.hero-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 6px rgba(185, 155, 95, 0.12);
}

.two-col {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
  gap: 72px;
  align-items: start;
}

.section-heading p:not(.eyebrow) {
  max-width: 760px;
  color: var(--muted);
  font-size: 1.08rem;
}

.section-heading.centered {
  max-width: 860px;
  margin: 0 auto 50px;
  text-align: center;
}

.section-heading.centered p:not(.eyebrow) {
  margin-inline: auto;
}

.text-block {
  color: #303936;
  font-size: 1.06rem;
}

.text-block p {
  margin-bottom: 22px;
}

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

.service-card,
.why-card {
  min-height: 270px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 18px 46px rgba(19, 24, 22, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.service-card:hover,
.why-card:hover {
  transform: translateY(-5px);
  border-color: rgba(185, 155, 95, 0.45);
  box-shadow: var(--shadow);
}

.icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 34px;
  border-radius: 999px;
  color: var(--dark);
  background: #dfd2ad;
  font-size: 0.82rem;
  font-weight: 900;
}

.service-card p,
.why-card p,
.program-item p,
.audience-card p,
.timeline-item p,
.experience-panel p {
  color: var(--muted);
  margin-bottom: 0;
}

.program-list {
  display: grid;
  gap: 16px;
}

.program-item {
  display: grid;
  grid-template-columns: 82px 1fr;
  gap: 24px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.58);
}

.program-index {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  color: var(--accent);
  border: 1px solid rgba(185, 155, 95, 0.4);
  font-weight: 900;
}

.compact-dark {
  padding-top: 104px;
  padding-bottom: 104px;
}

.compact-dark .section-heading p:not(.eyebrow),
.compact-dark .audience-card p {
  color: rgba(246, 242, 233, 0.7);
}

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

.audience-card {
  min-height: 210px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.055);
}

.audience-card h3 {
  color: #fff;
}

.audience-wide {
  grid-column: span 3;
  min-height: auto;
}

.process-layout {
  align-items: start;
}

.sticky-heading {
  position: sticky;
  top: 116px;
}

.timeline {
  display: grid;
  gap: 20px;
}

.timeline-item {
  position: relative;
  padding: 30px 30px 30px 86px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.58);
}

.timeline-item span {
  position: absolute;
  top: 30px;
  left: 30px;
  color: var(--accent);
  font-weight: 900;
}

.experience-panel {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
  gap: 52px;
  align-items: center;
  padding: 48px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tag-cloud span {
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #34403b;
  background: #faf9f4;
  font-size: 0.92rem;
  font-weight: 700;
}

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

.why-card {
  min-height: 250px;
}

.contact-section {
  color: #f6f2e9;
  background: linear-gradient(135deg, var(--dark), #1e2824);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.8fr);
  gap: 70px;
  align-items: start;
}

.contact-copy p:not(.eyebrow) {
  max-width: 620px;
  color: rgba(246, 242, 233, 0.72);
  font-size: 1.12rem;
}

.contact-links {
  display: grid;
  gap: 12px;
  margin-top: 34px;
  color: rgba(246, 242, 233, 0.88);
}

.contact-links a {
  width: fit-content;
  border-bottom: 1px solid rgba(185, 155, 95, 0.5);
}

.contact-form {
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
}

.form-row {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
}

.form-row label {
  color: rgba(246, 242, 233, 0.8);
  font-size: 0.92rem;
  font-weight: 800;
}

.form-row input,
.form-row textarea,
.form-row select {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 16px;
  color: #fff;
  background: rgba(0, 0, 0, 0.18);
  outline: none;
  padding: 14px 15px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-row select option {
  color: var(--ink);
}

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

.form-row input::placeholder,
.form-row textarea::placeholder {
  color: rgba(246, 242, 233, 0.42);
}

.form-row input:focus,
.form-row textarea:focus,
.form-row select:focus {
  border-color: rgba(185, 155, 95, 0.8);
  box-shadow: 0 0 0 4px rgba(185, 155, 95, 0.14);
}

.form-button {
  width: 100%;
  margin-top: 4px;
}

.form-note {
  margin: 16px 0 0;
  color: rgba(246, 242, 233, 0.55);
  font-size: 0.84rem;
}

.footer {
  padding: 28px 0;
  color: rgba(246, 242, 233, 0.68);
  background: #0c100f;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 28px;
  align-items: center;
}

.footer p {
  margin: 0;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
}

.footer-logo {
  width: 180px;
  max-height: 46px;
  object-fit: contain;
  padding: 8px 12px;
  border-radius: 16px;
  background: rgba(247, 245, 239, 0.95);
}

.back-top {
  color: #fff;
  font-weight: 800;
}

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

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .btn,
  .service-card,
  .why-card,
  .nav-menu a::after {
    transition: none;
  }
}

@media (max-width: 1040px) {
  .hero-grid,
  .two-col,
  .experience-panel,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-card {
    max-width: 720px;
  }

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

  .audience-wide {
    grid-column: span 2;
  }

  .sticky-heading {
    position: static;
  }
}

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

  .nav-toggle {
    display: block;
  }

  .nav-menu {
    position: fixed;
    inset: 76px 14px auto 14px;
    display: grid;
    gap: 4px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: rgba(247, 245, 239, 0.98);
    box-shadow: var(--shadow);
    transform: translateY(-16px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  }

  .nav-menu.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .nav-menu a {
    padding: 12px 10px;
    border-radius: 12px;
  }

  .nav-menu a:hover {
    background: var(--bg-soft);
  }

  .nav-cta {
    text-align: center;
  }

  .section {
    padding: 78px 0;
  }

  .hero {
    min-height: auto;
    padding-top: 122px;
  }

  h1 {
    font-size: clamp(3.1rem, 14vw, 5.4rem);
  }

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

  .program-item {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .cards-grid,
  .audience-grid,
  .why-grid {
    grid-template-columns: 1fr;
  }

  .audience-wide {
    grid-column: auto;
  }

  .hero-card,
  .experience-panel,
  .contact-form {
    padding: 24px;
    border-radius: 24px;
  }

  .hero-actions {
    display: grid;
  }

  .btn {
    width: 100%;
  }

  .timeline-item {
    padding: 28px;
  }

  .timeline-item span {
    position: static;
    display: inline-flex;
    margin-bottom: 12px;
  }
}

/* v4 forms */
.hidden-field {
  display: none !important;
}

.contact-logo {
  width: min(260px, 80%);
  margin-bottom: 32px;
  padding: 12px 14px;
  border-radius: 18px;
  background: rgba(247, 245, 239, 0.96);
}

.form-head {
  margin-bottom: 24px;
}

.form-head h3 {
  margin-bottom: 10px;
  color: #fff;
  font-size: clamp(1.5rem, 2.2vw, 2.1rem);
}

.form-head p {
  margin: 0;
  color: rgba(246, 242, 233, 0.68);
}

.form-kicker {
  margin-bottom: 8px !important;
  color: var(--accent) !important;
  font-size: 0.75rem !important;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.application-wrap {
  margin-top: 28px;
}

.application-form {
  padding: 38px;
}

.application-head {
  max-width: 820px;
}

.form-fields-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 18px;
}

.checkbox-row {
  margin-top: 4px;
}

.checkbox-row label {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: rgba(246, 242, 233, 0.72);
  font-weight: 600;
  line-height: 1.45;
}

.checkbox-row input[type="checkbox"] {
  width: 18px;
  height: 18px;
  min-width: 18px;
  margin-top: 2px;
  accent-color: var(--accent);
}

@media (max-width: 820px) {
  .form-fields-grid {
    grid-template-columns: 1fr;
  }

  .application-form {
    padding: 24px;
    border-radius: 24px;
  }
}


/* v5 tender services block */
.tenders-section {
  background: linear-gradient(180deg, var(--bg), #f1ede2);
}

.tender-panel {
  padding: 48px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.68);
  box-shadow: var(--shadow);
}

.tender-heading {
  max-width: 980px;
  margin-bottom: 36px;
}

.tender-heading p:not(.eyebrow) {
  max-width: 920px;
}

.tender-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.tender-card {
  min-height: 245px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fbfaf5;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.tender-card:hover {
  transform: translateY(-4px);
  border-color: rgba(111, 143, 114, 0.42);
  box-shadow: 0 18px 46px rgba(19, 24, 22, 0.08);
}

.tender-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-bottom: 26px;
  border-radius: 999px;
  color: var(--dark);
  background: #dbe3d5;
  font-size: 0.78rem;
  font-weight: 900;
}

.tender-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.tender-summary {
  display: grid;
  grid-template-columns: minmax(220px, 0.36fr) 1fr;
  gap: 28px;
  margin-top: 20px;
  padding: 28px;
  border: 1px solid rgba(111, 143, 114, 0.28);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(111, 143, 114, 0.13), rgba(185, 155, 95, 0.08));
}

.tender-summary strong {
  font-size: 1.25rem;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.tender-summary p {
  margin-bottom: 0;
  color: var(--muted);
}

@media (max-width: 1040px) {
  .tender-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tender-summary {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .tender-panel {
    padding: 24px;
    border-radius: 24px;
  }

  .tender-grid {
    grid-template-columns: 1fr;
  }

  .tender-card {
    min-height: auto;
  }
}

/* v6 visual refresh: editorial photo accents */
.hero-visual {
  position: relative;
  display: grid;
  gap: 18px;
}

.hero-photo-frame {
  position: relative;
  overflow: hidden;
  min-height: 480px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 34px 100px rgba(0, 0, 0, 0.28);
}

.hero-photo-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(17, 22, 21, 0) 42%, rgba(17, 22, 21, 0.68) 100%);
  pointer-events: none;
}

.hero-photo-frame img {
  width: 100%;
  height: 100%;
  min-height: 480px;
  object-fit: cover;
  transform: scale(1.025);
}

.hero-photo-badge {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  z-index: 1;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 22px;
  background: rgba(12, 16, 15, 0.58);
  backdrop-filter: blur(14px);
}

.hero-photo-badge strong {
  color: #fff;
  font-size: clamp(1.45rem, 2.6vw, 2rem);
  line-height: 1;
}

.hero-photo-badge span {
  max-width: 170px;
  color: rgba(246, 242, 233, 0.72);
  font-size: 0.9rem;
  line-height: 1.25;
  text-align: right;
}

.hero-mini-card {
  display: grid;
  grid-template-columns: 158px 1fr;
  gap: 18px;
  align-items: center;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
}

.hero-mini-card img {
  width: 158px;
  padding: 10px;
  border-radius: 14px;
  background: rgba(247, 245, 239, 0.96);
}

.hero-mini-card p {
  margin: 0;
  color: rgba(246, 242, 233, 0.72);
  font-size: 0.95rem;
  line-height: 1.45;
}

.visual-break {
  position: relative;
  min-height: 190px;
  overflow: hidden;
  display: flex;
  align-items: center;
  color: #fff;
  background: #111615;
}

.visual-break-image {
  position: absolute;
  inset: 0;
}

.visual-break-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.92) contrast(1.04);
}

.visual-break-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(17, 22, 21, 0.72), rgba(17, 22, 21, 0.18), rgba(17, 22, 21, 0.62));
}

.visual-break-content {
  position: relative;
  z-index: 1;
}

.visual-break-content p {
  width: fit-content;
  margin: 0;
  padding: 12px 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(17, 22, 21, 0.44);
  color: rgba(246, 242, 233, 0.88);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  backdrop-filter: blur(12px);
}

.tender-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.42fr);
  gap: 36px;
  align-items: stretch;
  margin-bottom: 36px;
}

.tender-intro .tender-heading {
  margin-bottom: 0;
}

.tender-visual {
  position: relative;
  min-height: 260px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: 0 24px 66px rgba(19, 24, 22, 0.08);
}

.tender-visual img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
}

.tender-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 48%, rgba(17, 22, 21, 0.64));
}

.tender-visual-note {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 1;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 16px;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(12, 16, 15, 0.48);
  font-size: 0.9rem;
  font-weight: 800;
  text-align: center;
  backdrop-filter: blur(12px);
}

.contact-note-card {
  margin-top: 34px;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.085), rgba(185, 155, 95, 0.09));
  backdrop-filter: blur(14px);
}

.contact-note-card .note-label {
  display: inline-flex;
  margin-bottom: 14px;
  color: rgba(246, 242, 233, 0.56);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-note-card strong {
  display: block;
  max-width: 420px;
  color: #fff;
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  line-height: 1.18;
  letter-spacing: -0.03em;
}

.contact-note-card p {
  margin: 14px 0 0;
  color: rgba(246, 242, 233, 0.72);
}

.contact-note-card a {
  color: #fff;
  font-weight: 800;
}

.back-top {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.back-top:hover,
.back-top:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.12);
  outline: none;
}

@media (max-width: 1040px) {
  .hero-photo-frame,
  .hero-photo-frame img {
    min-height: 390px;
  }

  .tender-intro {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .hero-photo-frame,
  .hero-photo-frame img,
  .tender-visual,
  .tender-visual img {
    min-height: 300px;
  }

  .hero-photo-badge,
  .hero-mini-card {
    grid-template-columns: 1fr;
  }

  .hero-photo-badge {
    display: grid;
  }

  .hero-photo-badge span {
    max-width: none;
    text-align: left;
  }

  .hero-mini-card img {
    width: 100%;
    height: auto;
    max-height: 210px;
    object-fit: cover;
  }

  .visual-break {
    min-height: 150px;
  }

  .visual-break-content p {
    border-radius: 18px;
    font-size: 0.78rem;
  }
}

/* v8 premium interaction layer */
.btn-ghost {
  color: #f6f2e9;
  border-color: rgba(255, 255, 255, 0.12);
  background: transparent;
}

.btn-ghost:hover {
  border-color: rgba(185, 155, 95, 0.45);
  background: rgba(255, 255, 255, 0.06);
}

.diagnostic-section {
  background: linear-gradient(180deg, #f7f5ef, #ede8dc);
}

.diagnostic-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(420px, 1fr);
  gap: 54px;
  align-items: start;
}

.diagnostic-copy {
  position: sticky;
  top: 116px;
}

.diagnostic-benefits {
  display: grid;
  gap: 12px;
  margin-top: 34px;
}

.diagnostic-benefits span {
  position: relative;
  padding: 15px 18px 15px 44px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.64);
  color: #2d3733;
  font-weight: 800;
  box-shadow: 0 14px 36px rgba(19, 24, 22, 0.05);
}

.diagnostic-benefits span::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 50%;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 6px rgba(185, 155, 95, 0.13);
  transform: translateY(-50%);
}

.diagnostic-card {
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow);
  color: var(--ink);
}

.diagnostic-card .form-row label,
.diagnostic-card .checkbox-row label {
  color: #35403b;
}

.diagnostic-card .form-row input,
.diagnostic-card .form-row textarea,
.diagnostic-card .form-row select {
  color: var(--ink);
  border-color: rgba(19, 24, 22, 0.14);
  background: #fbfaf6;
}

.diagnostic-card .form-row input::placeholder,
.diagnostic-card .form-row textarea::placeholder {
  color: rgba(19, 24, 22, 0.36);
}

.diagnostic-card .form-note {
  color: var(--muted);
}

.diagnostic-topline {
  display: grid;
  gap: 12px;
  margin-bottom: 30px;
}

.diagnostic-step-label {
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.diagnostic-step-label b {
  color: var(--accent);
}

.diagnostic-progress {
  overflow: hidden;
  height: 8px;
  border-radius: 999px;
  background: rgba(19, 24, 22, 0.08);
}

.diagnostic-progress span {
  display: block;
  width: 20%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transition: width 0.28s ease;
}

.diagnostic-step {
  display: none;
}

.diagnostic-step.active {
  display: block;
}

.diagnostic-step h3 {
  margin-bottom: 10px;
  font-size: clamp(1.55rem, 2.3vw, 2.1rem);
}

.diagnostic-step p {
  max-width: 660px;
  margin-bottom: 24px;
  color: var(--muted);
}

.choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.choice-grid label {
  cursor: pointer;
}

.choice-grid input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.choice-grid span {
  display: flex;
  align-items: center;
  min-height: 66px;
  padding: 16px 18px;
  border: 1px solid rgba(19, 24, 22, 0.12);
  border-radius: 18px;
  background: #fbfaf6;
  color: #2d3733;
  font-weight: 800;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.choice-grid input:checked + span {
  border-color: rgba(185, 155, 95, 0.74);
  background: linear-gradient(135deg, rgba(185, 155, 95, 0.18), rgba(111, 143, 114, 0.13));
  box-shadow: 0 12px 32px rgba(19, 24, 22, 0.08);
}

.choice-grid span:hover {
  transform: translateY(-2px);
  border-color: rgba(185, 155, 95, 0.5);
}

.diagnostic-fields {
  gap: 0 14px;
}

.diagnostic-actions {
  display: flex;
  gap: 12px;
  margin-top: 26px;
}

.diagnostic-actions .btn {
  min-width: 150px;
}

.diagnostic-actions .btn-secondary {
  color: var(--ink);
  border-color: rgba(19, 24, 22, 0.12);
  background: #fbfaf6;
}

.js-diag-submit {
  display: none;
}

.js-diag-prev.is-hidden {
  display: none;
}

.cases-section {
  position: relative;
}

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

.case-card {
  min-height: 260px;
  display: flex;
  flex-direction: column;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 18px 46px rgba(19, 24, 22, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.case-card:hover {
  transform: translateY(-5px);
  border-color: rgba(185, 155, 95, 0.45);
  box-shadow: var(--shadow);
}

.case-card span {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 38px;
  color: var(--accent);
  font-weight: 900;
  letter-spacing: 0.12em;
}

.case-card p,
.insight-card p {
  color: var(--muted);
  margin-bottom: 0;
}

.insights-section {
  background: var(--bg);
}

.insights-panel {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1.22fr);
  gap: 48px;
  align-items: start;
  padding: 46px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, rgba(255,255,255,0.84), rgba(235,231,220,0.62));
  box-shadow: var(--shadow);
}

.insight-grid {
  display: grid;
  gap: 16px;
}

.insight-card {
  padding: 24px;
  border: 1px solid rgba(19, 24, 22, 0.1);
  border-radius: var(--radius-lg);
  background: #fbfaf6;
}

.insight-card span {
  display: inline-flex;
  margin-bottom: 14px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-choice {
  display: grid;
  gap: 12px;
  margin-top: 34px;
}

.choice-card {
  width: 100%;
  cursor: pointer;
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
  align-items: start;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  color: #fff;
  background: rgba(255, 255, 255, 0.065);
  text-align: left;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.choice-card:hover,
.choice-card.is-selected {
  transform: translateY(-2px);
  border-color: rgba(185, 155, 95, 0.44);
  background: rgba(255, 255, 255, 0.1);
}

.choice-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: var(--dark);
  background: var(--accent);
  font-weight: 900;
  font-size: 0.78rem;
}

.choice-card strong,
.choice-card small {
  grid-column: 2;
}

.choice-card strong {
  margin-top: -42px;
  margin-left: 52px;
  font-size: 1.02rem;
  line-height: 1.2;
}

.choice-card small {
  margin-top: -4px;
  margin-left: 52px;
  color: rgba(246, 242, 233, 0.66);
  line-height: 1.4;
}

@media (max-width: 1040px) {
  .diagnostic-grid,
  .insights-panel {
    grid-template-columns: 1fr;
  }

  .diagnostic-copy {
    position: static;
  }

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

@media (max-width: 720px) {
  .choice-grid,
  .case-grid {
    grid-template-columns: 1fr;
  }

  .diagnostic-card,
  .insights-panel {
    padding: 24px;
    border-radius: 24px;
  }

  .diagnostic-actions {
    display: grid;
  }

  .diagnostic-actions .btn {
    width: 100%;
  }
}

/* contact choice alignment override */
.choice-card span {
  grid-column: 1;
  grid-row: 1 / span 2;
}
.choice-card strong {
  grid-column: 2;
  margin: 0;
}
.choice-card small {
  grid-column: 2;
  margin: 0;
}
