/*
Theme Name: acemoh-investment-limited
Author: Acemoh Investment Limited
Description: Faithful implementation of the existing Acemoh website design.
Version: 1.0.0
WPVibe: yes
*/
/* ==========================================================================
   Acemoh Investment Limited — Corporate Website
   Strength meets precision
   ========================================================================== */

:root {
  --navy:        #16233f;
  --navy-deep:   #0e1730;
  --navy-soft:   #1f3054;
  --red:         #8b1a1a;
  --red-light:   #a82323;
  --white:       #ffffff;
  --off-white:   #f4f6f9;
  --grey:        #e4e8ee;
  --text:        #1c2333;
  --text-muted:  #5a6377;

  --display: "Cinzel", "Playfair Display", Georgia, serif;
  --script:  "Playfair Display", Georgia, serif;
  --body:    "Poppins", "Segoe UI", Helvetica, Arial, sans-serif;

  --max: 1180px;
  --radius: 6px;
  --shadow: 0 10px 30px rgba(14, 23, 48, .10);
  --shadow-lg: 0 18px 50px rgba(14, 23, 48, .16);
  --ease: .3s cubic-bezier(.4, 0, .2, 1);
}

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

html { scroll-behavior: smooth; }

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

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

a { color: var(--navy); text-decoration: none; transition: color var(--ease); }
a:hover { color: var(--red); }

h1, h2, h3, h4 {
  font-family: var(--display);
  color: var(--navy);
  line-height: 1.25;
  margin: 0 0 .6em;
  letter-spacing: .02em;
}

h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3.6vw, 2.4rem); }
h3 { font-size: 1.15rem; }

p { margin: 0 0 1.1em; }

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

.section { padding: 88px 0; }
.section--tight { padding: 62px 0; }
.section--grey { background: var(--off-white); }
.section--navy { background: var(--navy); color: rgba(255, 255, 255, .85); }
.section--navy h2,
.section--navy h3 { color: var(--white); }

.section-head { max-width: 660px; margin-bottom: 48px; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }

.eyebrow {
  display: inline-block;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 14px;
}
.section--navy .eyebrow { color: #e2a3a3; }

.lead { font-size: 1.06rem; color: var(--text-muted); }
.section--navy .lead { color: rgba(255, 255, 255, .78); }

.rule {
  width: 62px;
  height: 3px;
  background: var(--red);
  border: 0;
  margin: 0 0 22px;
}
.section-head--center .rule { margin-left: auto; margin-right: auto; }

/* ------------------------------------------------------------- buttons -- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 13px 28px;
  font-family: var(--body);
  font-size: .9rem;
  font-weight: 600;
  letter-spacing: .04em;
  border: 2px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--ease);
}
.btn--primary { background: var(--red); color: var(--white); }
.btn--primary:hover { background: var(--red-light); color: var(--white); transform: translateY(-2px); }
.btn--ghost { border-color: rgba(255, 255, 255, .55); color: var(--white); }
.btn--ghost:hover { background: var(--white); color: var(--navy); border-color: var(--white); }
.btn--navy { background: var(--navy); color: var(--white); }
.btn--navy:hover { background: var(--navy-soft); color: var(--white); transform: translateY(-2px); }
.btn--outline { border-color: var(--navy); color: var(--navy); }
.btn--outline:hover { background: var(--navy); color: var(--white); }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* -------------------------------------------------------------- topbar -- */
.topbar {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, .72);
  font-size: .8rem;
}
.topbar .container {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 26px;
  align-items: center;
  justify-content: space-between;
  min-height: 42px;
}
.topbar a { color: rgba(255, 255, 255, .72); }
.topbar a:hover { color: var(--white); }
.topbar__items { display: flex; flex-wrap: wrap; gap: 8px 26px; }
.topbar__items span,
.topbar__items a { display: inline-flex; align-items: center; gap: 7px; }

/* -------------------------------------------------------------- header -- */
.header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--white);
  border-bottom: 1px solid var(--grey);
  transition: box-shadow var(--ease);
}
.header.is-stuck { box-shadow: 0 4px 20px rgba(14, 23, 48, .09); }

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 82px;
}

/* ---------------------------------------------------------------- logo -- */
.logo { display: flex; align-items: center; gap: 12px; }
.logo__mark { width: 46px; flex: none; }
.logo__text { display: flex; flex-direction: column; line-height: 1; }
.logo__name {
  font-family: var(--display);
  font-size: 1.42rem;
  font-weight: 700;
  letter-spacing: .13em;
  color: var(--navy);
}
.logo__sub {
  font-size: .55rem;
  letter-spacing: .27em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 5px;
}
.logo__tag {
  font-family: var(--script);
  font-style: italic;
  font-size: .72rem;
  color: var(--red);
  margin-top: 3px;
}

/* ---------------------------------------------------------------- nav --- */
.nav ul {
  display: flex;
  align-items: center;
  gap: 34px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav a {
  position: relative;
  font-size: .87rem;
  font-weight: 500;
  letter-spacing: .05em;
  padding: 6px 0;
  color: var(--navy);
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--red);
  transition: width var(--ease);
}
.nav a:hover::after,
.nav a.is-active::after { width: 100%; }
.nav a.is-active { color: var(--red); }

.header__cta { flex: none; }

.nav-toggle {
  display: none;
  width: 44px;
  height: 40px;
  padding: 0;
  background: none;
  border: 0;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 25px;
  height: 2px;
  margin: 5px auto;
  background: var(--navy);
  transition: transform var(--ease), opacity var(--ease);
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------------------------------------------------------------- hero -- */
.hero {
  position: relative;
  background:
    linear-gradient(115deg, rgba(14, 23, 48, .96) 0%, rgba(22, 35, 63, .90) 55%, rgba(31, 48, 84, .82) 100%),
    var(--navy);
  color: var(--white);
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 58px 58px;
  pointer-events: none;
}
.hero .container { position: relative; z-index: 2; }

.hero--home { padding: 108px 0 96px; }
.hero__inner { max-width: 700px; }
.hero h1 { color: var(--white); margin-bottom: .35em; }
.hero h1 em {
  display: block;
  font-family: var(--script);
  font-style: italic;
  font-weight: 400;
  font-size: .42em;
  letter-spacing: .04em;
  color: #d9a3a3;
  margin-top: 14px;
}
.hero__text {
  font-size: 1.08rem;
  color: rgba(255, 255, 255, .82);
  max-width: 560px;
  margin-bottom: 32px;
}

/* page banner (inner pages) */
.hero--page { padding: 74px 0; }
.hero--page h1 { margin-bottom: 10px; }
.hero--page p { color: rgba(255, 255, 255, .78); max-width: 620px; margin: 0; }

.crumbs {
  font-size: .78rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .55);
  margin-bottom: 18px;
}
.crumbs a { color: rgba(255, 255, 255, .8); }
.crumbs a:hover { color: var(--white); }

/* ------------------------------------------------------------- ribbons -- */
.stats {
  background: var(--red);
  color: var(--white);
}
.stats .container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 26px;
  padding-top: 34px;
  padding-bottom: 34px;
  text-align: center;
}
.stat__value {
  font-family: var(--display);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
}
.stat__label {
  font-size: .78rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .85);
  margin-top: 8px;
}

/* --------------------------------------------------------------- cards -- */
.grid { display: grid; gap: 26px; }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }

.card {
  background: var(--white);
  border: 1px solid var(--grey);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease);
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
  border-color: transparent;
}
.card__icon {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  background: var(--navy);
  color: var(--white);
  margin-bottom: 20px;
}
.card__icon svg { width: 24px; height: 24px; }
.card p:last-child { margin-bottom: 0; }
.card p { color: var(--text-muted); font-size: .95rem; }

/* product cards */
.product {
  position: relative;
  background: var(--white);
  border: 1px solid var(--grey);
  border-left: 3px solid var(--navy);
  border-radius: var(--radius);
  padding: 24px 24px 24px 22px;
  transition: transform var(--ease), box-shadow var(--ease), border-left-color var(--ease);
}
.product:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-left-color: var(--red);
}
.product h3 { margin-bottom: 8px; font-size: 1.05rem; }
.product p { margin: 0; font-size: .9rem; color: var(--text-muted); }

/* simple product list (home) */
.chips { display: flex; flex-wrap: wrap; gap: 12px; padding: 0; margin: 0; list-style: none; }
.chips li {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 11px 20px;
  font-size: .92rem;
  font-weight: 500;
  background: var(--white);
  border: 1px solid var(--grey);
  border-radius: 40px;
  transition: all var(--ease);
}
.chips li::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--red);
  flex: none;
}
.chips li:hover { border-color: var(--navy); transform: translateY(-2px); }

/* ---------------------------------------------------------- split rows -- */
.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 54px;
  align-items: center;
}
.split__panel {
  background: var(--navy);
  border-radius: var(--radius);
  padding: 46px 40px;
  color: rgba(255, 255, 255, .82);
  box-shadow: var(--shadow-lg);
}
.split__panel h3 { color: var(--white); }
.split__panel .rule { background: #d9a3a3; }

.tick-list { list-style: none; margin: 0; padding: 0; }
.tick-list li {
  position: relative;
  padding: 9px 0 9px 32px;
  font-size: .95rem;
}
.tick-list li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 18px;
  width: 11px;
  height: 6px;
  border-left: 2px solid var(--red);
  border-bottom: 2px solid var(--red);
  transform: rotate(-45deg);
}
.split__panel .tick-list li::before { border-color: #e2a3a3; }

/* --------------------------------------------------------------- steps -- */
.steps { counter-reset: step; }
.step { position: relative; padding-left: 70px; margin-bottom: 34px; }
.step:last-child { margin-bottom: 0; }
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  position: absolute;
  left: 0;
  top: -4px;
  font-family: var(--display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--red);
}
.step h3 { margin-bottom: 6px; }
.step p { margin: 0; color: var(--text-muted); font-size: .95rem; }

/* ------------------------------------------------------------ branches -- */
.branch {
  background: var(--white);
  border: 1px solid var(--grey);
  border-top: 3px solid var(--red);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: transform var(--ease), box-shadow var(--ease);
}
.branch:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.branch h3 { font-size: 1rem; margin-bottom: 12px; }
.branch address { font-style: normal; color: var(--text-muted); font-size: .95rem; }

/* --------------------------------------------------------- contact bits -- */
.contact-item { display: flex; gap: 16px; margin-bottom: 26px; }
.contact-item:last-child { margin-bottom: 0; }
.contact-item__icon {
  width: 44px;
  height: 44px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  background: var(--off-white);
  color: var(--navy);
}
.contact-item__icon svg { width: 20px; height: 20px; }
.contact-item h3 { font-size: .95rem; margin-bottom: 3px; }
.contact-item p { margin: 0; font-size: .95rem; color: var(--text-muted); }
.contact-item a { font-weight: 500; }

/* ---------------------------------------------------------------- form -- */
.form-card {
  background: var(--white);
  border: 1px solid var(--grey);
  border-radius: var(--radius);
  padding: 38px 34px;
  box-shadow: var(--shadow);
}
.field { margin-bottom: 20px; }
.field label {
  display: block;
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--navy);
  margin-bottom: 7px;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  font-family: var(--body);
  font-size: .95rem;
  color: var(--text);
  background: var(--white);
  border: 1px solid var(--grey);
  border-radius: var(--radius);
  transition: border-color var(--ease), box-shadow var(--ease);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(22, 35, 63, .09);
}
.field textarea { resize: vertical; min-height: 130px; }
.field--half { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field.has-error input,
.field.has-error select,
.field.has-error textarea { border-color: var(--red); }
.error-msg {
  display: none;
  font-size: .78rem;
  color: var(--red);
  margin-top: 6px;
}
.field.has-error .error-msg { display: block; }

.form-note {
  display: none;
  padding: 14px 16px;
  margin-bottom: 22px;
  font-size: .9rem;
  border-radius: var(--radius);
  background: #eef4ec;
  border: 1px solid #cbe0c5;
  color: #2f5c28;
}
.form-note.is-visible { display: block; }

/* ------------------------------------------------------------- socials -- */
.socials { display: flex; flex-wrap: wrap; gap: 12px; padding: 0; margin: 0; list-style: none; }
.socials a {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 16px;
  font-size: .85rem;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 40px;
  color: rgba(255, 255, 255, .82);
  transition: all var(--ease);
}
.socials a:hover { background: var(--red); border-color: var(--red); color: var(--white); }
.socials svg { width: 16px; height: 16px; flex: none; }

/* ------------------------------------------------------------- cta bar -- */
.cta {
  background: var(--navy-deep);
  color: var(--white);
  text-align: center;
  padding: 74px 0;
}
.cta h2 { color: var(--white); }
.cta p { color: rgba(255, 255, 255, .78); max-width: 560px; margin: 0 auto 28px; }
.cta .btn-row { justify-content: center; }

/* -------------------------------------------------------------- footer -- */
.footer {
  background: var(--navy);
  color: rgba(255, 255, 255, .7);
  padding: 66px 0 0;
  font-size: .92rem;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 48px;
}
.footer h4 {
  font-family: var(--body);
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 20px;
}
.footer a { color: rgba(255, 255, 255, .7); }
.footer a:hover { color: var(--white); }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer ul li { margin-bottom: 10px; }
.footer .logo__name { color: var(--white); }
.footer .logo__sub { color: rgba(255, 255, 255, .55); }
.footer address { font-style: normal; margin-bottom: 16px; line-height: 1.6; }
.footer__about { max-width: 320px; margin: 20px 0 22px; }

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, .12);
  padding: 22px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  justify-content: space-between;
  font-size: .82rem;
  color: rgba(255, 255, 255, .55);
}

/* --------------------------------------------------------- float wa btn -- */
.wa-float {
  position: fixed;
  right: 20px;
  bottom: 22px;
  z-index: 70;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #25d366;
  color: var(--white);
  box-shadow: 0 8px 22px rgba(0, 0, 0, .22);
  transition: transform var(--ease);
}
.wa-float:hover { transform: scale(1.08); color: var(--white); }
.wa-float svg { width: 27px; height: 27px; }

/* ------------------------------------------------------------- reveals -- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ---------------------------------------------------------- responsive -- */
@media (max-width: 980px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .header__cta { display: none; }

  .nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--white);
    border-bottom: 1px solid var(--grey);
    box-shadow: var(--shadow);
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--ease);
  }
  .nav.is-open { max-height: 420px; }
  .nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: 8px 24px 20px; }
  .nav li { border-bottom: 1px solid var(--grey); }
  .nav li:last-child { border-bottom: 0; }
  .nav a { display: block; padding: 14px 0; }
  .nav a::after { display: none; }

  .header__inner { position: relative; }
  .section { padding: 64px 0; }
  .hero--home { padding: 78px 0 70px; }
  .split { gap: 36px; }
  .split__panel { padding: 34px 26px; }
  .field--half { grid-template-columns: 1fr; gap: 0; }
}

@media (max-width: 560px) {
  .topbar { display: none; }
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .logo__mark { width: 38px; }
  .logo__name { font-size: 1.2rem; }
  .form-card { padding: 28px 22px; }
  .btn { width: 100%; justify-content: center; }
  .btn-row { flex-direction: column; }
}