/*
Theme Name: Malaysia Market Entry
Theme URI: https://malaysiamarketentry.id
Author: Malaysia Market Entry
Description: Tema rasmi Malaysia Market Entry untuk homepage advisory Indonesia ke Malaysia.
Version: 1.2.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: mme
*/

:root {
  --navy: #0b1f33;
  --navy-2: #102b46;
  --cream: #f4efe5;
  --paper: #fbf8f2;
  --red: #c73232;
  --red-dark: #a92126;
  --slate: #65717d;
  --ink: #15202b;
  --brass: #b69a6a;
  --line: #d8d0c3;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-inter), Arial, Helvetica, sans-serif;
}
a { color: inherit; text-decoration: none; }
p { margin: 0; }
h1, h2, h3 { margin: 0; }
img { max-width: 100%; }
.admin-bar .site-header { top: 32px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: 94px;
  display: grid;
  grid-template-columns: minmax(260px, 1fr) auto auto;
  align-items: center;
  gap: 36px;
  padding: 0 clamp(24px, 4.5vw, 76px);
  background: rgba(251, 248, 242, .96);
  border-bottom: 1px solid rgba(11, 31, 51, .12);
  backdrop-filter: blur(14px);
}
.brand {
  display: inline-flex;
  align-items: center;
}
.brand img { width: 280px; height: auto; display: block; }
.desktop-nav { display: flex; align-items: center; gap: 34px; }
.desktop-nav a {
  position: relative;
  padding: 38px 0 34px;
  color: #26323c;
  font-size: 14px;
  font-weight: 550;
}
.desktop-nav a::after {
  content: "";
  position: absolute;
  left: 50%; right: 50%; bottom: 0;
  height: 3px;
  background: var(--red);
  transition: left .25s ease, right .25s ease;
}
.desktop-nav a:hover::after { left: 0; right: 0; }
.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 48px;
  padding: 0 21px;
  background: var(--red);
  color: white;
  font-size: 14px;
  font-weight: 650;
  border-radius: 2px;
  transition: background .2s ease;
}
.header-cta:hover { background: var(--red-dark); }
.header-cta span, .button span { transition: transform .2s ease; }
.header-cta:hover span, .button:hover span { transform: translateX(4px); }
.mobile-nav { display: none; }

.hero {
  min-height: calc(100vh - 94px);
  display: grid;
  grid-template-columns: 52% 48%;
  background: var(--cream);
  overflow: hidden;
}
.hero-copy {
  position: relative;
  z-index: 2;
  align-self: center;
  padding: 80px clamp(38px, 5vw, 82px);
}
.hero-copy::after {
  content: "";
  position: absolute;
  top: -20%; right: -74px;
  width: 150px; height: 140%;
  background: var(--cream);
  transform: rotate(-8deg);
  z-index: -1;
}
.eyebrow, .section-kicker {
  color: var(--red);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: .17em;
  text-transform: uppercase;
}
.hero h1 {
  max-width: 680px;
  margin-top: 20px;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(54px, 5.5vw, 84px);
  font-weight: 500;
  line-height: .99;
  letter-spacing: -.045em;
}
.hero-lead {
  max-width: 650px;
  margin-top: 27px;
  color: #49545d;
  font-size: clamp(16px, 1.35vw, 20px);
  line-height: 1.65;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 15px; margin-top: 32px; }
.button {
  min-height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 0 28px;
  border-radius: 2px;
  font-weight: 700;
  transition: background .2s ease, color .2s ease, border .2s ease;
}
.button-dark { background: var(--navy); color: white; border: 1px solid var(--navy); }
.button-dark:hover { background: var(--navy-2); }
.button-dark span { color: var(--red); font-size: 20px; }
.button-outline { color: var(--navy); border: 1px solid var(--navy); }
.button-outline:hover { background: white; }
.trust-line {
  display: flex;
  align-items: center;
  gap: 20px;
  max-width: 620px;
  margin-top: 35px;
  color: #515c65;
  font-size: 15px;
  line-height: 1.5;
}
.trust-line span { width: 60px; height: 1px; flex: 0 0 auto; background: var(--brass); }
.hero-visual {
  position: relative;
  min-height: 680px;
  background-image: linear-gradient(90deg, rgba(11,31,51,.04), rgba(11,31,51,.08)), url("https://images.unsplash.com/photo-1470217957101-da7150b9b681?auto=format&fit=crop&fm=jpg&q=86&w=1800");
  background-size: cover;
  background-position: center;
  border-right: 14px solid var(--red);
}
.hero-note {
  position: absolute;
  right: 8%; bottom: 8%;
  width: min(285px, 76%);
  padding: 33px 30px 28px;
  background: rgba(251, 248, 242, .96);
  border-left: 4px solid var(--red);
  box-shadow: 0 18px 55px rgba(11, 31, 51, .18);
}
.building-mark {
  display: block;
  width: 50px;
  height: 47px;
  object-fit: contain;
}
.hero-note p { margin-top: 23px; color: #3f4b55; font-size: 15px; line-height: 1.55; }
.photo-credit { position: absolute; left: 18px; bottom: 12px; color: rgba(255,255,255,.86); font-size: 10px; text-shadow: 0 1px 3px #000; }

.statement, .readiness-section, .method-section, .advisor-section {
  padding: 118px clamp(24px, 7vw, 112px);
}
.statement { background: var(--paper); }
.statement-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: clamp(50px, 8vw, 130px);
  margin-top: 28px;
}
.statement h2, .section-heading h2, .program-intro h2, .difference-copy h2, .advisor-copy h2, .cta-section h2 {
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -.035em;
}
.statement h2 { font-size: clamp(40px, 4.5vw, 66px); }
.statement-grid > div { padding-top: 8px; }
.statement-grid > div p { color: #4e5a64; font-size: 17px; line-height: 1.8; }
.statement-grid > div p + p { margin-top: 22px; }

.readiness-section { background: #efe8dc; border-top: 1px solid var(--line); }
.section-heading { max-width: 800px; }
.section-heading h2 { margin-top: 18px; font-size: clamp(40px, 4.5vw, 62px); }
.readiness-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 65px; background: var(--line); border: 1px solid var(--line); }
.readiness-grid article { min-height: 310px; padding: 38px 36px; background: var(--paper); }
.readiness-grid article > span { color: var(--red); font-size: 13px; font-weight: 750; letter-spacing: .15em; }
.readiness-grid h3 { margin-top: 70px; color: var(--navy); font-family: Georgia, "Times New Roman", serif; font-size: 30px; font-weight: 600; }
.readiness-grid p { margin-top: 16px; color: #59636c; font-size: 15px; line-height: 1.7; }

.program-section {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: clamp(60px, 7vw, 120px);
  padding: 118px clamp(24px, 7vw, 112px);
  background: var(--navy);
  color: white;
}
.section-kicker.light { color: #d8bb87; }
.program-intro { align-self: start; position: sticky; top: 135px; }
.program-intro h2 { margin-top: 20px; color: white; font-size: clamp(40px, 4vw, 58px); }
.program-intro > p:last-child { margin-top: 26px; color: #b9c3cc; font-size: 16px; line-height: 1.75; }
.program-list { border-top: 1px solid rgba(255,255,255,.22); }
.program-list article {
  display: grid;
  grid-template-columns: 60px 1fr 54px;
  gap: 22px;
  padding: 42px 0;
  border-bottom: 1px solid rgba(255,255,255,.22);
}
.program-number { color: #d8bb87; font-size: 12px; letter-spacing: .15em; }
.program-type { color: #c8d0d6; font-size: 11px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.program-list h3 { margin-top: 12px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(29px, 2.6vw, 39px); font-weight: 500; line-height: 1.1; }
.program-list h3 + p { max-width: 620px; margin-top: 17px; color: #b9c3cc; font-size: 15px; line-height: 1.7; }
.program-list ul { display: grid; gap: 9px; margin: 20px 0 0; padding: 0; list-style: none; }
.program-list li { display: flex; gap: 10px; color: #dde2e6; font-size: 13px; line-height: 1.5; }
.check { color: #d8bb87; }
.program-list article > a { align-self: center; display: grid; place-items: center; width: 50px; height: 50px; border: 1px solid rgba(255,255,255,.35); font-size: 24px; transition: background .2s, color .2s; }
.program-list article > a:hover { background: var(--red); border-color: var(--red); }

.method-section { background: var(--paper); }
.section-heading.narrow { max-width: 750px; }
.section-heading.narrow > p:last-child { margin-top: 24px; color: #5c6670; font-size: 16px; line-height: 1.75; }
.method-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin: 70px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.method-grid li { position: relative; min-height: 290px; padding: 35px 27px; border-right: 1px solid var(--line); }
.method-grid li:last-child { border-right: 0; }
.method-grid li::before { content: ""; position: absolute; top: -3px; left: 0; width: 36px; height: 5px; background: var(--red); }
.method-grid span { color: var(--red); font-size: 12px; font-weight: 700; }
.method-grid h3 { margin-top: 70px; color: var(--navy); font-family: Georgia, "Times New Roman", serif; font-size: 26px; font-weight: 600; }
.method-grid p { margin-top: 15px; color: #63707a; font-size: 14px; line-height: 1.65; }

.difference-section { display: grid; grid-template-columns: 1fr 1fr; min-height: 650px; }
.difference-copy { padding: 100px clamp(30px, 7vw, 110px); background: var(--navy); color: white; }
.difference-copy h2 { margin-top: 20px; color: white; font-size: clamp(40px, 4vw, 58px); }
.difference-copy > p:last-child { margin-top: 28px; color: #bcc6ce; font-size: 16px; line-height: 1.8; }
.difference-points { display: grid; align-content: center; padding: 65px clamp(30px, 6vw, 95px); background: #e9e1d4; }
.difference-points article { display: grid; grid-template-columns: 62px 1fr; gap: 24px; padding: 30px 0; border-bottom: 1px solid #cfc4b5; }
.difference-points article:last-child { border-bottom: 0; }
.difference-points article > span { display: grid; place-items: center; width: 58px; height: 58px; border: 1px solid var(--brass); color: var(--red); font-family: Georgia, "Times New Roman", serif; font-size: 20px; }
.difference-points h3 { color: var(--navy); font-size: 18px; }
.difference-points p { margin-top: 8px; color: #5d6770; font-size: 14px; line-height: 1.6; }

.advisor-section { display: grid; grid-template-columns: .75fr 1.25fr; align-items: center; gap: clamp(50px, 8vw, 130px); background: var(--paper); }
.advisor-portrait {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  width: min(100%, 470px);
  min-height: 520px;
  overflow: hidden;
  background: linear-gradient(145deg, #e9e0d1 0%, #f8f4ec 70%);
  border-right: 10px solid var(--red);
  border-bottom: 10px solid var(--navy);
}
.advisor-portrait::before {
  content: "";
  position: absolute;
  inset: 32px 32px auto auto;
  width: 105px;
  height: 105px;
  border-top: 1px solid var(--brass);
  border-right: 1px solid var(--brass);
}
.advisor-portrait img {
  position: relative;
  z-index: 2;
  width: min(74%, 345px);
  height: auto;
  filter: drop-shadow(0 20px 24px rgba(11, 31, 51, .13));
}
.portrait-mark {
  position: absolute;
  left: 25px;
  bottom: 18px;
  z-index: 3;
  color: rgba(11, 31, 51, .18);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 48px;
  font-weight: 700;
  letter-spacing: -.06em;
}
.advisor-copy h2 { margin-top: 20px; font-size: clamp(48px, 5vw, 72px); }
.advisor-role { margin-top: 9px; color: var(--red); font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.advisor-copy > p:not(.section-kicker):not(.advisor-role) { max-width: 720px; margin-top: 28px; color: #53606a; font-size: 16px; line-height: 1.8; }
.advisor-copy blockquote { max-width: 720px; margin: 32px 0 0; padding: 23px 0 23px 28px; border-left: 2px solid var(--brass); color: var(--navy); font-family: Georgia, "Times New Roman", serif; font-size: 24px; line-height: 1.35; }

@media (min-width: 761px) {
  .hero-actions { flex-wrap: nowrap; gap: 10px; }
  .hero-actions .button { padding-inline: 20px; font-size: 14px; white-space: nowrap; }
}

.cta-section { padding: 110px clamp(24px, 12vw, 190px); text-align: center; background: #eee6d9; border-top: 1px solid var(--line); }
.cta-section h2 { max-width: 920px; margin: 20px auto 0; font-size: clamp(42px, 5vw, 68px); }
.cta-section > p:not(.section-kicker):not(.cta-note) { max-width: 670px; margin: 26px auto 0; color: #57626b; font-size: 17px; line-height: 1.7; }
.cta-actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 32px; margin-top: 35px; }
.button-red { color: white; background: var(--red); }
.button-red:hover { background: var(--red-dark); }
.text-link { color: var(--navy); font-size: 14px; font-weight: 750; border-bottom: 1px solid var(--navy); padding-bottom: 4px; }
.cta-note { margin-top: 18px; color: #7a756e; font-size: 12px; }

footer { display: grid; grid-template-columns: 1fr auto; gap: 55px; padding: 70px clamp(24px, 7vw, 112px) 32px; background: #081726; color: white; }
.footer-logo { padding: 10px 14px; background: white; }
.footer-logo img { width: 250px; }
.footer-brand p { margin-top: 16px; color: #9fadb9; font-size: 14px; }
.footer-links { display: flex; align-items: flex-start; gap: 28px; color: #c6d0d8; font-size: 13px; }
.footer-links a:hover { color: white; }
.copyright { grid-column: 1 / -1; padding-top: 28px; color: #768694; font-size: 11px; border-top: 1px solid rgba(255,255,255,.13); }

@media (max-width: 1100px) {
  .desktop-nav { display: none; }
  .site-header { grid-template-columns: 1fr auto auto; }
  .mobile-nav { display: block; position: relative; }
  .mobile-nav summary { display: grid; gap: 4px; cursor: pointer; list-style: none; }
  .mobile-nav summary::-webkit-details-marker { display: none; }
  .mobile-nav summary span { display: block; width: 24px; height: 2px; background: var(--navy); }
  .mobile-nav nav { position: absolute; right: 0; top: 35px; width: 250px; display: grid; padding: 12px; background: var(--paper); border: 1px solid var(--line); box-shadow: 0 16px 35px rgba(11,31,51,.13); }
  .mobile-nav nav a { padding: 12px 10px; font-size: 14px; border-bottom: 1px solid var(--line); }
  .mobile-nav nav a:last-child { color: white; background: var(--red); border-bottom: 0; }
  .hero h1 { font-size: clamp(50px, 6vw, 70px); }
  .program-section { grid-template-columns: 1fr; }
  .program-intro { position: static; max-width: 750px; }
  .method-grid { grid-template-columns: repeat(2, 1fr); }
  .method-grid li { border-bottom: 1px solid var(--line); }
}

@media (max-width: 760px) {
  .admin-bar .site-header { top: 46px; }
  .site-header { height: 76px; padding: 0 20px; gap: 17px; }
  .brand img { width: min(245px, 64vw); }
  .header-cta { display: none; }
  .site-header { grid-template-columns: 1fr auto; }
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-copy { padding: 70px 24px 58px; }
  .hero-copy::after { display: none; }
  .hero h1 { font-size: clamp(48px, 13vw, 64px); }
  .hero-lead { font-size: 16px; }
  .hero-actions { display: grid; }
  .button { width: 100%; padding: 0 18px; }
  .trust-line { align-items: flex-start; }
  .trust-line span { width: 36px; margin-top: 11px; }
  .hero-visual { min-height: 520px; border-right-width: 8px; }
  .statement, .readiness-section, .method-section, .advisor-section { padding: 80px 24px; }
  .statement-grid, .difference-section, .advisor-section { grid-template-columns: 1fr; }
  .statement-grid { gap: 30px; }
  .readiness-grid { grid-template-columns: 1fr; }
  .readiness-grid article { min-height: 250px; }
  .readiness-grid h3 { margin-top: 45px; }
  .program-section { padding: 80px 24px; }
  .program-list article { grid-template-columns: 40px 1fr; }
  .program-list article > a { grid-column: 2; justify-self: start; }
  .method-grid { grid-template-columns: 1fr; }
  .method-grid li { min-height: 250px; border-right: 0; }
  .method-grid h3 { margin-top: 45px; }
  .difference-copy, .difference-points { padding: 80px 24px; }
  .advisor-portrait { max-width: 360px; min-height: 440px; }
  .advisor-section { gap: 45px; }
  .cta-section { padding: 80px 24px; }
  .cta-actions { gap: 22px; }
  footer { grid-template-columns: 1fr; padding: 60px 24px 28px; }
  .footer-links { display: grid; grid-template-columns: repeat(2, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}

/* PageLayer and standard WordPress page content. */
.mme-page-content {
  min-height: 60vh;
}

.mme-standard-content {
  max-width: 920px;
  margin-inline: auto;
  padding: 80px 24px;
}
