/* Responsive layer for Praba Sea Procesing Food */
* { box-sizing: border-box; }
img { max-width:100%; height:auto; }
html, body { overflow-x:hidden; }
.container { width:min(1180px, calc(100% - 40px)); margin-inline:auto; }
.about-hero { padding:150px 0 90px; background:linear-gradient(135deg,#083f46 0%,#0e5a5b 55%,#174f4b 100%); color:#fff; }
.about-hero-grid { display:grid; grid-template-columns:1.05fr .95fr; gap:54px; align-items:center; }
.about-hero h1 { font-family:"Playfair Display",serif; font-size:clamp(2.5rem,5vw,4.6rem); line-height:1.05; margin:.4rem 0 1.25rem; }
.about-hero p { max-width:720px; font-size:1.08rem; line-height:1.85; color:rgba(255,255,255,.9); }
.about-hero-media, .source-image-card { margin:0; overflow:hidden; border-radius:22px; background:#f4efe4; box-shadow:0 18px 45px rgba(0,0,0,.12); }
.about-hero-media img, .source-image-card img { display:block; width:100%; aspect-ratio:16/10; object-fit:cover; }
.about-hero-media figcaption, .source-image-card figcaption { padding:12px 16px; font-size:.78rem; line-height:1.5; color:#5d625f; }
.about-hero-media figcaption { background:#fff; }
.gallery-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:18px; margin-top:30px; }
.prose-wide { max-width:900px; }
.prose-wide p { line-height:1.85; color:#4d5552; margin:0 0 18px; }
.section-lead { max-width:850px; line-height:1.8; color:#59625e; }
.data-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:18px; margin:28px 0; }
.data-card { background:#fff; border:1px solid #e8e1d5; border-radius:18px; padding:25px; min-height:190px; display:flex; flex-direction:column; justify-content:space-between; }
.data-card strong { font-family:"Playfair Display",serif; font-size:2rem; color:#0b5558; }
.data-card span { line-height:1.55; color:#3e4744; }
.data-card small { color:#777d79; line-height:1.45; }
.notice { border-left:4px solid #b48a3c; background:#f8f2e5; padding:18px 22px; border-radius:0 14px 14px 0; margin-top:20px; }
.notice p { margin:.35rem 0 0; line-height:1.65; }
.four-system { display:grid; grid-template-columns:repeat(4,1fr); gap:18px; }
.four-system article, .quality-grid article, .hazard-grid article, .record-grid>div { background:#fff; border:1px solid #e7e2d8; border-radius:18px; padding:24px; }
.four-system article>span { display:inline-grid; place-items:center; width:40px; height:40px; border-radius:50%; background:#0b5558; color:#fff; font-weight:700; }
.four-system h3 { margin:18px 0 10px; }
.four-system p, .quality-grid p, .hazard-grid p, .record-grid p, .record-grid li { color:#59625e; line-height:1.7; }
.process-line { display:flex; flex-wrap:wrap; justify-content:center; gap:12px; align-items:center; margin-top:30px; padding:20px; background:#f2eee4; border-radius:18px; font-weight:700; color:#0b5558; }
.process-line b { color:#b48a3c; }
.split-section { display:grid; grid-template-columns:1fr 1fr; gap:48px; align-items:center; }
.principle-row { display:flex; flex-wrap:wrap; gap:10px; margin-top:25px; }
.principle-row b { padding:10px 16px; border-radius:999px; background:#0b5558; color:#fff; font-size:.8rem; letter-spacing:.08em; }
.process-steps { display:grid; grid-template-columns:repeat(2,1fr); gap:10px 24px; padding-left:20px; color:#4d5552; line-height:1.65; }
.muted-note { color:#777d79; font-size:.9rem; line-height:1.6; }
.iso-grid { display:grid; grid-template-columns:1fr 1fr; gap:22px; }
.iso-card { padding:32px; border-radius:24px; border:1px solid #e7e2d8; background:#fff; box-shadow:0 12px 35px rgba(0,0,0,.06); }
.iso-badge { display:inline-flex; padding:8px 13px; border-radius:999px; background:#0b5558; color:#fff; font-weight:700; margin-bottom:18px; }
.iso-card ul { columns:2; padding-left:20px; line-height:1.9; color:#59625e; }
.status-label { display:inline-block; margin:18px 0 8px; padding:7px 11px; border:1px solid #b48a3c; color:#8c672b; border-radius:999px; font-size:.75rem; letter-spacing:.06em; }
.text-link { color:#0b5558; font-weight:700; text-decoration:none; }
.quality-grid { display:grid; grid-template-columns:repeat(5,1fr); gap:16px; margin-top:26px; }
.quality-icon { font-weight:800; color:#b48a3c; }
.comparison-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:18px; }
.comparison-card { border:1px solid #e7e2d8; border-radius:18px; overflow:hidden; background:#fff; }
.comparison-card h3, .comparison-card p { padding:0 18px; }
.comparison-card h3 { margin-top:18px; font-size:1rem; }
.comparison-card p { padding-bottom:18px; color:#68706d; line-height:1.55; }
.comparison-visual { min-height:150px; display:grid; place-items:center; font-family:"Playfair Display",serif; font-size:1.2rem; font-weight:700; letter-spacing:.08em; }
.comparison-visual.good { background:linear-gradient(135deg,#e8f0e5,#d3e5d7); color:#24523e; }
.comparison-visual.declining { background:linear-gradient(135deg,#efe2d9,#e8d0c6); color:#7b4b3d; }
.hazard-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:18px; margin:25px 0; }
.control-strip { padding:18px; border-radius:15px; background:#0b5558; color:#fff; line-height:1.7; }
.temperature-note { margin:24px 0; padding:20px; border:1px solid #e7e2d8; border-radius:18px; display:grid; gap:5px; }
.temperature-note strong { color:#0b5558; }
.temperature-note span { line-height:1.6; }
.temperature-note small { color:#777d79; }
.cold-chain-visual { display:flex; flex-direction:column; gap:14px; align-items:center; justify-content:center; padding:30px; background:#f2eee4; border-radius:22px; color:#0b5558; font-weight:700; }
.cold-chain-visual b { color:#b48a3c; }
.fifo-flow { display:flex; justify-content:center; align-items:center; gap:22px; flex-wrap:wrap; margin:30px 0; }
.fifo-flow span { min-width:140px; text-align:center; padding:18px; background:#0b5558; color:#fff; border-radius:14px; font-weight:700; }
.fifo-flow b { color:#b48a3c; font-size:1.4rem; }
.record-grid { display:grid; grid-template-columns:1fr 1fr; gap:20px; }
.record-grid ul { columns:2; }
.commitment { max-width:900px; }
.commitment p { max-width:820px; line-height:1.85; color:#4d5552; }
.reference-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:18px; }
.reference-card { background:#fff; border:1px solid #e7e2d8; border-radius:18px; padding:24px; }
.reference-card p { color:#68706d; line-height:1.55; }
.reference-card a { color:#0b5558; font-weight:700; text-decoration:none; }
.language-switcher select { border:1px solid rgba(255,255,255,.35); background:transparent; color:inherit; padding:8px 30px 8px 10px; border-radius:8px; }
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }

@media (max-width:1199px) {
  .about-hero-grid,.split-section { grid-template-columns:1fr 1fr; gap:32px; }
  .gallery-grid { grid-template-columns:repeat(2,1fr); }
  .data-grid,.four-system { grid-template-columns:repeat(2,1fr); }
  .quality-grid { grid-template-columns:repeat(3,1fr); }
  .comparison-grid { grid-template-columns:repeat(2,1fr); }
}
@media (max-width:767px) {
  .container { width:min(100% - 28px, 1180px); }
  .about-hero { padding:115px 0 55px; }
  .about-hero-grid,.split-section,.iso-grid,.record-grid { grid-template-columns:1fr; }
  .about-hero h1 { font-size:2.45rem; }
  .about-hero p { font-size:1rem; }
  .gallery-grid,.data-grid,.four-system,.quality-grid,.hazard-grid,.reference-grid,.comparison-grid { grid-template-columns:1fr; }
  .process-line { justify-content:flex-start; }
  .process-line b { display:none; }
  .iso-card ul,.record-grid ul { columns:1; }
  .fifo-flow { flex-direction:column; }
  .fifo-flow b { transform:rotate(90deg); }
  .cold-chain-visual { font-size:.9rem; }
  .site-header .nav-wrap { gap:10px; }
}
@media (max-width:767px){.data-source{align-items:flex-start}.stat-card strong{font-size:1.6rem}.reference-grid{grid-template-columns:1fr!important}.product-grid,.recipe-grid{grid-template-columns:1fr!important}}

/* =========================================================
   V18 — Mobile-first finishing pass
   ========================================================= */
@media (max-width: 767px) {
  html { font-size: 15px; }
  body { overflow-x: hidden; -webkit-text-size-adjust: 100%; }
  .container { width: calc(100% - 28px); }
  .site-header { position: absolute; }
  .site-header.solid { position: sticky; top: 0; }
  .nav-wrap { min-height: 64px; padding: 0; }
  .brand { gap: 8px; min-width: 0; }
  .brand-mark { width: 34px; height: 34px; font-size: 18px; flex: 0 0 auto; }
  .brand strong { font-size: 17px; white-space: nowrap; }
  .brand small { font-size: 7px; letter-spacing: 1.4px; }
  .menu-toggle { width: 44px; height: 44px; display:grid; place-items:center; border-radius:8px; }
  .menu-toggle:focus-visible { outline: 2px solid #e9b94e; outline-offset: 2px; }
  .nav-menu { top: 64px; padding: 12px 14px 16px; gap: 4px; border-top: 1px solid rgba(255,255,255,.12); box-shadow: 0 16px 30px rgba(0,0,0,.18); }
  .nav-menu a { padding: 12px 10px; min-height: 44px; display:flex; align-items:center; border-radius:6px; }
  .nav-menu a:hover, .nav-menu .active { background: rgba(255,255,255,.06); }
  .nav-menu .nav-cta { justify-content:center; margin-top:5px; }

  .hero { min-height: 650px; background-position: 63% center; }
  .hero-content { width: 100%; }
  .hero-copy { padding-top: 55px; max-width: 100%; }
  .eyebrow { font-size: 10px; letter-spacing: 2px; }
  .hero h1 { font-size: clamp(40px, 12vw, 54px); letter-spacing: -.7px; margin: 12px 0 14px; }
  .tagline { font-size: 21px; }
  .hero-text { font-size: 15px; line-height: 1.7; }
  .hero-actions { width:100%; gap:10px; margin-top:22px; }
  .hero-actions .btn { width:100%; text-align:center; min-height:48px; display:flex; align-items:center; justify-content:center; }

  .feature-grid { grid-template-columns:1fr; }
  .feature-grid article { padding: 22px 6px; }
  .feature-grid h3 { font-size:18px; }

  .section, .about { padding: 58px 0; }
  .section-heading { margin-bottom: 26px; }
  .section-heading h2, .about h2 { font-size: clamp(30px, 9vw, 42px); }
  .section-heading > p { font-size:14px; line-height:1.7; }
  .product-grid, .article-grid, .recipe-grid { grid-template-columns:1fr !important; gap:18px; }
  .product-photo { height:210px; }
  .product-info { padding:18px; }
  .product-info h3 { font-size:23px; }
  .product-bottom { align-items:flex-start; gap:10px; }
  .product-bottom a { white-space:nowrap; }

  .about-grid { grid-template-columns:1fr; gap:28px; }
  .about-art { height:300px; }
  .about p { font-size:14px; line-height:1.75; }

  .blog-hero { padding:105px 0 55px; }
  .blog-hero h1 { font-size:42px; }
  .blog-layout { grid-template-columns:1fr; gap:30px; }
  .blog-layout aside { order:-1; }
  .category-nav { gap:6px; overflow-x:auto; flex-wrap:nowrap; padding-bottom:12px; scrollbar-width:none; }
  .category-nav::-webkit-scrollbar { display:none; }
  .category-nav a { white-space:nowrap; padding:9px 12px; border:1px solid #e2dfd7; border-radius:999px; }
  .full-article .large { height:210px; }
  .full-article h2 { font-size:27px; }

  .recipe-tools { margin-bottom:22px; padding:12px; gap:10px; }
  .recipe-search { min-height:46px; font-size:16px; }
  .recipe-filters { overflow-x:auto; flex-wrap:nowrap; justify-content:flex-start; padding-bottom:2px; scrollbar-width:none; }
  .recipe-filters::-webkit-scrollbar { display:none; }
  .recipe-filter { min-height:42px; white-space:nowrap; }
  .recipe-card h2 { font-size:25px; }
  .recipe-image { height:210px; }
  .recipe-card .recipe-desc { font-size:13px; }
  .recipe-meta span { font-size:10px; }
  .recipe-sections { gap:12px; }
  .recipe-section { padding:15px; }
  .recipe-reference-panel { padding:24px 18px; }

  .contact-grid, .reference-grid { grid-template-columns:1fr !important; gap:16px; }
  .contact-card, .reference-card { padding:20px; }
  .contact-actions { gap:10px; }
  .contact-actions .btn, .contact-actions .btn-outline { width:100%; min-height:48px; }
  .order-steps { grid-template-columns:1fr !important; gap:10px; }
  .order-steps article { min-height:auto; padding:20px; }
  .order-steps h3 { margin-top:18px; font-size:22px; }

  .footer-grid { grid-template-columns:1fr !important; gap:26px; padding-bottom:34px; }
  footer { padding-top:42px; }
  .footer-grid p, .footer-grid a { font-size:14px; }
  .footer-order { width:100%; justify-content:center; min-height:48px; }
  .footer-legal { padding:14px 14px; font-size:11px; line-height:1.6; }
  .footer-bottom { padding:16px 14px; line-height:1.6; }
  .visual-source-note { margin-top:-.5rem; padding-bottom:1.5rem; font-size:11px; line-height:1.6; }

  .data-grid-v8, .quality-steps-v8, .hazard-grid-v8, .comparison-v8, .reference-grid-v8 { grid-template-columns:1fr; }
  .intro-grid-v8 { grid-template-columns:1fr; gap:10px; }
  .intro-copy-v8 { grid-column:auto; }
  .intro-number { font-size:52px; }
  .about-hero-v8 { padding:72px 0 45px; }
  .about-hero-copy h1 { font-size:43px; }
  .about-hero-copy p { font-size:15px; }
  .hero-metrics-v8 { display:grid; grid-template-columns:1fr 1fr; gap:14px; }
  .hero-metrics-v8 div { min-width:0; }
  .hero-image-frame { transform:none; padding:7px; }
  .hero-image-frame img { height:290px; }
  .juwana-photo-main, .juwana-photo-main img { min-height:280px; }
  .photo-overlay { left:18px; right:18px; bottom:18px; }
  .photo-overlay strong { font-size:27px; }
  .data-grid-v8 .stat-card { min-height:150px; }
  .cold-chain-v8, .fifo-board-v8 { grid-template-columns:1fr; }
  .temperature-note-v8 { grid-template-columns:1fr; }
  .record-grid-v8 { grid-template-columns:1fr; }

  /* Keep wide data tables usable without breaking the page width. */
  table { display:block; width:100%; overflow-x:auto; -webkit-overflow-scrolling:touch; }
  pre, code { max-width:100%; overflow-x:auto; }
  a, button, input, select, textarea { -webkit-tap-highlight-color: transparent; }
}

@media (max-width: 380px) {
  .container { width: calc(100% - 22px); }
  .brand strong { font-size:15px; }
  .brand small { font-size:6px; }
  .hero { min-height:620px; }
  .hero h1 { font-size:39px; }
  .hero-text { font-size:14px; }
  .hero-metrics-v8 { grid-template-columns:1fr; }
  .product-photo, .recipe-image { height:190px; }
}

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

/* V21 footer language selector */
.footer-language-options select{width:100%;max-width:180px;border:1px solid rgba(255,255,255,.28);background:#173638;color:#fff;padding:10px 12px;border-radius:6px;font:inherit;}
@media(max-width:600px){.footer-language-options select{max-width:none;width:100%;}}
