/* =========================================================
   CV. Cho Energi Langit — Company Profile
   ========================================================= */

:root {
  --green-900: #04301b;
  --green-800: #053f23;
  --green-700: #065a30;
  --green-600: #066f3b;   /* brand green (from logo) */
  --green-500: #128a4c;
  --green-400: #2fa866;
  --green-100: #e3f3ea;
  --green-50:  #f2f9f5;

  --ink:       #0f1d16;
  --text:      #3d4b44;
  --muted:     #6b7a72;
  --line:      #dfe8e3;
  --white:     #ffffff;

  --radius:    14px;
  --radius-lg: 22px;
  --shadow-sm: 0 2px 8px rgba(6, 60, 34, .06);
  --shadow:    0 14px 40px rgba(6, 60, 34, .10);
  --container: 1160px;
  --header-h:  76px;
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

body {
  margin: 0;
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.5rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }
p  { margin: 0 0 1em; }

svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .9rem 1.6rem;
  border-radius: 999px;
  font-weight: 700; font-size: .98rem;
  border: 2px solid transparent;
  transition: transform .2s ease, background .2s ease, color .2s ease, box-shadow .2s ease, border-color .2s ease;
  cursor: pointer; white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-sm { padding: .55rem 1.2rem; font-size: .92rem; }
.btn-primary { background: var(--green-600); color: var(--white); box-shadow: 0 8px 20px rgba(6, 111, 59, .25); }
.btn-primary:hover { background: var(--green-700); }
.btn-ghost { border-color: var(--line); color: var(--ink); background: var(--white); }
.btn-ghost:hover { border-color: var(--green-600); color: var(--green-600); }
.btn-light { background: var(--white); color: var(--green-700); }
.btn-light:hover { background: var(--green-100); }
.btn-icon { width: 20px; height: 20px; }

.eyebrow {
  display: inline-block;
  font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--green-600);
  background: var(--green-100);
  padding: .4rem .9rem; border-radius: 999px;
  margin-bottom: 1.1rem;
}
.eyebrow-light { background: rgba(255,255,255,.12); color: #bfe8cf; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .9);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 1rem; }

.brand { display: flex; align-items: center; gap: .7rem; }
.brand img { width: 27px; height: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { color: var(--green-600); font-size: 1.02rem; font-weight: 800; letter-spacing: .02em; }
.brand-text small { color: var(--muted); font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.brand-light .brand-text strong { color: var(--white); }
.brand-light .brand-text small { color: #9cc8b0; }

.nav-menu { display: flex; align-items: center; gap: 2rem; }
.nav-menu a:not(.btn) { font-weight: 600; font-size: .95rem; color: var(--text); position: relative; }
.nav-menu a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: -6px; width: 0; height: 2px;
  background: var(--green-600); transition: width .25s ease;
}
.nav-menu a:not(.btn):hover { color: var(--green-600); }
.nav-menu a:not(.btn):hover::after { width: 100%; }

.nav-toggle { display: none; }
.nav-burger { display: none; width: 44px; height: 44px; border-radius: 10px; cursor: pointer; position: relative; }
.nav-burger span, .nav-burger span::before, .nav-burger span::after {
  position: absolute; left: 11px; width: 22px; height: 2px; background: var(--ink); border-radius: 2px;
  transition: transform .25s ease, top .25s ease, opacity .2s ease; content: "";
}
.nav-burger span { top: 21px; }
.nav-burger span::before { top: -7px; left: 0; }
.nav-burger span::after  { top: 7px;  left: 0; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: 88px 0 110px;
  background:
    radial-gradient(900px 500px at 85% 10%, rgba(47, 168, 102, .14), transparent 60%),
    radial-gradient(700px 400px at 0% 100%, rgba(6, 111, 59, .08), transparent 60%),
    linear-gradient(180deg, var(--green-50), var(--white));
}
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.highlight { color: var(--green-600); }
.lead { font-size: 1.12rem; color: var(--text); max-width: 560px; margin-bottom: 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 2.2rem; }
.hero-badges { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .6rem 1.6rem; }
.hero-badges li { display: flex; align-items: center; gap: .45rem; font-weight: 600; font-size: .93rem; color: var(--ink); }
.hero-badges svg { width: 18px; height: 18px; color: var(--green-600); stroke-width: 2.6; }

.hero-visual { position: relative; min-height: 420px; }
.hero-logo {
  position: absolute; inset: 57% auto auto 56%; transform: translate(-50%, -50%);
  width: 260px; height: 260px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--white);
  box-shadow: var(--shadow), 0 0 0 18px rgba(6, 111, 59, .06), 0 0 0 40px rgba(6, 111, 59, .04);
}
.hero-logo img { width: 92px; }
.hero-card {
  position: absolute; z-index: 2;
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow);
}
.code-card { top: 0; left: 0; padding: 14px 18px 16px; background: var(--green-900); border-color: var(--green-800); }
.code-dots { display: flex; gap: 6px; margin-bottom: 10px; }
.code-dots i { width: 10px; height: 10px; border-radius: 50%; background: #2e5a43; }
.code-dots i:first-child { background: #ff6b5f; }
.code-dots i:nth-child(2) { background: #ffc24b; }
.code-dots i:nth-child(3) { background: #2fd174; }
.code-card pre { margin: 0; font: 500 .82rem/1.65 ui-monospace, "SFMono-Regular", Consolas, monospace; color: #d6efe0; }
.c-k { color: #7fd8a5; } .c-v { color: #ffffff; } .c-s { color: #ffd479; }
.stat-card { right: 0; bottom: 10px; padding: 16px 22px; display: flex; flex-direction: column; border-left: 4px solid var(--green-600); }
.stat-card strong { color: var(--green-600); font-size: 1.3rem; font-weight: 800; }
.stat-card span { font-size: .88rem; color: var(--muted); }

/* ---------- Stats ---------- */
.stats { margin-top: -56px; position: relative; z-index: 3; }
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius-lg); box-shadow: var(--shadow);
  padding: 0;
}
.stat { padding: 30px 20px; text-align: center; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat strong { display: block; font-size: 2.1rem; font-weight: 800; color: var(--green-600); letter-spacing: -.02em; line-height: 1.1; }
.stat span { font-size: .92rem; color: var(--muted); font-weight: 500; }

/* ---------- Sections ---------- */
.section { padding: 110px 0; }
.section-alt { background: var(--green-50); }
.section-head { text-align: center; max-width: 660px; margin: 0 auto 56px; }
.section-head p { color: var(--muted); font-size: 1.05rem; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 72px; align-items: center; }
.about-media { position: relative; }
.about-photo {
  position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow);
}
.about-photo > img { width: 100%; height: 100%; object-fit: cover; object-position: 40% center; }
.about-photo::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(4, 48, 27, .35));
}
.about-badge {
  position: absolute; top: 20px; left: 20px; z-index: 1;
  width: 64px; height: 64px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--white); box-shadow: var(--shadow);
}
.about-badge img { width: 24px; }
.about-tag {
  position: absolute; right: -24px; bottom: -24px; max-width: 250px;
  background: var(--green-600); color: var(--white);
  padding: 18px 22px; border-radius: var(--radius); box-shadow: var(--shadow);
}
.about-tag strong { display: block; font-size: 1.05rem; }
.about-tag span { font-size: .86rem; color: #cdebd9; }

.values { display: grid; gap: 18px; margin-top: 2rem; }
.value { display: flex; gap: 16px; align-items: flex-start; }
.value h3 { margin-bottom: .15em; font-size: 1.05rem; }
.value p { margin: 0; color: var(--muted); font-size: .95rem; }
.value-icon, .service-icon, .contact-icon {
  flex-shrink: 0; display: grid; place-items: center;
  width: 48px; height: 48px; border-radius: 12px;
  background: var(--green-100); color: var(--green-600);
}
.value-icon svg, .service-icon svg, .contact-icon svg { width: 24px; height: 24px; }

/* ---------- Services ---------- */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 34px 30px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.service-card .service-icon { width: 56px; height: 56px; border-radius: 14px; margin-bottom: 22px; transition: background .25s ease, color .25s ease; }
.service-card:hover .service-icon { background: var(--green-600); color: var(--white); }
.service-card p { margin: 0; color: var(--muted); font-size: .96rem; }

/* ---------- Process ---------- */
.process-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.process-step { position: relative; padding: 30px 26px; border-radius: var(--radius-lg); border: 1px solid var(--line); background: var(--white); }
.process-step::after {
  content: ""; position: absolute; top: 52px; right: -24px; width: 24px; height: 2px;
  background: repeating-linear-gradient(90deg, var(--green-400) 0 6px, transparent 6px 10px);
}
.process-step:last-child::after { display: none; }
.step-num {
  display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 50%;
  background: var(--green-600); color: var(--white); font-weight: 800; font-size: .95rem;
  margin-bottom: 18px; box-shadow: 0 0 0 6px var(--green-100);
}
.process-step p { margin: 0; color: var(--muted); font-size: .95rem; }

/* ---------- Why us ---------- */
.section-dark {
  background:
    linear-gradient(100deg, rgba(4, 48, 27, .97) 0%, rgba(5, 63, 35, .92) 45%, rgba(5, 63, 35, .80) 100%),
    url("assets/why-office.jpg") center / cover no-repeat;
  color: #cfe5d8;
}
.section-dark h2, .section-dark h3 { color: var(--white); }
.why-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: center; }
.why-intro p { font-size: 1.05rem; margin-bottom: 2rem; }
.why-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.why-list li {
  padding: 28px 26px; border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1);
  transition: background .25s ease;
}
.why-list li:hover { background: rgba(255, 255, 255, .1); }
.why-list h3 { display: flex; align-items: center; gap: .6rem; }
.why-list h3::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--green-400); box-shadow: 0 0 0 4px rgba(47, 168, 102, .25); }
.why-list p { margin: 0; font-size: .95rem; color: #b5d3c2; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 28px; align-items: stretch; }
.contact-cards { display: grid; grid-template-columns: 1fr; gap: 20px; }
.contact-card { align-items: center; }
.contact-card { display: flex; gap: 16px; padding: 26px 24px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--white); }
.contact-card h3 { font-size: 1rem; margin-bottom: .3em; }
.contact-card p { margin: 0; color: var(--muted); font-size: .95rem; }
.contact-card a { color: var(--green-600); font-weight: 600; word-break: break-word; }
.contact-card a:hover { text-decoration: underline; }

.cta-box {
  display: flex; flex-direction: column; align-items: flex-start; justify-content: center;
  padding: 40px 36px; border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, rgba(6, 111, 59, .94), rgba(4, 48, 27, .90)),
    url("assets/cta-code.jpg") center / cover no-repeat;
  color: #d7efe1; box-shadow: var(--shadow);
}
.cta-logo { width: 38px; margin-bottom: 20px; opacity: .95; }
.cta-box h3 { color: var(--white); font-size: 1.5rem; }
.cta-box p { margin-bottom: 1.6rem; }
.cta-link { margin-top: 1rem; font-weight: 600; font-size: .92rem; color: var(--white); opacity: .85; }
.cta-link:hover { opacity: 1; text-decoration: underline; }

/* ---------- Footer ---------- */
.footer { background: var(--green-900); color: #9fbfae; padding-top: 72px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 48px; }
.footer-brand p { margin-top: 1.1rem; max-width: 300px; }
.footer-col { display: flex; flex-direction: column; gap: .6rem; }
.footer-col h4 { color: var(--white); font-size: 1rem; margin-bottom: .4rem; }
.footer-col p { margin: 0; }
.footer-col a:hover, .to-top:hover { color: var(--white); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap;
  padding-top: 24px; padding-bottom: 24px; border-top: 1px solid rgba(255, 255, 255, .1);
}
.footer-bottom p { margin: 0; font-size: .88rem; }
.to-top { font-weight: 600; font-size: .88rem; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero-grid, .about-grid, .why-grid { gap: 48px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .process-step::after { display: none; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .nav-burger { display: block; }
  .nav-menu {
    position: absolute; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--white); border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    padding: 8px 24px 20px;
    max-height: 0; overflow: hidden; opacity: 0; visibility: hidden;
    transition: max-height .3s ease, opacity .2s ease, visibility .3s;
  }
  .nav-menu a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav-menu a:not(.btn)::after { display: none; }
  .nav-menu .btn { margin-top: 16px; }
  .nav-toggle:checked ~ .nav-menu { max-height: 420px; opacity: 1; visibility: visible; }
  .nav-toggle:checked + .nav-burger span { background: transparent; }
  .nav-toggle:checked + .nav-burger span::before { top: 0; transform: rotate(45deg); }
  .nav-toggle:checked + .nav-burger span::after  { top: 0; transform: rotate(-45deg); }

  .hero { padding: 56px 0 96px; }
  .hero-grid, .about-grid, .why-grid { grid-template-columns: 1fr; }
  .hero-visual { min-height: 380px; max-width: 460px; width: 100%; margin: 0 auto; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .section { padding: 80px 0; }
  .about-media { max-width: 440px; margin: 0 auto 24px; width: 100%; }
  .about-tag { right: 12px; bottom: -24px; }
}

@media (max-width: 600px) {
  .container { padding: 0 16px; }
  .brand-text strong { font-size: .92rem; }
  .hero-actions .btn { flex: 1 1 auto; }
  .hero-visual { min-height: 340px; }
  .hero-logo { width: 200px; height: 200px; }
  .hero-logo img { width: 72px; }
  .code-card pre { font-size: .72rem; }
  .services-grid, .process-grid, .why-list, .contact-cards { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .service-card { padding: 28px 24px; }
  .cta-box { padding: 32px 24px; }
}

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