:root {
  --bg: #0a0c0d;
  --bg-soft: #111517;
  --surface: #151a1d;
  --surface-2: #1b2226;
  --paper: #f5f6f3;
  --white: #ffffff;
  --text: #111416;
  --text-soft: #596167;
  --light-text: #f5f6f3;
  --muted-light: #b4bdc2;
  --yellow: #ffd21f;
  --yellow-2: #ffb800;
  --green: #18b76a;
  --danger: #d94646;
  --border: rgba(19, 24, 27, 0.12);
  --border-dark: rgba(255, 255, 255, 0.12);
  --shadow: 0 18px 50px rgba(7, 10, 12, 0.12);
  --shadow-deep: 0 30px 90px rgba(0, 0, 0, 0.28);
  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --container: 1240px;
  --header-height: 82px;
  --font: "Segoe UI", Tahoma, Arial, "Noto Sans Arabic", sans-serif;
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--paper);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
body[dir="rtl"],
html[dir="rtl"] body {
  letter-spacing: 0;
}
img {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select,
textarea {
  font: inherit;
}
button {
  cursor: pointer;
}
h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}
h1,
h2,
h3 {
  line-height: 1.24;
}
h1 {
  font-size: clamp(2.4rem, 6vw, 5.5rem);
}
h2 {
  font-size: clamp(1.75rem, 3.4vw, 3.2rem);
}
h3 {
  font-size: 1.25rem;
}
p {
  color: var(--text-soft);
}
.container {
  width: min(calc(100% - 36px), var(--container));
  margin-inline: auto;
}
.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;
}
.skip-link {
  position: fixed;
  inset-inline-start: 12px;
  top: -60px;
  z-index: 9999;
  background: var(--yellow);
  padding: 10px 14px;
  color: #000;
  border-radius: 0 0 10px 10px;
}
.skip-link:focus {
  top: 0;
}
.section {
  padding: 96px 0;
  background: var(--white);
}
.section-light {
  background: var(--paper);
}
.section-dark {
  background: var(--bg);
  color: var(--light-text);
}
.section-accent {
  background: var(--yellow);
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--yellow);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.eyebrow::before {
  content: "";
  width: 34px;
  height: 2px;
  background: currentColor;
}
.eyebrow-dark {
  color: #30373b;
}
.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 38px;
}
.section-heading h2 {
  max-width: 760px;
  margin-bottom: 0;
}
.section-heading.light h2 {
  color: var(--white);
}
.section-heading.centered {
  justify-content: center;
  text-align: center;
}
.section-heading.centered .eyebrow {
  justify-content: center;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 800;
  color: #222;
  border-bottom: 2px solid var(--yellow);
  padding-bottom: 3px;
}
.text-link:hover {
  color: #000;
}
.text-link.muted {
  border-color: transparent;
  color: var(--text-soft);
}
.light-link {
  color: var(--white);
}
.btn {
  border: 1px solid transparent;
  border-radius: 999px;
  min-height: 46px;
  padding: 11px 22px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 9px;
  font-weight: 800;
  transition: 0.22s ease;
}
.btn:hover {
  transform: translateY(-2px);
}
.btn-primary {
  background: var(--yellow);
  color: #0d0f10;
  box-shadow: 0 10px 30px rgba(255, 210, 31, 0.2);
}
.btn-primary:hover {
  background: #ffe15b;
}
.btn-dark {
  background: var(--bg);
  color: var(--white);
}
.btn-outline {
  border-color: rgba(255, 255, 255, 0.45);
  color: var(--white);
  background: rgba(255, 255, 255, 0.04);
}
.btn-outline:hover {
  border-color: var(--yellow);
  color: var(--yellow);
}
.btn-outline-dark {
  border-color: rgba(10, 12, 13, 0.3);
  color: var(--bg);
  background: transparent;
}
.btn-outline-dark:hover {
  background: var(--bg);
  color: var(--white);
}
.btn-ghost {
  color: var(--white);
  background: transparent;
}
.btn-light {
  background: #eef0ed;
  color: #222;
}
.btn-danger {
  background: #fff0f0;
  color: var(--danger);
  border-color: #ffd1d1;
}
.btn-sm {
  min-height: 36px;
  padding: 7px 14px;
  font-size: 0.86rem;
}
.btn-lg {
  min-height: 54px;
  padding: 14px 28px;
}
.btn-block {
  width: 100%;
}
.topbar {
  background: #050607;
  color: var(--muted-light);
  font-size: 0.82rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.topbar-inner {
  min-height: 36px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.topbar-contact,
.topbar-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
}
.topbar a:hover {
  color: var(--yellow);
}
.language-link {
  color: var(--yellow) !important;
  font-weight: 800;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 12, 13, 0.94);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.header-inner {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}
.brand-symbol {
  width: 52px;
  height: 52px;
  border: 2px solid var(--yellow);
  border-radius: 50%;
  position: relative;
  display: inline-grid;
  place-items: center;
  color: var(--yellow);
}
.brand-sun {
  position: absolute;
  font-size: 2.6rem;
  line-height: 1;
  opacity: 0.72;
  transform: translateY(-1px);
}
.brand-bolt {
  position: relative;
  color: var(--green);
  font-size: 2.1rem;
  font-weight: 900;
  transform: skew(-8deg);
}
.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}
.brand-copy strong {
  color: var(--white);
  font-size: 1rem;
}
.brand-copy small {
  color: var(--muted-light);
  font-size: 0.7rem;
}
.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  flex: 1;
}
.main-nav a {
  color: #d9dfe2;
  padding: 12px 10px;
  border-radius: 10px;
  font-size: 0.88rem;
  font-weight: 700;
  white-space: nowrap;
}
.main-nav a:hover,
.main-nav a.active {
  color: var(--yellow);
  background: rgba(255, 255, 255, 0.06);
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.icon-button,
.cart-button {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  background: transparent;
  color: var(--white);
  position: relative;
}
.icon-button:hover,
.cart-button:hover {
  border-color: var(--yellow);
  color: var(--yellow);
}
.cart-button b {
  position: absolute;
  top: -5px;
  inset-inline-end: -4px;
  min-width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--yellow);
  color: #000;
  font-size: 0.7rem;
  display: grid;
  place-items: center;
}
.menu-toggle {
  display: none;
  background: transparent;
  border: 0;
  padding: 8px;
}
.menu-toggle > span:not(.sr-only) {
  width: 24px;
  height: 2px;
  background: var(--white);
  display: block;
  margin: 5px 0;
}
.search-panel {
  background: #111517;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 14px 0;
}
.search-form {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 10px;
}
.search-form input,
.hero-search input {
  min-height: 50px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: #090b0c;
  color: var(--white);
  padding: 0 20px;
  outline: none;
}
.search-form input:focus {
  border-color: var(--yellow);
}
.flash {
  position: fixed;
  top: 126px;
  inset-inline-end: 22px;
  z-index: 500;
  max-width: 430px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 15px 18px;
  border-radius: 14px;
  box-shadow: var(--shadow-deep);
}
.flash button {
  border: 0;
  background: transparent;
  font-size: 1.4rem;
}
.flash-success {
  background: #e9fff4;
  color: #08683b;
  border: 1px solid #b9efd3;
}
.flash-error {
  background: #fff0f0;
  color: #9d2424;
  border: 1px solid #ffcaca;
}
.floating-whatsapp {
  position: fixed;
  inset-inline-end: 22px;
  bottom: 22px;
  z-index: 90;
  min-width: 60px;
  height: 60px;
  border-radius: 999px;
  background: #20be67;
  color: white;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 18px;
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.22);
  font-weight: 800;
}
.floating-whatsapp span {
  font-size: 1.5rem;
}
.hero-section {
  min-height: 720px;
  position: relative;
  background: var(--bg);
  overflow: hidden;
  color: var(--white);
}
.hero-media {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  transform: scale(1.015);
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(0, 0, 0, 0.66));
}
.hero-content {
  min-height: 720px;
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.55fr);
  gap: 70px;
  align-items: center;
}
.hero-copy {
  max-width: 760px;
}
.hero-copy h1 {
  color: var(--white);
  margin-bottom: 22px;
  text-wrap: balance;
}
.hero-copy p {
  color: #d2d9dc;
  font-size: clamp(1.05rem, 1.5vw, 1.3rem);
  max-width: 680px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}
.hero-panel {
  background: rgba(13, 17, 19, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--radius-lg);
  padding: 28px;
  backdrop-filter: blur(13px);
  box-shadow: var(--shadow-deep);
}
.hero-panel-title {
  color: var(--yellow);
  font-weight: 900;
  margin-bottom: 18px;
}
.process-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 14px;
}
.process-list li {
  display: grid;
  grid-template-columns: 50px 1fr;
  align-items: center;
  gap: 13px;
  color: #ecf0f1;
}
.process-list span {
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: var(--yellow);
  font-weight: 900;
}
.stats-strip {
  background: var(--yellow);
}
.stats-grid {
  min-height: 130px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stats-grid > div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  border-inline-end: 1px solid rgba(0, 0, 0, 0.13);
}
.stats-grid > div:last-child {
  border-inline-end: 0;
}
.stats-grid strong {
  font-size: clamp(1.55rem, 3vw, 2.7rem);
  line-height: 1.15;
}
.stats-grid span {
  font-size: 0.85rem;
  font-weight: 800;
  opacity: 0.7;
}
.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.image-stack {
  position: relative;
}
.image-stack > img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.image-badge {
  position: absolute;
  bottom: 24px;
  inset-inline-end: -18px;
  background: var(--yellow);
  color: #111;
  padding: 18px 22px;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  min-width: 180px;
  box-shadow: var(--shadow);
}
.image-badge strong {
  font-size: 2rem;
  line-height: 1;
}
.section-copy h2 {
  margin-bottom: 20px;
}
.section-copy p {
  font-size: 1.06rem;
}
.feature-list {
  display: grid;
  gap: 12px;
  margin: 26px 0;
}
.feature-list > div {
  display: flex;
  align-items: center;
  gap: 12px;
}
.feature-list span {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  background: #e8f8ef;
  color: var(--green);
  border-radius: 50%;
  font-weight: 900;
}
.card-grid,
.product-grid,
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.media-card,
.product-card,
.news-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(15, 20, 22, 0.06);
  transition: 0.25s ease;
}
.media-card:hover,
.product-card:hover,
.news-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}
.card-media,
.product-image {
  position: relative;
  display: block;
  overflow: hidden;
}
.card-media img,
.product-image img,
.news-card > a img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.media-card:hover img,
.product-card:hover img,
.news-card:hover img {
  transform: scale(1.045);
}
.card-icon {
  position: absolute;
  bottom: 16px;
  inset-inline-start: 16px;
  width: 48px;
  height: 48px;
  background: var(--yellow);
  color: #101214;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  box-shadow: var(--shadow);
}
.card-body,
.product-body,
.news-body {
  padding: 22px;
}
.card-kicker,
.product-body > span,
.news-body > span {
  color: #7a8388;
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.card-body h3,
.card-body h2,
.product-body h3,
.product-body h2,
.news-body h3,
.news-body h2 {
  margin: 8px 0 10px;
  font-size: 1.28rem;
}
.card-body p,
.product-body p,
.news-body p {
  margin-bottom: 18px;
}
.card-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.solution-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.solution-card {
  min-height: 410px;
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: #151a1d;
  border: 1px solid var(--border-dark);
}
.solution-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.63;
  transition: 0.5s ease;
}
.solution-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 20%, rgba(5, 7, 8, 0.94) 88%);
}
.solution-card:hover img {
  transform: scale(1.06);
  opacity: 0.78;
}
.solution-number {
  position: absolute;
  z-index: 2;
  top: 20px;
  inset-inline-start: 20px;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--yellow);
  color: #111;
  font-weight: 900;
}
.solution-overlay {
  position: absolute;
  z-index: 2;
  inset-inline: 24px;
  bottom: 24px;
  color: var(--white);
}
.solution-overlay > span {
  color: var(--yellow);
  font-size: 0.75rem;
  font-weight: 900;
}
.solution-overlay h3,
.solution-overlay h2 {
  margin: 8px 0;
  font-size: 1.45rem;
}
.solution-overlay p {
  color: #c7cfd2;
  margin-bottom: 12px;
}
.solution-overlay a {
  color: var(--yellow);
  font-weight: 800;
}
.project-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
}
.project-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}
.project-image {
  display: block;
  position: relative;
  overflow: hidden;
}
.project-image img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  transition: 0.5s ease;
}
.project-card:hover .project-image img {
  transform: scale(1.04);
}
.project-image > span {
  position: absolute;
  bottom: 16px;
  inset-inline-start: 16px;
  background: rgba(10, 12, 13, 0.84);
  color: var(--white);
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 0.75rem;
  backdrop-filter: blur(8px);
}
.project-meta {
  padding: 19px 20px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
}
.project-meta h2,
.project-meta h3 {
  margin: 0 0 5px;
  font-size: 1.2rem;
}
.project-meta p {
  margin: 0;
  font-size: 0.86rem;
}
.round-link {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--yellow);
  color: #111;
  font-weight: 900;
}
.round-link.small {
  width: 34px;
  height: 34px;
}
.product-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.product-type {
  position: absolute;
  top: 14px;
  inset-inline-end: 14px;
  background: var(--yellow);
  color: #111;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 900;
}
.why-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 60px;
  align-items: center;
}
.why-copy h2 {
  margin-bottom: 18px;
}
.why-copy p {
  color: #373b3d;
}
.why-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.why-card {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: var(--radius);
  padding: 24px;
}
.why-card span {
  color: #6e6200;
  font-weight: 900;
}
.why-card h3 {
  margin: 10px 0 8px;
}
.why-card p {
  margin: 0;
}
.partner-marquee {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}
.partner-chip {
  min-height: 64px;
  min-width: 140px;
  padding: 15px 22px;
  border-radius: 14px;
  background: var(--white);
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  font-weight: 900;
  color: #252b2e;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
}
.dark-chip {
  background: #151a1d;
  color: var(--white);
  border-color: var(--border-dark);
}
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.testimonial-card {
  margin: 0;
  padding: 26px;
  background: #14191b;
  border: 1px solid var(--border-dark);
  border-radius: var(--radius);
}
.testimonial-card p {
  color: #e7ecee;
  font-size: 1.05rem;
}
.testimonial-card footer {
  display: flex;
  flex-direction: column;
}
.testimonial-card footer span {
  color: #8f9a9f;
  font-size: 0.82rem;
}
.stars {
  color: var(--yellow);
  letter-spacing: 0.15em;
  margin-bottom: 10px;
}
.empty-state {
  text-align: center;
  border: 1px dashed #bfc6c9;
  border-radius: var(--radius);
  padding: 48px 20px;
  color: var(--text-soft);
}
.dark-empty {
  border-color: rgba(255, 255, 255, 0.16);
}
.dark-empty h3 {
  color: var(--white);
}
.dark-empty p {
  color: var(--muted-light);
}
.final-cta {
  background: var(--yellow);
  padding: 72px 0;
}
.final-cta-inner {
  display: flex;
  justify-content: space-between;
  gap: 50px;
  align-items: center;
}
.final-cta h2 {
  max-width: 760px;
  margin-bottom: 10px;
}
.final-cta p {
  max-width: 760px;
  margin: 0;
  color: #3f3a14;
}
.final-cta-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 240px;
}
.site-footer {
  background: #07090a;
  color: var(--white);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 44px;
  padding-top: 72px;
  padding-bottom: 58px;
}
.footer-brand p {
  color: #9fa9ad;
  max-width: 430px;
  margin: 20px 0;
}
.footer-grid h3 {
  color: var(--yellow);
  font-size: 1rem;
  margin-bottom: 18px;
}
.footer-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
  color: #b5bec2;
}
.footer-list a:hover {
  color: var(--yellow);
}
.contact-list li {
  display: flex;
  gap: 8px;
}
.social-links {
  display: flex;
  gap: 9px;
}
.social-links a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  display: grid;
  place-items: center;
}
.social-links a:hover {
  border-color: var(--yellow);
  color: var(--yellow);
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.09);
}
.footer-bottom-inner {
  min-height: 62px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  color: #7f8a8f;
  font-size: 0.8rem;
}
.page-hero {
  min-height: 460px;
  position: relative;
  color: var(--white);
  background: var(--bg);
}
.page-hero.compact {
  min-height: 420px;
}
.page-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.page-hero-content {
  position: relative;
  z-index: 1;
  min-height: inherit;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: var(--container);
}
.page-hero-content h1 {
  color: var(--white);
  max-width: 900px;
  margin-bottom: 18px;
}
.page-hero-content p {
  color: #d3dadd;
  max-width: 760px;
  font-size: 1.08rem;
}
.simple-hero {
  background: linear-gradient(135deg, #080a0b, #1b2225);
  min-height: 300px !important;
}
.detail-hero {
  min-height: 610px;
  position: relative;
  display: flex;
  align-items: end;
  background: var(--bg);
  color: var(--white);
  overflow: hidden;
}
.detail-hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.detail-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 7, 8, 0.12), rgba(5, 7, 8, 0.92));
}
.detail-hero-content {
  position: relative;
  z-index: 1;
  padding-bottom: 70px;
}
.detail-hero-content h1 {
  color: var(--white);
  max-width: 900px;
  font-size: clamp(2.5rem, 6vw, 4.8rem);
}
.detail-hero-content p {
  color: #d5dcdf;
  font-size: 1.12rem;
  max-width: 780px;
}
.detail-layout,
.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 34px;
  align-items: start;
}
.prose-card,
.article-content {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(26px, 5vw, 52px);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.05);
}
.prose-card .prose,
.article-content {
  color: #384146;
  font-size: 1.05rem;
}
.sticky-card {
  position: sticky;
  top: 110px;
  background: #121719;
  color: var(--white);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow-deep);
}
.sticky-card h3 {
  color: var(--white);
  margin-bottom: 10px;
}
.sticky-card p {
  color: #aeb8bd;
}
.sticky-card .btn + .btn {
  margin-top: 10px;
}
.scope-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 32px;
}
.scope-steps div {
  background: #f2f4f1;
  border-radius: 14px;
  padding: 17px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.scope-steps b {
  color: #9a7b00;
}
.spec-list {
  display: grid;
  gap: 0;
  margin: 28px 0 0;
}
.spec-list > div {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 20px;
  padding: 15px 0;
  border-bottom: 1px solid var(--border);
}
.spec-list dt {
  font-weight: 800;
}
.spec-list dd {
  margin: 0;
  color: var(--text-soft);
}
.project-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}
.project-facts span {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  padding: 8px 13px;
  border-radius: 999px;
  backdrop-filter: blur(8px);
}
.project-story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}
.project-story-grid h2 {
  font-size: 1.65rem;
}
.brand-line {
  margin: 30px 0;
  padding: 18px;
  background: #f4f5f2;
  border-radius: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.project-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.project-gallery figure {
  margin: 0;
  background: #f2f4f1;
  border-radius: 14px;
  overflow: hidden;
}
.project-gallery img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
}
.project-gallery figcaption {
  padding: 10px 13px;
  font-size: 0.82rem;
  color: #667075;
}
.filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 30px;
  align-items: center;
}
.filter-chips button,
.static-chip {
  border: 1px solid #cbd0d2;
  background: var(--white);
  color: #343a3e;
  border-radius: 999px;
  padding: 8px 15px;
  font-weight: 700;
}
.filter-chips button.active,
.filter-chips button:hover {
  background: var(--bg);
  color: var(--white);
  border-color: var(--bg);
}
.filter-label {
  font-weight: 800;
}
.product-detail-section {
  padding-top: 70px;
}
.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.product-detail-media img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.product-detail-copy h1 {
  font-size: clamp(2.3rem, 5vw, 4.4rem);
}
.product-data {
  display: grid;
  gap: 0;
  margin: 26px 0;
  border-block: 1px solid var(--border);
}
.product-data > div {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}
.product-data > div:last-child {
  border-bottom: 0;
}
.inline-cart-form {
  display: flex;
  gap: 10px;
  margin-top: 24px;
}
.inline-cart-form input {
  width: 90px;
  border-radius: 999px;
  border: 1px solid #c9cfd1;
  padding: 0 16px;
}
.cart-list {
  display: grid;
  gap: 14px;
}
.cart-item {
  display: grid;
  grid-template-columns: 100px 1fr auto auto;
  gap: 20px;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px;
}
.cart-item img {
  width: 100px;
  height: 80px;
  object-fit: cover;
  border-radius: 12px;
}
.cart-item h2 {
  margin: 0 0 4px;
  font-size: 1.1rem;
}
.cart-item span {
  color: var(--text-soft);
}
.cart-total {
  display: flex;
  justify-content: space-between;
  background: var(--bg);
  color: var(--white);
  padding: 22px;
  border-radius: var(--radius);
  font-size: 1.2rem;
}
.article-layout {
  grid-template-columns: minmax(0, 1fr) 320px;
}
.article-content {
  white-space: normal;
  line-height: 2;
}
.form-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 30px;
  align-items: start;
}
.form-card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: clamp(24px, 5vw, 48px);
  box-shadow: var(--shadow);
}
.form-heading {
  margin-bottom: 24px;
}
.form-heading h2 {
  font-size: 1.8rem;
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.form-grid label {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.form-grid label > span {
  font-weight: 800;
  font-size: 0.88rem;
}
.form-grid label.full {
  grid-column: 1/-1;
}
.form-grid input,
.form-grid select,
.form-grid textarea,
.hero-search input {
  width: 100%;
  border: 1px solid #cbd1d3;
  border-radius: 12px;
  background: #fbfcfa;
  min-height: 48px;
  padding: 11px 14px;
  outline: none;
  color: #171b1d;
}
.form-grid textarea {
  resize: vertical;
}
.form-grid input:focus,
.form-grid select:focus,
.form-grid textarea:focus {
  border-color: #9f8300;
  box-shadow: 0 0 0 3px rgba(255, 210, 31, 0.2);
}
.field-error {
  color: var(--danger);
}
.form-side {
  display: grid;
  gap: 14px;
}
.contact-card {
  background: #121719;
  color: var(--white);
  border-radius: var(--radius);
  padding: 23px;
}
.contact-card > span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  background: var(--yellow);
  color: #111;
  border-radius: 12px;
  font-weight: 900;
  margin-bottom: 14px;
}
.contact-card h3 {
  color: var(--white);
  margin-bottom: 8px;
}
.contact-card p {
  color: #aeb7bb;
  margin-bottom: 0;
}
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 30px;
}
.contact-panel {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px;
}
.contact-methods {
  display: grid;
  gap: 11px;
  margin: 26px 0;
}
.contact-methods a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 14px;
}
.contact-methods a > span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: #f4f5f2;
}
.contact-methods div {
  display: flex;
  flex-direction: column;
}
.contact-methods small {
  color: var(--text-soft);
}
.map-placeholder {
  min-height: 480px;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
}
.map-placeholder > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.map-placeholder::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.8));
}
.map-placeholder > div {
  position: absolute;
  z-index: 1;
  bottom: 30px;
  inset-inline: 30px;
  color: var(--white);
}
.map-placeholder h3 {
  color: var(--white);
}
.map-placeholder p {
  color: #d0d7da;
}
.hero-search {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  max-width: 700px;
}
.search-results {
  display: grid;
  gap: 14px;
}
.search-results article {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 20px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px;
}
.search-results img {
  width: 150px;
  height: 120px;
  object-fit: cover;
  border-radius: 12px;
}
.search-results h2 {
  font-size: 1.2rem;
  margin: 4px 0;
}
.search-results p {
  margin: 0;
}
.search-results span {
  color: #8b9498;
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}
.triad-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.value-card {
  padding: 34px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
}
.value-card.featured {
  background: var(--yellow);
}
.value-card > span {
  font-size: 2rem;
  color: #7f6a00;
}
.value-card h2 {
  font-size: 1.7rem;
  margin: 18px 0 10px;
}
.value-card p {
  margin-bottom: 0;
}
.error-page {
  min-height: 70vh;
  display: grid;
  place-items: center;
  text-align: center;
  background: var(--bg);
  color: var(--white);
  padding: 70px 0;
}
.error-page span {
  font-size: clamp(5rem, 18vw, 14rem);
  line-height: 0.8;
  font-weight: 900;
  color: var(--yellow);
  opacity: 0.9;
}
.error-page h1 {
  color: var(--white);
  font-size: 2.2rem;
  margin: 28px 0 8px;
}
.error-page p {
  color: var(--muted-light);
}
.debug-box {
  text-align: left;
  direction: ltr;
  max-width: 900px;
  overflow: auto;
  background: #111517;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #ffbdbd;
  padding: 16px;
  border-radius: 12px;
  margin: 20px auto;
}

@media (max-width: 1120px) {
  .main-nav {
    position: fixed;
    top: calc(36px + var(--header-height));
    inset-inline: 18px;
    background: #111517;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 18px;
    padding: 14px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    box-shadow: var(--shadow-deep);
  }
  .main-nav.open {
    display: flex;
  }
  .main-nav a {
    padding: 11px 14px;
  }
  .menu-toggle {
    display: block;
    order: 3;
  }
  .header-inner {
    justify-content: space-between;
  }
  .header-actions {
    margin-inline-start: auto;
  }
  .hero-content {
    grid-template-columns: 1fr;
    padding-top: 70px;
    padding-bottom: 70px;
  }
  .hero-panel {
    max-width: 620px;
  }
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 820px) {
  .section {
    padding: 72px 0;
  }
  .topbar-contact a:nth-child(2),
  .topbar-links a:not(.language-link) {
    display: none;
  }
  .header-quote {
    display: none;
  }
  .brand-copy small {
    display: none;
  }
  .hero-section,
  .hero-content {
    min-height: 660px;
  }
  .hero-media {
    background-position: 62% center;
  }
  .hero-copy h1 {
    font-size: clamp(2.5rem, 12vw, 4rem);
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stats-grid > div {
    min-height: 110px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.12);
  }
  .split-section,
  .why-grid,
  .product-detail,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 38px;
  }
  .image-badge {
    inset-inline-end: 16px;
  }
  .card-grid,
  .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .solution-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .detail-layout,
  .article-layout,
  .form-layout {
    grid-template-columns: 1fr;
  }
  .sticky-card {
    position: static;
  }
  .scope-steps {
    grid-template-columns: repeat(2, 1fr);
  }
  .project-story-grid {
    grid-template-columns: 1fr;
  }
  .triad-grid {
    grid-template-columns: 1fr;
  }
  .final-cta-inner {
    flex-direction: column;
    align-items: stretch;
  }
  .final-cta-actions {
    flex-direction: row;
    min-width: 0;
  }
  .final-cta-actions .btn {
    flex: 1;
  }
}
@media (max-width: 580px) {
  .container {
    width: min(calc(100% - 24px), var(--container));
  }
  .topbar-inner {
    min-height: 32px;
  }
  .topbar-contact {
    gap: 8px;
  }
  .topbar-contact a {
    font-size: 0.73rem;
  }
  .brand-symbol {
    width: 45px;
    height: 45px;
  }
  .brand-copy strong {
    font-size: 0.88rem;
    max-width: 150px;
  }
  .header-actions .icon-button {
    display: none;
  }
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-actions .btn {
    width: 100%;
  }
  .hero-panel {
    padding: 20px;
  }
  .stats-grid strong {
    font-size: 1.6rem;
  }
  .section-heading {
    align-items: start;
    flex-direction: column;
  }
  .card-grid,
  .news-grid,
  .solution-grid,
  .project-grid,
  .product-grid,
  .testimonial-grid,
  .why-cards {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom-inner {
    flex-direction: column;
    text-align: center;
    padding: 16px 0;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .form-grid label.full {
    grid-column: auto;
  }
  .scope-steps {
    grid-template-columns: 1fr;
  }
  .spec-list > div {
    grid-template-columns: 1fr;
    gap: 4px;
  }
  .project-gallery {
    grid-template-columns: 1fr;
  }
  .cart-item {
    grid-template-columns: 74px 1fr;
  }
  .cart-item img {
    width: 74px;
    height: 64px;
  }
  .cart-item > strong,
  .cart-item > form {
    grid-column: 2;
  }
  .search-results article {
    grid-template-columns: 90px 1fr;
  }
  .search-results img {
    width: 90px;
    height: 90px;
  }
  .final-cta-actions {
    flex-direction: column;
  }
  .floating-whatsapp small {
    display: none;
  }
  .floating-whatsapp {
    min-width: 56px;
    width: 56px;
    padding: 0;
    justify-content: center;
  }
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}
.reveal.revealed {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation: none !important;
    transition: none !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* Stage 01: clients and gallery */
.client-logo-grid {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}
.logo-card {
  min-height: 150px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  text-align: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.25rem;
  transition: 0.25s;
}
.logo-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.logo-card img {
  max-width: 150px;
  max-height: 70px;
  object-fit: contain;
}
.logo-card strong {
  font-size: 1.15rem;
  color: var(--ink);
}
.logo-card span {
  font-size: 0.88rem;
  color: var(--muted);
}
.gallery-masonry {
  columns: 4 260px;
  column-gap: 1rem;
}
.gallery-tile {
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  margin: 0 0 1rem;
  break-inside: avoid;
  background: #0e1112;
}
.gallery-tile img {
  width: 100%;
  display: block;
  transition: transform 0.35s ease;
}
.gallery-tile span {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  padding: 2.5rem 1rem 1rem;
  color: #fff;
  font-weight: 800;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
}
.gallery-tile:hover img {
  transform: scale(1.035);
}

.nav-more {
  position: relative;
}
.nav-more summary {
  list-style: none;
  cursor: pointer;
  color: #d9dfe2;
  padding: 12px 10px;
  border-radius: 10px;
  font-size: 0.88rem;
  font-weight: 700;
  white-space: nowrap;
}
.nav-more summary::-webkit-details-marker {
  display: none;
}
.nav-more[open] summary,
.nav-more[data-active="true"] summary,
.nav-more summary:hover {
  color: var(--yellow);
  background: rgba(255, 255, 255, 0.06);
}
.nav-more-menu {
  position: absolute;
  top: calc(100% + 8px);
  inset-inline-end: 0;
  min-width: 230px;
  padding: 0.55rem;
  background: #111517;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  box-shadow: var(--shadow-deep);
  z-index: 70;
}
.nav-more-menu a {
  display: block !important;
  text-align: start;
}
.partner-page-grid {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}
@media (max-width: 1100px) {
  .nav-more {
    width: 100%;
  }
  .nav-more summary {
    padding: 11px 14px;
  }
  .nav-more-menu {
    position: static;
    margin-top: 0.35rem;
    box-shadow: none;
    background: rgba(255, 255, 255, 0.035);
  }
}
/* Stage 02: commerce, checkout, lead CRM and editorial UI */
.shop-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 30px;
  align-items: start;
}
.shop-filters {
  position: sticky;
  top: 110px;
  background: #fff;
  border: 1px solid #e6e7e8;
  border-radius: 20px;
  padding: 22px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.06);
}
.shop-filters form,
.shop-filters label {
  display: grid;
  gap: 9px;
}
.shop-filters form {
  gap: 18px;
}
.shop-filters input,
.shop-filters select,
.checkout-form input,
.checkout-form select,
.checkout-form textarea,
.notify-box input {
  width: 100%;
  border: 1px solid #d9dcdf;
  border-radius: 10px;
  padding: 12px 14px;
  background: #fff;
}
.filter-heading,
.results-toolbar,
.product-card-footer,
.availability-row,
.product-actions,
.article-share,
.news-meta,
.card-heading,
.inline-fields {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.filter-heading h2 {
  font-size: 1.1rem;
  margin: 0;
}
.results-toolbar {
  margin-bottom: 20px;
}
.cart-inline-link {
  font-weight: 800;
}
.product-image {
  position: relative;
}
.availability-pill {
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  background: #eef1f2;
  font-size: 0.78rem;
  font-weight: 800;
}
.product-image .availability-pill {
  position: absolute;
  bottom: 12px;
  right: 12px;
}
.status-in_stock {
  background: #dff7e6;
  color: #08652d;
}
.status-out_of_stock,
.status-unavailable {
  background: #fde7e7;
  color: #991f1f;
}
.status-preorder {
  background: #fff0c8;
  color: #795500;
}
.price-stack {
  display: grid;
}
.price-stack del {
  font-size: 0.78rem;
  color: #777;
}
.price-stack strong,
.product-price strong {
  font-size: 1.25rem;
  color: #111;
}
.price-on-request {
  font-size: 0.82rem;
  font-weight: 700;
}
.product-detail-v2 {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(350px, 0.95fr);
  gap: 45px;
  align-items: start;
}
.breadcrumbs {
  grid-column: 1/-1;
  display: flex;
  gap: 9px;
  color: #666;
  font-size: 0.88rem;
}
.gallery-main {
  position: relative;
  background: #f3f4f4;
  border-radius: 24px;
  overflow: hidden;
  aspect-ratio: 1.18;
}
.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.video-badge {
  position: absolute;
  left: 18px;
  bottom: 18px;
  background: #111;
  color: #fff;
  border-radius: 999px;
  padding: 10px 15px;
}
.gallery-thumbs {
  display: flex;
  gap: 10px;
  margin-top: 12px;
  overflow: auto;
}
.gallery-thumbs button {
  width: 88px;
  height: 70px;
  border: 2px solid transparent;
  border-radius: 10px;
  overflow: hidden;
  padding: 0;
  background: #fff;
}
.gallery-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.product-summary h1 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  margin: 0.45em 0;
}
.product-kickers {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.product-kickers span {
  background: #f1f2f2;
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 0.8rem;
}
.availability-row {
  justify-content: flex-start;
  flex-wrap: wrap;
  margin: 22px 0;
}
.product-price {
  display: flex;
  align-items: end;
  gap: 12px;
  margin: 20px 0;
}
.product-price strong {
  font-size: 2rem;
}
.buy-box {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 12px;
}
.buy-box label {
  display: grid;
  gap: 5px;
}
.buy-box input {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 10px;
}
.product-actions {
  margin-top: 12px;
}
.btn-whatsapp {
  background: #137a43;
  color: #fff;
}
.quote-price-box,
.notify-box {
  border: 1px solid #e1e3e4;
  border-radius: 16px;
  padding: 18px;
  margin: 18px 0;
  background: #fafafa;
}
.notify-box summary {
  font-weight: 800;
  cursor: pointer;
}
.notify-box form {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr auto;
  gap: 8px;
  margin-top: 15px;
}
.tabs-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 25px;
}
.prose-card,
.spec-card {
  background: #fff;
  border-radius: 20px;
  padding: 28px;
  border: 1px solid #e8e9ea;
}
.spec-card dl div {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 11px 0;
  border-bottom: 1px solid #eee;
}
.document-list {
  display: grid;
  gap: 10px;
}
.document-list a {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 14px 18px;
  border: 1px solid #ddd;
  border-radius: 12px;
  background: #fff;
}
.cart-layout,
.checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(310px, 0.65fr);
  gap: 28px;
  align-items: start;
}
.cart-table-card,
.order-summary,
.checkout-form {
  background: #fff;
  border: 1px solid #e2e4e5;
  border-radius: 20px;
  padding: 22px;
}
.cart-table-head,
.cart-row {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) 110px 100px 120px 35px;
  gap: 14px;
  align-items: center;
}
.cart-table-head {
  padding: 0 8px 13px;
  color: #666;
  font-size: 0.82rem;
}
.cart-row {
  padding: 16px 8px;
  border-top: 1px solid #eee;
}
.cart-product {
  display: flex;
  gap: 12px;
  align-items: center;
}
.cart-product img {
  width: 75px;
  height: 64px;
  object-fit: cover;
  border-radius: 10px;
}
.cart-product div {
  display: grid;
}
.cart-row input {
  width: 80px;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 9px;
}
.remove-cart-button {
  border: 0;
  background: #fdeaea;
  color: #a51d1d;
  border-radius: 8px;
  width: 30px;
  height: 30px;
}
.cart-table-actions {
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
}
.order-summary {
  position: sticky;
  top: 110px;
}
.order-summary dl div {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid #eee;
}
.order-summary .summary-total {
  font-size: 1.22rem;
  font-weight: 900;
  border-top: 2px solid #111;
  margin-top: 10px;
}
.form-section {
  border-top: 1px solid #eee;
  padding-top: 24px;
  margin-top: 24px;
}
.form-section:first-child {
  border-top: 0;
  margin-top: 0;
}
.form-section-title {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 20px;
}
.form-section-title > span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  background: #ffcc00;
  color: #111;
  border-radius: 50%;
  font-weight: 900;
}
.form-section-title h2,
.form-section-title h3 {
  margin: 0;
}
.terms-check {
  display: flex !important;
  grid-column: 1/-1;
  align-items: flex-start;
  gap: 10px;
  margin: 20px 0;
}
.terms-check input {
  width: auto;
  margin-top: 4px;
}
.checkout-item {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid #eee;
}
.checkout-item img {
  width: 56px;
  height: 50px;
  object-fit: cover;
  border-radius: 8px;
}
.checkout-item div {
  display: grid;
}
.success-panel {
  max-width: 680px;
  margin: 60px auto;
  text-align: center;
  background: #fff;
  border-radius: 26px;
  padding: 50px;
  border: 1px solid #e5e7e8;
}
.success-icon {
  display: grid;
  place-items: center;
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: #dff7e6;
  color: #087234;
  font-size: 2.5rem;
}
.reference-box {
  display: grid;
  background: #111;
  color: #fff;
  border-radius: 14px;
  padding: 18px;
  margin: 25px 0;
}
.reference-box strong {
  font-size: 1.4rem;
}
.success-actions {
  display: flex;
  justify-content: center;
  gap: 10px;
}
.quote-layout {
  align-items: start;
}
.sticky-side {
  position: sticky;
  top: 110px;
}
.workflow-card {
  background: #111;
  color: #fff;
  border-radius: 20px;
  padding: 24px;
}
.workflow-card ol {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 15px;
}
.workflow-card li {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 10px;
  align-items: center;
}
.workflow-card li span {
  display: grid;
  place-items: center;
  background: #ffcc00;
  color: #111;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  font-weight: 900;
}
.file-drop {
  border: 1px dashed #bcc1c4;
  border-radius: 14px;
  padding: 16px;
}
.category-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.category-tabs a {
  padding: 9px 14px;
  border: 1px solid #ddd;
  border-radius: 999px;
}
.category-tabs a.active {
  background: #111;
  color: #fff;
  border-color: #111;
}
.news-image {
  position: relative;
}
.news-image > span {
  position: absolute;
  top: 12px;
  right: 12px;
  background: #ffcc00;
  color: #111;
  padding: 6px 10px;
  border-radius: 999px;
  font-weight: 800;
}
.article-meta {
  display: flex;
  gap: 20px;
  margin-top: 16px;
}
.article-share {
  justify-content: flex-start;
  flex-wrap: wrap;
  margin-bottom: 22px;
}
.article-share a,
.article-share button {
  border: 1px solid #ddd;
  background: #fff;
  border-radius: 999px;
  padding: 8px 12px;
  cursor: pointer;
}
.article-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 24px;
}
.article-gallery img {
  width: 100%;
  border-radius: 14px;
}
.article-gallery figcaption {
  font-size: 0.82rem;
  color: #666;
  margin-top: 5px;
}
.empty-icon {
  font-size: 3rem;
}
@media (max-width: 980px) {
  .shop-layout,
  .product-detail-v2,
  .tabs-grid,
  .cart-layout,
  .checkout-layout {
    grid-template-columns: 1fr;
  }
  .shop-filters,
  .order-summary,
  .sticky-side {
    position: static;
  }
  .shop-filters form {
    grid-template-columns: repeat(2, 1fr);
  }
  .filter-heading,
  .shop-filters .btn {
    grid-column: 1/-1;
  }
  .cart-table-head {
    display: none;
  }
  .cart-row {
    grid-template-columns: 1fr 90px 90px 35px;
  }
  .cart-product {
    grid-column: 1/-1;
  }
  .notify-box form {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 620px) {
  .shop-filters form,
  .notify-box form {
    grid-template-columns: 1fr;
  }
  .filter-heading,
  .shop-filters .btn {
    grid-column: auto;
  }
  .product-actions,
  .success-actions,
  .cart-table-actions {
    align-items: stretch;
    flex-direction: column;
  }
  .buy-box {
    grid-template-columns: 90px 1fr;
  }
  .cart-row {
    grid-template-columns: 1fr 80px 35px;
  }
  .cart-row > span {
    display: none;
  }
  .article-gallery {
    grid-template-columns: 1fr;
  }
}
.buy-box-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}
.buy-box-actions .btn {
  flex: 1 1 150px;
}
.order-summary .discount-row dd {
  color: #16784a;
  font-weight: 800;
}
.public-staff-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}
.public-staff-card {
  background: #fff;
  border: 1px solid #e7e7e7;
  border-radius: 18px;
  padding: 1.25rem;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.05);
}
.staff-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #101313;
  color: #f8ce00;
  font-weight: 900;
  font-size: 1.35rem;
}
.public-staff-card h3 {
  margin: 0.8rem 0 0.2rem;
}
.public-staff-card p {
  color: #667085;
  margin: 0 0 0.8rem;
}
.public-staff-card div:last-child {
  display: grid;
  gap: 0.3rem;
}
.public-staff-card a {
  color: #111;
  font-weight: 700;
  overflow-wrap: anywhere;
}

/* Public navigation and catalogue filters */
.public-filter-panel {
  display: flex;
  align-items: end;
  gap: 12px;
  flex-wrap: wrap;
  background: #fff;
  border: 1px solid rgba(11, 15, 16, 0.12);
  border-radius: 18px;
  padding: 16px;
  margin-bottom: 26px;
  box-shadow: 0 12px 34px rgba(9, 14, 16, 0.05);
}
.public-filter-panel label {
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 210px;
  flex: 1;
}
.public-filter-panel label span {
  font-size: 0.78rem;
  font-weight: 850;
  color: #596368;
}
.public-filter-panel input,
.public-filter-panel select {
  width: 100%;
  min-height: 46px;
  border: 1px solid #d5dad8;
  border-radius: 11px;
  padding: 9px 12px;
  background: #fbfcfb;
}
.public-filter-panel.dark-filter {
  background: #111516;
  border-color: rgba(255, 255, 255, 0.14);
}
.public-filter-panel.dark-filter label span {
  color: #d6dcde;
}
.public-filter-panel.dark-filter input,
.public-filter-panel.dark-filter select {
  background: #1b2022;
  color: #fff;
  border-color: #3a4347;
}
@media (max-width: 680px) {
  .public-filter-panel {
    align-items: stretch;
  }
  .public-filter-panel label {
    min-width: 100%;
  }
  .public-filter-panel .btn {
    width: 100%;
    justify-content: center;
  }
}

/* Final release: quote aggregation, public tracking and PWA controls */
.quote-list-button,
.cart-button {
  position: relative;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  color: #fff;
  background: rgba(255, 255, 255, 0.04);
}
.quote-list-button:hover,
.cart-button:hover {
  border-color: var(--yellow);
  color: var(--yellow);
}
.quote-list-button b,
.cart-button b {
  position: absolute;
  inset-block-start: -6px;
  inset-inline-end: -6px;
  display: grid;
  place-items: center;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--yellow);
  color: #111;
  font-size: 0.7rem;
  border: 2px solid #111;
}
.install-app-button {
  border-color: rgba(255, 255, 255, 0.18);
  color: var(--yellow);
}
.quote-list-add-form {
  margin-top: 12px;
}
.quote-list-add-form .btn {
  width: 100%;
}
.quote-selection-section {
  padding: 28px 0 0;
  background: #f5f6f6;
}
.selected-quote-items {
  display: grid;
  grid-template-columns: minmax(240px, 0.8fr) minmax(0, 1.4fr) auto;
  gap: 20px;
  align-items: center;
  padding: 22px;
  border: 1px solid #dcdfe0;
  background: #fff;
  border-radius: 18px;
}
.selected-quote-items h2 {
  margin: 0.35rem 0 0;
  font-size: 1.25rem;
}
.selected-quote-chips {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
}
.selected-quote-chips > span {
  display: grid;
  gap: 3px;
  padding: 9px 12px;
  border-radius: 12px;
  background: #111;
  color: #fff;
}
.selected-quote-chips small {
  color: #cad0d2;
}
.quote-basket-layout,
.tracking-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(300px, 0.55fr);
  gap: 28px;
  align-items: start;
}
.quote-basket-card,
.tracking-summary-card,
.tracking-meta-grid,
.tracking-items-card,
.tracking-timeline-card,
.tracking-help-card {
  background: #fff;
  border: 1px solid #e0e3e4;
  border-radius: 20px;
}
.quote-basket-card {
  padding: 24px;
  min-height: 320px;
}
.quote-basket-list {
  display: grid;
  gap: 12px;
}
.quote-basket-list article {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  padding: 18px;
  border: 1px solid #e7e9ea;
  border-radius: 15px;
  background: #fbfcfc;
}
.quote-basket-list h3 {
  margin: 0.25rem 0;
}
.quote-basket-list small,
.quote-basket-list span {
  color: #687176;
}
.quote-basket-actions {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid #e5e7e8;
}
.tracking-help-card {
  padding: 28px;
  position: sticky;
  top: 110px;
}
.tracking-help-card > span {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 16px;
  background: #111;
  color: var(--yellow);
  font-size: 1.8rem;
}
.tracking-help-card h3 {
  font-size: 1.45rem;
  margin: 18px 0 8px;
}
.tracking-help-card p {
  color: #626a6e;
  line-height: 1.8;
}
.empty-state {
  display: grid;
  place-items: center;
  text-align: center;
  min-height: 280px;
}
.empty-state > span {
  font-size: 3rem;
  color: var(--yellow);
  background: #111;
  border-radius: 18px;
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
}
.empty-state > div {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}
.tracking-form {
  align-self: start;
}
.tracking-form label {
  display: grid;
  gap: 8px;
  margin-top: 16px;
}
.tracking-form input {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid #d7dbdd;
  border-radius: 11px;
}
.tracking-form .btn {
  margin-top: 18px;
  width: 100%;
}
.inline-alert {
  padding: 12px 14px;
  border-radius: 10px;
  margin-top: 14px;
}
.inline-alert.error {
  background: #fdeaea;
  color: #8d1e1e;
  border: 1px solid #f4c7c7;
}
.tracking-result {
  display: grid;
  gap: 16px;
}
.tracking-summary-card {
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.tracking-summary-card h2 {
  margin: 0.3rem 0;
  font-size: 2rem;
}
.tracking-status {
  display: inline-flex;
  padding: 9px 13px;
  border-radius: 999px;
  background: #111;
  color: var(--yellow);
  font-weight: 900;
}
.tracking-meta-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
}
.tracking-meta-grid > div {
  padding: 18px;
  border-inline-end: 1px solid #eceeef;
  display: grid;
  gap: 6px;
}
.tracking-meta-grid > div:last-child {
  border-inline-end: 0;
}
.tracking-meta-grid small {
  color: #687176;
}
.tracking-items-card,
.tracking-timeline-card {
  padding: 24px;
}
.tracking-items-card h3,
.tracking-timeline-card h3 {
  margin-top: 0;
}
.tracking-item-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 18px;
  align-items: center;
  padding: 13px 0;
  border-top: 1px solid #eceeef;
}
.tracking-item-row div {
  display: grid;
}
.tracking-item-row small {
  color: #71797c;
}
.tracking-timeline {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
}
.tracking-timeline li {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 12px;
  min-height: 58px;
}
.tracking-timeline li > span {
  width: 14px;
  height: 14px;
  margin-top: 4px;
  border-radius: 50%;
  background: var(--yellow);
  border: 3px solid #111;
  position: relative;
}
.tracking-timeline li:not(:last-child) > span:after {
  content: "";
  position: absolute;
  top: 12px;
  left: 50%;
  width: 2px;
  height: 46px;
  background: #d9dddf;
  transform: translateX(-50%);
}
.tracking-timeline li div {
  display: grid;
  gap: 3px;
}
.tracking-timeline small {
  color: #70787b;
}
@media (max-width: 980px) {
  .quote-basket-layout,
  .tracking-layout {
    grid-template-columns: 1fr;
  }
  .tracking-help-card {
    position: static;
  }
  .selected-quote-items {
    grid-template-columns: 1fr;
  }
  .tracking-meta-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 620px) {
  .quote-list-button {
    width: 38px;
    height: 38px;
  }
  .quote-basket-card,
  .tracking-summary-card,
  .tracking-items-card,
  .tracking-timeline-card,
  .tracking-help-card {
    border-radius: 15px;
    padding: 18px;
  }
  .quote-basket-list article,
  .quote-basket-actions,
  .tracking-summary-card {
    align-items: stretch;
    flex-direction: column;
  }
  .tracking-meta-grid {
    grid-template-columns: 1fr;
  }
  .tracking-meta-grid > div {
    border-inline-end: 0;
    border-bottom: 1px solid #eceeef;
  }
  .tracking-item-row {
    grid-template-columns: 1fr auto;
  }
  .tracking-item-row > b {
    grid-column: 1/-1;
  }
  .selected-quote-items {
    padding: 16px;
  }
  .header-actions {
    gap: 5px;
  }
  .cart-button,
  .quote-list-button {
    width: 36px;
    height: 36px;
  }
}

/* Legal and policy pages */
.legal-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 2rem;
  align-items: start;
}
.legal-card {
  background: #fff;
  border: 1px solid rgba(12, 15, 16, 0.1);
  border-radius: 20px;
  padding: clamp(1.5rem, 3vw, 3rem);
  box-shadow: 0 18px 55px rgba(9, 12, 13, 0.08);
  font-size: 1.05rem;
  line-height: 2;
  color: #303638;
}
.legal-card.prose-content {
  white-space: normal;
}
.legal-layout .sticky-side {
  position: sticky;
  top: 120px;
}
@media (max-width: 900px) {
  .legal-layout {
    grid-template-columns: 1fr;
  }
  .legal-layout .sticky-side {
    position: static;
  }
}

/* ========================================================================== 
   ElectronVolt Enterprise UX Edition — 2026-07-19
   --------------------------------------------------------------------------
   This layer intentionally extends the original public stylesheet instead of
   replacing or deleting previous selectors. It provides the decision-first
   homepage, official logo treatment, dark/light modes, quote journeys,
   commerce category gateways, accessibility, RTL/LTR and responsive behavior.
   ========================================================================== */

/* 01. Design tokens and themes
   ========================================================================== */
:root,
html[data-theme="light"] {
  color-scheme: light;
  --ev-bg: #f4f5f2;
  --ev-bg-elevated: #ffffff;
  --ev-bg-subtle: #eef0eb;
  --ev-bg-strong: #0a0c0d;
  --ev-surface: #ffffff;
  --ev-surface-soft: #f8f9f6;
  --ev-surface-dark: #111516;
  --ev-text: #111416;
  --ev-text-muted: #626c70;
  --ev-text-faint: #879095;
  --ev-text-inverse: #f7f8f5;
  --ev-yellow: #f4d719;
  --ev-yellow-strong: #e8c900;
  --ev-yellow-soft: #fff7b5;
  --ev-green: #13a85f;
  --ev-green-dark: #087b44;
  --ev-blue: #1c5d86;
  --ev-danger: #bd3d32;
  --ev-success: #147a49;
  --ev-line: rgba(15, 20, 22, 0.12);
  --ev-line-strong: rgba(15, 20, 22, 0.2);
  --ev-line-inverse: rgba(255, 255, 255, 0.14);
  --ev-shadow-xs: 0 4px 16px rgba(5, 10, 12, 0.05);
  --ev-shadow-sm: 0 10px 30px rgba(5, 10, 12, 0.08);
  --ev-shadow-md: 0 20px 55px rgba(5, 10, 12, 0.12);
  --ev-shadow-lg: 0 32px 92px rgba(0, 0, 0, 0.22);
  --ev-radius-xs: 8px;
  --ev-radius-sm: 12px;
  --ev-radius-md: 18px;
  --ev-radius-lg: 26px;
  --ev-radius-xl: 34px;
  --ev-container: 1320px;
  --ev-header-height: 76px;
  --ev-transition: 180ms ease;
  --bg: var(--ev-bg-strong);
  --paper: var(--ev-bg);
  --white: var(--ev-surface);
  --text: var(--ev-text);
  --text-soft: var(--ev-text-muted);
  --yellow: var(--ev-yellow);
  --green: var(--ev-green);
  --border: var(--ev-line);
  --shadow: var(--ev-shadow-md);
  --container: var(--ev-container);
  --header-height: var(--ev-header-height);
}

html[data-theme="dark"] {
  color-scheme: dark;
  --ev-bg: #090b0c;
  --ev-bg-elevated: #111516;
  --ev-bg-subtle: #171c1e;
  --ev-bg-strong: #050607;
  --ev-surface: #111516;
  --ev-surface-soft: #171c1e;
  --ev-surface-dark: #050607;
  --ev-text: #f3f5f2;
  --ev-text-muted: #b2bcc0;
  --ev-text-faint: #879195;
  --ev-text-inverse: #111416;
  --ev-yellow-soft: rgba(244, 215, 25, 0.12);
  --ev-line: rgba(255, 255, 255, 0.12);
  --ev-line-strong: rgba(255, 255, 255, 0.22);
  --ev-shadow-xs: 0 4px 18px rgba(0, 0, 0, 0.2);
  --ev-shadow-sm: 0 12px 34px rgba(0, 0, 0, 0.25);
  --ev-shadow-md: 0 22px 60px rgba(0, 0, 0, 0.34);
  --ev-shadow-lg: 0 34px 100px rgba(0, 0, 0, 0.48);
  --paper: var(--ev-bg);
  --white: var(--ev-surface);
  --text: var(--ev-text);
  --text-soft: var(--ev-text-muted);
  --border: var(--ev-line);
}

@media (prefers-color-scheme: dark) {
  html[data-theme="system"] {
    color-scheme: dark;
    --ev-bg: #090b0c;
    --ev-bg-elevated: #111516;
    --ev-bg-subtle: #171c1e;
    --ev-bg-strong: #050607;
    --ev-surface: #111516;
    --ev-surface-soft: #171c1e;
    --ev-surface-dark: #050607;
    --ev-text: #f3f5f2;
    --ev-text-muted: #b2bcc0;
    --ev-text-faint: #879195;
    --ev-text-inverse: #111416;
    --ev-yellow-soft: rgba(244, 215, 25, 0.12);
    --ev-line: rgba(255, 255, 255, 0.12);
    --ev-line-strong: rgba(255, 255, 255, 0.22);
    --ev-shadow-xs: 0 4px 18px rgba(0, 0, 0, 0.2);
    --ev-shadow-sm: 0 12px 34px rgba(0, 0, 0, 0.25);
    --ev-shadow-md: 0 22px 60px rgba(0, 0, 0, 0.34);
    --ev-shadow-lg: 0 34px 100px rgba(0, 0, 0, 0.48);
    --paper: var(--ev-bg);
    --white: var(--ev-surface);
    --text: var(--ev-text);
    --text-soft: var(--ev-text-muted);
    --border: var(--ev-line);
  }
}

/* 02. Global foundations and accessibility
   ========================================================================== */
html {
  scroll-padding-top: 116px;
  scrollbar-gutter: stable;
}

body.site-body {
  min-width: 320px;
  overflow-x: clip;
  background: var(--ev-bg);
  color: var(--ev-text);
  transition:
    background-color var(--ev-transition),
    color var(--ev-transition);
}

body.menu-open,
body.search-open,
body.filter-open {
  overflow: hidden;
}

main {
  min-height: 52vh;
}

.container {
  width: min(calc(100% - 40px), var(--ev-container));
}

::selection {
  background: var(--ev-yellow);
  color: #111;
}

:where(a, button, input, select, textarea, summary):focus-visible {
  outline: 3px solid var(--ev-yellow);
  outline-offset: 3px;
}

:where(input, select, textarea) {
  accent-color: var(--ev-yellow-strong);
}

:where(input, select, textarea)::placeholder {
  color: var(--ev-text-faint);
  opacity: 1;
}

:where(input, select, textarea):disabled {
  cursor: not-allowed;
  opacity: 0.65;
}

[hidden] {
  display: none !important;
}

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

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

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

.section,
.section-light,
.products-home-section,
.company-proof-section,
.needs-gateway-section,
.shop-results-section {
  background: var(--ev-bg-elevated);
  color: var(--ev-text);
}

.section-light,
.shop-results-section {
  background: var(--ev-bg);
}

.section-dark {
  background: var(--ev-bg-strong);
  color: #f7f8f5;
}

.section-heading h2,
.gateway-heading h2,
.quick-request-copy h2,
.proof-copy h2,
.smart-glass-copy h2,
.final-choice-copy h2 {
  color: inherit;
  letter-spacing: -0.025em;
}

.section-heading > p,
.gateway-heading > p {
  max-width: 650px;
}

.eyebrow {
  min-height: 26px;
  letter-spacing: 0.08em;
}

html[dir="rtl"] .eyebrow {
  letter-spacing: 0;
}

.btn {
  min-height: 48px;
  border-radius: 999px;
  line-height: 1.2;
  isolation: isolate;
}

.btn-primary {
  background: var(--ev-yellow);
  color: #101213;
  border-color: var(--ev-yellow);
  box-shadow: 0 12px 34px rgba(244, 215, 25, 0.18);
}

.btn-primary:hover {
  background: #ffe94e;
  border-color: #ffe94e;
}

.btn-dark {
  background: var(--ev-bg-strong);
  color: #fff;
  border-color: var(--ev-bg-strong);
}

.btn-outline-dark {
  color: var(--ev-text);
  border-color: var(--ev-line-strong);
}

.btn-outline-dark:hover {
  background: var(--ev-text);
  color: var(--ev-bg-elevated);
}

.text-link {
  color: var(--ev-text);
}

/* 03. Top bar, official logo and primary navigation
   ========================================================================== */
.topbar {
  background: #050607;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.topbar-inner {
  min-height: 38px;
}

.topbar-contact a,
.topbar-links a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 32px;
}

.topbar-contact svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
}

.site-header {
  top: 0;
  background: color-mix(in srgb, var(--ev-bg-elevated) 94%, transparent);
  border-bottom: 1px solid var(--ev-line);
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.04);
  backdrop-filter: blur(18px) saturate(135%);
}

html[data-theme="dark"] .site-header {
  background: rgba(9, 11, 12, 0.94);
}

.header-inner {
  min-height: var(--ev-header-height);
  gap: clamp(12px, 2vw, 28px);
}

.brand {
  min-width: 0;
  flex: 0 0 auto;
  background: #fff;
  border: 1px solid rgba(10, 14, 16, 0.1);
  border-radius: 14px;
  padding: 5px 10px;
  box-shadow: 0 7px 22px rgba(0, 0, 0, 0.08);
  line-height: 0;
}

.main-site-logo {
  display: block;
  width: clamp(178px, 14vw, 226px);
  height: auto;
  max-height: 60px;
  object-fit: contain;
}

.footer-site-logo,
.auth-site-logo {
  display: block;
  width: min(100%, 290px);
  height: auto;
  object-fit: contain;
}

.brand-footer {
  width: fit-content;
  max-width: 100%;
  padding: 8px 12px;
}

.main-nav {
  min-width: 0;
  gap: 2px;
}

.main-nav > a,
.nav-more > summary {
  color: var(--ev-text);
  font-size: 0.86rem;
  font-weight: 780;
  padding: 11px 9px;
  border-radius: 10px;
  transition:
    color var(--ev-transition),
    background-color var(--ev-transition);
}

.main-nav > a:hover,
.main-nav > a.active,
.nav-more[data-active="true"] > summary,
.nav-more > summary:hover {
  color: #151300;
  background: var(--ev-yellow);
}

.nav-more {
  position: relative;
}

.nav-more > summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
}

.nav-more > summary::-webkit-details-marker {
  display: none;
}

.nav-more > summary::after {
  content: "⌄";
  font-size: 0.8rem;
}

.nav-more[open] > summary::after {
  transform: rotate(180deg);
}

.nav-more-menu {
  position: absolute;
  top: calc(100% + 11px);
  inset-inline-end: 0;
  z-index: 30;
  width: 225px;
  padding: 9px;
  border-radius: 15px;
  border: 1px solid var(--ev-line);
  background: var(--ev-bg-elevated);
  box-shadow: var(--ev-shadow-md);
}

.nav-more-menu a {
  display: block;
  color: var(--ev-text);
  border-radius: 9px;
  padding: 10px 11px;
}

.nav-more-menu a:hover {
  background: var(--ev-yellow-soft);
  color: var(--ev-text);
}

.header-actions {
  flex: 0 0 auto;
}

.icon-button,
.quote-list-button,
.cart-button {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  color: var(--ev-text);
  border-color: var(--ev-line-strong);
  background: var(--ev-surface-soft);
}

.icon-button svg,
.quote-list-button svg,
.cart-button svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.icon-button:hover,
.quote-list-button:hover,
.cart-button:hover {
  color: #111;
  background: var(--ev-yellow);
  border-color: var(--ev-yellow);
}

.quote-list-button b,
.cart-button b {
  border-color: var(--ev-bg-elevated);
}

.theme-toggle .theme-sun {
  transition: transform 240ms ease;
}

html[data-theme="dark"] .theme-toggle .theme-sun {
  transform: rotate(35deg);
}

.header-quote {
  white-space: nowrap;
}

.search-panel {
  background: var(--ev-bg-elevated);
  border-top-color: var(--ev-line);
  box-shadow: 0 20px 42px rgba(0, 0, 0, 0.12);
}

.search-form input,
.hero-search input {
  background: var(--ev-surface-soft);
  color: var(--ev-text);
  border-color: var(--ev-line-strong);
}

.search-form input:focus,
.hero-search input:focus {
  border-color: var(--ev-yellow-strong);
  box-shadow: 0 0 0 4px rgba(244, 215, 25, 0.14);
}

.mobile-action-dock {
  display: none;
}

.floating-whatsapp {
  width: 58px;
  min-width: 58px;
  height: 58px;
  padding: 0;
  justify-content: center;
  border: 3px solid rgba(255, 255, 255, 0.9);
}

.floating-whatsapp svg {
  width: 30px;
  height: 30px;
  fill: currentColor;
}

/* 04. Decision-first homepage hero
   ========================================================================== */
.decision-hero {
  position: relative;
  min-height: clamp(650px, 78vh, 840px);
  overflow: hidden;
  background: #060809;
  color: #fff;
  isolation: isolate;
}

.decision-hero::before {
  content: "";
  position: absolute;
  inset: auto -10% -42% auto;
  width: 660px;
  height: 660px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(244, 215, 25, 0.18),
    transparent 67%
  );
  z-index: -1;
}

.decision-hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-size: cover;
  background-position: center;
  transform: scale(1.015);
}

.decision-hero-layout {
  min-height: inherit;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(360px, 0.65fr);
  align-items: center;
  gap: clamp(36px, 6vw, 90px);
  padding-block: 78px;
}

.decision-copy {
  max-width: 780px;
}

.decision-copy h1 {
  max-width: 780px;
  margin-bottom: 22px;
  color: #fff;
  font-size: clamp(2.65rem, 5.5vw, 5.8rem);
  letter-spacing: -0.045em;
  text-wrap: balance;
}

html[dir="rtl"] .decision-copy h1 {
  letter-spacing: 0;
}

.decision-copy > p {
  max-width: 710px;
  margin-bottom: 0;
  color: #d7dfe1;
  font-size: clamp(1.02rem, 1.45vw, 1.25rem);
}

.decision-copy .hero-actions {
  margin-top: 30px;
}

.hero-trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
  margin-top: 30px;
}

.hero-trust-row > span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 42px;
  padding: 7px 13px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: #e5eaec;
  backdrop-filter: blur(8px);
  font-size: 0.82rem;
}

.hero-trust-row b {
  color: var(--ev-yellow);
  font-size: 0.74rem;
}

.hero-decision-panel {
  padding: clamp(24px, 3vw, 36px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--ev-radius-xl);
  background: linear-gradient(
    145deg,
    rgba(17, 21, 22, 0.9),
    rgba(5, 7, 8, 0.76)
  );
  box-shadow: var(--ev-shadow-lg);
  backdrop-filter: blur(18px);
}

.decision-panel-head > span {
  color: var(--ev-yellow);
  font-weight: 900;
  font-size: 0.78rem;
  text-transform: uppercase;
}

.decision-panel-head h2 {
  margin: 9px 0 10px;
  color: #fff;
  font-size: clamp(1.65rem, 2.8vw, 2.35rem);
}

.decision-panel-head p {
  color: #bbc4c7;
  margin-bottom: 22px;
}

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

.decision-actions-grid a {
  min-height: 142px;
  padding: 17px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.055);
  transition:
    transform var(--ev-transition),
    border-color var(--ev-transition),
    background-color var(--ev-transition);
}

.decision-actions-grid a:hover {
  transform: translateY(-4px);
  border-color: var(--ev-yellow);
  background: rgba(244, 215, 25, 0.1);
}

.decision-actions-grid a > span {
  width: 38px;
  height: 38px;
  margin-bottom: auto;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: var(--ev-yellow);
  color: #111;
  font-size: 1.15rem;
}

.decision-actions-grid b {
  color: #fff;
  font-size: 0.98rem;
}

.decision-actions-grid small {
  margin-top: 3px;
  color: #aab4b8;
}

/* 05. Service gateways
   ========================================================================== */
.needs-gateway-section {
  padding: clamp(74px, 8vw, 118px) 0;
}

.gateway-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.65fr);
  align-items: end;
  gap: 36px;
  margin-bottom: 36px;
}

.gateway-heading h2 {
  max-width: 780px;
  margin-bottom: 0;
}

.gateway-heading > p {
  margin-bottom: 6px;
}

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

.gateway-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--ev-line);
  border-radius: var(--ev-radius-md);
  background: var(--ev-surface);
  box-shadow: var(--ev-shadow-xs);
  transition:
    transform 240ms ease,
    box-shadow 240ms ease,
    border-color 240ms ease;
}

.gateway-card:hover {
  transform: translateY(-7px);
  border-color: rgba(232, 201, 0, 0.7);
  box-shadow: var(--ev-shadow-md);
}

.gateway-visual {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9.5;
  overflow: hidden;
  background: #161a1c;
}

.gateway-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(3, 5, 6, 0.4));
}

.gateway-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
}

.gateway-card:hover .gateway-visual img {
  transform: scale(1.055);
}

.gateway-icon {
  position: absolute;
  z-index: 1;
  inset-inline-end: 14px;
  bottom: 14px;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: var(--ev-yellow);
  color: #111;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
}

.gateway-content {
  padding: 20px;
}

.gateway-content > small {
  color: var(--ev-green-dark);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.gateway-content h3 {
  margin: 7px 0 8px;
  color: var(--ev-text);
  font-size: 1.22rem;
}

.gateway-content p {
  min-height: 54px;
  margin-bottom: 16px;
  font-size: 0.91rem;
}

.gateway-links {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 13px;
  border-top: 1px solid var(--ev-line);
}

.gateway-links a {
  font-weight: 850;
  font-size: 0.84rem;
}

.gateway-links a:last-child {
  color: var(--ev-green-dark);
}

.gateway-more-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-top: 30px;
}

/* 06. Quick request and progressive disclosure forms
   ========================================================================== */
.quick-request-section {
  position: relative;
  overflow: hidden;
  padding: clamp(74px, 8vw, 112px) 0;
  background: var(--ev-bg-strong);
  color: #fff;
}

.quick-request-section::before {
  content: "";
  position: absolute;
  inset: -35% auto auto -12%;
  width: 580px;
  height: 580px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(19, 168, 95, 0.18), transparent 65%);
}

.quick-request-layout {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(460px, 1fr);
  align-items: center;
  gap: clamp(40px, 7vw, 100px);
}

.quick-request-copy h2 {
  color: #fff;
}

.quick-request-copy > p {
  color: #b7c0c4;
  font-size: 1.04rem;
}

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

.compact-benefits li {
  position: relative;
  padding-inline-start: 33px;
  color: #edf1f2;
}

.compact-benefits li::before {
  content: "✓";
  position: absolute;
  inset-inline-start: 0;
  top: 2px;
  width: 23px;
  height: 23px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--ev-yellow);
  color: #111;
  font-weight: 900;
}

.quick-request-card,
.modern-request-form,
.form-card,
.checkout-form,
.tracking-form {
  border: 1px solid var(--ev-line);
  border-radius: var(--ev-radius-lg);
  background: var(--ev-surface);
  color: var(--ev-text);
  box-shadow: var(--ev-shadow-md);
}

.quick-request-card {
  padding: clamp(22px, 3vw, 34px);
}

.request-type-switcher,
.request-type-cards {
  border: 0;
  padding: 0;
  margin: 0 0 22px;
}

.request-type-switcher legend,
.request-type-cards legend {
  width: 100%;
  margin-bottom: 10px;
  color: var(--ev-text);
  font-weight: 900;
}

.request-type-switcher {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.request-type-switcher legend {
  grid-column: 1 / -1;
}

.request-type-switcher label,
.request-type-cards label {
  cursor: pointer;
}

.request-type-switcher input,
.request-type-cards input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.request-type-switcher span {
  min-height: 45px;
  display: grid;
  place-items: center;
  padding: 8px;
  border: 1px solid var(--ev-line-strong);
  border-radius: 11px;
  background: var(--ev-surface-soft);
  color: var(--ev-text-muted);
  text-align: center;
  font-size: 0.78rem;
  font-weight: 850;
}

.request-type-switcher input:checked + span,
.request-type-switcher input:focus-visible + span {
  border-color: var(--ev-yellow-strong);
  background: var(--ev-yellow-soft);
  color: var(--ev-text);
  box-shadow: 0 0 0 3px rgba(244, 215, 25, 0.13);
}

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

.quick-form-grid label,
.form-grid label,
.modern-request-form label,
.checkout-form label,
.tracking-form label {
  display: grid;
  align-content: start;
  gap: 7px;
  color: var(--ev-text);
  font-size: 0.86rem;
  font-weight: 790;
}

.quick-form-grid label.full,
.form-grid label.full {
  grid-column: 1 / -1;
}

.quick-form-grid label small,
.modern-request-form label small {
  color: var(--ev-text-faint);
  font-weight: 600;
}

.quick-form-grid :where(input, select, textarea),
.modern-request-form :where(input, select, textarea),
.checkout-form :where(input, select, textarea),
.tracking-form :where(input, select, textarea),
.form-card :where(input, select, textarea),
.contact-form-layout :where(input, select, textarea) {
  width: 100%;
  min-height: 49px;
  border: 1px solid var(--ev-line-strong);
  border-radius: 11px;
  background: var(--ev-surface-soft);
  color: var(--ev-text);
  padding: 11px 13px;
  outline: none;
  transition:
    border-color var(--ev-transition),
    box-shadow var(--ev-transition),
    background-color var(--ev-transition);
}

.quick-form-grid textarea,
.modern-request-form textarea,
.checkout-form textarea,
.form-card textarea,
.contact-form-layout textarea {
  min-height: 108px;
  resize: vertical;
}

.quick-form-grid :where(input, select, textarea):focus,
.modern-request-form :where(input, select, textarea):focus,
.checkout-form :where(input, select, textarea):focus,
.tracking-form :where(input, select, textarea):focus,
.form-card :where(input, select, textarea):focus,
.contact-form-layout :where(input, select, textarea):focus {
  border-color: var(--ev-yellow-strong);
  box-shadow: 0 0 0 4px rgba(244, 215, 25, 0.13);
  background: var(--ev-surface);
}

.quick-form-details {
  margin-top: 14px;
  border: 1px solid var(--ev-line);
  border-radius: 13px;
  background: var(--ev-surface-soft);
}

.quick-form-details summary,
.optional-details summary {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  cursor: pointer;
  color: var(--ev-text);
  font-weight: 850;
}

.quick-form-details summary::after,
.optional-details summary::after {
  content: "+";
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--ev-yellow);
  color: #111;
}

.quick-form-details[open] summary::after,
.optional-details[open] summary::after {
  content: "−";
}

.quick-form-details > div,
.optional-details-body {
  padding: 0 14px 14px;
}

/* 07. Store/category journey
   ========================================================================== */
.shop-gateway-section,
.shop-category-gateway {
  padding: 48px 0 32px;
  background: var(--ev-bg-elevated);
}

.category-rail,
.shop-category-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(180px, 218px);
  gap: 13px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: inline mandatory;
  scrollbar-width: thin;
  padding: 5px 3px 15px;
}

.category-rail-card {
  scroll-snap-align: start;
  overflow: hidden;
  border: 1px solid var(--ev-line);
  border-radius: 16px;
  background: var(--ev-surface);
  box-shadow: var(--ev-shadow-xs);
  transition:
    transform var(--ev-transition),
    border-color var(--ev-transition),
    box-shadow var(--ev-transition);
}

.category-rail-card:hover,
.category-rail-card.active {
  transform: translateY(-4px);
  border-color: var(--ev-yellow-strong);
  box-shadow: var(--ev-shadow-sm);
}

.category-rail-image {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--ev-bg-subtle);
}

.category-rail-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 420ms ease;
}

.category-rail-card:hover img {
  transform: scale(1.05);
}

.category-rail-card > div,
.category-rail-card > span {
  padding: 13px 14px;
}

.category-rail-card h3,
.category-rail-card strong {
  display: block;
  margin: 0;
  color: var(--ev-text);
  font-size: 0.96rem;
}

.category-rail-card small {
  color: var(--ev-text-faint);
}

.rail-actions {
  display: flex;
  gap: 8px;
}

.rail-actions button {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--ev-line-strong);
  border-radius: 50%;
  background: var(--ev-surface);
  color: var(--ev-text);
}

.rail-actions button:hover {
  background: var(--ev-yellow);
  border-color: var(--ev-yellow);
  color: #111;
}

.shop-hero {
  position: relative;
  min-height: 510px;
  overflow: hidden;
  display: grid;
  align-items: center;
  color: #fff;
  background: #07090a;
}

.shop-hero-media {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.shop-hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(4, 6, 7, 0.95),
    rgba(4, 6, 7, 0.72) 55%,
    rgba(4, 6, 7, 0.28)
  );
}

.shop-hero-content {
  position: relative;
  z-index: 1;
  max-width: 770px;
  padding-block: 72px;
}

.shop-hero-content h1 {
  color: #fff;
  font-size: clamp(2.55rem, 5vw, 5rem);
}

.shop-hero-content > p {
  color: #d4dcdf;
  font-size: 1.08rem;
}

.shop-hero-search {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  max-width: 690px;
  margin-top: 24px;
}

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

.shop-filters {
  top: 104px;
  overflow: hidden;
  border: 1px solid var(--ev-line);
  border-radius: var(--ev-radius-md);
  background: var(--ev-surface);
  box-shadow: var(--ev-shadow-xs);
}

.shop-filters form {
  padding: 20px;
}

.shop-filters label {
  color: var(--ev-text);
}

.shop-filters :where(input, select) {
  background: var(--ev-surface-soft);
  color: var(--ev-text);
  border-color: var(--ev-line-strong);
}

.mobile-filter-button {
  display: none;
}

.results-toolbar {
  color: var(--ev-text);
}

.shop-product-grid,
.home-product-grid,
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.home-product-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.product-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: var(--ev-surface);
  border-color: var(--ev-line);
  box-shadow: var(--ev-shadow-xs);
}

.product-card:hover {
  border-color: rgba(232, 201, 0, 0.6);
  box-shadow: var(--ev-shadow-md);
}

.product-image {
  background: var(--ev-bg-subtle);
}

.product-image img {
  aspect-ratio: 1 / 0.78;
}

.product-body {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-body h2,
.product-body h3 {
  color: var(--ev-text);
}

.product-card-footer {
  margin-top: auto;
  display: grid;
  gap: 12px;
}

.product-price,
.price-stack {
  color: var(--ev-text);
  font-weight: 900;
}

.product-actions {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
}

.product-actions .btn {
  min-width: 0;
}

.availability-pill,
.stock-badge,
.product-type {
  backdrop-filter: blur(8px);
}

/* 08. Smart glass featured solution
   ========================================================================== */
.smart-glass-spotlight {
  padding: clamp(76px, 8vw, 114px) 0;
  background: linear-gradient(135deg, #0a0d0e, #141b1e);
  color: #fff;
}

.smart-glass-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(350px, 0.75fr);
  gap: clamp(40px, 7vw, 90px);
  align-items: center;
}

.smart-glass-media {
  position: relative;
  overflow: hidden;
  min-height: 470px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--ev-radius-xl);
  box-shadow: var(--ev-shadow-lg);
}

.smart-glass-media img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
}

.smart-glass-media::after {
  content: "PDLC";
  position: absolute;
  inset-inline-end: 18px;
  bottom: 18px;
  padding: 9px 14px;
  border-radius: 999px;
  background: var(--ev-yellow);
  color: #111;
  font-weight: 950;
  letter-spacing: 0.08em;
}

.smart-glass-copy h2 {
  color: #fff;
}

.smart-glass-copy > p {
  color: #c1c9cc;
  font-size: 1.05rem;
}

.smart-glass-copy .feature-list > div {
  color: #eff3f4;
}

.smart-glass-copy .feature-list span {
  background: rgba(244, 215, 25, 0.15);
  color: var(--ev-yellow);
}

/* 09. Projects, products, news and proof
   ========================================================================== */
.enterprise-project-grid,
.project-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.project-card,
.news-card,
.media-card,
.value-card,
.workflow-card,
.spec-card,
.contact-card,
.request-side-card {
  background: var(--ev-surface);
  border-color: var(--ev-line);
  color: var(--ev-text);
  box-shadow: var(--ev-shadow-xs);
}

.project-meta h2,
.project-meta h3,
.news-body h2,
.news-body h3,
.card-body h2,
.card-body h3 {
  color: var(--ev-text);
}

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

.news-card {
  height: 100%;
}

.news-card > a img,
.news-image img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.news-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  color: var(--ev-text-faint);
  font-size: 0.78rem;
}

.company-proof-section {
  padding: clamp(76px, 8vw, 114px) 0;
}

.company-proof-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(420px, 1.1fr);
  align-items: center;
  gap: clamp(40px, 7vw, 100px);
}

.proof-copy > p {
  max-width: 620px;
}

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

.proof-metrics > div {
  padding: 18px;
  border: 1px solid var(--ev-line);
  border-radius: 15px;
  background: var(--ev-surface-soft);
}

.proof-metrics strong {
  display: block;
  color: var(--ev-text);
  font-size: 1.7rem;
}

.proof-metrics span {
  color: var(--ev-text-muted);
  font-size: 0.82rem;
}

.proof-image {
  position: relative;
  min-height: 510px;
}

.proof-image img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  border-radius: var(--ev-radius-xl);
  box-shadow: var(--ev-shadow-md);
}

.final-choice-cta {
  padding: 74px 0;
  background: var(--ev-yellow);
  color: #111;
}

.final-choice-layout {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 42px;
}

.final-choice-copy h2 {
  max-width: 820px;
  margin-bottom: 10px;
}

.final-choice-copy p {
  max-width: 760px;
  margin-bottom: 0;
  color: #4f4914;
}

.final-choice-actions {
  min-width: 245px;
  display: grid;
  gap: 9px;
}

/* 10. Dedicated request page
   ========================================================================== */
.request-page-hero {
  position: relative;
  min-height: 420px;
  display: grid;
  align-items: center;
  overflow: hidden;
  background: #07090a;
  color: #fff;
}

.request-page-media {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.request-page-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(3, 5, 6, 0.96),
    rgba(3, 5, 6, 0.69),
    rgba(3, 5, 6, 0.35)
  );
}

.request-page-hero-content {
  position: relative;
  z-index: 1;
  max-width: 820px;
  padding-block: 70px;
}

.request-page-hero-content h1 {
  color: #fff;
  font-size: clamp(2.45rem, 5vw, 5rem);
}

.request-page-hero-content > p {
  max-width: 720px;
  color: #d0d8da;
  font-size: 1.06rem;
}

.request-hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 20px;
}

.request-hero-badges span {
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: #e6ebed;
  font-size: 0.8rem;
}

.request-form-section {
  padding: clamp(68px, 7vw, 105px) 0;
  background: var(--ev-bg);
}

.request-form-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.55fr);
  align-items: start;
  gap: 28px;
}

.modern-request-form {
  padding: clamp(22px, 3vw, 36px);
}

.request-form-heading {
  padding-bottom: 22px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--ev-line);
}

.request-form-heading h2 {
  color: var(--ev-text);
  margin-bottom: 8px;
}

.request-type-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.request-type-cards legend {
  grid-column: 1 / -1;
}

.request-type-cards label > span {
  min-height: 100px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  padding: 15px;
  border: 1px solid var(--ev-line-strong);
  border-radius: 14px;
  background: var(--ev-surface-soft);
  color: var(--ev-text);
}

.request-type-cards label > span b {
  font-size: 0.92rem;
}

.request-type-cards label > span small {
  color: var(--ev-text-faint);
}

.request-type-cards input:checked + span,
.request-type-cards input:focus-visible + span {
  border-color: var(--ev-yellow-strong);
  background: var(--ev-yellow-soft);
  box-shadow: 0 0 0 3px rgba(244, 215, 25, 0.13);
}

.form-section-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 26px 0 15px;
  color: var(--ev-text);
  font-size: 1.02rem;
}

.form-step-badge {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: var(--ev-yellow);
  color: #111;
  font-size: 0.78rem;
  font-weight: 950;
}

.optional-details {
  margin-top: 19px;
  border: 1px solid var(--ev-line);
  border-radius: 15px;
  background: var(--ev-surface-soft);
}

.file-drop {
  background: var(--ev-surface-soft);
  border-color: var(--ev-line-strong);
}

.request-submit-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid var(--ev-line);
}

.terms-check {
  display: flex !important;
  grid-template-columns: auto 1fr;
  flex-direction: row !important;
  align-items: flex-start !important;
  gap: 9px !important;
  font-size: 0.79rem !important;
  font-weight: 650 !important;
}

.terms-check input {
  width: 19px !important;
  min-height: 19px !important;
  flex: 0 0 auto;
}

.request-side-panel {
  display: grid;
  gap: 16px;
  position: sticky;
  top: 106px;
}

.request-side-card {
  padding: 22px;
  border-radius: 18px;
}

.request-side-card h3 {
  color: var(--ev-text);
}

.request-side-card ul {
  margin: 0;
  padding-inline-start: 20px;
  color: var(--ev-text-muted);
}

.request-contact-card {
  background: var(--ev-bg-strong);
  color: #fff;
}

.request-contact-card h3 {
  color: #fff;
}

.request-contact-card p {
  color: #b8c1c4;
}

/* 11. Cart, checkout, quote basket and tracking
   ========================================================================== */
.cart-layout,
.checkout-layout,
.quote-basket-layout,
.tracking-layout {
  gap: 26px;
}

.cart-table-card,
.checkout-summary,
.order-summary,
.quote-basket-card,
.tracking-summary-card,
.tracking-meta-grid,
.tracking-items-card,
.tracking-timeline-card,
.tracking-help-card {
  background: var(--ev-surface);
  border-color: var(--ev-line);
  color: var(--ev-text);
  box-shadow: var(--ev-shadow-xs);
}

.cart-table-card,
.checkout-summary,
.order-summary {
  border-radius: var(--ev-radius-md);
}

.cart-row {
  border-color: var(--ev-line);
}

.cart-product h3,
.checkout-item h3,
.tracking-items-card h3,
.tracking-timeline-card h3 {
  color: var(--ev-text);
}

.cart-product img,
.checkout-item img {
  background: var(--ev-bg-subtle);
}

.remove-cart-button {
  color: var(--ev-danger);
}

.order-summary,
.checkout-summary,
.sticky-side {
  top: 104px;
}

.order-summary dl > div,
.checkout-summary dl > div {
  border-color: var(--ev-line);
}

.summary-total {
  color: var(--ev-text);
}

.quote-basket-list article {
  background: var(--ev-surface-soft);
  border-color: var(--ev-line);
}

.tracking-form input {
  background: var(--ev-surface-soft);
  color: var(--ev-text);
  border-color: var(--ev-line-strong);
}

.tracking-status {
  background: var(--ev-bg-strong);
}

.tracking-meta-grid > div,
.tracking-item-row,
.tracking-timeline-card,
.quote-basket-actions {
  border-color: var(--ev-line);
}

.reference-box {
  overflow-wrap: anywhere;
}

/* 12. Internal content and detail pages
   ========================================================================== */
.page-hero,
.detail-hero,
.article-hero,
.project-detail-hero {
  isolation: isolate;
}

.page-hero-content,
.detail-hero-content {
  padding-inline: 0;
}

.detail-layout,
.article-layout,
.product-detail-v2,
.project-story-grid,
.contact-grid,
.contact-form-layout {
  align-items: start;
}

.prose-card,
.prose-content,
.legal-card,
.product-information,
.product-detail-section,
.article-content {
  background: var(--ev-surface);
  color: var(--ev-text);
  border-color: var(--ev-line);
}

.prose-card h2,
.prose-card h3,
.prose-content h2,
.prose-content h3,
.article-content h2,
.article-content h3,
.product-information h1,
.product-information h2,
.product-information h3 {
  color: var(--ev-text);
}

.spec-list > div,
.project-facts > div,
.tracking-meta-grid > div {
  background: transparent;
}

.gallery-main,
.gallery-thumbs button,
.gallery-tile,
.video-tile {
  background: var(--ev-bg-subtle);
  border-color: var(--ev-line);
}

.public-filter-panel {
  background: var(--ev-surface);
  border-color: var(--ev-line);
  box-shadow: var(--ev-shadow-xs);
}

.public-filter-panel input,
.public-filter-panel select {
  background: var(--ev-surface-soft);
  color: var(--ev-text);
  border-color: var(--ev-line-strong);
}

.category-tabs a,
.filter-chips button,
.filter-chips a {
  background: var(--ev-surface);
  color: var(--ev-text);
  border-color: var(--ev-line-strong);
}

.category-tabs a.active,
.filter-chips .active {
  background: var(--ev-bg-strong);
  color: #fff;
  border-color: var(--ev-bg-strong);
}

.public-staff-card,
.logo-card,
.partner-page-grid > article,
.client-logo-grid > article {
  background: var(--ev-surface);
  border-color: var(--ev-line);
  color: var(--ev-text);
}

/* 13. Footer
   ========================================================================== */
.site-footer {
  background: #07090a;
}

.footer-brand .brand {
  background: #fff;
}

.footer-brand p {
  color: #aab4b8;
}

.footer-list {
  color: #bdc5c8;
}

.footer-list a {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
}

.footer-bottom-inner {
  color: #8f999d;
}

/* 14. Empty, success, validation and status states
   ========================================================================== */
.empty-state,
.success-panel,
.inline-alert,
.notify-box {
  background: var(--ev-surface);
  color: var(--ev-text);
  border-color: var(--ev-line);
}

.empty-state p,
.success-panel p {
  color: var(--ev-text-muted);
}

.field-error {
  color: var(--ev-danger);
  font-size: 0.75rem;
}

.flash {
  top: 128px;
  transition:
    opacity 220ms ease,
    transform 220ms ease;
}

.flash-timeout {
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
}

/* 15. Responsive: large laptops and compact navigation
   ========================================================================== */
@media (max-width: 1240px) {
  .main-site-logo {
    width: 184px;
  }

  .main-nav > a,
  .nav-more > summary {
    padding-inline: 7px;
    font-size: 0.82rem;
  }

  .header-quote {
    display: none;
  }

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

@media (max-width: 1080px) {
  :root {
    --ev-header-height: 70px;
  }

  .topbar-contact a span {
    display: none;
  }

  .menu-toggle {
    display: block;
    order: 3;
    width: 44px;
    height: 44px;
    border: 1px solid var(--ev-line-strong);
    border-radius: 12px;
  }

  .menu-toggle > span:not(.sr-only) {
    background: var(--ev-text);
    margin-inline: auto;
    transition:
      transform 180ms ease,
      opacity 180ms ease;
  }

  .menu-toggle.open > span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .menu-toggle.open > span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.open > span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .main-nav {
    position: fixed;
    top: calc(38px + var(--ev-header-height));
    inset-inline: 0;
    z-index: 80;
    max-height: calc(100vh - 108px);
    overflow-y: auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 4px;
    padding: 18px 20px 28px;
    background: var(--ev-bg-elevated);
    border-bottom: 1px solid var(--ev-line);
    box-shadow: var(--ev-shadow-lg);
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav > a,
  .nav-more > summary {
    width: 100%;
    min-height: 48px;
    display: flex;
    align-items: center;
    padding: 11px 13px;
    font-size: 0.96rem;
  }

  .nav-more-menu {
    position: static;
    width: 100%;
    margin-top: 5px;
    box-shadow: none;
    background: var(--ev-surface-soft);
  }

  .decision-hero-layout,
  .quick-request-layout,
  .smart-glass-layout,
  .company-proof-layout,
  .request-form-layout {
    grid-template-columns: 1fr;
  }

  .decision-hero-layout {
    padding-block: 68px;
  }

  .decision-copy {
    max-width: 860px;
  }

  .hero-decision-panel {
    max-width: 760px;
  }

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

  .quick-request-copy {
    max-width: 760px;
  }

  .request-side-panel {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

/* 16. Responsive: tablet
   ========================================================================== */
@media (max-width: 820px) {
  html {
    scroll-padding-top: 88px;
  }

  .container {
    width: min(calc(100% - 28px), var(--ev-container));
  }

  .topbar {
    display: none;
  }

  .site-header {
    top: 0;
  }

  .header-inner {
    gap: 8px;
  }

  .main-nav {
    top: var(--ev-header-height);
    max-height: calc(100vh - var(--ev-header-height));
  }

  .main-site-logo {
    width: 168px;
    max-height: 50px;
  }

  .header-actions .theme-toggle,
  .header-actions .install-app-button,
  .header-actions .quote-list-button {
    display: none;
  }

  .decision-hero {
    min-height: auto;
  }

  .decision-hero-layout {
    padding-block: 60px 72px;
  }

  .decision-copy h1 {
    font-size: clamp(2.35rem, 10vw, 4.4rem);
  }

  .gateway-heading {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .gateway-grid {
    gap: 14px;
  }

  .quick-request-layout {
    gap: 34px;
  }

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

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

  .enterprise-project-grid,
  .project-grid,
  .compact-news-grid {
    grid-template-columns: 1fr;
  }

  .final-choice-layout {
    align-items: flex-start;
    flex-direction: column;
  }

  .final-choice-actions {
    width: 100%;
  }

  .proof-image,
  .smart-glass-media {
    min-height: 390px;
  }

  .request-side-panel {
    grid-template-columns: 1fr;
  }

  .mobile-filter-button {
    display: inline-flex;
    margin-bottom: 14px;
  }

  .shop-filters {
    display: none;
  }

  .shop-filters.open {
    display: block;
  }

  .mobile-action-dock {
    position: fixed;
    inset-inline: 10px;
    bottom: max(10px, env(safe-area-inset-bottom));
    z-index: 95;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 18px;
    background: rgba(9, 11, 12, 0.94);
    box-shadow: 0 18px 55px rgba(0, 0, 0, 0.32);
    backdrop-filter: blur(16px);
  }

  .mobile-action-dock a {
    position: relative;
    min-height: 58px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    color: #dce2e4;
    font-size: 0.68rem;
    font-weight: 780;
  }

  .mobile-action-dock a.primary {
    background: var(--ev-yellow);
    color: #111;
  }

  .mobile-action-dock svg {
    width: 21px;
    height: 21px;
    fill: currentColor;
  }

  .mobile-action-dock b {
    position: absolute;
    top: 5px;
    inset-inline-end: 20%;
    min-width: 18px;
    height: 18px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--ev-yellow);
    color: #111;
    font-size: 0.65rem;
  }

  body.site-body {
    padding-bottom: 82px;
  }

  .floating-whatsapp {
    bottom: 88px;
    inset-inline-end: 14px;
    width: 52px;
    min-width: 52px;
    height: 52px;
  }

  .site-footer {
    padding-bottom: 12px;
  }

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

/* 17. Responsive: phones
   ========================================================================== */
@media (max-width: 640px) {
  :root {
    --ev-radius-lg: 21px;
    --ev-radius-xl: 24px;
  }

  body {
    font-size: 15px;
  }

  .container {
    width: min(calc(100% - 22px), var(--ev-container));
  }

  .section,
  .needs-gateway-section,
  .quick-request-section,
  .company-proof-section,
  .smart-glass-spotlight,
  .request-form-section {
    padding-block: 66px;
  }

  .main-site-logo {
    width: 142px;
    max-height: 44px;
  }

  .brand {
    padding: 4px 7px;
    border-radius: 11px;
  }

  .header-actions {
    gap: 4px;
  }

  .header-actions .icon-button,
  .header-actions .cart-button {
    width: 37px;
    height: 37px;
  }

  .header-actions .search-panel {
    display: none;
  }

  .decision-hero-layout {
    padding-block: 50px 62px;
  }

  .decision-copy h1 {
    font-size: clamp(2.2rem, 13vw, 3.7rem);
    line-height: 1.12;
  }

  .decision-copy > p {
    font-size: 0.98rem;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

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

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

  .hero-trust-row > span {
    width: 100%;
  }

  .hero-decision-panel {
    padding: 19px;
    border-radius: 22px;
  }

  .decision-actions-grid {
    grid-template-columns: 1fr;
  }

  .decision-actions-grid a {
    min-height: 96px;
    display: grid;
    grid-template-columns: 42px 1fr;
    grid-template-rows: auto auto;
    align-items: center;
    justify-content: initial;
    column-gap: 11px;
  }

  .decision-actions-grid a > span {
    grid-row: 1 / 3;
    margin: 0;
  }

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

  .gateway-content p {
    min-height: 0;
  }

  .gateway-more-row {
    align-items: stretch;
    flex-direction: column;
  }

  .gateway-more-row .btn,
  .gateway-more-row .text-link {
    width: 100%;
    justify-content: center;
  }

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

  .quick-form-grid label.full,
  .form-grid label.full {
    grid-column: auto;
  }

  .request-type-cards {
    grid-template-columns: 1fr;
  }

  .request-type-cards label > span {
    min-height: 72px;
  }

  .request-submit-row {
    align-items: stretch;
    flex-direction: column;
  }

  .request-submit-row .btn {
    width: 100%;
  }

  .shop-hero {
    min-height: 450px;
  }

  .shop-hero-search {
    grid-template-columns: 1fr;
  }

  .category-rail,
  .shop-category-rail {
    grid-auto-columns: minmax(155px, 72vw);
  }

  .shop-product-grid,
  .home-product-grid,
  .product-grid {
    grid-template-columns: 1fr;
  }

  .product-actions {
    grid-template-columns: 1fr;
  }

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

  .proof-metrics {
    grid-template-columns: 1fr;
  }

  .proof-image,
  .smart-glass-media {
    min-height: 290px;
  }

  .cart-row,
  .tracking-item-row {
    grid-template-columns: 1fr;
  }

  .cart-product,
  .tracking-item-row > b {
    grid-column: auto;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 34px;
    padding-top: 54px;
  }

  .footer-bottom-inner {
    min-height: 90px;
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
    padding-block: 16px;
  }

  .flash {
    top: 82px;
    inset-inline: 11px;
    max-width: none;
  }
}

/* 18. Very small screens and landscape refinements
   ========================================================================== */
@media (max-width: 390px) {
  .main-site-logo {
    width: 126px;
  }

  .header-actions .icon-button {
    display: none;
  }

  .decision-copy h1 {
    font-size: 2.1rem;
  }

  .request-type-switcher {
    grid-template-columns: 1fr;
  }

  .mobile-action-dock a {
    font-size: 0.62rem;
  }
}

@media (max-height: 560px) and (orientation: landscape) {
  .decision-hero-layout {
    padding-block: 42px;
  }

  .decision-hero {
    min-height: 620px;
  }

  .mobile-action-dock {
    display: none;
  }

  body.site-body {
    padding-bottom: 0;
  }
}

/* 19. Print
   ========================================================================== */
@media print {
  .topbar,
  .site-header,
  .mobile-action-dock,
  .floating-whatsapp,
  .site-footer,
  .hero-actions,
  .request-submit-row,
  .rail-actions,
  .btn {
    display: none !important;
  }

  body.site-body {
    background: #fff;
    color: #000;
    padding: 0;
  }

  .section,
  .request-form-section,
  .needs-gateway-section {
    padding: 20px 0;
    background: #fff;
  }

  .quick-request-card,
  .modern-request-form,
  .cart-table-card,
  .order-summary,
  .tracking-result {
    box-shadow: none;
    border: 1px solid #aaa;
  }
}


/* Phase 1 form success and reliability */
.submission-success-page{min-height:68vh;display:grid;place-items:center;padding:72px 0;background:linear-gradient(180deg,#f7f9f8,#fff)}.submission-success-card{width:min(680px,calc(100% - 24px));margin:auto;text-align:center;padding:clamp(28px,6vw,58px);border:1px solid rgba(8,10,11,.1);border-radius:28px;background:#fff;box-shadow:0 22px 70px rgba(8,10,11,.1)}.success-check{display:grid;place-items:center;width:74px;height:74px;margin:0 auto 18px;border-radius:50%;background:#e8f8ed;color:#159447;font-size:38px;font-weight:900}.submission-success-card h1{margin:8px 0 12px}.submission-success-card>p{color:#586268}.reference-box{display:flex;align-items:center;justify-content:center;gap:12px;flex-wrap:wrap;margin:24px 0;padding:16px;border:1px dashed rgba(8,10,11,.22);border-radius:16px;background:#fafcfc}.reference-box small{width:100%;color:#687177}.reference-box strong{font-size:clamp(20px,5vw,30px);letter-spacing:.04em}.reference-box button{border:0;border-radius:10px;padding:8px 12px;cursor:pointer;background:#111;color:#fff}.success-note{font-weight:700}.submission-success-actions{display:flex;justify-content:center;gap:10px;flex-wrap:wrap;margin-top:24px}

/* ========================================================================== 
   ElectronVolt Phase 02 — Client UI, Mobile Flexibility & PWA (v7.2.0)
   Scoped corrective layer: preserves the existing visual system and content.
   ========================================================================== */

/* 1. Layout hardening and bidirectional contact data */
html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

@supports (overflow: clip) {
  html,
  body {
    overflow-x: clip;
  }
}

body.site-body,
body.site-body main,
.site-header,
.site-footer,
.topbar {
  max-width: 100%;
}

body.site-body :where(*, *::before, *::after) {
  box-sizing: border-box;
}

body.site-body :where(.container, section, article, aside, form, fieldset, div, nav, header, footer) {
  min-width: 0;
}

body.site-body :where(img, video, iframe, svg, canvas) {
  max-width: 100%;
}

body.site-body :where(input, select, textarea, button) {
  min-width: 0;
  max-width: 100%;
}

.phone-number {
  direction: ltr;
  unicode-bidi: isolate;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

/* 2. Official logo must read as identity, not as a card/button */
.site-header .brand,
.site-footer .brand-footer {
  min-width: 0;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  outline-offset: 6px;
}

.site-header .brand::before,
.site-header .brand::after,
.site-footer .brand-footer::before,
.site-footer .brand-footer::after {
  display: none !important;
  content: none !important;
}

.site-header .main-site-logo,
.site-footer .brand-footer img {
  display: block;
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: center;
  filter: none;
}

.site-header .main-site-logo {
  max-width: 192px;
  max-height: 58px;
}

.site-footer .brand-footer img {
  max-width: 220px;
  max-height: 72px;
}

/* Retire legacy generated brand fragments without deleting old source rules. */
.site-header .brand-symbol,
.site-header .brand-sun,
.site-header .brand-bolt,
.site-header .brand-copy {
  display: none !important;
}

/* 3. Understandable header controls and tooltips */
[data-tooltip] {
  position: relative;
}

[data-tooltip]::after {
  position: absolute;
  z-index: 130;
  inset-block-start: calc(100% + 9px);
  inset-inline-start: 50%;
  width: max-content;
  max-width: 210px;
  padding: 7px 10px;
  border-radius: 8px;
  background: #101415;
  color: #fff;
  content: attr(data-tooltip);
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.25;
  pointer-events: none;
  opacity: 0;
  transform: translateX(-50%) translateY(-4px);
  transition: opacity 0.16s ease, transform 0.16s ease;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
}

[dir="rtl"] [data-tooltip]::after {
  transform: translateX(50%) translateY(-4px);
}

[data-tooltip]:hover::after,
[data-tooltip]:focus-visible::after {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

[dir="rtl"] [data-tooltip]:hover::after,
[dir="rtl"] [data-tooltip]:focus-visible::after {
  transform: translateX(50%) translateY(0);
}

.mobile-nav-tools {
  display: none;
}

/* 4. Brand rail and product brand identity */
.shop-brand-section {
  padding: clamp(36px, 5vw, 68px) 0 22px;
  background: var(--surface, #fff);
}

.brand-logo-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(142px, 172px);
  gap: 14px;
  padding: 2px 2px 14px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: inline proximity;
  scrollbar-width: thin;
}

.brand-logo-card {
  display: grid;
  grid-template-rows: 62px auto auto;
  align-items: center;
  justify-items: center;
  gap: 5px;
  min-width: 0;
  padding: 15px 12px 12px;
  border: 1px solid rgba(15, 21, 22, 0.12);
  border-radius: 16px;
  background: #fff;
  color: #101415;
  text-align: center;
  text-decoration: none;
  scroll-snap-align: start;
  transition: border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.brand-logo-card:hover,
.brand-logo-card:focus-visible,
.brand-logo-card.active {
  border-color: #d9ad00;
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(13, 19, 20, 0.09);
}

.brand-logo-card img,
.product-brand-line img,
.product-brand-lockup img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.brand-logo-card img {
  max-width: 112px;
  max-height: 58px;
}

.brand-logo-card strong {
  max-width: 100%;
  overflow: hidden;
  color: inherit;
  font-size: 0.88rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.brand-logo-card small {
  color: #6c7679;
  font-size: 0.72rem;
}

.brand-logo-placeholder {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(145deg, #f7d73d, #eeb600);
  color: #161a1b;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.product-brand-line {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 28px;
  margin-block: 5px 8px;
  color: #5c676b;
  font-size: 0.76rem;
  font-weight: 700;
}

.product-brand-line img {
  flex: 0 0 auto;
  width: 54px;
  height: 24px;
}

.product-brand-lockup {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  width: 100%;
  margin: 4px 0 18px;
  padding: 12px 14px;
  border: 1px solid rgba(15, 21, 22, 0.1);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.72);
}

.product-brand-lockup img {
  width: 82px;
  height: 44px;
}

.product-brand-lockup div {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.product-brand-lockup small {
  color: #687276;
}

.product-brand-lockup strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.product-brand-lockup > a {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #101415;
  color: #fff;
  text-decoration: none;
}

/* 5. Full lightbox gallery */
[data-lightbox-item] {
  cursor: zoom-in;
}

.gallery-zoom-label {
  position: absolute;
  inset-inline-end: 12px;
  inset-block-end: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(8, 12, 13, 0.78);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
  backdrop-filter: blur(8px);
}

.ev-lightbox {
  position: fixed;
  z-index: 10000;
  inset: 0;
  display: grid;
  place-items: center;
  padding: max(18px, env(safe-area-inset-top)) max(18px, env(safe-area-inset-right)) max(18px, env(safe-area-inset-bottom)) max(18px, env(safe-area-inset-left));
  background: rgba(3, 6, 7, 0.94);
  color: #fff;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.18s ease, visibility 0.18s ease;
}

.ev-lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.ev-lightbox-stage {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 12px;
  width: min(1180px, 100%);
  height: min(88vh, 900px);
  min-height: 0;
}

.ev-lightbox-media {
  display: grid;
  place-items: center;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
}

.ev-lightbox-media img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 100%;
  border-radius: 12px;
  object-fit: contain;
  user-select: none;
  -webkit-user-drag: none;
}

.ev-lightbox-caption {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-width: 0;
  min-height: 28px;
  padding-inline: 54px;
  text-align: center;
}

.ev-lightbox-caption span:first-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ev-lightbox-counter {
  flex: 0 0 auto;
  color: #e8c000;
  direction: ltr;
  unicode-bidi: isolate;
}

.ev-lightbox-close,
.ev-lightbox-prev,
.ev-lightbox-next {
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 50%;
  background: rgba(12, 17, 18, 0.72);
  color: #fff;
  cursor: pointer;
  font-size: 1.65rem;
  line-height: 1;
  backdrop-filter: blur(10px);
}

.ev-lightbox-close {
  inset-block-start: max(14px, env(safe-area-inset-top));
  inset-inline-end: max(14px, env(safe-area-inset-right));
}

.ev-lightbox-prev,
.ev-lightbox-next {
  inset-block-start: 50%;
  transform: translateY(-50%);
}

.ev-lightbox-prev {
  inset-inline-start: max(14px, env(safe-area-inset-left));
}

.ev-lightbox-next {
  inset-inline-end: max(14px, env(safe-area-inset-right));
}

.ev-lightbox-prev[hidden],
.ev-lightbox-next[hidden] {
  display: none;
}

body.lightbox-open {
  overflow: hidden !important;
  touch-action: none;
}

/* 6. WhatsApp assistant */
.floating-whatsapp {
  display: none !important;
}

.whatsapp-assistant {
  position: fixed;
  z-index: 360;
  inset-inline-end: max(18px, env(safe-area-inset-right));
  inset-block-end: max(22px, env(safe-area-inset-bottom));
  display: grid;
  justify-items: end;
  gap: 10px;
  max-width: calc(100vw - 28px);
}

.whatsapp-assistant-toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 54px;
  padding: 9px 16px 9px 11px;
  border: 0;
  border-radius: 999px;
  background: #19a85b;
  color: #fff;
  cursor: pointer;
  box-shadow: 0 16px 38px rgba(10, 112, 58, 0.28);
  animation: ev-whatsapp-breathe 3.8s ease-in-out infinite;
}

[dir="rtl"] .whatsapp-assistant-toggle {
  padding: 9px 11px 9px 16px;
}

.whatsapp-assistant-toggle svg {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  fill: currentColor;
}

.whatsapp-assistant-toggle > span {
  display: grid;
  min-width: 0;
  text-align: start;
}

.whatsapp-assistant-toggle b {
  font-size: 0.86rem;
}

.whatsapp-assistant-toggle small {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.7rem;
}

.whatsapp-assistant-panel {
  width: min(330px, calc(100vw - 28px));
  padding: 12px;
  border: 1px solid rgba(20, 29, 30, 0.12);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(7, 12, 13, 0.23);
}

.whatsapp-assistant-panel[hidden] {
  display: none;
}

.whatsapp-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 5px 6px 10px;
  color: #111718;
}

.whatsapp-panel-head button {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #edf1ef;
  color: #111718;
  cursor: pointer;
  font-size: 1.25rem;
}

.whatsapp-assistant-panel > a {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 8px 9px;
  border-radius: 11px;
  color: #172021;
  text-decoration: none;
}

.whatsapp-assistant-panel > a:hover,
.whatsapp-assistant-panel > a:focus-visible {
  background: #edf8f1;
}

.whatsapp-assistant-panel > a span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: #e4f6eb;
  color: #0c8646;
}

@keyframes ev-whatsapp-breathe {
  0%, 100% { box-shadow: 0 16px 38px rgba(10, 112, 58, 0.28); }
  50% { box-shadow: 0 16px 42px rgba(10, 112, 58, 0.4), 0 0 0 7px rgba(25, 168, 91, 0.09); }
}

@media (prefers-reduced-motion: reduce) {
  .whatsapp-assistant-toggle {
    animation: none;
  }
}

/* 7. Install help dialog */
.app-install-dialog {
  position: fixed;
  z-index: 10020;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(4, 8, 9, 0.78);
  backdrop-filter: blur(7px);
}

.app-install-dialog[hidden] {
  display: none;
}

.app-install-dialog-card {
  position: relative;
  width: min(460px, 100%);
  padding: 30px;
  border-radius: 24px;
  background: #fff;
  color: #172021;
  text-align: center;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.3);
}

.app-install-dialog-card > img {
  border-radius: 22px;
  box-shadow: 0 10px 24px rgba(10, 16, 17, 0.13);
}

.app-install-dialog-card h2 {
  margin: 15px 0 8px;
}

.app-install-dialog-card p {
  color: #5b6669;
  line-height: 1.8;
}

.install-dialog-close {
  position: absolute;
  inset-block-start: 12px;
  inset-inline-end: 12px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #edf1ef;
  color: #172021;
  cursor: pointer;
  font-size: 1.4rem;
}

/* 8. Stable success confirmation */
.success-next-steps {
  margin-top: 22px;
  padding: 18px;
  border-radius: 16px;
  background: #f4f7f6;
  text-align: start;
}

.success-next-steps h2 {
  margin: 0 0 8px;
  font-size: 1.08rem;
}

.success-next-steps p {
  margin: 0;
  color: #596467;
  line-height: 1.75;
}

.success-hours {
  margin-top: 8px !important;
  color: #222b2d !important;
  font-weight: 700;
}

[data-lock-submit] button[type="submit"][aria-busy="true"],
[data-lock-submit] button[type="submit"]:disabled {
  cursor: wait;
  opacity: 0.72;
}

/* 9. Contact and footer clarity */
.contact-address,
.office-hours {
  line-height: 1.75;
}

.contact-action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.contact-methods a {
  min-width: 0;
}

.contact-methods a strong {
  overflow-wrap: anywhere;
}

.site-footer .footer-contact a,
.site-footer .footer-contact .phone-number,
.site-footer .footer-contact span,
.site-footer .footer-contact strong {
  color: inherit;
}

.site-footer .footer-contact a:hover {
  color: #f3c500;
}

/* 10. Mobile named navigation and dock consistency */
.mobile-action-dock > button {
  position: relative;
  display: grid;
  place-items: center;
  gap: 3px;
  min-width: 0;
  min-height: 58px;
  padding: 7px 4px;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font: inherit;
}

.mobile-action-dock > button svg {
  width: 21px;
  height: 21px;
  fill: currentColor;
}

.mobile-action-dock > button span {
  font-size: 0.7rem;
  font-weight: 750;
}

/* 11. Responsive behavior without redesigning desktop */
@media (max-width: 1080px) {
  .mobile-nav-tools {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    width: 100%;
    margin-top: 8px;
    padding-top: 12px;
    border-top: 1px solid rgba(20, 29, 30, 0.1);
  }

  .mobile-nav-tools > :where(a, button) {
    position: relative;
    display: grid;
    grid-template-columns: 30px minmax(0, 1fr) auto;
    align-items: center;
    gap: 7px;
    min-height: 44px;
    padding: 7px 9px;
    border: 1px solid rgba(20, 29, 30, 0.09);
    border-radius: 10px;
    background: #f7f9f8;
    color: #172021;
    text-align: start;
    text-decoration: none;
    cursor: pointer;
    font: inherit;
  }

  .mobile-nav-tools > :where(a, button) > span {
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: #e9eeeb;
  }

  .mobile-nav-tools b {
    overflow: hidden;
    font-size: 0.78rem;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .mobile-nav-tools em {
    display: grid;
    place-items: center;
    min-width: 22px;
    height: 22px;
    padding-inline: 5px;
    border-radius: 999px;
    background: #efbf00;
    color: #111;
    font-size: 0.67rem;
    font-style: normal;
    font-weight: 900;
  }
}

@media (max-width: 820px) {
  :root {
    --mobile-inline-gap: 12px;
  }

  body.site-body {
    padding-bottom: calc(74px + env(safe-area-inset-bottom));
  }

  body.site-body .container {
    width: calc(100% - (var(--mobile-inline-gap) * 2));
    max-width: none;
    margin-inline: auto;
  }

  .topbar-inner {
    min-height: 36px;
  }

  .topbar-contact {
    min-width: 0;
    overflow: hidden;
  }

  .topbar-contact a {
    min-width: 0;
  }

  .topbar-contact a span {
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .topbar-links > a:not(.language-link) {
    display: none;
  }

  .header-inner {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 8px !important;
    min-height: 68px;
  }

  .site-header .brand {
    grid-column: 1;
    width: fit-content;
    max-width: 100%;
    overflow: hidden;
  }

  .site-header .main-site-logo {
    width: auto !important;
    max-width: min(174px, calc(100vw - 154px)) !important;
    max-height: 49px !important;
  }

  .menu-toggle {
    grid-column: 2;
  }

  .header-actions {
    grid-column: 3;
    display: flex;
    align-items: center;
    gap: 5px !important;
    min-width: 0;
  }

  .header-actions > :where(.theme-toggle, [data-search-toggle], .quote-list-button, .install-app-button, .header-quote) {
    display: none !important;
  }

  .header-actions .cart-button {
    display: grid !important;
    flex: 0 0 auto;
    width: 42px;
    height: 42px;
  }

  .main-nav {
    max-width: calc(100vw - 24px);
    max-height: calc(100dvh - 112px);
    overflow-y: auto;
    overscroll-behavior: contain;
  }

  .main-nav .nav-more-menu {
    max-width: 100%;
  }

  .main-nav details,
  .main-nav summary,
  .main-nav a {
    min-width: 0;
  }

  .form-grid,
  .contact-grid,
  .contact-form-layout,
  .shop-layout,
  .product-detail-grid,
  .project-show-grid,
  .news-show-grid,
  .footer-grid {
    min-width: 0;
  }

  .brand-logo-rail {
    grid-auto-columns: minmax(130px, 42vw);
  }

  .product-brand-lockup {
    grid-template-columns: 66px minmax(0, 1fr) auto;
    gap: 10px;
  }

  .product-brand-lockup img {
    width: 66px;
    height: 38px;
  }

  .whatsapp-assistant {
    inset-inline-end: 12px;
    inset-block-end: calc(76px + env(safe-area-inset-bottom));
  }

  .whatsapp-assistant-toggle {
    min-height: 50px;
    padding-block: 7px;
  }

  .whatsapp-assistant-toggle svg {
    width: 30px;
    height: 30px;
  }

  .mobile-action-dock {
    inset-inline: 8px !important;
    inset-block-end: max(8px, env(safe-area-inset-bottom));
    width: auto !important;
    max-width: calc(100vw - 16px);
  }

  .ev-lightbox {
    padding: max(12px, env(safe-area-inset-top)) max(8px, env(safe-area-inset-right)) max(12px, env(safe-area-inset-bottom)) max(8px, env(safe-area-inset-left));
  }

  .ev-lightbox-stage {
    height: 88dvh;
  }

  .ev-lightbox-prev,
  .ev-lightbox-next,
  .ev-lightbox-close {
    width: 42px;
    height: 42px;
  }

  .ev-lightbox-prev {
    inset-inline-start: 8px;
  }

  .ev-lightbox-next {
    inset-inline-end: 8px;
  }

  .ev-lightbox-caption {
    padding-inline: 46px;
    font-size: 0.82rem;
  }

  .submission-success-page {
    min-height: 64vh;
    padding: 44px 0;
  }

  .submission-success-card {
    width: 100%;
    padding: 27px 18px;
    border-radius: 20px;
  }
}

@media (max-width: 640px) {
  .topbar-contact a:nth-child(2) {
    display: none;
  }

  .mobile-nav-tools {
    grid-template-columns: 1fr;
  }

  .site-header .main-site-logo {
    max-width: min(150px, calc(100vw - 144px)) !important;
    max-height: 44px !important;
  }

  .brand-logo-rail {
    grid-auto-columns: minmax(124px, 46vw);
    gap: 10px;
  }

  .brand-logo-card {
    grid-template-rows: 54px auto auto;
    padding: 12px 9px 10px;
  }

  .brand-logo-card img {
    max-width: 98px;
    max-height: 50px;
  }

  .product-brand-lockup {
    grid-template-columns: 58px minmax(0, 1fr) auto;
    padding: 10px;
  }

  .product-brand-lockup img {
    width: 58px;
    height: 34px;
  }

  .whatsapp-assistant-toggle > span {
    display: none;
  }

  .whatsapp-assistant-toggle {
    width: 52px;
    height: 52px;
    padding: 9px;
  }

  .whatsapp-assistant-panel {
    width: min(326px, calc(100vw - 24px));
  }

  .app-install-dialog {
    padding: 12px;
  }

  .app-install-dialog-card {
    padding: 26px 18px 20px;
    border-radius: 20px;
  }

  .submission-success-actions .btn {
    width: 100%;
  }

  .reference-box strong {
    max-width: 100%;
    overflow-wrap: anywhere;
  }
}

@media (max-width: 390px) {
  :root {
    --mobile-inline-gap: 10px;
  }

  .site-header .main-site-logo {
    max-width: min(132px, calc(100vw - 136px)) !important;
    max-height: 40px !important;
  }

  .header-actions .cart-button,
  .menu-toggle {
    width: 40px;
    height: 40px;
  }

  .mobile-action-dock > :where(a, button) span {
    font-size: 0.62rem;
  }

  .whatsapp-assistant {
    inset-inline-end: 9px;
  }
}

/* 12. Dark-mode compatibility for the new pieces */
html[data-theme="dark"] .brand-logo-card,
html[data-theme="dark"] .product-brand-lockup,
html[data-theme="dark"] .whatsapp-assistant-panel,
html[data-theme="dark"] .app-install-dialog-card {
  border-color: rgba(255, 255, 255, 0.12);
  background: #141a1b;
  color: #f4f7f6;
}

html[data-theme="dark"] .brand-logo-card small,
html[data-theme="dark"] .product-brand-lockup small,
html[data-theme="dark"] .app-install-dialog-card p {
  color: #aab4b6;
}

html[data-theme="dark"] .mobile-nav-tools > :where(a, button) {
  border-color: rgba(255, 255, 255, 0.1);
  background: #171d1e;
  color: #f5f7f7;
}

html[data-theme="dark"] .mobile-nav-tools > :where(a, button) > span,
html[data-theme="dark"] .whatsapp-panel-head button,
html[data-theme="dark"] .install-dialog-close {
  background: #283031;
  color: #fff;
}

html[data-theme="dark"] .whatsapp-panel-head,
html[data-theme="dark"] .whatsapp-assistant-panel > a {
  color: #f5f7f7;
}

html[data-theme="dark"] .whatsapp-assistant-panel > a:hover,
html[data-theme="dark"] .whatsapp-assistant-panel > a:focus-visible {
  background: #173426;
}

html[data-theme="dark"] .success-next-steps {
  background: #1a2021;
}

html[data-theme="dark"] .success-next-steps p,
html[data-theme="dark"] .success-hours {
  color: #c4ccce !important;
}

/* Lightbox markup alignment for the generated JS dialog */
.ev-lightbox[hidden] {
  display: none !important;
}

.ev-lightbox-backdrop {
  position: absolute;
  inset: 0;
}

.ev-lightbox-dialog {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  width: min(1240px, 100%);
  height: min(90vh, 920px);
  min-width: 0;
  min-height: 0;
}

.ev-lightbox-dialog figure {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 12px;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  margin: 0;
}

.ev-lightbox-dialog figure > img {
  align-self: center;
  justify-self: center;
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: calc(90vh - 60px);
  border-radius: 12px;
  object-fit: contain;
  user-select: none;
  -webkit-user-drag: none;
}

.ev-lightbox-dialog figcaption {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-width: 0;
  min-height: 30px;
  text-align: center;
}

.ev-lightbox-dialog figcaption span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ev-lightbox-dialog figcaption b {
  flex: 0 0 auto;
  color: #f2c300;
  direction: ltr;
  unicode-bidi: isolate;
}

.ev-lightbox-nav {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 50%;
  background: rgba(12, 17, 18, 0.72);
  color: #fff;
  cursor: pointer;
  font-size: 1.75rem;
  line-height: 1;
  backdrop-filter: blur(10px);
}

.ev-lightbox.single .ev-lightbox-nav {
  visibility: hidden;
}

@media (max-width: 820px) {
  .ev-lightbox-dialog {
    grid-template-columns: 40px minmax(0, 1fr) 40px;
    gap: 4px;
    height: 88dvh;
  }

  .ev-lightbox-nav {
    width: 40px;
    height: 40px;
    font-size: 1.45rem;
  }

  .ev-lightbox-dialog figure > img {
    max-height: calc(88dvh - 58px);
  }

  .ev-lightbox-dialog figcaption {
    font-size: 0.78rem;
  }
}

/* Keep both official phone and sales email visible on small phones. */
@media (max-width: 640px) {
  .topbar-inner {
    display: block;
    padding-block: 5px;
  }

  .topbar-contact {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1px;
    width: 100%;
  }

  .topbar-contact a,
  .topbar-contact a:nth-child(2) {
    display: inline-flex;
    min-height: 24px;
    width: fit-content;
    max-width: 100%;
    font-size: 0.72rem;
  }

  .topbar-links {
    display: none;
  }
}

/* Root cause correction: do not reserve an extra RTL scrollbar gutter on phones. */
html {
  scrollbar-gutter: auto !important;
}

body.install-dialog-open,
body.menu-open {
  overflow: hidden;
}

@media print {
  .whatsapp-assistant,
  .app-install-dialog,
  .ev-lightbox {
    display: none !important;
  }
}

/* ========================================================================== 
   ElectronVolt Phase 03 — concise homepage and premium brand presentation
   ========================================================================== */
.phase3-home-hero .decision-hero-layout {
  min-height: min(760px, calc(100svh - 110px));
}

.phase3-gateway-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.phase3-primary-links {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: clamp(24px, 4vw, 42px);
}

.phase3-stats-section {
  position: relative;
  overflow: hidden;
  padding: clamp(58px, 8vw, 94px) 0;
  background:
    radial-gradient(circle at 12% 15%, rgba(246, 199, 0, 0.18), transparent 34%),
    linear-gradient(135deg, #0d1213, #1b2426);
  color: #fff;
}

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

.phase3-stats-grid article {
  display: grid;
  gap: 7px;
  min-height: 150px;
  align-content: center;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.055);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
}

.phase3-stats-grid strong {
  color: var(--yellow, #f6c700);
  font-size: clamp(2rem, 4vw, 3.3rem);
  line-height: 1;
  direction: ltr;
  unicode-bidi: isolate;
}

.phase3-stats-grid span {
  color: #d7dfe1;
  font-weight: 750;
}

.phase3-reviews-section {
  padding: clamp(60px, 8vw, 100px) 0;
  background: #fff;
}

.review-source-links {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.review-source-links a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 13px;
  border: 1px solid rgba(16, 20, 21, 0.12);
  border-radius: 999px;
  color: #172022;
  font-size: 0.8rem;
  font-weight: 850;
  text-decoration: none;
}

.review-source-links a:hover {
  border-color: #d4aa00;
  background: #fff8cf;
}

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

.phase3-testimonial-card {
  display: grid;
  gap: 18px;
  min-width: 0;
  padding: clamp(22px, 3vw, 30px);
  border: 1px solid rgba(19, 27, 28, 0.1);
  border-radius: 24px;
  background: linear-gradient(145deg, #fff, #f5f7f6);
  box-shadow: 0 18px 50px rgba(14, 20, 21, 0.07);
}

.testimonial-stars {
  color: #d5aa00;
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  direction: ltr;
  unicode-bidi: isolate;
}

.phase3-testimonial-card blockquote {
  margin: 0;
  color: #2d3739;
  font-size: 1rem;
  line-height: 1.9;
}

.phase3-testimonial-card footer {
  display: flex;
  align-items: center;
  gap: 12px;
}

.phase3-testimonial-card footer > :where(img, span) {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  border-radius: 50%;
  object-fit: cover;
  background: #101617;
  color: #fff;
  font-weight: 900;
}

.phase3-testimonial-card footer div {
  display: grid;
  gap: 2px;
}

.phase3-testimonial-card footer small {
  color: #707b7e;
}

.reviews-empty-state {
  display: flex;
  align-items: center;
  gap: 18px;
  max-width: 760px;
  margin-inline: auto;
  padding: 24px;
  border: 1px dashed rgba(18, 25, 26, 0.2);
  border-radius: 22px;
  background: #f8faf9;
}

.reviews-empty-state > span {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  flex: 0 0 54px;
  border-radius: 18px;
  background: #fff0a1;
  color: #8e7100;
  font-size: 1.45rem;
}

.reviews-empty-state p {
  margin: 4px 0 0;
}

.phase3-news-section {
  padding-bottom: clamp(70px, 9vw, 115px);
}

/* Phase 03 brand presentation: readable logos without cramped square cards. */
.shop-brand-section {
  padding: clamp(46px, 6vw, 74px) 0 30px;
  border-block: 1px solid rgba(16, 22, 23, 0.06);
  background: linear-gradient(180deg, #fff, #f6f8f7);
}

.brand-logo-rail {
  grid-auto-columns: minmax(190px, 230px);
  gap: 12px;
  padding-block: 6px 18px;
}

.brand-logo-card {
  grid-template: "logo copy" auto / 88px minmax(0, 1fr);
  align-items: center;
  justify-items: stretch;
  gap: 14px;
  min-height: 96px;
  padding: 14px 16px;
  border: 1px solid rgba(15, 21, 22, 0.08);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.94);
  text-align: start;
  box-shadow: 0 12px 34px rgba(18, 25, 26, 0.055);
}

.brand-logo-card img,
.brand-logo-card .brand-logo-placeholder {
  grid-area: logo;
  width: 88px;
  height: 58px;
  max-width: 88px;
  max-height: 58px;
  padding: 5px;
  border-radius: 12px;
  background: #fff;
  object-fit: contain;
}

.brand-logo-card strong,
.brand-logo-card small {
  grid-column: 2;
  min-width: 0;
}

.brand-logo-card strong {
  align-self: end;
  font-size: 0.94rem;
}

.brand-logo-card small {
  align-self: start;
}

.brand-logo-card:hover,
.brand-logo-card:focus-visible,
.brand-logo-card.active {
  border-color: rgba(211, 168, 0, 0.8);
  background: #fffdf4;
  box-shadow: 0 18px 44px rgba(18, 25, 26, 0.1);
}

.product-brand-line {
  width: fit-content;
  max-width: 100%;
  padding: 5px 9px;
  border-radius: 12px;
  background: #f3f6f5;
}

.product-brand-line img {
  width: 68px;
  height: 28px;
}

@media (max-width: 1100px) {
  .phase3-gateway-grid,
  .phase3-stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 680px) {
  .phase3-gateway-grid,
  .phase3-stats-grid,
  .phase3-testimonial-grid {
    grid-template-columns: 1fr;
  }

  .phase3-home-hero .decision-hero-layout {
    min-height: auto;
  }

  .phase3-primary-links {
    align-items: stretch;
    flex-direction: column;
  }

  .phase3-primary-links > * {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .section-heading:has(.review-source-links) {
    align-items: flex-start;
    flex-direction: column;
  }

  .reviews-empty-state {
    align-items: flex-start;
  }

  .brand-logo-rail {
    grid-auto-columns: minmax(168px, 82vw);
  }
}

html[data-theme="dark"] .phase3-reviews-section,
html[data-theme="dark"] .shop-brand-section {
  background: #111718;
}

html[data-theme="dark"] .phase3-testimonial-card,
html[data-theme="dark"] .brand-logo-card,
html[data-theme="dark"] .reviews-empty-state {
  border-color: rgba(255, 255, 255, 0.1);
  background: #172022;
  color: #f4f7f6;
}

html[data-theme="dark"] .phase3-testimonial-card blockquote,
html[data-theme="dark"] .review-source-links a {
  color: #e8eeee;
}

/* Phase 03 brand markup alignment and broken-image fallback */
.brand-logo-media {
  grid-area: logo;
  display: grid;
  place-items: center;
  width: 88px;
  height: 58px;
  min-width: 0;
}

.brand-logo-media > :where(img, .brand-logo-placeholder) {
  width: 88px;
  height: 58px;
  max-width: 88px;
  max-height: 58px;
  padding: 5px;
  border-radius: 12px;
  background: #fff;
  object-fit: contain;
}

.brand-logo-copy {
  grid-area: copy;
  display: grid;
  align-content: center;
  gap: 4px;
  min-width: 0;
}

.brand-logo-card .brand-logo-copy strong,
.brand-logo-card .brand-logo-copy small {
  grid-column: auto;
  align-self: auto;
}

.product-brand-logo-media {
  display: grid;
  place-items: center;
  width: 82px;
  height: 48px;
  overflow: hidden;
  border-radius: 12px;
  background: #fff;
}

.product-brand-logo-media > :where(img, .brand-logo-placeholder) {
  width: 100%;
  height: 100%;
  padding: 5px;
  object-fit: contain;
}

[data-brand-fallback][hidden],
[data-brand-logo][hidden] {
  display: none !important;
}

/* ========================================================================== 
   ElectronVolt Phase 04 — compact journey, smart CTAs and visual cleanup
   ========================================================================== */
html {
  scroll-behavior: smooth;
}

[id^="home-"] {
  scroll-margin-top: 142px;
}

.page-scroll-progress {
  position: fixed;
  z-index: 1200;
  inset: 0 0 auto;
  height: 3px;
  pointer-events: none;
  background: transparent;
}

.page-scroll-progress > span {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, #f6c700, #ffd94a);
  box-shadow: 0 0 14px rgba(246, 199, 0, 0.65);
  transition: width 90ms linear;
}

.home-section-nav {
  position: sticky;
  z-index: 70;
  inset-block-start: 0;
  border-block: 1px solid rgba(19, 27, 28, 0.08);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 10px 32px rgba(10, 16, 17, 0.07);
  backdrop-filter: blur(18px);
}

.home-section-nav-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 68px;
  overflow-x: auto;
  scrollbar-width: none;
  overscroll-behavior-inline: contain;
}

.home-section-nav-inner::-webkit-scrollbar {
  display: none;
}

.home-section-nav a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: max-content;
  min-height: 42px;
  padding: 7px 13px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: #273032;
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 850;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.home-section-nav a > span {
  display: grid;
  place-items: center;
  width: 29px;
  height: 29px;
  border-radius: 50%;
  background: #edf1ef;
  color: #101617;
  font-size: 0.84rem;
}

.home-section-nav a:hover,
.home-section-nav a:focus-visible,
.home-section-nav a.is-active {
  border-color: rgba(211, 168, 0, 0.52);
  background: #fff9dc;
  box-shadow: 0 9px 24px rgba(79, 63, 0, 0.11);
  transform: translateY(-2px);
}

.home-section-nav a.is-active > span {
  background: #f6c700;
  color: #111;
}

.phase4-home-hero .decision-hero-layout {
  min-height: min(610px, calc(100svh - 96px));
  padding-block: clamp(54px, 7vw, 88px);
}

.phase4-home-hero .decision-copy h1 {
  max-width: 720px;
}

.phase4-home-hero .hero-decision-panel {
  padding: clamp(20px, 2.8vw, 30px);
}

.phase4-compact-section {
  padding-block: clamp(48px, 6vw, 76px) !important;
}

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

.phase4-gateway-card {
  grid-template-rows: 150px auto;
  min-height: 0;
}

.phase4-gateway-card .gateway-visual {
  min-height: 150px;
}

.phase4-gateway-card .gateway-content {
  gap: 7px;
  padding: 17px;
}

.phase4-gateway-card .gateway-content h3 {
  font-size: 1rem;
}

.phase4-gateway-card .gateway-content p {
  min-height: 0;
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.65;
}

.phase4-primary-links {
  margin-top: 24px;
}

.phase4-quick-request-layout {
  gap: clamp(24px, 5vw, 64px);
}

.phase4-quick-request-card {
  gap: 15px;
  padding: clamp(20px, 3vw, 28px);
}

.phase4-request-type-switcher {
  gap: 7px;
}

.phase4-request-type-switcher label span {
  min-height: 40px;
  padding: 7px 10px;
}

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

.quick-request-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 19px;
}

.quick-request-trust span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 6px 10px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.055);
  color: #e6ecee;
  font-size: 0.76rem;
  font-weight: 750;
}

.quick-request-optional {
  border: 1px solid rgba(21, 29, 30, 0.1);
  border-radius: 14px;
  background: #f7f9f8;
}

.quick-request-optional summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 44px;
  padding: 9px 13px;
  cursor: pointer;
  color: #364043;
  font-size: 0.82rem;
  font-weight: 850;
  list-style: none;
}

.quick-request-optional summary::-webkit-details-marker {
  display: none;
}

.quick-request-optional summary::after {
  content: '+';
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: #e7ece9;
  color: #101617;
  font-size: 1rem;
}

.quick-request-optional[open] summary::after {
  content: '−';
}

.quick-request-optional > .quick-form-grid {
  padding: 0 13px 13px;
}

.phase4-compact-section .phase3-stats-grid article {
  min-height: 126px;
  padding: 20px;
}

.phase4-compact-section .phase3-testimonial-card {
  gap: 13px;
  padding: 22px;
}

.phase4-compact-section .news-card {
  min-height: 0;
}

.phase4-compact-section .news-image img,
.phase4-compact-section .news-card > a img {
  height: 170px;
}

.section-jump-next {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: fit-content;
  min-height: 38px;
  margin: 28px auto 0;
  padding: 5px 11px;
  border: 1px solid rgba(18, 25, 26, 0.11);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: #242d2f;
  text-decoration: none;
  font-size: 0.72rem;
  font-weight: 850;
  box-shadow: 0 8px 24px rgba(15, 23, 24, 0.06);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.section-jump-next > span {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #f6c700;
  color: #111;
  font-size: 1rem;
}

.section-jump-next:hover,
.section-jump-next:focus-visible {
  border-color: rgba(211, 168, 0, 0.7);
  box-shadow: 0 13px 32px rgba(79, 63, 0, 0.15);
  transform: translateY(-3px) scale(1.02);
}

.hero-jump-next {
  position: absolute;
  z-index: 4;
  inset-inline-start: 50%;
  inset-block-end: 14px;
  margin: 0;
  transform: translateX(-50%);
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(10, 14, 15, 0.64);
  color: #fff;
  backdrop-filter: blur(12px);
}

.hero-jump-next:hover,
.hero-jump-next:focus-visible {
  transform: translateX(-50%) translateY(-3px) scale(1.02);
}

.section-jump-next-light {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

/* Smart call-to-action behavior: illuminate, enlarge and explain on focus/hover. */
.smart-cta,
.smart-link {
  position: relative;
  isolation: isolate;
}

.smart-cta {
  overflow: visible;
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.smart-cta::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: -5px;
  border-radius: inherit;
  background: radial-gradient(circle, rgba(246, 199, 0, 0.34), transparent 68%);
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 180ms ease, transform 180ms ease;
  pointer-events: none;
}

.smart-cta[data-cta-hint]::after {
  content: attr(data-cta-hint);
  position: absolute;
  z-index: 10;
  inset-inline-start: 50%;
  inset-block-end: calc(100% + 9px);
  translate: -50% 4px;
  width: max-content;
  max-width: 190px;
  padding: 5px 9px;
  border-radius: 999px;
  background: #111718;
  color: #fff;
  opacity: 0;
  pointer-events: none;
  font-size: 0.68rem;
  font-weight: 800;
  white-space: nowrap;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.2);
  transition: opacity 160ms ease, translate 160ms ease;
}

.smart-cta:hover,
.smart-cta:focus-visible {
  filter: brightness(1.05);
  box-shadow: 0 18px 42px rgba(201, 160, 0, 0.28);
  transform: translateY(-3px) scale(1.035);
}

.smart-cta:hover::before,
.smart-cta:focus-visible::before {
  opacity: 1;
  transform: scale(1.04);
}

.smart-cta[data-cta-hint]:hover::after,
.smart-cta[data-cta-hint]:focus-visible::after {
  opacity: 1;
  translate: -50% 0;
}

.smart-link {
  transition: transform 160ms ease, color 160ms ease;
}

.smart-link:hover,
.smart-link:focus-visible {
  transform: translateX(-2px) scale(1.04);
}

.icon-button,
.quote-list-button,
.cart-button,
.menu-toggle {
  transition: transform 170ms ease, box-shadow 170ms ease, background 170ms ease;
}

.icon-button:hover,
.icon-button:focus-visible,
.quote-list-button:hover,
.quote-list-button:focus-visible,
.cart-button:hover,
.cart-button:focus-visible,
.menu-toggle:hover,
.menu-toggle:focus-visible {
  transform: translateY(-2px) scale(1.07);
  box-shadow: 0 10px 24px rgba(17, 24, 25, 0.14);
}

/* WhatsApp: compact by default, explanatory only when needed. */
.whatsapp-assistant {
  inset-inline-end: max(16px, env(safe-area-inset-right));
  inset-block-end: max(20px, env(safe-area-inset-bottom));
  gap: 8px;
}

.whatsapp-assistant-toggle {
  position: relative;
  justify-content: center;
  width: 58px;
  height: 58px;
  min-height: 58px;
  padding: 0 !important;
  border: 2px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 12px 28px rgba(8, 104, 52, 0.29);
  animation: none;
}

.whatsapp-assistant-toggle::after {
  content: '';
  position: absolute;
  inset: -7px;
  border: 1px solid rgba(25, 168, 91, 0.28);
  border-radius: 50%;
  opacity: 0;
  transform: scale(0.88);
  transition: opacity 180ms ease, transform 180ms ease;
}

.whatsapp-assistant-toggle:hover,
.whatsapp-assistant-toggle:focus-visible,
.whatsapp-assistant.open .whatsapp-assistant-toggle {
  transform: translateY(-3px) scale(1.06);
  box-shadow: 0 17px 36px rgba(8, 104, 52, 0.36);
}

.whatsapp-assistant-toggle:hover::after,
.whatsapp-assistant-toggle:focus-visible::after,
.whatsapp-assistant.open .whatsapp-assistant-toggle::after {
  opacity: 1;
  transform: scale(1);
}

.whatsapp-assistant-toggle svg {
  width: 31px;
  height: 31px;
}

.whatsapp-assistant-label {
  position: absolute;
  inset-inline-end: calc(100% + 9px);
  top: 50%;
  display: grid !important;
  width: max-content;
  min-width: 0;
  padding: 7px 10px;
  border-radius: 12px;
  background: #101617;
  color: #fff;
  opacity: 0;
  pointer-events: none;
  text-align: start;
  transform: translateY(-50%) translateX(5px);
  transition: opacity 160ms ease, transform 160ms ease;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
}

.whatsapp-assistant-toggle:hover .whatsapp-assistant-label,
.whatsapp-assistant-toggle:focus-visible .whatsapp-assistant-label {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

.whatsapp-assistant-label b {
  font-size: 0.78rem;
}

.whatsapp-assistant-label small {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.65rem;
}

.whatsapp-assistant-panel {
  width: min(310px, calc(100vw - 24px));
  padding: 10px;
  border-radius: 17px;
}

.whatsapp-assistant-panel > a {
  min-height: 43px;
}

.page-back-to-top {
  position: fixed;
  z-index: 350;
  inset-inline-start: max(16px, env(safe-area-inset-left));
  inset-block-end: max(20px, env(safe-area-inset-bottom));
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  background: rgba(16, 22, 23, 0.9);
  color: #fff;
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(6, 10, 11, 0.22);
  backdrop-filter: blur(10px);
  transition: opacity 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.page-back-to-top[hidden] {
  display: none;
}

.page-back-to-top svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.page-back-to-top span {
  position: absolute;
  inset-block-start: calc(100% + 5px);
  font-size: 0.58rem;
  font-weight: 800;
  color: #20292b;
}

.page-back-to-top:hover,
.page-back-to-top:focus-visible {
  transform: translateY(-4px) scale(1.06);
  box-shadow: 0 16px 36px rgba(6, 10, 11, 0.3);
}

html[data-theme="dark"] .home-section-nav {
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(16, 22, 23, 0.92);
}

html[data-theme="dark"] .home-section-nav a,
html[data-theme="dark"] .page-back-to-top span {
  color: #eef3f2;
}

html[data-theme="dark"] .home-section-nav a > span,
html[data-theme="dark"] .quick-request-optional summary::after {
  background: #2b3435;
  color: #fff;
}

html[data-theme="dark"] .home-section-nav a:hover,
html[data-theme="dark"] .home-section-nav a:focus-visible,
html[data-theme="dark"] .home-section-nav a.is-active {
  border-color: rgba(246, 199, 0, 0.45);
  background: #332c0e;
}

html[data-theme="dark"] .quick-request-optional {
  border-color: rgba(255, 255, 255, 0.1);
  background: #171f20;
}

html[data-theme="dark"] .quick-request-optional summary {
  color: #eef3f2;
}

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

@media (max-width: 760px) {
  [id^="home-"] {
    scroll-margin-top: 116px;
  }

  .home-section-nav-inner {
    justify-content: flex-start;
    min-height: 58px;
    padding-inline: 10px;
  }

  .home-section-nav a {
    min-height: 38px;
    padding: 5px 9px;
    font-size: 0.72rem;
  }

  .home-section-nav a > span {
    width: 26px;
    height: 26px;
  }

  .phase4-home-hero .decision-hero-layout {
    min-height: auto;
    padding-block: 42px 74px;
  }

  .phase4-compact-section {
    padding-block: 42px !important;
  }

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

  .snap-rail-mobile {
    display: grid !important;
    grid-auto-flow: column;
    grid-auto-columns: minmax(270px, 84vw);
    grid-template-columns: none !important;
    gap: 12px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: inline mandatory;
    scrollbar-width: thin;
    padding-block: 4px 14px;
  }

  .snap-rail-mobile > * {
    min-width: 0;
    scroll-snap-align: start;
  }

  .phase4-gateway-card {
    grid-template-rows: 138px auto;
  }

  .phase4-gateway-card .gateway-visual {
    min-height: 138px;
  }

  .phase4-primary-links {
    flex-direction: row;
    align-items: center;
    overflow-x: auto;
    justify-content: flex-start;
    flex-wrap: nowrap;
    padding-bottom: 5px;
  }

  .phase4-primary-links > * {
    width: auto;
    min-width: max-content;
  }

  .phase4-compact-section .phase3-stats-grid article {
    min-height: 112px;
  }

  .whatsapp-assistant {
    inset-inline-end: 12px;
    inset-block-end: calc(76px + env(safe-area-inset-bottom));
  }

  .whatsapp-assistant-toggle {
    width: 54px;
    height: 54px;
    min-height: 54px;
  }

  .whatsapp-assistant-label {
    display: none !important;
  }

  .page-back-to-top {
    inset-inline-start: 12px;
    inset-block-end: calc(80px + env(safe-area-inset-bottom));
    width: 42px;
    height: 42px;
  }

  .page-back-to-top span {
    display: none;
  }

  .smart-cta[data-cta-hint]::after {
    display: none;
  }
}

@media (max-width: 420px) {
  .home-section-nav a b {
    font-size: 0.67rem;
  }

  .snap-rail-mobile {
    grid-auto-columns: minmax(252px, 88vw);
  }

  .hero-jump-next small {
    display: none;
  }
}

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

  .smart-cta,
  .section-jump-next,
  .home-section-nav a,
  .whatsapp-assistant-toggle,
  .page-back-to-top {
    transition: none !important;
  }
}

/* Consistent feedback for every public action button. */
.site-body .btn:not(:disabled),
.site-body button:not(:disabled),
.site-body a[class$="-button"] {
  -webkit-tap-highlight-color: transparent;
}

.site-body .btn:not(:disabled):hover,
.site-body .btn:not(:disabled):focus-visible {
  transform: translateY(-2px) scale(1.018);
}

.site-body .btn:active:not(:disabled),
.site-body button:active:not(:disabled),
.site-body a[class$="-button"]:active {
  transform: translateY(0) scale(0.98);
}

/* ========================================================================== 
   ElectronVolt Phase 04.1 — one-section home deck and restrained guidance
   ========================================================================== */
.home-content-deck {
  position: relative;
  background: var(--surface, #fff);
}

.home-content-panels {
  position: relative;
  min-width: 0;
}

.home-content-deck.is-enhanced .home-content-panels > [data-home-section] {
  display: none !important;
}

.home-content-deck.is-enhanced .home-content-panels > [data-home-section].is-active {
  display: block !important;
  animation: home-panel-enter 260ms ease both;
}

@keyframes home-panel-enter {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.home-section-nav {
  z-index: 210;
}

.home-section-nav a.is-active {
  transform: translateY(-1px);
}

.home-section-nav a.is-active > span {
  box-shadow: 0 0 0 5px rgba(246, 199, 0, 0.13);
}

/* Only one CTA is suggested at a time. */
.smart-cta.is-suggested {
  filter: brightness(1.05);
  box-shadow: 0 18px 42px rgba(201, 160, 0, 0.29);
  transform: translateY(-3px) scale(1.035);
}

.smart-cta.is-suggested::before {
  opacity: 1;
  transform: scale(1.04);
}

.smart-cta.is-suggested[data-cta-hint]::after {
  opacity: 1;
  translate: -50% 0;
}

/* The WhatsApp affordance is an assistant, not a dominant banner. */
.whatsapp-assistant-toggle {
  width: 48px;
  height: 48px;
  min-height: 48px;
  border-width: 1px;
  box-shadow: 0 9px 24px rgba(8, 104, 52, 0.25);
}

.whatsapp-assistant-toggle svg {
  width: 26px;
  height: 26px;
}

.whatsapp-assistant-toggle::after {
  inset: -5px;
}

.whatsapp-assistant-panel {
  box-shadow: 0 22px 55px rgba(4, 12, 9, 0.25);
}

/* Compact the first viewport without changing the identity. */
.phase4-home-hero .decision-hero-layout {
  min-height: clamp(560px, 72vh, 720px);
}

.phase4-home-hero .decision-copy p {
  max-width: 680px;
}

.phase4-compact-section {
  min-height: 0;
}

.home-content-deck.is-enhanced .phase4-compact-section {
  padding-block: clamp(42px, 5vw, 72px) !important;
}

.home-content-deck.is-enhanced .section-jump-next {
  margin-top: clamp(20px, 3vw, 34px);
}

@media (max-width: 760px) {
  .phase4-home-hero .decision-hero-layout {
    min-height: auto;
    padding-block: 30px 58px;
    gap: 18px;
  }

  .phase4-home-hero .decision-copy h1 {
    font-size: clamp(2rem, 9.2vw, 2.7rem);
    line-height: 1.08;
  }

  .phase4-home-hero .decision-copy p {
    margin-block: 10px 16px;
  }

  .phase4-home-hero .hero-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .phase4-home-hero .hero-actions .btn {
    width: 100%;
    min-width: 0;
    padding-inline: 10px;
  }

  .phase4-home-hero .hero-actions .btn-ghost {
    grid-column: 1 / -1;
    justify-self: center;
    width: auto;
    min-height: 34px;
  }

  .phase4-home-hero .hero-decision-panel {
    padding: 16px;
  }

  .phase4-home-hero .decision-panel-head {
    margin-bottom: 10px;
  }

  .phase4-home-hero .decision-panel-head p {
    display: none;
  }

  .phase4-home-hero .decision-actions-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px;
  }

  .phase4-home-hero .decision-actions-grid > a {
    min-height: 78px;
    padding: 10px;
  }

  .phase4-home-hero .decision-actions-grid > a small {
    font-size: 0.66rem;
  }

  .home-content-deck.is-enhanced .phase4-compact-section {
    padding-block: 34px !important;
  }

  .home-content-deck.is-enhanced .gateway-heading,
  .home-content-deck.is-enhanced .section-heading {
    margin-bottom: 18px;
  }

  .home-content-deck.is-enhanced .gateway-heading h2,
  .home-content-deck.is-enhanced .section-heading h2,
  .home-content-deck.is-enhanced .quick-request-copy h2 {
    font-size: clamp(1.75rem, 7.8vw, 2.2rem);
  }

  .home-section-nav {
    position: sticky;
    top: 0;
  }

  .home-section-nav-inner {
    scroll-snap-type: inline mandatory;
  }

  .home-section-nav a {
    scroll-snap-align: center;
  }

  .whatsapp-assistant-toggle {
    width: 44px;
    height: 44px;
    min-height: 44px;
  }

  .whatsapp-assistant-toggle svg {
    width: 23px;
    height: 23px;
  }

  .smart-cta.is-suggested[data-cta-hint]::after {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-content-deck.is-enhanced .home-content-panels > [data-home-section].is-active {
    animation: none;
  }

  .smart-cta.is-suggested {
    transform: none;
  }
}

/* Keep the section switcher below the sticky site header. */
.home-content-deck {
  scroll-margin-top: var(--ev-header-height, 76px);
}

.home-section-nav {
  inset-block-start: var(--ev-header-height, 76px);
}

@media (max-width: 820px) {
  .home-content-deck {
    scroll-margin-top: var(--ev-header-height, 70px);
  }

  .home-section-nav {
    top: var(--ev-header-height, 70px);
  }
}
