/* JDFISH — shared styles */

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, sans-serif;
  color: #0f2540;
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font-family: inherit; }

@keyframes shimmer {
  0% { opacity: .35; }
  50% { opacity: .75; }
  100% { opacity: .35; }
}

.wrap { max-width: 1240px; margin: 0 auto; padding: 0 32px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid #e6edf5;
}
.site-header .wrap {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo-link {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  flex-shrink: 0;
}
.logo-link img { height: 34px; width: auto; }
.haccp-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
  background: #e7f6ee;
  border: 1px solid #b5e3ca;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 800;
  color: #1a9d5e;
  white-space: nowrap;
}
.nav { display: flex; align-items: center; gap: 2px; flex-wrap: wrap; justify-content: flex-end; }
.nav a {
  padding: 10px 14px;
  border-radius: 9px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: -.3px;
  white-space: nowrap;
  color: #42607e;
}
.nav a.active { font-weight: 800; color: #0e3d66; background: #e9f2fb; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 16px 30px;
  font-size: 16px;
  font-weight: 800;
  border-radius: 12px;
  text-decoration: none;
  border: none;
  cursor: pointer;
}
.btn-primary {
  background: linear-gradient(135deg, #1f7ae0, #0e3d66);
  color: #fff;
  box-shadow: 0 10px 26px rgba(31, 122, 224, .4);
}
.btn-primary-alt {
  background: linear-gradient(135deg, #2ea3e6, #1f7ae0);
  color: #fff;
  box-shadow: 0 10px 24px rgba(31, 122, 224, .32);
}
.btn-outline-light {
  background: rgba(255, 255, 255, .12);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .28);
}
.btn-dark {
  background: #0e2a45;
  color: #fff;
  padding: 15px 30px;
  font-size: 15.5px;
}

/* ---------- Hero (page header) ---------- */
.hero {
  position: relative;
  background: linear-gradient(160deg, #0e2a45 0%, #123c63 48%, #14487a 100%);
  overflow: hidden;
}
.hero .wrap { position: relative; padding: 104px 32px 128px; }
.hero-glow {
  position: absolute;
  top: 12%;
  right: 8%;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(84, 196, 255, .24), transparent 70%);
  animation: shimmer 6s ease-in-out infinite;
}
.hero-wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 64px;
  display: block;
}
.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(140, 200, 255, .4);
  border-radius: 100px;
  color: #bfe0ff;
  font-size: 13.5px;
  font-weight: 700;
  backdrop-filter: blur(6px);
}
.hero h1 {
  margin-top: 26px;
  font-size: 58px;
  line-height: 1.16;
  font-weight: 800;
  letter-spacing: -2px;
  color: #fff;
}
.hero p.lede {
  margin-top: 22px;
  max-width: 660px;
  font-size: 18px;
  line-height: 1.75;
  color: #d3e4fa;
}
.grad-text {
  background: linear-gradient(90deg, #5cc4ff, #8ad9ff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Simple page hero (secondary pages) */
.page-hero {
  background: linear-gradient(160deg, #0e2a45, #123c63);
  padding: 72px 32px 64px;
}
.page-hero .eyebrow { font-size: 13px; font-weight: 800; letter-spacing: 4px; color: #7ec6ff; }
.page-hero h1 {
  margin-top: 14px;
  font-size: 44px;
  font-weight: 800;
  letter-spacing: -1.6px;
  color: #fff;
  line-height: 1.2;
}
.page-hero p.lede { margin-top: 18px; max-width: 700px; font-size: 17px; line-height: 1.75; color: #cfe0f5; }

/* ---------- Section headings ---------- */
.section-eyebrow { font-size: 14px; font-weight: 800; letter-spacing: 4px; color: #1f7ae0; text-align: center; }
.section-title { margin-top: 14px; font-size: 38px; font-weight: 800; letter-spacing: -1.4px; color: #0f2540; text-align: center; }
.section-sub { margin-top: 14px; font-size: 16px; color: #5a7796; text-align: center; }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.jdcard {
  display: block;
  background: #fff;
  border: 1px solid #e6edf5;
  border-radius: 20px;
  padding: 34px 30px;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(15, 37, 64, .05);
  transition: transform .2s, box-shadow .2s;
}
.jdcard:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(15, 37, 64, .12); }
.jdcard .icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}
.jdcard h3 { margin-top: 20px; font-size: 21px; font-weight: 800; color: #0f2540; letter-spacing: -.5px; }
.jdcard p { margin-top: 9px; font-size: 14.5px; line-height: 1.7; color: #5a7796; }
.jdcard .go { margin-top: 16px; font-size: 14px; font-weight: 800; color: #1f7ae0; }

.step-card { background: #f7fafd; border: 1px solid #e6edf5; border-radius: 20px; padding: 34px 30px; }
.step-card .num {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 20px;
  font-weight: 800;
}
.step-card .tag { margin-top: 20px; font-size: 13px; font-weight: 800; letter-spacing: 1.5px; color: #1f7ae0; }
.step-card h3 { margin-top: 5px; font-size: 21px; font-weight: 800; color: #0f2540; letter-spacing: -.5px; }
.step-card p { margin-top: 11px; font-size: 14.5px; line-height: 1.75; color: #5a7796; }

.stat-card { background: #f7fafd; border: 1px solid #e6edf5; border-radius: 16px; padding: 28px 24px; text-align: center; }
.stat-card .num { font-size: 30px; font-weight: 800; color: #1f7ae0; letter-spacing: -1px; }
.stat-card .label { margin-top: 8px; font-size: 14.5px; font-weight: 600; color: #42607e; }

/* ---------- Image placeholder slot ---------- */
.img-slot {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 8px;
  background: linear-gradient(135deg, #eef4fa, #e2ecf5);
  color: #85a0bd;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  padding: 16px;
}
.img-slot svg { opacity: .6; }

/* ---------- Footer ---------- */
.site-footer {
  background: #0e2a45;
  color: #a9c2e2;
  padding: 60px 32px 38px;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.footer-brand { max-width: 380px; }
.footer-brand img { height: 30px; width: auto; filter: brightness(0) invert(1); opacity: .92; }
.footer-brand p { margin-top: 16px; font-size: 14px; line-height: 1.7; color: #89a6cd; }
.footer-links { display: flex; gap: 56px; flex-wrap: wrap; }
.footer-col-title { font-size: 13px; font-weight: 800; color: #fff; margin-bottom: 14px; }
.footer-nav { display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.footer-nav a { color: #a9c2e2; text-decoration: none; }
.footer-tel { font-size: 22px; font-weight: 800; color: #fff; letter-spacing: -.5px; }
.footer-note { font-size: 13px; color: #89a6cd; margin-top: 6px; }
.footer-bottom { padding-top: 22px; font-size: 12.5px; color: #6f92c0; line-height: 1.7; }
.footer-admin { margin-top: 14px; }
.footer-admin a { font-size: 11px; color: #4a6690; text-decoration: none; opacity: .55; }
.footer-admin a:hover { opacity: 1; }

/* ---------- Contact form states ---------- */
.contact-error {
  display: none;
  margin-bottom: 16px;
  padding: 12px 16px;
  background: #fce9ec;
  border: 1px solid #f3c6cf;
  color: #b3283f;
  font-size: 14px;
  font-weight: 600;
  border-radius: 10px;
}
.contact-submit:disabled { opacity: .6; cursor: not-allowed; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .hero h1 { font-size: 38px; }
  .page-hero h1 { font-size: 32px; }
  .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; }
  .site-header .wrap { flex-wrap: wrap; height: auto; padding: 14px 20px; }
  .nav { justify-content: flex-start; }
  .company-row { grid-template-columns: 1fr !important; }
  .contact-grid { grid-template-columns: 1fr !important; }
}
