@font-face {
  font-family: "BM HANNA_TTF";
  src: url("assets/fonts/BM-HANNA.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

:root {
  --ink: #17342d;
  --ink-deep: #10251f;
  --grass: #4f9b61;
  --leaf: #d9ec8d;
  --mango: #f5bd45;
  --coral: #ed6a54;
  --sky: #84cad3;
  --paper: #fffaf0;
  --white: #ffffff;
  --line: rgba(23, 52, 45, .16);
  --display: "BM HANNA_TTF", "Trebuchet MS", sans-serif;
  --body: "Avenir Next", Avenir, "Segoe UI", sans-serif;
  --radius: 24px;
  --shadow: 0 24px 60px rgba(16, 37, 31, .14);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--body); line-height: 1.55; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.container { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.section-pad { padding: clamp(76px, 10vw, 144px) 0; }
.skip-link { position: fixed; z-index: 100; left: 16px; top: -60px; padding: 12px 18px; background: var(--white); border-radius: 10px; }
.skip-link:focus { top: 16px; }
:focus-visible { outline: 3px solid var(--mango); outline-offset: 4px; }

.site-header { position: absolute; z-index: 20; inset: 0 0 auto; color: var(--white); }
.nav-wrap { min-height: 0; padding-block: 14px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; }
.brand-logo { width: 148px; height: auto; object-fit: contain; filter: drop-shadow(0 8px 18px rgba(10, 32, 25, .22)); }
.brand-logo-footer { width: 170px; }
.nav-links { display: flex; gap: 30px; font-size: .88rem; font-weight: 700; }
.nav-links a { opacity: .85; }
.nav-links a:hover { opacity: 1; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 10px; min-height: 54px; padding: 0 24px; border-radius: 999px; font-weight: 800; transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: var(--ink-deep); background: var(--mango); box-shadow: 0 13px 30px rgba(245, 189, 69, .24); }
.button-primary:hover { background: #ffd061; }
.button-disabled { opacity: .72; cursor: not-allowed; box-shadow: none; }
.button-disabled:hover { transform: none; background: var(--mango); }
.button-dark { color: var(--white); background: var(--ink); }

.hero { position: relative; min-height: min(820px, 100svh); color: var(--white); overflow: hidden; display: flex; align-items: center; padding-top: 90px; padding-bottom: 96px; }
.hero-photo, .hero-shade { position: absolute; inset: 0; }
.hero-photo { background: url("assets/images/hero/anak-bermain-smartz-matz-city-map.png") center/cover no-repeat; transform: scale(1.01); }
.hero-shade { background: linear-gradient(90deg, rgba(10, 32, 25, .92) 0%, rgba(10, 32, 25, .76) 38%, rgba(10, 32, 25, .1) 72%), linear-gradient(0deg, rgba(10,32,25,.72), transparent 34%); }
.hero::after { content: ""; position: absolute; width: 640px; height: 140px; right: -100px; bottom: 55px; border: 5px dashed rgba(255,255,255,.62); border-left-color: transparent; border-bottom-color: transparent; border-radius: 50%; transform: rotate(-4deg); }
.hero-content { position: relative; z-index: 2; padding-top: 70px; }
.section-kicker { margin: 0 0 22px; font-size: .74rem; line-height: 1; letter-spacing: .15em; text-transform: uppercase; font-weight: 900; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: var(--display); letter-spacing: -.035em; line-height: .97; }
h1 { max-width: 920px; margin-bottom: 28px; font-size: clamp(2.85rem, 5.8vw, 5.6rem); }
h1 > span { display: inline-block; margin-bottom: 10px; font-size: .56em; letter-spacing: -.01em; }
h1 em, h2 em { color: var(--mango); font-style: normal; }
.hero-copy { max-width: 590px; margin-bottom: 33px; font-size: clamp(1.03rem, 1.5vw, 1.25rem); color: rgba(255,255,255,.82); }
.hero-actions { display: flex; align-items: center; gap: 26px; }
.text-link { padding-block: 12px; font-weight: 800; border-bottom: 1px solid rgba(255,255,255,.5); }

.intro { position: relative; overflow: hidden; }
.road-line { position: absolute; z-index: 0; width: 340px; height: 340px; right: -110px; top: 90px; border: 34px solid rgba(132,202,211,.3); border-radius: 50%; }
.road-line::after { content: ""; position: absolute; inset: -17px; border: 3px dashed rgba(23,52,45,.18); border-radius: 50%; }
.road-line span, .road-line i, .road-line b { position: absolute; width: 16px; height: 30px; border-radius: 6px 6px 3px 3px; background: var(--coral); box-shadow: 0 4px 0 #b84230; }
.road-line span { left: -31px; top: 58px; transform: rotate(-33deg); }
.road-line i { left: 90px; bottom: -34px; transform: rotate(89deg); background: var(--mango); }
.road-line b { right: -27px; top: 128px; transform: rotate(27deg); background: var(--grass); }
.split-heading { position: relative; z-index: 1; display: grid; grid-template-columns: .75fr 2fr; gap: 40px; margin-bottom: 72px; }
.section-kicker { color: var(--coral); padding-top: 9px; }
.intro-brand-block { align-self: start; }
.intro-brand-logo { display: block; width: min(220px, 100%); height: auto; margin-top: 24px; filter: drop-shadow(0 14px 24px rgba(23, 52, 45, .12)); }
.split-heading h2, .section-head h2, .testimonial-heading h2, .faq h2 { margin-bottom: 28px; font-size: clamp(2.55rem, 5.3vw, 5.2rem); }
.split-heading h2 { max-width: 910px; }
.split-heading h2 em { color: var(--grass); }
.split-heading p:not(.section-kicker) { max-width: 720px; color: #52645e; font-size: 1.1rem; }
.benefit-grid { display: grid; grid-template-columns: 1.15fr 1fr 1fr; gap: 18px; }
.benefit-card { min-height: 380px; padding: 34px; border-radius: var(--radius); display: flex; flex-direction: column; justify-content: flex-end; }
.benefit-icon { margin-bottom: auto; font-family: var(--display); font-size: 3rem; }
.benefit-card h3 { font-size: clamp(1.65rem, 2.5vw, 2.35rem); }
.benefit-card p:last-child { margin-bottom: 0; opacity: .76; }
.card-green { color: var(--white); background: var(--grass); transform: rotate(-1.2deg); }
.card-yellow { background: var(--mango); transform: translateY(30px); }
.card-blue { background: var(--sky); transform: rotate(1.2deg); }

.product-showcase { color: var(--white); background: var(--ink); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 50px; margin-bottom: 62px; }
.section-head > p { max-width: 480px; margin-bottom: 10px; color: rgba(255,255,255,.68); }
.section-kicker-light { color: var(--mango); }
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.product-card { color: var(--ink); background: var(--white); border-radius: 22px; overflow: hidden; transition: transform .25s ease; }
.product-card:hover { transform: translateY(-7px); }
.product-image { aspect-ratio: 1.12; overflow: hidden; background: #f7f5ef; }
.product-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.product-card:hover img { transform: scale(1.035); }
.product-info { min-height: 164px; padding: 24px; }
.product-info h3 { margin: 9px 0 6px; font-size: 1.65rem; }
.product-info p { margin: 0; color: #64716d; font-size: .9rem; }
.pill { display: inline-block; padding: 5px 10px; color: var(--ink); background: var(--leaf); border-radius: 999px; font-size: .63rem; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; }
.product-card-featured .pill { background: var(--mango); }

.testimonials { color: var(--white); background: var(--ink-deep); }
.testimonial-heading { margin-bottom: 58px; }
.testimonial-heading h2 { margin-bottom: 0; color: var(--white); }
.testimonial-carousel { width: min(100%, 1500px); margin-inline: auto; }
.carousel-viewport { overflow-x: auto; padding: 8px max(20px, calc((100vw - 1180px) / 2)) 28px; scroll-behavior: smooth; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-inline: contain; }
.carousel-viewport::-webkit-scrollbar { display: none; }
.carousel-track { display: flex; width: max-content; gap: 22px; }
.testimonial-slide { position: relative; flex: 0 0 min(760px, calc(100vw - 80px)); padding: 0; overflow: hidden; scroll-snap-align: center; color: var(--white); background: #f5efe3; border: 1px solid rgba(255,255,255,.16); border-radius: 24px; box-shadow: 0 22px 60px rgba(0,0,0,.2); cursor: zoom-in; }
.testimonial-slide img { width: 100%; height: auto; max-height: 520px; object-fit: contain; }
.testimonial-slide span { position: absolute; left: 18px; bottom: 18px; padding: 9px 14px; color: var(--ink-deep); background: rgba(255,255,255,.93); border-radius: 999px; box-shadow: 0 8px 20px rgba(16,37,31,.16); font-size: .76rem; font-weight: 900; }
.carousel-controls { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 8px; }
.carousel-controls button { width: 46px; height: 46px; color: var(--white); background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.24); border-radius: 50%; cursor: pointer; font-size: 1.2rem; transition: background-color .2s ease, transform .2s ease; }
.carousel-controls button:hover { background: rgba(255,255,255,.17); transform: translateY(-2px); }
.carousel-controls p { min-width: 58px; margin: 0; color: rgba(255,255,255,.7); text-align: center; font-size: .78rem; font-weight: 800; letter-spacing: .12em; }

.faq { background: var(--paper); }
.faq-grid { display: grid; grid-template-columns: .7fr 1.3fr; gap: 80px; }
.faq-list details { border-top: 1px solid var(--line); }
.faq-list details:last-child { border-bottom: 1px solid var(--line); }
.faq-list summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 25px; padding: 25px 0; cursor: pointer; font-family: var(--display); font-size: 1.15rem; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary span { font: 300 1.7rem/1 var(--body); transition: transform .2s; }
.faq-list details[open] summary span { transform: rotate(45deg); }
.faq-list details p { max-width: 650px; margin: -8px 0 25px; color: #596a64; }

.site-footer { padding: 78px 0 115px; color: var(--white); background: var(--ink-deep); }
.footer-grid { display: grid; grid-template-columns: 1.7fr .65fr; gap: 60px; }
.footer-grid > div { display: flex; flex-direction: column; align-items: flex-start; gap: 9px; }
.footer-grid > div:first-child p { max-width: 320px; margin-top: 14px; color: rgba(255,255,255,.55); }
.footer-label { margin-bottom: 9px; color: rgba(255,255,255,.47); font-size: .69rem; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
.footer-bottom { display: flex; justify-content: space-between; margin-top: 65px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.45); font-size: .76rem; }

.shopping-sticky { position: fixed; z-index: 30; left: 50%; bottom: max(18px, env(safe-area-inset-bottom)); display: inline-flex; align-items: center; justify-content: center; gap: 11px; min-height: 58px; padding: 0 26px; color: var(--ink-deep); background: var(--mango); border: 1px solid rgba(255,255,255,.65); border-radius: 999px; box-shadow: 0 18px 45px rgba(16,37,31,.28); transform: translateX(-50%); font-weight: 900; white-space: nowrap; }
.shopping-sticky svg { width: 22px; height: 22px; }
.shopping-sticky:disabled { opacity: 1; cursor: not-allowed; }
.proof-dialog { width: min(920px, calc(100vw - 28px)); max-height: calc(100vh - 36px); padding: 0; overflow: visible; border: 0; border-radius: 18px; background: transparent; }
.proof-dialog::backdrop { background: rgba(9,24,19,.83); backdrop-filter: blur(4px); }
.proof-dialog img { width: auto; height: auto; max-width: 100%; max-height: calc(100vh - 36px); margin-inline: auto; object-fit: contain; border-radius: 15px; }
.dialog-close { position: absolute; z-index: 2; right: -12px; top: -12px; width: 42px; height: 42px; color: var(--ink); background: var(--white); border: 0; border-radius: 50%; cursor: pointer; font-size: 1.65rem; line-height: 1; }

[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
[data-reveal].is-visible { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .nav-links { display: none; }
  .hero { min-height: 850px; align-items: end; padding-bottom: 88px; }
  .hero-photo { background-position: 62% center; }
  .hero-shade { background: linear-gradient(90deg, rgba(10,32,25,.89), rgba(10,32,25,.45)), linear-gradient(0deg, rgba(10,32,25,.86) 0%, transparent 62%); }
  .hero-content { padding-top: 130px; }
  .split-heading, .faq-grid { grid-template-columns: 1fr; }
  .benefit-grid { grid-template-columns: 1fr 1fr; }
  .card-blue { grid-column: 1 / -1; }
  .product-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1.5fr 1fr; }
}

@media (max-width: 620px) {
  .container { width: min(100% - 28px, 1180px); }
  .section-pad { padding: 74px 0; }
  .nav-wrap { padding-block: 12px; }
  .brand-logo { width: 122px; }
  .brand-logo-footer { width: 150px; }
  .hero { min-height: 780px; }
  .hero-photo { background-position: 66% center; }
  .hero-shade { background: linear-gradient(0deg, rgba(10,32,25,.97) 0%, rgba(10,32,25,.55) 68%, rgba(10,32,25,.25)); }
  .hero-content { padding-top: 220px; }
  h1 { font-size: clamp(2.55rem, 11.2vw, 3.8rem); }
  .hero-copy { font-size: .98rem; }
  .hero-actions { align-items: stretch; flex-direction: column; gap: 10px; }
  .text-link { align-self: flex-start; }
  .split-heading { gap: 5px; margin-bottom: 48px; }
  .intro-brand-logo { width: 180px; margin: 8px 0 28px; }
  .benefit-grid, .product-grid { grid-template-columns: 1fr; }
  .benefit-card { min-height: 315px; }
  .card-green, .card-blue { transform: none; }
  .card-yellow { transform: none; }
  .section-head { align-items: flex-start; flex-direction: column; gap: 5px; }
  .product-info { min-height: 145px; }
  .carousel-viewport { padding-inline: 18px; }
  .testimonial-slide { flex-basis: calc(100vw - 36px); border-radius: 18px; }
  .testimonial-slide span { left: 12px; bottom: 12px; }
  .shopping-sticky { width: calc(100% - 36px); max-width: 360px; min-height: 56px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { align-items: flex-start; flex-direction: column; gap: 5px; }
}

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

/* Product catalog: preserve every caption in the square source slides. */
.product-image { display: block; aspect-ratio: 1; }
.product-image img { object-fit: contain; }
.product-card:hover img { transform: none; }
.product-card[hidden], .catalog-tools[hidden] { display: none; }
.catalog-tools { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 26px; }
.catalog-filters { display: flex; flex-wrap: wrap; gap: 10px; }
.catalog-filters button, .catalog-slide-tabs button { min-height: 44px; padding: 10px 16px; border: 1px solid currentColor; border-radius: 999px; color: inherit; background: transparent; cursor: pointer; }
.catalog-filters button[aria-pressed="true"] { color: var(--ink); background: var(--mango); border-color: var(--mango); font-weight: 800; }
.catalog-count { margin: 0; font-size: .9rem; }
.catalog-open { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 18px; min-height: 44px; padding: 10px 16px; border-radius: 12px; color: var(--ink); background: var(--paper); font-weight: 800; }
.product-info .availability-note { margin-top: 8px; color: #975518; font-weight: 700; }
.catalog-note { margin-top: 28px; margin-bottom: 0; color: rgba(255,255,255,.7); font-size: .85rem; }
body.catalog-is-open { overflow: hidden; }
.catalog-dialog { width: min(760px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); padding: 24px; border: 0; border-radius: 22px; color: var(--ink); background: var(--paper); overflow-y: auto; overscroll-behavior: contain; }
.catalog-dialog::backdrop { background: rgba(9,24,19,.85); }
.catalog-close { position: sticky; z-index: 2; top: 0; float: right; width: 44px; height: 44px; border: 0; border-radius: 50%; color: var(--white); background: var(--ink); font-size: 1.6rem; cursor: pointer; }
.catalog-dialog-head { padding-right: 52px; }
.catalog-dialog-head .section-kicker { margin-bottom: 14px; }
.catalog-dialog-head h2 { margin-bottom: 10px; font-size: clamp(1.7rem, 5vw, 2.5rem); }
.catalog-dialog-head p:last-child { font-size: .9rem; }
.catalog-slide { width: auto; height: auto; max-width: 100%; max-height: 58dvh; margin-inline: auto; object-fit: contain; border-radius: 12px; }
.catalog-slide-controls { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 16px 0; }
.catalog-slide-controls button { flex: 0 0 44px; height: 44px; border: 0; border-radius: 50%; color: var(--white); background: var(--ink); cursor: pointer; }
.catalog-slide-controls p { margin: 0; text-align: center; font-size: .85rem; }
.catalog-slide-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.catalog-slide-tabs button { padding: 8px 12px; font-size: .75rem; border-color: var(--line); }
.catalog-slide-tabs button[aria-pressed="true"] { background: var(--leaf); border-color: var(--ink); font-weight: 800; }
.catalog-dialog-note { margin: 18px 0 0; text-align: center; font-size: .75rem; color: #64716d; }
@media (max-width: 620px) {
  .catalog-dialog { padding: 16px; }
  .catalog-filters button { padding-inline: 12px; font-size: .8rem; }
}

/* Client revision: Hanna headings and prominent Shopee offer. */
h1, h2, h3 { font-weight: 400; letter-spacing: -.015em; line-height: 1.06; }
.hero-actions .button-primary { min-height: 70px; padding: 16px 32px; font-size: clamp(1.1rem, 2vw, 1.4rem); text-align: center; }
.shopping-sticky { min-height: 76px; padding: 16px 36px; font-size: 1.3rem; }
.shopping-sticky svg { width: 28px; height: 28px; flex-shrink: 0; }
@media (max-width: 620px) {
  .hero-actions .button-primary { min-height: 68px; padding: 16px 20px; font-size: 1.15rem; }
  .shopping-sticky { width: calc(100% - 28px); max-width: 420px; min-height: 70px; padding: 14px 18px; gap: 10px; font-size: clamp(.95rem, 4.2vw, 1.15rem); white-space: normal; text-align: center; }
  .shopping-sticky svg { width: 25px; height: 25px; }
}
