:root {
  --navy: #102451;
  --navy-2: #07142f;
  --blue: #35629a;
  --electric: #7db7ff;
  --ink: #262626;
  --muted: #667085;
  --line: #dce3ee;
  --soft: #f5f8fc;
  --white: #ffffff;
  --shadow: 0 20px 60px rgba(16, 36, 81, 0.14);
  --radius: 8px;
  --radius-lg: 14px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Tajawal", "Cairo", "Segoe UI", Tahoma, Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.8;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

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

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

.container {
  width: min(1120px, calc(100% - 32px));
  margin-inline: auto;
}

.section {
  padding: 88px 0;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  right: 12px;
  transform: translateY(-160%);
  padding: 10px 14px;
  border-radius: var(--radius);
  color: var(--white);
  background: var(--navy);
  font-weight: 900;
}

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

.scroll-progress {
  position: fixed;
  z-index: 90;
  inset: 0 0 auto;
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, var(--electric), var(--blue), var(--navy));
  transform-origin: right;
}

.site-header {
  position: fixed;
  z-index: 50;
  inset: 0 0 auto;
  height: 76px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 0 max(20px, calc((100vw - 1120px) / 2));
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(220, 227, 238, 0.8);
  backdrop-filter: blur(14px);
  transition: height 220ms ease, background 220ms ease, box-shadow 220ms ease;
}

.site-header.is-scrolled {
  height: 66px;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 14px 36px rgba(16, 36, 81, 0.1);
}

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

.brand img {
  width: 50px;
  height: 50px;
  object-fit: cover;
  border-radius: var(--radius);
  transition: transform 220ms ease;
}

.brand:hover img {
  transform: scale(1.04) rotate(-2deg);
}

.brand strong {
  display: block;
  color: var(--navy);
  font-size: 1.22rem;
  line-height: 1.1;
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.3;
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: 18px;
  color: var(--navy);
  font-size: 0.94rem;
  font-weight: 700;
}

.main-nav a {
  position: relative;
  padding: 10px 0;
  transition: color 180ms ease;
}

.main-nav a::after {
  content: "";
  position: absolute;
  inset: auto 0 4px;
  height: 2px;
  transform: scaleX(0);
  transform-origin: right;
  background: var(--blue);
  transition: transform 180ms ease;
}

.main-nav a:hover::after {
  transform: scaleX(1);
}

.main-nav a.is-active {
  color: var(--blue);
}

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

.header-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-weight: 800;
  cursor: pointer;
  transform: translateZ(0);
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.header-cta,
.btn-primary {
  color: var(--white);
  background: var(--blue);
  box-shadow: 0 14px 34px rgba(53, 98, 154, 0.28);
}

.header-cta:hover,
.btn:hover {
  transform: translateY(-2px);
}

.btn-primary:hover,
.header-cta:hover {
  box-shadow: 0 18px 42px rgba(53, 98, 154, 0.36);
}

.btn-dark {
  color: var(--white);
  background: var(--navy);
}

.btn-whatsapp {
  color: var(--white);
  background: #16a34a;
}

.btn-outline {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.08);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 0;
  border-radius: var(--radius);
  background: var(--navy);
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--white);
}

.hero {
  position: relative;
  min-height: 650px;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 160px;
  color: var(--white);
  background: var(--navy-2);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(270deg, rgba(7, 20, 47, 0.88), rgba(7, 20, 47, 0.12) 76%),
    url("../assets/matrix-hero-v2.png") center / cover no-repeat;
}

.hero-bg::after {
  content: none;
  position: absolute;
  left: 5vw;
  bottom: -14rem;
  font-size: clamp(18rem, 40vw, 42rem);
  line-height: 1;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.045);
}

.hero-rails {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-rails span {
  position: absolute;
  right: -20vw;
  width: 42vw;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(125, 183, 255, 0.55), transparent);
  transform: rotate(-28deg);
  animation: rail-sweep 6.5s linear infinite;
}

.hero-rails span:nth-child(1) {
  top: 22%;
}

.hero-rails span:nth-child(2) {
  top: 48%;
  animation-delay: 1.8s;
  opacity: 0.75;
}

.hero-rails span:nth-child(3) {
  top: 74%;
  animation-delay: 3.4s;
  opacity: 0.55;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: 48px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--blue);
  font-weight: 900;
  letter-spacing: 0;
}

.hero .eyebrow {
  color: #9db9df;
}

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

h1 {
  max-width: 780px;
  margin-bottom: 18px;
  font-size: 3.4rem;
  line-height: 1.08;
  letter-spacing: 0;
  text-wrap: balance;
}

h2 {
  margin-bottom: 18px;
  color: var(--navy);
  font-size: 2.4rem;
  line-height: 1.18;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  color: var(--navy);
  font-size: 1.24rem;
  line-height: 1.35;
}

.hero-text {
  max-width: 650px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.18rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-facts span,
.project-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: var(--radius);
  font-weight: 800;
}

.hero-facts span {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-panel {
  display: grid;
  gap: 18px;
  perspective: 1200px;
}

.hero-visual {
  position: relative;
  min-height: 430px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--navy);
  box-shadow: var(--shadow);
  transform-style: preserve-3d;
  animation: float-panel 5.8s ease-in-out infinite;
}

.hero-visual > img {
  width: 100%;
  height: 430px;
  object-fit: cover;
  object-position: center;
  display: block;
}

.hero-visual-overlay {
  position: relative;
  position: absolute;
  inset: auto 0 0;
  display: grid;
  gap: 4px;
  padding: 22px;
  color: var(--white);
  background: linear-gradient(0deg, rgba(7, 20, 47, 0.94), rgba(7, 20, 47, 0));
}

.hero-visual-overlay span {
  color: #b9d7ff;
  font-size: 0.85rem;
  font-weight: 900;
}

.hero-visual-overlay strong {
  max-width: 18ch;
  font-size: 1.18rem;
  line-height: 1.35;
}

.contact-strip,
.direct-box {
  display: grid;
  gap: 4px;
  padding: 18px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.contact-strip a {
  font-size: 1.55rem;
  font-weight: 900;
}

.split {
  display: grid;
  grid-template-columns: 0.8fr 1fr;
  gap: 56px;
}

.section-heading {
  max-width: 720px;
}

.section-heading.centered {
  margin-inline: auto;
  text-align: center;
}

.about-copy {
  color: var(--muted);
  font-size: 1.08rem;
}

.services,
.solutions,
.steps,
.faq,
.support {
  background: var(--soft);
}

.cards,
.why-grid,
.gallery-grid,
.quote-grid,
.footer-grid,
.solution-grid,
.quality-grid,
.support-grid {
  display: grid;
  gap: 20px;
}

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

.service-card,
.why-item,
.quote-form,
.faq details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 12px 34px rgba(16, 36, 81, 0.06);
}

.lift-card {
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.lift-card:hover {
  transform: translateY(-6px);
  border-color: rgba(53, 98, 154, 0.32);
  box-shadow: 0 22px 54px rgba(16, 36, 81, 0.12);
}

.service-card {
  position: relative;
  min-height: 290px;
  padding: 30px;
  overflow: hidden;
}

.service-card::after {
  content: "";
  position: absolute;
  inset: auto auto -42px -42px;
  width: 120px;
  height: 120px;
  border: 24px solid rgba(53, 98, 154, 0.08);
  transform: rotate(45deg);
}

.service-card p,
.why-item p,
.quote-copy p,
.faq p {
  color: var(--muted);
}

.service-card a {
  position: relative;
  color: var(--blue);
  font-weight: 900;
}

.service-note {
  display: flex;
  gap: 10px;
  align-items: start;
  margin-top: 18px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--muted);
  background: var(--white);
}

.service-note strong {
  color: var(--navy);
  white-space: nowrap;
}

.solution-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 28px;
}

.solution-card {
  min-height: 270px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 12px 34px rgba(16, 36, 81, 0.06);
}

.solution-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 34px;
  border-radius: var(--radius);
  color: var(--white);
  background: var(--blue);
  font-weight: 900;
}

.solution-card p {
  color: var(--muted);
}

.icon-box {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: var(--radius);
  color: var(--white);
  background: linear-gradient(135deg, var(--navy), var(--blue));
  font-weight: 900;
}

.why-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 28px;
}

.why-item {
  min-height: 230px;
  padding: 24px;
}

.why-item span {
  display: block;
  margin-bottom: 34px;
  color: var(--blue);
  font-size: 2rem;
  font-weight: 900;
}

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

.step-list article {
  position: relative;
  min-height: 210px;
  padding: 26px;
  border-radius: var(--radius);
  color: var(--white);
  background: var(--navy);
  overflow: hidden;
}

.step-number {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 28px;
  border-radius: var(--radius);
  background: var(--blue);
  font-weight: 900;
}

.step-list strong,
.step-list span:not(.step-number) {
  position: relative;
  display: block;
}

.step-list strong {
  margin-bottom: 8px;
  font-size: 1.14rem;
}

.step-list span {
  color: rgba(255, 255, 255, 0.78);
}

.projects {
  padding-block: 70px;
}

.stats-band {
  padding-block: 0;
  color: var(--white);
  background: var(--navy);
}

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

.stats-grid article {
  min-height: 170px;
  display: grid;
  align-content: center;
  gap: 9px;
  padding: 30px clamp(22px, 4vw, 54px);
  border-inline-start: 1px solid rgba(255, 255, 255, 0.15);
}

.stats-grid article:first-child {
  border-inline-start: 0;
}

.stats-grid strong {
  color: #b9d7ff;
  font-size: 2rem;
  line-height: 1;
}

.stats-grid span {
  max-width: 28ch;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 700;
}

.quality {
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(16, 36, 81, 0.96), rgba(38, 38, 38, 0.92)),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 56px);
}

.quality-grid {
  grid-template-columns: 0.95fr 1.05fr;
  align-items: start;
  gap: 44px;
}

.quality h2,
.quality .eyebrow {
  color: var(--white);
}

.quality-panel p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.78);
}

.quality-list {
  display: grid;
  gap: 14px;
}

.quality-list article {
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
}

.quality-list strong,
.quality-list span {
  display: block;
}

.quality-list strong {
  margin-bottom: 6px;
  font-size: 1.08rem;
}

.quality-list span {
  color: rgba(255, 255, 255, 0.74);
}

.seo-band {
  padding-block: 70px;
  background: var(--navy);
}

.seo-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: center;
}

.seo-band h2,
.seo-band .eyebrow {
  color: var(--white);
}

.seo-band p:not(.eyebrow) {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 1.08rem;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.project-tags span {
  color: var(--navy);
  background: var(--soft);
  border: 1px solid var(--line);
}

.gallery-grid {
  grid-template-columns: 1.3fr 0.85fr 0.85fr;
  min-height: 360px;
}

.gallery-tile {
  position: relative;
  display: flex;
  align-items: end;
  min-height: 280px;
  padding: 24px;
  border-radius: var(--radius);
  overflow: hidden;
  color: var(--white);
  background: var(--navy);
  transition: transform 220ms ease, filter 220ms ease;
}

.gallery-tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.gallery-tile:hover {
  transform: translateY(-5px);
  filter: saturate(1.08);
}

.gallery-tile:hover img {
  transform: scale(1.06);
}

.gallery-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(7, 20, 47, 0.86), rgba(7, 20, 47, 0.03) 64%), linear-gradient(100deg, transparent 20%, rgba(255, 255, 255, 0.12) 50%, transparent 80%);
  transform: none;
}

.gallery-tile:first-child {
  min-height: 360px;
}

.gallery-tile span {
  position: relative;
  z-index: 1;
  font-size: 1.2rem;
  font-weight: 900;
}

.gallery-aerial img {
  object-position: center;
}

.gallery-factory img {
  object-position: center;
}

.gallery-pour img {
  object-position: center;
}

.location {
  background: var(--soft);
}

.location-grid {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 28px;
  align-items: stretch;
}

.location-copy {
  display: grid;
  align-content: center;
  justify-items: start;
  padding: clamp(26px, 5vw, 56px);
  border-radius: var(--radius);
  color: var(--white);
  background: linear-gradient(135deg, var(--navy), #244a88);
}

.location-copy h2 {
  color: var(--white);
}

.location-copy p:not(.eyebrow) {
  max-width: 34ch;
  color: rgba(255, 255, 255, 0.8);
}

.location-copy .eyebrow {
  color: #b9d7ff;
}

.location-map {
  width: 100%;
  min-height: 400px;
  border: 0;
  border-radius: var(--radius);
  box-shadow: 0 12px 34px rgba(16, 36, 81, 0.1);
}

.support-grid {
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
}

.support-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: end;
  gap: 12px;
}

.quote {
  color: var(--white);
  background: linear-gradient(135deg, var(--navy), #1a3e77);
}

.quote h2,
.quote .eyebrow {
  color: var(--white);
}

.quote-copy p {
  color: rgba(255, 255, 255, 0.78);
}

.quote-grid {
  grid-template-columns: 0.8fr 1.2fr;
  align-items: start;
}

.direct-box {
  margin-top: 24px;
}

.direct-box a {
  font-weight: 900;
  color: var(--white);
}

.quote-form {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: 22px;
}

.quote-form label {
  display: grid;
  gap: 8px;
  color: var(--navy);
  font-weight: 800;
}

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

.quote-form input,
.quote-form select,
.quote-form textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 10px 12px;
  color: var(--ink);
  background: var(--white);
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(53, 98, 154, 0.12);
}

.quote-form textarea {
  resize: vertical;
}

.faq-list {
  display: grid;
  gap: 12px;
  max-width: 820px;
  margin: 28px auto 0;
}

.faq details {
  padding: 18px 22px;
}

.faq summary {
  color: var(--navy);
  font-weight: 900;
  cursor: pointer;
}

.faq p {
  margin: 12px 0 0;
}

.site-footer {
  color: var(--white);
  background: var(--ink);
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.site-footer .social-links a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 4px 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.88rem;
  font-weight: 800;
  transition: background 160ms ease, border-color 160ms ease;
}

.site-footer .social-links a:hover,
.site-footer .social-links a:focus-visible {
  border-color: var(--electric);
  background: rgba(125, 183, 255, 0.18);
}

.footer-grid {
  grid-template-columns: 1.4fr 1fr 1fr;
  padding: 56px 0;
}

.footer-logo {
  width: 70px;
  height: 70px;
  object-fit: cover;
  margin-bottom: 12px;
  border-radius: var(--radius);
}

.site-footer h2,
.site-footer h3 {
  color: var(--white);
}

.site-footer p,
.site-footer span,
.site-footer a {
  display: block;
  color: rgba(255, 255, 255, 0.72);
}

.site-footer a:hover {
  color: var(--white);
}

.footer-bottom {
  padding: 18px;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.whatsapp-float {
  position: fixed;
  z-index: 60;
  left: 20px;
  bottom: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 112px;
  min-height: 52px;
  padding: 0 18px;
  border-radius: 999px;
  color: var(--white);
  background: #16a34a;
  box-shadow: 0 18px 42px rgba(22, 163, 74, 0.32);
  font-weight: 900;
  animation: whatsapp-pulse 2.8s ease-in-out infinite;
}

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

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms ease, transform 700ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal-right {
  transform: translateX(-34px);
}

.reveal-left {
  transform: translateX(34px);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-right.is-visible,
.reveal-left.is-visible {
  transform: translateX(0);
}

.hero-copy { max-width: 660px; }
.hero-rails { display: none; }
.service-logo { width: 76px; height: 76px; object-fit: contain; margin-bottom: 20px; }
.quality-panel { max-width: 850px; }
.quality-panel p { font-size: 1.25rem; margin-bottom: 0; }
.image-caption { text-align: center; color: var(--muted); font-size: .85rem; }
.quote-form { display: grid; gap: 16px; }
.project-location { min-width: 0; color: var(--navy); }
.map-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-block: 12px; }
.map-actions button { font-size: .85rem; padding: 8px 12px; }
#project-map { height: 320px; width: 100%; z-index: 0; direction: ltr; border: 1px solid var(--line); }
.project-pin span { display: block; width: 26px; height: 26px; border-radius: 50%; border: 4px solid white; background: #35629a; box-shadow: 0 0 0 2px #102451; }
[data-map-status] { font-size: .85rem; margin: 12px 0; overflow-wrap: anywhere; }
[data-map-link] { color: var(--blue); text-decoration: underline; }
button:disabled { opacity: .55; cursor: wait; }
:focus-visible { outline: 3px solid #35629a; outline-offset: 3px; }
@media (max-width: 720px) {
  .hero { min-height: 590px; }
  .hero-bg { background-position: center; }
  h1 { font-size: 2.3rem; line-height: 1.3; }
  .hero-copy { padding-block: 20px; }
  .stats-grid article { padding: 20px; }
  .stats-grid strong { font-size: 1.6rem; }
}

@keyframes industrial-pan {
  from {
    background-position: 0 0, 0 0;
  }
  to {
    background-position: 0 0, 180px 180px;
  }
}

@keyframes rail-sweep {
  from {
    transform: translateX(0) rotate(-28deg);
  }
  to {
    transform: translateX(-140vw) rotate(-28deg);
  }
}

@keyframes float-panel {
  0%,
  100% {
    transform: translateY(0) rotateX(0deg) rotateY(0deg);
  }
  50% {
    transform: translateY(-10px) rotateX(1.2deg) rotateY(-1.2deg);
  }
}

@keyframes line-load {
  0%,
  100% {
    transform: scaleX(0.72);
    opacity: 0.72;
  }
  50% {
    transform: scaleX(1);
    opacity: 1;
  }
}

@keyframes block-pulse {
  0%,
  100% {
    opacity: 0.38;
    transform: translateY(0);
  }
  50% {
    opacity: 0.86;
    transform: translateY(-4px);
  }
}

@keyframes sheen {
  0%,
  58% {
    transform: translateX(130%);
  }
  100% {
    transform: translateX(-130%);
  }
}

@keyframes whatsapp-pulse {
  0%,
  100% {
    box-shadow: 0 18px 42px rgba(22, 163, 74, 0.32);
  }
  50% {
    box-shadow: 0 18px 48px rgba(22, 163, 74, 0.52);
  }
}

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

  .menu-toggle {
    display: block;
  }

  .main-nav {
    position: fixed;
    inset: 76px 0 auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 16px 24px 24px;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }

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

  .header-cta {
    justify-self: end;
  }

  .hero-grid,
  .split,
  .quote-grid,
  .seo-grid,
  .solution-grid,
  .quality-grid,
  .support-grid,
  .location-grid {
    grid-template-columns: 1fr;
  }

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

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

@media (max-width: 720px) {
  .section {
    padding: 64px 0;
  }

  .site-header {
    height: 68px;
    gap: 10px;
    padding-inline: 14px;
  }

  .brand {
    min-width: 0;
  }

  .brand img {
    width: 44px;
    height: 44px;
  }

  .brand small {
    display: none;
  }

  .header-cta {
    min-height: 42px;
    padding-inline: 12px;
    font-size: 0.88rem;
  }

  .main-nav {
    inset-block-start: 68px;
  }

  .hero {
    min-height: auto;
    padding-top: 104px;
  }

  .hero-grid {
    gap: 30px;
  }

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

  .hero-visual > img {
    height: 360px;
  }

  .hero-actions,
  .hero-actions .btn,
  .two-cols,
  .why-grid,
  .step-list,
  .solution-grid,
  .gallery-grid,
  .quote-form,
  .footer-grid,
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid article,
  .stats-grid article:first-child {
    min-height: 0;
    border-inline-start: 0;
    border-block-start: 1px solid rgba(255, 255, 255, 0.15);
  }

  .stats-grid article:first-child {
    border-block-start: 0;
  }

  .hero-actions {
    display: grid;
  }

  .support-actions {
    display: grid;
    justify-content: stretch;
  }

  .gallery-tile,
  .gallery-tile:first-child {
    min-height: 230px;
  }

  .location-map {
    min-height: 300px;
  }

  .whatsapp-float {
    display: none;
  }

  .mobile-action-bar {
    position: fixed;
    z-index: 70;
    inset: auto 10px 10px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    padding: 8px;
    border: 1px solid rgba(220, 227, 238, 0.9);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 18px 48px rgba(16, 36, 81, 0.18);
    backdrop-filter: blur(14px);
  }

  .mobile-action-bar a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius);
    color: var(--white);
    background: var(--navy);
    font-weight: 900;
  }

  .mobile-action-bar a:nth-child(2) {
    background: #16a34a;
  }

  body {
    padding-bottom: 82px;
  }
}

@media (max-width: 440px) {
  h1 {
    font-size: 2.1rem;
  }

  h2 {
    font-size: 1.8rem;
  }

  .hero-text {
    font-size: 1rem;
  }

  .hero-visual,
  .hero-visual > img {
    min-height: 300px;
    height: 300px;
  }
}

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