/* Base styling */
:root {
  --brand-primary: #ca7a2a;
  --brand-primary-dark: #b1651f;
  --brand-secondary: #1b2230;
  --brand-muted: #f4f4f6;
  --text-color: #121214;
  --text-muted: #5a5f6f;
  --border-radius: 18px;
  --shadow-soft: 0 16px 40px rgba(15, 23, 42, 0.12);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Cairo", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background-color: #fafafc;
  color: var(--text-color);
  line-height: 1.7;
}

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

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

.container {
  width: min(1140px, 92vw);
  margin-inline: auto;
}

.section-kicker {
  display: inline-block;
  font-weight: 700;
  color: var(--brand-primary);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

h1,
h2,
h3,
h4 {
  color: var(--secondary, #121214);
  margin-top: 0;
}

h1 {
  font-size: clamp(2.2rem, 4vw + 1rem, 3.5rem);
  line-height: 1.2;
}

h2 {
  font-size: clamp(1.8rem, 3vw + 1rem, 2.6rem);
}

h3 {
  font-size: 1.4rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.8rem;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
  cursor: pointer;
}

.btn--primary {
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-primary-dark));
  color: #fff;
  box-shadow: 0 16px 30px rgba(193, 128, 50, 0.25);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.85);
  color: var(--brand-primary);
  border: 1px solid rgba(202, 122, 42, 0.4);
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 18px 24px rgba(17, 20, 28, 0.12);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 999;
  backdrop-filter: blur(12px);
  background: rgba(250, 250, 252, 0.9);
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.header-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  color: var(--brand-secondary);
}

.brand__logo {
  width: 56px;
  height: 56px;
  object-fit: contain;
}

.brand__text strong {
  display: block;
  font-size: 1.1rem;
}

.brand__text small {
  display: block;
  font-weight: 400;
  font-size: 0.75rem;
}

.site-nav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  padding: 0;
  margin: 0;
}

.site-nav a {
  font-weight: 600;
  color: var(--text-muted);
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--brand-primary);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  padding: 0.5rem;
  cursor: pointer;
}

.nav-toggle__bar {
  width: 24px;
  height: 2px;
  background: var(--text-color);
  display: block;
  margin: 5px 0;
  transition: transform 0.3s ease;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.hero {
  position: relative;
  padding: clamp(3rem, 12vw, 6rem) 0 clamp(4rem, 13vw, 7rem);
  background: radial-gradient(circle at top left, rgba(202, 122, 42, 0.18), transparent 50%),
              linear-gradient(180deg, rgba(27, 34, 48, 0.05), rgba(27, 34, 48, 0));
  overflow: hidden;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(27, 34, 48, 0.2), transparent);
  pointer-events: none;
}

.hero__content {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 3rem;
  align-items: center;
}

.hero__text p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 1.5rem 0 2rem;
}

.hero__facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  margin: 0;
  padding: 0;
}

.hero__facts dt {
  font-weight: 700;
  color: var(--text-muted);
}

.hero__facts dd {
  margin: 0.25rem 0 0;
  font-size: 1.1rem;
  font-weight: 700;
}

.hero__media {
  position: relative;
  display: grid;
  gap: 1.2rem;
}

.hero__image {
  position: relative;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.hero__image--secondary {
  width: 70%;
  margin-inline-start: auto;
}

.quick-stats {
  margin-top: -4rem;
}

.quick-stats__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.quick-stats__card {
  background: #fff;
  padding: 1.75rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(15, 23, 42, 0.05);
}

.about,
.services,
.rates,
.compliance,
.gallery,
.location,
.contact,
.cta {
  padding: clamp(3rem, 8vw, 5rem) 0;
}

.about__layout {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  align-items: start;
}

.about__copy p {
  color: var(--text-muted);
}

.about__list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
  display: grid;
  gap: 0.75rem;
}

.about__list li {
  padding: 0.85rem 1rem;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 12px 24px rgba(27, 34, 48, 0.08);
}

.about__image {
  margin: 0;
  background: linear-gradient(135deg, rgba(202, 122, 42, 0.25), rgba(27, 34, 48, 0.1));
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.about__image figcaption {
  padding: 1rem 1.5rem;
  color: #fff;
  background: rgba(27, 34, 48, 0.85);
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.service-card {
  background: #fff;
  padding: 1.8rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(27, 34, 48, 0.06);
  transition: transform 0.25s ease, box-shadow 0.3s ease;
}

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

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 45px rgba(27, 34, 48, 0.16);
}

.rates {
  background: linear-gradient(180deg, rgba(202, 122, 42, 0.08), rgba(255, 255, 255, 0.95));
}

.rates__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.2rem;
  margin-top: 2rem;
}

.rate-card {
  padding: 1.6rem;
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(193, 128, 50, 0.18);
}

.rate-card__currency {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.rates__cta {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  background: #fff;
  padding: 1.5rem 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-soft);
}

.compliance {
  background: #101623;
  color: #fff;
}

.compliance__content {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  align-items: center;
}

.compliance__text ul {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
  display: grid;
  gap: 0.8rem;
}

.compliance__text li {
  padding: 0.85rem 1rem;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
}

.compliance__badges {
  display: grid;
  gap: 1.2rem;
}

.badge {
  background: rgba(255, 255, 255, 0.12);
  padding: 1.5rem;
  border-radius: 18px;
  backdrop-filter: blur(8px);
  text-align: center;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.18);
}

.badge__title {
  display: block;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.7);
}

.badge__value {
  display: block;
  font-size: 1.6rem;
  font-weight: 800;
  margin: 0.3rem 0;
  color: #fff;
}

.badge__label {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
}

.gallery__grid {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.gallery figure {
  background: #fff;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.gallery figcaption {
  padding: 1rem 1.2rem;
  color: var(--text-muted);
}

.location__layout {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  align-items: start;
}

.location__details p {
  color: var(--text-muted);
}

.location__info {
  margin: 1.5rem 0 2rem;
  display: grid;
  gap: 1rem;
}

.location__info dt {
  font-weight: 700;
  color: var(--text-muted);
}

.location__map iframe {
  width: 100%;
  min-height: 320px;
  border: 0;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-soft);
}

.contact__layout {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  align-items: start;
}

.contact__details p {
  color: var(--text-muted);
}

.contact__list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
  display: grid;
  gap: 0.75rem;
}

.contact__label {
  display: block;
  font-weight: 700;
  color: var(--text-muted);
}

.contact__cta {
  margin-top: 2rem;
  background: #fff;
  padding: 1.5rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-soft);
}

.contact__form {
  background: #fff;
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-soft);
  display: grid;
  gap: 1rem;
}

.contact__form label {
  display: grid;
  gap: 0.5rem;
  font-weight: 600;
}

.contact__form input,
.contact__form select,
.contact__form textarea {
  padding: 0.8rem 1rem;
  border-radius: 12px;
  border: 1px solid rgba(27, 34, 48, 0.15);
  background: rgba(255, 255, 255, 0.95);
  font-family: inherit;
}

.contact__form input:focus,
.contact__form select:focus,
.contact__form textarea:focus {
  outline: 2px solid rgba(202, 122, 42, 0.45);
  border-color: transparent;
}

.contact__note {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-muted);
  text-align: center;
}

.cta {
  background: linear-gradient(135deg, rgba(27, 34, 48, 0.95), rgba(27, 34, 48, 0.82)),
              url("imges/branch-exterior.jpg") center/cover no-repeat;
  color: #fff;
  text-align: center;
  position: relative;
}

.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(27, 34, 48, 0.85), rgba(0, 0, 0, 0.55));
}

.cta__content {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 1.5rem;
  justify-items: center;
}

.cta__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.site-footer {
  background: #0f1420;
  color: rgba(255, 255, 255, 0.8);
}

.footer__layout {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  padding: 3rem 0 2rem;
}

.footer__brand img {
  width: 72px;
  margin-bottom: 1rem;
}

.footer__links ul,
.footer__legal ul {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  display: grid;
  gap: 0.6rem;
}

.footer__copy {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.2rem 0;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
}

.floating-actions {
  position: fixed;
  bottom: 1.2rem;
  inset-inline-end: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  z-index: 999;
}

.floating-actions__btn {
  padding: 0.65rem 1.4rem;
  border-radius: 999px;
  background: #fff;
  color: var(--brand-primary);
  font-weight: 700;
  box-shadow: 0 12px 30px rgba(27, 34, 48, 0.18);
}

.floating-actions__btn--accent {
  background: var(--brand-primary);
  color: #fff;
}

/* Responsive */
@media (max-width: 900px) {
  .site-nav {
    position: absolute;
    inset-inline-end: 1rem;
    top: calc(100% + 0.5rem);
    background: rgba(255, 255, 255, 0.95);
    border-radius: 18px;
    box-shadow: var(--shadow-soft);
    padding: 1.2rem 1.5rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.25s ease, transform 0.25s ease;
  }

  .site-nav ul {
    flex-direction: column;
    gap: 1rem;
  }

  .site-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav-toggle {
    display: block;
  }

  .quick-stats {
    margin-top: 2rem;
  }

  .hero__content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero__media {
    order: -1;
    justify-items: center;
  }

  .hero__image--secondary {
    width: 60%;
    margin-inline: auto;
  }

  .rates__cta {
    flex-direction: column;
    align-items: stretch;
  }

  .floating-actions {
    inset-inline-end: 0.8rem;
  }
}

@media (max-width: 640px) {
  .header-wrapper {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
  }

  .brand {
    width: 100%;
    justify-content: center;
  }

  .nav-toggle {
    order: -1;
  }

  .hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero__image--secondary {
    width: 70%;
  }

  .cta__actions {
    width: 100%;
    flex-direction: column;
  }

  .floating-actions {
    flex-direction: row;
    bottom: 1rem;
    inset-inline-end: 0.6rem;
    gap: 0.6rem;
  }

  .floating-actions__btn {
    padding: 0.55rem 1.1rem;
    font-size: 0.9rem;
  }

  .contact__form {
    padding: 1.5rem;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 2.5rem 0 3.5rem;
  }

  .floating-actions {
    flex-direction: column;
    inset-inline-end: 0.5rem;
    gap: 0.5rem;
  }

  .floating-actions__btn {
    width: 140px;
    text-align: center;
  }
}
