/* Mitra Gerbang Indonesia — Landing Page Styles */

:root {
  --navy: #0e1a2b;
  --navy-border: #25405c;
  --cream: #fbf7f0;
  --white: #ffffff;
  --red: #ce1126;
  --gold: #d8a73e;
  --ink: #0e1a2b;
  --slate: #41556b;
  --blue-gray: #9db0c4;
  --off-white: #f4f1ea;
  --card-border: #e4ddce;

  --font-display: "Fraunces", "Georgia", serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--slate);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 100px;
}

section {
  width: 100%;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  border-radius: 9px;
  padding: 15px 28px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.btn:hover {
  opacity: 0.9;
}

.btn-primary {
  background: var(--red);
  color: var(--white);
}

.btn-secondary {
  background: transparent;
  color: var(--off-white);
  border-color: var(--navy-border);
}

/* ---------- Nav ---------- */

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 26px 100px;
  background: var(--cream);
  position: relative;
  z-index: 50;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-mark {
  width: 46px;
  height: 46px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--white);
}

.logo-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.logo-word {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-name {
  font-family: var(--font-display);
  font-size: 19px;
  color: var(--ink);
}

.logo-sub {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2px;
  color: #7a8797;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 38px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  font-size: 15px;
  font-weight: 500;
  color: var(--slate);
}

.nav-links a:hover {
  color: var(--ink);
}

.nav-cta {
  background: var(--navy);
  color: var(--off-white);
  font-size: 14px;
  font-weight: 600;
  padding: 12px 22px;
  border-radius: 8px;
}

.nav-menu-btn {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  background: var(--white);
  border: 1px solid var(--card-border);
  border-radius: 8px;
}

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: var(--white);
  border-bottom: 1px solid var(--card-border);
  padding: 8px 22px 18px;
}

.mobile-nav.open {
  display: flex;
}

.mobile-nav a {
  padding: 12px 0;
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
  border-bottom: 1px solid var(--card-border);
}

.mobile-nav a:last-child {
  border-bottom: none;
}

/* ---------- Hero ---------- */

.hero {
  display: flex;
  align-items: center;
  gap: 72px;
  padding: 104px 100px 110px;
  background: var(--navy);
}

.hero-copy {
  width: 640px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 30px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: #ffffff14;
  border: 1px solid var(--navy-border);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--blue-gray);
}

.eyebrow .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red);
  flex-shrink: 0;
}

.hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 62px;
  line-height: 1.03;
  color: var(--off-white);
}

.hero-subhead {
  width: 560px;
  max-width: 100%;
  font-size: 18px;
  line-height: 1.55;
  color: var(--blue-gray);
}

.cta-row {
  display: flex;
  align-items: center;
  gap: 14px;
}

.trust {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 8px;
  font-size: 14px;
}

.trust .stars {
  color: var(--gold);
}

.trust .trust-text {
  color: var(--blue-gray);
}

.hero-visual {
  flex: 1 1 0;
  height: 540px;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  background: #142338;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.stat-card {
  position: absolute;
  left: 24px;
  bottom: 24px;
  padding: 18px 22px;
  background: #0f1e33f0;
  border: 1px solid var(--navy-border);
  border-radius: 12px;
}

.stat-card .val {
  font-family: var(--font-display);
  font-size: 30px;
  color: var(--off-white);
}

.stat-card .cap {
  font-size: 13px;
  color: var(--blue-gray);
  max-width: 220px;
}

/* ---------- Section headers ---------- */

.eyebrow-tick {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--red);
}

.eyebrow-tick .tick {
  width: 26px;
  height: 2px;
  background: var(--red);
}

.eyebrow-label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
}

h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 44px;
  line-height: 1.09;
  margin: 0;
  color: var(--ink);
}

.section-header {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 720px;
  margin-bottom: 56px;
}

.section-header p {
  font-size: 17px;
  line-height: 1.55;
  margin: 0;
  color: var(--slate);
}

/* ---------- Why Indonesia ---------- */

.why {
  display: flex;
  align-items: center;
  gap: 80px;
  padding: 104px 100px;
  background: var(--cream);
}

.why-copy {
  width: 480px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.why-copy h2 {
  font-size: 44px;
}

.why-copy p {
  font-size: 17px;
  line-height: 1.6;
  margin: 0;
}

.stats-grid {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.stats-row {
  display: flex;
  gap: 20px;
}

.stat-box {
  flex: 1 1 0;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--card-border);
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.stat-box .value {
  font-family: var(--font-display);
  font-size: 46px;
  color: var(--ink);
}

.stat-box .label {
  font-size: 14px;
  line-height: 1.4;
}

/* ---------- Card grid sections (Services / Sectors / Portfolio / Team) ---------- */

.section-pad {
  padding: 100px;
}

.grid-row {
  display: flex;
  gap: 24px;
}

.grid-row + .grid-row {
  margin-top: 24px;
}

.icon-box {
  width: 52px;
  height: 52px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.icon-box svg {
  width: 24px;
  height: 24px;
}

/* Services */

.services {
  background: var(--white);
}

.service-card {
  flex: 1 1 0;
  padding: 32px;
  background: var(--white);
  border: 1px solid var(--card-border);
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.service-card .icon-box {
  background: var(--cream);
}

.service-card h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 22px;
  margin: 0;
  color: var(--ink);
}

.service-card p {
  font-size: 15px;
  line-height: 1.55;
  margin: 0;
}

/* Sectors */

.sectors {
  background: var(--navy);
}

.sectors .section-header h2,
.sectors .section-header .eyebrow-label {
  color: var(--off-white);
}

.sectors .eyebrow-label {
  color: var(--gold);
}

.sector-card {
  flex: 1 1 0;
  padding: 32px;
  background: var(--navy);
  border: 1px solid var(--navy-border);
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.sector-card .icon-box {
  background: #ffffff12;
}

.sector-card h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 22px;
  margin: 0;
  color: var(--off-white);
}

.sector-card p {
  font-size: 15px;
  line-height: 1.55;
  margin: 0;
  color: var(--blue-gray);
}

/* Portfolio */

.portfolio {
  background: var(--cream);
}

.portfolio-card {
  flex: 1 1 0;
  height: 180px;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--card-border);
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}

.portfolio-card .logo-wrap {
  flex: 1 1 0;
  width: 100%;
  display: flex;
  align-items: center;
}

.portfolio-card .logo-wrap img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.portfolio-card .tag {
  align-self: flex-start;
  padding: 6px 12px;
  background: var(--cream);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.5px;
  color: var(--slate);
}

/* Team */

.team {
  background: var(--white);
}

.team-card {
  flex: 1 1 0;
  padding: 32px;
  background: var(--white);
  border: 1px solid var(--card-border);
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.team-card .avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}

.team-card .avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-card .name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 22px;
  color: var(--ink);
}

.team-card .role {
  font-size: 15px;
  line-height: 1.4;
  margin-top: 4px;
}

.team-card .bullet {
  display: flex;
  gap: 10px;
  padding-top: 10px;
  font-size: 14px;
  line-height: 1.4;
}

.team-card .bullet .dot-wrap {
  padding-top: 6px;
}

.team-card .bullet .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
  flex-shrink: 0;
}

/* ---------- CTA & Footer ---------- */

.cta-footer {
  background: var(--navy);
}

.cta-band {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 26px;
  padding: 110px 100px;
  text-align: center;
}

.cta-band .eyebrow-label {
  color: var(--gold);
  font-weight: 700;
}

.cta-band h2 {
  max-width: 820px;
  font-size: 52px;
  line-height: 1.08;
  font-weight: 500;
  color: var(--off-white);
}

.cta-band p {
  max-width: 600px;
  font-size: 18px;
  line-height: 1.55;
  margin: 0;
  color: var(--blue-gray);
}

.cta-band .btn-primary {
  padding: 16px 32px;
  border-radius: 10px;
  font-size: 16px;
}

.divider {
  width: 100%;
  height: 1px;
  background: var(--navy-border);
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 64px;
  padding: 72px 100px;
}

.footer-brand {
  width: 340px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.footer-brand .logo-mark {
  width: 46px;
  height: 46px;
}

.footer-brand .logo-name {
  color: var(--off-white);
  font-weight: 400;
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.55;
  margin: 0;
  color: var(--blue-gray);
}

.footer-brand .linkedin {
  font-size: 14px;
  font-weight: 600;
  color: var(--off-white);
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-col .title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--blue-gray);
}

.footer-col a,
.footer-col span {
  font-size: 15px;
  color: var(--off-white);
}

.contact-col {
  width: 320px;
  flex-shrink: 0;
}

.contact-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.contact-item .k {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--blue-gray);
}

.contact-item .v {
  font-size: 14px;
  line-height: 1.5;
  color: var(--off-white);
}

.bottom-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 100px;
  font-size: 13px;
  color: var(--blue-gray);
}

/* ---------- Responsive ---------- */

@media (max-width: 1080px) {
  .container,
  .nav,
  .hero,
  .why,
  .section-pad,
  .cta-band,
  .footer,
  .bottom-bar {
    padding-left: 40px;
    padding-right: 40px;
  }
}

@media (max-width: 900px) {
  .nav-links,
  .nav-cta {
    display: none;
  }

  .nav-menu-btn {
    display: flex;
  }

  .nav,
  .hero,
  .why,
  .section-pad,
  .cta-band,
  .footer,
  .bottom-bar {
    padding-left: 22px;
    padding-right: 22px;
  }

  .hero {
    flex-direction: column;
    align-items: stretch;
    gap: 36px;
    padding-top: 48px;
    padding-bottom: 44px;
  }

  .hero-copy {
    width: 100%;
    gap: 22px;
  }

  .hero h1 {
    font-size: 38px;
    line-height: 1.06;
  }

  .hero-subhead {
    width: 100%;
    font-size: 16px;
    line-height: 1.55;
  }

  .cta-row {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  .cta-row .btn {
    width: 100%;
  }

  .hero-visual {
    height: 220px;
  }

  .stat-card {
    left: 14px;
    bottom: 14px;
    padding: 13px 16px;
  }

  .stat-card .val {
    font-size: 22px;
  }

  .why {
    flex-direction: column;
    gap: 26px;
    padding-top: 60px;
    padding-bottom: 60px;
  }

  .why-copy {
    width: 100%;
  }

  .why-copy h2 {
    font-size: 32px;
    line-height: 1.1;
  }

  .stats-grid {
    width: 100%;
    gap: 14px;
  }

  .stats-row {
    gap: 14px;
  }

  .stat-box {
    padding: 20px;
    border-radius: 13px;
  }

  .stat-box .value {
    font-size: 34px;
  }

  .stat-box .label {
    font-size: 13px;
  }

  .section-pad {
    padding: 60px 22px;
  }

  .section-header {
    margin-bottom: 28px;
    gap: 12px;
  }

  h2 {
    font-size: 32px;
    line-height: 1.1;
  }

  .grid-row {
    flex-direction: column;
    gap: 12px;
  }

  .grid-row + .grid-row {
    margin-top: 12px;
  }

  .service-card {
    flex-direction: row;
    align-items: flex-start;
    padding: 16px;
    gap: 14px;
    border-radius: 14px;
  }

  .service-card .icon-box {
    width: 40px;
    height: 40px;
    background: #ce112614;
    border-radius: 10px;
  }

  .service-card .icon-box svg {
    width: 20px;
    height: 20px;
  }

  .service-card h3 {
    font-size: 18px;
  }

  .service-card p {
    font-size: 14px;
  }

  .sector-card,
  .team-card {
    padding: 24px;
  }

  .portfolio-card {
    flex: 0 0 auto;
    height: auto;
    padding: 20px;
    gap: 16px;
  }

  .portfolio-card .logo-wrap {
    flex: 0 0 auto;
    height: 56px;
    justify-content: center;
  }

  .cta-band {
    padding: 60px 22px;
    gap: 18px;
  }

  .cta-band h2 {
    font-size: 32px;
    line-height: 1.12;
  }

  .cta-band p {
    font-size: 16px;
  }

  .cta-band .btn-primary {
    width: 100%;
  }

  .footer {
    flex-direction: column;
    gap: 40px;
    padding: 48px 22px;
  }

  .footer-brand,
  .contact-col {
    width: 100%;
  }

  .bottom-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 20px 22px;
  }
}

@media (max-width: 600px) {
  .stats-row {
    flex-direction: row;
  }

  .sectors .grid-row,
  .portfolio .grid-row,
  .team .grid-row {
    flex-direction: column;
  }
}
