/* ==========================================================
   Mirranay Trading — Global Styles
   Palette: deep navy, white, warm gold
   ========================================================== */

:root {
  --navy-900: #071528;
  --navy-800: #0b1f3a;
  --navy-700: #13294b;
  --navy-600: #1d3a63;
  --gold-500: #c9a24b;
  --gold-400: #d8b866;
  --gold-100: #f6eedb;
  --gold-600: #a67c2a; /* darker gold for text on light backgrounds */
  --white: #ffffff;
  --off-white: #f7f8fb;
  --ink: #1a2233;
  --muted: #5d6a7e;
  --line: #e4e8ef;

  --font-head: "Playfair Display", Georgia, serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-brand: "Montserrat", "Inter", system-ui, sans-serif;

  --radius: 14px;
  --shadow-sm: 0 2px 10px rgba(11, 31, 58, 0.06);
  --shadow-md: 0 12px 34px rgba(11, 31, 58, 0.12);
  --shadow-lg: 0 24px 60px rgba(11, 31, 58, 0.18);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --max: 1200px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--navy-800);
  line-height: 1.2;
  margin: 0 0 0.6em;
  font-weight: 700;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
h3 { font-size: 1.3rem; }
p  { margin: 0 0 1em; }

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 100px 0; }
.section--tint { background: var(--off-white); }
.section--navy { background: var(--navy-800); color: #d5dcea; }
.section--navy h2,
.section--navy h3 { color: var(--white); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-500);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--gold-500);
}

.section-head {
  max-width: 720px;
  margin: 0 auto 56px;
  text-align: center;
}
.section-head .eyebrow::after {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--gold-500);
}
.section-head p { color: var(--muted); font-size: 1.08rem; }
.section--navy .section-head p { color: #aeb9cc; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: 0.01em;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease),
    background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
  font-family: var(--font-body);
}
.btn i { transition: transform 0.3s var(--ease); }
.btn:hover i { transform: translateX(4px); }

.btn--gold {
  background: linear-gradient(135deg, var(--gold-400), var(--gold-500));
  color: var(--navy-900);
  box-shadow: 0 10px 24px rgba(201, 162, 75, 0.35);
}
.btn--gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(201, 162, 75, 0.45);
}

.btn--outline {
  border-color: rgba(255, 255, 255, 0.7);
  color: var(--white);
}
.btn--outline:hover {
  background: var(--white);
  color: var(--navy-800);
  transform: translateY(-2px);
}

.btn--navy {
  background: var(--navy-800);
  color: var(--white);
}
.btn--navy:hover {
  background: var(--navy-600);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* ---------- Header / Navigation ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background 0.35s var(--ease), box-shadow 0.35s var(--ease), padding 0.35s var(--ease);
  padding: 12px 0;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(11, 31, 58, 0.06);
}
.site-header.is-scrolled,
.site-header.is-solid {
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 6px 24px rgba(11, 31, 58, 0.1);
  padding: 6px 0;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--navy-800);
  flex: none;
}
.brand__logo {
  height: 66px;
  width: auto;
  /* blends the logo's white background into the light header */
  mix-blend-mode: multiply;
  transition: height 0.35s var(--ease), transform 0.35s var(--ease);
}
.brand:hover .brand__logo { transform: scale(1.04); }
.site-header.is-scrolled .brand__logo { height: 54px; }
.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1;
  font-family: var(--font-brand);
}
.brand__name {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--navy-800);
}
.brand__tag {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--gold-600);
}
.brand__tag::before,
.brand__tag::after {
  content: "";
  flex: 1;
  height: 2px;
  background: var(--gold-500);
  opacity: 0.8;
}

/* Footer version of the brand mark (dark background) */
.site-footer .brand__logo {
  mix-blend-mode: normal;
  height: 60px;
  background: var(--white);
  padding: 6px 8px;
  border-radius: 10px;
}
.site-footer .brand__name { color: var(--white); font-size: 1.35rem; }
.site-footer .brand__tag { color: var(--gold-400); }

.nav__menu {
  display: flex;
  align-items: center;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav__links a {
  position: relative;
  display: block;
  padding: 8px 14px;
  color: var(--navy-700);
  font-size: 0.95rem;
  font-weight: 500;
  border-radius: 8px;
  transition: color 0.25s var(--ease), background 0.25s var(--ease);
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 2px;
  height: 2px;
  background: var(--gold-500);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.nav__links a:hover { color: var(--gold-600); background: rgba(201, 162, 75, 0.08); }
.nav__links a.active { color: var(--navy-900); font-weight: 600; }
.nav__links a:hover::after,
.nav__links a.active::after { transform: scaleX(1); }

.nav__cta { margin-left: 10px; padding: 11px 22px; font-size: 0.9rem; }

.nav__toggle {
  display: none;
  background: none;
  border: 0;
  color: var(--navy-800);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 6px;
}

/* ---------- Hero ---------- */
/* Shorter hero (~72% of the screen) with the 4K photo at full colour and opacity */
.hero {
  position: relative;
  min-height: 72vh;
  display: flex;
  align-items: center;
  color: var(--white);
  background: var(--navy-800) center / cover no-repeat;
  overflow: hidden;
}
/* Subtle dark navy on the left side only, fading to fully clear on the right */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(11, 31, 58, 0.62) 0%, rgba(11, 31, 58, 0.45) 35%, rgba(11, 31, 58, 0) 70%);
  pointer-events: none;
}
.hero__inner {
  position: relative;
  z-index: 1;
  padding: 130px 0 80px;
  max-width: 780px;
}
.hero .eyebrow {
  color: #FFFFFF;
  font-weight: 700;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6), 0 1px 10px rgba(0, 0, 0, 0.5);
}
.hero .eyebrow::before { content: none; }
.hero h1 {
  color: var(--white);
  margin-bottom: 22px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3), 0 4px 20px rgba(0, 0, 0, 0.3);
}
.hero h1 .gold { color: var(--gold-400); }
.hero__sub {
  font-size: clamp(1.05rem, 1.8vw, 1.3rem);
  color: #e8edf5;
  font-weight: 500;
  max-width: 600px;
  margin-bottom: 38px;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.45);
}
.hero .btn--outline {
  border-color: var(--white);
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 16px; }

.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  margin-top: 60px;
  padding-top: 30px;
  border-top: 1px solid rgba(11, 31, 58, 0.14);
}
.hero__stat strong {
  display: block;
  font-family: var(--font-head);
  font-size: 2rem;
  color: var(--gold-600);
  line-height: 1.1;
}
.hero__stat span { font-size: 0.88rem; color: var(--navy-600); font-weight: 500; }

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  z-index: 1;
  color: var(--white);
  font-size: 1.1rem;
  animation: bob 2.2s ease-in-out infinite;
}
@keyframes bob {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 8px); }
}

/* ---------- Page banner (inner pages) ---------- */
.page-banner {
  position: relative;
  padding: 200px 0 110px;
  color: var(--navy-800);
  background: #eef1f6 center / cover no-repeat;
  text-align: center;
}
.page-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(247, 248, 251, 0.92));
}
.page-banner .container { position: relative; }
.page-banner h1 { color: var(--navy-800); margin-bottom: 14px; }
.page-banner p {
  color: var(--navy-600);
  font-size: 1.15rem;
  font-weight: 500;
  max-width: 640px;
  margin: 0 auto;
}
.breadcrumb {
  display: inline-flex;
  gap: 10px;
  margin-top: 22px;
  font-size: 0.88rem;
  color: var(--muted);
}
.breadcrumb a { color: var(--gold-600); font-weight: 600; }

/* ---------- Highlight boxes ---------- */
.highlights {
  position: relative;
  z-index: 2;
  margin-top: -70px;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.feature {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px 34px;
  box-shadow: var(--shadow-md);
  border-top: 3px solid var(--gold-500);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.feature:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}
.feature p { color: var(--muted); margin: 0; }

.icon-badge {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  color: var(--gold-500);
  background: var(--gold-100);
  margin-bottom: 22px;
  transition: background 0.35s var(--ease), color 0.35s var(--ease), transform 0.35s var(--ease);
}
.feature:hover .icon-badge,
.card-plain:hover .icon-badge {
  background: var(--navy-800);
  color: var(--gold-400);
  transform: rotate(-6deg) scale(1.05);
}

/* ---------- Category cards ---------- */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 26px;
}
.cat-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
  display: flex;
  flex-direction: column;
}
.cat-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}
.cat-card__img {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--navy-700);
}
.cat-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.cat-card:hover .cat-card__img img { transform: scale(1.08); }
.cat-card__img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(7, 21, 40, 0.55));
}
.cat-card__icon {
  position: absolute;
  left: 20px;
  bottom: -22px;
  z-index: 2;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--navy-800);
  color: var(--gold-400);
  box-shadow: var(--shadow-md);
  border: 3px solid var(--white);
}
.cat-card__body { padding: 34px 22px 24px; flex: 1; }
.cat-card__body h3 { font-size: 1.15rem; margin-bottom: 8px; }
.cat-card__body p { color: var(--muted); font-size: 0.94rem; margin: 0; }

/* Compact version (home page) */
.cat-grid--compact .cat-card__body { padding: 30px 20px 20px; }
.cat-grid--compact .cat-card__body p { display: none; }
.cat-grid--compact .cat-card__img { aspect-ratio: 16 / 11; }

/* ---------- Split layouts ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}
.split__media {
  position: relative;
}
.split__media img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
}
.split__media::before {
  content: "";
  position: absolute;
  top: -18px;
  left: -18px;
  width: 55%;
  height: 55%;
  border: 3px solid var(--gold-500);
  border-radius: var(--radius);
  z-index: -1;
}
.split__badge {
  position: absolute;
  right: -20px;
  bottom: -26px;
  background: var(--navy-800);
  color: var(--white);
  padding: 22px 26px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 270px;
}
.split__badge i { font-size: 2rem; color: var(--gold-400); }
.split__badge strong { display: block; font-family: var(--font-head); font-size: 1.1rem; }
.split__badge span { font-size: 0.84rem; color: #aeb9cc; line-height: 1.4; display: block; }

.lead { font-size: 1.1rem; color: var(--muted); }

.checklist {
  list-style: none;
  padding: 0;
  margin: 24px 0 32px;
  display: grid;
  gap: 14px;
}
.checklist li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.checklist i {
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--gold-100);
  color: var(--gold-500);
  font-size: 0.75rem;
  margin-top: 2px;
}
.section--navy .checklist i { background: rgba(201, 162, 75, 0.16); }

/* ---------- Trust / why choose ---------- */
.trust-item {
  padding: 34px 28px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: background 0.35s var(--ease), border-color 0.35s var(--ease), transform 0.35s var(--ease);
}
.trust-item:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(201, 162, 75, 0.5);
  transform: translateY(-6px);
}
.trust-item i {
  font-size: 1.7rem;
  color: var(--gold-400);
  margin-bottom: 18px;
}
.trust-item h3 { font-size: 1.15rem; }
.trust-item p { color: #aeb9cc; font-size: 0.95rem; margin: 0; }

/* ---------- Plain cards (values, offers) ---------- */
.card-plain {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px 30px;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}
.card-plain:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.card-plain p { color: var(--muted); margin: 0; }

/* ---------- Steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  position: relative;
}
.steps::before {
  content: "";
  position: absolute;
  top: 44px;
  left: 12%;
  right: 12%;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--gold-500) 0 10px, transparent 10px 18px);
  opacity: 0.6;
}
.step { position: relative; text-align: center; padding: 0 10px; }
.step__num {
  position: relative;
  width: 88px;
  height: 88px;
  margin: 0 auto 24px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--navy-800);
  color: var(--gold-400);
  font-size: 1.8rem;
  box-shadow: 0 0 0 8px var(--white), var(--shadow-md);
  transition: transform 0.35s var(--ease), background 0.35s var(--ease);
}
.section--tint .step__num { box-shadow: 0 0 0 8px var(--off-white), var(--shadow-md); }
.step:hover .step__num { transform: scale(1.08); background: var(--navy-600); }
.step__num span {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--gold-500);
  color: var(--navy-900);
  font-size: 0.85rem;
  font-weight: 700;
  display: grid;
  place-items: center;
  font-family: var(--font-body);
}
.step p { color: var(--muted); font-size: 0.95rem; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  padding: 90px 0;
  background: linear-gradient(120deg, var(--navy-900), var(--navy-700));
  color: var(--white);
  overflow: hidden;
  text-align: center;
}
.cta-band::before,
.cta-band::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 2px solid rgba(201, 162, 75, 0.18);
}
.cta-band::before { width: 420px; height: 420px; top: -200px; right: -120px; }
.cta-band::after { width: 300px; height: 300px; bottom: -160px; left: -80px; }
.cta-band .container { position: relative; z-index: 1; }
.cta-band h2 { color: var(--white); }
.cta-band p { color: #c8d2e3; max-width: 620px; margin: 0 auto 32px; font-size: 1.08rem; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 50px;
  align-items: start;
}
.contact-info {
  background: var(--navy-800);
  color: #c8d2e3;
  border-radius: var(--radius);
  padding: 46px 40px;
  box-shadow: var(--shadow-lg);
}
.contact-info h2 { color: var(--white); font-size: 1.9rem; }
.contact-item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 20px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.contact-item:last-of-type { border-bottom: 0; }
.contact-item i {
  flex: none;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(201, 162, 75, 0.14);
  color: var(--gold-400);
  font-size: 1.1rem;
}
.contact-item small {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #8a97ad;
}
.contact-item a,
.contact-item strong {
  color: var(--white);
  font-weight: 600;
  font-size: 1.05rem;
  word-break: break-word;
}
.contact-item a:hover { color: var(--gold-400); }

.response-note {
  margin-top: 26px;
  display: flex;
  gap: 12px;
  align-items: center;
  background: rgba(201, 162, 75, 0.12);
  border: 1px solid rgba(201, 162, 75, 0.35);
  color: var(--gold-400);
  padding: 14px 18px;
  border-radius: 10px;
  font-weight: 500;
  font-size: 0.95rem;
}

.form-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 46px 40px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.field { margin-bottom: 20px; }
.field label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy-800);
  margin-bottom: 8px;
}
.field label .req { color: var(--gold-500); }
.field input,
.field textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  font: inherit;
  font-size: 0.98rem;
  color: var(--ink);
  background: var(--off-white);
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease);
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold-500);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(201, 162, 75, 0.15);
}
.form-note { font-size: 0.85rem; color: var(--muted); margin-top: 14px; }
.form-status {
  display: none;
  margin-top: 16px;
  padding: 12px 16px;
  border-radius: 10px;
  background: #eaf6ee;
  color: #1e6b3a;
  font-size: 0.92rem;
}
.form-status.show { display: block; }

/* ---------- Legal / privacy ---------- */
.legal {
  max-width: 820px;
  margin: 0 auto;
}
.legal h2 {
  font-size: 1.5rem;
  margin-top: 2.2em;
  padding-top: 0.4em;
  border-top: 1px solid var(--line);
}
.legal h2:first-of-type { border-top: 0; margin-top: 0; }
.legal p,
.legal li { color: #3c4759; }
.legal ul { padding-left: 1.3em; }
.legal li { margin-bottom: 0.5em; }
.legal .updated {
  display: inline-block;
  background: var(--gold-100);
  color: #8a6a22;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 30px;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-900);
  color: #9aa7bd;
  padding: 80px 0 0;
  font-size: 0.95rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 50px;
  padding-bottom: 60px;
}
.site-footer h4 {
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 22px;
}
.footer-about p { margin: 20px 0 0; max-width: 360px; }
.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.footer-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color 0.25s var(--ease), transform 0.25s var(--ease);
}
.footer-links a i { font-size: 0.65rem; color: var(--gold-500); }
.footer-links a:hover { color: var(--gold-400); transform: translateX(4px); }
.footer-contact li { display: flex; gap: 12px; align-items: flex-start; }
.footer-contact li i { color: var(--gold-500); margin-top: 6px; font-size: 0.9rem; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.86rem;
}
.footer-bottom a:hover { color: var(--gold-400); }

/* ---------- Back to top ---------- */
.to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 0;
  cursor: pointer;
  background: var(--gold-500);
  color: var(--navy-900);
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all 0.3s var(--ease);
}
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--gold-400); }

/* ---------- Reveal animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.in { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

.hero .fade-up {
  opacity: 0;
  transform: translateY(24px);
  animation: fadeUp 0.9s var(--ease) forwards;
}
.hero .fade-up:nth-child(2) { animation-delay: 0.15s; }
.hero .fade-up:nth-child(3) { animation-delay: 0.3s; }
.hero .fade-up:nth-child(4) { animation-delay: 0.45s; }
.hero .fade-up:nth-child(5) { animation-delay: 0.6s; }
@keyframes fadeUp { to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .reveal, .hero .fade-up { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 50px; }
  .steps::before { display: none; }
  .split { gap: 50px; }
}

@media (max-width: 1080px) {
  .nav__toggle { display: block; }
  .nav__menu {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: min(320px, 85vw);
    background: var(--white);
    padding: 110px 28px 30px;
    transform: translateX(100%);
    visibility: hidden;
    transition: transform 0.4s var(--ease), visibility 0.4s;
    box-shadow: -20px 0 40px rgba(11, 31, 58, 0.18);
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }
  .nav__menu.open { transform: none; visibility: visible; }
  /* backdrop-filter would trap the fixed slide-out menu inside the header */
  .site-header,
  .site-header.is-scrolled,
  .site-header.is-solid {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: rgba(255, 255, 255, 0.97);
  }
  .nav__links { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__links a {
    padding: 14px 4px;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    font-size: 1.05rem;
  }
  .nav__links a::after { display: none; }
  .nav__links a.active { color: var(--gold-600); }
  .nav__cta { margin: 26px 0 0; justify-content: center; }
  .nav__toggle { position: relative; z-index: 101; }
  .brand__logo { height: 56px; }
  .brand__name { font-size: 1.4rem; }
}

@media (max-width: 760px) {
  /* text spans the full width on phones, so the left shade reaches a little further */
  .hero::before {
    background: linear-gradient(90deg, rgba(11, 31, 58, 0.62) 0%, rgba(11, 31, 58, 0.45) 60%, rgba(11, 31, 58, 0.3) 100%);
  }
}

@media (max-width: 900px) {
  .grid-3 { grid-template-columns: 1fr; }
  .split,
  .contact-grid { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-about { grid-column: 1 / -1; }
  .highlights { margin-top: -50px; }
}

@media (max-width: 600px) {
  .container { padding: 0 16px; }
  .section { padding: 72px 0; }
  .brand { gap: 10px; }
  .brand__logo,
  .site-header.is-scrolled .brand__logo { height: 44px; }
  .brand__name { font-size: 1.12rem; }
  .brand__tag { font-size: 0.6rem; letter-spacing: 0.34em; margin-top: 4px; }
  .site-footer .brand__logo { height: 52px; }
  .grid-4,
  .steps,
  .form-row,
  .footer-grid { grid-template-columns: 1fr; }
  .hero__inner { padding: 110px 0 70px; }
  .hero__stats { gap: 24px; }
  .hero__actions .btn { width: 100%; justify-content: center; }
  .page-banner { padding: 150px 0 80px; }
  .split__badge { right: 10px; bottom: -22px; padding: 16px 18px; }
  .split__media::before { display: none; }
  .contact-info,
  .form-card { padding: 34px 22px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .cat-grid { grid-template-columns: 1fr; }
  .cat-grid--compact { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .cat-grid--compact .cat-card__body { padding: 26px 12px 14px; }
  .cat-grid--compact .cat-card__body h3 { font-size: 0.95rem; }
  .cat-grid--compact .cat-card__icon { width: 38px; height: 38px; left: 12px; bottom: -18px; font-size: 0.85rem; }
}

/* ---------- Stats card under the main picture ---------- */
.stats-card-wrap { padding: 56px 0 0; }
.stats-card {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow-md);
}
.stats-card__item { position: relative; padding: 32px 24px; text-align: center; }
.stats-card__item + .stats-card__item::before {
  content: "";
  position: absolute;
  left: 0; top: 26%; bottom: 26%;
  width: 1px;
  background: var(--line);
}
.stats-card__item strong {
  display: block;
  font-family: var(--font-head);
  font-size: clamp(1.9rem, 3.2vw, 2.6rem);
  line-height: 1.1;
  color: var(--gold-600);
}
.stats-card__item span {
  display: block;
  margin-top: 6px;
  font-size: 0.94rem;
  color: var(--muted);
}
/* the cards below now follow the stats card instead of overlapping the photo */
.highlights { margin-top: 0; padding-top: 48px; }

@media (max-width: 760px) {
  .stats-card { grid-template-columns: 1fr 1fr; }
  .stats-card__item:nth-child(3)::before { display: none; }
  .stats-card__item:nth-child(n + 3) { border-top: 1px solid var(--line); }
}
@media (max-width: 600px) {
  .stats-card-wrap { padding-top: 40px; }
  .stats-card__item { padding: 22px 12px; }
  .highlights { padding-top: 32px; }
}

/* ==========================================================
   Photo banners & photo sections (inner pages)
   ========================================================== */

/* Inner-page banner: full 4K photo, ~three quarters of the screen like the home page,
   white title with a soft shadow and the logo gold as accent */
.page-banner {
  display: flex;
  align-items: center;
  min-height: 75vh;
  padding: 150px 0 90px;
  color: var(--white);
  background-color: var(--navy-900);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}
.page-banner::before {
  /* soft shade only behind the centred text; edges of the photo stay bright */
  background: radial-gradient(ellipse 62% 58% at 50% 54%, rgba(7, 21, 40, 0.52) 0%, rgba(7, 21, 40, 0.3) 48%, rgba(7, 21, 40, 0) 100%);
}
.page-banner .container { width: 100%; }
.page-banner h1 {
  color: var(--white);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.35), 0 6px 26px rgba(0, 0, 0, 0.35);
}
.page-banner h1::after {
  content: "";
  display: block;
  width: 64px;
  height: 3px;
  margin: 20px auto 0;
  border-radius: 2px;
  background: var(--gold-400);
}
.page-banner p {
  color: var(--white);
  font-weight: 500;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.45), 0 2px 14px rgba(0, 0, 0, 0.35);
}
.page-banner .breadcrumb {
  color: var(--white);
  font-weight: 500;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5), 0 2px 10px rgba(0, 0, 0, 0.35);
}
.page-banner .breadcrumb a { color: var(--gold-400); }

/* Closing banner with a photo behind it */
.cta-band--photo {
  background-image:
    linear-gradient(120deg, rgba(7, 21, 40, 0.84), rgba(19, 41, 75, 0.66)),
    var(--photo);
  background-position: center;
  background-size: cover;
}

/* Section with a photo behind it (Partner With Us — How It Works) */
.section--photo {
  position: relative;
  background-image:
    linear-gradient(180deg, rgba(7, 21, 40, 0.86), rgba(11, 31, 58, 0.8)),
    var(--photo);
  background-position: center;
  background-size: cover;
  color: #d5dcea;
}
.section--photo h2,
.section--photo h3 { color: var(--white); }
.section--photo .section-head p,
.section--photo .step p { color: #d5dcea; }
.section--photo .step__num { box-shadow: 0 0 0 8px rgba(255, 255, 255, 0.12), var(--shadow-md); }

/* Contact: photo across the top of the contact-details card */
.contact-info { overflow: hidden; }
.contact-info__photo {
  display: block;
  width: calc(100% + 80px);
  max-width: none;
  height: 210px;
  margin: -46px -40px 34px;
  object-fit: cover;
}

@media (max-width: 600px) {
  .page-banner { min-height: 75vh; padding: 130px 0 70px; }
  .page-banner::before {
    background: radial-gradient(ellipse 90% 60% at 50% 55%, rgba(7, 21, 40, 0.55) 0%, rgba(7, 21, 40, 0.32) 55%, rgba(7, 21, 40, 0) 100%);
  }
  .contact-info__photo { width: calc(100% + 44px); margin: -34px -22px 28px; height: 170px; }
}
