/* Pentol Galipat — static build. Design tokens preserved from original. */
:root {
  --radius: 0.375rem;
  --background: #FBF7EC;
  --foreground: #1E3A8A;
  --card: #ffffff;
  --muted-foreground: #5B6B8C;
  --border: #D9DCE5;
  --brand-blue: #1E4FA3;
  --brand-deep: #0A2A63;
  --brand-yellow: #F5C445;
  --brand-gold: #D9A62E;
  --brand-red: #C62828;
  --brand-cream: #FBF7EC;
  --product-overlay: linear-gradient(180deg, transparent 0%, rgba(10, 30, 70, 0.95) 100%);
  --font-sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Playfair Display", Georgia, serif;
  --font-script: "Sacramento", cursive;
}

* { box-sizing: border-box; border-color: var(--border); }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font-sans);
  letter-spacing: 0;
}
img { max-width: 100%; }
a { transition: color 180ms ease, background-color 180ms ease, transform 180ms ease, border-color 180ms ease, gap 180ms ease; }
::selection { background: var(--brand-yellow); color: var(--brand-deep); }
main { overflow: hidden; }

/* ---------- textures & type ---------- */
.hero-texture {
  background-image:
    radial-gradient(circle at 82% 26%, rgba(255,255,255,0.05) 0 1px, transparent 1.5px),
    radial-gradient(circle at 76% 44%, rgba(255,255,255,0.04) 0 1px, transparent 1.5px);
  background-size: 22px 22px, 31px 31px;
}
.paper-texture {
  background-color: var(--brand-cream);
  background-image:
    linear-gradient(90deg, rgba(120,100,60,0.05) 1px, transparent 1px),
    linear-gradient(rgba(120,100,60,0.04) 1px, transparent 1px);
  background-size: 4px 4px;
}
.blue-pattern {
  background-color: var(--brand-blue);
  background-image:
    linear-gradient(30deg, rgba(255,255,255,0.04) 12%, transparent 12.5%, transparent 87%, rgba(255,255,255,0.04) 87.5%),
    linear-gradient(150deg, rgba(255,255,255,0.04) 12%, transparent 12.5%, transparent 87%, rgba(255,255,255,0.04) 87.5%);
  background-size: 36px 62px;
}
.font-display { font-family: var(--font-display); letter-spacing: 0; }
.font-script { font-family: var(--font-script); letter-spacing: 0; }

/* ---------- nav ---------- */
.nav-link { position: relative; color: currentColor; text-decoration: none; }
.nav-link::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -7px; height: 2px; background: currentColor; transition: right 180ms ease; }
.nav-link:hover::after { right: 0; }
.order-button {
  display: inline-flex; align-items: center; gap: 0.5rem; min-height: 2.75rem; padding: 0 1rem;
  border: 1px solid currentColor; border-radius: 999px; text-decoration: none; color: inherit;
}
.order-button:hover { transform: translateY(-2px); background: rgba(255,255,255,0.12); }
.brand-seal {
  display: inline-flex; height: 2.75rem; width: 2.75rem; align-items: center; justify-content: center;
  border: 1px solid currentColor; border-radius: 999px;
}
.brand-seal svg { width: 22px; height: 22px; }

/* ---------- CTAs ---------- */
.primary-cta {
  display: inline-flex; min-height: 3.25rem; align-items: center; gap: 0.75rem; border-radius: 999px;
  background: var(--brand-blue); color: var(--brand-cream); padding: 0 1.5rem; font-size: 0.78rem; font-weight: 800;
  text-transform: uppercase; text-decoration: none;
}
.primary-cta:hover { transform: translateY(-2px); background: var(--brand-deep); }
.text-link {
  display: inline-flex; align-items: center; gap: 0.5rem; color: var(--brand-blue); font-size: 0.8rem; font-weight: 800; text-decoration: none;
}
.text-link:hover { gap: 0.75rem; }
.outline-cta {
  display: inline-flex; min-height: 2.8rem; align-items: center; gap: 0.7rem; border: 1px solid rgba(251,247,236,0.5);
  border-radius: 999px; padding: 0 1.4rem; color: var(--brand-cream); font-size: 0.72rem; font-weight: 800;
  text-transform: uppercase; text-decoration: none;
}
.outline-cta:hover { background: var(--brand-cream); color: var(--brand-blue); }

/* ---------- hero art ---------- */
.hero-image-ring {
  position: absolute; left: 50%; top: 48%; width: min(500px, 86vw); aspect-ratio: 1; transform: translate(-50%, -50%);
  border: 10px solid rgba(240,244,252,0.9); border-radius: 999px; overflow: hidden;
  box-shadow: 0 28px 80px rgba(20,40,100,0.42), inset 0 0 0 4px rgba(255,255,255,0.28);
  background: var(--brand-yellow);
}
.hero-image-ring img { width: 100%; height: 100%; object-fit: cover; display: block; }
.taste-note { position: absolute; z-index: 3; right: -1rem; top: 18%; display: flex; align-items: center; gap: 0.8rem; color: var(--brand-cream); font-family: var(--font-script); font-size: 1.6rem; line-height: 1.1; transform: rotate(-7deg); }
.taste-note svg { width: 30px; height: 30px; flex: none; }
.floating-dish { position: absolute; z-index: 4; width: 120px; aspect-ratio: 1; overflow: hidden; border: 5px solid var(--brand-cream); border-radius: 999px; box-shadow: 0 18px 45px rgba(20,40,100,0.35); background: var(--brand-yellow); }
.floating-dish img { width: 100%; height: 100%; object-fit: cover; display: block; }
.floating-dish-one { left: -1rem; top: 11%; }
.floating-dish-two { right: -3rem; bottom: 6%; }

/* ---------- categories ---------- */
.category-icon { margin-inline: auto; display: flex; width: 4.6rem; aspect-ratio: 1; align-items: center; justify-content: center; border-radius: 999px; background: var(--card); color: var(--brand-blue); box-shadow: 0 10px 30px rgba(60,70,110,0.12); transition: transform 180ms ease, color 180ms ease, background 180ms ease; }
.category-icon svg { width: 27px; height: 27px; }
.category-item:hover .category-icon { transform: translateY(-5px); color: var(--brand-cream); background: var(--brand-blue); }

/* ---------- product cards ---------- */
.product-card { width: min(78vw, 290px); border-radius: 0.25rem; overflow: hidden; background: var(--brand-deep); box-shadow: 0 20px 40px rgba(20,40,100,0.26); }
.product-card img { transition: transform 600ms ease; }
.product-card:hover img { transform: scale(1.045); }
.product-number { position: absolute; left: 1rem; top: 1rem; display: grid; width: 2.2rem; aspect-ratio: 1; place-items: center; border: 1px solid rgba(255,255,255,0.7); border-radius: 999px; background: rgba(20,40,100,0.45); color: var(--brand-cream); font-size: 0.7rem; font-weight: 800; backdrop-filter: blur(5px); z-index: 2; }
.price-tag {
  display: inline-block; margin-top: 0.6rem; padding: 0.3rem 0.8rem; border-radius: 999px;
  background: var(--brand-yellow); color: var(--brand-deep); font-size: 0.78rem; font-weight: 800;
}
.price-anchor { display: block; margin-top: 0.35rem; font-size: 0.68rem; color: rgba(251,247,236,0.65); }
.card-order {
  display: inline-flex; align-items: center; gap: 0.4rem; margin-top: 0.7rem; font-size: 0.72rem; font-weight: 800;
  text-transform: uppercase; color: var(--brand-cream); text-decoration: none; border-bottom: 2px solid var(--brand-yellow); padding-bottom: 2px;
}
.card-order:hover { color: var(--brand-yellow); }

/* ---------- price list ---------- */
.price-grid { display: grid; gap: 0.8rem; grid-template-columns: 1fr; }
.price-row {
  display: flex; align-items: center; gap: 0.9rem; background: rgba(251,247,236,0.06);
  border: 1px solid rgba(251,247,236,0.16); border-radius: 0.75rem; padding: 0.8rem 1rem;
}
.price-row:hover { background: rgba(251,247,236,0.1); }
.price-dot { flex: none; width: 2.4rem; height: 2.4rem; border-radius: 999px; display: grid; place-items: center; background: var(--brand-yellow); color: var(--brand-deep); font-weight: 800; font-size: 0.7rem; }
.price-info { flex: 1; min-width: 0; }
.price-name { margin: 0; font-weight: 800; font-size: 0.9rem; color: var(--brand-cream); }
.price-sub { margin: 0.15rem 0 0; font-size: 0.72rem; color: rgba(251,247,236,0.6); }
.price-value { flex: none; text-align: right; }
.price-value strong { display: block; color: var(--brand-yellow); font-size: 0.92rem; }
.price-order { font-size: 0.68rem; font-weight: 800; text-transform: uppercase; color: var(--brand-cream); text-decoration: none; border-bottom: 1px solid var(--brand-yellow); }
.price-order:hover { color: var(--brand-yellow); }

/* ---------- promo tiers ---------- */
.promo-grid { display: grid; gap: 0.9rem; grid-template-columns: 1fr; }
.promo-card {
  position: relative; border-radius: 0.9rem; padding: 1.4rem 1.2rem; text-align: center;
  background: rgba(251,247,236,0.06); border: 1px solid rgba(245,196,69,0.45);
}
.promo-card.featured { background: var(--brand-yellow); border-color: var(--brand-yellow); }
.promo-card.featured .promo-title, .promo-card.featured .promo-desc { color: var(--brand-deep); }
.promo-badge {
  display: inline-block; font-size: 0.65rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.12em;
  background: var(--brand-red); color: #fff; border-radius: 999px; padding: 0.25rem 0.8rem; margin-bottom: 0.7rem;
}
.promo-card.featured .promo-badge { background: var(--brand-deep); color: var(--brand-yellow); }
.promo-title { margin: 0; font-family: var(--font-display); font-size: 1.5rem; font-weight: 900; color: var(--brand-cream); }
.promo-desc { margin: 0.5rem 0 0; font-size: 0.82rem; line-height: 1.6; color: rgba(251,247,236,0.75); }

/* ---------- quality / story ---------- */
.quality-curve { position: relative; }
.quality-curve::before { content: ""; position: absolute; z-index: 0; left: -10%; right: -10%; top: -85px; height: 170px; border-radius: 50% 50% 0 0 / 100% 100% 0 0; background: var(--brand-cream); }
.quality-curve > div { position: relative; z-index: 1; }
.quality-image-wrap { position: relative; display: grid; min-height: 430px; place-items: center; }
.quality-image { width: min(430px, 90vw); aspect-ratio: 1; border: 8px solid var(--brand-cream); border-radius: 999px; object-fit: cover; box-shadow: 0 28px 60px rgba(40,50,110,0.22); background: var(--brand-yellow); }
.ingredient-ring { position: absolute; z-index: 2; display: grid; width: 70px; aspect-ratio: 1; place-items: center; border-radius: 999px; background: var(--brand-yellow); color: var(--brand-blue); font-family: var(--font-script); font-size: 1.35rem; box-shadow: 0 12px 30px rgba(60,70,110,0.18); }
.ingredient-ring-one { left: 5%; top: 13%; transform: rotate(-8deg); }
.ingredient-ring-two { right: 3%; bottom: 15%; transform: rotate(7deg); background: var(--brand-red); color: var(--brand-cream); }
.check-dot { display: inline-grid; width: 1.8rem; aspect-ratio: 1; place-items: center; border-radius: 999px; background: var(--brand-yellow); color: var(--brand-blue); flex: none; }
.check-dot svg { width: 14px; height: 14px; }

/* proof quotes */
.proof-quote {
  border-left: 3px solid var(--brand-yellow); background: #fff; border-radius: 0 0.6rem 0.6rem 0;
  box-shadow: 0 8px 24px rgba(60,70,110,0.1); padding: 0.9rem 1rem; margin-top: 0.9rem;
}
.proof-quote p { margin: 0; font-size: 0.85rem; line-height: 1.65; color: var(--foreground); font-style: italic; }
.proof-quote cite { display: block; margin-top: 0.4rem; font-style: normal; font-size: 0.72rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; color: var(--brand-red); }

/* ---------- value strip ---------- */
.order-step { position: relative; }
.step-number { font-family: var(--font-display); font-size: 4rem; font-weight: 900; color: rgba(30,79,163,0.1); line-height: 1; }
.step-icon { position: relative; margin: -1.5rem auto 0; display: grid; width: 5rem; aspect-ratio: 1; place-items: center; border: 1px solid rgba(30,79,163,0.2); border-radius: 999px; background: var(--brand-cream); color: var(--brand-red); box-shadow: 0 10px 28px rgba(60,70,110,0.1); }
.step-icon svg { width: 30px; height: 30px; }

/* ---------- contact band & footer ---------- */
.contact-band { position: relative; overflow: hidden; }
.contact-band::after { content: "PENTOL"; position: absolute; right: -1rem; bottom: -3.5rem; font-family: var(--font-display); font-size: 12rem; font-weight: 900; color: rgba(255,255,255,0.05); line-height: 1; }
.contact-band > div { position: relative; z-index: 1; }
.contact-cta { display: inline-flex; min-height: 3.6rem; align-items: center; justify-content: center; gap: 0.75rem; border-radius: 999px; background: var(--brand-yellow); color: var(--brand-blue); padding: 0 1.6rem; font-size: 0.8rem; font-weight: 800; text-transform: uppercase; text-decoration: none; white-space: nowrap; }
.contact-cta:hover { transform: translateY(-3px); background: var(--brand-gold); }
.contact-cta svg { width: 21px; height: 21px; }
.footer-label { color: var(--brand-gold); font-size: 0.7rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.16em; }

/* ---------- floating badge (required) ---------- */
.galipat-badge {
  position: fixed; left: 14px; bottom: 14px; z-index: 9999;
  display: inline-flex; align-items: center; gap: 0.45rem;
  background: var(--brand-deep); color: var(--brand-cream);
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.02em;
  padding: 0.55rem 0.9rem; border-radius: 999px; text-decoration: none;
  border: 1px solid rgba(245,196,69,0.55);
  box-shadow: 0 8px 24px rgba(5,15,40,0.35);
}
.galipat-badge:hover { background: var(--brand-blue); transform: translateY(-2px); }
.galipat-badge .badge-dot { width: 7px; height: 7px; border-radius: 999px; background: var(--brand-yellow); flex: none; }

/* ---------- floating WA ---------- */
.wa-float {
  position: fixed; right: 14px; bottom: 14px; z-index: 9999;
  width: 56px; height: 56px; border-radius: 999px;
  background: #25D366; display: grid; place-items: center; text-decoration: none;
  box-shadow: 0 10px 28px rgba(10,80,40,0.4);
}
.wa-float:hover { transform: translateY(-3px) scale(1.03); }
.wa-float svg { width: 30px; height: 30px; fill: #fff; }
.wa-float::before {
  content: ""; position: absolute; inset: -4px; border-radius: 999px;
  border: 2px solid rgba(37,211,102,0.5); animation: wa-ping 2.2s ease-out infinite;
}
@keyframes wa-ping { 0% { transform: scale(0.85); opacity: 1; } 100% { transform: scale(1.15); opacity: 0; } }

/* ---------- section heading ---------- */
.section-heading { text-align: center; }
.section-heading .script { font-family: var(--font-script); font-size: 1.5rem; }
.section-heading h2 { margin: 0.25rem 0 0; font-family: var(--font-display); font-size: 1.9rem; font-weight: 700; }
.section-heading .rule { display: block; width: 3rem; height: 0.25rem; margin: 1rem auto 0; }

/* ---------- responsive ---------- */
@media (min-width: 768px) {
  .price-grid { grid-template-columns: 1fr 1fr; }
  .promo-grid { grid-template-columns: 1fr 1fr 1fr; }
  .section-heading h2 { font-size: 2.25rem; }
  .section-heading .script { font-size: 1.9rem; }
}
@media (max-width: 1023px) {
  .hero-image-ring { top: 52%; width: min(360px, 82vw); border-width: 7px; }
  .taste-note { right: 3%; top: 3%; color: var(--brand-blue); font-size: 1.25rem; }
  .floating-dish { width: 84px; border-width: 4px; }
  .floating-dish-one { left: 0; top: 7%; }
  .floating-dish-two { right: 0; bottom: 0; }
}
@media (max-width: 640px) {
  .category-icon { width: 3.8rem; }
  .product-scroll { margin-inline: -1.25rem; padding-inline: 1.25rem; }
  .quality-curve::before { top: -45px; height: 90px; }
  .quality-image-wrap { min-height: 340px; }
  .contact-band::after { font-size: 7rem; bottom: -1.5rem; }
  .galipat-badge { font-size: 0.6rem; padding: 0.45rem 0.7rem; left: 10px; bottom: 10px; }
  .wa-float { width: 50px; height: 50px; right: 10px; bottom: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
