:root {
  --navy: #071445;
  --sky: #00b9f6;
  --blue: #007af6;
  --ice: #e8f5fe;
  --u: calc(100vw / 1672);
  color: var(--navy);
  background: var(--ice);
  font-family: "Roboto Condensed Variable", Arial, sans-serif;
}
:root[lang="ar"] { font-family: "Cairo Variable", Tahoma, sans-serif; }
* { box-sizing: border-box; }
html { scroll-padding-block-start: var(--header-offset, calc(var(--u) * 118)); }
body { margin: 0; }
a { color: inherit; text-decoration: none; }
button, summary { font: inherit; cursor: pointer; }
picture { display: contents; }
:is(a, button, summary, article):focus-visible {
  outline: 2px solid var(--sky);
  outline-offset: 4px;
}
.icon { display: block; inline-size: 1.3em; block-size: 1.3em; flex: none; }

.menu-phone { display: none; }

.header {
  position: sticky;
  inset-block-start: 0;
  isolation: isolate;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: calc(var(--u) * 88);
  padding-inline: calc(var(--u) * 26);
  gap: calc(var(--u) * 20);
  color: white;
  background-color: var(--ice);
  font-size: clamp(.85rem, 1.34vw, 1.5rem);
  font-weight: 700;
}
.header::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(112deg, #041231, #06285d 57%, #041536);
  border-block-end: 2px solid #a4e9ff;
  box-shadow: 0 8px 24px #0062b449;
  content: "";
  inset-inline-start: 13%;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1445' height='88' viewBox='0 0 1445 88' preserveAspectRatio='none'%3E%3Cpath d='M0 0H1445V88H120C55 88 67 23 0 0Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}
[dir="rtl"] .header::before { transform: scaleX(-1); }
.brand {
  position: relative;
  flex: 0 0 16%;
  align-self: stretch;
  direction: ltr;
}
.brand img {
  position: absolute;
  top: calc(var(--u) * 3);
  left: 50%;
  transform: translateX(-50%);
  width: calc(var(--u) * 193);
  height: auto;
}
nav, .header-actions, .hero-actions, .languages { display: flex; align-items: center; }
nav { flex: 1; justify-content: space-around; gap: .5em; }
nav > *, nav summary, .header-actions > * { white-space: nowrap; }
nav > a, nav > span, nav summary { padding-block: .45em; }
nav > a:first-child { border-bottom: 3px solid var(--sky); text-shadow: 0 0 12px #56d4ff; }
nav details { position: relative; }
nav summary { display: flex; align-items: center; gap: .45em; list-style: none; }
nav summary::-webkit-details-marker { display: none; }
nav summary::after {
  inline-size: .42em;
  block-size: .42em;
  margin-block-start: -.2em;
  border: solid var(--sky);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  content: "";
}
nav details[open] summary::after { transform: rotate(225deg); }
nav ul {
  position: absolute;
  inset-inline-start: 0;
  z-index: 1;
  inline-size: max-content;
  max-inline-size: calc(100vw - 2rem);
  margin: 0;
  padding: .45em;
  list-style: none;
  border: 1px solid #125991;
  border-radius: .65rem;
  background: #082554;
  box-shadow: 0 10px 22px #00113566;
  white-space: normal;
}
nav li a { display: block; padding: .4em .65em; border-radius: .35rem; }
nav li a:hover { background: #ffffff22; }
.nav-contact, .phone, .location { display: inline-flex; align-items: center; gap: .35em; }
[dir="ltr"] .nav-contact .icon, [dir="rtl"] .location { display: none; }
.header-actions { gap: .72em; }
.location { border-inline-start: 1px solid var(--sky); padding-inline-start: .75em; }
.location .icon, .phone .icon, .nav-contact .icon { color: var(--sky); }
.phone { font-size: 1.11em; font-weight: 800; }
.whatsapp {
  display: grid;
  place-items: center;
  inline-size: 1.95em;
  block-size: 1.95em;
  border: 1px solid #68f2ff;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 25%, #08d4fa, #0091df 80%);
  box-shadow: 0 0 .8em #04b7ffbf, inset 0 1px #c9f9ff;
}
.languages {
  flex: none;
  gap: .2em;
}
.languages button, .menu-toggle {
  padding: .4em;
  color: inherit;
  border: 1px solid transparent;
  border-radius: .4rem;
  background: transparent;
}
.languages button {
  min-inline-size: clamp(1.75rem, 2.1vw, 2.25rem);
  min-block-size: clamp(1.75rem, 2.05vw, 2.2rem);
  padding: .15em .25em;
  border-color: #8bddff5c;
  font-size: clamp(.72rem, .94vw, .95rem);
  font-weight: 700;
}
.languages button:hover { background: #17acf033; }
.languages button[aria-pressed="true"] { color: #98edff; border-color: #53c9f49c; }
.menu-toggle { display: none; }

.hero {
  position: relative;
  isolation: isolate;
  height: calc(var(--u) * 600);
  background: radial-gradient(ellipse at 68% 47%, #f6fbff, #deedf9 70%, #cbe9fd);
}
[dir="ltr"] .hero { background: radial-gradient(ellipse at 32% 47%, #f6fbff, #deedf9 70%, #cbe9fd); }
.hero-picture { display: block; }
.hero-visual {
  display: block;
  position: absolute;
  z-index: -1;
  inset-block-start: 0;
  inset-inline-end: 0;
  inline-size: calc(var(--u) * 1109);
  block-size: auto;
}
.hero::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  inset-inline-start: 31.4%;
  background: linear-gradient(135deg, #007ddf 35%, #00a8f7 54%, #acf1ff 85%);
  clip-path: polygon(0 0, 100% 0, 84% 100%, 0 100%);
  clip-path: shape(from 0 0, line to 100% 0, curve to 85% 100% with 84% 29% / 69% 86%, line to 0 100%, close);
  content: "";
}
[dir="ltr"] .hero::before { transform: scaleX(-1); }
[dir="ltr"] .hero-visual { inline-size: calc(var(--u) * 1107); }
.hero-copy {
  position: relative;
  inline-size: calc(var(--u) * 715);
  margin-inline-start: calc(var(--u) * 38);
  padding-block-start: calc(var(--u) * 55);
}
[dir="ltr"] .hero-copy {
  margin-inline-start: calc(var(--u) * 50);
  inline-size: calc(var(--u) * 708);
  padding-block-start: calc(var(--u) * 75);
}
.hero p {
  margin: 0;
  font-size: calc(var(--u) * 28);
  font-weight: 650;
  line-height: 1.4;
}
.hero p:not(.eyebrow) { max-inline-size: 95%; }
[dir="ltr"] .hero p:not(.eyebrow) { line-height: 1.2; font-weight: 600; }
.hero .eyebrow { display: flex; align-items: center; gap: 1em; font-weight: 750; }
.eyebrow::after {
  inline-size: calc(var(--u) * 75);
  block-size: .21em;
  background: #0070ee;
  border-radius: 1rem;
  content: "";
}
.hero h1 {
  margin: .43em 0 .38em;
  font-size: calc(var(--u) * 64);
  font-weight: 900;
  line-height: 1.13;
  letter-spacing: -.032em;
}
[dir="ltr"] .hero h1 { font-size: calc(var(--u) * 59); line-height: 1.055; }
[dir="rtl"] .hero h1 { letter-spacing: normal; line-height: 1.18; }
.hero h1 span, .hero h1 strong { display: block; }
.hero h1 strong { color: var(--blue); font-weight: inherit; }
.hero-actions { gap: calc(var(--u) * 22); margin-block-start: calc(var(--u) * 48); }
[dir="ltr"] .hero-actions { margin-block-start: calc(var(--u) * 44); }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .65em;
  min-block-size: 2.15em;
  padding: .35em .9em;
  border: 1px solid #99edff;
  border-radius: .8em;
  color: white;
  background: linear-gradient(180deg, #08c2f3, #0089f3 46%, #0464dc);
  box-shadow: inset 0 1px 1px #ffffff70, 0 4px 10px #001d5545;
  text-align: center;
  line-height: 1.15;
  font-weight: 800;
}
[dir="ltr"] .header-actions .button .icon { order: 1; }
[dir="ltr"] .hero-actions .secondary .icon { order: -1; }
.hero .button {
  flex: 1 1 0;
  min-inline-size: 0;
  min-block-size: calc(var(--u) * 69);
  padding-inline: .6em;
  border-radius: 2em;
  font-size: calc(var(--u) * 32);
  background: linear-gradient(#09baff, #0087f3 45%, #0c28c6);
}
.hero .button[data-whatsapp="quote"] { flex-grow: 1.11; }
[dir="ltr"] .hero .button { font-size: calc(var(--u) * 30); }
.hero .button.secondary {
  color: var(--navy);
  background: linear-gradient(#fafcff, #e4eff9);
  border: 2px solid var(--navy);
  box-shadow: inset 0 1px #fff, 0 4px 9px #06528d42;
}

.services {
  position: relative;
  isolation: isolate;
  z-index: 1;
  padding: 0 calc(var(--u) * 60) calc(var(--u) * 26);
  color: white;
}
.service-wave {
  position: absolute;
  z-index: -1;
  inset-inline: 0;
  inset-block-end: 0;
  inline-size: 100%;
  block-size: calc(100% + var(--u) * 74);
}
[dir="ltr"] .service-wave { transform: scaleX(-1); }
.services h2 {
  position: relative;
  inline-size: calc(var(--u) * 310);
  margin: 0 auto calc(var(--u) * 10);
  border: 1px solid #edf8ff;
  border-radius: 2rem;
  background: #084582bc;
  box-shadow: inset 0 0 .75rem #b5eaff49, 0 4px 13px #00174a94;
  text-align: center;
  font-size: calc(var(--u) * 38);
  line-height: 1.22;
  font-weight: 850;
}
.services h2::before, .services h2::after {
  position: absolute;
  top: 50%;
  left: calc(100% + .75em);
  inline-size: 80%;
  block-size: 2px;
  background: linear-gradient(90deg, white, #79c4ff00);
  content: "";
}
.services h2::after { left: auto; right: calc(100% + .75em); transform: scaleX(-1); }
.service-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: calc(var(--u) * 8);
  direction: ltr;
}
[dir="ltr"] .service-grid { direction: rtl; }
.service-grid article {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-block-size: calc(var(--u) * 168);
  padding: calc(var(--u) * 12);
  overflow: clip;
  border: 1px solid #d4f0ff;
  border-radius: calc(var(--u) * 25);
  background: linear-gradient(145deg, white, #e2f4fe);
  color: var(--navy);
  box-shadow: 0 8px 11px #00174997, inset 0 -5px 12px #acd7f267;
}
.service-photo {
  position: absolute;
  z-index: -2;
  inset-block: calc(var(--u) * 12);
  inset-inline-end: calc(var(--u) * 12);
  inline-size: 74%;
  block-size: calc(100% - var(--u) * 24);
  object-fit: cover;
  object-position: right;
  border-radius: calc(var(--u) * 16);
}
[dir="ltr"] .service-photo { object-position: left; }
.service-copy {
  display: grid;
  justify-items: center;
  gap: .25em;
  inline-size: 68%;
  text-align: center;
}
.service-copy::before {
  position: absolute;
  z-index: -1;
  inset: 1px;
  border-radius: inherit;
  background: linear-gradient(90deg, #f7fcff 29%, #f7fcfff0 38%, #f7fcff00 69%);
  content: "";
}
[dir="ltr"] .service-copy::before { transform: scaleX(-1); }
.service-copy .icon {
  inline-size: calc(var(--u) * 61);
  block-size: calc(var(--u) * 61);
  color: #007de9;
}
.service-copy h3 {
  margin: 0;
  inline-size: 109%;
  font-size: calc(var(--u) * 20.5);
  line-height: 1.17;
  font-weight: 850;
  direction: rtl;
}
[dir="ltr"] .service-copy h3 { direction: ltr; }
.service-copy h3 span { display: block; }

[dir="rtl"] .hero-actions [data-whatsapp="quote"] .icon use { transform: scaleX(-1); transform-origin: center; }

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  .hero-copy > *, nav details[open] ul { animation: appear .32s ease-out both; }
  .hero h1 { animation-delay: 45ms; }
  .hero-actions { animation-delay: 90ms; }
  .is-entering { animation: scroll-in .42s ease-out; }
  .hero-visual.is-entering { --reveal-x: 14px; --reveal-y: 0px; }
  [dir="ltr"] .hero-visual.is-entering { --reveal-x: -14px; }
  :is(.button, .whatsapp, .service-grid article, .icon, summary::after) {
    transition: transform 180ms ease, box-shadow 180ms ease;
  }
  :is(.button, .whatsapp):active { transform: scale(.98); }
}
@keyframes appear { from { opacity: 0; transform: translateY(6px); } }
@keyframes scroll-in { from { opacity: 0; translate: var(--reveal-x, 0px) var(--reveal-y, 12px); } }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  :is(.button, .whatsapp, .service-grid article):hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 22px #006bd55e;
  }
  :is(.button, .whatsapp, .service-grid article):hover .icon { transform: scale(1.08); }
}

@media (1100px < width <= 1250px) {
  .header { gap: .65rem; }
  .header-actions { gap: .6em; }
}

@media (max-width: 1100px) {
  :root { --u: 1px; }
  .header {
    height: auto;
    min-height: 72px;
    padding: .5rem clamp(1rem, 3vw, 2rem);
    flex-wrap: wrap;
    gap: .55rem;
    background: linear-gradient(112deg, #051538, #072b60);
    font-size: .9rem;
  }
  .header::before { content: none; }
  .brand { flex: 0 0 auto; align-self: center; border-radius: .65rem; background: var(--ice); padding: .2rem .45rem; }
  .brand img { position: static; width: 6rem; transform: none; }
  .menu-toggle { display: block; margin-inline-end: auto; min-height: 44px; }
  .languages button { min-height: 44px; min-width: 44px; font-size: .88rem; }
  .whatsapp { inline-size: 44px; block-size: 44px; }
  .phone, .header-actions .button { min-block-size: 44px; }
  nav { display: none; flex: 0 0 100%; order: 2; }
  .menu-toggle[aria-expanded="true"] + nav { display: flex; }
  .location { display: none; }
  .hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    height: auto;
    align-items: center;
    gap: 1rem;
    padding: 2rem clamp(1rem, 3vw, 2rem) 3.5rem;
  }
  .hero::before { content: none; }
  .hero-copy, [dir="ltr"] .hero-copy { width: auto; margin: 0; padding: 0; }
  .hero p { font-size: clamp(1rem, 2vw, 1.3rem); }
  .hero h1, [dir="ltr"] .hero h1 { font-size: clamp(2rem, 4vw, 3.4rem); }
  .hero .button, [dir="ltr"] .hero .button { min-height: 50px; font-size: clamp(1rem, 2.1vw, 1.35rem); }
  .hero-actions, [dir="ltr"] .hero-actions { gap: .65rem; margin-block-start: 1.5rem; }
  .hero-picture { position: relative; min-inline-size: 0; }
  .hero-visual, [dir="ltr"] .hero-visual { position: static; width: 100%; border-radius: 1.25rem; box-shadow: 0 6px 0 #02a8eb, 0 12px 24px #052d6c3b; }
  .services { padding: 0 clamp(1rem, 3vw, 2rem) 1.5rem; background: #064383; }
  .service-wave { block-size: calc(100% + 2rem); }
  .services h2 { margin-block-end: .7rem; width: min(43%, 18rem); font-size: clamp(1.25rem, 4vw, 2rem); }
  .services h2::before, .services h2::after { inline-size: 42%; }
  .service-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .service-grid article { min-block-size: 135px; border-radius: 1.1rem; padding: .5rem; }
  .service-photo { inset-block: .45rem; inset-inline-end: .45rem; block-size: calc(100% - .9rem); border-radius: .8rem; }
  .service-copy .icon { width: 2.5rem; height: 2.5rem; }
  .service-copy h3 { inline-size: 110%; font-size: clamp(.91rem, 2.05vw, 1.2rem); }
}

@media (max-width: 700px) {
  :root {
    --mobile-gutter: clamp(.75rem, 3.3vw, 1rem);
    --mobile-card-gap: .5rem;
  }
  main .card-list {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-auto-rows: 1fr;
    gap: var(--mobile-card-gap);
  }
  /* The header, photo and two ribbons follow the 941px-wide mobile artwork. */
  .header {
    display: grid;
    grid-template-columns: 17% 21% 20.5% 12.2% 29.3%;
    grid-template-areas: "menu logo languages chat quote";
    justify-items: center;
    gap: 0;
    height: max(2.65rem, 12.43vw);
    min-height: 0;
    padding: 0;
    background: transparent;
  }
  .header::before {
    content: "";
    inset: 0;
    border: 0;
    box-shadow: none;
    mask: none;
    background: url("../images/mobile/header.svg") center / 100% 100% no-repeat;
    filter: drop-shadow(0 1px 2px #0d80ac38);
  }
  [dir="rtl"] .header::before { transform: none; }
  [dir="ltr"] .header::before { transform: scaleX(-1); }
  .brand { grid-area: logo; inline-size: 86%; padding: 0; background: none; }
  .brand img { display: block; width: 100%; }
  .menu-toggle {
    grid-area: menu;
    position: relative;
    inline-size: min(100%, 3rem);
    block-size: 100%;
    min-height: 0;
    margin: 0;
    padding: 0;
    color: var(--navy);
    border: 0;
    font-size: 0;
  }
  .menu-toggle::before {
    content: "";
    position: absolute;
    top: 47%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 5.2vw;
    height: max(2px, .66vw);
    max-width: 2.25rem;
    background: currentColor;
    border-radius: 1rem;
    box-shadow: 0 -1.5vw currentColor, 0 1.5vw currentColor;
  }
  .header-actions { display: contents; }
  .header-actions .phone { display: none; }
  .languages {
    grid-area: languages;
    inline-size: 76%;
    gap: 0;
    border: 1px solid #afc4e7;
    border-radius: 2rem;
    background: #031c48;
  }
  .languages button {
    flex: 1;
    position: relative;
    min-inline-size: 0;
    min-block-size: 0;
    padding: .25em 0;
    border: 0;
    border-radius: inherit;
    color: white;
    font: 700 clamp(.625rem, 2.8vw, 1.2rem)/1.2 Arial, sans-serif;
  }
  .languages button[aria-pressed="true"] {
    color: white;
    background: linear-gradient(#04baff, #0068ea);
  }
  .languages button::after, .header-actions > .button::after, .hero .button::after {
    content: "";
    position: absolute;
    inset: -.35rem 0;
  }
  .header-actions .whatsapp {
    grid-area: chat;
    position: relative;
    inline-size: 7vw;
    block-size: 7vw;
    border: 0;
    background: linear-gradient(140deg, #04a900, #008600);
    background: url("../images/mobile/whatsapp.webp") center / contain no-repeat;
    box-shadow: none;
  }
  .header-actions .whatsapp .icon { display: none; }
  .header-actions .whatsapp::before, .header-actions .whatsapp::after {
    content: "";
    position: absolute;
    top: 14%;
    height: 70%;
    width: 1px;
    background: #00b8f1;
  }
  .header-actions .whatsapp::before { left: -2.6vw; }
  .header-actions .whatsapp::after { right: -2.6vw; }
  .header-actions > .button {
    grid-area: quote;
    position: relative;
    inline-size: 84%;
    min-block-size: max(1.45rem, 6.6vw);
    padding: .3em .22em;
    gap: .28em;
    border-radius: 1.45vw;
    border: 0;
    background: linear-gradient(#00bafa, #006bff);
    font-size: clamp(.59rem, 2.33vw, 1.03rem);
    line-height: 1.2;
    font-weight: 700;
  }
  .header-actions > .button .icon { inline-size: 1.45em; block-size: 1.45em; }
  #site-nav {
    position: absolute;
    inset: 100% var(--mobile-gutter) auto;
    flex-direction: column;
    align-items: stretch;
    gap: .2rem;
    max-block-size: calc(100dvh - var(--header-offset));
    padding: .65rem 1rem;
    overflow-y: auto;
    overscroll-behavior: contain;
    border-radius: 0 0 .9rem .9rem;
    background: #062454;
    box-shadow: 0 8px 20px #00174460;
  }
  #site-nav ul { position: static; inline-size: auto; }
  #site-nav .menu-phone { display: flex; align-items: center; gap: .4rem; }
  [dir="rtl"] .menu-phone { justify-content: end; }

  .hero, [dir="ltr"] .hero {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0 0 1.6vw;
    margin-block-start: -3.08vw;
    background: radial-gradient(ellipse at 52% 70%, #fff 8%, #f6faff 57%, #e2f0fb);
  }
  .hero-picture {
    order: -1;
    isolation: isolate;
    width: 100%;
    aspect-ratio: 941 / 801;
    overflow: clip;
  }
  .hero-picture::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: auto 0 0;
    height: 38.26%;
    background: url("../images/mobile/hero-wave.svg") center / 100% 100% no-repeat;
  }
  [dir="ltr"] .hero-picture::before { transform: scaleX(-1); }
  .hero-visual, [dir="ltr"] .hero-visual {
    height: auto;
    border-radius: 0;
    box-shadow: none;
  }
  .hero-copy, [dir="ltr"] .hero-copy {
    position: relative;
    margin: -4.5vw 5.35vw 0;
  }
  .hero .eyebrow {
    gap: 3.5vw;
    padding-inline-start: 1.4vw;
    font-size: clamp(.7rem, 3.16vw, 1.38rem);
    line-height: 1.55;
  }
  .eyebrow::after { inline-size: 8.6vw; height: .74vw; flex-shrink: 0; }
  .hero h1, [dir="ltr"] .hero h1, [dir="rtl"] .hero h1 {
    margin: 1.5vw 1vw 1.2vw;
    font-size: clamp(.8rem, 4.5vw, 1.85rem);
    line-height: 1.35;
    font-weight: 850;
    text-align: start;
  }
  .hero h1 span, .hero h1 strong { display: inline; }
  .hero p:not(.eyebrow), [dir="ltr"] .hero p:not(.eyebrow) {
    max-inline-size: 100%;
    padding-inline: 1.4vw;
    text-align: center;
    text-wrap: balance;
    font-size: clamp(.7rem, 2.72vw, 1.23rem);
    font-weight: 700;
    line-height: 1.35;
  }
  .hero-actions, [dir="ltr"] .hero-actions {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    gap: 3.75vw;
    margin-block-start: 2.3vw;
  }
  .hero .button, [dir="ltr"] .hero .button {
    position: relative;
    min-block-size: max(1.65rem, 7.45vw);
    padding: .2em .48em;
    gap: .8em;
    border-radius: 3em;
    font-size: clamp(.8rem, 3.35vw, 1.48rem);
    font-weight: 800;
    line-height: 1.25;
    background: linear-gradient(#00b9ff, #0085fc 48%, #003ce6);
    box-shadow: inset 0 1px 1px #fff8;
  }
  .hero .button.secondary {
    border-width: max(1px, .25vw);
    background: linear-gradient(#fff 8%, #f7fbff 68%, #e5eff9);
  }
  .hero .button .icon { inline-size: 1.45em; block-size: 1.45em; }
  [dir="rtl"] .hero-actions [data-whatsapp="quote"] .icon use { transform: none; }

  .services {
    padding: 1.85vw 2.1vw 6.3vw;
    background: linear-gradient(180deg, #052f6d, #06377a 71%, #043273);
  }
  .services::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: -3.35vw 0 auto;
    height: 10.1vw;
    background: url("../images/mobile/services-wave.svg") center / 100% 100% no-repeat;
  }
  [dir="ltr"] .services::before { transform: scaleX(-1); }
  .service-wave { display: none; }
  .services h2 {
    width: 28.4vw;
    margin: 0 auto 1.85vw;
    padding: .02em .32em .08em;
    font-size: clamp(.95rem, 4.3vw, 1.9rem);
    line-height: 1.25;
    background: linear-gradient(#063477, #04275e);
    box-shadow: inset 0 0 .2em #a1dcff65, 0 3px 6px #00164365;
  }
  .services h2::before, .services h2::after {
    inline-size: 18.6vw;
    height: max(1px, .43vw);
    border-radius: 1rem;
    background: #ecfaff;
  }
  main .service-grid, [dir="ltr"] .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-areas: "carpets offices" "glass homes" "garden garden";
    grid-auto-rows: 1fr;
    gap: 1.8vw 1.65vw;
    direction: inherit;
  }
  #carpets { grid-area: carpets; --card-icon: url("../images/mobile/carpets-icon.png"); }
  #offices { grid-area: offices; --card-icon: url("../images/mobile/offices-icon.png"); }
  #homes { grid-area: homes; --card-icon: url("../images/mobile/homes-icon.png"); }
  #glass { grid-area: glass; --card-icon: url("../images/mobile/glass-icon.png"); }
  #gardening { grid-area: garden; width: calc((100% - 1.65vw) / 2); justify-self: center; }
  .service-grid article {
    display: grid;
    min-block-size: 15.3vw;
    align-items: center;
    padding: .55vw 1.4vw;
    border-color: #f9fdff;
    border-radius: 2.9vw;
    background: linear-gradient(150deg, #fff 25%, #eff7fd 80%, #e6f1fa);
    box-shadow: inset 0 1px 2px white, 0 .75vw 1.25vw #00174290;
  }
  .service-photo {
    inset-block: 1.15vw;
    inset-inline-end: 1.55vw;
    inline-size: 66%;
    block-size: calc(100% - 2.3vw);
    border-radius: 1.75vw;
    object-position: left center;
    object-fit: cover;
  }
  [dir="ltr"] .service-photo { transform: scaleX(-1); }
  #gardening .service-photo {
    mask-image: linear-gradient(to right, black 56%, transparent);
  }
  .service-copy {
    inline-size: 60%;
    justify-items: start;
    gap: .18vw;
    text-align: start;
  }
  .service-copy::before { content: none; }
  .service-copy .icon {
    inline-size: 7.1vw;
    block-size: 5vw;
    color: #008bfa;
  }
  .service-grid article:not(#gardening) .icon {
    background: var(--card-icon) center / contain no-repeat;
  }
  .service-grid article:not(#gardening) .icon use { display: none; }
  #carpets .icon { inline-size: 9.4vw; }
  .service-copy h3 {
    inline-size: 100%;
    font-size: clamp(.53rem, 2.75vw, 1.2rem);
    font-weight: 850;
    line-height: 1.12;
  }
  [dir="rtl"] .service-copy h3 { line-height: 1.15; }
  [dir="ltr"] .service-copy h3 { line-height: 1.12; }
}

@media (max-width: 340px) {
  .hero, [dir="ltr"] .hero { padding-block-end: .5vw; }
  .hero h1, [dir="ltr"] .hero h1, [dir="rtl"] .hero h1 {
    margin-block: 1vw .8vw;
  }
  .hero p:not(.eyebrow), [dir="ltr"] .hero p:not(.eyebrow) {
    line-height: 1.2;
  }
  .hero-actions, [dir="ltr"] .hero-actions {
    margin-block-start: 1.5vw;
  }
  .services { padding-block-start: 1vw; }
}
