:root {
  --bg: #0b0a0a;
  --bg2: #11100f;
  --panel: #151211;
  --panel2: #1b1518;
  --line: #342a27;
  --line2: #4e3d37;
  --text: #f7f2eb;
  --muted: #b8aca0;
  --gold: #8b734b;
  --gold2: #b39a6a;
  --burg: #6f1f46;
  --burg2: #8a2857;
  --cream: #e8dcc7;
  --white: #fff;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
  --max: 1180px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: linear-gradient(180deg, #0a0909 0%, #0e0c0c 52%, #090808 100%);
  color: var(--text);
  font-family:
    Inter,
    Segoe UI,
    Arial,
    sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}
body:before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(139, 115, 75, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(139, 115, 75, 0.045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, black, transparent 68%);
}
body[dir="rtl"] {
  font-family: "Segoe UI", Tahoma, Arial, sans-serif;
}
.container {
  width: min(var(--max), calc(100% - 40px));
  margin: auto;
}
a {
  color: inherit;
  text-decoration: none;
}
.topbar {
  border-bottom: 1px solid rgba(139, 115, 75, 0.18);
  background: #080707;
  color: #c8bcae;
  font-size: 12px;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 8px 0;
  flex-wrap: wrap;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(10, 9, 9, 0.9);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(139, 115, 75, 0.18);
}
.nav {
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}
.brand {
  display: flex;
  align-items: center;
}
.brand img {
  width: 220px;
  height: 64px;
  object-fit: contain;
  object-position: left center;
  display: block;
  transform: scale(1.35);
  transform-origin: left center;
}
.menu {
  display: flex;
  gap: 24px;
  align-items: center;
}
.menu a {
  font-size: 13px;
  color: #ded4ca;
  font-weight: 750;
  position: relative;
  padding: 31px 0;
}
.menu a:after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 20px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--burg));
  transform: scaleX(0);
  transition: 0.25s;
}
.menu a:hover,
.menu a.active {
  color: #fff;
}
.menu a:hover:after,
.menu a.active:after {
  transform: scaleX(1);
}
.nav-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}
.btn,
.lang-btn {
  border: 1px solid var(--line2);
  border-radius: 999px;
  padding: 11px 18px;
  font-weight: 800;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: 0.25s;
}
.btn-primary {
  background: linear-gradient(135deg, var(--burg2), var(--burg));
  color: #fff;
  border-color: #9b3d6a;
  box-shadow: 0 12px 34px rgba(111, 31, 70, 0.28);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(111, 31, 70, 0.38);
}
.btn-ghost,
.lang-btn {
  background: #12100f;
  color: #eee2d6;
  border-color: #4c3e36;
}
.btn-ghost:hover,
.lang-btn:hover {
  border-color: var(--gold);
  color: #fff;
}
.mobile-toggle {
  display: none;
  background: none;
  border: 0;
  color: #fff;
  font-size: 28px;
}
.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(139, 115, 75, 0.18);
}
.hero:before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      circle at 12% 18%,
      rgba(111, 31, 70, 0.21),
      transparent 32%
    ),
    radial-gradient(
      circle at 74% 30%,
      rgba(139, 115, 75, 0.13),
      transparent 28%
    );
}
.hero-grid {
  min-height: 650px;
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 60px;
  align-items: center;
  padding: 78px 0;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #c3a875;
  font-size: 12px;
  letter-spacing: 2.1px;
  text-transform: uppercase;
  font-weight: 900;
}
.eyebrow:before {
  content: "";
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--burg));
}
h1 {
  font-size: clamp(44px, 6vw, 76px);
  line-height: 1.01;
  margin: 18px 0 22px;
  letter-spacing: -2.7px;
  background: linear-gradient(180deg, #fff, #e9dfd3);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
h2 {
  font-size: clamp(31px, 4vw, 49px);
  line-height: 1.1;
  margin: 10px 0 18px;
  letter-spacing: -1.2px;
}
h3 {
  font-size: 22px;
  margin: 0 0 9px;
}
.lead {
  font-size: 18px;
  color: #c1b5a9;
  max-width: 720px;
}
.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 30px;
}
.trust-row {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 36px;
  color: #b7aa9e;
  font-size: 13px;
}
.trust-row b {
  color: #d2bc8d;
}
.hero-art {
  border: 1px solid rgba(179, 154, 106, 0.28);
  border-radius: 32px;
  overflow: hidden;
  box-shadow: var(--shadow);
  position: relative;
}
.hero-art:after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.025);
  pointer-events: none;
}
.hero-art img {
  display: block;
  width: 100%;
}
.section {
  padding: 96px 0;
  position: relative;
}
.section-alt {
  background: linear-gradient(180deg, #100d0d, #0c0a0a);
  border-top: 1px solid rgba(139, 115, 75, 0.18);
  border-bottom: 1px solid rgba(139, 115, 75, 0.18);
}
.section-head {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  align-items: end;
  margin-bottom: 40px;
}
.section-head p {
  max-width: 640px;
  color: var(--muted);
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.card {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #171312, #110e0e);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 27px;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.18);
  transition: 0.28s;
}
.card:before {
  content: "";
  position: absolute;
  right: -55px;
  top: -65px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(139, 115, 75, 0.15),
    transparent 68%
  );
}
.card:hover {
  border-color: #735c43;
  transform: translateY(-5px);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.28);
}
.icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(
    135deg,
    rgba(139, 115, 75, 0.19),
    rgba(111, 31, 70, 0.16)
  );
  border: 1px solid rgba(139, 115, 75, 0.28);
  color: #c8aa72;
  display: grid;
  place-items: center;
  font-size: 22px;
  margin-bottom: 20px;
}
.card p {
  color: var(--muted);
  margin-bottom: 0;
}
.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  background: #120f0f;
}
.metric {
  padding: 30px;
  border-left: 1px solid var(--line);
}
body[dir="rtl"] .metric {
  border-left: 0;
  border-right: 1px solid var(--line);
}
.metric:first-child {
  border-left: 0;
}
body[dir="rtl"] .metric:first-child {
  border-right: 0;
}
.metric strong {
  display: block;
  font-size: 38px;
  color: #d6bc87;
}
.metric span {
  color: var(--muted);
}
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 46px;
  align-items: center;
}
.feature-list {
  display: grid;
  gap: 13px;
  margin-top: 24px;
}
.feature {
  display: flex;
  gap: 12px;
  color: #c8bdb2;
}
.check {
  color: #b99b63;
  font-weight: 900;
}
.visual-panel {
  min-height: 420px;
  border: 1px solid #493a32;
  border-radius: 28px;
  padding: 28px;
  background:
    radial-gradient(
      circle at 75% 12%,
      rgba(139, 115, 75, 0.22),
      transparent 32%
    ),
    radial-gradient(
      circle at 15% 90%,
      rgba(111, 31, 70, 0.23),
      transparent 35%
    ),
    linear-gradient(135deg, #171312, #0c0a0a);
  display: flex;
  flex-direction: column;
  justify-content: end;
  box-shadow: var(--shadow);
}
.visual-panel .dash {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.visual-panel .dash div {
  height: 100px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(179, 154, 106, 0.16);
  border-radius: 18px;
  padding: 15px;
}
.visual-panel small {
  color: #aa9d91;
}
.visual-panel b {
  display: block;
  font-size: 27px;
  color: #d1b16f;
}
.page-hero {
  padding: 98px 0 72px;
  background:
    radial-gradient(
      circle at 85% 20%,
      rgba(111, 31, 70, 0.22),
      transparent 34%
    ),
    radial-gradient(
      circle at 65% 110%,
      rgba(139, 115, 75, 0.13),
      transparent 40%
    );
  border-bottom: 1px solid rgba(139, 115, 75, 0.22);
}
.page-hero p {
  max-width: 760px;
  color: var(--muted);
  font-size: 18px;
}
.service-detail {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 22px;
  padding: 36px 0;
  border-bottom: 1px solid var(--line);
}
.service-num {
  font-size: 42px;
  font-weight: 900;
  color: #755f3d;
}
.chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 18px;
}
.chip {
  font-size: 13px;
  padding: 7px 11px;
  border: 1px solid #4d3d34;
  border-radius: 999px;
  color: #c8b7a8;
  background: #140f11;
}
.project-card {
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: end;
  background:
    linear-gradient(180deg, rgba(15, 12, 12, 0.12), #120e0f 72%),
    radial-gradient(
      circle at 80% 18%,
      rgba(139, 115, 75, 0.24),
      transparent 26%
    ),
    radial-gradient(circle at 18% 76%, rgba(111, 31, 70, 0.16), transparent 32%);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 28px;
  transition: 0.25s;
}
.project-card:hover {
  transform: translateY(-4px);
  border-color: #705c48;
}
.project-card span {
  color: #c5a66b;
  font-weight: 850;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1.3px;
}
.faq details {
  border: 1px solid var(--line);
  background: #120f0f;
  border-radius: 16px;
  margin: 12px 0;
  padding: 18px 20px;
}
.faq details[open] {
  border-color: #654f3d;
}
.faq summary {
  cursor: pointer;
  font-weight: 800;
}
.faq p {
  color: var(--muted);
}
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 30px;
}
.contact-box {
  background: linear-gradient(180deg, #171312, #100d0d);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 30px;
}
.contact-line {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.contact-line:last-child {
  border: 0;
}
.contact-line small {
  display: block;
  color: #aa9e92;
}
input,
textarea,
select {
  width: 100%;
  background: #0d0b0b;
  border: 1px solid #463832;
  color: #fff;
  border-radius: 13px;
  padding: 14px 15px;
  font: inherit;
  outline: none;
}
input:focus,
textarea:focus {
  border-color: #9b7646;
  box-shadow: 0 0 0 3px rgba(139, 115, 75, 0.08);
}
textarea {
  min-height: 150px;
  resize: vertical;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 13px;
}
.form-group {
  margin-bottom: 13px;
}
.form-group.full {
  grid-column: 1/-1;
}
.notice {
  font-size: 13px;
  color: var(--muted);
}
.cta {
  border: 1px solid #5a4537;
  border-radius: 28px;
  padding: 50px;
  background:
    radial-gradient(
      circle at 88% 18%,
      rgba(139, 115, 75, 0.22),
      transparent 30%
    ),
    radial-gradient(
      circle at 10% 120%,
      rgba(111, 31, 70, 0.24),
      transparent 42%
    ),
    #151111;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  box-shadow: var(--shadow);
}
.cta p {
  color: var(--muted);
  max-width: 700px;
}
.cta h2 {
  margin-top: 0;
}
.footer {
  padding: 62px 0 25px;
  border-top: 1px solid #342a27;
  background: #070606;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 34px;
}
.footer h4 {
  margin: 0 0 14px;
  color: #d6bc87;
}
.footer p,
.footer a {
  color: #a99c90;
  font-size: 14px;
}
.footer a {
  display: block;
  margin: 7px 0;
}
.footer a:hover {
  color: #d5c29c;
}
.footer .footer-logo {
  width: 230px;
  height: 96px;
  object-fit: contain;
  object-position: left center;
}
.footer-bottom {
  margin-top: 38px;
  padding-top: 20px;
  border-top: 1px solid #2a211e;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: #7f746b;
  font-size: 13px;
}
.lang-ar {
  display: none;
}
body.lang-ar .lang-en {
  display: none !important;
}
body.lang-ar .lang-ar {
  display: initial;
}
body.lang-ar div.lang-ar,
body.lang-ar section.lang-ar,
body.lang-ar p.lang-ar,
body.lang-ar article.lang-ar {
  display: block;
}
.sr-only {
  position: absolute;
  left: -9999px;
}
.status {
  margin-top: 12px;
  font-size: 14px;
}
@media (max-width: 980px) {
  .menu {
    display: none;
    position: absolute;
    left: 18px;
    right: 18px;
    top: 80px;
    background: #110e0e;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 18px;
    flex-direction: column;
    align-items: stretch;
  }
  .menu.open {
    display: flex;
  }
  .menu a {
    padding: 8px;
  }
  .menu a:after {
    display: none;
  }
  .mobile-toggle {
    display: block;
  }
  .nav-actions .btn-primary {
    display: none;
  }
  .hero-grid,
  .split,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .hero-grid {
    padding-top: 48px;
  }
  .hero-art {
    max-width: 720px;
  }
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .section-head {
    align-items: start;
    flex-direction: column;
  }
  .metrics {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 640px) {
  .container {
    width: min(100% - 24px, var(--max));
  }
  .topbar {
    display: none;
  }
  .nav {
    height: 76px;
  }
  .brand img {
    width: 185px;
    height: 58px;
    transform: scale(1.18);
  }
  .grid-3,
  .grid-4,
  .metrics,
  .form-grid {
    grid-template-columns: 1fr;
  }
  .hero-grid {
    min-height: auto;
    padding: 50px 0;
  }
  .section {
    padding: 72px 0;
  }
  .page-hero {
    padding: 72px 0 52px;
  }
  .metric {
    border-left: 0 !important;
    border-right: 0 !important;
    border-bottom: 1px solid var(--line);
  }
  .metric:last-child {
    border: 0;
  }
  .service-detail {
    grid-template-columns: 1fr;
  }
  .service-num {
    font-size: 26px;
  }
  .cta {
    padding: 30px;
    align-items: flex-start;
    flex-direction: column;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
  }
  .contact-box {
    padding: 20px;
  }
  h1 {
    letter-spacing: -1.4px;
  }
}

.company-intro {
  background: linear-gradient(110deg, rgba(111, 31, 70, 0.12), transparent 45%);
}
.text-link {
  color: var(--gold);
  font-weight: 800;
  text-decoration: none;
}
.partner-names {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.partner-names span {
  padding: 14px 20px;
  border: 1px solid rgba(139, 115, 75, 0.35);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.025);
  font-weight: 800;
  color: #e8dfd3;
}
.partner-note {
  margin-top: 18px;
  font-size: 0.82rem;
  opacity: 0.7;
}
/* V1.3 visual upgrade */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 610px;
  background:
    linear-gradient(
      90deg,
      rgba(34, 5, 19, 0.96) 0%,
      rgba(11, 10, 10, 0.8) 48%,
      rgba(11, 10, 10, 0.25) 100%
    ),
    url("../img/visual-direction.webp") center/cover no-repeat;
}
.hero:after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 120px;
  background: linear-gradient(transparent, #0b0a0a);
  pointer-events: none;
}
.hero .container {
  position: relative;
  z-index: 2;
}
.hero-grid {
  grid-template-columns: 1.02fr 0.98fr;
}
.hero-art {
  opacity: 0;
}
.hero h1 {
  max-width: 760px;
}
.hero .lead {
  max-width: 660px;
}
.section:nth-of-type(2) {
  background: #f4efe8;
  color: #23171a;
}
.section:nth-of-type(2) .section-head p,
.section:nth-of-type(2) .card p {
  color: #6c5c5f;
}
.section:nth-of-type(2) h2,
.section:nth-of-type(2) h3 {
  color: #26181c;
}
.section:nth-of-type(2) .card {
  background: linear-gradient(180deg, #fff, #f7f0ea);
  border-color: #ddcec2;
  box-shadow: 0 14px 40px rgba(31, 12, 18, 0.08);
}
.section:nth-of-type(2) .card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 45px rgba(31, 12, 18, 0.14);
}
.company-intro {
  background: linear-gradient(110deg, #170b10, #0c0a0a 58%, #20160f);
}
.partner-names {
  gap: 12px;
}
.partner-names span {
  background: #f5efe8;
  color: #29191d;
  border: 0;
  padding: 15px 22px;
  box-shadow: inset 0 0 0 1px #d9c6b8;
  font-weight: 800;
}
.section-alt .partner-note {
  opacity: 0.75;
}
.metrics {
  background: linear-gradient(90deg, #381124, #160e10 58%, #8b734b);
  border-color: #6b4d3a;
}
.metric strong {
  color: #e2c47c;
}
.cta {
  background: linear-gradient(120deg, #3a1026, #171011 62%, #8b734b);
}
@media (max-width: 800px) {
  .hero {
    min-height: auto;
    background-position: 62% center;
  }
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .hero-art {
    display: none;
  }
  .section:nth-of-type(2) {
    padding-top: 70px;
  }
}

/* ===== V1.4 concept-to-code homepage ===== */
:root {
  --v14-cream: #f5efe8;
  --v14-burgundy: #7a1744;
  --v14-burgundy2: #5a102f;
  --v14-gold: #c9a654;
  --v14-ink: #0b090a;
  --v14-panel: #160d11;
}
.v14-hero {
  position: relative;
  min-height: 630px;
  overflow: hidden;
  background: #0a0909;
  border-bottom: 1px solid rgba(201, 166, 84, 0.22);
}
.v14-hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(32, 4, 18, 0.98) 0%,
      rgba(16, 9, 13, 0.92) 35%,
      rgba(4, 6, 11, 0.18) 68%,
      rgba(4, 6, 11, 0.06) 100%
    ),
    url("../img/site-visuals/flora-technology-doha-city.webp") 70% center/cover no-repeat;
  filter: saturate(1.08) contrast(1.04);
}
.v14-hero:before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(110deg, rgba(122, 23, 68, 0.25), transparent 30%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.3), transparent 45%);
  z-index: 1;
}
.v14-hero-grid {
  position: relative;
  z-index: 2;
  min-height: 630px;
  display: grid;
  grid-template-columns: minmax(0, 760px) 1fr;
  align-items: center;
  gap: 40px;
  padding-top: 44px;
  padding-bottom: 46px;
}
.v14-hero-copy h1 {
  font-size: clamp(54px, 5.8vw, 92px);
  line-height: 0.92;
  max-width: 800px;
  margin: 18px 0 22px;
  letter-spacing: -4px;
  text-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
}
.v14-hero-copy h1 em {
  font-style: normal;
  color: #d6b76f;
}
.v14-hero-copy .lead {
  font-size: 19px;
  line-height: 1.55;
  color: #e8dfe1;
  max-width: 690px;
}
.btn-outline {
  border: 1px solid var(--v14-gold);
  color: #fff;
  background: rgba(0, 0, 0, 0.32);
}
.btn-outline:hover {
  background: rgba(201, 166, 84, 0.1);
}
.hero-benefits {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  margin-top: 28px;
}
.hero-benefits > div {
  display: grid;
  grid-template-columns: 42px 1fr;
  grid-template-rows: auto auto;
  column-gap: 12px;
  align-items: center;
}
.benefit-icon {
  grid-row: 1/3;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(201, 166, 84, 0.68);
  border-radius: 50%;
  color: #e3c472;
  background: rgba(10, 8, 8, 0.55);
}
.hero-benefits strong {
  font-size: 13px;
  color: #fff;
}
.hero-benefits small {
  font-size: 11px;
  color: #d4c9c8;
}
.hero-message {
  justify-self: end;
  align-self: end;
  margin-bottom: 56px;
  width: min(100%, 330px);
  padding: 24px;
  background: rgba(9, 8, 8, 0.8);
  border: 1px solid rgba(201, 166, 84, 0.3);
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(8px);
}
.hero-message span,
.hero-message b {
  display: block;
  letter-spacing: 2.5px;
}
.hero-message span {
  font-size: 16px;
}
.hero-message b {
  font-size: 22px;
  margin-top: 4px;
}
.hero-message hr {
  border: 0;
  border-top: 1px solid var(--v14-gold);
  margin: 18px 0;
}
.hero-message small {
  font-size: 10px;
  letter-spacing: 1.5px;
  color: #d9c9bd;
}
.v14-services {
  background: var(--v14-cream);
  color: #23171b;
  padding: 48px 0 16px;
}
.v14-section-intro {
  display: grid;
  grid-template-columns: 1.05fr 1.45fr auto;
  gap: 34px;
  align-items: end;
  margin-bottom: 30px;
}
.v14-section-intro h2 {
  color: #35121f;
  margin: 6px 0 0;
  max-width: 420px;
}
.v14-section-intro p {
  color: #66585a;
  margin: 0;
  max-width: 700px;
}
.v14-services .eyebrow,
.v14-partners .eyebrow {
  color: #7b2048;
}
.v14-services .text-link,
.v14-partners .text-link {
  color: #7b1742;
}
.service-photo-grid {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 12px;
}
.service-photo-card {
  display: block;
  overflow: hidden;
  border-radius: 16px;
  background: #211116;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 10px 28px rgba(56, 20, 33, 0.1);
  transition: 0.25s;
}
.service-photo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 32px rgba(56, 20, 33, 0.18);
}
.service-photo-card img {
  width: 100%;
  aspect-ratio: 1.18/1;
  object-fit: cover;
  display: block;
}
.service-photo-card > div {
  padding: 14px 13px 15px;
  min-height: 124px;
  background: linear-gradient(180deg, #3a1022, #1f1015);
}
.service-photo-card h3 {
  font-size: 15px;
  line-height: 1.2;
  margin: 7px 0 9px;
  color: #fff;
}
.service-photo-card small {
  display: block;
  color: #cdbfc0;
  font-size: 10px;
  line-height: 1.35;
}
.mini-icon {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(201, 166, 84, 0.55);
  border-radius: 50%;
  color: #e5c670;
  background: rgba(201, 166, 84, 0.07);
}
.v14-stats {
  background: linear-gradient(90deg, #53132f 0%, #170d11 52%, #0f0b0c 74%);
  color: #fff;
}
.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr 1.45fr;
  min-height: 112px;
}
.stat {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px 24px;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}
.stat-icon {
  width: 44px;
  height: 44px;
  border: 1px solid var(--v14-gold);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #e3c36e;
}
.stat strong {
  display: block;
  font-size: 28px;
  color: #fff;
}
.stat small {
  color: #d1c3c4;
}
.stat-highlight {
  background: linear-gradient(120deg, #c99f4f, #e2c67f);
  color: #2b190f;
  padding: 22px 34px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.stat-highlight:after {
  content: "";
  position: absolute;
  right: -28px;
  top: -34px;
  width: 112px;
  height: 112px;
  border: 7px solid rgba(43, 25, 15, 0.13);
  border-radius: 50%;
  box-shadow: inset 0 0 0 10px rgba(43, 25, 15, 0.06);
}
.stat-highlight span {
  font-size: 13px;
}
.stat-highlight strong {
  font-size: 23px;
  margin-top: 3px;
}
.v14-partners {
  padding: 30px 0 34px;
  background: #fff;
  color: #1d1416;
}
.partners-head,
.projects-head {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 28px;
}
.partners-head h2 {
  color: #27161b;
  margin: 4px 0 0;
}
.partner-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  overflow: auto;
  padding: 28px 0 4px;
  scrollbar-width: none;
}
.partner-strip::-webkit-scrollbar {
  display: none;
}
.partner-strip span {
  flex: 0 0 auto;
  font-weight: 900;
  font-size: 22px;
  color: #2d2330;
  letter-spacing: -0.6px;
}
.partner-strip span:nth-child(1),
.partner-strip span:nth-child(4),
.partner-strip span:nth-child(5) {
  color: #1668a7;
}
.partner-strip span:nth-child(2),
.partner-strip span:nth-child(9),
.partner-strip span:nth-child(10) {
  color: #b51e3f;
}
.partner-strip span:nth-child(6) {
  color: #d53634;
}
.partner-strip span:nth-child(11) {
  color: #d2232a;
}
.v14-projects {
  padding: 52px 0 64px;
  background:
    radial-gradient(circle at 5% 50%, rgba(102, 20, 58, 0.18), transparent 30%),
    #0b0909;
  color: #fff;
}
.projects-head {
  grid-template-columns: 1.1fr 1.4fr auto;
  align-items: end;
  margin-bottom: 28px;
}
.projects-head h2 {
  margin: 5px 0 0;
  color: #fff;
}
.projects-head p {
  color: #c9bdb9;
  margin: 0;
}
.gold-link {
  color: #d9ba6d !important;
}
.project-photo-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}
.project-photo-card {
  overflow: hidden;
  border: 1px solid rgba(201, 166, 84, 0.28);
  border-radius: 18px;
  background: #1d1014;
  color: #fff;
  text-decoration: none;
  transition: 0.25s;
}
.project-photo-card:hover {
  transform: translateY(-5px);
  border-color: rgba(201, 166, 84, 0.65);
}
.project-photo-card img {
  display: block;
  width: 100%;
  aspect-ratio: 1.55/1;
  object-fit: cover;
}
.project-photo-card > div {
  padding: 14px 14px 16px;
  background: linear-gradient(180deg, #2b101b, #170d11);
  min-height: 120px;
}
.project-photo-card span {
  color: #d4b363;
  font-size: 11px;
  font-weight: 800;
}
.project-photo-card h3 {
  font-size: 16px;
  margin: 4px 0 10px;
  color: #fff;
}
.project-photo-card small {
  color: #c7b8b8;
  font-size: 10px;
}
@media (max-width: 1180px) {
  .service-photo-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .project-photo-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .stat-highlight {
    grid-column: 1/-1;
    min-height: 90px;
  }
  .v14-section-intro,
  .projects-head {
    grid-template-columns: 1fr 1fr;
  }
  .v14-section-intro > a,
  .projects-head > a {
    grid-column: 2;
    justify-self: end;
  }
}
@media (max-width: 900px) {
  .v14-hero-grid {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 70px;
  }
  .v14-hero {
    min-height: auto;
  }
  .v14-hero-bg {
    background-position: 64% center;
  }
  .hero-message {
    justify-self: start;
    align-self: auto;
    margin: 0 0 26px;
  }
  .v14-section-intro,
  .projects-head {
    grid-template-columns: 1fr;
  }
  .v14-section-intro > a,
  .projects-head > a {
    grid-column: auto;
    justify-self: start;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stat-highlight {
    grid-column: 1/-1;
  }
  .service-photo-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 640px) {
  .v14-hero-copy h1 {
    font-size: 48px;
    letter-spacing: -2px;
  }
  .hero-benefits {
    display: grid;
    grid-template-columns: 1fr;
  }
  .service-photo-grid,
  .project-photo-grid,
  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }
  .stat {
    padding: 18px 12px;
  }
  .stat strong {
    font-size: 22px;
  }
  .v14-section-intro {
    gap: 16px;
  }
  .project-photo-grid {
    grid-template-columns: 1fr;
  }
  .partner-strip span {
    font-size: 18px;
  }
  .hero-message {
    width: 100%;
  }
}

/* ===== V1.5 — approved mockup fidelity fixes ===== */
.v14-hero {
  position: relative;
  min-height: 540px;
  overflow: hidden;
  background:
    linear-gradient(
      90deg,
      rgba(37, 3, 20, 0.98) 0%,
      rgba(50, 5, 27, 0.94) 28%,
      rgba(18, 10, 12, 0.66) 44%,
      rgba(8, 8, 8, 0.1) 68%,
      rgba(8, 8, 8, 0.06) 100%
    ),
    url("../img/site-visuals/flora-technology-digital-solutions.webp") right center / auto 100% no-repeat,
    #100b0d;
}
.v14-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0.16));
}
.v14-hero .container {
  position: relative;
  z-index: 1;
}
.v14-hero .hero-copy {
  max-width: 660px;
}
.v14-hero h1 {
  max-width: 650px;
  text-shadow: 0 3px 22px rgba(0, 0, 0, 0.28);
}
.v14-hero p {
  max-width: 650px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.32);
}
.v14-hero-panel {
  background: rgba(14, 10, 10, 0.88) !important;
  border-color: rgba(205, 164, 82, 0.54) !important;
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.34) !important;
  backdrop-filter: blur(7px);
}
.v14-partners {
  background: #fbf8f3;
}
.partner-strip-logos {
  display: grid !important;
  grid-template-columns: repeat(14, minmax(74px, 1fr));
  align-items: center;
  gap: 22px;
  margin-top: 26px;
  padding: 22px 0 12px;
  overflow: visible !important;
}
.partner-strip-logos img {
  width: 100%;
  height: 42px;
  object-fit: contain;
  object-position: center;
  display: block;
  filter: none !important;
  opacity: 1 !important;
}
.partner-strip-logos img[alt="Qmatic"] {
  height: 46px;
}
.partner-strip-logos img[alt="ZKTeco"] {
  height: 40px;
}
.partner-strip-logos img[alt="HP"] {
  height: 48px;
}
.partner-strip-logos img[alt="Huawei"] {
  height: 46px;
}
.partner-strip-logos img[alt="Axis Communications"] {
  height: 48px;
}
@media (max-width: 1280px) {
  .partner-strip-logos {
    grid-template-columns: repeat(7, 1fr);
    gap: 20px 28px;
  }
}
@media (max-width: 900px) {
  .v14-hero {
    min-height: auto;
    background-size: auto 100%;
    background-position: 68% center;
  }
  .v14-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
      90deg,
      rgba(34, 3, 18, 0.98) 0%,
      rgba(34, 3, 18, 0.9) 55%,
      rgba(10, 10, 10, 0.42) 100%
    );
    pointer-events: none;
  }
  .v14-hero .container {
    z-index: 2;
  }
  .partner-strip-logos {
    grid-template-columns: repeat(4, 1fr);
  }
}
@media (max-width: 560px) {
  .v14-hero {
    background-position: 72% center;
  }
  .partner-strip-logos {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 34px;
  }
  .partner-strip-logos img {
    height: 38px;
  }
}

/* ===== V1.6 — structured portfolio, authentic partner identities, clients ===== */
.site-header .nav {
  gap: 22px;
}
.site-header .menu {
  gap: 22px;
}
.site-header .menu a {
  font-size: 13px;
  white-space: nowrap;
}
.authentic-partners {
  grid-template-columns: repeat(10, minmax(84px, 1fr)) !important;
}
.authentic-partners a {
  height: 66px;
  display: grid;
  place-items: center;
  padding: 8px 10px;
  background: #fff;
  border: 1px solid #eee5dc;
  border-radius: 10px;
}
.authentic-partners img {
  max-width: 100%;
  max-height: 48px;
  width: auto !important;
  height: auto !important;
}
.inner-hero {
  padding: 86px 0 76px;
  background:
    radial-gradient(
      circle at 15% 40%,
      rgba(118, 22, 67, 0.32),
      transparent 35%
    ),
    linear-gradient(115deg, #10090c, #0b0909 60%, #1a110d);
  border-bottom: 1px solid rgba(201, 166, 84, 0.22);
}
.inner-hero h1 {
  font-size: clamp(46px, 5vw, 76px);
  max-width: 900px;
  margin: 12px 0 16px;
  color: #fff;
  letter-spacing: -2.5px;
}
.inner-hero p {
  max-width: 760px;
  color: #ccbfc0;
  font-size: 18px;
  line-height: 1.6;
}
.catalog-section,
.partner-page,
.clients-section {
  padding: 70px 0;
  background: #fbf8f3;
  color: #2c1d21;
}
.catalog-section.alt,
.partner-page.alt,
.clients-section.alt {
  background: #f1eae2;
}
.catalog-intro,
.section-title {
  margin-bottom: 28px;
}
.catalog-intro h2,
.section-title h2 {
  color: #371321;
  margin: 7px 0 0;
  font-size: 34px;
}
.section-title.center {
  text-align: center;
}
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.catalog-grid.three {
  grid-template-columns: repeat(3, 1fr);
}
.catalog-card {
  position: relative;
  min-height: 235px;
  padding: 28px;
  border-radius: 18px;
  background: linear-gradient(145deg, #2b1019, #150d10);
  border: 1px solid rgba(201, 166, 84, 0.28);
  color: #fff;
  text-decoration: none;
  transition: 0.25s;
  overflow: hidden;
}
.catalog-card:after {
  content: "";
  position: absolute;
  width: 120px;
  height: 120px;
  border: 1px solid rgba(201, 166, 84, 0.13);
  border-radius: 50%;
  right: -35px;
  top: -35px;
}
.catalog-card:hover {
  transform: translateY(-5px);
  border-color: #c9a654;
  box-shadow: 0 18px 45px rgba(63, 20, 38, 0.16);
}
.catalog-card b {
  color: #d2b56e;
  font-size: 12px;
  letter-spacing: 1.5px;
}
.catalog-card h3 {
  font-size: 25px;
  margin: 18px 0 10px;
  color: #fff;
}
.catalog-card p {
  color: #cdbfc0;
  line-height: 1.6;
}
.catalog-card span {
  position: absolute;
  left: 28px;
  bottom: 24px;
  color: #dfbf70;
  font-weight: 700;
}
.partner-card-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}
.partner-card {
  min-height: 170px;
  background: #fff;
  border: 1px solid #e5dbd1;
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 20px;
  text-decoration: none;
  color: #3c1a27;
  box-shadow: 0 10px 25px rgba(67, 34, 43, 0.07);
  transition: 0.2s;
}
.partner-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 30px rgba(67, 34, 43, 0.11);
}
.partner-card img {
  max-width: 90%;
  height: 82px;
  object-fit: contain;
}
.partner-card span {
  font-weight: 800;
}
.ecosystem-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}
.ecosystem-grid img {
  width: 100%;
  height: 90px;
  object-fit: contain;
  background: #fff;
  border: 1px solid #e5dbd1;
  border-radius: 12px;
  padding: 20px;
}
.source-note {
  font-size: 12px;
  color: #726466;
  margin-top: 18px;
}
.client-logo-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
}
.client-logo-card {
  aspect-ratio: 1/1;
  background: #fff;
  border-radius: 50%;
  padding: 14px;
  border: 1px solid #eadfd4;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 25px rgba(56, 20, 33, 0.1);
}
.client-logo-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
}
.sector-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.sector-card {
  overflow: hidden;
  background: #1f1015;
  color: #fff;
  border-radius: 16px;
  border: 1px solid rgba(201, 166, 84, 0.24);
}
.sector-card img {
  width: 100%;
  aspect-ratio: 1.8/1;
  object-fit: cover;
}
.sector-card h3 {
  margin: 18px 20px 8px;
  color: #fff;
}
.sector-card p {
  margin: 0 20px 22px;
  color: #cbbdbd;
  line-height: 1.55;
}
.project-proof {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}
.project-proof > div {
  max-width: 760px;
}
.project-proof h2 {
  color: #34131f;
}
@media (max-width: 1200px) {
  .partner-card-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .client-logo-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .ecosystem-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .catalog-grid.three {
    grid-template-columns: repeat(2, 1fr);
  }
  .site-header .menu {
    gap: 14px;
  }
  .site-header .menu a {
    font-size: 12px;
  }
  .authentic-partners {
    grid-template-columns: repeat(5, 1fr) !important;
  }
}
@media (max-width: 900px) {
  .catalog-grid,
  .catalog-grid.three,
  .sector-grid {
    grid-template-columns: 1fr 1fr;
  }
  .partner-card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .client-logo-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .ecosystem-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .project-proof {
    flex-direction: column;
    align-items: flex-start;
  }
}
@media (max-width: 600px) {
  .catalog-grid,
  .catalog-grid.three,
  .sector-grid,
  .partner-card-grid {
    grid-template-columns: 1fr;
  }
  .client-logo-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .ecosystem-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .inner-hero {
    padding: 60px 0 50px;
  }
  .inner-hero h1 {
    font-size: 42px;
  }
  .authentic-partners {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

/* ===== V1.7 — source-verified portfolio & authentic brand assets ===== */
.source-note.large {
  font-size: 14px;
  line-height: 1.65;
  max-width: 920px;
}
.partner-card.authentic-source {
  min-height: 190px;
}
.partner-card.authentic-source img {
  height: 92px;
  max-width: 92%;
  object-fit: contain;
}
.partner-card.authentic-source small {
  font-size: 11px;
  color: #8a7379;
  margin-top: -7px;
}
.legacy-logo-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.legacy-logo-card {
  min-height: 128px;
  background: #fff;
  border: 1px solid #e7ddd3;
  border-radius: 14px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 8px;
  box-shadow: 0 8px 20px rgba(65, 30, 40, 0.055);
}
.legacy-logo-card img {
  width: 100%;
  height: 70px;
  object-fit: contain;
  filter: none;
}
.legacy-logo-card span {
  font-size: 12px;
  font-weight: 800;
  color: #4c2431;
}
.authentic-home-logos {
  grid-template-columns: repeat(10, minmax(72px, 1fr)) !important;
}
.authentic-home-logos img {
  height: 52px !important;
  max-width: 100%;
  object-fit: contain;
  filter: none !important;
}
.portfolio-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 30px;
}
.portfolio-summary > div {
  background: linear-gradient(145deg, #2e101b, #180e12);
  color: #fff;
  border: 1px solid rgba(201, 166, 84, 0.26);
  border-radius: 16px;
  padding: 24px;
}
.portfolio-summary strong {
  display: block;
  color: #d7b968;
  font-size: 25px;
  margin-bottom: 5px;
}
.portfolio-summary span {
  color: #d4c4c7;
  font-size: 13px;
}
.client-project-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.client-project-card {
  display: grid;
  grid-template-columns: 320px 1fr;
  background: #fff;
  border: 1px solid #e6ddd3;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(63, 30, 41, 0.06);
}
.client-brand {
  display: grid;
  place-items: center;
  min-height: 150px;
  padding: 20px;
  background: #fbfaf8;
  border-right: 1px solid #eee4db;
}
.client-brand img {
  box-sizing: border-box;
  width: 280px;
  max-width: 100%;
  height: 110px;
  object-fit: contain;
}
.client-copy {
  padding: 22px;
}
.client-copy h3 {
  color: #4b1830;
  font-size: 20px;
  margin: 0 0 12px;
}
.client-copy h3 small {
  display: block;
  margin-top: 4px;
  color: #7b6a6e;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
}
.client-copy ul {
  margin: 0;
  padding-left: 18px;
  color: #65565a;
  font-size: 13px;
}
.client-copy li {
  margin: 5px 0;
}
.product-filter-note {
  padding: 22px 24px;
  background: #2a1019;
  color: #fff;
  border-radius: 16px;
  margin-bottom: 22px;
}
.product-filter-note strong {
  display: block;
  color: #d6b766;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1.4px;
  margin-bottom: 4px;
}
.product-filter-note span {
  color: #d6c9cb;
}
.product-list {
  display: grid;
  gap: 12px;
}
.product-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  background: #fff;
  border: 1px solid #e6dcd2;
  border-radius: 16px;
  padding: 22px 24px;
  transition: 0.2s;
}
.product-row:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(63, 30, 41, 0.08);
}
.product-family {
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 1.2px;
  color: #9c7242;
  text-transform: uppercase;
}
.product-row h3 {
  color: #43172a;
  font-size: 22px;
  margin: 4px 0 5px;
}
.product-row p {
  margin: 0;
  color: #67595c;
  max-width: 780px;
}
.product-action {
  white-space: nowrap;
  color: #7a1d4a;
  font-weight: 800;
  font-size: 13px;
}
.project-family-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.project-family-grid article {
  min-height: 220px;
  padding: 26px;
  border-radius: 18px;
  background: linear-gradient(145deg, #2b1019, #140c0f);
  color: #fff;
  border: 1px solid rgba(201, 166, 84, 0.25);
}
.project-family-grid span {
  font-size: 12px;
  color: #d6b666;
  font-weight: 900;
}
.project-family-grid h3 {
  font-size: 24px;
  margin: 20px 0 10px;
}
.project-family-grid p {
  color: #cdbfc0;
}
.center-actions {
  text-align: center;
  margin-top: 32px;
}
@media (max-width: 1100px) {
  .legacy-logo-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .client-project-grid {
    grid-template-columns: 1fr;
  }
  .project-family-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .authentic-home-logos {
    grid-template-columns: repeat(5, 1fr) !important;
  }
}
@media (max-width: 760px) {
  .legacy-logo-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .portfolio-summary {
    grid-template-columns: 1fr;
  }
  .client-project-card {
    grid-template-columns: 1fr;
  }
  .client-brand {
    border-right: 0;
    border-bottom: 1px solid #eee4db;
  }
  .client-brand img {
    width: 220px;
    height: 88px;
  }
  .product-row {
    align-items: flex-start;
    flex-direction: column;
  }
  .project-family-grid {
    grid-template-columns: 1fr;
  }
  .authentic-home-logos {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

/* ===== V1.9 — SEO product detail architecture ===== */
.product-detail-hero {
  padding: 58px 0 64px;
  background:
    radial-gradient(
      circle at 10% 30%,
      rgba(111, 31, 70, 0.34),
      transparent 34%
    ),
    linear-gradient(115deg, #0b090a, #140d10 58%, #21150f);
  border-bottom: 1px solid rgba(179, 154, 106, 0.22);
}
.detail-hero-grid {
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  gap: 58px;
  align-items: center;
}
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: #a99c92;
  font-size: 12px;
  margin-bottom: 28px;
}
.breadcrumbs a:hover {
  color: #fff;
}
.product-detail-hero h1 {
  font-size: clamp(48px, 5.7vw, 80px);
  line-height: 0.98;
  letter-spacing: -3px;
  margin: 12px 0 22px;
  max-width: 760px;
}
.product-detail-hero p {
  font-size: 18px;
  color: #c9bdba;
  max-width: 760px;
}
.detail-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}
.detail-hero-media {
  position: relative;
  border: 1px solid rgba(179, 154, 106, 0.35);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow);
  min-height: 390px;
}
.detail-hero-media:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(10, 7, 8, 0.7));
}
.detail-hero-media img {
  width: 100%;
  height: 100%;
  min-height: 390px;
  object-fit: cover;
  display: block;
}
.detail-media-tag {
  position: absolute;
  z-index: 2;
  left: 20px;
  bottom: 18px;
  background: rgba(10, 8, 9, 0.82);
  border: 1px solid rgba(179, 154, 106, 0.38);
  border-radius: 999px;
  padding: 9px 14px;
  color: #e6d6bf;
  font-size: 12px;
  font-weight: 800;
}
.product-detail-section {
  padding: 76px 0;
  background: #fbf8f3;
  color: #2d1d21;
}
.detail-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 28px;
}
.detail-section-head h2,
.product-usecases h2,
.detail-process h2,
.detail-faq h2,
.related-products h2 {
  font-size: 38px;
  line-height: 1.1;
  margin: 7px 0 0;
  color: #371321;
}
.detail-section-head > p {
  max-width: 520px;
  color: #716165;
}
.detail-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.detail-feature {
  background: #fff;
  border: 1px solid #e7ddd3;
  border-radius: 16px;
  padding: 24px;
  min-height: 210px;
  box-shadow: 0 10px 28px rgba(63, 30, 41, 0.055);
}
.detail-feature > span {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #2b111a;
  color: #d7b968;
  font-weight: 900;
}
.detail-feature h3 {
  color: #4b1830;
  font-size: 21px;
  margin: 18px 0 8px;
}
.detail-feature p {
  color: #6c5d61;
  font-size: 14px;
  margin: 0;
}
.product-usecases {
  padding: 68px 0;
  background: #f0e7de;
  color: #2d1d21;
}
.usecase-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  align-items: center;
}
.usecase-grid p {
  color: #6e6062;
}
.usecase-grid ul {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.usecase-grid li {
  background: #fff;
  border: 1px solid #e4d8ce;
  border-radius: 14px;
  padding: 16px 18px;
  font-weight: 800;
  color: #4c2330;
}
.detail-process {
  padding: 72px 0;
  background: #0e0b0c;
}
.detail-process h2 {
  color: #fff;
}
.process-strip {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
  margin-top: 30px;
}
.process-strip div {
  padding: 22px 16px;
  border: 1px solid #3a2c2d;
  border-radius: 14px;
  background: linear-gradient(145deg, #171112, #100d0d);
}
.process-strip b {
  display: block;
  color: #d6b766;
  font-size: 24px;
  margin-bottom: 22px;
}
.process-strip span {
  font-weight: 800;
  color: #f6eee8;
  font-size: 13px;
}
.detail-faq {
  padding: 72px 0;
  background: #fbf8f3;
  color: #2d1d21;
}
.faq-grid {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 60px;
}
.faq-grid details {
  background: #fff;
  border: 1px solid #e5dbd1;
  border-radius: 14px;
  padding: 18px 20px;
  margin-bottom: 12px;
}
.faq-grid summary {
  cursor: pointer;
  font-weight: 850;
  color: #4b1830;
}
.faq-grid details p {
  color: #6c5d61;
  margin: 12px 0 0;
}
.related-products {
  padding: 70px 0;
  background: #f1eae2;
  color: #2d1d21;
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.related-card {
  display: flex;
  flex-direction: column;
  min-height: 190px;
  padding: 24px;
  border-radius: 16px;
  background: linear-gradient(145deg, #2c101a, #160d10);
  border: 1px solid rgba(179, 154, 106, 0.3);
}
.related-card span {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1.1px;
  color: #d3b66f;
  font-weight: 900;
}
.related-card strong {
  font-size: 23px;
  color: #fff;
  margin: 18px 0;
}
.related-card em {
  font-style: normal;
  color: #d7b968;
  font-weight: 800;
  margin-top: auto;
}
.detail-cta {
  padding: 70px 0 86px;
  background: #0a0909;
}
.detail-cta .cta-box {
  margin: 0;
}
.inline-solution-link {
  color: #d9b967;
  text-decoration: underline;
  text-decoration-color: rgba(217, 185, 103, 0.35);
  text-underline-offset: 3px;
}
.product-row h3 a:hover {
  color: #8a2857;
}
.product-row h3 a:after {
  content: " ↗";
  font-size: 0.7em;
  color: #a87c42;
}
@media (max-width: 1000px) {
  .detail-hero-grid,
  .usecase-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }
  .detail-feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .process-strip {
    grid-template-columns: repeat(3, 1fr);
  }
  .related-grid {
    grid-template-columns: 1fr 1fr;
  }
  .detail-hero-media {
    min-height: 300px;
  }
  .detail-hero-media img {
    min-height: 300px;
  }
  .detail-section-head {
    align-items: flex-start;
    flex-direction: column;
  }
}
@media (max-width: 650px) {
  .product-detail-hero {
    padding: 42px 0 48px;
  }
  .product-detail-hero h1 {
    font-size: 44px;
    letter-spacing: -1.5px;
  }
  .detail-feature-grid,
  .usecase-grid ul,
  .related-grid {
    grid-template-columns: 1fr;
  }
  .process-strip {
    grid-template-columns: repeat(2, 1fr);
  }
  .detail-section-head h2,
  .product-usecases h2,
  .detail-process h2,
  .detail-faq h2,
  .related-products h2 {
    font-size: 31px;
  }
}

/* V1.9 contrast fixes discovered in full-page review */
.contact-box,
.contact-box h2,
.contact-box h3,
.contact-box strong,
.contact-box a {
  color: #f7f2eb !important;
}
.contact-box p,
.contact-box .contact-line,
.contact-box .notice {
  color: #c9bdb2 !important;
}
.contact-box .contact-line small {
  color: #b5a79d !important;
}
.visual-panel h2,
.visual-panel h3,
.visual-panel p,
.visual-panel .lead {
  color: #f7f2eb !important;
}
.visual-panel .eyebrow {
  color: #cdb279 !important;
}

/* ===== V1.9 — product-specific imagery, smarter related links & portfolio filters ===== */
.detail-hero-media {
  background: transparent;
}
.detail-hero-media img.product-image-contain {
  object-fit: contain !important;
  padding: 0;
  background: transparent;
}
.source-visuals {
  padding: 72px 0;
  background: #fffaf5;
  color: #2d1d21;
  border-top: 1px solid #eadfd5;
  border-bottom: 1px solid #eadfd5;
}
.source-visual-head {
  margin-bottom: 30px;
}
.source-visual-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.source-visual-card {
  background: #fff;
  border: 1px solid #e7ddd3;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(63, 30, 41, 0.06);
}
.source-visual-card img,
.source-visual-card video {
  width: 100%;
  height: 235px;
  object-fit: contain;
  background: transparent;
  padding: 0;
  display: block;
}
.source-visual-card div {
  padding: 20px;
}
.source-visual-card h3 {
  margin: 0 0 7px;
  color: #4b1830;
  font-size: 20px;
}
.source-visual-card p {
  margin: 0;
  color: #6d5d61;
  font-size: 14px;
  line-height: 1.55;
}
.client-filter-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 0 0 14px;
  position: sticky;
  top: 88px;
  z-index: 5;
  padding: 14px;
  border-radius: 16px;
  background: rgba(250, 246, 240, 0.96);
  backdrop-filter: blur(12px);
  border: 1px solid #e6dcd2;
  box-shadow: 0 10px 24px rgba(63, 30, 41, 0.06);
}
.client-filter-bar input {
  flex: 1;
  min-width: 260px;
  border: 1px solid #d8c9bd;
  border-radius: 12px;
  padding: 13px 15px;
  background: #fff;
  color: #3e2029;
  outline: none;
}
.client-filter-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.client-filter-btn,
.product-cat-btn {
  border: 1px solid #d8c9bd;
  background: #fff;
  color: #5b2638;
  border-radius: 999px;
  padding: 10px 14px;
  font-weight: 800;
  cursor: pointer;
  transition: 0.18s;
}
.client-filter-btn:hover,
.client-filter-btn.active,
.product-cat-btn:hover,
.product-cat-btn.active {
  background: #6f1f46;
  border-color: #6f1f46;
  color: #fff;
}
.client-results {
  margin: 0 0 20px;
  color: #7b6a6e;
  font-size: 13px;
}
.client-project-card[hidden],
.product-row[hidden] {
  display: none !important;
}
.product-category-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 0 0 20px;
  padding: 14px;
  background: #f2e9e0;
  border: 1px solid #e2d6cc;
  border-radius: 16px;
}
@media (max-width: 950px) {
  .source-visual-grid {
    grid-template-columns: 1fr 1fr;
  }
  .client-filter-bar {
    position: static;
    align-items: stretch;
    flex-direction: column;
  }
  .client-filter-bar input {
    min-width: 0;
    width: 100%;
  }
}
@media (max-width: 620px) {
  .source-visual-grid {
    grid-template-columns: 1fr;
  }
  .source-visual-card img,
  .source-visual-card video {
    height: 210px;
  }
  .detail-hero-media img.product-image-contain {
    padding: 0;
  }
  .client-filter-buttons {
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 4px;
  }
  .client-filter-btn {
    white-space: nowrap;
  }
}
.security-external {
  outline: 1px solid rgba(183, 147, 82, 0.35);
}
.security-external span,
.security-delegated .text-link {
  color: #c7a768;
}

/* ===== V2.2 — compact product discovery catalogue ===== */
.product-catalog-hero {
  padding: 58px 0 62px;
}
.product-catalog-hero h1 {
  max-width: 850px;
}
.product-catalog-hero p {
  max-width: 760px;
}
.catalog-hero-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.catalog-hero-metrics span {
  display: flex;
  align-items: baseline;
  gap: 8px;
  border: 1px solid rgba(202, 172, 104, 0.28);
  background: rgba(255, 255, 255, 0.035);
  border-radius: 999px;
  padding: 9px 14px;
  color: #cdbfbb;
  font-size: 12px;
}
.catalog-hero-metrics b {
  color: #d5b76c;
  font-size: 18px;
}
.catalog-v22 {
  padding-top: 46px;
}
.catalog-tools {
  display: flex;
  align-items: end;
  gap: 18px;
  margin-bottom: 14px;
}
.catalog-search {
  flex: 1;
  display: grid;
  gap: 8px;
  color: #5f4350;
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}
.catalog-search input {
  width: 100%;
  border: 1px solid #d9cbc1;
  background: #fff;
  border-radius: 14px;
  padding: 15px 17px;
  font: inherit;
  font-size: 15px;
  color: #341522;
  outline: none;
  box-shadow: 0 8px 24px rgba(67, 23, 42, 0.04);
}
.catalog-search input:focus {
  border-color: #9c5f78;
  box-shadow: 0 0 0 3px rgba(111, 31, 70, 0.08);
}
.catalog-result-count {
  white-space: nowrap;
  color: #755d64;
  font-weight: 800;
  padding: 14px 0;
}
.product-category-nav.v22 {
  position: sticky;
  top: 78px;
  z-index: 8;
  margin-bottom: 42px;
  box-shadow: 0 10px 24px rgba(63, 30, 41, 0.05);
  background: rgba(244, 235, 226, 0.96);
  backdrop-filter: blur(12px);
}
.catalog-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 40px;
  margin-bottom: 22px;
}
.catalog-heading h2 {
  font-size: 38px;
  color: #371321;
  margin: 6px 0 0;
}
.catalog-heading p {
  max-width: 520px;
  color: #716165;
  margin: 0;
}
.catalog-heading.compact {
  margin-top: 48px;
}
.featured-product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.featured-product-card,
.product-card-v22 {
  display: flex;
  flex-direction: column;
  border: 1px solid #e5d9cf;
  border-radius: 17px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(63, 30, 41, 0.05);
  transition: 0.18s;
}
.featured-product-card {
  min-height: 220px;
  padding: 20px;
  background: linear-gradient(145deg, #2b1019, #140d10);
  border-color: rgba(194, 160, 88, 0.28);
}
.featured-product-card:hover,
.product-card-v22:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 34px rgba(63, 30, 41, 0.09);
}
.product-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.product-card-v22 {
  min-height: 205px;
  padding: 20px;
}
.product-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.featured-product-card .product-family {
  color: #d1b66c;
}
.featured-product-card h3,
.product-card-v22 h3 {
  font-size: 21px;
  line-height: 1.15;
  margin: 14px 0 9px;
}
.featured-product-card h3 a {
  color: #fff;
}
.product-card-v22 h3 a {
  color: #43172a;
}
.featured-product-card p {
  color: #c9bcbd;
}
.product-card-v22 p {
  color: #6b5b60;
}
.featured-product-card p,
.product-card-v22 p {
  font-size: 13px;
  line-height: 1.55;
  margin: 0 0 18px;
}
.product-card-link {
  margin-top: auto;
  font-weight: 850;
  font-size: 12px;
  color: #8a2857;
}
.featured-product-card .product-card-link {
  color: #d7b968;
}
.external-badge {
  font-size: 10px;
  font-weight: 900;
  color: #9d7444;
  border: 1px solid #ddcdb9;
  border-radius: 999px;
  padding: 5px 8px;
}
.security-card {
  background: linear-gradient(145deg, #fff, #f6efe8);
}
.featured-product-card.security-card {
  background: linear-gradient(145deg, #25131a, #171112);
}
.catalog-empty {
  margin: 24px 0;
  padding: 28px;
  border: 1px dashed #cfbdb2;
  border-radius: 16px;
  color: #6f5c61;
  text-align: center;
  background: #fff;
}
.catalog-security-note {
  margin-top: 54px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 36px;
  padding: 30px;
  border-radius: 20px;
  background: linear-gradient(120deg, #1c1115, #28141d);
  border: 1px solid rgba(194, 160, 88, 0.28);
}
.catalog-security-note h2 {
  color: #fff;
  font-size: 29px;
  margin: 7px 0 8px;
}
.catalog-security-note p {
  color: #c8babb;
  max-width: 800px;
  margin: 0;
}
.catalog-security-note .btn {
  white-space: nowrap;
}
.catalog-security-note .btn-secondary {
  color: #fff !important;
  background: linear-gradient(135deg, var(--flora-maroon-soft), var(--flora-maroon)) !important;
  border-color: var(--flora-gold-light) !important;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.22);
}
.catalog-security-note .btn-secondary:hover {
  color: #fff !important;
  background: linear-gradient(135deg, var(--flora-maroon), var(--flora-maroon-soft)) !important;
  border-color: var(--flora-gold-pale) !important;
}
@media (max-width: 1100px) {
  .featured-product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .product-card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 760px) {
  .product-catalog-hero {
    padding: 44px 0 48px;
  }
  .catalog-tools,
  .catalog-heading,
  .catalog-security-note {
    align-items: stretch;
    flex-direction: column;
  }
  .product-category-nav.v22 {
    position: static;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 12px;
  }
  .product-cat-btn {
    white-space: nowrap;
  }
  .featured-product-grid,
  .product-card-grid {
    grid-template-columns: 1fr;
  }
  .catalog-heading h2 {
    font-size: 31px;
  }
  .catalog-result-count {
    padding: 0;
  }
  .catalog-security-note .btn {
    align-self: flex-start;
  }
}

/* ===== V2.2.1 — robust product catalogue filtering ===== */
.product-card-v22[hidden],
.featured-product-card[hidden],
.featured-solutions[hidden],
.catalog-empty[hidden] {
  display: none !important;
}

/* RC2 visual QA corrections */
.content-section:not(.alt) .section-title h2 {
  color: #f7f2eb;
}
.content-section:not(.alt) .section-title .eyebrow {
  color: #cdb279;
}
.content-section:not(.alt) p {
  color: #c9bdb2;
}
.partner-logo-card img,
.client-project-logo img {
  object-fit: contain;
}
.partner-logo-card img {
  max-width: 100%;
  max-height: 82px;
}
.client-project-logo img {
  max-width: 100%;
  max-height: 100px;
}

/* RC3: contact location + homepage portfolio refinement */
.contact-grid-location {
  grid-template-columns: 0.78fr 1.22fr;
  align-items: stretch;
}
.contact-details-card a {
  color: #fff;
  text-decoration: none;
}
.contact-details-card a:hover {
  color: #d8b96a;
}
.contact-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 24px;
}
.contact-actions .btn {
  font-size: 13px;
}
.contact-location-section {
  position: relative;
  background:
    radial-gradient(circle at 82% 12%, rgba(184, 154, 104, 0.16), transparent 29%),
    linear-gradient(135deg, #f8f4ee 0%, #eee4d6 100%);
}
.contact-location-section:before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(111, 32, 70, 0.035), transparent 42%);
}
.contact-location-section .container {
  position: relative;
}
.contact-location-section .contact-box {
  border-color: rgba(140, 115, 75, 0.42);
  background:
    radial-gradient(circle at 82% 0%, rgba(184, 154, 104, 0.13), transparent 34%),
    linear-gradient(145deg, #3d1029 0%, #260a1a 58%, #17060f 100%);
  box-shadow: 0 22px 46px rgba(69, 19, 47, 0.2);
}
.contact-location-section .contact-line {
  border-bottom-color: rgba(215, 193, 154, 0.2);
}
.contact-location-section .contact-line small,
.contact-location-section .map-card-head p,
.contact-location-section .map-location-note {
  color: #dfd2d5 !important;
}
.contact-location-section .map-card-head {
  background: linear-gradient(120deg, rgba(111, 32, 70, 0.46), transparent 62%);
}
.contact-location-section .map-directions {
  color: #f3dcab;
  background: rgba(69, 19, 47, 0.58);
  border-top-color: rgba(215, 193, 154, 0.25);
}
.company-profile-link {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  width: 100%;
  margin-top: 18px;
  padding: 13px 14px;
  border: 1px solid rgba(215, 193, 154, 0.38);
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(111, 32, 70, 0.72), rgba(69, 19, 47, 0.72));
  color: #fff;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.company-profile-link:hover {
  color: #fff;
  transform: translateY(-2px);
  border-color: var(--flora-gold-light);
  background: linear-gradient(135deg, rgba(138, 60, 97, 0.84), rgba(69, 19, 47, 0.9));
}
.company-profile-link__icon {
  display: grid;
  place-items: center;
  min-width: 39px;
  height: 39px;
  border-radius: 10px;
  background: var(--flora-gold-light);
  color: var(--flora-maroon-deep);
  font-size: 10px;
  font-weight: 950;
  letter-spacing: .6px;
}
.company-profile-link strong,
.company-profile-link small {
  display: block;
}
.company-profile-link strong {
  font-size: 14px;
}
.company-profile-link small {
  margin-top: 1px;
  color: #e4d4d9;
  font-size: 11px;
  line-height: 1.35;
}
.company-profile-link__arrow {
  color: var(--flora-gold-pale);
  font-size: 19px;
}
.company-profile-download {
  margin: 4px 0 30px;
}
.map-card {
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.map-card-head {
  padding: 28px 28px 18px;
}
.map-card-head h2 {
  margin: 6px 0 8px;
  color: #fff;
}
.map-card-head p {
  color: #c9bdb2;
  margin: 0;
}
.map-frame {
  min-height: 430px;
  background: #0e0b0b;
}
.map-frame iframe {
  display: block;
  width: 100%;
  height: 430px;
  border: 0;
  filter: saturate(0.88) contrast(1.02);
}
.map-directions {
  display: block;
  padding: 16px 28px;
  color: #d8b96a;
  text-decoration: none;
  font-weight: 800;
  border-top: 1px solid var(--line);
}

.service-photo-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.service-photo-card img {
  aspect-ratio: 1.6/1;
  object-fit: cover;
}
.service-photo-card > div {
  min-height: 132px;
  padding: 16px 15px 18px;
}
.service-photo-card h3 {
  font-size: 18px;
}
.service-photo-card small {
  font-size: 11px;
}
.home-featured-solutions {
  background: #f4ebe2;
  color: #2d1720;
  padding: 52px 0 60px;
  border-top: 1px solid #eadfd6;
}
.home-section-head {
  display: grid;
  grid-template-columns: 1.05fr 1.25fr auto;
  gap: 30px;
  align-items: end;
  margin-bottom: 24px;
}
.home-section-head h2 {
  color: #35121f;
  margin: 6px 0 0;
  font-size: 38px;
}
.home-section-head p {
  color: #6e5d62;
  margin: 0;
}
.home-featured-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.home-featured-card {
  display: flex;
  flex-direction: column;
  min-height: 205px;
  padding: 22px;
  border: 1px solid #e1d3c9;
  border-radius: 17px;
  background: #fff;
  text-decoration: none;
  box-shadow: 0 10px 28px rgba(63, 30, 41, 0.05);
  transition: 0.2s;
}
.home-featured-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 34px rgba(63, 30, 41, 0.1);
}
.home-featured-card span {
  font-size: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #9a7547;
  font-weight: 900;
}
.home-featured-card .partner-credential {
  align-self: flex-start;
  margin-top: 9px;
  padding: 5px 8px;
  border: 1px solid #dec380;
  border-radius: 999px;
  color: #6f2046;
  background: #fff8e8;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.3px;
}
.home-featured-card h3 {
  font-size: 22px;
  color: #42162a;
  margin: 13px 0 9px;
  line-height: 1.14;
}
.home-featured-card p {
  color: #6b5a60;
  font-size: 13px;
  line-height: 1.55;
  margin: 0 0 20px;
}
.home-featured-card b {
  margin-top: auto;
  color: #8a2857;
  font-size: 12px;
}
.project-photo-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.project-photo-card img {
  aspect-ratio: 1.6/1;
}
.project-photo-card > div {
  min-height: 132px;
}
.project-photo-card h3 {
  font-size: 19px;
}
.project-photo-card small {
  font-size: 11px;
}
@media (max-width: 1100px) {
  .home-section-head {
    grid-template-columns: 1fr 1fr;
  }
  .home-section-head > a {
    grid-column: 2;
    justify-self: end;
  }
  .home-featured-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 900px) {
  .contact-grid-location {
    grid-template-columns: 1fr;
  }
  .home-section-head {
    grid-template-columns: 1fr;
  }
  .home-section-head > a {
    grid-column: auto;
    justify-self: start;
  }
  .service-photo-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .project-photo-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 640px) {
  .service-photo-grid,
  .home-featured-grid,
  .project-photo-grid {
    grid-template-columns: 1fr;
  }
  .map-frame,
  .map-frame iframe {
    height: 360px;
    min-height: 360px;
  }
  .contact-actions {
    flex-direction: column;
  }
  .contact-actions .btn {
    width: 100%;
    text-align: center;
  }
  .company-profile-link {
    margin-top: 14px;
  }
}

/* ===== RC4 SEO, image consistency & footer refinement ===== */
.v14-hero-bg {
  background-image:
    linear-gradient(
      90deg,
      rgba(23, 5, 15, 0.96) 0%,
      rgba(23, 5, 15, 0.74) 31%,
      rgba(10, 8, 8, 0.18) 64%,
      rgba(10, 8, 8, 0.05) 100%
    ),
    url("../img/site-visuals/flora-technology-doha-city.webp") !important;
  background-size: cover;
  background-position: center;
}
.authentic-partners {
  display: grid !important;
  grid-template-columns: repeat(10, minmax(0, 1fr)) !important;
  gap: 12px !important;
  overflow: visible !important;
  padding: 24px 0 4px !important;
  align-items: stretch !important;
}
.authentic-partners a {
  height: 76px !important;
  min-width: 0 !important;
  padding: 12px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: #fff !important;
  border: 1px solid #ece2d9 !important;
  border-radius: 12px !important;
  box-shadow: 0 5px 14px rgba(61, 28, 39, 0.045) !important;
}
.authentic-partners img {
  display: block !important;
  width: auto !important;
  height: auto !important;
  max-width: 92% !important;
  max-height: 46px !important;
  object-fit: contain !important;
  filter: none !important;
  margin: auto !important;
}
.footer {
  padding: 56px 0 22px;
  background: #070606;
  border-top: 1px solid #2e2522;
}
.footer-grid-v4 {
  grid-template-columns: 1.35fr 0.9fr 1.05fr 1.35fr;
  gap: 44px;
  align-items: start;
}
.footer .footer-logo {
  width: 190px !important;
  height: auto !important;
  max-height: 96px;
  object-fit: contain;
  object-position: left center;
  margin-bottom: 14px;
}
.footer h4 {
  font-size: 14px;
  letter-spacing: 0.2px;
  color: #d6bc87;
  margin-bottom: 16px;
}
.footer p,
.footer a {
  font-size: 13px;
  line-height: 1.65;
  color: #b4a69b;
}
.footer nav a,
.footer-contact > a {
  display: block;
  margin: 8px 0;
  text-decoration: none;
}
.footer nav a:hover,
.footer-contact > a:hover {
  color: #dfc68f;
}
.footer-brand-block p {
  max-width: 300px;
}
.footer-established {
  color: #826f63 !important;
  font-size: 12px !important;
  margin-top: 12px;
}
.footer-contact .footer-email {
  overflow-wrap: anywhere;
  color: #d2c1b5;
}
.footer-map-link {
  color: #d6bc87 !important;
  font-weight: 700;
  margin-top: 12px !important;
}
.footer-bottom {
  margin-top: 34px;
  padding-top: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #2a211e;
  color: #81756c;
  font-size: 12px;
}
.footer-bottom nav {
  display: flex;
  gap: 20px;
  align-items: center;
}
.footer-bottom nav a {
  display: inline-block;
  margin: 0;
  font-size: 12px;
}
img {
  max-width: 100%;
}
@media (max-width: 1100px) {
  .authentic-partners {
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  }
  .footer-grid-v4 {
    grid-template-columns: 1fr 1fr;
    gap: 34px;
  }
}
@media (max-width: 640px) {
  .authentic-partners {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
  .authentic-partners a {
    height: 70px !important;
  }
  .authentic-partners img {
    max-height: 42px !important;
  }
  .footer-grid-v4 {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }
  .footer-bottom nav {
    gap: 14px;
    flex-wrap: wrap;
  }
  .footer .footer-logo {
    width: 170px !important;
  }
}

/* ===== RC5 — homepage service-card proportions & cache-safe layout ===== */
@media (min-width: 901px) {
  .v14-services {
    padding: 52px 0 54px;
  }
  .service-photo-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 18px !important;
  }
  .service-photo-card {
    display: flex !important;
    flex-direction: column !important;
    min-height: 0 !important;
    height: auto !important;
    border-radius: 18px !important;
  }
  .service-photo-card img {
    display: block !important;
    width: 100% !important;
    height: 172px !important;
    min-height: 172px !important;
    max-height: 172px !important;
    aspect-ratio: auto !important;
    object-fit: cover !important;
    object-position: center !important;
    flex: 0 0 172px !important;
  }
  .service-photo-card > div {
    min-height: 118px !important;
    height: auto !important;
    padding: 15px 16px 17px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
  }
  .service-photo-card h3 {
    font-size: 18px !important;
    line-height: 1.12 !important;
    margin: 8px 0 7px !important;
  }
  .service-photo-card small {
    font-size: 11px !important;
    line-height: 1.35 !important;
    margin-top: auto !important;
  }
}
@media (min-width: 641px) and (max-width: 900px) {
  .service-photo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 16px !important;
  }
  .service-photo-card img {
    width: 100% !important;
    height: 190px !important;
    min-height: 190px !important;
    max-height: 190px !important;
    aspect-ratio: auto !important;
    object-fit: cover !important;
  }
  .service-photo-card > div {
    min-height: 112px !important;
  }
}
@media (max-width: 640px) {
  .service-photo-card img {
    width: 100% !important;
    height: 210px !important;
    min-height: 210px !important;
    max-height: 210px !important;
    aspect-ratio: auto !important;
    object-fit: cover !important;
  }
  .service-photo-card > div {
    min-height: 108px !important;
  }
}

/* ===== RC6 — homepage proportion, partner identity and capture-safe navigation ===== */
/* Keep the homepage navigation in normal document flow. This avoids stitched/full-page
   screenshot artefacts where a sticky header appears again inside the page. */
.home-page .site-header {
  position: relative;
  top: auto;
}

/* Partner strip: consistent visual boxes while preserving every brand's own aspect ratio. */
.home-page .authentic-partners {
  display: grid !important;
  grid-template-columns: repeat(10, minmax(0, 1fr)) !important;
  gap: 10px !important;
  overflow: visible !important;
  padding: 22px 0 2px !important;
}
.home-page .authentic-partners > a {
  min-width: 0 !important;
  height: 76px !important;
  padding: 10px 8px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  border: 1px solid #eadfd6 !important;
  border-radius: 12px !important;
  background: #fff !important;
  box-shadow: 0 5px 16px rgba(56, 20, 33, 0.045) !important;
}
.home-page .authentic-partners img {
  display: block !important;
  width: auto !important;
  height: auto !important;
  max-width: 94px !important;
  max-height: 44px !important;
  object-fit: contain !important;
  margin: auto !important;
}

/* Project experience is a compact sector overview, not a gallery. */
@media (min-width: 1201px) {
  .home-page .project-photo-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
    gap: 12px !important;
  }
  .home-page .project-photo-card {
    border-radius: 15px !important;
  }
  .home-page .project-photo-card img {
    width: 100% !important;
    height: 142px !important;
    min-height: 142px !important;
    max-height: 142px !important;
    aspect-ratio: auto !important;
    object-fit: cover !important;
    object-position: center !important;
  }
  .home-page .project-photo-card > div {
    min-height: 104px !important;
    padding: 12px 12px 14px !important;
  }
  .home-page .project-photo-card h3 {
    font-size: 15px !important;
    line-height: 1.15 !important;
    margin: 4px 0 8px !important;
  }
  .home-page .project-photo-card small {
    font-size: 10px !important;
    line-height: 1.3 !important;
  }
}
@media (min-width: 901px) and (max-width: 1200px) {
  .home-page .authentic-partners {
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  }
  .home-page .project-photo-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
  .home-page .project-photo-card img {
    height: 175px !important;
    aspect-ratio: auto !important;
    object-fit: cover !important;
  }
  .home-page .project-photo-card > div {
    min-height: 108px !important;
  }
}
@media (min-width: 641px) and (max-width: 900px) {
  .home-page .authentic-partners {
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  }
  .home-page .project-photo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
  .home-page .project-photo-card img {
    height: 180px !important;
    aspect-ratio: auto !important;
    object-fit: cover !important;
  }
}
@media (max-width: 640px) {
  .home-page .authentic-partners {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
  }
  .home-page .authentic-partners > a {
    height: 72px !important;
  }
  .home-page .authentic-partners img {
    max-width: 110px !important;
    max-height: 42px !important;
  }
  .home-page .project-photo-grid {
    grid-template-columns: 1fr !important;
  }
  .home-page .project-photo-card img {
    height: 190px !important;
    aspect-ratio: auto !important;
    object-fit: cover !important;
  }
  .home-page .project-photo-card > div {
    min-height: 96px !important;
  }
}

/* ===== Production RC7: homepage media reliability & visual consistency ===== */
.home-page .project-photo-card {
  background: linear-gradient(145deg, #281019, #150d11) !important;
  contain: paint;
}
.home-page .project-photo-card img {
  display: block !important;
  background: #25131a !important;
  opacity: 1 !important;
  visibility: visible !important;
}
.home-page .authentic-partners > a {
  overflow: hidden !important;
}
.home-page .authentic-partners img {
  object-position: center !important;
  flex: 0 1 auto !important;
}
@media (min-width: 1201px) {
  .home-page .project-photo-card img {
    height: 150px !important;
    min-height: 150px !important;
    max-height: 150px !important;
  }
  .home-page .project-photo-card > div {
    min-height: 100px !important;
  }
}
@media (min-width: 901px) and (max-width: 1200px) {
  .home-page .project-photo-card img {
    height: 168px !important;
  }
}
@media (max-width: 900px) {
  .home-page .project-photo-card img {
    object-position: center center !important;
  }
}
/* RC8.1 — approved homepage hero */
.v14-hero-bg {
  background-image:
    linear-gradient(
      90deg,
      rgba(23, 5, 15, 0.97) 0%,
      rgba(23, 5, 15, 0.8) 29%,
      rgba(10, 8, 8, 0.28) 57%,
      rgba(10, 8, 8, 0.08) 100%
    ),
    url("../img/site-visuals/flora-technology-doha-city.webp") !important;
  background-position: center center !important;
  background-size: cover !important;
}
@media (max-width: 900px) {
  .v14-hero-bg {
    background-position: 58% center !important;
  }
}

/* RC8.7 homepage audit: consistent stat icons */
.stat-icon svg {
  width: 19px;
  height: 19px;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Final review: product artwork is presented in full, without crop or overlay. */
.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 1000;
  padding: 12px 20px;
  background: #fff;
  color: #240d18;
  transform: translateY(-160%);
}
.skip-link:focus {
  transform: translateY(0);
}
:focus-visible {
  outline: 3px solid #e8c679;
  outline-offset: 4px;
}
[hidden] {
  display: none !important;
}
.detail-hero-grid > * {
  min-width: 0;
}
.detail-hero-media .detail-media-tag {
  display: none;
}
.footer-email {
  overflow-wrap: anywhere;
}
.map-location-note {
  color: #d2c6ba;
  font-size: 14px;
}
.mobile-toggle {
  min-width: 44px;
  min-height: 44px;
}
.product-cat-btn,
.client-filter-btn {
  min-height: 44px;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
.product-detail-hero .detail-hero-grid {
  grid-template-columns: minmax(360px, 0.78fr) minmax(580px, 1.42fr);
  gap: 48px;
  align-items: center;
}
.product-detail-hero .container {
  width: min(100% - 48px, 1520px);
}
.detail-hero-media {
  min-height: 0;
  aspect-ratio: 3/2;
  background: #170d11;
}
.detail-hero-media:after {
  display: none;
}
.detail-hero-media img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
  object-position: center;
  background: #170d11;
  cursor: zoom-in;
}
.detail-hero-media img[src$=".webp"] + .detail-media-tag {
  display: none;
}
.product-artwork-dialog {
  width: min(96vw, 1536px);
  max-width: none;
  max-height: 94vh;
  padding: 0;
  border: 1px solid rgba(215, 185, 104, 0.7);
  border-radius: 18px;
  overflow: hidden;
  background: #0d090a;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.72);
}
.product-artwork-dialog::backdrop {
  background: rgba(4, 2, 3, 0.9);
  backdrop-filter: blur(6px);
}
.product-artwork-dialog img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 94vh;
  object-fit: contain;
}
.product-artwork-dialog button {
  position: absolute;
  z-index: 2;
  top: 10px;
  right: 10px;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 50%;
  background: rgba(10, 7, 8, 0.82);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

@media (max-width: 1180px) {
  .product-detail-hero .detail-hero-grid {
    grid-template-columns: minmax(320px, 0.85fr) minmax(500px, 1.25fr);
    gap: 34px;
  }
  .product-detail-hero h1 {
    font-size: clamp(44px, 5vw, 66px);
  }
}
@media (max-width: 1000px) {
  .product-detail-hero .container {
    width: min(100% - 36px, 820px);
  }
  .product-detail-hero .detail-hero-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }
  .detail-hero-media {
    width: 100%;
    aspect-ratio: 3/2;
  }
}
@media (max-width: 650px) {
  .product-detail-hero .container {
    width: min(100% - 24px, 820px);
  }
  .product-detail-hero h1 {
    font-size: clamp(38px, 12vw, 48px);
  }
  .detail-actions .btn {
    width: 100%;
    text-align: center;
  }
.detail-hero-media {
  border-radius: 16px;
  }
}

/* ===== RC9 — Flora Technology official colour system ===== */
:root {
  --flora-maroon: #6F2046;
  --flora-maroon-deep: #45132F;
  --flora-maroon-dark: #2B0B1D;
  --flora-maroon-soft: #8A3C61;
  --flora-gold: #8C734B;
  --flora-gold-light: #B89A68;
  --flora-gold-pale: #D7C19A;
  --flora-ivory: #F8F4EE;
  --flora-cream: #EEE4D6;
  --flora-ink: #21111A;
  --flora-muted: #7D6571;
  --bg: var(--flora-maroon-dark);
  --bg2: #1A0913;
  --panel: #2A0D1D;
  --panel2: #381126;
  --line: rgba(184, 154, 104, 0.28);
  --line2: rgba(215, 193, 154, 0.44);
  --text: var(--flora-ivory);
  --muted: #D8C8CE;
  --gold: var(--flora-gold);
  --gold2: var(--flora-gold-light);
  --burg: var(--flora-maroon);
  --burg2: var(--flora-maroon-soft);
  --cream: var(--flora-gold-pale);
}
body {
  background: linear-gradient(180deg, #210A18 0%, #12070E 50%, #2A0C1C 100%);
}
body:before {
  background-image:
    linear-gradient(rgba(184, 154, 104, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(184, 154, 104, 0.07) 1px, transparent 1px);
}
.topbar,
.site-header {
  border-color: rgba(184, 154, 104, 0.3);
}
.topbar {
  background: #260B1A;
  color: #E5D8D0;
}
.site-header {
  background: rgba(43, 11, 29, 0.93);
}
.menu a:after,
.eyebrow:before {
  background: linear-gradient(90deg, var(--flora-gold-light), var(--flora-maroon-soft));
}
.btn-primary {
  background: linear-gradient(135deg, var(--flora-maroon), var(--flora-maroon-soft));
  border-color: var(--flora-gold-light);
  box-shadow: 0 12px 34px rgba(111, 32, 70, 0.34);
}
.btn-primary:hover {
  background: linear-gradient(135deg, var(--flora-maroon-soft), var(--flora-maroon));
  box-shadow: 0 18px 40px rgba(111, 32, 70, 0.46);
}
.btn-ghost,
.lang-btn {
  background: rgba(69, 19, 47, 0.7);
  border-color: rgba(215, 193, 154, 0.48);
}
.btn-ghost:hover,
.lang-btn:hover {
  border-color: var(--flora-gold-light);
  color: var(--flora-gold-pale);
}
.hero:before,
.v14-hero:before {
  background:
    radial-gradient(circle at 12% 18%, rgba(111, 32, 70, 0.42), transparent 36%),
    radial-gradient(circle at 74% 30%, rgba(140, 115, 75, 0.2), transparent 32%);
}
.v14-hero-bg {
  background-image:
    linear-gradient(90deg, rgba(43, 11, 29, 0.97) 0%, rgba(43, 11, 29, 0.8) 29%, rgba(43, 11, 29, 0.3) 57%, rgba(43, 11, 29, 0.1) 100%),
    url("../img/site-visuals/flora-technology-doha-city.webp") !important;
}
@media (max-width: 640px) {
  .v14-hero-bg {
    background-image:
      linear-gradient(90deg, rgba(43, 11, 29, 0.97) 0%, rgba(43, 11, 29, 0.8) 42%, rgba(43, 11, 29, 0.25) 100%),
      url("../img/site-visuals/flora-technology-doha-city-mobile.webp") !important;
  }
}
h1 {
  background: linear-gradient(180deg, #FFFFFF 0%, var(--flora-gold-pale) 100%);
  -webkit-background-clip: text;
  background-clip: text;
}
.eyebrow {
  color: var(--flora-gold-pale);
}
.footer,
.detail-hero,
.product-detail-hero,
.inner-hero {
  background-color: var(--flora-maroon-dark);
}
.content-section.alt,
.clients-section.alt,
.catalog-section.alt,
.partner-page.alt {
  background: #F4ECE2;
}
.product-card,
.product-card-v22,
.client-project-card,
.partner-card,
.project-family-card,
.legacy-logo-card,
.source-visual-card {
  border-color: rgba(140, 115, 75, 0.3);
}
.product-card:hover,
.product-card-v22:hover,
.client-project-card:hover,
.partner-card:hover,
.project-family-card:hover,
.source-visual-card:hover {
  border-color: var(--flora-gold-light);
  box-shadow: 0 18px 40px rgba(111, 32, 70, 0.16);
}
.product-filter-btn.active,
.product-filter-btn:hover,
.client-filter-btn.active,
.client-filter-btn:hover,
.product-cat-btn.active,
.product-cat-btn:hover {
  background: var(--flora-maroon);
  border-color: var(--flora-maroon);
  color: #fff;
}
:focus-visible {
  outline-color: var(--flora-gold-light);
}
