/* ============================================================
   Sewa Kereta Temerloh & Mentakab — "Rimba & Jalan" theme
   Fresh design 2026-07-16. Pine green + warm clay on cream.
   Fraunces (headings) + Inter (body). Mobile-first.
   ============================================================ */

:root {
  --pine:       #14503A;   /* primary — deep Pahang forest green */
  --pine-2:     #0E3D2C;   /* darker sections / header scrolled */
  --pine-3:     #1C6B4C;   /* hover / lighter accent green */
  --clay:       #D9613C;   /* CTA / warm accent */
  --clay-dark:  #BF4E2C;   /* CTA hover */
  --clay-soft:  #F6E4D8;   /* clay tint background */
  --wa:         #1FA855;   /* WhatsApp green (distinct from pine) */
  --wa-dark:    #178A45;
  --cream:      #FBF7F0;   /* page background */
  --sand:       #F2EBDD;   /* alternate section */
  --mint:       #E7F0EA;   /* soft green section */
  --ink:        #1E2A24;   /* body text */
  --ink-soft:   #52605A;   /* muted text */
  --line:       #E4DDCE;   /* borders on cream */
  --white:      #FFFFFF;
  --gold:       #C9A24B;   /* micro accent / stars */

  --font-head: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;

  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-pill: 999px;

  --shadow-sm: 0 2px 8px rgba(20,45,32,.06);
  --shadow-md: 0 10px 30px rgba(20,45,32,.10);
  --shadow-lg: 0 20px 50px rgba(20,45,32,.16);

  --container: 1140px;
  --header-h: 72px;
  --ease: 220ms cubic-bezier(.4,0,.2,1);
}

*,*::before,*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.72;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--pine); text-decoration: none; transition: color var(--ease); }
a:hover { color: var(--clay); }

h1,h2,h3,h4 { font-family: var(--font-head); font-weight: 600; line-height: 1.12; color: var(--pine); margin: 0 0 .6em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.05rem, 6vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 4.2vw, 2.4rem); }
h3 { font-size: 1.28rem; font-family: var(--font-body); font-weight: 700; letter-spacing: -.005em; }
h4 { font-size: 1.02rem; font-family: var(--font-body); font-weight: 700; }
p { margin: 0 0 1.1rem; }
strong { font-weight: 700; color: var(--ink); }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
section { padding: 68px 0; }
.bg-cream  { background: var(--cream); }
.bg-sand   { background: var(--sand); }
.bg-mint   { background: var(--mint); }
.bg-pine   { background: var(--pine); color: #E9F0EB; }
.bg-pine h2, .bg-pine h3 { color: var(--white); }

/* -------- Buttons -------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font-family: var(--font-body); font-weight: 600; font-size: 1rem;
  padding: 14px 26px; border-radius: var(--r-pill); border: 2px solid transparent;
  cursor: pointer; transition: transform var(--ease), background var(--ease), box-shadow var(--ease);
  line-height: 1; text-align: center;
}
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--clay); color: #fff; box-shadow: 0 6px 18px rgba(217,97,60,.32); }
.btn-primary:hover { background: var(--clay-dark); color: #fff; }
.btn-wa { background: var(--wa); color: #fff; box-shadow: 0 6px 18px rgba(31,168,85,.28); }
.btn-wa:hover { background: var(--wa-dark); color: #fff; }
.btn-outline { background: transparent; color: var(--pine); border-color: var(--pine); }
.btn-outline:hover { background: var(--pine); color: #fff; }
.btn-ghost-light { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.4); }
.btn-ghost-light:hover { background: #fff; color: var(--pine); }
.btn-lg { padding: 17px 34px; font-size: 1.08rem; }
.btn-block { width: 100%; }

/* -------- Header -------- */
.topbar { background: var(--pine-2); color: #CFE0D5; font-size: .82rem; }
.topbar .container { display: flex; align-items: center; justify-content: center; gap: .5em; min-height: 34px; text-align: center; }
.topbar strong { color: var(--gold); font-weight: 600; }

.site-header {
  position: sticky; top: 0; z-index: 100; background: rgba(251,247,240,.94);
  backdrop-filter: blur(10px); border-bottom: 1px solid var(--line);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); }
.brand img { height: 46px; width: auto; }
.main-nav { display: none; align-items: center; gap: 2px; }
.main-nav a { padding: 9px 14px; font-weight: 500; font-size: .96rem; color: var(--ink); border-radius: var(--r-sm); }
.main-nav a:hover, .main-nav a.active { color: var(--pine); background: var(--mint); }
.main-nav a.nav-cta { background: var(--clay); color: #fff; margin-left: 8px; padding: 10px 20px; border-radius: var(--r-pill); }
.main-nav a.nav-cta:hover { background: var(--clay-dark); }
.hamburger { display: inline-flex; flex-direction: column; gap: 5px; background: none; border: 0; padding: 8px; cursor: pointer; }
.hamburger span { width: 26px; height: 2.5px; background: var(--pine); border-radius: 2px; transition: var(--ease); }
.hamburger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

.mobile-menu { display: none; flex-direction: column; background: var(--white); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-md); position: sticky; top: var(--header-h); z-index: 99; }
.mobile-menu.open { display: flex; }
.mobile-menu a { padding: 14px 24px; border-bottom: 1px solid var(--line); font-weight: 500; color: var(--ink); }
.mobile-menu a:last-child { border-bottom: 0; }
.mobile-menu a.nav-cta { color: var(--clay); font-weight: 700; }

/* -------- Hero -------- */
.hero { position: relative; background: linear-gradient(150deg, var(--pine) 0%, var(--pine-2) 62%, #0A3123 100%); color: #EAF1EC; padding: 76px 0 84px; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background-image:
  radial-gradient(circle at 82% 12%, rgba(217,97,60,.30), transparent 42%),
  radial-gradient(circle at 8% 92%, rgba(28,107,76,.55), transparent 46%); }
.hero-road { position: absolute; right: -40px; bottom: -20px; width: 340px; max-width: 55%; opacity: .16; pointer-events: none; }
.hero .container { position: relative; z-index: 2; max-width: 860px; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: .5em; font-size: .82rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #F3C9B6; background: rgba(217,97,60,.18); border: 1px solid rgba(217,97,60,.4); padding: 6px 15px; border-radius: var(--r-pill); margin: 0 0 18px; }
.hero h1 { color: #fff; margin-bottom: .35em; }
.hero h1 .accent { color: #F0B49C; font-style: italic; }
.hero-sub { font-size: 1.14rem; line-height: 1.7; color: #D3E1D7; max-width: 640px; margin-bottom: 30px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 34px; }
.hero-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; max-width: 560px; }
.hero-stat { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); border-radius: var(--r-md); padding: 14px 16px; }
.hero-stat b { display: block; font-family: var(--font-head); font-size: 1.5rem; color: #fff; line-height: 1; margin-bottom: 4px; }
.hero-stat span { font-size: .84rem; color: #BFD2C6; }

/* -------- Trust bar -------- */
.trust-bar { background: var(--pine-2); }
.trust-bar .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 26px; padding-top: 16px; padding-bottom: 16px; }
.trust-item { display: inline-flex; align-items: center; gap: 8px; color: #CFE0D5; font-size: .9rem; font-weight: 500; }
.trust-item svg { width: 17px; height: 17px; color: var(--gold); flex: none; }

/* -------- Section headings -------- */
.sec-head { max-width: 720px; margin: 0 auto 44px; text-align: center; }
.sec-head.left { margin-left: 0; text-align: left; }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--clay); margin-bottom: 12px; }
.sec-head p.lead { font-size: 1.12rem; color: var(--ink-soft); margin: 0; }

/* -------- Service / fleet cards -------- */
.card-grid { display: grid; grid-template-columns: 1fr; gap: 22px; }
.svc-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 30px 26px; box-shadow: var(--shadow-sm); transition: transform var(--ease), box-shadow var(--ease); position: relative; display: flex; flex-direction: column; }
.svc-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.svc-icon { width: 54px; height: 54px; border-radius: var(--r-md); background: var(--mint); color: var(--pine); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.svc-icon svg { width: 30px; height: 30px; }
.svc-card h3 { margin-bottom: 6px; }
.svc-models { font-size: .9rem; font-weight: 600; color: var(--clay); letter-spacing: .01em; margin-bottom: 12px; }
.svc-card p { font-size: .98rem; color: var(--ink-soft); margin-bottom: 18px; }
.svc-card .card-link { margin-top: auto; font-weight: 600; font-size: .96rem; color: var(--pine); display: inline-flex; align-items: center; gap: 6px; }
.svc-card .card-link:hover { color: var(--clay); gap: 10px; }
.card-link svg { width: 17px; height: 17px; flex: none; }

/* -------- Split / prose -------- */
.split { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center; }
.prose p { color: var(--ink-soft); }
.prose h2, .prose h3 { color: var(--pine); }
.prose h3 { margin-top: 1.8em; }
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.checklist li { position: relative; padding-left: 34px; color: var(--ink); font-size: .99rem; }
.checklist li::before { content: ""; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%; background: var(--mint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2314503A' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/13px no-repeat; }
.feature-box { background: var(--white); border: 1px solid var(--line); border-left: 4px solid var(--clay); border-radius: var(--r-md); padding: 22px 24px; box-shadow: var(--shadow-sm); }

/* -------- Steps -------- */
.steps { display: grid; grid-template-columns: 1fr; gap: 20px; counter-reset: step; }
.step { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px 24px; box-shadow: var(--shadow-sm); }
.step-num { width: 42px; height: 42px; border-radius: 50%; background: var(--pine); color: #fff; font-family: var(--font-head); font-size: 1.25rem; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.step h3 { margin-bottom: 8px; }
.step p { color: var(--ink-soft); font-size: .96rem; margin: 0; }

/* -------- Coverage pills -------- */
.pill-row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-bottom: 16px; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 11px 20px; border-radius: var(--r-pill); font-weight: 600; font-size: .95rem; }
.pill-main { background: var(--clay); color: #fff; box-shadow: 0 6px 16px rgba(217,97,60,.3); }
.pill-main:hover { background: var(--clay-dark); color: #fff; }
.pill-soft { background: rgba(255,255,255,.1); color: #DCE8E0; border: 1px solid rgba(255,255,255,.2); }
.pill svg { width: 16px; height: 16px; flex: none; }
.areas-note { text-align: center; color: #A9C0B2; font-size: .9rem; margin: 18px auto 0; max-width: 620px; }

/* -------- Use-case grid -------- */
.use-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
.use-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); padding: 24px; box-shadow: var(--shadow-sm); }
.use-card .svc-icon { width: 46px; height: 46px; background: var(--clay-soft); color: var(--clay); margin-bottom: 14px; }
.use-card .svc-icon svg { width: 25px; height: 25px; }
.use-card h3 { font-size: 1.12rem; margin-bottom: 6px; }
.use-card p { font-size: .94rem; color: var(--ink-soft); margin: 0; }

/* -------- FAQ -------- */
.faq-list { max-width: 800px; margin: 0 auto; display: grid; gap: 12px; }
.faq-item { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
.faq-q { width: 100%; text-align: left; background: none; border: 0; padding: 20px 22px; font-family: var(--font-body); font-weight: 600; font-size: 1.04rem; color: var(--pine); cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; line-height: 1.4; }
.faq-q .chev { flex: none; width: 20px; height: 20px; transition: transform var(--ease); color: var(--clay); }
.faq-item.open .chev { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height var(--ease); }
.faq-a-inner { padding: 0 22px 20px; color: var(--ink-soft); font-size: .99rem; }
.faq-a-inner p { margin: 0 0 .8rem; }
.faq-a-inner p:last-child { margin: 0; }

/* -------- CTA strip -------- */
.cta-strip { background: linear-gradient(135deg, var(--clay) 0%, var(--clay-dark) 100%); color: #fff; text-align: center; }
.cta-strip h2 { color: #fff; }
.cta-strip p { color: #FBE7DD; max-width: 560px; margin: 0 auto 22px; font-size: 1.08rem; }
.cta-phone { display: inline-block; font-family: var(--font-head); font-size: clamp(1.8rem,5vw,2.6rem); color: #fff; margin-bottom: 18px; }
.cta-phone:hover { color: #fff; opacity: .9; }
.cta-btns { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* -------- Contact / form -------- */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 32px; }
.contact-info { background: var(--pine); color: #DCE8E0; border-radius: var(--r-lg); padding: 32px 28px; }
.contact-info h3 { color: #fff; }
.contact-line { display: flex; gap: 14px; align-items: flex-start; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.contact-line:last-of-type { border-bottom: 0; }
.contact-line .ci { width: 40px; height: 40px; flex: none; border-radius: 50%; background: rgba(255,255,255,.1); display: flex; align-items: center; justify-content: center; color: var(--gold); }
.contact-line .ci svg { width: 20px; height: 20px; }
.contact-line b { display: block; color: #fff; font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 2px; }
.contact-line a, .contact-line .val { color: #EAF1EC; font-size: 1.05rem; }
.contact-line a:hover { color: #F0B49C; }

.form-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 30px 26px; box-shadow: var(--shadow-md); }
.form-row { display: grid; grid-template-columns: 1fr; gap: 16px; margin-bottom: 16px; }
.field label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 6px; color: var(--ink); }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; font-family: var(--font-body); font-size: 1rem; color: var(--ink);
  background: var(--cream); border: 1.5px solid var(--line); border-radius: var(--r-sm); transition: border var(--ease), box-shadow var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--pine-3); box-shadow: 0 0 0 3px rgba(28,107,76,.14); background: #fff; }
.field textarea { min-height: 120px; resize: vertical; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin-top: 14px; font-size: .95rem; font-weight: 500; }
.form-status.ok { color: var(--wa-dark); }
.form-status.err { color: var(--clay-dark); }
.form-note { font-size: .84rem; color: var(--ink-soft); margin-top: 10px; }

/* -------- Breadcrumb -------- */
.crumbs { padding: 16px 0 0; font-size: .86rem; color: var(--ink-soft); }
.crumbs a { color: var(--ink-soft); }
.crumbs a:hover { color: var(--clay); }
.crumbs span { color: var(--pine); font-weight: 600; }

/* -------- Page hero (subpages) -------- */
.page-hero { background: linear-gradient(150deg, var(--pine) 0%, var(--pine-2) 100%); color: #EAF1EC; padding: 40px 0 52px; position: relative; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 88% 20%, rgba(217,97,60,.28), transparent 45%); }
.page-hero .container { position: relative; z-index: 2; max-width: 820px; }
.page-hero .eyebrow { color: #F3C9B6; }
.page-hero h1 { color: #fff; margin-bottom: .3em; }
.page-hero p { color: #D3E1D7; font-size: 1.1rem; max-width: 640px; margin: 0; }
.page-hero .hero-cta { margin-top: 26px; margin-bottom: 0; }

/* -------- Footer -------- */
.site-footer { background: var(--pine-2); color: #AEC4B6; padding: 56px 0 26px; font-size: .93rem; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 34px; margin-bottom: 34px; }
.footer-brand img { height: 42px; margin-bottom: 16px; background: #FBF7F0; padding: 9px 13px; border-radius: 12px; }
.footer-brand p { color: #9DB6A8; }
.footer-social { display: inline-flex; align-items: center; gap: 8px; color: #CFE0D5; font-weight: 500; margin-top: 6px; }
.footer-social svg { width: 18px; height: 18px; }
.footer-col h4 { color: #fff; margin-bottom: 14px; font-size: .95rem; letter-spacing: .02em; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.footer-col a { color: #AEC4B6; }
.footer-col a:hover { color: var(--clay); }
.footer-contact { display: grid; gap: 12px; }
.footer-contact .fc { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact svg { width: 18px; height: 18px; color: var(--gold); flex: none; margin-top: 3px; }
.footer-contact a, .footer-contact .val { color: #CFE0D5; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 22px; text-align: center; color: #8AA396; font-size: .85rem; line-height: 1.8; }
.footer-bottom a { color: #AEC4B6; }

/* -------- Floating mobile CTA -------- */
.floating-cta { position: fixed; bottom: 0; left: 0; right: 0; z-index: 90; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); box-shadow: 0 -4px 18px rgba(0,0,0,.12); }
.floating-cta a { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 15px; font-weight: 600; font-size: 1rem; color: #fff; min-height: 54px; }
.floating-cta a svg { width: 19px; height: 19px; }
.floating-cta .fc-call { background: var(--clay); }
.floating-cta .fc-wa { background: var(--wa); color: #fff; }

/* -------- Utilities -------- */
.mt-lg { margin-top: 26px; }
.text-center { text-align: center; }
.max-720 { max-width: 720px; margin-left: auto; margin-right: auto; }
main { padding-bottom: 54px; }

/* =========== Responsive =========== */
@media (min-width: 620px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .use-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .form-row.two { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
  .hero-stats { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 900px) {
  .main-nav { display: flex; }
  .hamburger { display: none; }
  .card-grid { grid-template-columns: repeat(3, 1fr); }
  .card-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
  .use-grid { grid-template-columns: repeat(3, 1fr); }
  .split { grid-template-columns: 1fr 1fr; }
  .split.wide-left { grid-template-columns: 1.15fr .85fr; }
  .contact-grid { grid-template-columns: .8fr 1.2fr; }
  .footer-grid { grid-template-columns: 2.2fr 1fr 1fr 1.4fr; }
  main { padding-bottom: 0; }
  .floating-cta { display: none; }
  section { padding: 80px 0; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
}
