/* ==========================================================================
   Ace Global Services Ltd — Global Stylesheet
   ========================================================================== */

:root {
  --navy: #17171a;
  --navy-800: #1f1f24;
  --navy-700: #2b2b31;
  --blue: #b3841f;
  --blue-600: #967015;
  --gold: #c8952b;
  --gold-600: #a97e22;
  --silver: #9aa0a8;
  --ink: #23231f;
  --muted: #6b6a63;
  --line: #e8e1d3;
  --bg: #ffffff;
  --bg-soft: #faf7f0;
  --bg-softer: #f4ecd9;
  --white: #ffffff;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px rgba(11, 31, 58, 0.08);
  --shadow-lg: 0 24px 60px rgba(11, 31, 58, 0.14);
  --container: 1180px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --head: "Sora", "Inter", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-family: var(--head); color: var(--navy); line-height: 1.2; margin: 0 0 .5em; font-weight: 700; }
h1 { font-size: clamp(2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1rem; color: var(--muted); }
a { color: var(--blue); text-decoration: none; transition: color .2s; }
a:hover { color: var(--blue-600); }
img { max-width: 100%; display: block; }
ul { margin: 0; padding: 0; }

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

.section { padding: 84px 0; }
.section--soft { background: var(--bg-soft); }
.section--navy { background: var(--navy); color: #dfe8f5; }
.section--navy h2, .section--navy h3 { color: #fff; }
.section--navy p { color: #b9c7de; }

.eyebrow {
  display: inline-block;
  font-family: var(--head);
  font-weight: 600;
  font-size: .82rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--blue);
  background: var(--bg-softer);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.section--navy .eyebrow { color: var(--gold); background: rgba(200, 149, 43, 0.15); }

.section-head { max-width: 720px; margin: 0 auto 52px; text-align: center; }
.section-head p { font-size: 1.06rem; }

/* Buttons ------------------------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--head); font-weight: 600; font-size: .98rem;
  padding: 13px 26px; border-radius: 999px; cursor: pointer;
  border: 2px solid transparent; transition: transform .15s, box-shadow .2s, background .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--gold); color: #fff; box-shadow: 0 10px 24px rgba(200, 149, 43, .32); }
.btn--primary:hover { background: var(--gold-600); color: #fff; }
.btn--light { background: #fff; color: var(--navy); }
.btn--outline { background: transparent; border-color: rgba(255,255,255,.5); color: #fff; }
.btn--outline:hover { background: rgba(255,255,255,.12); color: #fff; }
.btn--dark { background: var(--navy); color: #fff; }
.btn--dark:hover { background: var(--navy-700); color: #fff; }

/* Header ------------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.brand { display: flex; align-items: center; gap: 12px; font-family: var(--head); font-weight: 700; color: var(--navy); font-size: 1.1rem; }
.brand:hover { color: var(--navy); }
.brand__logo { width: 44px; height: 44px; flex: none; object-fit: contain; background: #fff; border-radius: 10px; padding: 3px; box-shadow: 0 2px 8px rgba(0,0,0,.08); }
.brand__name { line-height: 1.05; }
.brand__name small { display: block; font-size: .62rem; letter-spacing: .18em; color: var(--muted); font-weight: 500; text-transform: uppercase; }

.nav__links { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav__links a {
  display: block; padding: 9px 14px; border-radius: 8px;
  color: var(--ink); font-weight: 500; font-size: .95rem;
}
.nav__links a:hover { background: var(--bg-soft); color: var(--navy); }
.nav__links a.active { color: var(--blue); }
.nav__cta { margin-left: 10px; }

.nav__toggle {
  display: none; background: none; border: 0; cursor: pointer;
  width: 44px; height: 44px; border-radius: 10px; padding: 10px;
}
.nav__toggle span { display: block; height: 2px; background: var(--navy); border-radius: 2px; transition: .25s; }
.nav__toggle span + span { margin-top: 5px; }

/* Hero --------------------------------------------------------------------- */
.hero {
  position: relative; color: #f0ece3; overflow: hidden;
  background: radial-gradient(1200px 600px at 80% -10%, rgba(200,149,43,.22) 0%, transparent 55%),
              linear-gradient(160deg, var(--navy) 0%, var(--navy-800) 55%, #101014 100%);
}
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; padding: 96px 0; }
.hero h1 { color: #fff; }
.hero h1 span { color: var(--gold); }
.hero p { color: #c3d1e8; font-size: 1.12rem; max-width: 540px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.hero__stats { display: flex; gap: 34px; margin-top: 44px; flex-wrap: wrap; }
.hero__stat b { display: block; font-family: var(--head); font-size: 2rem; color: var(--gold); }
.hero__stat span { font-size: .9rem; color: #a9bcd9; }

.hero__card {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12);
  border-radius: 20px; padding: 28px; backdrop-filter: blur(4px);
}
.hero__card h3 { color: #fff; margin-bottom: 18px; }
.hero__card ul { list-style: none; display: grid; gap: 14px; }
.hero__card li { display: flex; gap: 12px; align-items: flex-start; color: #d7e2f2; font-size: .97rem; }
.hero__card li svg { flex: none; margin-top: 3px; }

/* Trusted bar -------------------------------------------------------------- */
.marquee { border-bottom: 1px solid var(--line); background: var(--bg-soft); }
.marquee__inner { display: flex; align-items: center; gap: 40px; flex-wrap: wrap; justify-content: center; padding: 22px 0; }
.marquee span { font-family: var(--head); font-weight: 600; color: var(--muted); font-size: .95rem; opacity: .8; }

/* Cards / grids ------------------------------------------------------------ */
.grid { display: grid; gap: 26px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; transition: transform .2s, box-shadow .2s, border-color .2s;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: #d3ddec; }
.card__icon {
  width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center;
  background: var(--bg-softer); color: var(--blue); margin-bottom: 18px;
}
.card h3 { margin-bottom: 8px; }
.card p { margin-bottom: 0; font-size: .96rem; }
.card__link { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-family: var(--head); font-weight: 600; font-size: .9rem; }

/* Feature split ------------------------------------------------------------ */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 54px; align-items: center; }
.split__media {
  border-radius: 18px; overflow: hidden; box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 3; background: linear-gradient(135deg, var(--navy-700), var(--gold));
}
.split__media img { width: 100%; height: 100%; object-fit: cover; }
.check-list { list-style: none; display: grid; gap: 14px; margin: 22px 0 0; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink); }
.check-list li svg { flex: none; margin-top: 4px; color: var(--blue); }

/* Stats band --------------------------------------------------------------- */
.stats-band { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stats-band .num { font-family: var(--head); font-size: clamp(2rem, 5vw, 3rem); color: var(--gold); font-weight: 700; }
.stats-band .lbl { color: #b9c7de; font-size: .95rem; }

/* Page hero (inner pages) -------------------------------------------------- */
.page-hero {
  background: radial-gradient(900px 400px at 85% -20%, rgba(200,149,43,.2) 0%, transparent 60%),
              linear-gradient(160deg, var(--navy) 0%, #101014 100%);
  color: #fff; padding: 74px 0 66px; text-align: center;
}
.page-hero h1 { color: #fff; }
.page-hero p { color: #c3d1e8; max-width: 640px; margin: 0 auto; font-size: 1.08rem; }
.breadcrumb { color: #9fb3d4; font-size: .9rem; margin-bottom: 14px; }
.breadcrumb a { color: var(--gold); }

/* Process steps ------------------------------------------------------------ */
.steps { counter-reset: step; display: grid; gap: 24px; grid-template-columns: repeat(4, 1fr); }
.step { position: relative; padding: 30px 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  font-family: var(--head); font-weight: 700; font-size: 1.4rem; color: var(--gold);
  display: block; margin-bottom: 12px;
}

/* Pricing / packages ------------------------------------------------------- */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.price {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px;
  display: flex; flex-direction: column;
}
.price--featured { border-color: var(--gold); box-shadow: var(--shadow); position: relative; }
.price--featured::after {
  content: "Popular"; position: absolute; top: 18px; right: 18px;
  background: var(--gold); color: var(--navy); font-family: var(--head); font-weight: 600;
  font-size: .72rem; padding: 4px 12px; border-radius: 999px;
}
.price h3 { margin-bottom: 4px; }
.price .amount { font-family: var(--head); font-size: 2.1rem; color: var(--navy); font-weight: 700; margin: 10px 0 4px; }
.price .amount small { font-size: .9rem; color: var(--muted); font-weight: 500; }
.price ul { list-style: none; display: grid; gap: 10px; margin: 20px 0 26px; }
.price li { display: flex; gap: 10px; color: var(--ink); font-size: .95rem; }
.price li svg { color: var(--blue); flex: none; }
.price .btn { margin-top: auto; justify-content: center; }

/* Accordion ---------------------------------------------------------------- */
.accordion { max-width: 820px; margin: 0 auto; display: grid; gap: 14px; }
.acc { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; }
.acc__q {
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
  padding: 20px 22px; font-family: var(--head); font-weight: 600; color: var(--navy); font-size: 1.02rem;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.acc__q span.icon { transition: transform .25s; color: var(--blue); flex: none; }
.acc.open .acc__q span.icon { transform: rotate(45deg); }
.acc__a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.acc__a p { padding: 0 22px 20px; margin: 0; }

/* Contact ------------------------------------------------------------------ */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 44px; align-items: start; }
.info-card { display: flex; gap: 16px; align-items: flex-start; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; margin-bottom: 16px; }
.info-card__icon { width: 46px; height: 46px; border-radius: 12px; background: var(--bg-softer); color: var(--blue); display: grid; place-items: center; flex: none; }
.info-card h4 { margin: 0 0 4px; color: var(--navy); font-family: var(--head); }
.info-card p { margin: 0; font-size: .95rem; }
.info-card a { color: var(--ink); }

form.contact { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-family: var(--head); font-weight: 600; font-size: .88rem; color: var(--navy); margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px;
  font-family: var(--font); font-size: .96rem; color: var(--ink); background: var(--bg-soft); transition: border .2s, box-shadow .2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(31,111,235,.15); background: #fff;
}
.field textarea { min-height: 130px; resize: vertical; }
.form-note { font-size: .85rem; color: var(--muted); margin-top: 12px; }
.form-status { margin-top: 14px; font-weight: 600; font-family: var(--head); display: none; }
.form-status.ok { display: block; color: #157347; }

.map-embed { border: 0; width: 100%; height: 320px; border-radius: var(--radius); margin-top: 40px; box-shadow: var(--shadow); }

/* CTA band ----------------------------------------------------------------- */
.cta {
  background: radial-gradient(700px 300px at 85% -30%, rgba(200,149,43,.35) 0%, transparent 60%),
              linear-gradient(135deg, var(--navy-700) 0%, var(--navy) 100%);
  border: 1px solid rgba(200,149,43,.25);
  border-radius: 22px; padding: 54px; text-align: center; color: #fff;
}
.cta h2 { color: #fff; }
.cta p { color: #d7e2f2; max-width: 560px; margin: 0 auto 26px; }
.cta__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* Footer ------------------------------------------------------------------- */
.site-footer { background: var(--navy); color: #b9c7de; padding: 64px 0 26px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; }
.site-footer h4 { color: #fff; font-family: var(--head); font-size: 1rem; margin-bottom: 16px; }
.site-footer a { color: #b9c7de; }
.site-footer a:hover { color: var(--gold); }
.footer-links { list-style: none; display: grid; gap: 10px; font-size: .95rem; }
.footer-brand .brand { color: #fff; margin-bottom: 14px; }
.footer-brand .brand__name { color: #fff; }
.footer-brand p { color: #93a6c4; font-size: .95rem; }
.footer-contact { list-style: none; display: grid; gap: 12px; font-size: .95rem; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact svg { flex: none; margin-top: 3px; color: var(--gold); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1); margin-top: 44px; padding-top: 22px;
  display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; font-size: .88rem; color: #8598b8;
}
.social { display: flex; gap: 10px; }
.social a { width: 38px; height: 38px; border-radius: 10px; background: rgba(255,255,255,.08); display: grid; place-items: center; color: #cdd9ec; }
.social a:hover { background: var(--gold); color: var(--navy); }

/* Gallery ------------------------------------------------------------------ */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.gallery figure { margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); position: relative; aspect-ratio: 4 / 3; background: var(--bg-softer); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gallery figure:hover img { transform: scale(1.06); }
.gallery figure::after {
  content: attr(data-caption); position: absolute; left: 0; right: 0; bottom: 0;
  padding: 26px 16px 12px; color: #fff; font-family: var(--head); font-weight: 600; font-size: .9rem;
  background: linear-gradient(to top, rgba(0,0,0,.72), transparent);
}
.gallery--feature { grid-template-columns: 2fr 1fr 1fr; }
@media (max-width: 760px) { .gallery, .gallery--feature { grid-template-columns: 1fr 1fr; } }

/* Reveal animation --------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* Utilities ---------------------------------------------------------------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.tag { display: inline-block; background: var(--bg-softer); color: var(--blue); font-size: .82rem; font-weight: 600; font-family: var(--head); padding: 5px 12px; border-radius: 999px; margin: 0 6px 8px 0; }

/* Responsive --------------------------------------------------------------- */
@media (max-width: 980px) {
  .hero__grid { grid-template-columns: 1fr; gap: 36px; padding: 64px 0; }
  .split { grid-template-columns: 1fr; gap: 32px; }
  .contact-grid { grid-template-columns: 1fr; }
  .grid--4, .stats-band, .steps { grid-template-columns: repeat(2, 1fr); }
  .grid--3, .price-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .nav__links {
    position: fixed; inset: 74px 0 auto 0; flex-direction: column; align-items: stretch;
    background: #fff; border-bottom: 1px solid var(--line); padding: 12px 20px 20px;
    gap: 4px; box-shadow: var(--shadow); transform: translateY(-140%); transition: transform .3s; z-index: 40;
  }
  .nav__links.open { transform: translateY(0); }
  .nav__links a { padding: 12px 14px; }
  .nav__cta { margin: 8px 0 0; }
  .nav__toggle { display: block; }
  .section { padding: 60px 0; }
  .grid--3, .grid--2, .grid--4, .price-grid, .steps, .stats-band { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta { padding: 38px 24px; }
}
