/* 润丰食品商行品牌样式 */
:root {
  --rf-primary: #0a6b7c;
  --rf-primary-dark: #074f5c;
  --rf-accent: #1a9aad;
  --rf-ice: #e8f4f6;
  --rf-ink: #1a2b30;
  --rf-muted: #5a7a82;
}

body {
  color: var(--rf-ink);
  background: #f7fbfc;
}

a:hover { color: var(--rf-primary); }

.head {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 1px 0 rgba(10, 107, 124, 0.08);
}

.head .logo {
  display: flex;
  align-items: center;
  left: 12px;
  top: 0;
  height: 75px;
}

.head .logo a {
  display: flex;
  align-items: center;
  height: 100%;
}

.head .logo img,
.head .logo svg {
  height: 56px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
}

.head .nav ul li .active {
  border-bottom-color: var(--rf-primary);
  color: var(--rf-primary);
}

.head .nav ul li a:hover {
  border-bottom-color: var(--rf-primary-dark);
  color: var(--rf-primary-dark);
}

h2 {
  color: var(--rf-ink);
}

/* 首页 Hero */
.rf-hero {
  margin-top: 75px;
  position: relative;
  min-height: 72vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 20% 30%, rgba(26, 154, 173, 0.35), transparent 50%),
    radial-gradient(ellipse at 80% 70%, rgba(10, 107, 124, 0.45), transparent 45%),
    linear-gradient(135deg, #053843 0%, #0a6b7c 45%, #0d8a9a 100%);
}

.rf-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      -12deg,
      transparent,
      transparent 40px,
      rgba(255, 255, 255, 0.03) 40px,
      rgba(255, 255, 255, 0.03) 41px
    );
  pointer-events: none;
}

.rf-hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 64px 24px 80px;
  color: #fff;
}

.rf-hero-brand {
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.25;
  margin-bottom: 16px;
  animation: rfFadeUp 0.9s ease both;
}

.rf-hero-lead {
  font-size: clamp(16px, 2.2vw, 20px);
  max-width: 36em;
  line-height: 1.7;
  opacity: 0.92;
  margin-bottom: 28px;
  animation: rfFadeUp 0.9s 0.15s ease both;
}

.rf-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  animation: rfFadeUp 0.9s 0.28s ease both;
}

.rf-btn {
  display: inline-block;
  padding: 12px 28px;
  font-size: 15px;
  border-radius: 2px;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.rf-btn-primary {
  background: #fff;
  color: var(--rf-primary-dark);
}

.rf-btn-primary:hover {
  background: var(--rf-ice);
  color: var(--rf-primary-dark);
}

.rf-btn-ghost {
  border: 1px solid rgba(255, 255, 255, 0.65);
  color: #fff;
}

.rf-btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-color: #fff;
}

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

/* 品类卡片 */
.rf-cats {
  padding: 48px 0 24px;
}

.rf-cat-card {
  background: #fff;
  border: 1px solid #e2eef1;
  padding: 28px 22px;
  margin-bottom: 20px;
  min-height: 180px;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.rf-cat-card:hover {
  border-color: var(--rf-accent);
  box-shadow: 0 8px 24px rgba(10, 107, 124, 0.12);
  transform: translateY(-3px);
}

.rf-cat-card .rf-ico {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--rf-ice);
  color: var(--rf-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 16px;
}

.rf-cat-card h3 {
  font-size: 18px;
  margin-bottom: 10px;
  color: var(--rf-ink);
}

.rf-cat-card p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--rf-muted);
}

/* 优势区 */
.rf-advantages {
  background: linear-gradient(180deg, var(--rf-ice) 0%, #fff 100%);
  padding: 48px 0;
}

.service_block:hover {
  border-color: var(--rf-primary) !important;
}

.service_icon,
.service_block .icon2,
.service_block .icon3 {
  border-color: var(--rf-primary) !important;
}

.service_icon span,
.service_block .icon2 span,
.service_block .icon3 span {
  background: var(--rf-primary) !important;
}

/* 产品格子 */
.rf-product-thumb {
  height: 200px;
  display: flex;
  align-items: flex-end;
  padding: 16px;
  color: #fff;
  background-size: cover;
  background-position: center;
}

.rf-thumb-1 { background: linear-gradient(160deg, #0a6b7c, #145a6e); }
.rf-thumb-2 { background: linear-gradient(160deg, #1a7a5c, #0d5c4a); }
.rf-thumb-3 { background: linear-gradient(160deg, #1a5f8a, #0d3d5c); }
.rf-thumb-4 { background: linear-gradient(160deg, #6b4a2a, #4a3218); }
.rf-thumb-5 { background: linear-gradient(160deg, #4a6b7c, #2a4450); }
.rf-thumb-6 { background: linear-gradient(160deg, #2a6b5c, #1a4a40); }

.rf-product-thumb strong {
  font-size: 18px;
  display: block;
}

.rf-product-thumb span {
  font-size: 13px;
  opacity: 0.9;
}

.content .content_nav ul li a.active,
.content .content_nav ul li a:hover {
  background: var(--rf-primary);
  color: #fff;
  text-decoration: none;
}

/* 内页横幅 */
.rf-page-banner {
  margin-top: 75px;
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  background:
    linear-gradient(120deg, rgba(5, 56, 67, 0.88), rgba(10, 107, 124, 0.75)),
    linear-gradient(135deg, #053843, #1a9aad);
}

.rf-page-banner h1 {
  font-size: clamp(26px, 4vw, 36px);
  font-weight: 700;
  margin-bottom: 8px;
}

.rf-page-banner p {
  font-size: 15px;
  opacity: 0.9;
}

/* 联系区 */
.contact {
  background: linear-gradient(160deg, #053843 0%, #0a6b7c 55%, #0d5c6e 100%) !important;
}

.contact_icon span,
.contact .icon2,
.contact .icon3 {
  background: var(--rf-accent) !important;
}

.contact .icon2,
.contact .icon3 {
  border-color: #fff;
}

@media (max-width: 767px) {
  .rf-hero { min-height: 58vh; }
  .rf-hero-inner { padding: 48px 18px 56px; }
  .head .logo img { height: 44px; }
}
