/* ============================================================
   Optimum — Business Setup & Financial Services in the UAE
   Strict corporate style: deep navy / white / restrained red
   ============================================================ */

:root {
  --navy-900: #0b1f33;
  --navy-800: #10293f;
  --navy-700: #16344e;
  --navy-100: #dbe3ea;

  --accent: #c0392b;
  --accent-dark: #a8291c;

  --text: #1c2b3a;
  --text-muted: #5a6b7b;
  --text-light: #b8c5d1;

  --bg: #ffffff;
  --bg-alt: #f5f7f9;
  --border: #e3e8ed;

  --font-heading: "Manrope", "Segoe UI", sans-serif;
  --font-body: "Inter", "Segoe UI", sans-serif;

  --container: 1180px;
  --radius: 6px;
  --shadow: 0 8px 30px rgba(11, 31, 51, 0.08);
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

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

ul,
ol {
  list-style: none;
}

/* ---------- Layout helpers ---------- */
.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

.section {
  padding: 96px 0;
}

.section--alt {
  background: var(--bg-alt);
}

.section__head {
  max-width: 640px;
  margin: 0 auto 56px;
  text-align: center;
}

.section__title {
  font-family: var(--font-heading);
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 800;
  line-height: 1.2;
  color: var(--navy-900);
  margin-bottom: 16px;
  text-wrap: balance;
}

.section__lead {
  color: var(--text-muted);
  font-size: 17px;
  text-wrap: balance;
}

.eyebrow {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.eyebrow--light {
  color: #e0857b;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  padding: 14px 30px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
  text-align: center;
}

.btn--accent {
  background: var(--accent);
  color: #fff;
}

.btn--accent:hover {
  background: var(--accent-dark);
}

.btn--ghost {
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
}

.btn--ghost:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.btn--sm {
  padding: 10px 22px;
  font-size: 14px;
}

.btn--block {
  display: block;
  width: 100%;
}

[data-parallax] img {
  will-change: transform;
}

p,
.why__text,
.service-card__text,
.process-step__text,
.faq-item__a {
  text-wrap: pretty;
}

.cta-band__title {
  text-wrap: balance;
}

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy-900);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header__inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 76px;
}

.header__logo img {
  width: 130px;
  height: auto;
}

.nav {
  margin-left: auto;
}

.nav__list {
  display: flex;
  gap: 28px;
}

.nav__link {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 600;
  color: var(--text-light);
  transition: color 0.2s;
}

.nav__link:hover {
  color: #fff;
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.header__phone {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 15px;
  color: #fff;
  white-space: nowrap;
}

.header__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
}

.header__burger span {
  display: block;
  width: 22px;
  height: 2px;
  margin-inline: auto;
  background: #fff;
  transition: transform 0.25s, opacity 0.25s;
}

.header__burger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.header__burger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.header__burger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------- Hero ---------- */
.hero {
  background:
    linear-gradient(100deg, rgba(11, 31, 51, 0.96) 0%, rgba(11, 31, 51, 0.85) 45%, rgba(16, 41, 63, 0.45) 100%),
    url("../assets/img/hero-bg.jpg") center 62% / cover no-repeat;
  color: #fff;
  padding: 96px 0 104px;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-areas:
    "head"
    "body";
}

.hero__head,
.hero__body {
  max-width: 720px;
}

.hero__head {
  grid-area: head;
  align-self: end;
}

.hero__body {
  grid-area: body;
  align-self: start;
}

.hero__title {
  font-family: var(--font-heading);
  font-size: clamp(34px, 5vw, 52px);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
  text-wrap: balance;
}

.hero__text {
  font-size: 17px;
  color: var(--text-light);
  margin-bottom: 32px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 16px;
}

/* ---------- Stats ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: 72px;
}

.stats__item {
  background: rgba(255, 255, 255, 0.04);
  text-align: center;
  padding: 32px 16px;
}

.stats__number,
.stats__suffix {
  font-family: var(--font-heading);
  font-size: clamp(30px, 4vw, 42px);
  font-weight: 800;
  color: #fff;
}

.stats__suffix {
  color: var(--accent);
}

.stats__label {
  display: block;
  margin-top: 6px;
  font-size: 14px;
  color: var(--text-light);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ---------- Services ---------- */
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 30px;
  transition: box-shadow 0.25s, transform 0.25s, border-color 0.25s;
}

.service-card:hover {
  box-shadow: var(--shadow);
  border-color: transparent;
  transform: translateY(-4px);
}

.service-card__icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  background: var(--bg-alt);
  color: var(--accent);
  margin-bottom: 22px;
}

.service-card__icon svg {
  width: 28px;
  height: 28px;
}

.service-card__title {
  font-family: var(--font-heading);
  font-size: 19px;
  font-weight: 700;
  color: var(--navy-900);
  margin-bottom: 10px;
}

.service-card__text {
  font-size: 15px;
  color: var(--text-muted);
}

.service-card--cta {
  background: var(--navy-900);
  border-color: var(--navy-900);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 6px;
}

.service-card--cta .service-card__title {
  color: #fff;
}

.service-card--cta .service-card__text {
  color: var(--text-light);
  margin-bottom: 14px;
}

/* ---------- Why Choose Us ---------- */
.why--dark {
  background:
    linear-gradient(100deg, rgba(11, 31, 51, 0.96) 0%, rgba(11, 31, 51, 0.88) 55%, rgba(16, 41, 63, 0.6) 100%),
    url("../assets/img/why-bg.jpg") center 40% / cover no-repeat;
  color: #fff;
}

.why__inner {
  display: grid;
  grid-template-columns: 1fr;
}

.why__content {
  max-width: 760px;
}

.why--dark .section__title {
  color: #fff;
}

.why--dark .why-point__title,
.why--dark .why__checks li {
  color: #fff;
}

.why--dark .why__text,
.why--dark .why-point__text {
  color: var(--text-light);
}

.why__content .section__title {
  margin-bottom: 18px;
}

.why__text {
  color: var(--text-muted);
  margin-bottom: 32px;
  font-size: 17px;
}

.why__points {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-bottom: 32px;
}

.why-point {
  border-left: 3px solid var(--accent);
  padding-left: 18px;
}

.why-point__title {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 700;
  color: var(--navy-900);
  margin-bottom: 6px;
}

.why-point__text {
  font-size: 14.5px;
  color: var(--text-muted);
}

.why__checks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 24px;
}

.why__checks li {
  position: relative;
  padding-left: 30px;
  font-weight: 500;
  color: var(--navy-900);
}

.why__checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent);
}

.why__checks li::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 8px;
  width: 10px;
  height: 6px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg);
}

/* ---------- Process ---------- */
.process__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  counter-reset: step;
}

.process-step {
  position: relative;
  padding: 32px 26px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
}

.process-step__num {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: 0.08em;
}

.process-step__title {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: var(--navy-900);
  margin: 10px 0 8px;
}

.process-step__text {
  font-size: 14.5px;
  color: var(--text-muted);
}

/* ---------- FAQ ---------- */
.faq__inner {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 72px;
  align-items: start;
}

.faq__head .section__title {
  margin-bottom: 14px;
}

.faq__list {
  display: grid;
  gap: 14px;
}

.faq-item {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0 24px;
}

.faq-item__q {
  font-family: var(--font-heading);
  font-size: 16.5px;
  font-weight: 700;
  color: var(--navy-900);
  padding: 20px 36px 20px 0;
  cursor: pointer;
  list-style: none;
  position: relative;
}

.faq-item__q::-webkit-details-marker {
  display: none;
}

.faq-item__q::after {
  content: "";
  position: absolute;
  right: 4px;
  top: 50%;
  width: 9px;
  height: 9px;
  border-right: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.2s;
}

.faq-item[open] .faq-item__q::after {
  transform: translateY(-30%) rotate(225deg);
}

.faq-item__a {
  color: var(--text-muted);
  font-size: 15px;
  padding-bottom: 22px;
}

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  overflow: hidden;
  background: var(--navy-900);
  padding: 88px 0;
}

.cta-band__bg {
  position: absolute;
  inset: 0;
}

.cta-band__bg img {
  position: absolute;
  left: 0;
  top: -25%;
  width: 100%;
  height: 150%;
  object-fit: cover;
}

.cta-band__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(11, 31, 51, 0.88) 0%, rgba(11, 31, 51, 0.5) 55%, rgba(11, 31, 51, 0.3) 100%);
}

.cta-band__inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.cta-band__title {
  font-family: var(--font-heading);
  font-size: clamp(24px, 3.4vw, 32px);
  font-weight: 800;
  color: #fff;
  max-width: 620px;
}

/* ---------- Contact ---------- */
.contact__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: 980px;
  margin-inline: auto;
}

.contact-card {
  display: block;
  text-align: center;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 30px;
  transition: box-shadow 0.25s, transform 0.25s, border-color 0.25s;
}

.contact-card:hover {
  box-shadow: var(--shadow);
  border-color: transparent;
  transform: translateY(-4px);
}

.contact-card__icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--bg-alt);
  color: var(--accent);
  margin: 0 auto 18px;
}

.contact-card__icon svg {
  width: 26px;
  height: 26px;
}

.contact-card__title {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.contact-card__value,
.contact-card__value a {
  display: block;
  font-weight: 600;
  font-size: 16.5px;
  color: var(--navy-900);
  transition: color 0.2s;
}

.contact-card__value a {
  margin-top: 2px;
}

a.contact-card:hover .contact-card__value,
.contact-card__value a:hover {
  color: var(--accent);
}

/* ---------- Footer ---------- */
.footer {
  background: var(--navy-900);
  color: var(--text-light);
}

.footer__inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 0.8fr 1fr;
  gap: 48px;
  padding: 72px 24px 56px;
}

.footer__brand img {
  width: 140px;
  margin-bottom: 18px;
}

.footer__tagline {
  font-size: 14.5px;
  max-width: 300px;
}

.footer__heading {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 18px;
}

.footer__col ul {
  display: grid;
  gap: 10px;
}

.footer__col a {
  font-size: 14.5px;
  transition: color 0.2s;
}

.footer__col a:hover {
  color: #fff;
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 22px 0;
  font-size: 13.5px;
  text-align: center;
}

/* ============================================================
   Responsive
   ============================================================ */

@media (max-width: 1024px) {
  .hero {
    background:
      linear-gradient(180deg, rgba(11, 31, 51, 0.93) 0%, rgba(11, 31, 51, 0.78) 55%, rgba(11, 31, 51, 0.55) 100%),
      url("../assets/img/hero-bg.jpg") center 62% / cover no-repeat;
  }

  .hero__inner {
    grid-template-columns: 1fr;
    grid-template-areas:
      "head"
      "body";
    text-align: center;
    margin-inline: auto;
  }

  .hero__text {
    margin-inline: auto;
    text-align: center;
    max-width: 540px;
  }

  .hero__actions {
    justify-content: center;
  }

  .services__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .why__inner,
  .faq__inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .contact__grid {
    grid-template-columns: 1fr;
    max-width: 480px;
  }

  .footer__inner {
    grid-template-columns: 1fr 1fr;
  }

  .header__phone {
    display: none;
  }
}

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

  .hero__title {
    font-size: 28px;
  }

  .eyebrow {
    text-wrap: balance;
  }

  .header__actions .btn {
    display: none;
  }

  .header__burger {
    display: flex;
    margin-left: auto;
  }

  .nav {
    position: fixed;
    inset: 76px 0 auto 0;
    background: var(--navy-900);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 12px 24px 24px;
    transform: translateY(-120%);
    transition: transform 0.3s ease;
    z-index: 99;
  }

  .nav.is-open {
    transform: translateY(0);
  }

  .nav__list {
    flex-direction: column;
    gap: 4px;
  }

  .nav__link {
    display: block;
    padding: 12px 0;
    font-size: 17px;
  }

  .services__grid,
  .process__grid {
    grid-template-columns: 1fr;
  }

  .stats {
    grid-template-columns: 1fr;
  }

  .why__points {
    grid-template-columns: 1fr;
  }

  .why__checks {
    grid-template-columns: 1fr;
  }

  .footer__inner {
    grid-template-columns: 1fr;
    gap: 40px;
    padding-block: 56px 40px;
    text-align: center;
  }

  .footer__brand img {
    margin-inline: auto;
  }

  .footer__tagline {
    margin-inline: auto;
    max-width: 320px;
  }

  .footer__col a {
    display: inline-block;
    padding: 2px 0;
  }

  .cta-band__inner {
    justify-content: center;
    text-align: center;
  }
}
