/* ===================================================================
   Wartek Duren Sawit — Main Stylesheet
   Design philosophy: Kampung Digital Duren Sawit. Keep the reference
   selector structure familiar while using asymmetric route-led layouts,
   leaf green, sun yellow, terracotta, cream, and clear local copy.
   =================================================================== */

:root {
    --primary-dark: #123047;
    --primary: #0f6b55;
    --primary-light: #14b8a6;
    --accent-green: #15803d;
    --accent-green-dark: #166534;
    --sun: #f6cf58;
    --terracotta: #e36b3f;
    --terracotta-dark: #b84d2b;
    --white: #ffffff;
    --cream: #fffdf9;
    --gray-50: #f5faf5;
    --gray-100: #e7f2eb;
    --gray-200: #d6e5dc;
    --gray-300: #b7cfc3;
    --gray-400: #94aa9f;
    --gray-500: #6b7e76;
    --gray-600: #50655d;
    --gray-700: #30453e;
    --gray-800: #1c302b;
    --gray-900: #102a2a;
    --shadow-sm: 0 1px 2px 0 rgb(22 78 67 / 0.08);
    --shadow: 0 1px 3px 0 rgb(22 78 67 / 0.1), 0 1px 2px -1px rgb(22 78 67 / 0.08);
    --shadow-md: 0 8px 16px -5px rgb(22 78 67 / 0.16), 0 3px 6px -3px rgb(22 78 67 / 0.1);
    --shadow-lg: 0 16px 28px -10px rgb(22 78 67 / 0.2), 0 7px 12px -8px rgb(22 78 67 / 0.12);
    --shadow-xl: 0 28px 42px -16px rgb(18 48 71 / 0.32), 0 12px 18px -8px rgb(22 78 67 / 0.14);
    --radius-sm: 0.5rem;
    --radius: 0.8rem;
    --radius-md: 1.15rem;
    --radius-lg: 1.6rem;
    --transition: all 0.22s cubic-bezier(0.23, 1, 0.32, 1);
    --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; font-size: 16px; line-height: 1.6; color: var(--gray-700); background: var(--cream); overflow-x: hidden; }
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--primary-dark); }
button, a { cursor: pointer; }
button:focus-visible, a:focus-visible, summary:focus-visible { outline: 3px solid var(--sun); outline-offset: 4px; }

h1, h2, h3, h4, h5, h6 { color: var(--gray-900); font-family: 'DM Sans', 'Plus Jakarta Sans', sans-serif; font-weight: 800; line-height: 1.12; }
h1 { font-size: clamp(2.25rem, 4.8vw, 4.1rem); margin-bottom: 1rem; letter-spacing: -0.045em; }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.65rem); margin-bottom: 0.875rem; letter-spacing: -0.035em; }
h3 { font-size: clamp(1.15rem, 2.2vw, 1.4rem); margin-bottom: 0.65rem; letter-spacing: -0.02em; }
p { margin-bottom: 1rem; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 1.25rem; }
.section { padding: 5.5rem 0; }
.section-alt { background: var(--gray-50); }
.section-header { text-align: center; max-width: 720px; margin: 0 auto 3rem; }
.section-header h2 { margin-bottom: 1rem; }
.section-header p { color: var(--gray-600); font-size: 1.05rem; }
.eyebrow { display: inline-block; color: var(--terracotta-dark); font-size: 0.78rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 0.85rem; }
.skip-link { position: absolute; top: -100px; left: 1rem; z-index: 1000; padding: .75rem 1rem; background: var(--sun); color: var(--gray-900); font-weight: 800; border-radius: var(--radius-sm); }
.skip-link:focus { top: 1rem; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .85rem 1.5rem; border-radius: var(--radius-sm); font-weight: 800; font-size: .95rem; cursor: pointer; border: 2px solid transparent; transition: var(--transition); text-align: center; line-height: 1.2; white-space: nowrap; }
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--terracotta); color: var(--white); border-color: var(--terracotta); }
.btn-primary:hover { background: var(--terracotta-dark); border-color: var(--terracotta-dark); color: var(--white); transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-secondary { background: rgba(255,255,255,.95); color: var(--primary-dark); border-color: rgba(255,255,255,.78); }
.btn-secondary:hover { background: var(--sun); border-color: var(--sun); color: var(--gray-900); transform: translateY(-2px); }
.btn-whatsapp { background: var(--accent-green); color: var(--white); border-color: var(--accent-green); }
.btn-whatsapp:hover { background: var(--accent-green-dark); border-color: var(--accent-green-dark); color: var(--white); transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-light { background: var(--white); color: var(--primary-dark); border-color: var(--white); }
.btn-light:hover { background: var(--sun); border-color: var(--sun); color: var(--gray-900); }
.btn-large { padding: 1.05rem 1.75rem; font-size: 1rem; }
.icon { display: inline-grid; place-items: center; width: 1.2rem; height: 1.2rem; font-size: 1.25rem; font-weight: 900; }
.icon-whatsapp { border: 2px solid currentColor; border-radius: 50%; font-size: .92rem; }

.header { position: sticky; top: 0; z-index: 100; background: rgba(255,253,249,.95); backdrop-filter: blur(16px); box-shadow: var(--shadow-sm); border-bottom: 1px solid var(--gray-200); }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: .8rem 0; }
.logo { display: flex; align-items: center; gap: .7rem; font-weight: 800; font-size: 1.03rem; color: var(--gray-900); }
.logo img { width: 42px; height: 42px; border-radius: .85rem; filter: drop-shadow(0 5px 7px rgba(15,107,85,.18)); }
.logo-text { line-height: 1.1; }
.logo-text small { display: block; font-family: 'Plus Jakarta Sans', sans-serif; font-size: .63rem; color: var(--gray-500); font-weight: 700; margin-top: .27rem; letter-spacing: .02em; }
.nav-list { display: flex; list-style: none; gap: .18rem; align-items: center; }
.nav-list a { color: var(--gray-700); font-weight: 700; padding: .5rem .72rem; border-radius: var(--radius-sm); font-size: .82rem; }
.nav-list a:hover, .nav-list a.active { color: var(--primary-dark); background: var(--gray-100); }
.nav-cta { margin-left: .4rem; }
.nav-list .btn { color: var(--white); padding: .7rem 1rem; }
.nav-list .btn:hover { color: var(--white); background: var(--accent-green-dark); }
.nav-toggle { display: none; background: transparent; border: 0; padding: .5rem; color: var(--gray-700); }
.nav-toggle svg { width: 24px; height: 24px; }

.hero { position: relative; background: linear-gradient(135deg, #123047 0%, #0f6b55 61%, #177e62 100%); color: var(--white); padding: 4.75rem 0 6rem; overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(circle at 18% 22%, rgba(246,207,88,.18) 0 2px, transparent 3px), radial-gradient(circle at 81% 18%, rgba(255,255,255,.12) 0 1px, transparent 2px), linear-gradient(135deg, transparent 0 47%, rgba(246,207,88,.08) 48% 50%, transparent 51% 100%); background-size: 74px 74px, 53px 53px, 160px 160px; opacity: .9; }
.hero::after { content: 'DUREN SAWIT'; position: absolute; right: -1%; bottom: 1%; color: rgba(255,255,255,.09); font-size: clamp(4rem, 11vw, 10rem); font-weight: 800; letter-spacing: .08em; line-height: .9; transform: rotate(-7deg); pointer-events: none; }
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr .9fr; gap: 3.6rem; align-items: center; }
.hero-content h1 { color: var(--white); max-width: 680px; }
.hero-content h1 span { color: var(--sun); }
.hero-content .eyebrow, .cta-section .eyebrow { color: var(--sun); }
.hero-subtitle { max-width: 670px; font-size: 1.05rem; margin-bottom: 2rem; opacity: .94; line-height: 1.7; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .7rem; margin-bottom: 2.25rem; }
.hero-features { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: .8rem 1.25rem; max-width: 590px; }
.hero-feature { display: flex; align-items: center; gap: .55rem; font-size: .85rem; color: rgba(255,255,255,.9); }
.hero-feature svg { width: 18px; height: 18px; flex-shrink: 0; color: var(--sun); }
.hero-image { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-xl); border: 8px solid rgba(255,255,255,.13); background: #e7f2eb; transform: rotate(1.5deg); }
.hero-image img { width: 100%; height: auto; display: block; }

.intro-grid { display: grid; grid-template-columns: .95fr 1.65fr .5fr; gap: 2rem; align-items: center; }
.intro-note { display: flex; align-items: flex-start; gap: .75rem; padding: 1.25rem; background: #fff6df; border: 1px solid #f1dda4; border-radius: var(--radius-md); color: #6e4c18; font-size: .9rem; }
.route-dot { flex: 0 0 auto; width: 1rem; height: 1rem; margin-top: .25rem; border-radius: 50%; background: var(--sun); box-shadow: 0 0 0 6px rgba(246,207,88,.24); }
.intro-note strong { color: var(--primary-dark); }
.intro-copy h2 { max-width: 580px; }
.intro-copy p { max-width: 610px; color: var(--gray-600); margin-bottom: 0; }
.intro-stat { display: flex; flex-direction: column; align-items: flex-end; text-align: right; padding-left: 1rem; border-left: 1px solid var(--gray-200); }
.stat-number { font: 800 clamp(2.8rem, 5vw, 4.5rem)/.9 'DM Sans', sans-serif; color: var(--terracotta); }
.stat-label { font-size: .76rem; color: var(--gray-500); margin-top: .45rem; }
.stat-label strong { color: var(--gray-700); }

.services-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1.2rem; }
.service-card { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-md); padding: 1.65rem; transition: var(--transition); position: relative; overflow: hidden; box-shadow: 0 8px 22px rgba(94,65,35,.045); }
.service-card::after { content: ''; position: absolute; right: -28px; bottom: -34px; width: 100px; height: 100px; border: 1px solid rgba(15,107,85,.13); border-radius: 50%; box-shadow: 0 0 0 12px rgba(246,207,88,.09), 0 0 0 25px rgba(15,107,85,.05); pointer-events: none; }
.service-card:hover { border-color: var(--sun); transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.service-marker { position: absolute; top: 1.3rem; right: 1.35rem; color: var(--gray-400); font: 800 .72rem 'DM Sans', sans-serif; letter-spacing: .08em; }
.service-icon { width: 56px; height: 56px; background: linear-gradient(135deg, var(--terracotta) 0%, var(--terracotta-dark) 100%); border-radius: 1rem .5rem 1rem .5rem; display: flex; align-items: center; justify-content: center; color: var(--white); margin-bottom: 1.2rem; box-shadow: 0 10px 18px rgba(184,77,43,.16); }
.service-icon svg { width: 28px; height: 28px; }
.service-card h3 { font-size: 1.1rem; max-width: 230px; }
.service-card p { color: var(--gray-600); font-size: .89rem; margin-bottom: 1rem; }
.service-card .read-more { color: var(--primary); font-weight: 800; font-size: .84rem; display: inline-flex; align-items: center; gap: .25rem; }
.service-card .read-more:hover { color: var(--terracotta-dark); gap: .45rem; }

.about-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 4.5rem; align-items: center; }
.about-image { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); transform: rotate(-1.2deg); }
.about-image::before { content: ''; position: absolute; inset: 1rem; border: 1px solid rgba(246,207,88,.55); border-radius: calc(var(--radius-lg) - .4rem); z-index: 1; pointer-events: none; }
.about-image img { width: 100%; }
.about-content > p { color: var(--gray-600); font-size: 1.02rem; }
.about-list { margin-top: 1.8rem; display: grid; gap: 1.15rem; }
.about-list > div { display: grid; grid-template-columns: 2.2rem 1fr; gap: .75rem; align-items: flex-start; }
.about-list h3 { font-size: 1.02rem; margin-bottom: .22rem; }
.about-list p { color: var(--gray-600); font-size: .88rem; margin: 0; }
.about-check { display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: .65rem; background: #fff6df; color: var(--terracotta-dark); font-weight: 900; }

.process-section { background: var(--white); }
.process-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.35rem; position: relative; }
.process-steps::before { content: ''; position: absolute; top: 2rem; left: 11%; right: 11%; border-top: 1px dashed var(--gray-300); z-index: 0; }
.process-step { position: relative; z-index: 1; padding: 1.5rem 1.5rem 1.25rem; background: var(--cream); border: 1px solid var(--gray-200); border-radius: var(--radius-md); }
.process-no { display: grid; place-items: center; width: 3rem; height: 3rem; margin-bottom: 1.1rem; border-radius: 50%; background: var(--sun); color: var(--gray-900); font: 800 .85rem 'DM Sans', sans-serif; box-shadow: 0 0 0 7px var(--cream); }
.process-step h3 { font-size: 1.1rem; }
.process-step p { color: var(--gray-600); font-size: .9rem; margin: 0; }

.route-section { position: relative; overflow: hidden; padding: 5rem 0; background: linear-gradient(110deg, #eff8f3 0%, #fff8ec 54%, #f9efd8 100%); }
.route-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 3.2rem; align-items: center; }
.route-copy h2 { max-width: 540px; }
.route-copy > p { max-width: 530px; color: var(--gray-600); }
.area-list { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.5rem 0 1.75rem; }
.area-list span { padding: .53rem .76rem; color: var(--primary-dark); font-size: .78rem; font-weight: 800; background: rgba(255,255,255,.75); border: 1px solid #cfe5d9; border-radius: 999px; }
.route-image { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); border: 6px solid rgba(255,255,255,.76); transform: rotate(1deg); }
.route-image img { width: 100%; }

.faq-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 4rem; align-items: start; }
.faq-intro p { color: var(--gray-600); max-width: 390px; }
.faq-list { display: grid; gap: .7rem; }
details { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius); padding: 1rem 1.2rem; transition: var(--transition); }
details[open] { border-color: #f0d99a; box-shadow: var(--shadow-sm); }
summary { list-style: none; cursor: pointer; color: var(--gray-900); font-weight: 800; padding-right: 2rem; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; position: absolute; right: 0; top: -.1rem; color: var(--terracotta); font-size: 1.4rem; font-weight: 500; }
details[open] summary::after { content: '−'; }
details p { color: var(--gray-600); font-size: .9rem; margin: .75rem 0 0; max-width: 620px; }

.cta-section { position: relative; overflow: hidden; padding: 4.3rem 0; background: linear-gradient(90deg, #123047 0%, #0f6b55 100%); color: var(--white); }
.cta-section::after { content: ''; position: absolute; width: 320px; height: 320px; right: -120px; top: -175px; border: 1px solid rgba(246,207,88,.4); border-radius: 50%; box-shadow: 0 0 0 26px rgba(246,207,88,.08), 0 0 0 54px rgba(246,207,88,.05); pointer-events: none; }
.cta-inner { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.cta-copy h2 { color: var(--white); max-width: 580px; }
.cta-copy p { color: rgba(255,255,255,.82); max-width: 560px; margin: 0; }
.cta-buttons { display: flex; flex-wrap: wrap; gap: .7rem; justify-content: flex-end; }

.footer { background: #143d36; color: rgba(255,255,255,.75); padding: 4rem 0 1.25rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr .8fr .8fr .9fr; gap: 2.5rem; padding-bottom: 2.5rem; }
.footer-brand { display: flex; align-items: center; gap: .7rem; color: var(--white); font: 800 1.05rem 'DM Sans', sans-serif; margin-bottom: 1rem; }
.footer-brand img { width: 42px; height: 42px; border-radius: .8rem; }
.footer-grid p { max-width: 320px; font-size: .88rem; line-height: 1.7; }
.footer h3 { color: var(--sun); font: 800 .78rem 'Plus Jakarta Sans', sans-serif; text-transform: uppercase; letter-spacing: .1em; margin-bottom: .9rem; }
.footer ul { list-style: none; display: grid; gap: .45rem; }
.footer li, .footer li a { color: rgba(255,255,255,.72); font-size: .84rem; }
.footer li a:hover { color: var(--sun); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,.14); font-size: .75rem; }
.footer-bottom p { margin: 0; }
.footer-bottom p:last-child { display: flex; gap: .6rem; }
.footer-bottom a { color: rgba(255,255,255,.8); }

.wa-float { position: fixed; z-index: 90; right: 24px; bottom: 24px; display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: var(--accent-green); color: var(--white); font-size: 1.8rem; font-weight: 900; box-shadow: var(--shadow-lg); border: 4px solid rgba(255,255,255,.75); }
.wa-float:hover { background: var(--accent-green-dark); color: var(--white); transform: translateY(-3px); }
.back-to-top { position: fixed; z-index: 80; right: 28px; bottom: 94px; display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid var(--gray-300); border-radius: 50%; background: var(--white); color: var(--primary-dark); font-size: 1.2rem; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(10px); transition: var(--transition); }
.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { color: var(--white); background: var(--primary); border-color: var(--primary); }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .55s var(--ease-out), transform .55s var(--ease-out); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 70ms; }
.reveal-delay-2 { transition-delay: 140ms; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
    .reveal { opacity: 1; transform: none; }
}
