/* AE Aequitas Sdn. Bhd. : site styles */
:root {
  --navy: #2a1f45;
  --navy-deep: #170f2e;
  --purple: #746588;
  --purple-soft: #efecf4;
  --orange: #e8893c;
  --orange-dark: #c96f22;
  --ink: #221c30;
  --muted: #5f5870;
  --line: #e3dfea;
  --white: #ffffff;
  --radius: 10px;
  --max: 1180px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --display: "Barlow Semi Condensed", "Inter", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: var(--ink); line-height: 1.65; font-size: 16px; background: var(--white); }
img { max-width: 100%; display: block; }
a { color: var(--purple); }
h1, h2, h3 { font-family: var(--display); line-height: 1.15; margin: 0 0 .5em; color: var(--navy); letter-spacing: .2px; }
h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 700; }
h3 { font-size: 1.3rem; font-weight: 600; }
p { margin: 0 0 1em; }
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.section { padding: 88px 0; }
.section-alt { background: var(--purple-soft); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: .78rem; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: var(--orange-dark); margin-bottom: 14px; }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--orange); }
.lead { font-size: 1.12rem; color: var(--muted); max-width: 760px; }
.section-head { margin-bottom: 44px; }

/* Buttons */
.btn { display: inline-block; padding: 13px 26px; border-radius: 6px; font-weight: 600; text-decoration: none; transition: .2s; border: 2px solid transparent; font-size: .96rem; cursor: pointer; font-family: var(--font); }
.btn-primary { background: var(--orange); color: var(--white); }
.btn-primary:hover { background: var(--orange-dark); }
.btn-ghost { border-color: rgba(255,255,255,.45); color: var(--white); }
.btn-ghost:hover { background: rgba(255,255,255,.1); }
.btn-dark { background: var(--navy); color: var(--white); }
.btn-dark:hover { background: var(--navy-deep); }

/* Navbar */
.navbar { position: fixed; inset: 0 0 auto; z-index: 100; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--line); transition: box-shadow .25s; }
.navbar.scrolled { box-shadow: 0 6px 24px rgba(23,15,46,.08); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 78px; gap: 24px; }
.brand img { height: 50px; width: auto; }
.nav-links { list-style: none; display: flex; gap: 30px; margin: 0; padding: 0; }
.nav-links a { text-decoration: none; color: var(--ink); font-weight: 500; font-size: .96rem; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav-links a:hover, .nav-links a.active { color: var(--navy); border-bottom-color: var(--orange); }
.hamburger { display: none; background: none; border: 0; width: 40px; height: 40px; cursor: pointer; padding: 8px; }
.hamburger span { display: block; height: 2px; background: var(--navy); margin: 5px 0; transition: .25s; }
.mobile-nav { display: none; }

/* Hero */
.hero { position: relative; min-height: 92vh; display: flex; align-items: center; padding: 140px 0 90px; color: var(--white); background: var(--navy-deep) url("../images/hero-plant.jpg") center right / cover no-repeat; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(23,15,46,.96) 0%, rgba(23,15,46,.82) 42%, rgba(23,15,46,.25) 100%); }
.hero .container { position: relative; }
.hero h1 { color: var(--white); max-width: 640px; }
.hero h1 span { color: var(--orange); }
.hero p { color: rgba(255,255,255,.85); max-width: 560px; font-size: 1.1rem; }
.hero .eyebrow { color: var(--orange); }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }

/* Page banner */
.page-banner { position: relative; padding: 170px 0 80px; color: var(--white); background: var(--navy-deep) url("../images/banner-plant.jpg") center / cover no-repeat; }
.page-banner::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(23,15,46,.95) 0%, rgba(23,15,46,.75) 55%, rgba(23,15,46,.45) 100%); }
.page-banner .container { position: relative; }
.page-banner h1 { color: var(--white); margin-bottom: .3em; }
.page-banner p { color: rgba(255,255,255,.85); max-width: 620px; margin: 0; }
.page-banner .eyebrow { color: var(--orange); }

/* Credentials strip */
.strip { background: var(--navy); color: var(--white); }
.strip-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.strip-item { padding: 30px 24px; border-left: 1px solid rgba(255,255,255,.12); }
.strip-item:first-child { border-left: 0; }
.strip-value { font-family: var(--display); font-size: 2rem; font-weight: 700; color: var(--orange); line-height: 1.1; }
.strip-label { font-size: .88rem; color: rgba(255,255,255,.78); }

/* Cards */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px; transition: .25s; }
.card:hover { transform: translateY(-4px); box-shadow: 0 14px 34px rgba(23,15,46,.08); border-color: transparent; }
.card-num { font-family: var(--display); font-weight: 700; font-size: 1rem; color: var(--orange-dark); margin-bottom: 14px; }
.card h3 { margin-bottom: .5em; }
.card p { color: var(--muted); font-size: .95rem; margin: 0; }

.img-frame { position: relative; }
.img-frame img { border-radius: var(--radius); width: 100%; object-fit: cover; }
.img-frame::after { content: ""; position: absolute; width: 120px; height: 120px; border: 3px solid var(--orange); border-radius: var(--radius); right: -18px; bottom: -18px; z-index: -1; }

/* Clients */
.clients { display: flex; flex-wrap: wrap; gap: 10px; }
.client { background: var(--white); border: 1px solid var(--line); padding: 9px 16px; border-radius: 40px; font-size: .9rem; color: var(--navy); }

/* CTA */
.cta { background: linear-gradient(120deg, var(--navy) 0%, var(--purple) 100%); color: var(--white); border-radius: 14px; padding: 54px; display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.cta h2 { color: var(--white); margin: 0 0 .3em; }
.cta p { margin: 0; color: rgba(255,255,255,.85); }

/* Tables */
.info-table { width: 100%; border-collapse: collapse; background: var(--white); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.info-table th, .info-table td { text-align: left; padding: 15px 20px; border-bottom: 1px solid var(--line); vertical-align: top; font-size: .95rem; }
.info-table th { width: 34%; background: var(--purple-soft); color: var(--navy); font-weight: 600; }
.info-table tr:last-child th, .info-table tr:last-child td { border-bottom: 0; }

/* Vision / mission */
.vm { border-left: 4px solid var(--orange); padding: 6px 0 6px 22px; margin-bottom: 26px; }
.vm h3 { margin-bottom: .3em; }
.vm p { margin: 0; color: var(--muted); }

/* People */
.person { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; }
.person h3 { margin-bottom: .1em; }
.person .role { color: var(--orange-dark); font-weight: 600; font-size: .9rem; margin-bottom: 14px; display: block; }
.person p { color: var(--muted); font-size: .95rem; margin: 0; }

/* Services detail */
.service-block { display: grid; grid-template-columns: 90px 1fr; gap: 28px; padding: 40px 0; border-bottom: 1px solid var(--line); }
.service-block:last-child { border-bottom: 0; }
.service-num { font-family: var(--display); font-size: 3rem; font-weight: 700; color: var(--orange); line-height: 1; }
.service-block p { color: var(--muted); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.tag { font-size: .82rem; background: var(--purple-soft); color: var(--navy); padding: 5px 12px; border-radius: 30px; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; }
.contact-item { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.contact-item:last-child { border-bottom: 0; }
.contact-icon { flex: 0 0 44px; height: 44px; border-radius: 8px; background: var(--purple-soft); color: var(--navy); display: grid; place-items: center; }
.contact-icon svg { width: 20px; height: 20px; }
.contact-item strong { display: block; color: var(--navy); font-size: .9rem; }
.contact-item span, .contact-item a { color: var(--muted); font-size: .95rem; text-decoration: none; }
.form { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 36px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: .86rem; font-weight: 600; color: var(--navy); margin-bottom: 6px; }
.field input, .field textarea, .field select { width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 6px; font: inherit; font-size: .95rem; background: #fcfbfd; }
.field input:focus, .field textarea:focus, .field select:focus { outline: 2px solid var(--orange); border-color: transparent; }
.field textarea { min-height: 130px; resize: vertical; }
.hp { position: absolute; left: -9999px; }
.form-note { font-size: .9rem; padding: 12px 14px; border-radius: 6px; margin-bottom: 16px; display: none; }
.form-note.ok { display: block; background: #e8f6ec; color: #1d6b35; }
.form-note.err { display: block; background: #fdecea; color: #9b2c22; }
.map { margin-top: 28px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.map iframe { width: 100%; height: 280px; border: 0; display: block; }

/* Footer */
.footer { background: var(--navy-deep); color: rgba(255,255,255,.72); padding: 64px 0 26px; font-size: .92rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.3fr; gap: 40px; }
.footer img { height: 40px; width: auto; margin-bottom: 18px; }
.footer h4 { color: var(--white); font-family: var(--display); font-size: 1.1rem; margin: 0 0 14px; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin-bottom: 8px; }
.footer a { color: rgba(255,255,255,.72); text-decoration: none; }
.footer a:hover { color: var(--orange); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 44px; padding-top: 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: .84rem; }

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

/* Responsive */
@media (max-width: 980px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: block; }
  .mobile-nav { display: flex; flex-direction: column; position: fixed; inset: 78px 0 auto; background: var(--white); padding: 10px 24px 24px; border-bottom: 1px solid var(--line); transform: translateY(-140%); transition: transform .3s; z-index: 99; }
  .mobile-nav.open { transform: none; }
  .mobile-nav a { padding: 13px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); font-weight: 500; }
  .mobile-nav a.btn { border: 0; margin-top: 14px; text-align: center; color: var(--white); }
  .grid-2, .contact-grid, .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .strip-grid { grid-template-columns: 1fr 1fr; }
  .strip-item:nth-child(3) { border-left: 0; }
  .img-frame::after { display: none; }
}
@media (max-width: 600px) {
  .section { padding: 64px 0; }
  .grid-4, .form-row { grid-template-columns: 1fr; }
  .service-block { grid-template-columns: 1fr; gap: 8px; }
  .cta, .form { padding: 30px 22px; }
  .info-table th { width: 42%; }
  .brand img { height: 34px; }
}
