/* ===== Reset & Base ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  font-family: 'Noto Sans JP', sans-serif;
  color: #1a1a1a;
  background: #fff;
  line-height: 1.8;
  font-size: 15px;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: color 0.3s; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
table { width: 100%; border-collapse: collapse; }

/* ===== Sample Banner ===== */
.sample-banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10000;
  background: #0D1B2A;
  color: #fff;
  text-align: center;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.05em;
}

/* ===== Container ===== */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== Header ===== */
.header {
  position: fixed;
  top: 36px;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  transition: box-shadow 0.3s, top 0.3s;
}
.header.scrolled {
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}
.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo-text {
  display: flex;
  flex-direction: column;
}
.logo-main {
  font-size: 20px;
  font-weight: 900;
  color: #0D1B2A;
  letter-spacing: 0.05em;
  line-height: 1.2;
}
.logo-sub {
  font-size: 9px;
  color: #1976D2;
  letter-spacing: 0.15em;
  font-weight: 500;
}

/* Nav Desktop */
.nav-desktop {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-desktop a {
  font-size: 13px;
  font-weight: 500;
  color: #333;
  position: relative;
  transition: color 0.3s;
}
.nav-desktop a:not(.nav-cta):hover { color: #1976D2; }
.nav-desktop a:not(.nav-cta)::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: #1976D2;
  transition: width 0.3s;
}
.nav-desktop a:not(.nav-cta):hover::after { width: 100%; }
.nav-cta {
  background: #1976D2;
  color: #fff !important;
  padding: 8px 20px;
  border-radius: 6px;
  font-size: 13px;
  transition: background 0.3s, transform 0.2s;
}
.nav-cta:hover {
  background: #1565C0;
  transform: translateY(-1px);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  padding: 4px 0;
  z-index: 1100;
}
.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: #0D1B2A;
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Nav */
.mobile-nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: 280px;
  height: 100vh;
  background: #fff;
  z-index: 1050;
  padding: 120px 32px 40px;
  transition: right 0.4s ease;
  box-shadow: -4px 0 30px rgba(0,0,0,0.1);
}
.mobile-nav.active { right: 0; }
.mobile-nav nav {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.mobile-nav a {
  display: block;
  padding: 16px 0;
  font-size: 15px;
  font-weight: 500;
  color: #0D1B2A;
  border-bottom: 1px solid #eee;
  transition: color 0.3s, padding-left 0.3s;
}
.mobile-nav a:hover {
  color: #1976D2;
  padding-left: 8px;
}

/* Mobile overlay */
.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 1040;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s, visibility 0.4s;
}
.mobile-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 36px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 600;
  transition: all 0.3s;
  letter-spacing: 0.03em;
}
.btn-primary {
  background: #1976D2;
  color: #fff;
}
.btn-primary:hover {
  background: #1565C0;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(25,118,210,0.35);
}
.btn-outline {
  border: 2px solid #fff;
  color: #fff;
}
.btn-outline:hover {
  background: #fff;
  color: #0D1B2A;
}
.btn-full { width: 100%; }

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 106px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(13,27,42,0.88) 0%, rgba(25,118,210,0.6) 100%);
}
.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: #fff;
  padding: 0 24px;
}
.hero-label {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.2em;
  margin-bottom: 20px;
  opacity: 0.9;
}
.hero-title {
  font-size: clamp(32px, 6vw, 56px);
  font-weight: 900;
  line-height: 1.3;
  margin-bottom: 24px;
  letter-spacing: 0.05em;
}
.hero-desc {
  font-size: 16px;
  line-height: 2;
  margin-bottom: 40px;
  opacity: 0.9;
}
.hero-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-size: 11px;
  letter-spacing: 0.15em;
}
.scroll-line {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.4);
  position: relative;
  overflow: hidden;
}
.scroll-line::after {
  content: '';
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: #fff;
  animation: scrollDown 2s ease infinite;
}
@keyframes scrollDown {
  0% { top: -100%; }
  100% { top: 100%; }
}

/* ===== Sections ===== */
.section {
  padding: 100px 0;
}
.section-label {
  font-size: 12px;
  font-weight: 600;
  color: #1976D2;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.section-title {
  font-size: clamp(26px, 4vw, 36px);
  font-weight: 900;
  color: #0D1B2A;
  line-height: 1.4;
  margin-bottom: 16px;
}
.section-header {
  text-align: center;
  margin-bottom: 60px;
}
.section-subtitle {
  font-size: 15px;
  color: #666;
  line-height: 1.9;
}

/* ===== About ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-visual {
  position: relative;
}
.about-icon-wrap {
  position: absolute;
  top: -20px;
  right: -10px;
  z-index: 2;
  background: #fff;
  border-radius: 50%;
  padding: 10px;
  box-shadow: 0 8px 30px rgba(25,118,210,0.15);
}
.about-img {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0,0,0,0.1);
}
.about-img img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}
.about-desc {
  font-size: 15px;
  color: #444;
  margin-bottom: 16px;
  line-height: 2;
}
.about-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 28px;
}
.about-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 500;
  color: #0D1B2A;
}
.about-feature-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: #E3F2FD;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ===== Temperature ===== */
.temperature {
  background: #f8fbff;
}
.thermometer-diagram {
  margin-bottom: 50px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.thermo-svg {
  min-width: 600px;
}
.temp-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.temp-card {
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  transition: transform 0.3s, box-shadow 0.3s;
}
.temp-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.1);
}
.temp-card-top {
  padding: 28px 20px;
  color: #fff;
  text-align: center;
}
.temp-value {
  font-size: 32px;
  font-weight: 900;
  line-height: 1.2;
}
.temp-name {
  font-size: 14px;
  font-weight: 500;
  margin-top: 4px;
  opacity: 0.9;
}
.temp-card-body {
  padding: 20px;
}
.temp-card-body p {
  font-size: 13px;
  color: #555;
  line-height: 1.8;
}

/* ===== Services ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.service-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 36px 24px;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(25,118,210,0.1);
  border-color: #1976D2;
}
.service-icon {
  margin-bottom: 20px;
  display: flex;
  justify-content: center;
}
.service-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: #0D1B2A;
  margin-bottom: 12px;
}
.service-card p {
  font-size: 13px;
  color: #666;
  line-height: 1.8;
}

/* ===== HACCP ===== */
.haccp {
  background: #0D1B2A;
  color: #fff;
}
.haccp .section-label { color: #42A5F5; }
.haccp .section-title { color: #fff; }
.haccp-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.haccp-desc {
  font-size: 15px;
  line-height: 2;
  color: rgba(255,255,255,0.8);
  margin-bottom: 28px;
}
.haccp-points {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.haccp-point {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 500;
}
.haccp-point svg { flex-shrink: 0; }
.haccp-visual {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
}
.haccp-visual img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}
.haccp-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(25,118,210,0.9);
  backdrop-filter: blur(8px);
  color: #fff;
  padding: 16px 20px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
}

/* ===== Fleet ===== */
.fleet {
  background: #f8fbff;
}
.fleet-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.fleet-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  transition: transform 0.3s, box-shadow 0.3s;
}
.fleet-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.1);
}
.fleet-img {
  position: relative;
  overflow: hidden;
}
.fleet-img img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  transition: transform 0.4s;
}
.fleet-card:hover .fleet-img img { transform: scale(1.05); }
.fleet-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: #1976D2;
  color: #fff;
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
}
.fleet-info {
  padding: 24px;
}
.fleet-info h3 {
  font-size: 18px;
  font-weight: 700;
  color: #0D1B2A;
  margin-bottom: 8px;
}
.fleet-info p {
  font-size: 13px;
  color: #666;
  line-height: 1.8;
  margin-bottom: 16px;
}
.fleet-spec {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 12px;
  color: #888;
  border-top: 1px solid #eee;
  padding-top: 12px;
}
.fleet-spec strong {
  color: #0D1B2A;
  font-weight: 700;
}

/* ===== Numbers ===== */
.numbers {
  background: linear-gradient(135deg, #0D1B2A 0%, #1565C0 100%);
  color: #fff;
}
.numbers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  text-align: center;
}
.number-value {
  font-size: 14px;
  margin-bottom: 8px;
}
.number-value .counter {
  font-size: 52px;
  font-weight: 900;
  line-height: 1;
  display: inline-block;
}
.number-unit {
  font-size: 20px;
  font-weight: 700;
  margin-left: 2px;
}
.number-label {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 6px;
  letter-spacing: 0.05em;
}
.number-desc {
  font-size: 12px;
  opacity: 0.7;
}

/* ===== Flow ===== */
.flow-steps {
  max-width: 700px;
  margin: 0 auto;
  position: relative;
}
.flow-steps::before {
  content: '';
  position: absolute;
  left: 32px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: #E3F2FD;
}
.flow-step {
  display: flex;
  gap: 28px;
  padding-bottom: 40px;
  position: relative;
}
.flow-step:last-child { padding-bottom: 0; }
.flow-num {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  background: #1976D2;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 900;
  position: relative;
  z-index: 1;
  box-shadow: 0 4px 15px rgba(25,118,210,0.3);
}
.flow-content {
  padding-top: 8px;
}
.flow-content h3 {
  font-size: 18px;
  font-weight: 700;
  color: #0D1B2A;
  margin-bottom: 6px;
}
.flow-content p {
  font-size: 14px;
  color: #666;
  line-height: 1.8;
}

/* ===== Company ===== */
.company {
  background: #f8fbff;
}
.company-table {
  max-width: 800px;
  margin: 0 auto 40px;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}
.company-table table { border-collapse: collapse; }
.company-table tr { border-bottom: 1px solid #f0f0f0; }
.company-table tr:last-child { border-bottom: none; }
.company-table th {
  background: #f8fbff;
  padding: 16px 24px;
  font-size: 14px;
  font-weight: 600;
  color: #0D1B2A;
  text-align: left;
  width: 160px;
  white-space: nowrap;
  vertical-align: top;
}
.company-table td {
  padding: 16px 24px;
  font-size: 14px;
  color: #444;
}
.company-map {
  max-width: 800px;
  margin: 0 auto;
}
.map-placeholder {
  background: #fff;
  border: 2px dashed #ddd;
  border-radius: 12px;
  padding: 60px 24px;
  text-align: center;
  color: #888;
}
.map-placeholder p {
  font-size: 15px;
  font-weight: 600;
  color: #333;
  margin-top: 12px;
}
.map-placeholder span {
  font-size: 12px;
  color: #aaa;
  margin-top: 8px;
  display: block;
}

/* ===== Contact ===== */
.contact {
  background: #fff;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 50px;
  align-items: start;
}
.contact-box {
  display: flex;
  gap: 16px;
  padding: 24px;
  background: #f8fbff;
  border-radius: 12px;
  margin-bottom: 16px;
  align-items: center;
}
.contact-box-icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  background: #E3F2FD;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact-box-label {
  font-size: 12px;
  color: #888;
  margin-bottom: 2px;
}
.contact-box-value {
  font-size: 20px;
  font-weight: 700;
  color: #0D1B2A;
}
.contact-box-note {
  font-size: 12px;
  color: #888;
  margin-top: 2px;
}
.contact-form {
  background: #f8fbff;
  padding: 36px;
  border-radius: 12px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-group {
  margin-bottom: 16px;
}
.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #333;
  margin-bottom: 6px;
}
.required {
  background: #1976D2;
  color: #fff;
  font-size: 10px;
  padding: 1px 6px;
  border-radius: 3px;
  margin-left: 6px;
  font-weight: 600;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 14px;
  font-family: 'Noto Sans JP', sans-serif;
  transition: border-color 0.3s, box-shadow 0.3s;
  background: #fff;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #1976D2;
  box-shadow: 0 0 0 3px rgba(25,118,210,0.1);
}
.form-group textarea { resize: vertical; }

/* ===== Footer ===== */
.footer {
  background: #0D1B2A;
  color: #fff;
  padding: 60px 0 0;
}
.footer-top {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand .logo-main { color: #fff; }
.footer-desc {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  margin-top: 16px;
  line-height: 1.8;
}
.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.footer-col h4 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 16px;
  color: #fff;
}
.footer-col a {
  display: block;
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  padding: 4px 0;
  transition: color 0.3s;
}
.footer-col a:hover { color: #42A5F5; }
.footer-tel {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  margin-top: 4px;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  font-size: 12px;
  color: rgba(255,255,255,0.5);
}
.footer-bottom a {
  color: #42A5F5;
  transition: color 0.3s;
}
.footer-bottom a:hover { color: #90CAF9; }

/* ===== Animations ===== */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
  transition-delay: var(--delay, 0s);
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .nav-desktop { display: none; }
  .hamburger { display: flex; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .temp-cards { grid-template-columns: repeat(2, 1fr); }
  .fleet-grid { grid-template-columns: repeat(2, 1fr); }
  .numbers-grid { grid-template-columns: repeat(2, 1fr); gap: 30px; }
}

@media (max-width: 768px) {
  .section { padding: 70px 0; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-visual { order: -1; }
  .haccp-grid { grid-template-columns: 1fr; gap: 40px; }
  .haccp-visual { order: -1; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 30px; }
  .footer-links { grid-template-columns: repeat(2, 1fr); }
  .footer-bottom { flex-direction: column; gap: 6px; text-align: center; }
  .fleet-grid { grid-template-columns: 1fr; max-width: 500px; margin-left: auto; margin-right: auto; }
}

@media (max-width: 600px) {
  .sample-banner { font-size: 11px; padding: 6px 12px; }
  .header { top: 32px; }
  .header-inner { height: 60px; }
  .hero { min-height: 100svh; }
  .hero-title { font-size: 28px; }
  .hero-desc { font-size: 14px; }
  .hero-btns { flex-direction: column; align-items: center; }
  .hero-btns .btn { width: 100%; max-width: 280px; }
  .services-grid { grid-template-columns: 1fr; max-width: 400px; margin-left: auto; margin-right: auto; }
  .temp-cards { grid-template-columns: 1fr; max-width: 340px; margin-left: auto; margin-right: auto; }
  .numbers-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .number-value .counter { font-size: 40px; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 24px; }
  .company-table th { width: 100px; padding: 12px 14px; font-size: 12px; }
  .company-table td { padding: 12px 14px; font-size: 13px; }
  .flow-steps::before { left: 24px; }
  .flow-num { width: 48px; height: 48px; font-size: 14px; }
  .flow-step { gap: 18px; }
  .footer-links { grid-template-columns: 1fr; }
}

/* ===== Additional Hover & Focus States ===== */
.service-card .service-icon svg {
  transition: transform 0.3s ease;
}
.service-card:hover .service-icon svg {
  transform: scale(1.1);
}

.temp-card-top {
  position: relative;
  overflow: hidden;
}
.temp-card-top::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100px;
  height: 100px;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
  transition: transform 0.4s;
}
.temp-card:hover .temp-card-top::before {
  transform: scale(3);
}

/* Flow line animation */
.flow-step::before {
  content: '';
  position: absolute;
  left: 32px;
  top: 64px;
  bottom: 0;
  width: 2px;
  background: #1976D2;
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.6s ease;
}
.flow-step.visible::before {
  transform: scaleY(1);
}
.flow-step:last-child::before {
  display: none;
}

/* Active nav highlight */
.nav-desktop a.active:not(.nav-cta) {
  color: #1976D2;
}
.nav-desktop a.active:not(.nav-cta)::after {
  width: 100%;
}

/* Selection color */
::selection {
  background: rgba(25,118,210,0.2);
  color: #0D1B2A;
}

/* Scrollbar styling */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
  background: #bbb;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #1976D2;
}

/* Placeholder styling */
::placeholder {
  color: #bbb;
}

/* Focus visible for accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid #1976D2;
  outline-offset: 2px;
}

/* Service card number badge (subtle) */
.service-card {
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0;
  background: #1976D2;
  transition: height 0.4s ease;
}
.service-card:hover::before {
  height: 100%;
}

/* Fleet card overlay effect */
.fleet-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 50%, rgba(13,27,42,0.15) 100%);
  pointer-events: none;
}

/* Company table row hover */
.company-table tr {
  transition: background 0.3s;
}
.company-table tr:hover {
  background: #f0f7ff;
}

/* Numbers section decorative elements */
.number-item {
  position: relative;
  padding: 28px 16px;
  border-radius: 12px;
  background: rgba(255,255,255,0.05);
  transition: background 0.3s;
}
.number-item:hover {
  background: rgba(255,255,255,0.1);
}

/* Contact form submit hover state */
.contact-form .btn-primary {
  position: relative;
  overflow: hidden;
}
.contact-form .btn-primary::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255,255,255,0.15);
  border-radius: 50%;
  transform: translate(-50%,-50%);
  transition: width 0.5s, height 0.5s;
}
.contact-form .btn-primary:hover::after {
  width: 300px;
  height: 300px;
}

/* HACCP point hover */
.haccp-point {
  padding: 8px 12px;
  border-radius: 8px;
  transition: background 0.3s;
}
.haccp-point:hover {
  background: rgba(255,255,255,0.05);
}

/* Thermometer marker animations */
.temp-marker {
  opacity: 0;
  animation: fadeMarker 0.5s ease forwards;
}
.temp-marker:nth-child(2) { animation-delay: 0.1s; }
.temp-marker:nth-child(3) { animation-delay: 0.2s; }
.temp-marker:nth-child(4) { animation-delay: 0.3s; }
.temp-marker:nth-child(5) { animation-delay: 0.4s; }

@keyframes fadeMarker {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* About image hover zoom */
.about-img img {
  transition: transform 0.5s ease;
}
.about-img:hover img {
  transform: scale(1.03);
}

/* HACCP visual image hover */
.haccp-visual img {
  transition: transform 0.5s ease;
}
.haccp-visual:hover img {
  transform: scale(1.03);
}

/* Loading animation for page entry */
@keyframes fadeInPage {
  from { opacity: 0; }
  to { opacity: 1; }
}
body {
  animation: fadeInPage 0.6s ease;
}

/* Print styles */
@media print {
  .sample-banner,
  .header,
  .mobile-nav,
  .mobile-overlay,
  .hero-scroll { display: none; }
  .hero { min-height: auto; padding: 40px 0; }
  .section { padding: 30px 0; }
  .fade-up { opacity: 1; transform: none; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .fade-up {
    opacity: 1;
    transform: none;
  }
  html { scroll-behavior: auto; }
}
