@import url("https://fonts.googleapis.com/css2?family=IBM+Plex+Sans+Arabic:wght@400;500;600;700&display=swap");

:root {
  --black: #272725;
  --cinnabar: #e24d30;
  --blue: #6d9fb8;
  --white: #ffffff;
  --sky-soft: #dfeef2;
  --sky-pale: #eef6f7;
  --paper: #f7f3eb;
  --soft: #fbf7ee;
  --line: #ded7cf;
  --muted: #69645e;
  --shadow: 0 24px 70px rgba(39, 39, 37, 0.16);
  --font-ar: "IBM Plex Sans Arabic", Tahoma, Arial, sans-serif;
  --font-en: "Clash Grotesk", "IBM Plex Sans Arabic", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--black);
  background:
    radial-gradient(circle at top right, rgba(109, 159, 184, 0.24), transparent 34%),
    linear-gradient(180deg, var(--sky-pale), var(--paper) 38%, var(--soft));
  font-family: var(--font-ar);
  line-height: 1.75;
  max-width: 100%;
  touch-action: pan-y;
}

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

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

.icon,
.brand-icon {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: 0 0 auto;
}

.brand-icon {
  width: 25px;
  height: 25px;
  stroke-width: 1.7;
}

.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;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 22px;
  min-height: 82px;
  padding: 12px clamp(18px, 5vw, 72px);
  background: rgba(247, 243, 235, 0.94);
  border-bottom: 1px solid rgba(222, 215, 207, 0.9);
  backdrop-filter: blur(16px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 178px;
}

.brand-logo {
  width: 118px;
  height: auto;
}

.brand span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 600;
}

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

.nav-icon-link,
.section-icon-title,
.footer-heading-icon {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.menu-toggle,
.menu-button {
  display: none;
}

.button,
.nav-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 10px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  white-space: nowrap;
}

.button.primary,
.nav-action {
  color: var(--white);
  background: var(--cinnabar);
}

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

.button.light,
.button.inverse {
  color: var(--cinnabar);
  background: var(--white);
}

.button.outline {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.42);
}

.button.icon-only {
  width: 58px;
  padding-inline: 0;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.82fr);
  align-items: end;
  gap: clamp(28px, 4vw, 62px);
  min-height: calc(100svh - 82px);
  padding: 84px clamp(18px, 5vw, 72px) 74px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(109, 159, 184, 0.92), rgba(223, 238, 242, 0.7)),
    url("assets-v2/pdf-renders/interior-15.jpg") center / cover;
  color: var(--white);
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(247, 243, 235, 0.08), rgba(109, 159, 184, 0.82)),
    linear-gradient(135deg, rgba(226, 77, 48, 0.24), rgba(247, 243, 235, 0.08) 42%, transparent);
  pointer-events: none;
}

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

.hero-content {
  max-width: 760px;
}

.eyebrow,
.section-label {
  margin: 0 0 12px;
  color: var(--cinnabar);
  font-size: 14px;
  font-weight: 900;
}

.eyebrow.light {
  color: #ffd9cf;
}

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

h1 {
  margin-bottom: 18px;
  font-size: clamp(42px, 7vw, 82px);
  line-height: 1.08;
  letter-spacing: 0;
}

.hero p {
  max-width: 660px;
  color: #f4ebe4;
  font-size: clamp(18px, 2vw, 23px);
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero-visual {
  align-self: stretch;
  min-height: clamp(430px, 50vw, 650px);
  overflow: hidden;
  isolation: isolate;
  background: url("assets-v2/gallery/dr-heba-clinic/dr-heba-clinic-01.jpg") center / cover;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 8% -8% 4% -10%;
  z-index: -1;
  background:
    radial-gradient(circle at 45% 35%, rgba(247, 243, 235, 0.46), transparent 34%),
    linear-gradient(150deg, rgba(255, 255, 255, 0.18), rgba(39, 39, 37, 0.12));
  filter: blur(2px);
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(circle at center, #000 0 48%, transparent 72%);
  opacity: 0.7;
}

.hero-visual canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.clinic-carousel {
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.clinic-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  animation: clinicSlide 15s infinite;
}

.clinic-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.clinic-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(39, 39, 37, 0.08), rgba(39, 39, 37, 0.42));
}

.clinic-slide.slide-two {
  animation-delay: 5s;
}

.clinic-slide.slide-three {
  animation-delay: 10s;
}

@keyframes clinicSlide {
  0%,
  28% {
    opacity: 1;
  }

  34%,
  100% {
    opacity: 0;
  }
}

.hero-visual-caption,
.material-notes {
  position: absolute;
  z-index: 2;
  backdrop-filter: blur(16px);
  background: rgba(247, 243, 235, 0.78);
  color: var(--black);
  box-shadow: 0 18px 50px rgba(39, 39, 37, 0.18);
}

.hero-visual-caption {
  top: 32px;
  right: 0;
  display: grid;
  gap: 4px;
  max-width: min(320px, 70%);
  padding: 15px 18px;
  border-right: 4px solid var(--cinnabar);
}

.hero-visual-caption span {
  color: var(--cinnabar);
  font-size: 13px;
  font-weight: 900;
}

.hero-visual-caption strong {
  font-size: clamp(19px, 2.5vw, 30px);
  line-height: 1.25;
}

.carousel-dots {
  position: absolute;
  z-index: 3;
  right: 22px;
  bottom: 22px;
  display: flex;
  gap: 8px;
}

.carousel-dots span {
  width: 26px;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
  animation: dotPulse 15s infinite;
}

.carousel-dots span:nth-child(2) {
  animation-delay: 5s;
}

.carousel-dots span:nth-child(3) {
  animation-delay: 10s;
}

@keyframes dotPulse {
  0%,
  28% {
    background: var(--cinnabar);
  }

  34%,
  100% {
    background: rgba(255, 255, 255, 0.62);
  }
}

.material-notes {
  left: 0;
  bottom: 34px;
  display: grid;
  gap: 9px;
  width: min(360px, 78%);
  margin: 0;
  padding: 16px 18px;
  list-style: none;
}

.material-notes li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.45;
}

.material-notes span {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: var(--cinnabar);
  box-shadow: 0 0 0 5px rgba(226, 77, 48, 0.14);
  flex: 0 0 auto;
}

.material-notes li:nth-child(1) span {
  background: #ead8bf;
  box-shadow: 0 0 0 5px rgba(234, 216, 191, 0.32);
}

.material-notes li:nth-child(2) span {
  background: #c98558;
  box-shadow: 0 0 0 5px rgba(201, 133, 88, 0.25);
}

.material-notes li:nth-child(3) span {
  background: #b58b60;
  box-shadow: 0 0 0 5px rgba(181, 139, 96, 0.24);
}

.material-notes li:nth-child(4) span {
  background: #302c28;
  box-shadow: 0 0 0 5px rgba(48, 44, 40, 0.16);
}

.quick-links {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border-bottom: 1px solid var(--line);
}

.quick-links a {
  display: block;
  min-height: 148px;
  padding: 26px clamp(18px, 4vw, 40px);
  background: linear-gradient(180deg, var(--soft), var(--sky-pale));
}

.quick-links strong,
.quick-links span,
.quick-links small {
  display: block;
}

.quick-links strong {
  color: var(--cinnabar);
  font-family: var(--font-en);
  font-size: 34px;
  line-height: 1;
}

.quick-links span {
  margin-top: 12px;
  font-size: 19px;
  font-weight: 800;
}

.quick-links small {
  color: var(--muted);
  font-size: 14px;
}

.section {
  padding: 82px clamp(18px, 5vw, 72px);
}

.about {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: clamp(24px, 5vw, 80px);
  background: linear-gradient(135deg, var(--blue), var(--sky-soft));
  color: var(--white);
}

.about h2,
.section-heading h2,
.contact h2 {
  margin: 0;
  font-size: clamp(30px, 4.5vw, 56px);
  line-height: 1.2;
  letter-spacing: 0;
}

.about p {
  max-width: 930px;
  color: #dbd4cc;
  font-size: 18px;
}

.stats {
  background: linear-gradient(180deg, var(--white), var(--sky-pale));
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 34px;
}

.section-heading.compact {
  display: block;
  max-width: 860px;
}

.stats-grid,
.system-grid,
.why-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.stats-grid article,
.system-card,
.why-list p {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.stats-grid article {
  min-height: 230px;
  padding: 26px;
}

.stats-grid strong {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 26px;
  color: var(--white);
  background: var(--cinnabar);
  border-radius: 8px;
  font-family: var(--font-en);
}

.stats-grid h3,
.system-card h3,
.timeline h3 {
  margin-bottom: 10px;
  font-size: 24px;
}

.stats-grid p,
.system-card p,
.timeline p,
.partners p,
.contact p {
  color: var(--muted);
  margin-bottom: 0;
}

.systems {
  background: linear-gradient(180deg, var(--paper), var(--sky-pale));
}

.system-grid {
  grid-template-columns: 1.2fr 1fr 1fr;
}

.system-card {
  display: flex;
  min-height: 360px;
  flex-direction: column;
  padding: 28px;
}

.system-card.featured {
  color: var(--white);
  background: var(--cinnabar);
  border-color: var(--cinnabar);
}

.system-card span {
  margin-bottom: 34px;
  color: var(--blue);
  font-family: var(--font-en);
  direction: ltr;
  text-align: left;
  font-weight: 700;
}

.system-card.featured span,
.system-card.featured p {
  color: #ffe0d8;
}

.system-card a {
  margin-top: auto;
  width: max-content;
  padding-top: 22px;
  color: inherit;
  font-weight: 900;
}

.project-catalog {
  background: linear-gradient(180deg, var(--white), var(--sky-pale));
}

.gallery-block + .gallery-block {
  margin-top: 52px;
}

.gallery-heading {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr) minmax(240px, 0.7fr);
  gap: 18px;
  align-items: end;
  margin-bottom: 18px;
}

.gallery-heading span {
  color: var(--cinnabar);
  font-family: var(--font-en);
  font-weight: 800;
  direction: ltr;
  text-align: left;
}

.gallery-heading h3 {
  margin-bottom: 0;
  font-size: clamp(26px, 3.5vw, 42px);
  line-height: 1.2;
}

.gallery-heading p {
  color: var(--muted);
  margin-bottom: 0;
}

.visual-gallery {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 16px;
}

.gallery-item,
.drawing-card {
  position: relative;
  min-height: 240px;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.gallery-item.large {
  grid-row: span 2;
}

.gallery-item img,
.drawing-card img {
  width: 100%;
  height: 100%;
  min-height: 240px;
  object-fit: cover;
}

.gallery-item figcaption,
.drawing-card figcaption {
  position: absolute;
  inset-inline: 14px;
  bottom: 14px;
  width: max-content;
  max-width: calc(100% - 28px);
  padding: 7px 11px;
  color: var(--white);
  background: rgba(39, 39, 37, 0.72);
  border-radius: 8px;
  font-family: var(--font-en);
  font-size: 13px;
  font-weight: 700;
  direction: ltr;
}

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

.drawing-card {
  background: var(--white);
}

.drawing-card img {
  object-fit: contain;
  padding: 12px;
  background: var(--white);
}

.commercial-cases {
  background: linear-gradient(180deg, var(--sky-pale), var(--white));
}

.case-study {
  display: grid;
  grid-template-columns: minmax(260px, 0.55fr) minmax(0, 1.45fr);
  gap: 24px;
  align-items: stretch;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.74);
}

.case-study + .case-study {
  margin-top: 24px;
}

.case-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.case-copy span {
  margin-bottom: 12px;
  color: var(--cinnabar);
  font-family: var(--font-en);
  direction: ltr;
  text-align: left;
  font-weight: 800;
}

.case-copy h3 {
  margin-bottom: 12px;
  font-size: clamp(27px, 3vw, 40px);
  line-height: 1.2;
}

.case-copy p,
.guide-grid p {
  color: var(--muted);
  margin-bottom: 0;
}

.case-gallery {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 14px;
}

.case-image {
  position: relative;
  min-height: 230px;
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  background: var(--soft);
}

.case-image.large {
  grid-row: span 2;
}

.case-image img {
  width: 100%;
  height: 100%;
  min-height: 230px;
  object-fit: cover;
}

.case-image figcaption {
  position: absolute;
  inset-inline: 12px;
  bottom: 12px;
  width: max-content;
  max-width: calc(100% - 24px);
  padding: 7px 11px;
  color: var(--white);
  background: rgba(39, 39, 37, 0.72);
  border-radius: 8px;
  font-family: var(--font-en);
  font-size: 13px;
  direction: ltr;
}

.guide-system {
  background: linear-gradient(180deg, var(--white), var(--paper));
}

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

.guide-grid article {
  min-height: 240px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.guide-grid h3 {
  margin-bottom: 10px;
  font-size: 22px;
}

.process {
  background: linear-gradient(180deg, var(--sky-pale), var(--paper));
}

.timeline {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.timeline article {
  min-height: 245px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.timeline span {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 28px;
  color: var(--white);
  background: var(--cinnabar);
  border-radius: 8px;
  font-family: var(--font-en);
  font-weight: 900;
}

.partners {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  align-items: center;
  gap: clamp(24px, 5vw, 72px);
  color: var(--white);
  background: linear-gradient(135deg, var(--blue), #8fb8c7 62%, var(--sky-soft));
}

.partners h2 {
  margin-bottom: 16px;
  font-size: clamp(30px, 4vw, 54px);
  line-height: 1.2;
}

.partners p {
  color: #d9d2ca;
}

.tag-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.tag-grid a {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 10px 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  font-weight: 800;
}

.tag-grid a:hover {
  background: var(--cinnabar);
}

.why {
  background: linear-gradient(180deg, var(--paper), var(--sky-pale));
}

.why-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.why-list p {
  margin: 0;
  padding: 18px 20px;
  font-weight: 800;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 320px) auto;
  align-items: center;
  gap: 28px;
  padding: 72px clamp(18px, 5vw, 72px);
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(226, 77, 48, 0.92), rgba(109, 159, 184, 0.92)),
    var(--blue);
}

.contact p {
  color: #ffe5dc;
}

.contact-details {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
  color: var(--white);
}

.contact-details span,
.contact-details a,
.contact-actions a[href^="tel"],
.contact a[href^="mailto"],
.footer a[href^="tel"],
.footer a[href^="mailto"],
.footer a[href^="https"] {
  direction: ltr;
  unicode-bidi: isolate;
}

.contact-details span,
.contact-details a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 5px 10px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 8px;
  font-family: var(--font-en);
  font-size: 14px;
}

.contact-details .email-chip svg {
  width: 18px;
  height: 18px;
}

.qr-card {
  padding: 18px;
  color: var(--black);
  background: var(--white);
  border-radius: 8px;
}

.qr-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.qr-card h3 {
  margin: 14px 0 6px;
  font-size: 22px;
}

.qr-card p {
  color: var(--muted);
  font-size: 14px;
}

.footer {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, minmax(160px, 1fr));
  gap: 30px;
  padding: 46px clamp(18px, 5vw, 72px) 30px;
  color: #d7d0c8;
  background: linear-gradient(135deg, var(--blue), #91bdca);
}

.footer img {
  width: 120px;
  filter: invert(1);
}

.footer p {
  margin-bottom: 0;
}

.footer strong,
.footer a {
  display: block;
}

.footer strong {
  margin-bottom: 10px;
  color: var(--white);
}

.footer-heading-icon {
  width: max-content;
  max-width: 100%;
}

.footer a {
  margin: 6px 0;
  color: #d7d0c8;
}

.copyright {
  color: #aaa39c;
  font-family: var(--font-en);
  direction: ltr;
}

.footer-rights {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.mem-credit {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: #d7d0c8;
  font-size: 13px;
  text-decoration: none;
}

.footer .mem-credit img {
  width: 96px;
  max-height: 34px;
  filter: none;
}

.scroll-controls {
  position: fixed;
  inset-inline-start: 18px;
  bottom: 18px;
  z-index: 60;
  display: grid;
  gap: 8px;
}

.scroll-controls button {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: var(--white);
  background: var(--cinnabar);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  box-shadow: var(--shadow);
  cursor: pointer;
  font-size: 22px;
  font-weight: 900;
}

@media (max-width: 1060px) {
  .site-header {
    grid-template-columns: auto auto auto;
  }

  .menu-button {
    display: inline-flex;
    width: 46px;
    height: 46px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    margin-inline-start: auto;
    border-radius: 999px;
    background: var(--blue);
  }

  .menu-button span {
    width: 18px;
    height: 2px;
    background: var(--white);
  }

  .nav {
    position: absolute;
    inset-inline: 18px;
    top: calc(100% + 8px);
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--soft);
    box-shadow: var(--shadow);
  }

  .nav a {
    padding: 14px 18px;
    border-bottom: 1px solid var(--line);
  }

  .menu-toggle:checked ~ .nav {
    display: flex;
  }

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

  .quick-links,
  .stats-grid,
  .timeline,
  .footer {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .system-grid,
  .visual-gallery,
  .drawing-gallery,
  .case-study,
  .case-gallery,
  .why-list {
    grid-template-columns: 1fr 1fr;
  }

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

  .gallery-heading {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .site-header {
    min-height: 74px;
    grid-template-columns: 1fr auto;
  }

  .brand {
    min-width: 0;
  }

  .brand-logo {
    width: 104px;
  }

  .brand span,
  .nav-action {
    display: none;
  }

  .hero {
    min-height: auto;
    padding-block: 62px 44px;
  }

  .hero-visual {
    min-height: 430px;
  }

  .hero-visual-caption {
    top: 18px;
    right: 0;
    max-width: 84%;
  }

  .material-notes {
    right: 0;
    left: auto;
    bottom: 20px;
    width: min(100%, 380px);
  }

  .hero-actions,
  .contact-actions {
    display: grid;
  }

  .button,
  .contact-actions a {
    width: 100%;
  }

  .section {
    padding-block: 58px;
  }

  .section-heading {
    display: block;
  }

  .quick-links,
  .stats-grid,
  .system-grid,
  .visual-gallery,
  .drawing-gallery,
  .case-study,
  .case-gallery,
  .guide-grid,
  .timeline,
  .why-list,
  .footer {
    grid-template-columns: 1fr;
  }

  .gallery-item.large,
  .case-image.large {
    grid-row: auto;
  }
}

.partners {
  display: block;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(23, 55, 67, 0.94), rgba(63, 88, 92, 0.9)),
    var(--blue);
}

.partners-heading {
  margin-bottom: 28px;
}

.partners-heading h2 {
  max-width: 860px;
  margin: 0;
  font-size: clamp(30px, 4vw, 54px);
  line-height: 1.2;
}

.partners-heading p:last-child {
  max-width: 760px;
  color: #e9ded5;
}

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

.partner-category-card {
  position: relative;
  min-height: 220px;
  overflow: hidden;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  color: var(--white);
  background: var(--black);
  cursor: pointer;
  text-align: inherit;
}

.partner-category-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.25s ease;
}

.partner-category-card:hover img {
  transform: scale(1.04);
}

.partner-category-card__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(12, 21, 24, 0.16), rgba(12, 21, 24, 0.78)),
    linear-gradient(90deg, rgba(226, 77, 48, 0.28), transparent);
}

.partner-category-card__content {
  position: absolute;
  inset-inline: 18px;
  bottom: 18px;
  display: grid;
  gap: 6px;
}

.partner-category-card strong {
  font-size: clamp(22px, 2.4vw, 34px);
  line-height: 1.2;
}

.partner-category-card small {
  width: fit-content;
  padding: 5px 10px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  font-family: var(--font-en);
}

.partner-results[hidden],
.partner-category-grid[hidden] {
  display: none;
}

.partner-results-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.partner-results-head h3 {
  margin: 0;
  font-size: clamp(28px, 3vw, 42px);
}

.partner-back {
  min-height: 42px;
  padding: 8px 14px;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  cursor: pointer;
  font: inherit;
  font-weight: 800;
}

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

.partner-card {
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 14px;
  min-height: 270px;
  padding: 18px;
  color: var(--black);
  background: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.partner-card__top {
  display: flex;
  align-items: center;
  gap: 12px;
}

.partner-logo {
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  flex: 0 0 76px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.partner-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 8px;
}

.partner-logo--fallback {
  color: var(--white);
  background: var(--cinnabar);
  font-family: var(--font-en);
  font-size: 22px;
  font-weight: 900;
}

.partner-card h4 {
  margin: 0 0 4px;
  font-size: 20px;
  line-height: 1.35;
}

.partners .partner-card__latin {
  margin: 0;
  color: var(--muted);
  direction: ltr;
  font-family: var(--font-en);
  font-size: 12px;
  text-align: right;
}

.partners .partner-card__desc {
  margin: 0;
  color: #4f5653;
  font-size: 14px;
  line-height: 1.75;
}

.partner-card__links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.partner-card__links a,
.partner-no-link {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 10px;
  border-radius: 7px;
  font-size: 12px;
  text-decoration: none;
}

.partner-card__links a {
  color: var(--white);
  background: var(--blue);
}

.partner-card__links a:hover {
  background: var(--cinnabar);
}

.partner-no-link {
  color: var(--muted);
  border: 1px solid var(--line);
}

@media (max-width: 1060px) {
  .partner-category-grid,
  .partner-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .partner-category-grid,
  .partner-card-grid {
    grid-template-columns: 1fr;
  }

  .partner-results-head {
    display: grid;
  }

  .partner-back {
    width: 100%;
  }
}

.contact-simple {
  grid-template-columns: minmax(0, 760px);
  justify-content: center;
  text-align: center;
}

.system-page {
  background: linear-gradient(180deg, var(--sky-pale), var(--paper) 44%, var(--soft));
}

.system-hero,
.system-section,
.system-cta,
.system-lead,
.system-related {
  padding-inline: clamp(18px, 5vw, 72px);
}

.system-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
  gap: 34px;
  align-items: center;
  min-height: calc(100vh - 82px);
  padding-block: 84px 64px;
}

.system-hero-copy {
  max-width: 820px;
}

.system-hero h1 {
  margin: 0 0 16px;
  font-size: clamp(44px, 6vw, 84px);
  line-height: 1.05;
}

.system-hero strong {
  display: block;
  margin-bottom: 18px;
  color: var(--cinnabar);
  font-size: clamp(22px, 3vw, 34px);
  line-height: 1.4;
}

.system-hero p,
.system-intro,
.system-cta p,
.system-lead-copy p,
.system-related p {
  color: var(--muted);
  font-size: 18px;
}

.system-hero-visual {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.system-hero-visual article,
.system-mini-card,
.system-output-grid article,
.system-step,
.system-lead,
.system-related {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.system-hero-visual article {
  min-height: 132px;
  padding: 22px;
  box-shadow: 0 16px 42px rgba(39, 39, 37, 0.08);
}

.system-hero-visual article:first-child {
  color: var(--white);
  background: var(--cinnabar);
  border-color: var(--cinnabar);
}

.system-hero-visual article:nth-child(2) {
  background: var(--sky-soft);
}

.system-hero-visual svg,
.system-card-icon svg,
.quick-contact svg {
  width: 26px;
  height: 26px;
  margin-bottom: 18px;
}

.system-hero-visual span {
  display: block;
  font-weight: 900;
}

.system-section {
  padding-block: 62px;
}

.system-intro {
  max-width: 980px;
  margin: 0;
}

.system-components-grid,
.system-output-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.system-mini-card {
  min-height: 260px;
  padding: 24px;
  scroll-margin-top: 104px;
}

.component-link-card {
  color: inherit;
  cursor: pointer;
  text-decoration: none;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease,
    background-color 0.25s ease;
}

.component-link-card:hover {
  transform: translateY(-4px);
  border-color: rgba(226, 77, 48, 0.48);
  background: var(--white);
  box-shadow: 0 14px 35px rgba(39, 39, 37, 0.12);
}

.component-link-card:focus-visible {
  outline: 2px solid var(--cinnabar);
  outline-offset: 4px;
}

.system-card-icon {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 22px;
  color: var(--white);
  background: var(--blue);
  border-radius: 8px;
}

.system-card-icon svg {
  margin: 0;
}

.system-mini-card h3 {
  margin: 0 0 10px;
  font-size: 22px;
}

.system-mini-card p {
  margin: 0;
  color: var(--muted);
}

.system-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  counter-reset: steps;
}

.system-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: start;
  min-height: 112px;
  padding: 20px;
  color: inherit;
  text-decoration: none;
  scroll-margin-top: 104px;
}

.system-step strong {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--white);
  background: var(--cinnabar);
  border-radius: 8px;
  font-family: var(--font-en);
}

.system-step p,
.system-output-grid article {
  margin: 0;
  font-weight: 800;
}

.journey-card {
  cursor: pointer;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease,
    background-color 0.25s ease;
}

.journey-card:hover {
  transform: translateY(-4px);
  border-color: rgba(226, 77, 48, 0.48);
  background: var(--white);
  box-shadow: 0 14px 35px rgba(39, 39, 37, 0.12);
}

.journey-card:focus-visible {
  outline: 2px solid var(--cinnabar);
  outline-offset: 4px;
}

.card-link {
  grid-column: 2;
  display: inline-flex;
  width: max-content;
  margin-top: 2px;
  color: var(--cinnabar);
  font-weight: 900;
}

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

.journey-detail-card {
  min-height: 220px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  scroll-margin-top: 104px;
}

.journey-detail-card strong {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 22px;
  color: var(--white);
  background: var(--blue);
  border-radius: 8px;
  font-family: var(--font-en);
}

.journey-detail-card h3 {
  margin: 0 0 10px;
  font-size: 22px;
}

.journey-detail-card p {
  margin: 0;
  color: var(--muted);
}

.system-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.system-tags span {
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  font-weight: 800;
}

.system-output-grid article {
  min-height: 92px;
  padding: 18px;
}

.system-related {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  margin: 32px clamp(18px, 5vw, 72px) 0;
  padding: 22px;
  background: var(--sky-soft);
}

.system-related a {
  color: var(--cinnabar);
  font-weight: 900;
}

.system-cta {
  padding-block: 70px;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(226, 77, 48, 0.92), rgba(109, 159, 184, 0.92)),
    var(--blue);
}

.system-cta h2 {
  max-width: 860px;
  margin-bottom: 12px;
}

.system-cta p {
  max-width: 760px;
  color: #ffe5dc;
}

.system-lead {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1fr);
  gap: 28px;
  align-items: start;
  margin: 70px clamp(18px, 5vw, 72px);
  padding: 28px;
  background: var(--white);
}

.quick-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.quick-contact a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 800;
}

.quick-contact svg {
  margin: 0;
}

.system-lead-form {
  display: grid;
  gap: 14px;
}

.system-lead-form label {
  display: grid;
  gap: 7px;
  font-weight: 800;
}

.system-lead-form input,
.system-lead-form select,
.system-lead-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 14px;
  color: var(--black);
  background: var(--soft);
  font: inherit;
}

.system-lead-form textarea {
  resize: vertical;
}

.system-lead-form [aria-invalid="true"] {
  border-color: var(--cinnabar);
  box-shadow: 0 0 0 3px rgba(226, 77, 48, 0.12);
}

.form-message {
  display: none;
  margin: 0;
  padding: 12px 14px;
  color: var(--black);
  background: var(--sky-pale);
  border-radius: 8px;
  font-weight: 800;
}

.form-message.is-visible {
  display: block;
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  z-index: 50;
  display: none;
  min-width: 260px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
  box-shadow: var(--shadow);
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  display: grid;
}

.nav-dropdown-menu a {
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
}

.clickable-card,
.system-card.clickable-card {
  color: inherit;
  cursor: pointer;
  text-decoration: none;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease,
    background-color 0.25s ease;
}

.clickable-card:hover,
.clickable-card:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(226, 77, 48, 0.48);
  background: var(--white);
  box-shadow: 0 14px 35px rgba(39, 39, 37, 0.12);
}

.clickable-card:focus-visible {
  outline: 2px solid var(--cinnabar);
  outline-offset: 4px;
}

.system-card em,
.card-link {
  display: inline-block;
  margin-top: auto;
  padding-top: 18px;
  color: var(--cinnabar);
  font-style: normal;
  font-weight: 900;
}

.system-card.featured em {
  color: var(--white);
}

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

.content-page {
  background: linear-gradient(180deg, var(--sky-pale), var(--paper) 44%, var(--soft));
}

.page-hero {
  display: grid;
  gap: 20px;
  min-height: 54vh;
  padding: 86px clamp(18px, 5vw, 72px) 56px;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(226, 77, 48, 0.92), rgba(109, 159, 184, 0.92)),
    var(--blue);
}

.page-hero h1 {
  max-width: 1000px;
  margin: 0;
  font-size: clamp(42px, 6vw, 82px);
  line-height: 1.08;
}

.page-hero p {
  max-width: 860px;
  color: #ffe5dc;
  font-size: 19px;
}

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

.tag-row span {
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 8px;
  font-weight: 800;
}

.page-section {
  padding: 64px clamp(18px, 5vw, 72px);
}

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

.page-card {
  min-height: 220px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.page-card strong {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  color: var(--white);
  background: var(--cinnabar);
  border-radius: 8px;
  font-family: var(--font-en);
}

.page-card h3 {
  margin: 0 0 10px;
}

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

.client-app-page {
  background: linear-gradient(180deg, var(--sky-pale), var(--paper) 42%, var(--soft));
}

.client-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  gap: 28px;
  align-items: stretch;
  padding: 86px clamp(18px, 5vw, 72px) 42px;
}

.client-hero h1 {
  margin: 0;
  font-size: clamp(42px, 5vw, 76px);
  line-height: 1.08;
}

.client-hero p {
  max-width: 760px;
  color: var(--muted);
  font-size: 18px;
}

.client-login-card,
.client-panel,
.client-kpis article {
  border: 1px solid rgba(109, 159, 184, 0.28);
  background: rgba(255, 255, 255, 0.66);
  box-shadow: 0 18px 50px rgba(39, 39, 37, 0.1);
  backdrop-filter: blur(18px);
}

.client-login-card {
  display: grid;
  align-content: center;
  gap: 12px;
  min-height: 260px;
  padding: 28px;
  border-radius: 22px;
}

.client-login-card span,
.client-login-card small,
.client-status-pill,
.client-panel-head span {
  color: var(--blue);
  font-weight: 700;
}

.client-login-card strong {
  font-size: 28px;
  line-height: 1.25;
}

.client-progress,
.payment-meter {
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(109, 159, 184, 0.18);
}

.client-progress i,
.payment-meter i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--cinnabar), var(--blue));
}

.client-shell {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 18px;
  padding: 22px clamp(18px, 5vw, 72px) 72px;
}

.client-sidebar {
  position: sticky;
  top: 104px;
  align-self: start;
  display: grid;
  gap: 22px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(247, 243, 235, 0.86);
}

.client-sidebar img {
  width: 132px;
}

.client-sidebar nav {
  display: grid;
  gap: 8px;
}

.client-sidebar a {
  padding: 10px 12px;
  border-radius: 12px;
  color: var(--muted);
  font-weight: 700;
}

.client-sidebar a.active,
.client-sidebar a:hover {
  color: var(--white);
  background: var(--cinnabar);
}

.client-dashboard {
  display: grid;
  gap: 18px;
}

.client-topbar {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  padding: 24px;
  border-radius: 22px;
  color: var(--white);
  background: linear-gradient(135deg, var(--black), #3a3a36);
}

.client-topbar h2 {
  margin: 0;
  font-size: clamp(26px, 3vw, 42px);
  line-height: 1.2;
}

.client-status-pill {
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--sky-soft);
  color: var(--black);
  white-space: nowrap;
}

.client-kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.client-kpis article {
  display: grid;
  gap: 6px;
  min-height: 138px;
  padding: 20px;
  border-radius: 18px;
}

.client-kpis span,
.client-kpis small,
.client-list span {
  color: var(--muted);
}

.client-kpis strong {
  font-size: 28px;
}

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

.client-panel {
  padding: 22px;
  border-radius: 20px;
}

.client-wide {
  grid-column: 1 / -1;
}

.client-panel-head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  margin-bottom: 18px;
}

.client-panel h3,
.client-panel h4 {
  margin: 0;
}

.client-timeline {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.client-timeline div,
.decision-stack button,
.scope-columns div,
.file-list li,
.handover-list li {
  border: 1px solid var(--line);
  background: rgba(247, 243, 235, 0.72);
}

.client-timeline div {
  display: grid;
  gap: 8px;
  min-height: 150px;
  padding: 14px;
  border-radius: 16px;
}

.client-timeline b {
  color: var(--cinnabar);
}

.client-timeline p {
  margin: 0;
  font-weight: 700;
}

.client-timeline span {
  color: var(--muted);
  font-size: 13px;
}

.client-timeline .done,
.handover-list .checked {
  border-color: rgba(109, 159, 184, 0.45);
  background: rgba(223, 238, 242, 0.72);
}

.client-timeline .active {
  border-color: rgba(226, 77, 48, 0.45);
  background: rgba(226, 77, 48, 0.08);
}

.client-list,
.file-list,
.handover-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.client-list li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.decision-stack {
  display: grid;
  gap: 10px;
}

.decision-stack button {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding: 14px;
  border-radius: 14px;
  color: var(--black);
  font: inherit;
  font-weight: 700;
  text-align: start;
  cursor: pointer;
}

.decision-stack small {
  color: var(--cinnabar);
}

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

.scope-columns div,
.file-list li,
.handover-list li {
  padding: 14px;
  border-radius: 14px;
}

.scope-columns p {
  margin-bottom: 0;
  color: var(--muted);
}

.client-login-page {
  min-height: calc(100vh - 82px);
  padding: 56px clamp(18px, 5vw, 72px);
  background: linear-gradient(180deg, var(--sky-pale), var(--paper));
}

.client-login-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 24px;
  align-items: stretch;
}

.client-login-copy,
.client-login-form {
  border: 1px solid rgba(109, 159, 184, 0.28);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.68);
  box-shadow: 0 18px 50px rgba(39, 39, 37, 0.1);
}

.client-login-copy {
  display: grid;
  align-content: center;
  gap: 18px;
  min-height: 520px;
  padding: clamp(26px, 5vw, 54px);
}

.client-login-copy h1 {
  margin: 0;
  font-size: clamp(42px, 5vw, 76px);
  line-height: 1.08;
}

.client-login-copy p {
  max-width: 680px;
  color: var(--muted);
  font-size: 18px;
}

.client-login-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.client-login-points span {
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--sky-soft);
  font-weight: 800;
}

.client-login-form {
  display: grid;
  align-content: center;
  gap: 16px;
  padding: clamp(24px, 4vw, 42px);
}

.client-login-form img {
  width: 142px;
}

.client-login-form h2 {
  margin: 0;
  font-size: 30px;
}

.client-login-form label {
  display: grid;
  gap: 7px;
  font-weight: 800;
}

.client-login-form input {
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 14px;
  background: var(--white);
  font: inherit;
}

.client-login-form > a {
  color: var(--muted);
  font-weight: 800;
}

.request-form {
  display: grid;
  gap: 14px;
  max-width: 900px;
}

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

.request-form label {
  display: grid;
  gap: 7px;
  font-weight: 800;
}

.request-form input,
.request-form select,
.request-form textarea {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 14px;
  background: var(--white);
  font: inherit;
}

@media (max-width: 1060px) {
  .path-grid,
  .page-grid,
  .client-hero,
  .client-shell {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .client-shell {
    grid-template-columns: 1fr;
  }

  .client-login-shell {
    grid-template-columns: 1fr;
  }

  .client-sidebar {
    position: static;
  }

  .client-sidebar nav {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

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

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

@media (max-width: 1060px) {
  .system-hero,
  .system-lead {
    grid-template-columns: 1fr;
  }

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

  .system-steps,
  .journey-details-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .contact-simple {
    text-align: right;
  }

  .system-hero {
    min-height: auto;
    padding-block: 56px 42px;
  }

  .system-hero-visual,
  .system-components-grid,
  .system-output-grid,
  .system-steps,
  .journey-details-grid {
    grid-template-columns: 1fr;
  }

  .system-step {
    min-height: auto;
  }

  .system-related {
    display: grid;
  }

  .system-lead {
    margin-block: 48px;
    padding: 20px;
  }

  .nav-dropdown-menu {
    position: static;
    display: grid;
    box-shadow: none;
    border: 0;
  }

  .path-grid,
  .page-grid,
  .request-form .form-grid,
  .client-hero,
  .client-kpis,
  .client-main-grid,
  .client-timeline {
    grid-template-columns: 1fr;
  }

  .client-hero {
    padding-block: 54px 28px;
  }

  .client-login-page {
    padding-inline: 14px;
  }

  .client-login-copy {
    min-height: auto;
  }

  .client-shell {
    padding-inline: 14px;
  }

  .client-sidebar nav {
    grid-template-columns: 1fr;
  }

  .client-topbar,
  .client-panel-head,
  .client-list li,
  .decision-stack button {
    display: grid;
  }
}

