/* ===== PT. Arthana Megah Persada — Company Profile ===== */
:root {
  --teal: #147a7c;
  --teal-dark: #0c4a4c;
  --teal-deep: #072f31;
  --teal-light: #e6f2f2;
  --ink: #12262a;
  --muted: #5b6f72;
  --bg: #f7fafa;
  --white: #ffffff;
  --radius: 16px;
  --shadow: 0 8px 30px rgba(7, 47, 49, 0.08);
  --shadow-lg: 0 16px 48px rgba(7, 47, 49, 0.14);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

.container {
  width: min(1140px, 92%);
  margin: 0 auto;
}

/* ===== Navbar ===== */
.navbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding: 14px 0;
  background: linear-gradient(180deg, rgba(7, 47, 49, 0.85), rgba(7, 47, 49, 0));
  transition: background .3s, box-shadow .3s, padding .3s;
}
.navbar.scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(7, 47, 49, 0.1);
  padding: 10px 0;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
}
.brand img {
  height: 44px;
  width: auto;
  background: #fff;
  padding: 6px;
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(7, 47, 49, 0.18);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.25; }
.brand-text strong { font-size: 1rem; font-weight: 800; }
.brand-text small { font-size: .7rem; color: var(--muted); letter-spacing: .04em; }
.navbar:not(.scrolled) .brand-text strong { color: #fff; }
.navbar:not(.scrolled) .brand-text small { color: rgba(255,255,255,.7); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
}
.nav-links a {
  text-decoration: none;
  font-size: .92rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  transition: color .2s;
}
.navbar.scrolled .nav-links a { color: var(--ink); }
.nav-links a:hover { color: var(--teal); }
.nav-links a.nav-cta {
  background: var(--teal);
  color: #fff !important;
  padding: 10px 20px;
  border-radius: 999px;
  transition: background .2s, transform .2s;
}
.nav-links a.nav-cta:hover { background: var(--teal-dark); transform: translateY(-1px); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  width: 24px; height: 2.5px;
  background: #fff;
  border-radius: 2px;
  transition: background .3s;
}
.navbar.scrolled .nav-toggle span { background: var(--ink); }

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
  padding: 130px 0 80px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(1000px 500px at 85% 10%, rgba(20, 122, 124, 0.35), transparent 60%),
    radial-gradient(800px 600px at 10% 90%, rgba(20, 122, 124, 0.25), transparent 55%),
    linear-gradient(135deg, var(--teal-deep) 0%, var(--teal-dark) 55%, #0e5658 100%);
}
.hero-bg::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: 56px 56px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: 48px;
  align-items: center;
}
.hero-badge {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .18em;
  color: #8fd6d4;
  border: 1px solid rgba(143, 214, 212, 0.35);
  padding: 8px 16px;
  border-radius: 999px;
  margin-bottom: 22px;
}
.hero h1 {
  font-size: clamp(2.1rem, 4.6vw, 3.4rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
}
.hero h1 .accent { color: #4fc2bf; }
.hero p {
  font-size: 1.06rem;
  color: rgba(255, 255, 255, 0.78);
  max-width: 560px;
  margin-bottom: 32px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 48px; }

.btn {
  display: inline-block;
  text-decoration: none;
  font-weight: 700;
  font-size: .95rem;
  padding: 14px 28px;
  border-radius: 999px;
  transition: transform .2s, background .2s, box-shadow .2s;
}
.btn-primary {
  background: var(--teal);
  color: #fff;
  box-shadow: 0 8px 24px rgba(20, 122, 124, 0.4);
}
.btn-primary:hover { background: #1a9294; transform: translateY(-2px); }
.btn-outline {
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  color: #fff;
}
.btn-outline:hover { background: rgba(255, 255, 255, 0.1); transform: translateY(-2px); }
.btn-lg { padding: 16px 36px; font-size: 1.02rem; }

.hero-stats {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}
.stat strong {
  display: block;
  font-size: 1.7rem;
  font-weight: 800;
  color: #4fc2bf;
}
.stat span { font-size: .82rem; color: rgba(255, 255, 255, 0.65); }

.hero-visual { display: flex; justify-content: center; }
.hero-logo {
  width: min(320px, 80%);
  filter: drop-shadow(0 24px 48px rgba(0, 0, 0, 0.35));
  animation: float 6s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-16px); }
}

/* ===== Sections ===== */
.section { padding: 96px 0; }
.section-dark { background: linear-gradient(180deg, #f0f6f6, #e7f0f0); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.eyebrow {
  display: inline-block;
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--teal);
  background: var(--teal-light);
  padding: 7px 16px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.section-head h2 {
  font-size: clamp(1.7rem, 3.2vw, 2.4rem);
  font-weight: 800;
  line-height: 1.25;
}
.section-sub { color: var(--muted); margin-top: 14px; }

/* ===== Vision & Mission ===== */
.vision-card {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  background: linear-gradient(135deg, var(--teal-deep), var(--teal-dark));
  color: #fff;
  border-radius: var(--radius);
  padding: 36px 40px;
  margin-bottom: 28px;
  box-shadow: var(--shadow-lg);
}
.vision-icon {
  flex: 0 0 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(79, 194, 191, 0.18);
  color: #4fc2bf;
  display: grid;
  place-items: center;
}
.vision-icon svg { width: 28px; height: 28px; }
.vision-card h3 {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 8px;
  color: #8fd6d4;
}
.vision-card p { color: rgba(255, 255, 255, 0.88); font-size: 1.05rem; }

.mission-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.mission-card {
  background: var(--white);
  border: 1px solid #e3ecec;
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow);
  transition: transform .25s, box-shadow .25s;
}
.mission-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.mission-number {
  display: inline-block;
  font-size: .85rem;
  font-weight: 800;
  color: var(--teal);
  background: var(--teal-light);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.mission-card h4 { font-size: 1.12rem; font-weight: 800; margin-bottom: 10px; }
.mission-card p { color: var(--muted); font-size: .94rem; }

/* ===== Services ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: var(--white);
  border: 1px solid #e3ecec;
  border-radius: var(--radius);
  padding: 34px 28px;
  box-shadow: var(--shadow);
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(20, 122, 124, 0.35);
}
.service-icon {
  width: 58px; height: 58px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
  color: #fff;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  box-shadow: 0 8px 20px rgba(20, 122, 124, 0.3);
}
.service-icon svg { width: 28px; height: 28px; }
.service-card h4 { font-size: 1.1rem; font-weight: 800; margin-bottom: 10px; }
.service-card p { color: var(--muted); font-size: .93rem; }

/* ===== Legalitas ===== */
.legal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.legal-card {
  text-align: center;
  background: var(--white);
  border: 1px solid #e3ecec;
  border-radius: var(--radius);
  padding: 36px 26px;
  box-shadow: var(--shadow);
  transition: transform .25s, box-shadow .25s;
}
.legal-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.legal-icon {
  width: 60px; height: 60px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--teal-light);
  color: var(--teal);
  display: grid;
  place-items: center;
}
.legal-icon svg { width: 28px; height: 28px; }
.legal-card h4 { font-weight: 800; margin-bottom: 8px; }
.legal-card p { color: var(--muted); font-size: .9rem; }

/* ===== Projects ===== */
.project-block + .project-block { margin-top: 56px; }
.project-head {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px 14px;
  padding-bottom: 14px;
  margin-bottom: 24px;
  border-bottom: 1px solid #d7e4e4;
}
.project-head h3 {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--ink);
}
.project-client {
  font-size: .85rem;
  font-weight: 700;
  color: var(--teal);
  background: var(--teal-light);
  padding: 5px 14px;
  border-radius: 999px;
}
.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.project-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 3 / 4;
  cursor: pointer;
}
.project-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.project-card:hover img { transform: scale(1.06); }
.project-card figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 60px 22px 22px;
  background: linear-gradient(transparent, rgba(7, 47, 49, 0.92));
  color: #fff;
}
.project-tag {
  display: inline-block;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  background: var(--teal);
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 10px;
}
.project-card h4 { font-size: 1.05rem; font-weight: 800; }
.project-card figcaption p { font-size: .84rem; color: rgba(255, 255, 255, 0.8); margin-top: 4px; }

/* ===== CTA ===== */
.cta-section { padding-bottom: 110px; }
.cta-box {
  text-align: center;
  background: linear-gradient(135deg, var(--teal-deep) 0%, var(--teal-dark) 60%, #0e5658 100%);
  color: #fff;
  border-radius: 24px;
  padding: 70px 40px;
  box-shadow: var(--shadow-lg);
}
.cta-logo { width: 74px; margin: 0 auto 22px; filter: drop-shadow(0 8px 16px rgba(0,0,0,.3)); }
.cta-box h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; margin-bottom: 14px; }
.cta-box p { color: rgba(255, 255, 255, 0.78); max-width: 560px; margin: 0 auto 30px; }
.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.btn-wa {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #25d366;
  color: #063f1e;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
}
.btn-wa svg { width: 24px; height: 24px; flex-shrink: 0; }
.btn-wa:hover { background: #1fb855; transform: translateY(-2px); }
.btn-wa-label {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.25;
}
.btn-wa-label small {
  font-size: .78rem;
  font-weight: 600;
  opacity: .8;
}

/* ===== Footer ===== */
.footer {
  background: var(--teal-deep);
  color: rgba(255, 255, 255, 0.75);
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding: 64px 0 48px;
}
.footer-brand { display: flex; gap: 16px; align-items: flex-start; }
.footer-brand img {
  height: 52px;
  background: #fff;
  padding: 8px;
  border-radius: 14px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}
.footer-brand strong { color: #fff; font-size: 1.05rem; display: block; margin-bottom: 8px; }
.footer-brand p { font-size: .88rem; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links h5 {
  color: #8fd6d4;
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.footer-links a {
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  font-size: .9rem;
  transition: color .2s;
}
.footer-links a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 20px 0;
  font-size: .82rem;
  text-align: center;
}

/* ===== Reveal animation ===== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Responsive ===== */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero p { margin-inline: auto; }
  .hero-actions, .hero-stats { justify-content: center; }
  .hero-visual { order: -1; }
  .hero-logo { width: 180px; }
  .services-grid, .mission-grid, .legal-grid, .project-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 680px) {
  .nav-links {
    position: fixed;
    top: 0; right: 0;
    height: 100vh;
    width: min(300px, 80vw);
    background: var(--teal-deep);
    flex-direction: column;
    justify-content: center;
    padding: 40px 32px;
    transform: translateX(100%);
    transition: transform .3s ease;
    box-shadow: -8px 0 40px rgba(0,0,0,.3);
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links a { color: #fff !important; font-size: 1.05rem; }
  .nav-toggle { display: flex; z-index: 110; }
  .navbar.scrolled .nav-toggle span { background: var(--ink); }
  .nav-links.open ~ .nav-toggle span { background: #fff; }

  .services-grid, .mission-grid, .legal-grid, .project-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .vision-card { flex-direction: column; padding: 28px; }
  .section { padding: 72px 0; }
}
