/* ============================================================
   MEREKAH — styles.css
   Palet hangat: cream + terakota + hijau daun
   Font: Plus Jakarta Sans (UI) + Fraunces (display serif)
   ============================================================ */

:root {
  /* Warna */
  --paper:        #FBF7F0;
  --paper-soft:   #F3EADB;
  --paper-card:   #FFFDFA;
  --ink:          #221A12;
  --ink-2:        #3A2F23;
  --muted:        #6E6151;
  --line:         #E7DCC9;

  --brand:        #E2703A;   /* terakota / cahaya */
  --brand-deep:   #C2541F;
  --leaf:         #1C5A45;   /* hijau daun / tumbuh */
  --leaf-deep:    #103D2E;
  --gold:         #EBA417;

  --dark:         #16120C;
  --dark-2:       #1F1810;

  /* Tipografi */
  --f-sans: 'Plus Jakarta Sans', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --f-display: 'Fraunces', Georgia, 'Times New Roman', serif;

  /* Spasi & bentuk */
  --r-sm: 12px;
  --r:    18px;
  --r-lg: 26px;
  --r-xl: 36px;
  --pill: 999px;

  --shadow-sm: 0 2px 8px -3px rgba(34,26,18,.18);
  --shadow:    0 18px 40px -22px rgba(34,26,18,.40);
  --shadow-lg: 0 40px 80px -30px rgba(34,26,18,.45);

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

/* ---------- Reset ---------- */
*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; overflow-x: clip; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--f-sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  overflow-x: clip;
  position: relative;
}

/* Grain hangat */
body::before {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none; z-index: 9999;
  opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

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

/* Ikon Lucide: samakan stroke dengan ikon layanan + helper inline */
svg.lucide { stroke-width: 1.8; }
.ic { display: inline-block; width: 1.05em; height: 1.05em; vertical-align: -0.18em; flex: none; }
.announce .ic { color: var(--gold); }
.pricing__note .ic { color: var(--brand); vertical-align: -0.2em; }

::selection { background: var(--brand); color: #fff; }

:focus-visible { outline: 2.5px solid var(--brand); outline-offset: 3px; border-radius: 4px; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 24px; }
.container--narrow { max-width: 800px; }

.section { padding: clamp(64px, 9vw, 120px) 0; }
.section--alt { background: var(--paper-soft); }
.section--dark { background: var(--dark); color: #F0E9DD; }

.grid { display: grid; gap: 26px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

/* ---------- Tipografi util ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: .82rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--brand-deep);
  margin-bottom: 18px;
}
.eyebrow--center { justify-content: center; }
.eyebrow--light { color: var(--gold); }
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 4px rgba(226,112,58,.18); }

.section__head { max-width: 640px; margin: 0 auto clamp(40px, 5vw, 64px); text-align: center; }
.section__head--row {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 32px;
  max-width: var(--container); text-align: left;
}
.section__head--row .eyebrow { margin-bottom: 12px; }
.section__head--row .section__sub { max-width: 360px; margin: 0; }

.section__title {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: clamp(2rem, 4.2vw, 3.1rem);
  line-height: 1.08;
  letter-spacing: -.015em;
  color: var(--ink);
}
.section__title--light { color: #FBF7F0; }
.section__sub { margin-top: 18px; color: var(--muted); font-size: 1.08rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-weight: 700; font-size: .98rem;
  padding: 13px 22px; border-radius: var(--pill);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s;
  white-space: nowrap;
}
.btn--sm { padding: 9px 18px; font-size: .9rem; }
.btn--lg { padding: 16px 30px; font-size: 1.04rem; }
.btn--block { width: 100%; }

.btn--primary { background: var(--brand); color: #fff; box-shadow: 0 12px 26px -12px rgba(226,112,58,.7); }
.btn--primary:hover { background: var(--brand-deep); transform: translateY(-2px); box-shadow: 0 18px 34px -12px rgba(226,112,58,.8); }

.btn--ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--line); }
.btn--ghost:hover { border-color: var(--ink); transform: translateY(-2px); }
.section--dark .btn--ghost { color: #F0E9DD; border-color: rgba(255,255,255,.25); }

.btn__arr { transition: transform .25s var(--ease); }
.btn:hover .btn__arr { transform: translateX(4px); }

/* ---------- Announcement bar ---------- */
.announce {
  background: var(--leaf); color: #EAF4EF;
  font-size: .9rem;
  transition: margin-top .3s var(--ease);
}
.announce__row { display: flex; align-items: center; justify-content: center; gap: 14px; padding: 9px 24px; position: relative; }
.announce strong { color: var(--gold); }
.announce__close {
  position: absolute; right: 18px; top: 50%; transform: translateY(-50%);
  font-size: 1.3rem; line-height: 1; color: #EAF4EF; opacity: .7;
}
.announce__close:hover { opacity: 1; }
.announce.is-hidden { display: none; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(251,247,240,.82);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s, padding .3s;
}
.header.scrolled { border-bottom-color: var(--line); box-shadow: var(--shadow-sm); }
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 74px; transition: height .3s var(--ease); }
.header.scrolled .header__inner { height: 64px; }

.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 800; }
.brand__mark { display: grid; place-items: center; transition: transform .4s var(--ease); }
.brand:hover .brand__mark { transform: rotate(-8deg) scale(1.05); }
.brand__name { font-size: 1.3rem; letter-spacing: -.02em; }

.nav { display: flex; align-items: center; gap: 6px; }
.nav > a { padding: 9px 14px; font-weight: 600; font-size: .96rem; color: var(--ink-2); border-radius: var(--r-sm); transition: color .2s, background .2s; }
.nav > a:hover { color: var(--brand-deep); background: rgba(226,112,58,.08); }
.nav__cta { margin-left: 10px; }
.nav__cta:hover { background: var(--brand-deep) !important; color: #fff !important; }

/* Link Portal Klien — gaya "login aman", aksen hijau daun */
.nav a.nav__portal {
  display: inline-flex; align-items: center; gap: 6px;
  margin-left: 6px; color: var(--leaf);
  border: 1.5px solid rgba(28,90,69,.32); border-radius: var(--pill);
}
.nav a.nav__portal:hover { background: var(--leaf); color: #fff; border-color: var(--leaf); }
.nav__portal .ic { width: 1em; height: 1em; }

.nav-toggle { display: none; width: 44px; height: 44px; flex-direction: column; justify-content: center; gap: 5px; align-items: center; }
.nav-toggle span { width: 24px; height: 2.5px; background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease), opacity .25s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(48px, 7vw, 88px) 0 clamp(56px, 7vw, 96px); overflow: hidden; }
.hero__glow {
  position: absolute; top: -180px; right: -120px; width: 620px; height: 620px; z-index: 0;
  background: radial-gradient(circle at center, rgba(226,112,58,.22), rgba(235,164,23,.10) 40%, transparent 70%);
  filter: blur(8px);
}
.hero__grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center;
}

.hero__title {
  font-family: var(--f-display); font-weight: 500;
  font-size: clamp(2.5rem, 6vw, 4.4rem); line-height: 1.02; letter-spacing: -.025em;
  margin-bottom: 22px;
}
.hero__title em { font-style: italic; color: var(--leaf); }
.hero__title .hl { position: relative; color: var(--brand); white-space: nowrap; }
.hero__title .hl::after {
  content: ""; position: absolute; left: -2%; right: -2%; bottom: .08em; height: .42em; z-index: -1;
  background: rgba(235,164,23,.28); border-radius: 4px; transform: rotate(-1deg);
}
.hero__lead { font-size: 1.18rem; color: var(--muted); max-width: 540px; margin-bottom: 32px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 36px; }

.hero__trust { display: flex; align-items: center; gap: 14px; }
.hero__trust p { font-size: .95rem; color: var(--muted); }
.hero__trust strong { color: var(--ink); }
.avatars { display: flex; }
.avatars span {
  width: 38px; height: 38px; border-radius: 50%; margin-left: -10px;
  display: grid; place-items: center; color: #fff; font-weight: 700; font-size: .9rem;
  background: var(--c); border: 2.5px solid var(--paper);
}
.avatars span:first-child { margin-left: 0; }

/* Hero visual */
.hero__visual { position: relative; }
.growth-card {
  background: var(--paper-card); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 26px; box-shadow: var(--shadow-lg);
  transform: rotate(1.2deg);
}
.growth-card__head { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 18px; }
.growth-card__label { font-size: .86rem; color: var(--muted); font-weight: 600; }
.growth-card__big { font-family: var(--f-display); font-size: 2.6rem; line-height: 1; color: var(--leaf); font-weight: 600; }
.pill { display: inline-flex; align-items: center; padding: 6px 12px; border-radius: var(--pill); font-size: .8rem; font-weight: 700; }
.pill--up { background: rgba(28,90,69,.12); color: var(--leaf); }
.chart { width: 100%; height: 120px; display: block; }
.chart__line { stroke-dasharray: 460; stroke-dashoffset: 460; }
.in .chart__line { animation: draw 1.8s var(--ease) forwards .3s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.growth-card__foot { display: flex; gap: 16px; margin-top: 14px; }
.mini { font-size: .76rem; color: var(--muted); display: inline-flex; align-items: center; gap: 6px; }
.mini::before { content: ""; width: 9px; height: 9px; border-radius: 3px; background: var(--brand); }
.mini:nth-child(2)::before { background: var(--leaf); }
.mini:nth-child(3)::before { background: var(--gold); }

.float-badge {
  position: absolute; background: var(--paper-card); border: 1px solid var(--line);
  border-radius: var(--r); padding: 12px 16px; box-shadow: var(--shadow);
  display: flex; flex-direction: column; line-height: 1.2;
}
.float-badge strong { font-size: 1.1rem; color: var(--ink); }
.float-badge span { font-size: .74rem; color: var(--muted); }
.float-badge--1 { top: -22px; left: -26px; animation: floaty 5s ease-in-out infinite; }
.float-badge--2 { bottom: -24px; right: -18px; animation: floaty 5s ease-in-out infinite 1.5s; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ---------- Logo marquee ---------- */
.logos { padding: 40px 0 8px; border-bottom: 1px solid var(--line); overflow: hidden; }
.logos__label { text-align: center; font-size: .82rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 24px; }
.marquee { position: relative; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee__track { display: flex; gap: 56px; width: max-content; animation: scroll 32s linear infinite; }
.marquee__track span { display: inline-flex; align-items: center; gap: 13px; font-family: var(--f-display); font-size: 1.3rem; color: var(--ink); opacity: .62; white-space: nowrap; font-weight: 500; }
.marquee__logo { height: 30px; width: auto; flex: none; }
.marquee__logo--tile { width: 30px; height: 30px; object-fit: cover; border-radius: 7px; }
@keyframes scroll { to { transform: translateX(-50%); } }
.marquee:hover .marquee__track { animation-play-state: paused; }

/* ---------- Cards (generic) ---------- */
.card {
  background: var(--paper-card); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 30px; transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: rgba(226,112,58,.4); }

/* ---------- Services ---------- */
.service__icon {
  display: grid; place-items: center; width: 54px; height: 54px; border-radius: 16px;
  background: rgba(226,112,58,.1); color: var(--brand-deep); margin-bottom: 20px;
  transition: background .35s, color .35s, transform .35s var(--ease);
}
.service:hover .service__icon { background: var(--brand); color: #fff; transform: rotate(-6deg); }
.service h3 { font-size: 1.32rem; font-weight: 700; letter-spacing: -.01em; margin-bottom: 10px; }
.service p { color: var(--muted); font-size: 1rem; margin-bottom: 18px; }
.service__list { display: grid; gap: 8px; }
.service__list li { font-size: .92rem; color: var(--ink-2); padding-left: 24px; position: relative; }
.service__list li::before {
  content: ""; position: absolute; left: 0; top: .55em; width: 13px; height: 8px;
  border-left: 2px solid var(--leaf); border-bottom: 2px solid var(--leaf);
  transform: rotate(-45deg) translateY(-2px);
}

/* ---------- Stats ---------- */
.stats { background: var(--leaf); color: #EAF4EF; padding: clamp(48px,6vw,72px) 0; }
.stats__grid { gap: 20px; text-align: center; }
.stat { position: relative; }
.stat:not(:last-child)::after { content: ""; position: absolute; right: -10px; top: 15%; height: 70%; width: 1px; background: rgba(255,255,255,.16); }
.stat__num { display: block; font-family: var(--f-display); font-size: clamp(2.6rem, 5vw, 3.6rem); font-weight: 600; line-height: 1; color: #fff; }
.stat__label { font-size: .96rem; color: rgba(234,244,239,.78); margin-top: 8px; display: block; }

/* ---------- Process / Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px 24px; counter-reset: s; }
.step { position: relative; padding-top: 26px; }
.step::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--brand), transparent); border-radius: 3px; }
.step__no { display: block; font-family: var(--f-display); font-size: 2.3rem; font-weight: 600; line-height: 1; color: var(--brand); }
.step h3 { font-size: 1.28rem; font-weight: 700; margin: 12px 0 8px; letter-spacing: -.01em; }
.step p { color: var(--muted); font-size: 1rem; }

/* ---------- Portfolio ---------- */
.work-card {
  position: relative; min-height: 280px; border-radius: var(--r-lg); overflow: hidden;
  background: linear-gradient(150deg, var(--g1), var(--g2)); color: #fff;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 30px; isolation: isolate;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.work-card::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
  background:
    radial-gradient(circle at 80% 15%, rgba(255,255,255,.25), transparent 45%),
    radial-gradient(circle at 15% 90%, rgba(0,0,0,.25), transparent 50%);
}
.work-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.work-card__tag {
  position: absolute; top: 22px; left: 22px;
  background: rgba(255,255,255,.2); backdrop-filter: blur(6px);
  padding: 6px 13px; border-radius: var(--pill); font-size: .78rem; font-weight: 700; letter-spacing: .02em;
}
.work-card__body h3 { font-family: var(--f-display); font-size: 1.9rem; font-weight: 600; margin-bottom: 6px; }
.work-card__body p { font-size: .98rem; opacity: .88; margin-bottom: 18px; max-width: 90%; }
.work-card__result { display: flex; align-items: baseline; gap: 10px; border-top: 1px solid rgba(255,255,255,.25); padding-top: 16px; }
.work-card__result strong { font-family: var(--f-display); font-size: 2rem; font-weight: 600; }
.work-card__result span { font-size: .9rem; opacity: .85; }
.work-card__link { display: inline-flex; align-items: center; gap: 7px; font-weight: 700; font-size: .95rem; border-top: 1px solid rgba(255,255,255,.25); padding-top: 16px; margin-top: 2px; }
.work-card__link svg { transition: transform .25s var(--ease); }
.work-card:hover .work-card__link svg { transform: translate(3px, -3px); }

/* ---------- Viral reels slider ---------- */
.reels-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 48px 0 22px; }
.reels-title { font-family: var(--f-display); font-weight: 500; font-size: clamp(1.4rem, 3vw, 2rem); letter-spacing: -.01em; }
.reels-nav { display: flex; gap: 8px; flex: none; }
.reels-btn { width: 42px; height: 42px; border-radius: 50%; border: 1.5px solid var(--line); background: var(--paper-card); display: grid; place-items: center; color: var(--ink); transition: background .2s, color .2s, border-color .2s, transform .2s var(--ease); }
.reels-btn:hover { background: var(--brand); color: #fff; border-color: var(--brand); transform: translateY(-2px); }
.reels-btn svg { width: 20px; height: 20px; }

.reels { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding-bottom: 6px; -ms-overflow-style: none; scrollbar-width: none; }
.reels::-webkit-scrollbar { display: none; }
.reel-card { position: relative; flex: 0 0 auto; width: clamp(190px, 58vw, 232px); aspect-ratio: 9 / 16; border-radius: var(--r-lg); overflow: hidden; background-color: var(--leaf-deep); background-size: cover; background-position: center; color: #fff; scroll-snap-align: start; box-shadow: var(--shadow); transition: transform .3s var(--ease); display: block; }
.reel-card:hover { transform: translateY(-5px); }
.reel-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.8) 0%, rgba(0,0,0,.1) 45%, rgba(0,0,0,.32) 100%); }
.reel-badge { position: absolute; top: 12px; left: 12px; z-index: 2; display: inline-flex; align-items: center; gap: 5px; font-size: .72rem; font-weight: 700; padding: 5px 10px; border-radius: var(--pill); background: rgba(0,0,0,.45); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.reel-play { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 2; width: 52px; height: 52px; border-radius: 50%; background: rgba(255,255,255,.92); color: #16120C; display: grid; place-items: center; transition: transform .3s var(--ease); }
.reel-card:hover .reel-play { transform: translate(-50%, -50%) scale(1.12); }
.reel-play svg { width: 22px; height: 22px; margin-left: 2px; }
.reel-info { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 14px; }
.reel-cap { font-size: .82rem; font-weight: 600; line-height: 1.3; margin-bottom: 8px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; text-shadow: 0 1px 6px rgba(0,0,0,.55); }
.reel-stats { display: flex; gap: 12px; font-size: .76rem; font-weight: 700; }
.reel-stats span { display: inline-flex; align-items: center; gap: 4px; }
.reel-card--ig .reel-badge { background: linear-gradient(45deg, #d62976, #962fbf); }

/* ---------- Brand Guideline (GSM) showcase ---------- */
.gsm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.gsm-slide { border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); background: var(--paper-card); box-shadow: var(--shadow-sm); }
.gsm-slide img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; }
.gsm-cap { margin-top: 16px; color: var(--muted); font-size: .96rem; }
.gsm-cap strong { color: var(--ink); font-weight: 700; }
@media (max-width: 640px) { .gsm-grid { grid-template-columns: 1fr; } }

/* ---------- Portofolio lain (slider dokumen, landscape) ---------- */
.reel-shot { flex: 0 0 auto; width: clamp(280px, 82vw, 440px); aspect-ratio: 16 / 9; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); background: var(--paper-card); box-shadow: var(--shadow); scroll-snap-align: start; transition: transform .3s var(--ease); display: block; }
.reel-shot:hover { transform: translateY(-5px); }
.reel-shot img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---------- Klik-to-zoom: trigger + lightbox ---------- */
.zoomable { cursor: zoom-in; padding: 0; }
.gsm-grid .gsm-slide { display: block; width: 100%; }
.lightbox { position: fixed; inset: 0; z-index: 400; display: none; align-items: center; justify-content: center; background: rgba(12,9,5,.93); -webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px); }
.lightbox.is-open { display: flex; }
.lb-stage { position: relative; width: 92vw; height: 86vh; display: flex; align-items: center; justify-content: center; overflow: hidden; cursor: zoom-in; }
.lb-stage.is-zoomed { cursor: grab; }
.lb-img { max-width: 100%; max-height: 100%; object-fit: contain; transform-origin: center center; transition: transform .12s ease-out; user-select: none; -webkit-user-select: none; will-change: transform; }
.lb-stage.is-zoomed .lb-img { transition: none; }
.lb-close { position: absolute; top: 16px; right: 20px; z-index: 2; width: 46px; height: 46px; border-radius: 50%; background: rgba(255,255,255,.14); color: #fff; font-size: 1.9rem; line-height: 1; display: grid; place-items: center; transition: background .2s; }
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 50px; height: 50px; border-radius: 50%; background: rgba(255,255,255,.14); color: #fff; font-size: 2rem; line-height: 1; display: grid; place-items: center; transition: background .2s; }
.lb-close:hover, .lb-nav:hover { background: rgba(255,255,255,.3); }
.lb-prev { left: 16px; }
.lb-next { right: 16px; }
.lb-tools { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); z-index: 2; display: flex; align-items: center; gap: 14px; background: rgba(255,255,255,.14); padding: 7px 16px; border-radius: var(--pill); color: #fff; font-weight: 700; font-size: .9rem; }
.lb-tools button { width: 30px; height: 30px; border-radius: 50%; background: rgba(255,255,255,.18); color: #fff; font-size: 1.25rem; line-height: 1; display: grid; place-items: center; transition: background .2s; }
.lb-tools button:hover { background: rgba(255,255,255,.32); }
.lb-tools span { min-width: 46px; text-align: center; }
@media (max-width: 640px) { .lb-stage { width: 96vw; height: 78vh; } .lb-nav { width: 42px; height: 42px; font-size: 1.6rem; } }

/* ---------- Why / Values ---------- */
.why { align-items: center; gap: 56px; }
.why__lead { color: rgba(240,233,221,.82); font-size: 1.1rem; margin: 18px 0 30px; }
.why__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.value { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); border-radius: var(--r); padding: 24px; transition: background .3s, transform .3s var(--ease); }
.value:hover { background: rgba(255,255,255,.07); transform: translateY(-4px); }
.value__icon { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: rgba(235,164,23,.14); color: var(--gold); margin-bottom: 14px; }
.value__icon svg { width: 24px; height: 24px; }
.value h3 { font-size: 1.12rem; font-weight: 700; margin-bottom: 6px; color: #fff; }
.value p { font-size: .94rem; color: rgba(240,233,221,.72); }

/* ---------- Testimonials ---------- */
.quote { background: var(--paper-card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 30px; transition: transform .35s var(--ease), box-shadow .35s; }
.quote:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.quote__stars { color: var(--gold); letter-spacing: 2px; margin-bottom: 14px; font-size: 1rem; }
.quote blockquote { font-size: 1.08rem; color: var(--ink-2); line-height: 1.6; margin-bottom: 22px; }
.quote figcaption { display: flex; align-items: center; gap: 12px; }
.quote__av { width: 44px; height: 44px; border-radius: 50%; background: var(--c); color: #fff; display: grid; place-items: center; font-weight: 700; }
.quote figcaption span:last-child { display: flex; flex-direction: column; font-size: .9rem; color: var(--muted); }
.quote figcaption strong { color: var(--ink); font-size: .98rem; }

/* ---------- Pricing ---------- */
.pricing { align-items: stretch; }
.price-card {
  position: relative; background: var(--paper-card); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 32px; display: flex; flex-direction: column;
  transition: transform .35s var(--ease), box-shadow .35s;
}
.price-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.price-card--featured { border: 2px solid var(--brand); box-shadow: var(--shadow); transform: scale(1.03); }
.price-card--featured:hover { transform: scale(1.03) translateY(-6px); }
.price-card__badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--brand); color: #fff; font-size: .76rem; font-weight: 700; padding: 6px 16px; border-radius: var(--pill); letter-spacing: .03em; box-shadow: 0 8px 16px -6px rgba(226,112,58,.6); }
.price-card__seed { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 15px; background: rgba(28,90,69,.1); color: var(--leaf); }
.price-card__seed svg { width: 26px; height: 26px; }
.price-card--featured .price-card__seed { background: rgba(226,112,58,.12); color: var(--brand-deep); }
.price-card__head h3 { font-family: var(--f-display); font-size: 1.7rem; font-weight: 600; margin: 8px 0 6px; }
.price-card__head p { color: var(--muted); font-size: .95rem; min-height: 42px; }
.price-card__price { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; margin: 18px 0; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.price-card__from { font-size: .8rem; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; font-weight: 700; width: 100%; }
.price-card__amt { font-family: var(--f-display); font-size: 2.3rem; font-weight: 600; color: var(--ink); line-height: 1; }
.price-card__per { color: var(--muted); font-size: .95rem; }
.price-card__list { display: grid; gap: 12px; margin-bottom: 26px; flex: 1; }
.price-card__list li { padding-left: 28px; position: relative; font-size: .96rem; color: var(--ink-2); }
.price-card__list li::before { content: ""; position: absolute; left: 0; top: .15em; width: 18px; height: 18px; border-radius: 50%; background: rgba(28,90,69,.12); }
.price-card__list li::after { content: ""; position: absolute; left: 6px; top: .5em; width: 7px; height: 4px; border-left: 2px solid var(--leaf); border-bottom: 2px solid var(--leaf); transform: rotate(-45deg); }
.pricing__note { text-align: center; margin-top: 32px; color: var(--muted); }
.pricing__note a { color: var(--brand-deep); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Pricing tabs (rate card) ---------- */
.ptabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 14px; }
.ptab { padding: 10px 20px; border-radius: var(--pill); font-weight: 700; font-size: .95rem; color: var(--ink-2); background: var(--paper-card); border: 1.5px solid var(--line); transition: background .2s, color .2s, border-color .2s, transform .2s var(--ease); }
.ptab:hover { border-color: var(--brand); color: var(--brand-deep); transform: translateY(-1px); }
.ptab.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }
.ppanel { animation: panelIn .4s var(--ease); }
.ppanel[hidden] { display: none; }
.ppanel__tag { text-align: center; font-size: .88rem; color: var(--muted); margin-bottom: 26px; font-weight: 600; }
@keyframes panelIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.pricing__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 30px; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 14px; }
.faq__item { background: var(--paper-card); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; transition: border-color .25s; }
.faq__item[open] { border-color: var(--brand); }
.faq__item summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; font-weight: 700; font-size: 1.06rem; list-style: none; cursor: pointer; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; font-size: 1.5rem; color: var(--brand); font-weight: 400; transition: transform .3s var(--ease); line-height: 1; }
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__body { padding: 0 24px 22px; color: var(--muted); }

/* ---------- Contact ---------- */
.contact { background: var(--paper); }
.contact__panel { display: grid; grid-template-columns: .9fr 1.1fr; background: var(--dark); border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow-lg); }
.contact__intro { padding: clamp(36px, 5vw, 56px); color: #F0E9DD; }
.contact__intro > p { color: rgba(240,233,221,.78); margin: 16px 0 28px; }
.contact__info { display: grid; gap: 14px; margin-bottom: 26px; }
.contact__info li { display: flex; align-items: center; gap: 12px; color: rgba(240,233,221,.9); font-size: .98rem; }
.contact__ic { display: inline-grid; place-items: center; width: 22px; color: var(--gold); flex: none; }
.contact__ic svg { width: 20px; height: 20px; }
.contact__socials { display: flex; gap: 10px; }
.contact__socials a { padding: 8px 16px; border: 1px solid rgba(255,255,255,.2); border-radius: var(--pill); font-size: .88rem; font-weight: 600; transition: background .25s, border-color .25s; }
.contact__socials a:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.4); }

.contact__form { background: var(--paper-card); padding: clamp(32px, 4vw, 48px); display: grid; gap: 18px; }
.field { display: grid; gap: 7px; }
.field label { font-size: .9rem; font-weight: 700; color: var(--ink-2); }
.field input, .field select, .field textarea {
  font: inherit; font-size: .98rem; padding: 13px 16px; border: 1.5px solid var(--line); border-radius: var(--r-sm);
  background: var(--paper); color: var(--ink); transition: border-color .2s, box-shadow .2s; width: 100%;
}
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(226,112,58,.14); }
.field input.invalid, .field select.invalid { border-color: #cc3b3b; box-shadow: 0 0 0 4px rgba(204,59,59,.12); }
.contact__hint { font-size: .82rem; color: var(--muted); text-align: center; }
.contact__success { background: rgba(28,90,69,.12); color: var(--leaf); border: 1px solid rgba(28,90,69,.3); border-radius: var(--r-sm); padding: 14px 16px; font-weight: 600; font-size: .95rem; text-align: center; }

/* ---------- Footer ---------- */
.footer { background: var(--dark-2); color: #C9BEAE; padding: clamp(48px,6vw,72px) 0 28px; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: 36px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer .brand__name { color: #FBF7F0; }
.footer__brand p { margin-top: 16px; font-size: .95rem; color: #9A8E7C; max-width: 320px; }
.footer__col h4 { color: #FBF7F0; font-size: .95rem; margin-bottom: 16px; letter-spacing: .02em; }
.footer__col a { display: block; padding: 5px 0; font-size: .94rem; color: #9A8E7C; transition: color .2s, padding-left .2s; }
.footer__col a:hover { color: var(--brand); padding-left: 4px; }
.footer__news p { color: #9A8E7C; font-size: .94rem; margin-bottom: 14px; }
.news { display: flex; gap: 8px; }
.news input { flex: 1; font: inherit; font-size: .92rem; padding: 11px 14px; border-radius: var(--r-sm); border: 1px solid rgba(255,255,255,.16); background: rgba(255,255,255,.05); color: #FBF7F0; }
.news input::placeholder { color: #7d7363; }
.news input:focus { outline: none; border-color: var(--brand); }
.footer__bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 26px; font-size: .88rem; color: #8a7f6e; }
.footer__bismillah { font-family: var(--f-display); color: var(--gold); opacity: .9; }

/* ---------- AI chat widget (Gemini) ---------- */
.chat-fab {
  position: fixed; bottom: 24px; right: 24px; z-index: 200;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--brand); color: #fff; display: grid; place-items: center;
  box-shadow: 0 14px 30px -8px rgba(226,112,58,.6);
  transition: transform .3s var(--ease), background .3s;
  animation: pop 4s ease-in-out infinite;
}
.chat-fab:hover { transform: scale(1.08); background: var(--brand-deep); }
.chat-fab svg { width: 22px; height: 22px; }
@keyframes pop { 0%,92%,100% { transform: scale(1); } 96% { transform: scale(1.08); } }
.chat-fab__open, .chat-fab__close { grid-area: 1 / 1; }
.chat-fab__close { display: none; }
.chat-widget.open .chat-fab__open { display: none; }
.chat-widget.open .chat-fab__close { display: block; }
.chat-widget.open .chat-fab { animation: none; background: var(--brand-deep); }

.chat-pop {
  position: fixed; right: 24px; bottom: 84px; z-index: 201;
  width: min(372px, calc(100vw - 32px)); height: min(520px, calc(100vh - 130px));
  display: flex; flex-direction: column;
  background: var(--paper-card); border-radius: 20px; overflow: hidden;
  box-shadow: var(--shadow-lg); transform-origin: bottom right;
  animation: chatPop .26s var(--ease);
}
.chat-pop[hidden] { display: none; }
@keyframes chatPop { from { opacity: 0; transform: translateY(14px) scale(.95); } to { opacity: 1; transform: none; } }
.chat-head { display: flex; align-items: center; gap: 11px; padding: 13px 15px; background: var(--leaf); color: #fff; flex: none; }
.chat-av { display: grid; place-items: center; flex: none; }
.chat-id { display: flex; flex-direction: column; line-height: 1.25; flex: 1; min-width: 0; }
.chat-id strong { font-size: 1rem; }
.chat-status { font-size: .75rem; color: rgba(255,255,255,.82); display: inline-flex; align-items: center; gap: 5px; }
.chat-dot { width: 7px; height: 7px; border-radius: 50%; background: #4ade80; display: inline-block; animation: chatPulse 2s infinite; }
@keyframes chatPulse { 0% { box-shadow: 0 0 0 0 rgba(74,222,128,.5); } 70% { box-shadow: 0 0 0 6px rgba(74,222,128,0); } 100% { box-shadow: 0 0 0 0 rgba(74,222,128,0); } }
.chat-close { color: #fff; font-size: 1.5rem; line-height: 1; opacity: .85; flex: none; padding: 0 2px; }
.chat-close:hover { opacity: 1; }
.chat-body { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; background: var(--paper-soft); }
.chat-msg { max-width: 84%; padding: 10px 13px; font-size: .92rem; line-height: 1.46; border-radius: 14px; white-space: pre-wrap; overflow-wrap: anywhere; }
.chat-msg--bot { align-self: flex-start; background: var(--paper-card); color: var(--ink-2); border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.chat-msg--user { align-self: flex-end; background: var(--brand); color: #fff; border-bottom-right-radius: 4px; }
.chat-typing { align-self: flex-start; display: inline-flex; gap: 4px; padding: 13px 14px; background: var(--paper-card); border: 1px solid var(--line); border-radius: 14px; }
.chat-typing span { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); animation: chatBlink 1.2s infinite both; }
.chat-typing span:nth-child(2) { animation-delay: .2s; }
.chat-typing span:nth-child(3) { animation-delay: .4s; }
@keyframes chatBlink { 0%,80%,100% { opacity: .3; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }
.chat-input { display: flex; gap: 8px; padding: 10px; border-top: 1px solid var(--line); background: var(--paper-card); flex: none; }
.chat-input input { flex: 1; min-width: 0; font: inherit; font-size: .95rem; padding: 10px 14px; border: 1.5px solid var(--line); border-radius: var(--pill); background: var(--paper); color: var(--ink); }
.chat-input input:focus { outline: none; border-color: var(--brand); }
.chat-send { flex: none; width: 42px; height: 42px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; transition: background .2s; }
.chat-send:hover { background: var(--brand-deep); }
.chat-send:disabled { opacity: .45; }
.chat-foot { font-size: .68rem; color: var(--muted); text-align: center; padding: 6px 8px; background: var(--paper-card); flex: none; }
@media (max-width: 540px) { .chat-pop { right: 12px; bottom: 86px; width: calc(100vw - 24px); height: min(72vh, 480px); } }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal:nth-child(2) { transition-delay: .08s; }
.reveal:nth-child(3) { transition-delay: .16s; }
.reveal:nth-child(4) { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee__track, .float-badge, .chat-fab, .chat-dot, .chart__line { animation: none !important; }
  .chart__line { stroke-dashoffset: 0; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 980px) {
  .hero__grid { grid-template-columns: 1fr; gap: 64px; }
  .hero__visual { max-width: 460px; margin-inline: auto; }
  .why { grid-template-columns: 1fr; }
  .contact__panel { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__news { grid-column: 1 / -1; }
}

@media (max-width: 860px) {
  /* backdrop-filter on the header would make it the containing block for the
     fixed drawer below — disable it on mobile so the drawer is viewport-fixed. */
  .header { background: var(--paper); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .header.scrolled { background: var(--paper); }

  .nav {
    position: fixed; inset: 0 0 0 auto; width: min(82vw, 340px);
    flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 4px;
    background: var(--paper); padding: 96px 24px 32px;
    box-shadow: -20px 0 60px -20px rgba(0,0,0,.3);
    transform: translateX(100%); transition: transform .35s var(--ease);
    z-index: 99;
  }
  .nav.open { transform: translateX(0); }
  .nav > a { padding: 14px 16px; font-size: 1.05rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav__cta { margin: 18px 0 0; text-align: center; border-bottom: none !important; }
  .nav-toggle { display: flex; z-index: 100; }
  body.nav-open { overflow: hidden; }
  body.nav-open::after { content: ""; position: fixed; inset: 0; background: rgba(20,16,12,.4); z-index: 98; }

  .grid--3, .grid--4, .grid--2 { grid-template-columns: 1fr; }
  .stats__grid { grid-template-columns: 1fr 1fr; gap: 32px 20px; }
  .stat:nth-child(2)::after { display: none; }
  .steps { grid-template-columns: 1fr 1fr; gap: 28px; }
  .section__head--row { flex-direction: column; align-items: flex-start; }
  .why__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 540px) {
  body { font-size: 16px; }
  .container { padding-inline: 18px; }
  .announce p { font-size: .8rem; padding-right: 28px; }
  .hero__actions .btn { width: 100%; }
  .steps, .stats__grid, .why__grid, .footer__grid { grid-template-columns: 1fr; }
  .stat:not(:last-child)::after { display: none; }
  .price-card--featured { transform: none; }
  .price-card--featured:hover { transform: translateY(-6px); }
  .float-badge--1 { left: -8px; top: -16px; }
  .float-badge--2 { right: -4px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
}
