/*
Theme Name: Yasser El Naggar Contractors
Author: Yasser El Naggar
Description: Modern Arabic RTL WordPress theme for مكتب ياسر النجار للمقاولات العامة والتشطيبات.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
Text Domain: yasser-elnaggar
*/

:root {
  --yellow: #f5d300;
  --black: #0a0a0a;
  --off-white: #f6f6f4;
  --steel: #6f7276;
  --concrete: #d9d9d6;
  --white: #ffffff;
  --ink: #171717;
  --line: rgba(10, 10, 10, 0.12);
  --shadow: 0 24px 80px rgba(10, 10, 10, 0.13);
  --container: min(1180px, calc(100vw - 32px));
  --header-height: 76px;
  --font-arabic: "Alexandria", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-md: 1.125rem;
  --text-lg: 1.25rem;
  --text-xl: 1.5rem;
  --text-2xl: 1.875rem;
  --text-3xl: 2.25rem;
  --text-4xl: 3rem;
  --text-5xl: 3.5rem;
  --leading-tight: 1.18;
  --leading-heading: 1.32;
  --leading-body: 1.9;
  --tracking: 0;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  direction: rtl;
  color: var(--ink);
  background: var(--off-white);
  font-family: var(--font-arabic);
  font-size: var(--text-base);
  font-weight: 400;
  line-height: var(--leading-body);
  letter-spacing: var(--tracking);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.menu-open {
  overflow: hidden;
}

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

h1,
h2,
h3,
h4,
h5,
h6 {
  margin-block: 0 0.55em;
  color: inherit;
  font-weight: 900;
  line-height: var(--leading-heading);
  letter-spacing: var(--tracking);
  text-wrap: balance;
}

h1 {
  font-size: var(--text-5xl);
}

h2 {
  font-size: var(--text-4xl);
}

h3 {
  font-size: var(--text-2xl);
}

h4 {
  font-size: var(--text-xl);
}

h5 {
  font-size: var(--text-lg);
}

h6 {
  font-size: var(--text-base);
}

p {
  margin-block: 0 1.1em;
}

p,
li,
dd,
figcaption {
  max-width: 72ch;
}

ul,
ol {
  margin-block: 0 1.35em;
  padding-inline-start: 1.3em;
}

li + li {
  margin-block-start: 0.35em;
}

strong,
b {
  font-weight: 900;
}

small,
.has-small-font-size {
  font-size: var(--text-sm);
  line-height: 1.75;
}

mark {
  padding-inline: 0.18em;
  color: var(--black);
  background: var(--yellow);
}

blockquote {
  margin: 32px 0;
  padding: 22px 26px;
  color: var(--ink);
  background: var(--off-white);
  border-inline-start: 4px solid var(--yellow);
  font-size: var(--text-md);
  font-weight: 600;
  line-height: 1.9;
}

blockquote p:last-child {
  margin-block-end: 0;
}

figcaption,
.wp-caption-text {
  margin-block-start: 10px;
  color: var(--steel);
  font-size: var(--text-sm);
  line-height: 1.7;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--text-sm);
  line-height: 1.8;
}

th,
td {
  padding: 14px 16px;
  text-align: start;
  border: 1px solid rgba(10, 10, 10, 0.1);
}

th {
  color: var(--black);
  background: var(--concrete);
  font-weight: 900;
}

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

a:hover {
  color: inherit;
}

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

.site-shell {
  overflow: hidden;
}

.container {
  width: var(--container);
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  inset-block-start: 12px;
  inset-inline-start: 12px;
  z-index: 200;
  padding: 10px 14px;
  color: var(--black);
  background: var(--yellow);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  inset-block-start: 0;
  z-index: 100;
  min-height: var(--header-height);
  color: var(--white);
  background: rgba(10, 10, 10, 0.96);
  border-block-end: 1px solid rgba(245, 211, 0, 0.2);
  backdrop-filter: blur(14px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  min-height: var(--header-height);
}

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

.brand-mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  color: var(--black);
  background: var(--yellow);
  font-weight: 900;
  font-size: var(--text-md);
  letter-spacing: 0;
  clip-path: polygon(0 0, 100% 0, 100% 74%, 74% 100%, 0 100%);
}

.brand-logo {
  width: auto;
  max-width: 168px;
  max-height: 52px;
  object-fit: contain;
}

.brand-text {
  display: grid;
  gap: 1px;
}

.brand-name {
  display: block;
  font-size: var(--text-base);
  font-weight: 900;
  line-height: 1.35;
}

.brand-subtitle {
  display: block;
  color: rgba(255, 255, 255, 0.66);
  font-size: var(--text-xs);
  font-weight: 500;
  line-height: 1.4;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 2px;
}

.primary-nav a {
  position: relative;
  padding: 25px 10px 22px;
  color: rgba(255, 255, 255, 0.82);
  font-size: var(--text-sm);
  font-weight: 800;
  line-height: 1.35;
  white-space: nowrap;
  transition: color 180ms ease;
}

.primary-nav a::after {
  position: absolute;
  inset-inline: 12px;
  inset-block-end: 16px;
  height: 2px;
  content: "";
  background: var(--yellow);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.primary-nav a:hover,
.primary-nav a.is-active {
  color: var(--white);
}

.primary-nav a:hover::after,
.primary-nav a.is-active::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  color: var(--white);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 13px 22px;
  color: var(--black);
  background: var(--yellow);
  border: 1px solid var(--yellow);
  border-radius: 0;
  cursor: pointer;
  font-size: var(--text-sm);
  font-weight: 900;
  line-height: 1.25;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.button .icon,
.text-link .icon {
  width: 18px;
  height: 18px;
}

.button svg,
.text-link svg,
.meta-icon svg,
.contact-icon svg,
.social-links svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-linecap: square;
  stroke-linejoin: miter;
  stroke-width: 1.8;
}

.button:hover {
  transform: translateY(-2px);
  background: #ffe13a;
}

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

.button.secondary:hover {
  color: var(--black);
  background: var(--white);
}

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

.button.ghost {
  color: var(--black);
  background: transparent;
  border-color: rgba(10, 10, 10, 0.22);
}

.section {
  padding-block: 104px;
}

.section.dark {
  color: var(--white);
  background-color: var(--black);
}

.section.light {
  background: var(--white);
}

.section.concrete {
  background:
    linear-gradient(rgba(10, 10, 10, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10, 10, 10, 0.025) 1px, transparent 1px),
    var(--off-white);
  background-size: 36px 36px;
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-block-end: 14px;
  color: var(--steel);
  font-size: var(--text-xs);
  font-weight: 900;
  line-height: 1.6;
}

.section-kicker::before {
  width: 34px;
  height: 2px;
  content: "";
  background: var(--yellow);
}

.dark .section-kicker {
  color: rgba(255, 255, 255, 0.7);
}

.section-heading {
  max-width: 760px;
  margin: 0;
  color: inherit;
  font-size: var(--text-4xl);
  font-weight: 900;
  line-height: var(--leading-heading);
}

.section-copy {
  max-width: 720px;
  margin: 18px 0 0;
  color: var(--steel);
  font-size: var(--text-md);
  line-height: var(--leading-body);
}

.dark .section-copy {
  color: rgba(255, 255, 255, 0.72);
}

.hero {
  position: relative;
  min-height: calc(100svh - var(--header-height));
  display: grid;
  align-items: end;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(10, 10, 10, 0.4), rgba(10, 10, 10, 0.92) 58%),
    linear-gradient(rgba(245, 211, 0, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245, 211, 0, 0.08) 1px, transparent 1px),
    var(--home-hero-image, none) center / cover;
  background-blend-mode: normal, screen, screen, normal;
}

.hero::after {
  position: absolute;
  inset-inline-start: 0;
  inset-block-start: 0;
  width: min(42vw, 520px);
  height: 100%;
  content: "";
  background: linear-gradient(135deg, rgba(245, 211, 0, 0.18), transparent 62%);
  clip-path: polygon(0 0, 100% 0, 64% 100%, 0 100%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  padding-block: 128px 54px;
}

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

.hero h1 {
  margin: 0;
  font-size: var(--text-5xl);
  font-weight: 900;
  line-height: var(--leading-tight);
}

.hero p {
  max-width: 720px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: var(--text-lg);
  line-height: 1.9;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-block-start: 34px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-block-start: 84px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.stat-card {
  padding: 26px 22px;
  background: rgba(10, 10, 10, 0.72);
}

.stat-card strong {
  display: block;
  color: var(--yellow);
  font-size: var(--text-4xl);
  font-weight: 900;
  line-height: 1;
}

.stat-card span {
  display: block;
  margin-block-start: 8px;
  color: rgba(255, 255, 255, 0.74);
  font-size: var(--text-sm);
  font-weight: 800;
  line-height: 1.55;
}

.split-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 72px;
  align-items: center;
}

.media-panel {
  position: relative;
  min-height: 520px;
  background: var(--black);
  overflow: hidden;
}

.media-panel img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
  opacity: 0.82;
}

.media-panel::before {
  position: absolute;
  inset-inline-start: 0;
  inset-block-start: 0;
  width: 42%;
  height: 100%;
  content: "";
  background: rgba(245, 211, 0, 0.86);
  clip-path: polygon(0 0, 72% 0, 32% 100%, 0 100%);
  mix-blend-mode: multiply;
}

.feature-list {
  display: grid;
  gap: 14px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--steel);
}

.dark-panel .feature-list li {
  color: rgba(255, 255, 255, 0.74);
}

.feature-list li::before {
  flex: 0 0 auto;
  width: 12px;
  height: 12px;
  margin-block-start: 9px;
  content: "";
  background: var(--yellow);
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-block-start: 42px;
}

.service-card {
  position: relative;
  min-height: 286px;
  color: var(--white);
  background: var(--black);
  overflow: hidden;
  isolation: isolate;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.service-card-link {
  display: flex;
  flex-direction: column;
  min-height: 286px;
  padding: 28px;
  color: inherit;
  text-decoration: none;
}

.service-card::before {
  position: absolute;
  inset: 0;
  z-index: -2;
  content: "";
  background: var(--image) center / cover;
  opacity: 0.34;
  transition: transform 300ms ease, opacity 300ms ease;
}

.service-card::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background: linear-gradient(180deg, rgba(10, 10, 10, 0.2), rgba(10, 10, 10, 0.92));
}

.service-card:hover::before {
  transform: scale(1.06);
  opacity: 0.46;
}

.service-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-block-start: auto;
  padding-block-start: 24px;
  color: var(--yellow);
  font-size: var(--text-sm);
  font-weight: 900;
  line-height: 1.5;
}

.service-card-cta::before {
  width: 26px;
  height: 2px;
  content: "";
  background: currentColor;
}

.line-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-block-end: 54px;
  color: var(--yellow);
  border: 2px solid var(--yellow);
}

.line-icon svg {
  width: 27px;
  height: 27px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: square;
  stroke-linejoin: miter;
  stroke-width: 1.8;
}

.service-card h3,
.project-card h3,
.blog-card h3 {
  margin: 0;
  font-size: var(--text-xl);
  font-weight: 900;
  line-height: 1.45;
}

.service-card p {
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: var(--text-sm);
  line-height: 1.85;
}

.service-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-block-start: 38px;
}

.service-detail-card {
  padding: 26px;
  background: var(--white);
  border: 1px solid rgba(10, 10, 10, 0.1);
}

.service-detail-card .line-icon {
  margin-block-end: 26px;
}

.service-detail-card p {
  margin: 0;
  color: var(--black);
  font-size: var(--text-base);
  font-weight: 800;
  line-height: 1.8;
}

.service-stage-list {
  display: grid;
  gap: 14px;
  margin-block-start: 38px;
}

.service-stage-item {
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 18px;
  align-items: start;
  padding: 22px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.service-stage-item strong {
  color: var(--yellow);
  font-size: var(--text-2xl);
  font-weight: 900;
  line-height: 1;
}

.service-stage-item p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: var(--text-base);
  line-height: 1.85;
}

.service-faq-list {
  display: grid;
  gap: 12px;
  max-width: 940px;
  margin-block-start: 38px;
}

.service-faq-item {
  background: var(--white);
  border: 1px solid rgba(10, 10, 10, 0.1);
}

.service-faq-item[open] {
  border-color: rgba(245, 211, 0, 0.72);
  box-shadow: 0 18px 36px rgba(10, 10, 10, 0.08);
}

.service-faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 24px;
  color: var(--black);
  cursor: pointer;
  font-size: var(--text-lg);
  font-weight: 900;
  line-height: 1.6;
  list-style: none;
}

.service-faq-item summary::-webkit-details-marker {
  display: none;
}

.service-faq-item summary::after {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: var(--black);
  content: "+";
  background: var(--yellow);
  font-size: var(--text-xl);
  font-weight: 900;
  line-height: 1;
}

.service-faq-item[open] summary::after {
  content: "-";
}

.service-faq-item p {
  margin: 0;
  padding: 0 24px 24px;
  color: var(--steel);
  font-size: var(--text-base);
  line-height: var(--leading-body);
}

.service-article {
  margin-block-start: 24px;
}

.service-content-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.68fr) minmax(280px, 0.32fr);
  gap: 28px;
  align-items: start;
}

.service-content-layout .service-article {
  margin-block-start: 0;
}

.service-content-sidebar {
  position: sticky;
  top: calc(var(--header-height) + 24px);
  display: grid;
  gap: 16px;
}

.service-toc-card,
.service-sidebar-cta {
  padding: 24px;
  background: var(--white);
  border: 1px solid rgba(10, 10, 10, 0.1);
}

.service-toc-card h2,
.service-sidebar-cta h2 {
  margin: 0;
  color: var(--black);
  font-size: var(--text-lg);
  font-weight: 900;
  line-height: 1.45;
}

.service-toc-card ol {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: service-toc;
}

.service-toc-card li {
  counter-increment: service-toc;
}

.service-toc-card a {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 10px;
  align-items: start;
  color: var(--steel);
  font-size: var(--text-sm);
  font-weight: 800;
  line-height: 1.75;
  text-decoration: none;
}

.service-toc-card a::before {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  color: var(--black);
  content: counter(service-toc);
  background: var(--yellow);
  font-size: var(--text-xs);
  font-weight: 900;
}

.service-toc-card a:hover {
  color: var(--black);
}

.service-sidebar-cta {
  color: var(--white);
  background: var(--black);
  border-color: rgba(245, 211, 0, 0.24);
}

.service-sidebar-cta h2 {
  color: var(--white);
}

.service-sidebar-cta p {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: var(--text-sm);
  line-height: 1.85;
}

.service-sidebar-actions {
  display: grid;
  gap: 10px;
  margin-block-start: 20px;
}

.service-sidebar-actions .button {
  width: 100%;
}

.service-entry-content {
  width: 100%;
}

.service-entry-content h2 {
  position: relative;
  padding-block-start: 14px;
  border-block-start: 3px solid var(--yellow);
}

.service-entry-content h2:first-child {
  margin-block-start: 0;
}

.service-entry-content h3 {
  padding: 18px 20px;
  background: var(--off-white);
  border-inline-start: 4px solid var(--yellow);
}

.service-entry-content h3 + p {
  margin-block-start: 0.8em;
  padding-inline: 20px;
}

.service-entry-content p strong,
.service-entry-content li strong {
  color: var(--black);
  font-weight: 900;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-block-start: 36px;
}

.filter-button {
  min-height: 42px;
  padding: 9px 18px;
  color: var(--black);
  background: transparent;
  border: 1px solid rgba(10, 10, 10, 0.18);
  cursor: pointer;
  font-size: var(--text-sm);
  font-weight: 900;
  line-height: 1.35;
}

.filter-button.is-active,
.filter-button:hover {
  background: var(--yellow);
  border-color: var(--yellow);
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-block-start: 34px;
}

.project-card {
  background: var(--white);
  border: 1px solid rgba(10, 10, 10, 0.1);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.project-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.project-card img {
  width: 100%;
  aspect-ratio: 1.3;
  object-fit: cover;
}

.project-card-content {
  padding: 22px;
}

.meta-grid {
  display: grid;
  gap: 8px;
  margin: 18px 0;
  color: var(--steel);
  font-size: var(--text-sm);
  line-height: 1.7;
}

.meta-grid span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-block-end: 1px solid rgba(10, 10, 10, 0.08);
  padding-block-end: 8px;
}

.meta-grid span > b {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.meta-grid b {
  color: var(--black);
}

.meta-icon,
.contact-icon {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  color: var(--yellow);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--black);
  font-size: var(--text-sm);
  font-weight: 900;
  line-height: 1.45;
}

.text-link::before {
  width: 28px;
  height: 2px;
  content: "";
  background: var(--yellow);
}

.calculator-layout,
.form-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
  align-items: start;
  margin-block-start: 42px;
}

.home-conversion-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1.18fr);
  gap: 24px;
  align-items: start;
  margin-block-start: 42px;
}

.calculator-layout.is-single,
.form-layout.is-single,
.home-conversion-grid.is-single {
  grid-template-columns: 1fr;
}

.panel {
  padding: 38px;
  background: var(--white);
  border: 1px solid rgba(10, 10, 10, 0.1);
}

.panel.dark-panel {
  color: var(--white);
  background: var(--black);
  border-color: rgba(255, 255, 255, 0.12);
}

.fluent-form-panel h3 {
  margin-block-start: 0;
  font-size: var(--text-xl);
  font-weight: 900;
  line-height: 1.4;
}

.fluent-form-panel form {
  margin: 0;
}

.fluent-form-panel input,
.fluent-form-panel select,
.fluent-form-panel textarea {
  border-radius: 0 !important;
}

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

.form-field {
  display: grid;
  gap: 8px;
}

.form-field.full {
  grid-column: 1 / -1;
}

.form-field label {
  color: var(--black);
  font-size: var(--text-sm);
  font-weight: 800;
  line-height: 1.55;
}

.dark-panel .form-field label {
  color: rgba(255, 255, 255, 0.82);
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  color: var(--black);
  background: var(--off-white);
  border: 1px solid rgba(10, 10, 10, 0.14);
  border-radius: 0;
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.form-field textarea {
  min-height: 128px;
  resize: vertical;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--yellow);
  box-shadow: 0 0 0 3px rgba(245, 211, 0, 0.22);
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-block-start: 22px;
}

.estimate-result {
  display: grid;
  gap: 16px;
}

.estimate-value {
  color: var(--yellow);
  font-size: var(--text-5xl);
  font-weight: 900;
  line-height: 1.05;
}

.disclaimer {
  padding: 16px;
  color: rgba(255, 255, 255, 0.78);
  background: rgba(245, 211, 0, 0.08);
  border-inline-start: 4px solid var(--yellow);
  font-size: var(--text-sm);
  line-height: 1.85;
}

.yasser-calculator {
  display: grid;
  grid-template-columns: minmax(280px, 1.08fr) minmax(260px, 0.92fr);
  gap: 24px;
  align-items: stretch;
}

.home-conversion-grid:not(.is-single) .yasser-calculator {
  grid-template-columns: 1fr;
}

.calculator-inputs h3 {
  margin: 0 0 22px;
  font-size: var(--text-xl);
  font-weight: 900;
  line-height: 1.4;
}

.calculator-control {
  display: grid;
  gap: 14px;
  padding-block: 18px;
  border-block-start: 1px solid rgba(10, 10, 10, 0.08);
}

.calculator-control h4,
.calculator-control label {
  margin: 0;
  color: var(--black);
  font-weight: 900;
}

.calculator-control-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.calculator-control-head strong {
  color: var(--black);
  font-size: var(--text-lg);
  font-weight: 900;
  line-height: 1.25;
}

.calculator-range {
  width: 100%;
  accent-color: var(--yellow);
}

.range-limits {
  display: flex;
  justify-content: space-between;
  color: var(--steel);
  font-size: var(--text-sm);
  font-weight: 800;
  line-height: 1.5;
}

.finish-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

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

.finish-option {
  min-height: 96px;
  padding: 14px;
  color: var(--black);
  background: var(--off-white);
  border: 1px solid rgba(10, 10, 10, 0.14);
  cursor: pointer;
  text-align: right;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.finish-option span,
.finish-option strong {
  display: block;
}

.finish-option span {
  font-size: var(--text-base);
  font-weight: 900;
  line-height: 1.4;
}

.finish-option strong {
  margin-block-start: 8px;
  color: var(--steel);
  font-size: var(--text-sm);
  line-height: 1.55;
}

.finish-option:hover,
.finish-option.is-active {
  transform: translateY(-2px);
  background: rgba(245, 211, 0, 0.16);
  border-color: var(--yellow);
}

.finish-option.is-active::after {
  display: inline-block;
  margin-block-start: 8px;
  padding: 2px 7px;
  content: attr(data-selected-label);
  color: var(--black);
  background: var(--yellow);
  font-size: var(--text-xs);
  font-weight: 900;
}

.calculator-range-result {
  display: grid;
  gap: 6px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.calculator-range-result span {
  color: rgba(255, 255, 255, 0.66);
  font-size: var(--text-sm);
  font-weight: 800;
}

.calculator-range-result strong {
  color: var(--white);
  font-size: var(--text-lg);
  font-weight: 900;
  line-height: 1.35;
}

.calculator-notes {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: rgba(255, 255, 255, 0.72);
  font-size: var(--text-sm);
  line-height: 1.8;
}

.calculator-notes b {
  color: var(--white);
}

.calculator-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-block-start: 42px;
}

.brand-logos-section {
  border-block-start: 1px solid rgba(10, 10, 10, 0.06);
  border-block-end: 1px solid rgba(10, 10, 10, 0.06);
}

.brand-carousel {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 48px;
  gap: 12px;
  align-items: center;
  margin-block-start: 42px;
}

.brand-carousel-viewport {
  overflow: hidden;
}

.brand-carousel-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(170px, 1fr);
  gap: 14px;
  direction: ltr;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.brand-carousel-track::-webkit-scrollbar {
  display: none;
}

.brand-logo-card {
  display: grid;
  place-items: center;
  direction: rtl;
  min-height: 112px;
  padding: 18px;
  color: var(--black);
  background: var(--off-white);
  border: 1px solid rgba(10, 10, 10, 0.1);
  scroll-snap-align: start;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.brand-logo-card:hover {
  transform: translateY(-3px);
  background: var(--white);
  border-color: rgba(245, 211, 0, 0.9);
}

.brand-logo-card img {
  max-width: 132px;
  max-height: 58px;
  object-fit: contain;
  opacity: 0.82;
  transition: filter 180ms ease, opacity 180ms ease;
}

.brand-logo-card:hover img {
  filter: grayscale(0);
  opacity: 1;
}

.brand-logo-card span {
  color: var(--black);
  font-size: var(--text-lg);
  font-weight: 900;
  line-height: 1.3;
  text-align: center;
}

.carousel-control {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  color: var(--black);
  background: transparent;
  border: 1px solid rgba(10, 10, 10, 0.18);
  cursor: pointer;
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.carousel-control.next {
  transform: rotate(180deg);
}

.carousel-control:hover {
  background: var(--yellow);
  border-color: var(--yellow);
}

.carousel-control svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: square;
  stroke-linejoin: miter;
  stroke-width: 1.8;
}

.pricing-packages-grid {
  display: grid;
  grid-template-columns: repeat(var(--columns, 3), minmax(0, 1fr));
  gap: 22px;
  margin-block-start: 42px;
}

.pricing-package-card {
  position: relative;
  display: grid;
  background: var(--white);
  border: 1px solid rgba(10, 10, 10, 0.1);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.pricing-package-card:hover,
.pricing-package-card.is-featured {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: rgba(245, 211, 0, 0.8);
}

.pricing-package-badge {
  position: absolute;
  inset-block-start: 14px;
  inset-inline-start: 14px;
  z-index: 2;
  padding: 5px 10px;
  color: var(--black);
  background: var(--yellow);
  font-size: var(--text-xs);
  font-weight: 900;
  line-height: 1.4;
}

.pricing-package-image img {
  width: 100%;
  aspect-ratio: 1.45;
  object-fit: cover;
  filter: grayscale(0.75);
}

.pricing-package-content {
  margin-top:2rem;
  display: grid;
  gap: 16px;
  padding: 24px;
}

.pricing-package-content h3 {
  margin: 0;
  font-size: var(--text-xl);
  font-weight: 900;
  line-height: 1.45;
}

.pricing-package-desc {
  margin: 0;
  color: var(--steel);
  font-size: var(--text-sm);
  line-height: 1.85;
}

.pricing-package-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  color: var(--black);
}

.pricing-package-price strong {
  color: var(--yellow);
  font-size: var(--text-4xl);
  font-weight: 900;
  line-height: 1;
}

.pricing-package-price span {
  color: var(--steel);
  font-size: var(--text-sm);
  font-weight: 800;
  line-height: 1.45;
}

.pricing-package-features {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pricing-package-features li {
  display: flex;
  gap: 10px;
  color: var(--steel);
  font-size: var(--text-sm);
  line-height: 1.8;
}

.pricing-package-features li::before {
  flex: 0 0 auto;
  width: 10px;
  height: 10px;
  margin-block-start: 9px;
  content: "";
  background: var(--yellow);
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
}

.pricing-packages-empty {
  margin-block-start: 34px;
  padding: 24px;
  color: var(--steel);
  background: var(--white);
  border: 1px solid rgba(10, 10, 10, 0.1);
  font-size: var(--text-base);
  font-weight: 800;
  line-height: 1.8;
}

.blog-card {
  overflow: hidden;
  background: var(--white);
  border: 1px solid rgba(10, 10, 10, 0.1);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.blog-card:hover {
  transform: translateY(-4px);
  border-color: rgba(245, 211, 0, 0.72);
  box-shadow: 0 22px 46px rgba(10, 10, 10, 0.1);
}

.blog-card-link {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 24px;
  color: inherit;
  text-decoration: none;
}

.blog-card-image {
  margin: -24px -24px 20px;
  aspect-ratio: 16 / 9;
  background: var(--concrete);
}

.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.85);
}

.category-label {
  display: inline-flex;
  margin-block-end: 18px;
  padding: 5px 10px;
  color: var(--black);
  background: var(--yellow);
  font-size: var(--text-xs);
  font-weight: 900;
  line-height: 1.4;
}

.blog-card p {
  flex: 1;
  color: var(--steel);
  font-size: var(--text-sm);
  line-height: 1.85;
}

.reading-time {
  color: var(--steel);
  font-size: var(--text-xs);
  font-weight: 800;
  line-height: 1.5;
}

.pagination-links {
  margin-block-start: 34px;
}

.pagination-links .nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.pagination-links .page-numbers {
  display: inline-grid;
  place-items: center;
  min-width: 42px;
  min-height: 42px;
  padding: 8px 14px;
  color: var(--black);
  background: var(--white);
  border: 1px solid rgba(10, 10, 10, 0.12);
  font-size: var(--text-sm);
  font-weight: 900;
  text-decoration: none;
}

.pagination-links .page-numbers.current,
.pagination-links .page-numbers:hover {
  background: var(--yellow);
  border-color: var(--yellow);
}

.process-grid,
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-block-start: 42px;
}

.process-card,
.value-card {
  padding: 24px;
  color: var(--black);
  background: var(--white);
  border: 1px solid rgba(10, 10, 10, 0.1);
}

.process-card h3,
.value-card h3 {
  color: var(--black);
}

.process-card p,
.value-card p {
  color: var(--steel);
}

.process-number {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-block-end: 18px;
  color: var(--black);
  background: var(--yellow);
  font-weight: 900;
}

.page-hero {
  position: relative;
  padding-block: 118px;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(10, 10, 10, 0.52), rgba(10, 10, 10, 0.92)),
    linear-gradient(rgba(245, 211, 0, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245, 211, 0, 0.08) 1px, transparent 1px),
    var(--hero-image, none) center / cover;
}

.page-hero .section-heading {
  max-width: 900px;
}

.article-hero .section-heading {
  max-width: 980px;
}

.details-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 34px;
  align-items: start;
}

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

.gallery-grid img {
  width: 100%;
  aspect-ratio: 1.08;
  object-fit: cover;
}

.project-detail-shell {
  display: grid;
  gap: 28px;
}

.project-detail-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.project-detail-meta span {
  display: grid;
  gap: 6px;
  padding: 18px;
  color: var(--steel);
  background: var(--white);
  border: 1px solid rgba(10, 10, 10, 0.1);
  font-size: var(--text-sm);
  line-height: 1.7;
}

.project-detail-meta b {
  color: var(--black);
  font-size: var(--text-xs);
  font-weight: 900;
}

.project-detail-gallery {
  grid-template-columns: repeat(4, 1fr);
}

.project-gallery-link {
  position: relative;
  display: block;
  overflow: hidden;
  color: inherit;
  background: var(--black);
}

.project-gallery-link::after {
  position: absolute;
  inset: 12px;
  content: "";
  border: 1px solid rgba(245, 211, 0, 0);
  transition: border-color 180ms ease;
  pointer-events: none;
}

.project-gallery-link:hover::after,
.project-gallery-link:focus-visible::after {
  border-color: rgba(245, 211, 0, 0.9);
}

.project-gallery-link img {
  height: 100%;
  transition: filter 180ms ease, transform 220ms ease;
}

.project-gallery-link:hover img,
.project-gallery-link:focus-visible img {
  filter: grayscale(0);
  transform: scale(1.025);
}

.project-detail-gallery .project-gallery-link:first-child {
  grid-column: span 2;
  grid-row: span 2;
}

.project-detail-gallery .project-gallery-link:first-child img {
  height: 100%;
  min-height: 452px;
}

.project-lightbox[hidden] {
  display: none;
}

.project-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 72px 88px;
  background: rgba(10, 10, 10, 0.92);
}

.project-lightbox img {
  max-width: min(1120px, 100%);
  max-height: calc(100vh - 144px);
  object-fit: contain;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.48);
}

.project-lightbox-close,
.project-lightbox-nav {
  position: absolute;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  color: var(--black);
  background: var(--yellow);
  border: 0;
  cursor: pointer;
}

.project-lightbox-close {
  inset-block-start: 22px;
  inset-inline-end: 22px;
}

.project-lightbox-nav {
  inset-block-start: 50%;
  transform: translateY(-50%);
}

.project-lightbox-nav.is-prev {
  inset-inline-start: 22px;
}

.project-lightbox-nav.is-next {
  inset-inline-end: 22px;
}

.project-lightbox-nav.is-next svg {
  transform: rotate(180deg);
}

.project-lightbox svg {
  width: 22px;
  height: 22px;
}

.lightbox-open {
  overflow: hidden;
}

.project-entry {
  padding-block: 44px;
}

.content-block {
  display: grid;
  gap: 22px;
}

.content-block h2,
.content-block h3 {
  margin: 0;
  font-weight: 900;
  line-height: 1.35;
}

.content-block h2 {
  font-size: var(--text-3xl);
}

.content-block h3 {
  font-size: var(--text-2xl);
}

.content-block p {
  margin: 8px 0 0;
  color: var(--steel);
  font-size: var(--text-base);
  line-height: var(--leading-body);
}

.entry-content,
.wp-block-post-content {
  width: min(820px, 100%);
  margin-inline: auto;
  color: var(--ink);
  font-size: var(--text-base);
  line-height: var(--leading-body);
}

.article-shell {
  width: min(920px, calc(100vw - 32px));
}

.article-share-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  width: min(820px, 100%);
  margin: 0 auto 34px;
  padding-block: 16px;
  border-block: 1px solid rgba(10, 10, 10, 0.1);
}

.article-share-label {
  margin-inline-end: 8px;
  color: var(--black);
  font-size: var(--text-sm);
  font-weight: 900;
  line-height: 1.5;
}

.article-share-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 38px;
  padding: 8px 12px;
  color: var(--black);
  background: var(--off-white);
  border: 1px solid rgba(10, 10, 10, 0.16);
  cursor: pointer;
  font-size: var(--text-xs);
  font-weight: 900;
  line-height: 1.4;
  text-decoration: none;
}

.article-share-button:hover {
  background: var(--yellow);
  border-color: var(--yellow);
}

.article-share-button .icon {
  width: 17px;
  height: 17px;
}

.article-content {
  padding: 54px;
  background: var(--white);
  border: 1px solid rgba(10, 10, 10, 0.1);
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  width: min(820px, 100%);
  margin: 0 auto 32px;
  color: var(--steel);
  font-size: var(--text-sm);
  font-weight: 800;
  line-height: 1.7;
}

.article-meta span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.article-meta span + span::before {
  width: 7px;
  height: 7px;
  content: "";
  background: var(--yellow);
  transform: rotate(45deg);
}

.article-cta {
  margin-block-start: 24px;
  padding: 34px;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(10, 10, 10, 0.94), rgba(10, 10, 10, 0.8)),
    linear-gradient(rgba(245, 211, 0, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245, 211, 0, 0.08) 1px, transparent 1px);
  background-size: auto, 26px 26px, 26px 26px;
  border: 1px solid rgba(245, 211, 0, 0.24);
}

.article-cta h2 {
  max-width: 780px;
  margin: 0;
  color: var(--white);
  font-size: var(--text-3xl);
  font-weight: 900;
  line-height: 1.35;
}

.article-cta p {
  max-width: 720px;
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: var(--text-base);
  line-height: var(--leading-body);
}

.article-cta .hero-actions {
  margin-block-start: 24px;
}

.entry-content > * + *,
.wp-block-post-content > * + * {
  margin-block-start: 1.35em;
}

.entry-content h2,
.wp-block-post-content h2 {
  margin-block-start: 1.45em;
  font-size: var(--text-3xl);
}

.entry-content h3,
.wp-block-post-content h3 {
  margin-block-start: 1.35em;
  font-size: var(--text-2xl);
}

.entry-content h4,
.wp-block-post-content h4 {
  margin-block-start: 1.2em;
  font-size: var(--text-xl);
}

.entry-content a,
.wp-block-post-content a {
  color: var(--black);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-color: var(--yellow);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.22em;
}

.entry-content ul,
.entry-content ol,
.wp-block-post-content ul,
.wp-block-post-content ol {
  color: var(--steel);
}

.entry-content li::marker,
.wp-block-post-content li::marker {
  color: var(--yellow);
  font-weight: 900;
}

.entry-content img,
.wp-block-post-content img {
  width: 100%;
  height: auto;
  margin-block: 32px;
  filter: grayscale(0.35);
}

.entry-content .wp-block-image,
.wp-block-post-content .wp-block-image {
  margin-block: 34px;
}

.entry-content .wp-block-pullquote,
.wp-block-post-content .wp-block-pullquote {
  padding: 0;
  border: 0;
}

.entry-content .wp-block-pullquote blockquote,
.wp-block-post-content .wp-block-pullquote blockquote {
  margin: 0;
}

.timeline {
  display: grid;
  gap: 12px;
  padding: 0;
  list-style: none;
}

.timeline li {
  padding: 16px;
  background: var(--white);
  border-inline-start: 4px solid var(--yellow);
}

.contact-band {
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(10, 10, 10, 0.62), rgba(10, 10, 10, 0.96)),
    var(--contact-band-image, none) center / cover;
}

.site-footer {
  color: rgba(255, 255, 255, 0.76);
  background: var(--black);
  border-block-start: 6px solid var(--yellow);
}

.footer-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding-block: 46px;
  border-block-end: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-topline h2 {
  max-width: 680px;
  margin: 0;
  color: var(--white);
  font-size: var(--text-3xl);
}

.footer-topline .section-kicker {
  color: rgba(255, 255, 255, 0.68);
}

.footer-topline-actions,
.footer-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 30px;
  padding-block: 54px 46px;
}

.footer-grid > div {
  min-width: 0;
}

.footer-brand-block {
  grid-column: span 3;
}

.footer-grid > div:not(.footer-brand-block):not(.footer-cta-card) {
  grid-column: span 2;
}

.footer-grid > div:nth-of-type(5) {
  grid-column: span 3;
}

.footer-brand-block p,
.footer-cta-card p {
  margin-block: 18px 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: var(--text-sm);
  line-height: 1.9;
}

.footer-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin-block-start: 22px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-stats span {
  display: grid;
  gap: 5px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.66);
  font-size: var(--text-xs);
  font-weight: 800;
  line-height: 1.5;
}

.footer-stats strong {
  color: var(--yellow);
  font-size: var(--text-xl);
  font-weight: 900;
  line-height: 1;
}

.footer-title {
  margin: 0 0 16px;
  color: var(--white);
  font-size: var(--text-base);
  font-weight: 900;
  line-height: 1.45;
}

.footer-links {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: rgba(255, 255, 255, 0.72);
  font-size: var(--text-sm);
  line-height: 1.75;
}

.footer-links a:hover {
  color: var(--yellow);
}

.footer-cta-card {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(245, 211, 0, 0.24);
}

.footer-cta-card p {
  max-width: 680px;
}

.footer-cta-card .text-link {
  color: var(--white);
}

.footer-cta-card .text-link:hover {
  color: var(--yellow);
}

.social-links {
  display: flex;
  gap: 10px;
  margin-block-start: 18px;
}

.footer-contact-social {
  margin-block-start: 20px;
}

.social-links a {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: var(--black);
  background: var(--yellow);
  font-weight: 900;
}

.social-links svg {
  width: 19px;
  height: 19px;
}

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

.icon-list li,
.icon-list a {
  display: flex;
  align-items: center;
  gap: 10px;
}

.icon-list .contact-icon {
  width: 20px;
  height: 20px;
}

.contact-phone-value {
  direction: ltr;
  unicode-bidi: isolate;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding-block: 18px;
  border-block-start: 1px solid rgba(255, 255, 255, 0.12);
  font-size: var(--text-sm);
  line-height: 1.7;
}

.footer-credit {
  color: rgba(255, 255, 255, 0.78);
  direction: ltr;
  text-align: left;
}

.footer-credit:hover {
  color: var(--yellow);
}

@media (max-width: 1080px) {
  :root {
    --text-5xl: 3rem;
    --text-4xl: 2.5rem;
    --text-3xl: 2rem;
    --text-2xl: 1.625rem;
  }

  .section {
    padding-block: 84px;
  }

  .hero-inner {
    padding-block-start: 108px;
  }

  .split-grid {
    gap: 44px;
  }

  .panel {
    padding: 30px;
  }

  .primary-nav {
    position: fixed;
    inset-block-start: var(--header-height);
    inset-inline: 0;
    display: grid;
    align-content: start;
    gap: 0;
    height: calc(100svh - var(--header-height));
    padding: 20px;
    background: var(--black);
    transform: translateX(105%);
    transition: transform 220ms ease;
  }

  .menu-open .primary-nav {
    transform: translateX(0);
  }

  .primary-nav a {
    padding: 16px 0;
    border-block-end: 1px solid rgba(255, 255, 255, 0.1);
  }

  .menu-toggle {
    display: block;
  }

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

  .card-grid,
  .project-grid,
  .blog-grid,
  .pricing-packages-grid,
  .service-detail-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .brand-carousel-track {
    grid-auto-columns: minmax(150px, 1fr);
  }

  .process-grid,
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-content-layout {
    grid-template-columns: 1fr;
  }

  .service-content-sidebar {
    position: static;
    order: -1;
  }

  .service-sidebar-actions {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .footer-brand-block {
    grid-column: span 6;
  }

  .footer-grid > div:not(.footer-brand-block):not(.footer-cta-card) {
    grid-column: span 3;
  }

  .footer-cta-card {
    grid-column: 1 / -1;
  }

  .footer-topline {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 760px) {
  :root {
    --header-height: 68px;
    --text-5xl: 2.5rem;
    --text-4xl: 2.125rem;
    --text-3xl: 1.75rem;
    --text-2xl: 1.45rem;
    --text-xl: 1.25rem;
    --text-lg: 1.125rem;
    --leading-body: 1.85;
  }

  .section {
    padding-block: 64px;
  }

  .brand {
    min-width: 0;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
  }

  .brand-logo {
    max-width: 132px;
    max-height: 44px;
  }

  .brand-name {
    font-size: var(--text-sm);
  }

  .brand-subtitle {
    display: none;
  }

  .hero {
    min-height: auto;
  }

  .hero-inner {
    padding-block: 92px 28px;
  }

  .hero p,
  .section-copy {
    font-size: var(--text-base);
  }

  .hero-stats {
    margin-block-start: 48px;
  }

  .stat-card strong,
  .estimate-value,
  .pricing-package-price strong {
    font-size: var(--text-3xl);
  }

  .panel {
    padding: 24px;
  }

  .brand-carousel {
    grid-template-columns: 40px minmax(0, 1fr) 40px;
    gap: 8px;
  }

  .carousel-control {
    width: 40px;
    height: 40px;
  }

  .brand-carousel-track {
    grid-auto-columns: minmax(132px, 72%);
  }

  .brand-logo-card {
    min-height: 96px;
    padding: 14px;
  }

  .article-content {
    padding: 28px 20px;
  }

  .article-share-label {
    width: 100%;
  }

  .article-share-button {
    flex: 1 1 auto;
  }

  .article-cta {
    padding: 26px 20px;
  }

  .article-meta {
    margin-block-end: 24px;
  }

  .hero-stats,
  .card-grid,
  .project-grid,
  .blog-grid,
  .pricing-packages-grid,
  .service-detail-grid,
  .service-sidebar-actions,
  .calculator-layout,
  .home-conversion-grid,
  .yasser-calculator,
  .form-layout,
  .split-grid,
  .details-grid,
  .project-detail-meta,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .service-stage-item {
    grid-template-columns: 1fr;
  }

  .footer-brand-block,
  .footer-cta-card {
    grid-column: auto;
  }

  .footer-grid > div:not(.footer-brand-block):not(.footer-cta-card) {
    grid-column: auto;
  }

  .footer-cta-card {
    display: grid;
    align-items: start;
  }

  .footer-topline {
    padding-block: 34px;
  }

  .footer-topline h2 {
    font-size: var(--text-2xl);
  }

  .finish-options,
  .calculator-mode-options {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    margin-inline: -16px;
  }

  .form-grid,
  .gallery-grid,
  .project-detail-gallery,
  .process-grid,
  .values-grid {
    grid-template-columns: 1fr;
  }

  .project-detail-gallery .project-gallery-link:first-child {
    grid-column: auto;
    grid-row: auto;
  }

  .project-detail-gallery .project-gallery-link:first-child img {
    min-height: 0;
  }

  .project-lightbox {
    padding: 76px 16px 84px;
  }

  .project-lightbox img {
    max-height: calc(100vh - 160px);
  }

  .project-lightbox-nav {
    inset-block-start: auto;
    inset-block-end: 20px;
    transform: none;
  }

  .media-panel,
  .media-panel img {
    min-height: 360px;
  }

  .footer-bottom {
    flex-direction: column;
  }
}
