:root {
  --bg: #fffaf6;
  --surface: #ffffff;
  --surface-2: #f4eee9;
  --text: #241b17;
  --muted: #75665f;
  --line: #eaded6;
  --brand: #f36b2b;
  --brand-2: #ff9a3d;
  --dark: #120e0c;
  --shadow: 0 18px 50px rgba(48, 26, 14, 0.12);
  --radius: 24px;
}

html[data-theme="dark"] {
  --bg: #100d0b;
  --surface: #1b1613;
  --surface-2: #241c18;
  --text: #fff9f4;
  --muted: #baa9a0;
  --line: #352a25;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 118px;
}
body {
  margin: 0;
  overflow-x: clip;
  background: var(--bg);
  color: var(--text);
  font-family: "Cairo", Tahoma, Arial, sans-serif;
  line-height: 1.75;
  transition:
    background 0.25s ease,
    color 0.25s ease;
}
body.modal-open {
  overflow: hidden;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
textarea,
select {
  font: inherit;
}
button {
  cursor: pointer;
}
button,
a,
input,
textarea,
select {
  -webkit-tap-highlight-color: transparent;
}
:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--brand) 70%, #fff);
  outline-offset: 3px;
}
.container {
  width: min(1180px, calc(100% - 32px));
  margin-inline: auto;
}
.skip-link {
  position: fixed;
  top: -80px;
  right: 16px;
  z-index: 999;
  background: var(--dark);
  color: #fff;
  padding: 10px 18px;
  border-radius: 12px;
}
.skip-link:focus {
  top: 10px;
}

.topbar {
  background: linear-gradient(90deg, #ed5a20, var(--brand-2));
  color: #fff;
  font-size: 13px;
  font-weight: 800;
}
.topbar .container {
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.nav {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 240px;
}
.brand-mark {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  flex: 0 0 54px;
  overflow: hidden;
  color: transparent;
  border-radius: 10px;
  background: transparent;
  box-shadow: none;
  font-size: 0;
}
.brand-mark::before {
  content: "";
  width: 100%;
  height: 100%;
  background: url("../brand/fakhama-emblem-512.png") center / contain no-repeat;
}
.brand strong {
  display: block;
  font-size: 18px;
  line-height: 1.2;
}
.brand small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 14px;
  font-weight: 800;
}
.nav-links a {
  position: relative;
  color: var(--muted);
  transition: color 0.2s ease;
}
.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--brand);
}
.nav-links a[aria-current="page"]::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: -10px;
  height: 2px;
  background: var(--brand);
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 9px;
  flex: 0 0 auto;
}
.icon-btn {
  width: 43px;
  height: 43px;
  display: grid;
  place-items: center;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 50%;
}
.menu-btn {
  display: none;
}

.btn {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 24px;
  border: 0;
  border-radius: 14px;
  font-weight: 900;
  max-width: 100%;
  text-align: center;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}
.btn:hover {
  transform: translateY(-2px);
}
.btn-brand {
  color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  box-shadow: 0 13px 30px rgba(243, 107, 43, 0.26);
}
.btn-whatsapp {
  color: #fff;
  background: #20b95a;
  box-shadow: 0 13px 30px rgba(32, 185, 90, 0.22);
}
.btn-outline {
  color: inherit;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
}
.btn-sm {
  min-height: 43px;
  padding: 9px 18px;
  border-radius: 999px;
  font-size: 13px;
}

.hero {
  min-height: 88vh;
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
  background: #0d0907;
  color: #fff;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 47%;
  opacity: 0.74;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.62),
    rgba(14, 7, 3, 0.54) 45%,
    #100b08 100%
  );
}
.hero-content {
  max-width: 900px;
  margin-inline: auto;
  padding: 115px 0 95px;
  text-align: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 15px;
  border: 1px solid rgba(255, 140, 73, 0.35);
  border-radius: 999px;
  color: #ffc09d;
  background: rgba(243, 107, 43, 0.15);
  font-size: 13px;
  font-weight: 900;
}
.hero h1 {
  margin: 25px 0 18px;
  font-size: clamp(39px, 6.2vw, 78px);
  line-height: 1.16;
  letter-spacing: -0.04em;
}
.gradient-text {
  display: block;
  color: transparent;
  background: linear-gradient(90deg, #ff6b35, #ffba66, #ff6b35);
  background-clip: text;
  -webkit-background-clip: text;
}
.hero-lead {
  max-width: 780px;
  margin: 0 auto 12px;
  color: #f0e7e2;
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 700;
}
.hero-copy {
  max-width: 760px;
  margin: 0 auto 34px;
  color: #cabbb2;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 13px;
}

.section {
  padding: 92px 0;
}
.section-alt {
  background: var(--surface-2);
}
.section-dark {
  background: #100d0b;
  color: #fff;
}
.section-head {
  max-width: 760px;
  margin: 0 auto 48px;
  text-align: center;
}
.section-head h2,
.page-hero h1 {
  margin: 0 0 13px;
  font-size: clamp(34px, 5vw, 57px);
  line-height: 1.25;
  letter-spacing: -0.035em;
}
.section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}
.accent {
  color: var(--brand);
}
.grid {
  display: grid;
  gap: 24px;
}
.grid > *,
.split > *,
.contact-grid > *,
.product-block > *,
.service-showcase > * {
  min-width: 0;
}
.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 8px 28px rgba(50, 30, 20, 0.05);
}
.card-pad {
  padding: 30px;
}
.card h3 {
  margin: 0 0 8px;
  font-size: 21px;
}
.card p {
  color: var(--muted);
  margin: 0;
}
.icon-box {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 18px;
  color: #fff;
  background: var(--brand);
  font-size: 27px;
}

.category-card {
  position: relative;
  height: 400px;
  overflow: hidden;
  border-radius: 26px;
  color: #fff;
  box-shadow: var(--shadow);
}
.category-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.65s ease;
}
.category-card:hover img {
  transform: scale(1.06);
}
.category-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    0deg,
    rgba(7, 3, 1, 0.94),
    rgba(7, 3, 1, 0.08) 72%
  );
}
.category-copy {
  position: absolute;
  z-index: 2;
  inset-inline: 25px;
  bottom: 24px;
}
.category-copy h3 {
  margin: 0 0 4px;
  font-size: 24px;
}
.category-copy p {
  margin: 0;
  color: #e8ddd7;
  font-size: 14px;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 56px;
}
.split.reverse .split-media {
  order: 2;
}
.split-media {
  position: relative;
  overflow: hidden;
  border-radius: 30px;
  box-shadow: var(--shadow);
}
.split-media img {
  width: 100%;
  height: 520px;
  object-fit: cover;
}
.split-copy h2 {
  margin: 0 0 18px;
  font-size: clamp(32px, 4.3vw, 54px);
  line-height: 1.25;
}
.split-copy p {
  color: var(--muted);
  font-size: 18px;
}
.ticks {
  padding: 0;
  margin: 25px 0;
  list-style: none;
  display: grid;
  gap: 12px;
}
.ticks li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
}
.ticks li::before {
  content: "✓";
  width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(243, 107, 43, 0.12);
  color: var(--brand);
}

.product-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 45px;
  margin-bottom: 80px;
}
.product-block:nth-child(even) .product-photo {
  order: 2;
}
.product-photo {
  position: relative;
  overflow: hidden;
  border-radius: 25px;
  box-shadow: var(--shadow);
}
.product-photo img {
  width: 100%;
  height: 480px;
  object-fit: cover;
}
.tag {
  display: inline-block;
  padding: 6px 13px;
  margin-bottom: 13px;
  border-radius: 999px;
  color: #fff;
  background: var(--brand);
  font-size: 12px;
  font-weight: 900;
}
.product-copy h3 {
  margin: 0 0 12px;
  font-size: 34px;
}
.product-copy > p {
  color: var(--muted);
  font-size: 17px;
}
.specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 22px;
  margin: 23px 0;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 18px;
}
.specs b {
  display: block;
  color: var(--brand);
  font-size: 12px;
}

.service-sections {
  background:
    radial-gradient(circle at 8% 8%, rgba(243, 107, 43, 0.08), transparent 25%),
    var(--bg);
}
.service-jump-links {
  position: sticky;
  top: 120px;
  z-index: 20;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  max-width: 980px;
  margin: -18px auto 52px;
  padding: 13px;
  background: color-mix(in srgb, var(--surface) 94%, transparent);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 14px 35px rgba(45, 25, 15, 0.1);
  backdrop-filter: blur(12px);
}
.service-jump-links a {
  padding: 8px 15px;
  color: var(--muted);
  background: var(--surface-2);
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
  transition: 0.2s ease;
}
.service-jump-links a:hover {
  color: #fff;
  background: var(--brand);
  transform: translateY(-1px);
}
.service-showcase {
  scroll-margin-top: 190px;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: 44px;
  padding: 44px;
  margin-bottom: 46px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 32px;
  box-shadow: var(--shadow);
}
.service-showcase:nth-of-type(even) .service-visuals {
  order: -1;
}
.service-details {
  position: relative;
}
.service-number {
  position: absolute;
  top: -28px;
  left: 0;
  color: rgba(243, 107, 43, 0.12);
  font-size: 86px;
  font-weight: 900;
  line-height: 1;
}
.service-details h2 {
  position: relative;
  margin: 0 0 14px;
  font-size: clamp(29px, 3.2vw, 43px);
  line-height: 1.3;
}
.service-details > p {
  color: var(--muted);
  font-size: 16px;
}
.service-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 16px;
  padding: 0;
  margin: 24px 0;
  list-style: none;
}
.service-features li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 14px;
  font-weight: 800;
}
.service-features li::before {
  content: "✓";
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  color: var(--brand);
  background: rgba(243, 107, 43, 0.12);
  border-radius: 50%;
  font-size: 12px;
}
.service-visuals {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  grid-template-rows: repeat(2, 218px);
  gap: 12px;
}
.service-image {
  position: relative;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  margin: 0;
  background: #150e0b;
  border-radius: 20px;
}
.service-image-main {
  grid-row: 1 / 3;
}
.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
}
.service-image:hover img {
  transform: scale(1.05);
}
.service-image figcaption {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  padding: 35px 15px 12px;
  color: #fff;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.82), transparent);
  font-size: 12px;
  font-weight: 800;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.gallery-item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1/1;
  padding: 0;
  border: 0;
  border-radius: 22px;
  background: #130b08;
  box-shadow: var(--shadow);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.gallery-item:hover img {
  transform: scale(1.06);
}
.gallery-caption {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  padding: 42px 20px 19px;
  color: #fff;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.9), transparent);
  text-align: right;
}
.gallery-caption b {
  display: block;
}
.gallery-caption small {
  color: #ffb88c;
}
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  place-items: center;
  padding: 24px;
  background: rgba(0, 0, 0, 0.9);
}
.lightbox.open {
  display: grid;
}
.lightbox img {
  max-width: min(100%, 1100px);
  max-height: 86vh;
  border-radius: 18px;
}
.lightbox-close {
  position: absolute;
  top: 20px;
  left: 20px;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  font-size: 28px;
}

.rating {
  color: #ff9c33;
  letter-spacing: 2px;
  font-size: 21px;
}
.testimonial p {
  min-height: 110px;
  color: var(--text);
  font-size: 17px;
}
.person {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
}
.avatar {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  color: var(--brand);
  background: rgba(243, 107, 43, 0.14);
  border-radius: 50%;
  font-size: 20px;
  font-weight: 900;
}
.person small {
  display: block;
  color: var(--brand);
}

.faq-list {
  max-width: 880px;
  margin-inline: auto;
  overflow: hidden;
}
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-item:last-child {
  border-bottom: 0;
}
.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 23px 0;
  border: 0;
  color: var(--text);
  background: transparent;
  text-align: right;
  font-size: 18px;
  font-weight: 900;
}
.faq-question span:last-child {
  color: var(--brand);
  font-size: 23px;
}
.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.28s ease;
}
.faq-answer > div {
  overflow: hidden;
}
.faq-answer p {
  margin: 0;
  padding: 0 0 23px;
  color: var(--muted);
}
.faq-item.open .faq-answer {
  grid-template-rows: 1fr;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 28px;
}
.contact-list {
  display: grid;
  gap: 14px;
}
.contact-card {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 20px;
}
.contact-card .icon-box {
  flex: 0 0 52px;
  width: 52px;
  height: 52px;
  margin: 0;
}
.contact-card b,
.contact-card span {
  display: block;
}
.contact-card span {
  color: var(--muted);
  font-size: 14px;
}
.form-card {
  padding: 32px;
}
.field {
  display: grid;
  gap: 7px;
  margin-bottom: 16px;
}
.field label {
  font-weight: 800;
}
.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 13px 15px;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 13px;
  outline: none;
}
.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(243, 107, 43, 0.12);
}
.map {
  margin-top: 28px;
  overflow: hidden;
  border-radius: 25px;
  border: 1px solid var(--line);
}
.map iframe {
  display: block;
  width: 100%;
  height: 430px;
  border: 0;
}

.page-hero {
  position: relative;
  overflow: hidden;
  min-height: 460px;
  display: grid;
  place-items: center;
  color: #fff;
  background: #130c08;
  text-align: center;
}
.page-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.32;
}
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.44), #130c08);
}
.page-hero .container {
  position: relative;
  z-index: 2;
  max-width: 850px;
  padding: 70px 0;
}
.page-hero p {
  color: #d6c7be;
  font-size: 19px;
}
.breadcrumbs {
  position: relative;
  z-index: 3;
  padding-top: 18px;
}
.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 0;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  list-style: none;
}
.breadcrumbs li + li::before {
  content: "/";
  margin-inline-end: 8px;
  color: var(--brand);
}
.breadcrumbs a:hover {
  color: var(--brand);
}
.comparison {
  width: 100%;
  border-collapse: collapse;
  background: #17110e;
  color: #fff;
  border-radius: 22px;
  overflow: hidden;
}
.comparison th,
.comparison td {
  padding: 19px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  text-align: right;
}
.comparison th:nth-child(2),
.comparison td:nth-child(2) {
  color: #ff9a5c;
  font-weight: 800;
}
.table-wrap {
  overflow-x: auto;
  border-radius: 22px;
}

.cta {
  position: relative;
  overflow: hidden;
  padding: 88px 0;
  color: #fff;
  background:
    radial-gradient(
      circle at 20% 30%,
      rgba(243, 107, 43, 0.28),
      transparent 32%
    ),
    #110d0b;
  text-align: center;
}
.cta h2 {
  margin: 0 0 12px;
  font-size: clamp(35px, 5vw, 58px);
}
.cta p {
  max-width: 700px;
  margin: 0 auto 28px;
  color: #c7b7af;
  font-size: 18px;
}
.site-footer {
  padding: 65px 0 22px;
  color: #d5c8c0;
  background: #0d0a08;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.7fr 1fr 1fr;
  gap: 48px;
}
.footer-title {
  color: #fff;
  font-size: 18px;
  font-weight: 900;
}
.footer-brand {
  color: #fff;
}
.text-on-dark-muted {
  color: #baa9a0 !important;
}
.notfound-center {
  position: relative;
  z-index: 2;
}
.not-found-page {
  min-height: 100dvh;
}
.not-found-page .container {
  position: relative;
  z-index: 2;
}
.footer-links {
  padding: 0;
  list-style: none;
}
.footer-links li {
  margin: 10px 0;
}
.footer-links a:hover {
  color: var(--brand);
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 24px;
  margin-top: 38px;
  border-top: 1px solid #29201b;
  color: #887a72;
  font-size: 13px;
}
.credit {
  color: #bdaea6;
}
.credit a {
  color: #ff9c61;
  font-weight: 900;
}

.floating {
  position: fixed;
  z-index: 70;
  bottom: 18px;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  color: #fff;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
  font-size: 25px;
}
.floating-wa {
  right: 18px;
  background: #20b95a;
}
.floating-call {
  left: 18px;
  background: var(--brand);
}
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 980px) {
  .site-header {
    background: var(--bg);
    backdrop-filter: none;
  }
  .nav {
    flex-wrap: wrap;
    gap: 0 14px;
  }
  .nav .brand {
    order: 1;
  }
  .nav-actions {
    order: 2;
  }
  .nav-links {
    display: none;
    position: static;
    flex: 0 0 100%;
    width: 100%;
    order: 3;
    max-height: calc(100dvh - 112px);
    overscroll-behavior: contain;
    overflow-y: auto;
    padding: 8px 0 16px;
    background: var(--bg);
    border-top: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .nav-links.open {
    display: flex;
  }
  .nav-links a {
    padding: 13px 15px;
    border-bottom: 1px solid var(--line);
    border-radius: 10px;
  }
  .nav-links a:last-child {
    border-bottom: 0;
  }
  .nav-links a:hover {
    background: var(--surface-2);
  }
  .nav-links a[aria-current="page"] {
    color: #fff;
    background: var(--brand);
  }
  .nav-links a[aria-current="page"]::after {
    display: none;
  }
  .menu-btn {
    display: grid;
  }
  .desktop-wa {
    display: none;
  }
  .grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .split,
  .product-block,
  .service-showcase,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .split.reverse .split-media,
  .product-block:nth-child(even) .product-photo {
    order: initial;
  }
  .service-showcase:nth-of-type(even) .service-visuals {
    order: initial;
  }
  .service-jump-links {
    top: 116px;
  }
  .gallery {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-about {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 24px, 1180px);
  }
  .topbar .container {
    min-height: 42px;
    font-size: 10px;
    gap: 8px;
  }
  .topbar span {
    max-width: 64%;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
  }
  .topbar a {
    flex: 0 0 auto;
    white-space: nowrap;
  }
  .brand {
    flex: 1 1 auto;
    max-width: calc(100% - 92px);
    min-width: 0;
    gap: 8px;
  }
  .brand-mark {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
  }
  .brand strong {
    overflow: hidden;
    font-size: clamp(12px, 3.8vw, 15px);
    white-space: nowrap;
    text-overflow: ellipsis;
  }
  .brand small {
    display: none;
  }
  .nav {
    min-height: 70px;
    column-gap: 8px;
  }
  .nav-actions {
    gap: 5px;
  }
  .icon-btn {
    width: 39px;
    height: 39px;
  }
  .hero {
    min-height: 780px;
  }
  .hero-content {
    padding: 95px 0 76px;
  }
  .hero h1 {
    font-size: 42px;
  }
  .hero-actions .btn {
    width: 100%;
  }
  .section {
    padding: 68px 0;
  }
  .service-jump-links {
    position: static;
    justify-content: flex-start;
    margin-bottom: 32px;
    padding: 10px;
  }
  .service-showcase {
    scroll-margin-top: 125px;
    gap: 28px;
    padding: 22px;
    margin-bottom: 28px;
    border-radius: 24px;
  }
  .service-features {
    grid-template-columns: 1fr;
  }
  .service-visuals {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: minmax(240px, 82vw) 160px;
  }
  .service-image-main {
    grid-column: 1 / 3;
    grid-row: auto;
  }
  .grid-2,
  .grid-3,
  .grid-4,
  .gallery,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .category-card {
    height: 360px;
  }
  .split-media img,
  .product-photo img {
    height: 390px;
  }
  .specs {
    grid-template-columns: 1fr;
  }
  .gallery-item {
    aspect-ratio: 4/5;
  }
  .footer-about {
    grid-column: auto;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  .page-hero {
    min-height: 410px;
  }
  .page-hero .container {
    padding: 52px 0;
  }
  .page-hero p,
  .section-head p {
    font-size: 16px;
  }
  .card-pad,
  .form-card {
    padding: 22px;
  }
  .contact-card {
    padding: 18px;
  }
  .contact-card > span:last-child,
  .footer-grid,
  .footer-grid * {
    min-width: 0;
  }
  .contact-card span,
  .footer-grid a {
    overflow-wrap: anywhere;
  }
  .floating {
    bottom: max(14px, env(safe-area-inset-bottom));
    width: 52px;
    height: 52px;
    font-size: 22px;
  }
  .floating-wa {
    right: 12px;
  }
  .floating-call {
    left: 12px;
  }
  .comparison {
    min-width: 650px;
  }
}

@media (max-width: 340px) {
  .nav-actions [data-theme-toggle] {
    display: none;
  }
  .brand {
    max-width: calc(100% - 48px);
  }
  .hero h1 {
    font-size: 36px;
  }
  .service-showcase {
    padding: 17px;
  }
}

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