/* =========================================================
   PT KARTIKA DAYA UTAMA — Corporate Landing Page
   Design tokens per WEBSITE DEVELOPMENT BRIEF (Section IX)
   Deep Navy #0F2747 · Gold #C89A2B · Steel Gray #5E6B78 · Off White #F8F9FB
   Montserrat (headline) · Inter (body)
   ========================================================= */

:root {
  --navy: #0F2747;
  --navy-deep: #0A1B33;
  --navy-soft: #17365e;
  --steel: #5E6B78;
  --steel-light: #6B7783;
  --gold: #C89A2B;
  --gold-ink: #8A6A13;
  --gold-light: #E3B94D;
  --gold-soft: rgba(200, 154, 43, .14);
  --offwhite: #F8F9FB;
  --white: #FFFFFF;
  --line: #E3E7EC;

  --font-head: 'Montserrat', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;

  --shadow-sm: 0 2px 10px rgba(15, 39, 71, .06);
  --shadow-md: 0 14px 40px rgba(15, 39, 71, .10);
  --shadow-lg: 0 30px 70px rgba(15, 39, 71, .16);
  --radius: 16px;
  --radius-sm: 10px;
  --container: 1200px;
  --header-h: 84px;

  --ease: cubic-bezier(.22, .61, .36, 1);
}

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

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

body {
  font-family: var(--font-body);
  color: var(--navy);
  background: var(--offwhite);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.no-scroll { overflow: hidden; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

h1, h2, h3, h4, .stat-num, .eyebrow, .btn {
  font-family: var(--font-head);
  letter-spacing: -.01em;
}

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

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 2000;
  background: var(--gold); color: var(--navy); padding: 10px 18px; border-radius: 0 0 8px 0;
  font-family: var(--font-head); font-weight: 600;
}
.skip-link:focus { left: 0; }

a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--gold-light); outline-offset: 2px; border-radius: 3px;
}

/* ---------- Typography helpers ---------- */
.eyebrow {
  font-size: .78rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold-ink); margin-bottom: 14px;
}
.eyebrow-dark { color: var(--gold-ink); }

.h2 {
  font-size: clamp(1.75rem, 3.6vw, 2.7rem);
  line-height: 1.16; font-weight: 700; color: var(--navy);
}
.h2-light { color: var(--white); }

.sub { font-size: 1.06rem; color: var(--steel); margin-top: 14px; }

.lead { font-size: 1.1rem; color: #3d4c5c; }

p { color: var(--steel); }

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 600; font-size: .95rem; letter-spacing: .01em;
  padding: 14px 28px; border-radius: 60px; cursor: pointer;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s var(--ease), color .3s var(--ease);
  white-space: nowrap;
}
.btn-sm { padding: 10px 20px; font-size: .86rem; }
.btn-lg { padding: 16px 34px; font-size: 1rem; }
.btn-block { width: 100%; }

.btn-gold { background: linear-gradient(135deg, var(--gold-light), var(--gold)); color: var(--navy-deep); box-shadow: 0 10px 26px rgba(200, 154, 43, .30); }
.btn-gold:hover { transform: translateY(-3px); box-shadow: 0 18px 38px rgba(200, 154, 43, .42); }

.btn-navy { background: var(--navy); color: var(--white); box-shadow: 0 10px 26px rgba(15, 39, 71, .22); }
.btn-navy:hover { transform: translateY(-3px); background: var(--navy-soft); }

.btn-outline-light { background: rgba(255, 255, 255, .04); color: var(--white); border: 1.5px solid rgba(255, 255, 255, .38); backdrop-filter: blur(6px); }
.btn-outline-light:hover { background: rgba(255, 255, 255, .12); transform: translateY(-3px); border-color: var(--gold); }

/* =========================================================
   HEADER
   ========================================================= */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 1000;
  height: var(--header-h);
  display: flex; align-items: center;
  transition: background .4s var(--ease), box-shadow .4s var(--ease), height .4s var(--ease);
}
.site-header::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(10, 27, 51, .55), rgba(10, 27, 51, 0));
  transition: opacity .4s var(--ease);
}
.site-header.scrolled {
  height: 70px;
  background: rgba(10, 27, 51, .92);
  backdrop-filter: blur(14px);
  box-shadow: 0 10px 30px rgba(5, 15, 30, .35);
}
.site-header.scrolled::before { opacity: 0; }

.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand img { height: 52px; width: auto; transition: height .4s var(--ease); }
.site-header.scrolled .brand img { height: 42px; }

.nav-desktop { display: flex; gap: 30px; }
.nav-desktop a {
  font-family: var(--font-head); font-size: .92rem; font-weight: 500;
  color: rgba(255, 255, 255, .86); position: relative; padding: 6px 0; transition: color .3s var(--ease);
}
.nav-desktop a::after {
  content: ''; position: absolute; left: 0; bottom: 0; height: 2px; width: 0;
  background: var(--gold); transition: width .3s var(--ease);
}
.nav-desktop a:hover, .nav-desktop a.active { color: var(--white); }
.nav-desktop a:hover::after, .nav-desktop a.active::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: 18px; }

.lang-switch { display: flex; align-items: center; gap: 6px; font-family: var(--font-head); font-size: .82rem; font-weight: 600; }
.lang-switch button { color: rgba(255, 255, 255, .55); padding: 4px 2px; transition: color .25s var(--ease); }
.lang-switch button.is-active { color: var(--gold); }
.lang-sep { color: rgba(255, 255, 255, .28); }

.hamburger { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.hamburger span { width: 24px; height: 2px; background: var(--white); border-radius: 2px; transition: transform .3s var(--ease), opacity .3s var(--ease); }
.hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav */
.mobile-nav {
  position: fixed; top: 0; right: 0; z-index: 1200;
  width: min(86vw, 380px); height: 100dvh;
  background: var(--navy-deep);
  padding: 100px 32px 40px;
  transform: translateX(105%); transition: transform .45s var(--ease), visibility .45s var(--ease);
  visibility: hidden;
  display: flex; flex-direction: column; overflow-y: auto;
}
.mobile-nav.open { transform: translateX(0); visibility: visible; }
.mobile-nav a {
  display: block; font-family: var(--font-head); font-size: 1.1rem; font-weight: 600;
  color: var(--white); padding: 15px 0; border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.mobile-nav a:hover { color: var(--gold); }
.mobile-cta { display: flex; flex-direction: column; gap: 12px; margin-top: 28px; }

.nav-backdrop {
  position: fixed; inset: 0; z-index: 1100;
  background: rgba(5, 15, 30, .60); backdrop-filter: blur(3px);
  opacity: 0; visibility: hidden; transition: opacity .4s var(--ease), visibility .4s;
}
.nav-backdrop.show { opacity: 1; visibility: visible; }

/* =========================================================
   1. HERO
   ========================================================= */
.hero {
  position: relative; min-height: 100dvh;
  display: flex; align-items: center;
  padding: calc(var(--header-h) + 40px) 0 60px;
  background:
    radial-gradient(120% 80% at 78% 30%, #1a3c6b 0%, rgba(26, 60, 107, 0) 55%),
    linear-gradient(150deg, var(--navy-deep) 0%, var(--navy) 55%, #123057 100%);
  overflow: hidden;
}
.hero-grid-lines {
  position: absolute; inset: 0; opacity: .5;
  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: 68px 68px;
  mask-image: radial-gradient(90% 70% at 50% 40%, #000 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(90% 70% at 50% 40%, #000 30%, transparent 100%);
}
.hero-glow {
  position: absolute; width: 620px; height: 620px; right: -120px; top: -100px;
  background: radial-gradient(circle, rgba(200, 154, 43, .22), transparent 62%);
  filter: blur(10px); animation: floatGlow 12s ease-in-out infinite;
}
@keyframes floatGlow { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(-40px, 40px); } }

.hero-canvas { position: absolute; right: 0; top: 0; width: 58%; height: 100%; pointer-events: none; }
.hero-canvas canvas { display: block; width: 100% !important; height: 100% !important; }
.hero-canvas.is-interactive { pointer-events: auto; cursor: grab; }
.hero-canvas.is-interactive:active { cursor: grabbing; }

.hero-inner { position: relative; z-index: 2; width: 100%; }

.hero-copy { max-width: 660px; }

.hero-title {
  font-size: clamp(2.3rem, 6vw, 4.3rem);
  line-height: 1.06; font-weight: 800; color: var(--white); letter-spacing: -.02em;
}
.hero-sub {
  margin-top: 22px; font-size: clamp(1.02rem, 1.6vw, 1.22rem);
  color: rgba(255, 255, 255, .90); font-weight: 500; max-width: 560px;
}
.hero-desc { margin-top: 14px; color: rgba(255, 255, 255, .66); max-width: 560px; }

.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

.hero-stats {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px; margin-top: 64px; padding-top: 34px;
  border-top: 1px solid rgba(255, 255, 255, .13);
  max-width: 860px;
}
.stat { display: flex; flex-direction: column; gap: 4px; }
.stat-num { font-size: 2.1rem; font-weight: 700; color: var(--gold); line-height: 1; }
.stat-label { font-size: .84rem; color: rgba(255, 255, 255, .72); }
.stat-promise { border-left: 2px solid var(--gold); padding-left: 16px; }
.stat-promise-tag { font-family: var(--font-head); font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }
.stat-promise-text { font-family: var(--font-head); font-weight: 600; font-size: .96rem; color: var(--white); line-height: 1.35; }

.scroll-cue {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); z-index: 2;
  width: 26px; height: 42px; border: 1.5px solid rgba(255, 255, 255, .4); border-radius: 20px;
  display: flex; justify-content: center; padding-top: 7px;
}
.scroll-cue-line { width: 3px; height: 8px; border-radius: 3px; background: var(--gold); animation: scrollCue 1.8s ease-in-out infinite; }
@keyframes scrollCue { 0%, 100% { transform: translateY(0); opacity: 1; } 50% { transform: translateY(12px); opacity: .2; } }

/* =========================================================
   SECTIONS
   ========================================================= */
.section { padding: 110px 0; position: relative; }
.section-head { max-width: 720px; margin-bottom: 60px; }
.section-head-light .h2, .section-head-light p { color: var(--white); }

/* ---------- 2. ABOUT ---------- */
.about { background: var(--offwhite); }
.about-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 70px; align-items: center; }
.about-copy .btn { margin-top: 30px; }
.about-copy p + p { margin-top: 16px; }

.legal-chips { margin-top: 40px; border-top: 1px solid var(--line); padding-top: 26px; }
.legal-title { font-family: var(--font-head); font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--steel-light); margin-bottom: 14px; }
.legal-chips ul { display: flex; flex-wrap: wrap; gap: 10px; }
.legal-chips li {
  font-size: .8rem; font-weight: 500; color: var(--navy);
  background: var(--white); border: 1px solid var(--line); border-radius: 40px; padding: 8px 16px;
  box-shadow: var(--shadow-sm);
}

.about-visual { display: flex; flex-direction: column; align-items: center; }
.orbit-stage {
  position: relative; width: min(420px, 100%); aspect-ratio: 1;
  perspective: 900px; transform-style: preserve-3d;
}
.orbit-ring {
  position: absolute; inset: 12%; border-radius: 50%;
  border: 1.5px solid rgba(200, 154, 43, .45);
  transform-style: preserve-3d;
}
.orbit-ring-1 { animation: spin3d 16s linear infinite; border-color: rgba(200, 154, 43, .55); }
.orbit-ring-2 { inset: 4%; animation: spin3d 22s linear infinite reverse; border-style: dashed; border-color: rgba(15, 39, 71, .22); }
.orbit-ring-3 { inset: 20%; animation: spin3d 12s linear infinite; border-color: rgba(200, 154, 43, .30); }
@keyframes spin3d {
  0% { transform: rotateX(72deg) rotateZ(0deg); }
  100% { transform: rotateX(72deg) rotateZ(360deg); }
}
.orbit-core {
  position: absolute; inset: 33%; border-radius: 50%;
  display: grid; place-items: center;
  background: radial-gradient(circle at 35% 30%, #ffffff, #eef1f5);
  box-shadow: var(--shadow-lg), inset 0 0 40px rgba(15, 39, 71, .06);
  animation: corePulse 6s ease-in-out infinite;
}
.orbit-core img { width: 62%; }
@keyframes corePulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.045); } }

.orbit-dot { position: absolute; width: 12px; height: 12px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 6px var(--gold-soft); }
.orbit-dot-1 { top: 12%; left: 50%; animation: dotFloat 5s ease-in-out infinite; }
.orbit-dot-2 { bottom: 16%; right: 14%; width: 9px; height: 9px; animation: dotFloat 6.5s ease-in-out infinite reverse; }
@keyframes dotFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-16px); } }

.visual-caption { margin-top: 26px; font-size: .82rem; color: var(--steel-light); text-align: center; max-width: 340px; }

/* ---------- 3. SECTORS ---------- */
.sectors { background: var(--white); }
.sector-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; perspective: 1400px; }
.sector-card {
  position: relative; background: var(--offwhite); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 34px 30px 30px;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .45s var(--ease);
  transform-style: preserve-3d; will-change: transform;
  overflow: hidden;
}
.sector-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease);
}
.sector-card:hover { box-shadow: var(--shadow-lg); border-color: rgba(200, 154, 43, .4); background: var(--white); }
.sector-card:hover::before { transform: scaleX(1); }

.sector-card:nth-child(4) { grid-column: 1 / span 1; }
.sector-grid .sector-card:nth-child(4) { margin-left: 0; }

.badge {
  display: inline-block; font-family: var(--font-head); font-size: .64rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--gold-ink); background: var(--gold-soft); border: 1px solid rgba(200, 154, 43, .35);
  border-radius: 40px; padding: 6px 13px; margin-bottom: 20px;
}
.sector-icon {
  width: 58px; height: 58px; border-radius: 14px; display: grid; place-items: center;
  background: linear-gradient(140deg, var(--navy), var(--navy-soft)); color: var(--gold);
  margin-bottom: 22px; transform: translateZ(34px);
  box-shadow: 0 12px 26px rgba(15, 39, 71, .22);
}
.sector-icon svg { width: 28px; height: 28px; }
.sector-card h3 { font-size: 1.22rem; font-weight: 700; margin-bottom: 12px; transform: translateZ(24px); }
.sector-card p { font-size: .96rem; transform: translateZ(16px); }
.link-more {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 20px;
  font-family: var(--font-head); font-size: .86rem; font-weight: 700; color: var(--navy);
  transition: gap .3s var(--ease), color .3s var(--ease);
}
.link-more:hover { gap: 13px; color: var(--gold-ink); }

/* ---------- 4. WHY ---------- */
.why {
  background:
    radial-gradient(80% 60% at 15% 0%, rgba(200, 154, 43, .12), transparent 60%),
    linear-gradient(160deg, var(--navy-deep), var(--navy) 70%);
  color: var(--white);
}
.why-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.why-card {
  position: relative; padding: 34px 26px;
  background: rgba(255, 255, 255, .045);
  border: 1px solid rgba(255, 255, 255, .1); border-radius: var(--radius);
  backdrop-filter: blur(6px);
  transition: transform .4s var(--ease), background .4s var(--ease), border-color .4s var(--ease);
}
.why-card:hover { transform: translateY(-8px); background: rgba(255, 255, 255, .08); border-color: rgba(200, 154, 43, .5); }
.why-num {
  position: absolute; top: 22px; right: 24px;
  font-family: var(--font-head); font-size: 2.4rem; font-weight: 800;
  color: rgba(255, 255, 255, .07); line-height: 1;
}
.why-icon { width: 52px; height: 52px; border-radius: 13px; display: grid; place-items: center; background: var(--gold-soft); color: var(--gold); margin-bottom: 20px; border: 1px solid rgba(200, 154, 43, .4); }
.why-icon svg { width: 26px; height: 26px; }
.why-card h3 { font-size: 1.1rem; font-weight: 700; color: var(--white); margin-bottom: 10px; }
.why-card p { font-size: .92rem; color: rgba(255, 255, 255, .68); }

/* ---------- 5. APPROACH ---------- */
.approach { background: var(--offwhite); }
.flow {
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px; position: relative; perspective: 1200px;
}
.flow::before {
  content: ''; position: absolute; top: 34px; left: 6%; right: 6%; height: 2px;
  background: linear-gradient(90deg, rgba(200, 154, 43, .15), var(--gold), rgba(200, 154, 43, .15));
}
.flow-step {
  position: relative; background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius-sm); padding: 30px 22px 26px; text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.flow-step:nth-child(2) { transform: translateY(14px); }
.flow-step:nth-child(3) { transform: translateY(28px); }
.flow-step:nth-child(4) { transform: translateY(42px); }
.flow-step:nth-child(5) { transform: translateY(56px); }
.flow-step:hover { transform: translateY(-6px) rotateX(3deg); box-shadow: var(--shadow-lg); }
.flow-dot {
  position: absolute; top: -7px; left: 50%; transform: translateX(-50%);
  width: 14px; height: 14px; border-radius: 50%; background: var(--gold);
  border: 3px solid var(--offwhite); box-shadow: 0 0 0 4px var(--gold-soft);
}
.flow-num { font-family: var(--font-head); font-size: .74rem; font-weight: 700; letter-spacing: .16em; color: var(--gold-ink); }
.flow-step h3 { font-size: 1rem; font-weight: 700; margin: 10px 0 8px; }
.flow-step p { font-size: .86rem; }
.flow-note { margin-top: 96px; font-size: .82rem; color: var(--steel-light); font-style: italic; }

/* ---------- 6. PARTNERSHIP ---------- */
.partnership { background: var(--white); }
.partnership-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 64px; align-items: center; }
.partnership-copy .hero-cta { margin-top: 30px; }
.partner-cards { display: grid; gap: 18px; }
.partner-card {
  display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: start;
  background: var(--offwhite); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 28px; transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
}
.partner-card:hover { transform: translateX(8px); box-shadow: var(--shadow-md); border-color: rgba(200, 154, 43, .45); }
.partner-icon { width: 50px; height: 50px; border-radius: 13px; display: grid; place-items: center; background: linear-gradient(140deg, var(--navy), var(--navy-soft)); color: var(--gold); }
.partner-icon svg { width: 25px; height: 25px; }
.partner-card h3 { font-size: 1.06rem; font-weight: 700; margin-bottom: 6px; }
.partner-card p { font-size: .92rem; }

/* ---------- 7. CLOSING ---------- */
.closing {
  background: linear-gradient(140deg, var(--navy-deep), var(--navy) 60%, #163a68);
  text-align: center; overflow: hidden;
}
.closing-glow {
  position: absolute; left: 50%; top: 50%; width: 700px; height: 700px; transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(200, 154, 43, .20), transparent 60%);
}
.closing-inner { position: relative; z-index: 2; max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 20px; }
.closing-logo { opacity: .95; }
.closing-inner p { color: rgba(255, 255, 255, .72); font-size: 1.05rem; max-width: 640px; }
.closing-inner .btn { margin-top: 10px; }

/* ---------- 8. CONTACT ---------- */
.contact { background: var(--offwhite); }
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; }

.contact-list { margin-top: 36px; display: grid; gap: 26px; }
.contact-list li { display: grid; grid-template-columns: auto 1fr; gap: 18px; }
.ci-icon { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--white); color: var(--gold); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.ci-icon svg { width: 22px; height: 22px; }
.contact-list strong { display: block; font-family: var(--font-head); font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--steel-light); margin-bottom: 6px; }
.contact-list p { font-size: .96rem; color: var(--navy); }
.contact-list a { color: var(--navy); border-bottom: 1px solid rgba(200, 154, 43, .5); transition: color .3s var(--ease); }
.contact-list a:hover { color: var(--gold); }

.contact-form-wrap { background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: 38px; box-shadow: var(--shadow-md); }

.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field label { font-family: var(--font-head); font-size: .78rem; font-weight: 600; letter-spacing: .06em; color: var(--navy); }
.field input, .field select, .field textarea {
  font-family: var(--font-body); font-size: .95rem; color: var(--navy);
  background: var(--offwhite); border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  padding: 13px 15px; width: 100%; transition: border-color .3s var(--ease), box-shadow .3s var(--ease), background .3s var(--ease);
}
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--gold); background: var(--white); box-shadow: 0 0 0 4px var(--gold-soft);
}
.field input:invalid:not(:placeholder-shown), .field textarea:invalid:not(:placeholder-shown) { border-color: #d9534f; }

.form-alt { margin-top: 16px; font-size: .88rem; text-align: center; }
.form-alt a { color: var(--navy); font-weight: 600; border-bottom: 1px solid var(--gold); }
.form-privacy { margin-top: 10px; font-size: .78rem; color: var(--steel-light); text-align: center; }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer { background: var(--navy-deep); color: rgba(255, 255, 255, .7); padding: 74px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1.2fr; gap: 44px; }
.footer-brand img { height: 62px; width: auto; margin-bottom: 18px; }
.footer-tag { font-family: var(--font-head); font-weight: 600; color: var(--gold); font-size: 1.02rem; }
.footer-legal { font-size: .8rem; margin-top: 10px; color: rgba(255, 255, 255, .5); }
.footer-col h4 { font-family: var(--font-head); font-size: .76rem; letter-spacing: .16em; text-transform: uppercase; color: var(--white); margin-bottom: 18px; }
.footer-col a, .footer-col p { display: block; font-size: .9rem; color: rgba(255, 255, 255, .66); padding: 6px 0; transition: color .3s var(--ease); }
.footer-col a:hover { color: var(--gold); }
.footer-bottom { margin-top: 54px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .1); display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer-bottom p { font-size: .78rem; color: rgba(255, 255, 255, .45); max-width: 720px; }
.footer-copy { white-space: nowrap; }

/* =========================================================
   WHATSAPP FLOAT
   ========================================================= */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 900;
  width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center; color: #fff;
  background: linear-gradient(140deg, #34d17a, #1faa5b);
  box-shadow: 0 14px 30px rgba(31, 170, 91, .40);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.wa-float:hover { transform: scale(1.08) translateY(-3px); box-shadow: 0 20px 40px rgba(31, 170, 91, .5); }
.wa-float::before {
  content: ''; position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid rgba(52, 209, 122, .55); animation: waPulse 2.4s ease-out infinite;
}
@keyframes waPulse { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.6); opacity: 0; } }
.wa-float::after {
  content: attr(data-tip); position: absolute; right: 72px; top: 50%; transform: translateY(-50%) translateX(8px);
  background: var(--navy); color: var(--white); font-size: .8rem; padding: 8px 13px; border-radius: 8px;
  white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .3s var(--ease), transform .3s var(--ease);
  box-shadow: var(--shadow-md);
}
.wa-float:hover::after { opacity: 1; transform: translateY(-50%) translateX(0); }

/* =========================================================
   MODALS
   ========================================================= */
.modal { position: fixed; inset: 0; z-index: 1500; display: grid; place-items: center; padding: 20px; opacity: 0; visibility: hidden; transition: opacity .35s var(--ease), visibility .35s; }
.modal.open { opacity: 1; visibility: visible; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(5, 15, 30, .66); backdrop-filter: blur(6px); }
.modal-panel {
  position: relative; z-index: 2; width: min(560px, 100%); max-height: 90dvh; overflow-y: auto;
  background: var(--white); border-radius: 20px; padding: 40px;
  box-shadow: var(--shadow-lg);
  transform: translateY(20px) scale(.97); transition: transform .4s var(--ease);
}
.modal.open .modal-panel { transform: translateY(0) scale(1); }
.modal-close {
  position: absolute; top: 16px; right: 20px; font-size: 1.9rem; line-height: 1; color: var(--steel-light);
  transition: color .3s var(--ease), transform .3s var(--ease);
}
.modal-close:hover { color: var(--navy); transform: rotate(90deg); }
.badge-modal { margin-bottom: 14px; }
.modal-title { font-size: 1.5rem; font-weight: 700; margin-bottom: 12px; }
.modal-desc { font-size: .96rem; margin-bottom: 22px; }
.modal-sub { font-family: var(--font-head); font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--steel-light); margin-bottom: 14px; }
.scope-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 22px; }
.scope-list li { font-size: .88rem; color: var(--navy); background: var(--offwhite); border: 1px solid var(--line); border-radius: 8px; padding: 9px 12px; position: relative; padding-left: 28px; }
.scope-list li::before { content: ''; position: absolute; left: 12px; top: 50%; width: 6px; height: 6px; transform: translateY(-50%) rotate(45deg); background: var(--gold); }
.modal-note { font-size: .78rem; color: var(--steel-light); font-style: italic; margin-bottom: 22px; }

/* =========================================================
   REVEAL ANIMATIONS
   ========================================================= */
.reveal { opacity: 0; translate: 0 30px; transition: opacity .9s var(--ease), translate .9s var(--ease); }
.reveal.revealed { opacity: 1; translate: 0 0; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1080px) {
  .nav-desktop { gap: 20px; }
  .nav-desktop a { font-size: .86rem; }
  .sector-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .why-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .flow::before { display: none; }
  .flow-step:nth-child(n) { transform: translateY(0); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 1180px) {
  .header-cta2 { display: none; }
}

@media (max-width: 900px) {
  .nav-desktop { display: none; }
  .header-actions .btn-gold { display: none; }
  .hamburger { display: flex; }
  .hero-canvas { right: 0; width: 100%; opacity: .55; }
  .about-grid, .partnership-grid, .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-visual { order: -1; }
  .hero-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; }
}

@media (max-width: 620px) {
  .section { padding: 78px 0; }
  .container { padding: 0 20px; }
  .sector-grid, .why-grid, .flow { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .contact-form-wrap { padding: 26px 20px; }
  .modal-panel { padding: 30px 22px; }
  .scope-list { grid-template-columns: 1fr; }
  .hero-title { font-size: clamp(2rem, 9vw, 2.8rem); }
  .hero-cta .btn { width: 100%; }
  .hero-stats { margin-top: 46px; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .footer-bottom { flex-direction: column; }
  .closing-inner .btn { width: 100%; }
}

/* =========================================================
   REDUCED MOTION
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; translate: none; }
  .hero-glow, .orbit-ring, .orbit-core, .orbit-dot, .scroll-cue-line, .wa-float::before { animation: none !important; }
}
