:root {
  --ink: #142428;
  --teal: #0f4c56;
  --deep: #0b333b;
  --sand: #f3eee6;
  --paper: #f7f6f3;
  --line: #e4ddd2;
  --muted: #5e6c70;
  --clay: #c46a3a;
  --nav-h: 4.75rem;
  --supnav-h: 2.25rem;
  --header: calc(var(--nav-h) + var(--supnav-h));
  color-scheme: light;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Readex Pro", "Segoe UI", Tahoma, sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.75;
}

img {
  max-width: 100%;
  display: block;
}

button,
input,
textarea {
  font-family: inherit;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1,
h2,
h3 {
  line-height: 1.3;
  font-weight: 700;
}

a {
  color: inherit;
}

[hidden] {
  display: none !important;
}

::selection {
  background: var(--teal);
  color: #fff;
}

:focus-visible {
  outline: 3px solid #1a7a8c;
  outline-offset: 3px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip {
  position: absolute;
  inset-inline-start: 1rem;
  top: -3rem;
  z-index: 100;
  background: #fff;
  color: var(--teal);
  padding: 0.45rem 0.8rem;
  border-radius: 8px;
}

.skip:focus {
  top: 0.6rem;
}

.container {
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
}

@media (min-width: 768px) {
  .container {
    width: min(1120px, calc(100% - 3rem));
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.7rem 1.3rem;
  border-radius: 999px;
  border: 1.5px solid transparent;
  background: transparent;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn--primary {
  background: var(--teal);
  color: #fff;
}

.btn--primary:hover {
  background: var(--deep);
}

.btn--ghost {
  color: var(--teal);
  border-color: rgba(15, 76, 86, 0.35);
}

.btn--ghost:hover {
  border-color: var(--teal);
  background: rgba(15, 76, 86, 0.05);
}

.btn--light {
  background: #fff;
  color: var(--teal);
}

.btn--small {
  min-height: 40px;
  padding: 0.35rem 0.9rem;
  font-size: 0.85rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 246, 243, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
}

.supnav {
  background: var(--deep);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.78rem;
}

.supnav__inner {
  min-height: var(--supnav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.45rem 1.25rem;
  flex-wrap: wrap;
  padding-block: 0.3rem;
}

.supnav__item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: inherit;
  text-decoration: none;
  min-width: 0;
}

.supnav a:hover {
  color: #fff;
}

.supnav svg {
  width: 0.9rem;
  height: 0.9rem;
  flex-shrink: 0;
  color: #e7b08a;
}

.site-header.is-stuck {
  border-bottom-color: var(--line);
  box-shadow: 0 8px 24px rgba(20, 36, 40, 0.05);
}

.header__inner {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  min-width: 0;
}

.brand__mark {
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
}

.brand__name {
  display: block;
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.2;
}

.brand__en {
  display: none;
  margin-top: 0.1rem;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6d7c80;
}

.nav {
  display: none;
  align-items: center;
  gap: 1.05rem;
}

.nav > a {
  text-decoration: none;
  font-size: 0.94rem;
  font-weight: 500;
  color: #3e4e52;
  padding-block: 0.2rem;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.nav > a:hover,
.nav > a.is-active {
  color: var(--teal);
  border-bottom-color: var(--clay);
}

.header__tools {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.header__cta {
  display: none;
}

.menu-btn {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--ink);
}

.overlay {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: rgba(8, 24, 28, 0.46);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.drawer {
  position: fixed;
  z-index: 80;
  top: 0;
  bottom: 0;
  right: 0;
  width: min(100%, 22rem);
  background: #0c333c;
  color: #fff;
  padding: 1.2rem 1.25rem 2rem;
  transform: translateX(105%);
  transition: transform 0.28s ease;
  overflow: auto;
}

.drawer.is-open {
  transform: translateX(0);
}

.drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.drawer__close {
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  cursor: pointer;
}

.drawer a {
  display: block;
  text-decoration: none;
  padding: 0.8rem 0.15rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-weight: 600;
  transition: color 0.2s ease;
}

.drawer nav a:hover {
  color: #f0c2a4;
}

.drawer a.is-active {
  color: #f0c2a4;
}

.drawer .btn {
  margin-top: 1.2rem;
  width: 100%;
}

.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100svh - var(--header));
  min-height: calc(100dvh - var(--header));
  overflow: hidden;
  color: #fff;
  text-align: center;
}

.intro,
.why,
.contact {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: #0e6a78;
  font-weight: 600;
  font-size: 0.86rem;
}

.kicker::before {
  content: "";
  width: 1.6rem;
  height: 2px;
  background: var(--clay);
}

.hero h1 {
  margin: 0;
  color: #fff;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.4);
}

.hero__name-ar,
.hero__name-en,
.hero__rule {
  display: block;
}

.hero__name-ar {
  font-size: clamp(2.15rem, 8vw, 5.2rem);
  font-weight: 700;
  line-height: 1.2;
}

.hero__rule {
  width: 3.25rem;
  height: 2px;
  margin: 0.85rem auto;
  background: #e7b08a;
}

.hero__name-en {
  font-size: clamp(1.15rem, 3.2vw, 2.7rem);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero__lead,
.section__lead {
  color: var(--muted);
  line-height: 1.9;
}

.hero__lead {
  margin: 1.15rem auto 0;
  max-width: 38rem;
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(0.95rem, 2.2vw, 1.08rem);
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.4);
}

.hero .hero__copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: min(760px, calc(100% - 2rem));
  margin-inline: auto;
  padding-block: clamp(3.2rem, 8vh, 5rem);
}

.hero .btn--primary {
  background: #fff;
  color: var(--teal);
}

.hero .btn--primary:hover {
  background: var(--sand);
}

.hero .btn--ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.75);
}

.hero .btn--ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
}

.hero__actions,
.page-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.6rem;
}

.hero__actions {
  justify-content: center;
}

.frame {
  position: relative;
}

.frame::before,
.frame::after {
  content: "";
  position: absolute;
  width: 34px;
  height: 34px;
  z-index: 2;
  pointer-events: none;
}

.frame::before {
  top: 0;
  inset-inline-start: 0;
  border-block-start: 2px solid var(--clay);
  border-inline-start: 2px solid var(--clay);
}

.frame::after {
  bottom: 0;
  inset-inline-end: 0;
  border-block-end: 2px solid var(--clay);
  border-inline-end: 2px solid var(--clay);
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(160deg, #0f4c56, #1a6e7c);
}

.hero__shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(ellipse at center, rgba(8, 24, 28, 0.62) 0%, rgba(8, 24, 28, 0.38) 48%, rgba(8, 24, 28, 0.55) 100%);
}

.hero__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  opacity: 0;
  transition: opacity 1.1s ease;
}

.hero__media img.is-active {
  opacity: 1;
}

.hero__media img.hero__shot--door {
  object-position: center center;
}

@media (min-width: 900px) {
  .hero__media img.hero__shot--door {
    inset: 50% auto auto auto;
    inset-inline-end: clamp(1rem, 2.5vw, 2.25rem);
    width: min(250px, calc((100vw - 660px) / 2 - 2rem));
    height: auto;
    aspect-ratio: 404 / 760;
    transform: translateY(-50%);
    border-radius: 22px;
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.35);
    object-fit: cover;
    object-position: center center;
  }
}

.city-strip {
  background: #fff;
  border-block: 1px solid var(--line);
  padding-block: 0.9rem;
}

.city-strip ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.45rem 0.55rem;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.92rem;
  font-weight: 600;
}

.city-strip a {
  display: inline-flex;
  align-items: center;
  min-height: 2.15rem;
  padding: 0.2rem 0.85rem;
  border-radius: 999px;
  background: var(--sand);
  color: var(--teal);
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}

.city-strip a:hover {
  background: var(--teal);
  color: #fff;
}

.section {
  padding-block: clamp(3.5rem, 7vw, 6.1rem);
}

.section--sand {
  background: var(--sand);
}

.section--white {
  background: #fff;
}

.section__title {
  margin-top: 0.45rem;
  font-size: clamp(1.7rem, 3vw, 2.45rem);
}

.section__lead {
  margin-top: 0.75rem;
}

.section-head {
  max-width: 40rem;
  margin-bottom: 1.6rem;
}

.section-head--center {
  margin-inline: auto;
  text-align: center;
}

.section-head--center .kicker {
  justify-content: center;
}

.intro__copy .btn,
.about__inner .btn {
  margin-top: 1.4rem;
}

.intro__visual img,
.why__photo img {
  width: 100%;
  border-radius: 24px;
  object-fit: cover;
}

.intro__visual {
  position: relative;
}

.intro__visual img {
  height: auto;
  aspect-ratio: 16 / 10;
  max-height: 360px;
  object-position: center 62%;
}

.intro__float {
  position: absolute;
  inset-inline-start: 1rem;
  bottom: 1rem;
  background: #fff;
  border-radius: 16px;
  padding: 0.75rem 1rem;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}

.intro__float span {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
}

.intro__float strong {
  color: var(--teal);
}

.about__inner {
  max-width: 46rem;
  margin-inline: auto;
  text-align: center;
}

.about__inner .kicker {
  justify-content: center;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.7rem;
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
}

.stats li {
  background: #fff;
  border-radius: 16px;
  padding: 1rem 0.4rem;
}

.stats strong {
  display: block;
  color: var(--teal);
  font-size: clamp(1.5rem, 3vw, 2.15rem);
  line-height: 1.1;
}

.stats span {
  color: var(--muted);
  font-size: 0.82rem;
}

.service-grid,
.branch-grid,
.info-grid {
  display: grid;
  gap: 0.9rem;
}

.service-card,
.branch-card,
.info-card,
.form,
.process__item {
  background: #fff;
  border: 1px solid rgba(15, 76, 86, 0.08);
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(20, 36, 40, 0.04);
}

.service-card,
.process__item {
  padding: 1.3rem 1.2rem 1.4rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover,
.branch-card:hover,
.process__item:hover {
  transform: translateY(-3px);
}

.service-card__no {
  display: block;
  margin-bottom: 0.65rem;
  color: var(--clay);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.service-card h3,
.process__item h3 {
  font-size: 1.15rem;
}

.service-card p,
.process__item p {
  margin-top: 0.5rem;
  color: var(--muted);
  line-height: 1.8;
}

.why-list {
  list-style: none;
  margin: 1.3rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.7rem;
}

.why-list li {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  background: var(--sand);
  border-radius: 14px;
  padding: 0.85rem 0.95rem;
  font-weight: 600;
}

.why-list svg {
  flex: 0 0 auto;
  color: var(--teal);
}

.why__photo img {
  aspect-ratio: 5 / 4;
  object-position: center 28%;
}

.why__caption {
  margin-top: 0.55rem;
  color: var(--muted);
  font-size: 0.85rem;
}

.process {
  display: grid;
  gap: 0.85rem;
}

.process__num {
  width: 2.6rem;
  height: 2.6rem;
  margin-bottom: 0.85rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--teal);
  color: #fff;
  font-weight: 700;
}

.cta {
  position: relative;
  background: var(--deep);
  color: #fff;
  overflow: hidden;
}

.cta::before {
  content: "";
  position: absolute;
  width: 28rem;
  height: 28rem;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.08);
  inset-inline-end: -8rem;
  top: -12rem;
}

.cta__inner {
  position: relative;
  max-width: 40rem;
  margin-inline: auto;
  text-align: center;
}

.cta h2 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
}

.cta p {
  margin-top: 0.75rem;
  color: rgba(255, 255, 255, 0.82);
}

.cta .btn {
  margin-top: 1.4rem;
}

.branch-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
  margin-bottom: 1.4rem;
}

.branch-card {
  padding: 1.15rem 1.1rem 1.1rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 100%;
}

.branch-card.is-active {
  border-color: var(--teal);
  box-shadow: 0 14px 32px rgba(15, 76, 86, 0.12);
}

.branch-card__pin {
  width: 38px;
  height: 38px;
  margin-bottom: 0.75rem;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(15, 76, 86, 0.08);
  color: var(--teal);
}

.branch-card__city {
  font-size: 1.05rem;
}

.branch-card__address {
  margin-top: 0.35rem;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.75;
}

.branch-card__actions {
  margin-top: auto;
  padding-top: 0.9rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: center;
}

.link-map,
.visit-note a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--teal);
  font-weight: 700;
  font-size: 0.88rem;
  text-decoration: none;
}

.link-map::after,
.visit-note a::after {
  content: "←";
  font-size: 0.95rem;
  line-height: 1;
  transition: transform 0.2s ease;
}

.link-map:hover,
.visit-note a:hover {
  color: var(--deep);
}

.link-map:hover::after,
.visit-note a:hover::after {
  transform: translateX(-4px);
}

.info-card {
  display: block;
  padding: 1rem 1.05rem;
  text-decoration: none;
}

a.info-card {
  position: relative;
  padding-inline-end: 2.4rem;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

a.info-card::after {
  content: "←";
  position: absolute;
  inset-inline-end: 1rem;
  top: 50%;
  color: var(--clay);
  font-weight: 700;
  transform: translateY(-50%);
  transition: transform 0.2s ease;
}

.info-card span {
  display: block;
  color: var(--muted);
  font-size: 0.8rem;
}

.info-card strong {
  display: block;
  margin-top: 0.25rem;
  font-size: 1.02rem;
  overflow-wrap: anywhere;
}

a.info-card:hover {
  border-color: rgba(15, 76, 86, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(15, 76, 86, 0.1);
}

a.info-card:hover::after {
  transform: translate(-4px, -50%);
}

.map-panel {
  margin-top: 1rem;
}

.map-panel__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  margin-bottom: 0.6rem;
}

.map-panel__head h3 {
  font-size: 1rem;
}

.map-frame {
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: #e7eeef;
  min-height: 260px;
}

.map-frame iframe {
  display: block;
  width: 100%;
  height: 320px;
  border: 0;
}

.map-label,
.visit-note,
.form-note,
.field-error {
  margin-top: 0.45rem;
  color: var(--muted);
  font-size: 0.85rem;
}

.footer__links a {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.footer__links a::before {
  content: "";
  width: 0.4rem;
  height: 2px;
  background: #e7b08a;
  transition: width 0.2s ease;
}

.footer__links a:hover::before {
  width: 0.75rem;
}

.form {
  padding: 1.3rem 1.15rem 1.35rem;
}

.form h3 {
  font-size: 1.2rem;
}

.field {
  margin-top: 0.85rem;
}

.field label {
  display: block;
  margin-bottom: 0.3rem;
  font-size: 0.88rem;
  font-weight: 600;
}

.field input,
.field textarea,
.branch-tools input {
  width: 100%;
  border: 1px solid #d7e0e1;
  background: #fff;
  color: var(--ink);
  border-radius: 12px;
  padding: 0.8rem 0.95rem;
  font: inherit;
}

.field textarea {
  min-height: 140px;
  resize: vertical;
}

.field input:focus,
.field textarea:focus,
.branch-tools input:focus {
  outline: none;
  border-color: #0e6a78;
  box-shadow: 0 0 0 4px rgba(14, 106, 120, 0.12);
}

.field.has-error input,
.field.has-error textarea {
  border-color: #9a3412;
}

.field-error {
  color: #9a3412;
}

.form .btn {
  margin-top: 1rem;
  width: 100%;
}

.site-footer {
  background: #0c333c;
  color: rgba(255, 255, 255, 0.82);
  padding-block: 3rem 1.1rem;
}

.footer__grid {
  display: grid;
  gap: 1.6rem;
}

.footer__mark {
  width: 48px;
  height: 48px;
  margin-bottom: 0.7rem;
}

.footer__title {
  color: #fff;
  font-size: 1.15rem;
}

.footer__en {
  margin-top: 0.15rem;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.footer__grid p {
  margin-top: 0.75rem;
  font-size: 0.92rem;
  line-height: 1.8;
}

.footer__grid h3 {
  margin-bottom: 0.65rem;
  color: #e7b08a;
  font-size: 0.85rem;
}

.footer__grid ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.35rem;
}

.footer__grid a {
  text-decoration: none;
  overflow-wrap: anywhere;
}

.footer__grid a:hover {
  color: #fff;
}

.footer__base {
  margin-top: 1.8rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.85rem;
}

.footer__credit {
  margin-top: 0.35rem;
  font-size: 0.8rem;
}

.footer__credit a {
  color: #e7b08a;
  text-decoration: none;
}

.footer__credit a:hover {
  color: #fff;
}

.fab {
  position: fixed;
  z-index: 45;
  inset-inline-start: 1rem;
  bottom: 1rem;
  display: grid;
  gap: 0.55rem;
}

.fab a {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}

.fab svg {
  width: 24px;
  height: 24px;
}

.fab--wa {
  background: #1fa855;
}

.fab--call {
  background: var(--teal);
}

.page-hero {
  background:
    radial-gradient(circle at 100% 0%, rgba(196, 106, 58, 0.16), transparent 28rem),
    var(--sand);
  padding-block: 2.4rem 2.1rem;
}

.page-hero h1 {
  margin-top: 0.75rem;
  font-size: clamp(2rem, 4vw, 3rem);
}

.page-hero .section__lead + .section__lead {
  margin-top: 0.45rem;
}

.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  color: var(--muted);
  font-size: 0.88rem;
}

.crumbs a {
  color: var(--teal);
  font-weight: 700;
  text-decoration: none;
}

.branch-tools {
  margin-bottom: 0.9rem;
}

.branch-tools input {
  width: min(100%, 26rem);
  min-height: 48px;
  border-radius: 999px;
  padding-inline: 1.1rem;
}

.branch-layout {
  display: grid;
  gap: 1rem;
}

.branches-empty {
  color: var(--muted);
}

.page-cta {
  text-align: center;
}

.page-cta h2 {
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
}

[id] {
  scroll-margin-top: calc(var(--header) + 0.6rem);
}

.js .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.js .reveal.is-in {
  opacity: 1;
  transform: none;
}

@media (min-width: 640px) {
  .brand__en {
    display: block;
  }

  .header__cta {
    display: inline-flex;
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }

  .form .btn {
    width: auto;
  }

  .info-grid,
  .service-grid,
  .branch-grid {
    grid-template-columns: 1fr 1fr;
  }

  .process {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 900px) {
  .intro,
  .why,
  .contact {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3.2rem;
  }

  .contact {
    align-items: start;
  }
}

@media (min-width: 980px) {
  .branch-layout {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: start;
  }

  .branch-layout__map {
    position: sticky;
    top: calc(var(--header) + 0.8rem);
  }

  .branch-layout .map-frame iframe {
    height: min(70vh, 640px);
  }
}

@media (min-width: 1020px) {
  .branch-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

@media (min-width: 1100px) {
  .nav {
    display: flex;
  }

  .menu-btn,
  .drawer,
  .overlay {
    display: none;
  }

  .process {
    grid-template-columns: repeat(5, 1fr);
    position: relative;
  }

  .process::before {
    content: "";
    position: absolute;
    top: calc(1.3rem + 1.3rem);
    inset-inline: 8%;
    height: 2px;
    background: #d5e4e2;
    z-index: 0;
  }

  .process__item {
    position: relative;
    z-index: 1;
  }

  .process__num {
    box-shadow: 0 0 0 6px var(--sand);
  }

  .footer__grid {
    grid-template-columns: 1.45fr 1fr 1fr 0.9fr;
  }
}

.branch-layout .branch-grid {
  grid-template-columns: 1fr;
}

@media (max-width: 640px) {
  .supnav {
    font-size: 0.72rem;
  }

  .supnav__inner {
    justify-content: center;
  }

  .hero .hero__copy {
    width: min(28rem, calc(100% - 1.5rem));
    padding-block: 2.75rem;
  }

  .hero__name-ar {
    font-size: clamp(1.85rem, 8.4vw, 2.35rem);
  }

  .hero__name-en {
    font-size: clamp(0.95rem, 3.6vw, 1.15rem);
    letter-spacing: 0.08em;
  }

  .hero__lead {
    font-size: 0.95rem;
    line-height: 1.85;
  }

  .hero__actions {
    width: min(100%, 18rem);
    flex-direction: column;
  }

  .hero__actions .btn {
    width: 100%;
  }
}

@media (max-width: 380px) {
  .stats {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}
