:root {
  color-scheme: dark;
  --bg: #02070b;
  --panel: rgba(6, 20, 26, 0.82);
  --panel-strong: rgba(8, 26, 32, 0.95);
  --line: rgba(255, 255, 255, 0.18);
  --text: #f8fbf8;
  --muted: rgba(255, 255, 255, 0.76);
  --green: #00dc35;
  --green-soft: #0b8f32;
  --gold: #d9a33a;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 126px;
}

#rates,
#branches,
#services,
#transfers,
#about,
#contact {
  scroll-margin-top: 126px;
}

body {
  margin: 0;
  min-height: 100svh;
  background: var(--bg);
  color: var(--text);
  font-family: Tahoma, Arial, sans-serif;
  overflow-x: hidden;
}

a,
button {
  font: inherit;
}

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

.page-glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 42% 34%, rgba(0, 218, 52, 0.18), transparent 28rem),
    radial-gradient(circle at 78% 70%, rgba(0, 218, 52, 0.1), transparent 22rem),
    linear-gradient(180deg, #02060a 0%, #06131a 58%, #02070b 100%);
}

.header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-areas: "brand nav actions";
  align-items: center;
  gap: 28px;
  min-height: 106px;
  padding: 22px 44px;
  background: rgba(1, 6, 10, 0.88);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(14px);
  direction: ltr;
}

.brand {
  grid-area: brand;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  justify-self: start;
  width: 286px;
  height: 78px;
  padding: 2px 0;
  background: transparent;
  border-radius: 0;
  filter: drop-shadow(0 0 8px rgba(0, 220, 53, 0.36));
  overflow: hidden;
  direction: ltr;
}

.brand-full {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.nav {
  grid-area: nav;
  display: flex;
  justify-content: center;
  gap: 32px;
  white-space: nowrap;
  direction: rtl;
}

.nav a {
  position: relative;
  padding: 11px 0;
  color: #fff;
  font-weight: 700;
  transition: color 160ms ease;
}

.nav a::after {
  position: absolute;
  right: 0;
  bottom: 2px;
  width: 0;
  height: 2px;
  content: "";
  background: var(--green);
  transition: width 180ms ease;
}

.nav a:hover,
.nav a.active {
  color: var(--green);
}

.nav a:hover::after,
.nav a.active::after {
  width: 100%;
}

.header-actions {
  grid-area: actions;
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 16px;
  direction: ltr;
}

.phone-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--green);
  font-size: 19px;
  white-space: nowrap;
}

.phone-link span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 2px solid var(--green);
  border-radius: 50%;
}

.lang,
.menu-toggle {
  border: 0;
  color: #fff;
  cursor: pointer;
}

.lang {
  min-width: 88px;
  min-height: 42px;
  padding: 0 16px;
  background: transparent;
  border-radius: 6px;
  transition: background 160ms ease, transform 160ms ease;
}

.lang:hover,
.lang.active-lang {
  background: linear-gradient(180deg, #0ed83c, #07932a);
}

.lang:active,
.btn:active,
.service-card:active {
  transform: translateY(1px);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.hero {
  position: relative;
  min-height: 540px;
  padding: 52px 70px 185px;
  overflow: hidden;
}

.hero::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.16), rgba(0, 0, 0, 0.7) 58%, rgba(0, 0, 0, 0.08)),
    linear-gradient(180deg, rgba(2, 7, 11, 0.15), rgba(2, 7, 11, 0.22) 70%, #02070b 100%),
    url("assets/yaqout-background.png") center center / cover no-repeat;
  opacity: 1;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 640px;
  margin-inline-start: 0;
  margin-inline-end: auto;
  padding-top: 34px;
  text-align: center;
}

.eyebrow {
  margin: 0 0 18px;
  color: #fff;
  font-size: clamp(22px, 2vw, 34px);
}

.hero h1 {
  margin: 0;
  display: grid;
  gap: 8px;
  font-size: clamp(44px, 5vw, 74px);
  line-height: 1.05;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.85);
}

.hero h1 strong {
  color: var(--green);
}

.hero-text {
  max-width: 630px;
  margin: 26px auto 0;
  color: #fff;
  font-size: clamp(18px, 1.6vw, 24px);
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 34px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 64px;
  padding: 0 30px;
  border-radius: 8px;
  font-weight: 800;
  font-size: 20px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.btn.primary {
  background: linear-gradient(180deg, #11e448, #06952c);
  box-shadow: 0 0 28px rgba(0, 220, 53, 0.35);
}

.btn.ghost {
  background: rgba(1, 8, 12, 0.55);
  border-color: rgba(255, 255, 255, 0.55);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 34px rgba(0, 220, 53, 0.28);
}

.skyline {
  position: absolute;
  right: 0;
  bottom: 98px;
  left: 0;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  gap: 18px;
  height: 260px;
  padding: 0 42px;
  opacity: 0;
}

.skyline span {
  flex: 1;
  height: var(--h, 160px);
  min-width: 56px;
  background:
    repeating-linear-gradient(0deg, transparent 0 16px, rgba(255, 190, 76, 0.8) 17px 20px),
    linear-gradient(180deg, #092237, #02080c);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.skyline span:nth-child(1) { --h: 190px; border-radius: 80px 80px 0 0; }
.skyline span:nth-child(2) { --h: 140px; }
.skyline span:nth-child(3) { --h: 310px; max-width: 86px; }
.skyline span:nth-child(4) { --h: 225px; }
.skyline span:nth-child(5) { --h: 170px; }
.skyline span:nth-child(6) { --h: 120px; }

.gold-spire {
  position: absolute;
  z-index: 2;
  right: 40%;
  bottom: 116px;
  width: 84px;
  height: 360px;
  background: linear-gradient(90deg, #6a3d0f, #ffe18c, #a76818);
  clip-path: polygon(50% 0, 72% 66%, 50% 100%, 28% 66%);
  opacity: 0;
  filter: drop-shadow(0 0 20px rgba(238, 183, 64, 0.55));
}

.light-streams {
  position: absolute;
  right: -5%;
  bottom: 72px;
  z-index: 3;
  width: 110%;
  height: 130px;
  background:
    radial-gradient(circle, rgba(255, 238, 117, 0.95) 0 2px, transparent 3px) 0 20px / 85px 30px,
    linear-gradient(170deg, transparent 36%, rgba(0, 255, 64, 0.86) 39%, transparent 43%),
    linear-gradient(174deg, transparent 45%, rgba(0, 148, 39, 0.92) 49%, transparent 54%);
  opacity: 0;
  filter: drop-shadow(0 0 12px rgba(0, 255, 64, 0.7));
}

.services,
.rates-panel,
.branches-panel,
.info-sections,
.contact-strip,
.footer {
  position: relative;
  z-index: 4;
}

.services {
  margin-top: -122px;
  padding: 0 88px 18px;
}

.services h2,
.rates-panel h2 {
  margin: 0 0 16px;
  text-align: center;
  font-size: 36px;
}

.services h2::after,
.rates-panel h2::after {
  display: block;
  width: 70px;
  height: 2px;
  margin: 8px auto 0;
  content: "";
  background: var(--green);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 24px;
}

.service-card {
  min-height: 210px;
  padding: 20px 18px;
  color: #fff;
  cursor: pointer;
  background: linear-gradient(180deg, rgba(8, 24, 31, 0.92), rgba(4, 14, 18, 0.92));
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.service-card:hover,
.service-card:focus-visible {
  transform: translateY(-7px);
  border-color: var(--green);
  background: linear-gradient(180deg, rgba(8, 39, 28, 0.96), rgba(3, 18, 15, 0.96));
  outline: none;
}

.service-card .icon {
  display: grid;
  place-items: center;
  color: var(--green);
  width: 68px;
  height: 68px;
  margin: 0 auto 18px;
  line-height: 1;
}

.service-card .icon svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 3.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 7px rgba(0, 220, 53, 0.28));
}

.service-card .sham-icon {
  width: 78px;
  height: 78px;
  background: transparent;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
}

.service-card .sham-icon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 0 9px rgba(0, 220, 53, 0.36));
}

.service-card .sham-icon svg {
  fill: none;
  stroke: none;
  filter: none;
}

.service-card .sham-icon .sham-top {
  fill: url("#shamTop");
  filter: drop-shadow(0 0 8px rgba(0, 220, 53, 0.42));
}

.service-card .sham-icon .sham-cut {
  fill: #06151a;
  opacity: 0.98;
}

.service-card .sham-icon .sham-bottom {
  fill: url("#shamBottom");
  filter: drop-shadow(0 0 7px rgba(0, 220, 53, 0.34));
}

.service-card b {
  display: block;
  color: var(--green);
  font-size: 21px;
}

.service-card small {
  display: block;
  margin-top: 12px;
  color: #fff;
  font-size: 17px;
  line-height: 1.6;
}

.rates-panel {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  align-items: center;
  gap: 36px;
  margin: 26px 88px 0;
  padding: 30px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.branches-panel {
  margin: 26px 88px 0;
  padding: 30px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.branches-heading h2 {
  margin: 0 0 22px;
  text-align: center;
  font-size: 36px;
}

.branches-heading h2::after {
  display: block;
  width: 70px;
  height: 2px;
  margin: 8px auto 0;
  content: "";
  background: var(--green);
}

.branch-search {
  display: grid;
  gap: 10px;
  width: min(760px, 100%);
  margin: 0 auto 24px;
  color: var(--green);
  font-weight: 800;
  text-align: center;
}

.branch-search-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
}

.branch-search input {
  width: 100%;
  min-height: 54px;
  padding: 0 20px;
  color: #fff;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(0, 220, 53, 0.42);
  border-radius: 8px;
  outline: none;
  text-align: inherit;
}

.branch-search input::placeholder {
  color: rgba(255, 255, 255, 0.58);
}

.branch-search input:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(0, 220, 53, 0.14);
}

.nearest-branch {
  min-width: 132px;
  min-height: 54px;
  padding: 0 18px;
  color: #fff;
  cursor: pointer;
  background: linear-gradient(180deg, #11e448, #06952c);
  border: 0;
  border-radius: 8px;
  font-weight: 800;
  white-space: nowrap;
  box-shadow: 0 0 18px rgba(0, 220, 53, 0.22);
}

.nearest-branch:disabled {
  cursor: wait;
  opacity: 0.72;
}

.branch-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.branch-card {
  min-height: 172px;
  padding: 22px;
  background: linear-gradient(180deg, rgba(8, 24, 31, 0.92), rgba(3, 14, 18, 0.94));
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
}

.branch-card h3 {
  margin: 0 0 12px;
  color: var(--green);
  font-size: 22px;
}

.branch-card p {
  min-height: 54px;
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.branch-distance {
  display: block;
  margin-top: 12px;
  color: #fff;
  font-size: 15px;
}

.branch-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.branch-actions a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  color: #fff;
  background: rgba(0, 220, 53, 0.12);
  border: 1px solid rgba(0, 220, 53, 0.45);
  border-radius: 6px;
}

.section-kicker {
  margin: 0 0 8px;
  color: var(--green);
  font-weight: 800;
  text-align: center;
}

.rate-table {
  display: grid;
  gap: 10px;
}

.rate-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 6px;
}

.rate-row.head {
  color: var(--green);
  font-weight: 800;
}

.info-sections {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin: 24px 88px 0;
}

.info-block {
  min-height: 180px;
  padding: 26px;
  background: linear-gradient(180deg, rgba(8, 24, 31, 0.88), rgba(3, 12, 17, 0.92));
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
}

.info-block h2 {
  margin: 0 0 12px;
  color: #fff;
  font-size: 24px;
}

.info-block p:last-child {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.contact-strip {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 46px;
  margin-top: 22px;
  padding: 0 48px;
  background: rgba(3, 12, 17, 0.96);
  border-block: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-strip strong {
  padding: 11px 22px;
  background: linear-gradient(180deg, #12e348, #068f2a);
  border-radius: 5px;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 62px;
  padding: 0 48px;
  background: #02070b;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer p {
  margin: 0;
}

.socials {
  display: flex;
  gap: 18px;
}

.socials a {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  color: #02070b;
  background: #fff;
  border-radius: 50%;
  font-weight: 800;
  transition: transform 160ms ease, background 160ms ease;
}

.socials a:hover {
  background: var(--green);
  transform: translateY(-2px);
}

.service-dialog {
  width: min(440px, calc(100vw - 36px));
  padding: 30px;
  color: #fff;
  background: var(--panel-strong);
  border: 1px solid var(--green);
  border-radius: 8px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.7);
}

.service-dialog::backdrop {
  background: rgba(0, 0, 0, 0.62);
}

.service-dialog h3 {
  margin: 0 0 12px;
  color: var(--green);
  font-size: 28px;
}

.service-dialog p {
  margin: 0 0 22px;
  color: var(--muted);
  line-height: 1.8;
}

.close-dialog {
  position: absolute;
  top: 12px;
  left: 12px;
  width: 34px;
  height: 34px;
  color: #fff;
  cursor: pointer;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 50%;
}

@media (max-width: 1180px) {
  .header {
    grid-template-columns: auto auto;
    grid-template-areas:
      "menu brand"
      "nav nav"
      "actions actions";
    justify-content: space-between;
  }

  .menu-toggle {
    grid-area: menu;
    display: inline-grid;
    place-items: center;
    justify-self: start;
  }

  .nav,
  .header-actions {
    grid-column: 1 / -1;
    display: none;
  }

  .header.menu-open .nav,
  .header.menu-open .header-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }

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

@media (max-width: 1400px) {
  .header {
    gap: 18px;
    padding-inline: 24px;
  }

  .brand {
    width: 232px;
    height: 64px;
  }

  .nav {
    gap: 22px;
  }

  .nav a {
    font-size: 15px;
  }

  .header-actions {
    gap: 10px;
  }

  .phone-link {
    font-size: 16px;
  }

  .phone-link span {
    width: 30px;
    height: 30px;
  }

  .lang {
    min-width: 78px;
    padding-inline: 12px;
  }
}

@media (max-width: 760px) {
  .header {
    padding: 16px;
    gap: 14px;
  }

  .brand {
    width: 196px;
    height: 54px;
    padding: 0;
  }

  .nav,
  .header-actions,
  .hero-actions,
  .contact-strip,
  .footer {
    flex-direction: column;
  }

  .hero {
    min-height: 620px;
    padding: 36px 18px 178px;
  }

  .hero-content {
    padding-top: 14px;
  }

  .gold-spire {
    right: 13%;
    height: 280px;
  }

  .services {
    padding: 0 18px 18px;
  }

  .service-grid,
  .rates-panel,
  .branch-grid,
  .info-sections {
    grid-template-columns: 1fr;
  }

  .rates-panel,
  .branches-panel,
  .info-sections {
    margin: 20px 18px 0;
  }

  .branch-search-row {
    grid-template-columns: 1fr;
  }

  .footer,
  .contact-strip {
    padding: 18px;
    text-align: center;
  }
}
