/* ============================================================
   CV. Lancar Sejahtera Abadi (LSA) — stylesheet
   Architecture mirrors the reference single-page pattern.
   Theme: ocean blue (--primary) + coral (--accent).
   To re-skin, edit only the :root block below.
   ============================================================ */

:root {
  --primary: #0C3C57;            /* deep ocean blue */
  --primary-mid: #134B6B;        /* hover / mid shade */
  --primary-light: #1C5E84;      /* lighter accents */
  --accent: #E2725B;             /* coral */
  --accent-muted: rgba(226, 114, 91, 0.07);
  --accent-border: rgba(226, 114, 91, 0.16);
  --accent-soft: rgba(226, 114, 91, 0.30);
  --bg: #F7F9F9;                 /* cool near-white */
  --bg-dark: #EAF0F0;
  --border: #E3E8E8;
  --border-light: #EFF3F3;
  --white: #ffffff;
  --text-primary: #14242E;
  --text-secondary: #5A6B73;
  --text-tertiary: #93A1A6;
  --serif: "DM Serif Display", Georgia, serif;
  --sans: "Sora", system-ui, sans-serif;
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  color: var(--text-primary);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ---- utility ---- */
.container { max-width: 1180px; margin: 0 auto; padding: 0 clamp(20px, 5vw, 56px); }
.fade-up { opacity: 0; transform: translateY(26px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.fade-up.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.08s; }
.delay-2 { transition-delay: 0.16s; }
.delay-3 { transition-delay: 0.24s; }
.delay-4 { transition-delay: 0.32s; }

.section-label {
  font-size: 0.66rem; font-weight: 600; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 16px;
  display: flex; align-items: center; gap: 12px;
}
.section-label::before { content: ""; width: 26px; height: 1px; background: var(--accent); }
.section-heading {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(1.9rem, 3.4vw, 3rem); line-height: 1.15;
  color: var(--text-primary); margin-bottom: 18px;
}
.section-heading em { font-style: italic; color: var(--accent); }
.section-sub { font-size: 0.92rem; line-height: 1.75; color: var(--text-secondary); font-weight: 300; max-width: 560px; }
section { padding: clamp(64px, 10vw, 120px) 0; }

/* ---- nav ---- */
nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  background: rgba(247, 249, 249, 0.9);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-light);
  transition: box-shadow 0.3s;
}
nav.scrolled { box-shadow: 0 1px 14px rgba(12, 60, 87, 0.06); }
nav .container { display: flex; align-items: center; justify-content: space-between; height: 66px; }
.nav-brand { display: flex; align-items: center; gap: 11px; }
.nav-mark {
  width: 34px; height: 34px; background: var(--primary);
  display: flex; align-items: center; justify-content: center;
  color: var(--white); font-weight: 700; font-size: 0.62rem; letter-spacing: 0.06em;
}
.nav-name { font-weight: 600; font-size: 0.9rem; letter-spacing: -0.01em; }
.nav-name span { font-weight: 400; color: var(--text-tertiary); margin-left: 6px; }
.nav-links { display: flex; gap: 28px; list-style: none; align-items: center; }
.nav-links a {
  font-size: 0.78rem; font-weight: 500; color: var(--text-secondary);
  text-decoration: none; letter-spacing: 0.02em; transition: color 0.25s;
}
.nav-links a:hover { color: var(--accent); }
.nav-cta {
  background: var(--primary) !important; color: var(--white) !important;
  padding: 9px 22px; font-size: 0.76rem !important; transition: background 0.3s !important;
}
.nav-cta:hover { background: var(--primary-mid) !important; }

/* hamburger */
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; z-index: 110; }
.nav-toggle span { width: 24px; height: 2px; background: var(--primary); transition: transform 0.3s, opacity 0.3s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---- hero ---- */
.hero {
  min-height: 100vh; display: flex; align-items: flex-end;
  padding: 140px 0 clamp(60px, 10vw, 100px); position: relative;
  background: var(--primary); overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 55% 60% at 80% 30%, rgba(226,114,91,0.10) 0%, transparent 65%),
    radial-gradient(ellipse 50% 70% at 15% 80%, rgba(28,94,132,0.45) 0%, transparent 60%);
}
.hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent); opacity: 0.4;
}
.hero-wave {
  position: absolute; inset: 0; opacity: 0.5;
  background-image: repeating-linear-gradient(115deg, transparent, transparent 70px, rgba(255,255,255,0.02) 70px, rgba(255,255,255,0.02) 71px);
}
.hero .container { position: relative; z-index: 2; }
.hero-tag {
  font-size: 0.7rem; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 26px; display: flex; align-items: center; gap: 12px;
}
.hero-tag::before { content: ""; width: 38px; height: 1px; background: var(--accent); }
.hero h1 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(2.8rem, 6vw, 5.2rem); line-height: 1.08;
  color: var(--white); margin-bottom: 28px; max-width: 880px;
}
.hero h1 em { font-style: italic; color: var(--accent); }
.hero-sub {
  font-size: clamp(0.95rem, 1.3vw, 1.08rem); line-height: 1.75;
  color: rgba(255,255,255,0.6); font-weight: 300; max-width: 540px; margin-bottom: 44px;
}
.hero-cta {
  display: inline-flex; align-items: center; gap: 12px; padding: 14px 34px;
  background: var(--accent); color: var(--white); text-decoration: none;
  font-size: 0.8rem; font-weight: 500; letter-spacing: 0.06em;
  transition: background 0.3s, transform 0.2s;
}
.hero-cta:hover { background: #d05f48; transform: translateY(-1px); }
.hero-cta svg { width: 15px; height: 15px; transition: transform 0.25s; }
.hero-cta:hover svg { transform: translateX(4px); }
.hero-stats { position: absolute; right: clamp(30px, 6vw, 80px); bottom: 84px; display: flex; flex-direction: column; gap: 32px; z-index: 2; }
.hero-stat { text-align: right; }
.hero-stat-num { font-family: var(--serif); font-size: 2.5rem; color: var(--accent); line-height: 1; }
.hero-stat-label { font-size: 0.66rem; color: rgba(255,255,255,0.45); text-transform: uppercase; letter-spacing: 0.1em; margin-top: 6px; }

/* ---- about ---- */
.about { background: var(--white); border-top: 1px solid var(--border); }
.about-layout { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 100px); align-items: center; }
.about-text p { font-size: 0.9rem; line-height: 1.85; color: var(--text-secondary); font-weight: 300; margin-bottom: 18px; }
.about-visual { position: relative; min-height: 440px; background: var(--primary); overflow: hidden; display: flex; align-items: flex-end; padding: 36px; }
.about-visual::before {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(135deg, rgba(226,114,91,0.14) 0%, transparent 55%),
    repeating-linear-gradient(60deg, transparent, transparent 44px, rgba(255,255,255,0.03) 44px, rgba(255,255,255,0.03) 45px);
}
.about-stamp { position: absolute; top: 30px; right: 30px; width: 76px; height: 76px; border: 2px solid var(--accent-soft); display: flex; flex-direction: column; align-items: center; justify-content: center; }
.about-stamp span:first-child { font-size: 0.5rem; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.55); font-weight: 600; }
.about-stamp span:last-child { font-family: var(--serif); font-size: 1.4rem; color: var(--accent); }
.about-quote { position: relative; z-index: 1; font-family: var(--serif); font-size: 1.3rem; line-height: 1.45; color: var(--white); }
.about-quote em { color: var(--accent); font-style: italic; }

/* ---- operations / cards ---- */
.ops { background: var(--bg); border-top: 1px solid var(--border); }
.ops-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--border); margin-top: 48px; }
.ops-card { background: var(--white); padding: clamp(28px, 3vw, 44px); position: relative; transition: background 0.35s; }
.ops-card:hover { background: var(--bg); }
.ops-card::after { content: ""; position: absolute; left: clamp(28px, 3vw, 44px); bottom: 0; width: 26px; height: 2px; background: var(--accent); opacity: 0; transition: opacity 0.3s, width 0.4s; }
.ops-card:hover::after { opacity: 1; width: 46px; }
.ops-icon { width: 42px; height: 42px; color: var(--accent); margin-bottom: 22px; }
.ops-icon svg { width: 100%; height: 100%; }
.ops-card h3 { font-family: var(--serif); font-weight: 400; font-size: 1.25rem; margin-bottom: 12px; }
.ops-card p { font-size: 0.82rem; line-height: 1.75; color: var(--text-secondary); font-weight: 300; }

/* ---- quality (split: practices + params) ---- */
.quality { background: var(--primary); position: relative; overflow: hidden; }
.quality::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse 50% 60% at 85% 25%, rgba(226,114,91,0.08) 0%, transparent 60%); }
.quality .container { position: relative; z-index: 1; }
.quality .section-label { color: rgba(255,255,255,0.5); }
.quality .section-label::before { background: rgba(255,255,255,0.5); }
.quality .section-heading { color: var(--white); }
.quality .section-sub { color: rgba(255,255,255,0.6); }
.quality-layout { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 80px); margin-top: 48px; }
.q-item { padding: 24px 0; border-bottom: 1px solid rgba(255,255,255,0.1); }
.q-item:first-child { border-top: 1px solid rgba(255,255,255,0.1); }
.q-item h4 { font-family: var(--serif); font-weight: 400; font-size: 1.08rem; color: var(--white); margin-bottom: 8px; display: flex; align-items: center; gap: 10px; }
.q-item h4::before { content: ""; width: 8px; height: 8px; background: var(--accent); flex-shrink: 0; }
.q-item p { font-size: 0.82rem; line-height: 1.7; color: rgba(255,255,255,0.55); font-weight: 300; padding-left: 18px; }
.q-params { background: rgba(255,255,255,0.05); padding: clamp(28px, 3vw, 40px); align-self: start; }
.q-params-label { font-size: 0.64rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255,255,255,0.5); margin-bottom: 22px; }
.q-params-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.q-chip { font-size: 0.74rem; color: rgba(255,255,255,0.85); background: rgba(255,255,255,0.08); padding: 7px 13px; }
.q-chip.accent { background: var(--accent); color: var(--white); }

/* ---- stats band ---- */
.stats { background: var(--white); border-top: 1px solid var(--border); }
.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--border); margin-top: 48px; }
.stat-box { background: var(--white); padding: clamp(28px, 3vw, 46px); text-align: center; position: relative; }
.stat-box::after { content: ""; position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); width: 30px; height: 2px; background: var(--accent); opacity: 0; transition: opacity 0.3s; }
.stat-box:hover::after { opacity: 1; }
.stat-num { font-family: var(--serif); font-size: clamp(2rem, 3.4vw, 3rem); color: var(--primary); line-height: 1; }
.stat-num sup { font-size: 0.4em; color: var(--accent); vertical-align: super; }
.stat-label { font-size: 0.7rem; color: var(--text-secondary); text-transform: uppercase; letter-spacing: 0.12em; margin-top: 12px; font-weight: 500; }

/* ---- sustainability ---- */
.sustain { background: var(--bg); border-top: 1px solid var(--border); }
.sustain-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 48px; }
.sustain-item .num { font-family: var(--serif); font-size: 3rem; color: var(--accent-soft); line-height: 1; margin-bottom: 12px; }
.sustain-item h4 { font-family: var(--serif); font-weight: 400; font-size: 1.2rem; margin-bottom: 10px; }
.sustain-item p { font-size: 0.82rem; line-height: 1.75; color: var(--text-secondary); font-weight: 300; }

/* ---- contact ---- */
.contact { background: var(--white); border-top: 1px solid var(--border); }
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--border); margin-top: 48px; }
.contact-card { background: var(--white); padding: clamp(28px, 3vw, 44px); }
.contact-card h4 { font-size: 0.66rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-tertiary); margin-bottom: 16px; }
.contact-card p { font-size: 0.86rem; line-height: 1.7; color: var(--text-primary); }
.contact-card a { color: var(--accent); text-decoration: none; font-weight: 500; }

/* ---- footer ---- */
footer { background: var(--primary); padding: 56px 0 30px; }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 44px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.footer-brand { font-family: var(--serif); font-size: 1.4rem; color: var(--white); margin-bottom: 14px; }
.footer-brand span { color: var(--accent); }
.footer-desc { font-size: 0.82rem; line-height: 1.7; color: rgba(255,255,255,0.45); max-width: 320px; font-weight: 300; }
.footer-col h5 { font-size: 0.66rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255,255,255,0.35); margin-bottom: 18px; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { font-size: 0.82rem; color: rgba(255,255,255,0.55); text-decoration: none; transition: color 0.25s; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom { padding-top: 26px; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.footer-copy { font-size: 0.72rem; color: rgba(255,255,255,0.3); }
.footer-legal { display: flex; gap: 22px; }
.footer-legal a { font-size: 0.72rem; color: rgba(255,255,255,0.3); text-decoration: none; transition: color 0.25s; }
.footer-legal a:hover { color: var(--accent); }

/* ---- responsive ---- */
@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed; inset: 66px 0 auto 0; flex-direction: column; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--border);
    padding: 8px 0; transform: translateY(-120%); transition: transform 0.35s var(--ease);
    height: auto;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 16px clamp(20px, 5vw, 56px); width: 100%; }
  .nav-cta { margin: 8px clamp(20px, 5vw, 56px); text-align: center; }
  .about-layout { grid-template-columns: 1fr; }
  .about-visual { min-height: 300px; }
  .ops-grid { grid-template-columns: 1fr; }
  .quality-layout { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .sustain-row { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 28px; }
  .hero-stats { display: none; }
}
@media (max-width: 600px) {
  .stats-row { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}
