/*
Theme Name: Acetalent
Description: Custom Theme for Acetalent with OpenFields
Author: Acetalent
Version: 1.0.3
*/

/* ─── PREMIUM CSS VARIABLES & GLOBALS ─── */
:root {
  --navy: #102b3b;
  --navy-deep: #0a202d;
  --navy-soft: #1b3b4b;
  --cream: #f7f4ee;
  --paper: #fffdf8;
  --ink: #172e3a;
  --muted: #697880;
  --line: rgba(16,43,59,.14);
  --gold: #d6b88a;
  --gold-deep: #b99767;
  --sans: "DM Sans", Arial, sans-serif;
  --display: "Manrope", "DM Sans", sans-serif;
  --container: 1200px;
  --gold-light: #e2c79f;
  --gold-pale: #f7f4ee;
  --teal: #2ABCAD;
  --teal-dark: #1E9082;
  --white: #FFFFFF;
  --text-dark: #172e3a;
  --text-mid: #697880;
  --text-light: #89969a;
  --border: rgba(16,43,59,.14);
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 4px 24px rgba(16,43,59,0.08);
  --shadow-md: 0 8px 40px rgba(16,43,59,0.13);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; max-width: 100%; overflow-x: clip; }
body {
  margin: 0; width: 100%; max-width: 100%; overflow-x: clip;
  font-family: var(--sans); color: var(--ink); background: var(--paper);
  -webkit-font-smoothing: antialiased; font-size: 14px; line-height: 1.6;
}
body.menu-open { overflow: hidden; touch-action: none; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; cursor: pointer; }
button, input, textarea, select { font: inherit; }
.container { width: min(var(--container), calc(100% - 40px)); margin-inline: auto; }
.section-pad { padding: 80px 0; }
.section-shell { position: relative; isolation: isolate; }
.lucide { width: 1em; height: 1em; vertical-align: middle; flex-shrink: 0; }

h1, h2, h3, h4, h5 { font-family: 'Syne', var(--display); line-height: 1.15; }

/* ─── HEADER & NAV ─── */
.announcement { position: relative; z-index: 40; background: var(--navy-deep); color: rgba(255,255,255,.78); font-size: 10px; letter-spacing: .025em; }
.announcement__inner { min-height: 34px; display: flex; align-items: center; gap: 10px; }
.announcement p { margin: 0; flex: 1; }
.announcement__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
.announcement a { color: #fff; display: inline-flex; align-items: center; gap: 7px; font-weight: 700; cursor: pointer; }

.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,253,248,.95); border-bottom: 1px solid rgba(16,43,59,.08); backdrop-filter: blur(16px); }
.header__inner { height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; cursor: pointer; }
.brand__mark { 
  width: 36px; height: 36px; 
  aspect-ratio: 1/1; object-fit: contain; 
}

/* Invert warna logo putih menjadi gelap di background terang */
.site-header .brand__mark,
.mobile-menu .brand__mark {
  filter: invert(1);
}

.brand__text { display: flex; flex-direction: column; gap: 2px; }
.brand__text strong { font: 800 13px/1 var(--display); letter-spacing: .13em; color: var(--navy); }
.brand__text small { font-size: 7px; line-height: 1.2; font-weight: 700; letter-spacing: .12em; color: #75828a; }

.desktop-nav { display: flex; align-items: center; gap: clamp(14px,2vw,28px); margin-left: auto; }
.desktop-nav a { font-size: 12px; color: #3c505b; font-weight: 600; transition: color .2s; cursor: pointer; }
.desktop-nav a:hover, .desktop-nav a.active { color: var(--gold-deep); }
.button--nav { display: inline-flex; align-items: center; justify-content: center; min-height: 38px; background: var(--navy); color: #fff; padding: 0 16px; font-size: 11px; font-weight: 700; transition: background .25s, transform .25s; cursor: pointer; border-radius: 4px; border: none;}
.button--nav:hover { background: var(--navy-soft); transform: translateY(-2px); }
.menu-toggle, .menu-close { display: none; }

/* ─── MOBILE MENU ─── */
.mobile-backdrop { position: fixed; z-index: 998; inset: 0; background: rgba(5,18,26,.55); opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .3s, visibility .3s; }
.mobile-menu { position: fixed; z-index: 999; top: 0; right: 0; bottom: 0; width: min(420px, 88vw); max-width: 100%; display: flex; flex-direction: column; padding: 24px clamp(20px,5vw,32px); background: var(--paper); transform: translate3d(105%,0,0); visibility: hidden; transition: transform .38s cubic-bezier(.22,.75,.25,1), visibility .38s; box-shadow: -20px 0 60px rgba(0,0,0,.12); overflow-y: auto; overscroll-behavior: contain; }
body.menu-open .mobile-menu { transform: translate3d(0,0,0); visibility: visible; }
body.menu-open .mobile-backdrop { opacity: 1; visibility: visible; pointer-events: auto; }
.mobile-menu__top { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding-bottom: 30px; border-bottom: 1px solid var(--line); }
.menu-close { display: grid; place-items: center; flex: 0 0 36px; width: 36px; height: 36px; border: 1px solid var(--line); background: transparent; color: var(--navy); font-size: 18px; cursor: pointer; border-radius: 6px; }
.mobile-menu__nav { display: flex; flex-direction: column; margin-top: 16px;}
.mobile-menu__nav a { display: flex; align-items: center; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line); color: var(--navy); font: 700 18px/1.2 var(--display); cursor: pointer;}
.mobile-menu__nav a>span { color: var(--gold-deep); font: 700 11px var(--sans); }

/* ─── PREMIUM HERO ─── */
.hero-premium { min-height: clamp(520px,45vw,680px); color: #fff; background: var(--navy-deep); overflow: hidden; position: relative; }
.hero-premium__image { position: absolute; inset: 0; z-index: 0; background-position: center 43%; background-size: cover; transform: scale(1.015); }
.hero-premium__shade { position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(8,28,40,.94) 0%, rgba(8,28,40,.83) 42%, rgba(8,28,40,.3) 75%, rgba(8,28,40,.2) 100%), linear-gradient(0deg, rgba(8,28,40,.55), transparent 45%); }
.hero-premium__content { position: relative; z-index: 2; min-height: inherit; display: flex; align-items: center; padding-top: 60px; padding-bottom: 80px; }
.hero-premium__copy { width: min(600px,80%); }
.hero-premium h1 { margin: 20px 0 16px; font: 800 clamp(38px,5vw,68px)/1.05 var(--display); letter-spacing: -.065em; color: white; }
.hero-premium h1 em { color: var(--gold); font-family: Georgia, serif; font-weight: 400; letter-spacing: -.04em; }
.hero-premium__lead { max-width: 480px; margin: 0; color: rgba(255,255,255,.75); font-size: 14px; line-height: 1.7; }
.hero-premium__actions { display: flex; align-items: center; flex-wrap: wrap; gap: 16px; margin-top: 28px; }
.button--accent { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 20px; background: var(--gold); color: var(--navy-deep); font-size: 13px; font-weight: 700; transition: all .25s; cursor: pointer; border-radius: 4px; border: none; }
.button--accent:hover { background: #e2c79f; transform: translateY(-2px); }
.text-link--light { display: inline-flex; align-items: center; gap: 10px; padding-bottom: 4px; border-bottom: 1px solid rgba(255,255,255,.35); font-size: 13px; font-weight: 700; transition: gap .2s, color .2s; color: #fff; cursor: pointer; }
.text-link--light:hover { gap: 14px; color: var(--gold-deep); }
.hero-premium__side-note { position: absolute; right: 30px; bottom: 120px; display: flex; gap: 10px; align-items: flex-start; color: rgba(255,255,255,.75); font: italic 14px/1.5 Georgia, serif; }
.side-note__line { display: block; width: 24px; height: 1px; margin-top: 10px; background: var(--gold); }

/* ─── SECTIONS & SOLUTIONS ─── */
section { padding: 80px 20px; }
.section-label { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.12em; color: var(--gold-deep); margin-bottom: 12px; }
.section-title { font-family: 'Syne', var(--display); font-size: clamp(24px, 2.5vw, 36px); font-weight: 800; color: var(--navy); margin-bottom: 14px; line-height: 1.15; }
.section-sub { font-size: 14px; color: var(--muted); max-width: 540px; line-height: 1.6; font-weight: 400; }

.services-section { background: var(--paper); }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin-top: 40px; }
.service-card { background: var(--cream); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px 24px; transition: all 0.3s; cursor: pointer; position: relative; overflow: hidden; }
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }
.service-icon { width: 44px; height: 44px; border-radius: 12px; background: var(--navy); color: var(--gold); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; font-size: 18px; }
.service-card h3 { font-size: 16px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.service-card p { font-size: 13px; color: var(--muted); line-height: 1.5; }

.solution-finder-section { background: linear-gradient(135deg, var(--cream) 0%, #ede6d9 100%); padding: 80px 20px; position: relative; overflow: hidden; }
.solution-shell { max-width: var(--container); margin: 0 auto; display: grid; grid-template-columns: 1fr 1.3fr; gap: 40px; align-items: start; position: relative; z-index: 1; }
.solution-tabs { display: flex; flex-direction: column; gap: 10px; margin-top: 24px; }
.solution-tab { width: 100%; text-align: left; border: 1px solid var(--border); background: var(--white); border-radius: 12px; padding: 14px 16px; font-family: var(--sans); cursor: pointer; transition: all .25s ease; display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.solution-tab strong { color: var(--navy); font-size: 14px; display: block; margin-bottom: 4px; }
.solution-tab span { color: var(--muted); font-size: 12px; display: block; line-height: 1.4; }
.solution-tab:hover { transform: translateX(4px); border-color: rgba(16,43,59,.22); box-shadow: var(--shadow); }
.solution-tab.active { background: var(--navy); border-color: var(--navy); transform: translateX(6px); }
.solution-tab.active strong { color: var(--white); }
.solution-tab.active span { color: rgba(255,255,255,.62); }
.solution-tab .arrow { color: var(--gold); font-weight: 800; transition: transform .25s ease; font-size: 14px; }
.solution-tab.active .arrow { transform: translateX(3px); }
.solution-card { background: var(--white); border: 1px solid var(--border); border-radius: 20px; padding: 30px; box-shadow: var(--shadow-md); min-height: 420px; transition: transform .28s ease, opacity .28s ease; }
.solution-card.is-changing { opacity: .35; transform: translateY(10px) scale(.985); }
.solution-badge { display: inline-flex; padding: 6px 12px; border-radius: 999px; background: rgba(214,184,138,.16); color: var(--gold-deep); font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 14px; }
.solution-card h3 { font-size: clamp(20px,2vw,30px); color: var(--navy); margin-bottom: 10px; }
.solution-lead { color: var(--muted); font-size: 14px; line-height: 1.6; margin-bottom: 24px; }
.solution-matrix { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; margin: 24px 0; }
.solution-metric { background: var(--cream); border: 1px solid var(--border); border-radius: 12px; padding: 14px; }
.solution-metric strong { display:block; font-family:'Syne',sans-serif; font-size: 20px; color: var(--navy); margin-bottom: 2px; }
.solution-metric span { font-size: 11px; color: var(--text-light); line-height: 1.4; }
.solution-list { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; margin: 20px 0 24px; }
.solution-list div { display:flex; gap: 8px; align-items:flex-start; color: var(--muted); font-size: 13px; line-height:1.5; }
.solution-list i { color: var(--teal-dark); margin-top: 3px; font-size: 14px; }
.solution-actions { display:flex; flex-wrap:wrap; gap: 10px; }

/* ─── QUICK CTA ─── */
.quick-cta { position: fixed; right: 20px; bottom: 20px; z-index: 900; display: flex; flex-direction: column; gap: 8px; }
.quick-cta button { border: none; border-radius: 999px; padding: 12px 16px; font-family: var(--sans); font-weight: 800; font-size: 12px; cursor: pointer; box-shadow: 0 8px 24px rgba(16,43,59,.18); transition: all .2s; }
.quick-cta .whatsapp { background: #22c55e; color: white; }
.quick-cta button:hover { transform: translateY(-3px); }

/* ─── RESPONSIVE ─── */
@media (max-width: 820px) {
  .desktop-nav, .button--nav { display: none; }
  .header__inner { height: 68px; }
  .menu-toggle { display: flex; width: 40px; height: 40px; align-items: center; justify-content: center; flex-direction: column; gap: 5px; border: 1px solid var(--line); background: transparent; color: var(--navy); cursor: pointer; border-radius: 6px;}
  .menu-toggle span { display: block; width: 16px; height: 2px; background: currentColor; transition: transform .25s; }
  .menu-close { display: grid; }
  .solution-shell { grid-template-columns: 1fr; gap: 30px; }
}
@media (max-width: 560px) {
  .hero-premium h1 { font-size: clamp(32px, 8vw, 48px); }
  .solution-matrix { grid-template-columns: 1fr; }
  .solution-list { grid-template-columns: 1fr; }
}