/* =========================================================
   Mia's Som Tam — stylesheet (FINAL)
========================================================= */

:root{
  --green-dark:   #034F2D;
  --green-darker: #023D22;
  --green-btn:    #2F8C46;
  --green-btn-hover: #267539;
  --orange:       #EF5A24;
  --orange-dark:  #D6491A;
  --mint:         #EEF6F1;
  --cream:        #FFFDF9;
  --ink:          #1E2B23;
  --ink-soft:     #4B5A52;
  --line:         #E4E9E5;

  --font-display: 'Baloo 2', system-ui, sans-serif;
  --font-body: 'Nunito Sans', system-ui, sans-serif;
  --font-script: 'Caveat', cursive;

  --max-w: 1180px;
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-pill: 999px;

  --text-xs: clamp(0.68rem, 0.75vw + 0.48rem, 0.85rem);
  --text-sm: clamp(0.82rem, 0.95vw + 0.58rem, 1.0rem);
  --text-base: clamp(0.96rem, 1.15vw + 0.68rem, 1.18rem);
  --text-md: clamp(1.10rem, 1.35vw + 0.78rem, 1.38rem);
  --text-lg: clamp(1.32rem, 1.70vw + 0.95rem, 1.65rem);
  --text-xl: clamp(1.68rem, 2.30vw + 1.15rem, 2.15rem);
  --text-2xl: clamp(2.20rem, 3.20vw + 1.40rem, 2.90rem);
  --text-3xl: clamp(2.80rem, 4.50vw + 1.80rem, 3.80rem);
  --text-4xl: clamp(3.60rem, 6.20vw + 2.20rem, 5.20rem);
  --text-nav: clamp(0.80rem, 0.90vw + 0.55rem, 0.95rem);
}

*, *::before, *::after{ box-sizing: border-box; }

html{ scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *, *::before, *::after{ animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

body{
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  font-size: var(--text-base);
}

img{ max-width: 100%; display: block; }

a{ color: inherit; text-decoration: none; }

ul{ list-style: none; margin: 0; padding: 0; }

h1, h2, h3, h4{
  font-family: var(--font-display);
  color: var(--green-dark);
  margin: 0 0 .4em;
  line-height: 1.2;
  font-weight: 700;
}

h1 { font-size: var(--text-4xl); }
h2 { font-size: var(--text-3xl); }
h3 { font-size: var(--text-xl); }
h4 { font-size: var(--text-lg); }

p{ 
  margin: 0 0 1em; 
  color: var(--ink-soft);
  font-size: var(--text-base);
}

.container{
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.accent{ color: var(--orange); }

.icon{ width: 1.2em; height: 1.2em; fill: currentColor; flex-shrink: 0; }

/* ---------- Buttons ---------- */
.btn{
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border-radius: var(--radius-pill);
  padding: 16px 30px;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: var(--text-base);
  border: none;
  cursor: pointer;
  transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease;
  white-space: nowrap;
}
.btn:focus-visible{
  outline: 3px solid var(--orange);
  outline-offset: 2px;
}
.btn-whatsapp{
  background: var(--green-btn);
  color: #fff;
  box-shadow: 0 8px 18px -8px rgba(47,140,70,.55);
}
.btn-whatsapp:hover{ background: var(--green-btn-hover); transform: translateY(-2px); }
.btn-whatsapp .arrow{ transition: transform .15s ease; }
.btn-whatsapp:hover .arrow{ transform: translateX(4px); }
.btn-lg{ padding: 18px 34px; font-size: var(--text-lg); }

.nav-order{ 
  padding: 10px 22px; 
  font-size: var(--text-nav);
}

/* ---------- Language Toggle ---------- */
.lang-toggle-group {
  display: inline-flex;
  gap: 3px;
  background: var(--mint);
  border-radius: var(--radius-pill);
  padding: 4px;
  border: 2px solid var(--green-dark);
  margin-left: 6px;
}

.lang-toggle-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 6px 16px;
  min-width: 60px;
  border: none;
  border-radius: var(--radius-pill);
  background: transparent;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: var(--text-sm);
  color: var(--ink-soft);
  cursor: pointer;
  transition: all 0.2s ease;
  line-height: 1.4;
  white-space: nowrap;
}

.lang-toggle-btn .lang-flag {
  font-size: var(--text-base);
  line-height: 1;
}
.lang-toggle-btn .lang-label {
  font-size: var(--text-xs);
  letter-spacing: 0.03em;
}
.lang-toggle-btn:hover {
  color: var(--green-dark);
  background: rgba(3, 79, 45, 0.08);
}
.lang-toggle-btn.active {
  background: var(--green-dark);
  color: #fff;
  box-shadow: 0 2px 10px rgba(3, 79, 45, 0.35);
}
.lang-toggle-btn.active:hover {
  background: var(--green-darker);
  color: #fff;
}
.lang-toggle-btn:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 2px;
}

/* ---------- Header ---------- */
.site-header{
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,253,249,.92);
  backdrop-filter: saturate(160%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
  gap: 20px;
}
.brand-logo{ height: 80px; width: auto; }

.main-nav{
  display: flex;
  align-items: center;
  gap: 34px;
  font-weight: 700;
  font-size: var(--text-nav);
}
.main-nav a:not(.btn){
  position: relative;
  padding: 8px 0;
  color: var(--ink);
}
.main-nav a:not(.btn)::after{
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -3px;
  height: 3px;
  background: var(--green-dark);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .18s ease;
}
.main-nav a.active::after,
.main-nav a:not(.btn):hover::after{ transform: scaleX(1); }

.nav-toggle{
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 0;
}
.nav-toggle span{
  display: block;
  height: 3px;
  width: 100%;
  background: var(--green-dark);
  border-radius: 3px;
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1){ transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2){ opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3){ transform: translateY(-8px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero{ 
  padding: 0;
  overflow: hidden;
  min-height: 80vh;
  display: flex;
  align-items: center;
}

.hero-inner{
  display: flex;
  gap: 56px;
  align-items: stretch;
  width: 100%;
  min-height: 70vh;
  padding: 40px 24px;
}

.hero-copy {
  flex: 1.05;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 20px 0;
}

.hero-media {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 0;
}

.hero-photo {
  width: 100%;
  height: auto;
  max-height: 70vh;
  object-fit: contain;
  border-radius: var(--radius-lg);
  box-shadow: 0 35px 55px -28px rgba(3,79,45,.4);
}

.eyebrow {
  font-weight: 800;
  color: var(--green-dark);
  letter-spacing: 0.05em;
  font-size: var(--text-base);
  margin-bottom: 0.5em;
  text-transform: uppercase;
}

.hero-title {
  font-size: var(--text-4xl);
  margin-bottom: 0.3em;
  line-height: 1.05;
  font-weight: 800;
}

.hero-title .accent {
  color: var(--orange);
}

.hero-desc {
  max-width: 48ch;
  font-size: var(--text-lg);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.price-row {
  margin: 0 0 4px 0;
}

.price-badge {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  background: var(--orange);
  color: #fff;
  padding: 14px 30px;
  border-radius: var(--radius-pill);
  box-shadow: 0 12px 24px -12px rgba(239,90,36,.6);
}

.price-amount {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--text-2xl);
}

.price-unit {
  font-weight: 700;
  opacity: .92;
  font-size: var(--text-base);
}

.price-note {
  margin: 6px 2px 20px;
  font-weight: 400;
  color: var(--ink-soft);
  font-size: var(--text-base);
  font-style: italic;
}

/* ---------- Section shell ---------- */
.section{ padding: 84px 0; }

/* ============================================================
   SECTION TITLES
   ============================================================ */
.section-title{
  font-size: clamp(2rem, 3.2vw + 0.8rem, 2.8rem);
  margin-bottom: .3em;
  line-height: 1.2;
  font-weight: 700;
}

.section-title br {
  display: block;
  content: "";
  margin: 0;
}

.ingredients-copy .section-title {
  font-size: clamp(1.8rem, 2.8vw + 0.6rem, 2.5rem);
  line-height: 1.15;
}

.made-fresh-copy .section-title {
  font-size: clamp(1.8rem, 2.8vw + 0.6rem, 2.5rem);
  line-height: 1.15;
}

.handwritten {
  font-family: var(--font-script);
  font-size: clamp(1.4rem, 2vw + 0.4rem, 1.8rem);
  color: var(--green-dark);
  line-height: 1.2;
  font-weight: 700;
  margin-top: 16px;
  position: relative;
  display: inline-block;
}

.handwritten::after{
  content: '';
  position: absolute;
  left: 2px;
  bottom: -4px;
  width: 78%;
  height: 5px;
  background: var(--orange);
  border-radius: 3px;
}

.section-desc{
  font-size: var(--text-lg);
  line-height: 1.7;
  max-width: 60ch;
}
.section-sub{
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 28px;
  font-size: var(--text-md);
}

/* ---------- Ingredients ---------- */
.ingredients-inner{
  display: grid;
  grid-template-columns: .9fr 1.4fr;
  gap: 56px;
  align-items: center;
}
.ingredient-cards{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.ingredient-card{
  text-align: center;
  background: var(--mint);
  border-radius: var(--radius-md);
  padding: 28px 20px 32px;
}
.ingredient-card img{
  margin: 0 auto 14px;
  width: 100%;
  max-width: 160px;
  height: auto;
}
.ingredient-name{ 
  font-size: var(--text-xl); 
  margin-bottom: .3em; 
}
.ingredient-desc{ 
  font-size: var(--text-base); 
  margin: 0; 
}

/* ---------- Feature strip ---------- */
.feature-strip{ background: var(--mint); padding: 60px 0; }
.feature-strip-inner{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}
.feature-icon{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  border: 2px solid currentColor;
  margin-bottom: 16px;
}
.feature-icon svg{ width: 32px; height: 32px; }
.icon-green{ color: #3E9B5C; }
.icon-dark{ color: var(--green-dark); }
.icon-orange{ color: var(--orange); }
.feature-title{ 
  font-size: var(--text-xl); 
  margin-bottom: .25em; 
}
.feature-desc{ 
  font-size: var(--text-base); 
  margin: 0; 
}

/* ---------- Dressing ---------- */
.dressing{ background: var(--cream); }
.dressing-inner{
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 34px;
  align-items: stretch;
}
.dressing-cards{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
}
.dressing-card{
  background: var(--mint);
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
}
.dressing-card img{
  width: 100%;
  max-width: 170px;
  margin: 0 auto 14px;
  border-radius: 50%;
  aspect-ratio: 1/1;
  object-fit: cover;
}
.dressing-name{ 
  font-size: var(--text-2xl); 
  margin-bottom: .3em; 
}
.dressing-name.original{ color: var(--orange); }
.dressing-name.trasi{ color: #B22B1F; }
.dressing-desc{ 
  font-size: var(--text-base); 
  margin: 0; 
}

.price-panel{
  background: var(--green-dark);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 40px 34px;
  position: relative;
  overflow: hidden;
}
.price-panel-amount{
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 800;
  margin: 0;
  color: #fff;
}
.price-panel-tag{
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--text-3xl);
  color: #fff;
  margin: 0 0 16px;
  position: relative;
  display: inline-block;
}
.price-panel-tag::after{
  content: '';
  position: absolute;
  left: 0; right: -6%; bottom: -6px;
  height: 7px;
  background: var(--orange);
  border-radius: 4px;
  transform: rotate(-1deg);
}
.price-panel-desc{ 
  color: rgba(255,255,255,.85); 
  margin-bottom: 24px;
  font-size: var(--text-base);
}
.checklist li{
  position: relative;
  padding-left: 34px;
  margin-bottom: 14px;
  font-weight: 700;
  font-size: var(--text-base);
}
.checklist li::before{
  content: '✓';
  position: absolute;
  left: 0; top: -1px;
  width: 22px; height: 22px;
  background: var(--orange);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .8rem;
}

/* ---------- Made fresh ---------- */
.made-fresh{ background: var(--cream); }
.made-fresh-inner{
  display: grid;
  grid-template-columns: 1fr 1.1fr 1fr;
  gap: 40px;
  align-items: center;
}
.made-fresh-media img{
  border-radius: var(--radius-lg);
  box-shadow: 0 28px 50px -24px rgba(3,79,45,.4);
}
.benefit-list li{
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  margin-bottom: 16px;
  font-size: var(--text-base);
  color: var(--ink);
}
.benefit-list li .icon{ 
  color: var(--green-dark); 
  width: 24px; 
  height: 24px; 
}
.benefit-list li:nth-child(2) .icon{ color: #3E9B5C; }

.coming-soon{
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: #FCE9DE;
  border-radius: var(--radius-md);
  padding: 18px 22px;
  margin-top: 8px;
}
.coming-soon-icon{ font-size: 2rem; line-height: 1; }
.coming-soon-title{ 
  color: var(--orange-dark); 
  font-weight: 800; 
  margin: 0; 
  font-size: var(--text-sm); 
  letter-spacing: .02em; 
}
.coming-soon-name{ 
  color: var(--orange-dark); 
  font-weight: 800; 
  margin: 4px 0; 
  font-size: var(--text-base);
}
.coming-soon-desc{ 
  margin: 0; 
  font-size: var(--text-sm); 
  color: #9A5A3D; 
}

/* ---------- CTA banner ---------- */
.cta-banner{
  position: relative;
  background: linear-gradient(180deg, #FBF3E6, #F6ECD9);
  padding: 80px 0 70px;
  text-align: center;
  overflow: hidden;
}
.cta-inner{ position: relative; z-index: 2; max-width: 600px; margin: 0 auto; }
.cta-title{ 
  font-size: var(--text-3xl); 
  margin-bottom: 20px; 
}
.cta-logo{ height: 84px; width: auto; margin: 0 auto 10px; }
.cta-tagline{ 
  font-weight: 800; 
  color: var(--ink); 
  margin-bottom: 20px;
  font-size: var(--text-xl);
}
.cta-banner .price-badge{ margin-bottom: 6px; }
.cta-banner .price-note{ margin-bottom: 26px; }
.cta-script{
  margin-top: 30px;
  font-size: var(--text-2xl);
}
.cta-script::after{ left: 8%; width: 60%; }

.cta-deco{
  position: absolute;
  top: 0;
  height: 100%;
  width: 220px;
  object-fit: cover;
  opacity: .95;
  z-index: 1;
}
.cta-deco-left{ left: 0; mask-image: linear-gradient(to right, black 55%, transparent 100%); -webkit-mask-image: linear-gradient(to right, black 55%, transparent 100%); }
.cta-deco-right{ right: 0; mask-image: linear-gradient(to left, black 55%, transparent 100%); -webkit-mask-image: linear-gradient(to left, black 55%, transparent 100%); }

/* ---------- Footer ---------- */
.site-footer{ background: var(--green-darker); color: #EAF3EC; padding-top: 44px; }
.footer-inner{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,.15);
}
.footer-brand{ display: flex; align-items: center; gap: 16px; }
.footer-brand img{ height: 44px; width: auto; }
.footer-brand p{ 
  margin: 0; 
  font-weight: 700; 
  color: #CFE3D5; 
  font-size: var(--text-base); 
}
.footer-nav{ 
  display: flex; 
  gap: 26px; 
  flex-wrap: wrap; 
  font-weight: 700; 
  font-size: var(--text-base); 
}
.footer-nav a:hover{ color: #fff; text-decoration: underline; }
.footer-social{ display: flex; gap: 16px; }
.footer-social a{
  width: 42px; height: 42px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 50%;
  transition: background-color .15s ease, transform .15s ease;
}
.footer-social a:hover{ background: rgba(255,255,255,.12); transform: translateY(-3px); }
.footer-social svg{ width: 20px; height: 20px; }
.footer-bottom{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  padding: 20px 24px 24px;
  font-size: var(--text-sm);
  color: #A9C4B1;
}
.footer-bottom p{ margin: 0; }

/* ---------- Back to top ---------- */
.back-to-top{
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: none;
  background: var(--green-dark);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
  z-index: 90;
  box-shadow: 0 12px 24px -10px rgba(0,0,0,.4);
}
.back-to-top.visible{ opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top svg{ width: 24px; height: 24px; }

/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1024px){
  /* =====================================================
     SKALA TEKS TABLET — DINAIKKAN +2px LAGI
     ===================================================== */
  :root{
    --text-xs:   clamp(0.90rem, 0.90vw + 0.65rem, 1.08rem);
    --text-sm:   clamp(1.02rem, 1.05vw + 0.75rem, 1.24rem);
    --text-base: clamp(1.16rem, 1.25vw + 0.88rem, 1.40rem);
    --text-md:   clamp(1.30rem, 1.45vw + 0.98rem, 1.58rem);
    --text-lg:   clamp(1.52rem, 1.85vw + 1.16rem, 1.88rem);
    --text-xl:   clamp(1.88rem, 2.45vw + 1.36rem, 2.38rem);
    --text-2xl:  clamp(2.38rem, 3.40vw + 1.64rem, 3.08rem);
    --text-3xl:  clamp(2.94rem, 4.80vw + 2.00rem, 3.98rem);
    --text-4xl:  clamp(3.52rem, 6.60vw + 2.30rem, 5.28rem);
    --text-nav:  clamp(1.04rem, 1.00vw + 0.75rem, 1.22rem);
  }

  .hero{ 
    min-height: auto;
    padding: 50px 0 60px;
  }
  .hero-inner{
    flex-direction: column;
    gap: 40px;
    min-height: auto;
    padding: 20px 24px;
  }
  .hero-media{ 
    order: -1;
    max-width: 520px;
    margin: 0 auto;
    padding: 10px 0;
  }
  .hero-photo{
    max-height: 50vh;
  }
  .hero-copy {
    padding: 10px 0;
    text-align: center;
  }
  .hero-desc {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }
  .price-row {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .price-badge {
    justify-content: center;
  }
  .btn-lg {
    width: 100%;
    justify-content: center;
  }
  .ingredients-inner{ grid-template-columns: 1fr; }
  .made-fresh-inner{ grid-template-columns: 1fr; }
  .made-fresh-media{ order: -1; max-width: 480px; margin: 0 auto; }
  .dressing-inner{ grid-template-columns: 1fr; }
  
  .ingredients-copy .section-title,
  .made-fresh-copy .section-title {
    font-size: var(--text-2xl);
    line-height: 1.15;
  }
  .handwritten {
    font-size: clamp(1.5rem, 2.5vw + 0.5rem, 1.85rem);
  }
}

@media (max-width: 860px){
  .main-nav{
    position: fixed;
    top: 82px;
    left: 0; right: 0;
    background: var(--cream);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 14px 24px 24px;
    border-bottom: 1px solid var(--line);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .18s ease, transform .18s ease, visibility .18s;
  }
  .main-nav.open{
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }
  .main-nav a:not(.btn){ 
    padding: 14px 0; 
    border-bottom: 1px solid var(--line);
    font-size: var(--text-base);
  }
  .main-nav a.active::after, 
  .main-nav a:not(.btn):hover::after{ display:none; }
  .nav-order{ margin-top: 16px; align-self: flex-start; }
  .nav-toggle{ display: flex; }
  
  .lang-toggle-group {
    align-self: flex-start;
    margin-top: 16px;
    padding: 4px;
    width: 100%;
    justify-content: stretch;
    border-radius: var(--radius-md);
  }
  .lang-toggle-btn {
    flex: 1;
    justify-content: center;
    padding: 10px 16px;
    font-size: var(--text-base);
    min-width: 0;
  }
  .lang-toggle-btn .lang-flag { font-size: var(--text-md); }
  .lang-toggle-btn .lang-label { font-size: var(--text-sm); }

  .feature-strip-inner{ grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .cta-deco{ width: 140px; }
  .hero{ padding: 40px 0 50px; }
  .hero-inner{ gap: 30px; }
  .hero-media{ max-width: 420px; }
  .hero-photo{ max-height: 40vh; }
  
  .ingredients-copy .section-title,
  .made-fresh-copy .section-title {
    font-size: var(--text-xl);
    line-height: 1.2;
  }
  .handwritten {
    font-size: clamp(1.4rem, 2vw + 0.45rem, 1.7rem);
  }
}

@media (max-width: 640px){
  /* =====================================================
     SKALA TEKS MOBILE — DINAIKKAN +2px LAGI (TOTAL +4px dari awal)
     Dengan pembatasan --text-2xl & --text-4xl hanya +1.5px
     ===================================================== */
  :root{
    --text-xs:   clamp(0.96rem, 1.20vw + 0.70rem, 1.14rem);
    --text-sm:   clamp(1.08rem, 1.30vw + 0.80rem, 1.26rem);
    --text-base: clamp(1.20rem, 1.50vw + 0.90rem, 1.40rem);
    --text-md:   clamp(1.34rem, 1.80vw + 1.00rem, 1.58rem);
    --text-lg:   clamp(1.54rem, 2.20vw + 1.15rem, 1.86rem);
    --text-xl:   clamp(1.92rem, 2.80vw + 1.35rem, 2.36rem);
    --text-2xl:  clamp(2.40rem, 3.80vw + 1.65rem, 3.10rem);   /* +1.5px, bukan +2px */
    --text-3xl:  clamp(2.92rem, 5.00vw + 2.00rem, 3.82rem);   /* +1.5px */
    --text-4xl:  clamp(3.42rem, 6.50vw + 2.20rem, 4.82rem);   /* +1.5px */
    --text-nav:  clamp(1.12rem, 1.20vw + 0.80rem, 1.28rem);
  }

  /* Line-height disesuaikan untuk teks besar */
  body{ line-height: 1.55; }
  .hero-title,
  .section-title,
  .ingredient-name,
  .dressing-name,
  .feature-title,
  .cta-title,
  .price-panel-tag,
  .coming-soon-name {
    line-height: 1.15;
  }

  .container{ padding: 0 18px; }
  .hero{ padding: 30px 0 40px; min-height: auto; }
  .hero-inner{ gap: 24px; min-height: auto; padding: 10px 18px; }
  .hero-media{ max-width: 100%; padding: 5px 0; }
  .hero-photo{ max-height: 35vh; width: 100%; }
  .hero-copy { padding: 0; text-align: left; }
  .section{ padding: 60px 0; }
  .ingredient-cards{ grid-template-columns: 1fr; gap: 18px; }
  .dressing-cards{ grid-template-columns: 1fr; }
  .feature-strip-inner{ grid-template-columns: 1fr 1fr; }
  .price-badge{ padding: 12px 24px; flex-wrap: wrap; justify-content: center; width: 100%; }
  .brand-logo{ height: 48px; }
  .btn-lg{ width: 100%; justify-content: center; }
  .cta-deco{ display: none; }
  .footer-inner, .footer-bottom{ flex-direction: column; align-items: flex-start; text-align: left; }
  
  .hero-title { font-size: var(--text-2xl); }
  .hero-desc { font-size: var(--text-base); max-width: 100%; }
  .eyebrow { font-size: var(--text-base); }
  .price-amount { font-size: var(--text-xl); }
  .price-unit { font-size: var(--text-sm); }
  .price-note { font-size: var(--text-sm); }
  .price-row { align-items: flex-start; }
  
  .lang-toggle-group { border-radius: var(--radius-md); }
  .lang-toggle-btn { padding: 8px 12px; font-size: var(--text-sm); min-width: 0; }
  .lang-toggle-btn .lang-flag { font-size: var(--text-base); }
  .lang-toggle-btn .lang-label { font-size: var(--text-xs); }
  
  .section-title { font-size: var(--text-2xl); }
  .section-desc { font-size: var(--text-base); }
  
  /* Judul section = ukuran "Green Papaya" */
  .ingredients-copy .section-title,
  .made-fresh-copy .section-title {
    font-size: var(--text-xl);
    line-height: 1.15;
  }
  .handwritten {
    font-size: var(--text-lg);
  }
}

/* =========================================================
   PRINT STYLES
========================================================= */
@media print {
  .site-header, .nav-toggle, .lang-toggle-group, .back-to-top, .footer-social, .cta-deco { display: none !important; }
  .hero { padding: 20px 0; min-height: auto; }
  .hero-inner { display: block; min-height: auto; padding: 10px; }
  .hero-media { max-width: 300px; margin: 20px auto; min-height: auto; }
  .hero-photo { max-height: 300px; }
  .price-badge { background: #333 !important; color: #fff !important; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}