/* =====================================================
   HV Foods — Premium Frozen Food Supplier
   Shared stylesheet
   Palette: deep navy, ice blue, white, silver, soft green
   ===================================================== */

:root {
  --navy:        #0a1c34;
  --navy-2:      #0f2a4a;
  --navy-3:      #16395f;
  --ice:         #8fd4ee;
  --ice-2:       #c4e8f6;
  --ice-soft:    #eef7fc;
  --silver:      #d7e0e8;
  --silver-2:    #eef2f6;
  --green:       #38b89a;
  --green-2:     #2e9e84;
  --white:       #ffffff;
  --ink:         #122236;
  --muted:       #5d7186;
  --line:        #e3eaf1;

  --shadow-sm:   0 2px 10px rgba(10, 28, 52, .06);
  --shadow-md:   0 14px 40px rgba(10, 28, 52, .10);
  --shadow-lg:   0 30px 70px rgba(10, 28, 52, .18);

  --radius:      18px;
  --radius-sm:   12px;
  --maxw:        1200px;

  --font:        "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --display:     "Fraunces", Georgia, "Times New Roman", serif;

  --ease:        cubic-bezier(.16, .84, .34, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- Typography ---------- */
h1, h2, h3 { font-family: var(--display); font-weight: 500; line-height: 1.1; letter-spacing: -.02em; color: var(--navy); }
h1 { font-size: clamp(2.4rem, 5.4vw, 4.1rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
h3 { font-size: clamp(1.15rem, 1.6vw, 1.4rem); }
p  { color: var(--muted); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font); font-weight: 600; font-size: .76rem;
  letter-spacing: .18em; text-transform: uppercase; color: var(--green-2);
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: var(--green); display: inline-block; }
.eyebrow.center { justify-content: center; }

.section { padding: clamp(64px, 9vw, 120px) 0; }
.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { margin-top: 16px; font-size: 1.08rem; }

.lead { font-size: 1.15rem; color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 600; font-size: .96rem;
  padding: 15px 28px; border-radius: 100px;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s, color .3s, border-color .3s;
  will-change: transform;
}
.btn svg { width: 17px; height: 17px; transition: transform .35s var(--ease); }
.btn:hover svg { transform: translateX(4px); }

.btn-primary { background: var(--green); color: #fff; box-shadow: 0 12px 26px rgba(56,184,154,.32); }
.btn-primary:hover { background: var(--green-2); transform: translateY(-3px); box-shadow: 0 18px 36px rgba(56,184,154,.40); }

.btn-light { background: #fff; color: var(--navy); box-shadow: var(--shadow-sm); }
.btn-light:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }

.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }
.btn-ghost:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.6); transform: translateY(-3px); }

.btn-outline { background: transparent; color: var(--navy); border-color: var(--silver); }
.btn-outline:hover { border-color: var(--green); color: var(--green-2); transform: translateY(-3px); }

.text-link { font-weight: 600; color: var(--green-2); display: inline-flex; align-items: center; gap: 7px; }
.text-link svg { width: 15px; height: 15px; transition: transform .35s var(--ease); }
.text-link:hover svg { transform: translateX(4px); }

/* ---------- Header / Nav ---------- */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 18px 0; transition: padding .4s var(--ease), background .4s, box-shadow .4s, border-color .4s;
  border-bottom: 1px solid transparent;
}
.header.scrolled {
  background: rgba(255,255,255,.82);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  box-shadow: var(--shadow-sm); padding: 12px 0; border-color: var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.nav-links { display: flex; align-items: center; gap: 30px; list-style: none; }
.nav-links a {
  font-size: .95rem; font-weight: 500; color: var(--navy);
  position: relative; padding: 4px 0; transition: color .25s;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 0;
  background: var(--green); transition: width .35s var(--ease);
}
.nav-links a:hover, .nav-links a.active { color: var(--green-2); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-actions { display: flex; align-items: center; gap: 14px; }

/* Logo */
.logo { display: inline-flex; align-items: center; gap: 11px; font-family: var(--display); font-weight: 600; font-size: 1.32rem; color: var(--navy); letter-spacing: -.01em; }
.logo .mark {
  width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center;
  background: linear-gradient(140deg, var(--navy-3), var(--navy));
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.08), 0 6px 16px rgba(10,28,52,.25);
}
.logo .mark svg { width: 20px; height: 20px; }
.logo b { font-weight: 600; }
.logo .accent { color: var(--ice); }
.header.scrolled .logo, .header.scrolled .nav-links a { color: var(--navy); }

/* Burger */
.burger { display: none; flex-direction: column; gap: 5px; width: 30px; height: 30px; background: none; border: 0; cursor: pointer; justify-content: center; }
.burger span { height: 2px; width: 24px; background: var(--navy); border-radius: 2px; transition: .35s var(--ease); }
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; padding: 170px 0 90px;
  background:
    radial-gradient(1100px 540px at 78% -8%, rgba(143,212,238,.30), transparent 60%),
    radial-gradient(900px 500px at 6% 16%, rgba(56,184,154,.10), transparent 55%),
    linear-gradient(180deg, var(--ice-soft), #fff 78%);
  overflow: hidden;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero h1 { margin: 20px 0 22px; }
.hero h1 .grad {
  background: linear-gradient(100deg, var(--green-2), var(--ice)); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-sub { font-size: 1.16rem; max-width: 540px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-stats { display: flex; gap: 38px; margin-top: 48px; flex-wrap: wrap; }
.hero-stats .num { font-family: var(--display); font-size: 2rem; color: var(--navy); }
.hero-stats .lbl { font-size: .82rem; color: var(--muted); letter-spacing: .03em; }

.hero-visual { position: relative; }
.hero-visual .frame {
  position: relative; border-radius: 26px; overflow: hidden;
  box-shadow: var(--shadow-lg); aspect-ratio: 4/5;
  transform: perspective(1200px) rotateY(-6deg) rotateX(2deg);
}
.hero-visual .frame img { width: 100%; height: 100%; object-fit: cover; }
.hero-visual .frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(10,28,52,.35)); }

.float-card {
  position: absolute; background: rgba(255,255,255,.92); backdrop-filter: blur(10px);
  border: 1px solid var(--line); border-radius: 16px; padding: 14px 18px;
  box-shadow: var(--shadow-md); display: flex; align-items: center; gap: 12px;
  animation: floaty 5s ease-in-out infinite;
}
.float-card .ic { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: var(--ice-soft); color: var(--green-2); }
.float-card .ic svg { width: 20px; height: 20px; }
.float-card .t { font-weight: 700; font-size: .95rem; color: var(--navy); line-height: 1.2; }
.float-card .s { font-size: .76rem; color: var(--muted); }
.float-card.one { top: 8%; left: -34px; }
.float-card.two { bottom: 8%; right: -28px; animation-delay: 1.4s; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* Snow/cold specks */
.flakes { position: absolute; inset: 0; pointer-events: none; z-index: 1; }
.flakes span { position: absolute; top: -10px; color: var(--ice); opacity: .55; animation: fall linear infinite; font-size: 10px; }
@keyframes fall { to { transform: translateY(110vh) rotate(360deg); opacity: 0; } }

/* ---------- Logos / trust strip ---------- */
.trust { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.trust .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 26px; padding-bottom: 26px; flex-wrap: wrap; }
.trust p { font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; color: var(--muted); }
.trust .marks { display: flex; gap: 36px; flex-wrap: wrap; align-items: center; }
.trust .marks span { font-family: var(--display); font-size: 1.15rem; color: var(--navy); opacity: .55; }

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

/* Product card */
.pcard {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .5s;
}
.pcard:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); border-color: transparent; }
.pcard .img { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.pcard .img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.pcard:hover .img img { transform: scale(1.08); }
.pcard .img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(10,28,52,.28)); }
.pcard .tag { position: absolute; top: 14px; left: 14px; z-index: 2; background: rgba(255,255,255,.92); color: var(--navy); font-size: .72rem; font-weight: 700; letter-spacing: .05em; padding: 6px 12px; border-radius: 100px; }
.pcard .body { padding: 22px 22px 24px; }
.pcard h3 { margin-bottom: 8px; }
.pcard p { font-size: .94rem; margin-bottom: 16px; }

/* Industry card */
.icard {
  position: relative; border-radius: var(--radius); overflow: hidden; min-height: 280px;
  display: flex; align-items: flex-end; padding: 26px; color: #fff;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.icard img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; transition: transform 1s var(--ease); }
.icard::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(10,28,52,.12), rgba(10,28,52,.82)); }
.icard:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.icard:hover img { transform: scale(1.07); }
.icard .ic-body { position: relative; z-index: 2; }
.icard h3 { color: #fff; margin-bottom: 4px; }
.icard p { color: rgba(255,255,255,.82); font-size: .9rem; }

/* Feature (why choose) card */
.fcard {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .5s;
}
.fcard:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.fcard .ic { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 18px;
  background: linear-gradient(140deg, var(--ice-soft), #fff); color: var(--green-2); box-shadow: var(--shadow-sm); }
.fcard .ic svg { width: 24px; height: 24px; }
.fcard h3 { margin-bottom: 8px; font-size: 1.18rem; }
.fcard p { font-size: .94rem; }

/* ---------- Split / about ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split .media { position: relative; border-radius: 22px; overflow: hidden; box-shadow: var(--shadow-md); aspect-ratio: 5/4; }
.split .media img { width: 100%; height: 100%; object-fit: cover; }
.split ul { list-style: none; margin-top: 22px; display: grid; gap: 14px; }
.split ul li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink); font-weight: 500; }
.split ul li svg { width: 22px; height: 22px; flex: 0 0 22px; color: var(--green); margin-top: 2px; }

/* ---------- Quality / cold-chain band ---------- */
.band { background: linear-gradient(160deg, var(--navy), var(--navy-2) 60%, var(--navy-3)); color: #fff; position: relative; overflow: hidden; }
.band::before { content: ""; position: absolute; inset: 0;
  background: radial-gradient(700px 400px at 85% 10%, rgba(143,212,238,.22), transparent 60%),
              radial-gradient(600px 360px at 8% 90%, rgba(56,184,154,.18), transparent 60%); }
.band .container { position: relative; z-index: 2; }
.band h2, .band h3 { color: #fff; }
.band p { color: rgba(255,255,255,.78); }
.band .eyebrow { color: var(--ice); }
.band .eyebrow::before { background: var(--ice); }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 18px; }
.step { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); padding: 26px; transition: transform .5s var(--ease), background .4s; }
.step:hover { transform: translateY(-6px); background: rgba(255,255,255,.09); }
.step .n { font-family: var(--display); font-size: 1.05rem; color: var(--ice); margin-bottom: 14px; display: inline-block; }
.step .ic { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: rgba(143,212,238,.14); color: var(--ice); margin-bottom: 16px; }
.step .ic svg { width: 23px; height: 23px; }
.step h3 { font-size: 1.1rem; margin-bottom: 8px; }
.step p { font-size: .9rem; }

/* temp gauge chips */
.temps { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }
.temp-chip { display: flex; align-items: center; gap: 10px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: 100px; padding: 10px 18px; }
.temp-chip .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--ice); box-shadow: 0 0 0 4px rgba(143,212,238,.18); }
.temp-chip b { color: #fff; font-family: var(--display); }
.temp-chip span { color: rgba(255,255,255,.7); font-size: .85rem; }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(120deg, var(--green-2), var(--green)); color: #fff; border-radius: 26px; padding: clamp(40px, 6vw, 70px); text-align: center; position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; inset: 0; background: radial-gradient(500px 280px at 80% -10%, rgba(255,255,255,.25), transparent 60%); }
.cta-band h2 { color: #fff; position: relative; }
.cta-band p { color: rgba(255,255,255,.9); position: relative; margin: 14px auto 30px; max-width: 600px; }
.cta-band .hero-cta { justify-content: center; position: relative; }

/* ---------- Stats strip ---------- */
.stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
.stat { text-align: center; padding: 30px 18px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.stat .num { font-family: var(--display); font-size: clamp(2rem, 4vw, 2.8rem); color: var(--navy); }
.stat .lbl { font-size: .9rem; color: var(--muted); margin-top: 6px; }

/* ---------- Page hero (interior) ---------- */
.page-hero { padding: 150px 0 64px; background:
  radial-gradient(900px 420px at 82% -20%, rgba(143,212,238,.30), transparent 60%),
  linear-gradient(180deg, var(--ice-soft), #fff); text-align: center; }
.page-hero h1 { margin: 18px auto 16px; max-width: 880px; }
.page-hero p { max-width: 620px; margin: 0 auto; font-size: 1.12rem; }
.crumb { font-size: .85rem; color: var(--muted); }
.crumb a:hover { color: var(--green-2); }

/* ---------- Form ---------- */
.form-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: start; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(26px, 4vw, 40px); box-shadow: var(--shadow-sm); }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: .86rem; font-weight: 600; color: var(--navy); margin-bottom: 7px; }
.field input, .field select, .field textarea {
  width: 100%; font-family: var(--font); font-size: .96rem; color: var(--ink);
  padding: 13px 15px; border: 1px solid var(--silver); border-radius: var(--radius-sm); background: var(--silver-2);
  transition: border-color .25s, box-shadow .25s, background .25s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green); background: #fff; box-shadow: 0 0 0 4px rgba(56,184,154,.14); }
.field textarea { resize: vertical; min-height: 120px; }
.field.row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-note { font-size: .82rem; color: var(--muted); margin-top: 6px; }
.form-success { display: none; background: rgba(56,184,154,.1); border: 1px solid rgba(56,184,154,.4); color: var(--green-2); padding: 14px 18px; border-radius: var(--radius-sm); font-weight: 600; margin-bottom: 18px; }
.form-success.show { display: block; }

.contact-info { display: grid; gap: 18px; }
.contact-info .row { display: flex; gap: 16px; align-items: flex-start; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: transform .4s var(--ease), box-shadow .4s; }
.contact-info .row:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.contact-info .ic { width: 46px; height: 46px; border-radius: 12px; flex: 0 0 46px; display: grid; place-items: center; background: var(--ice-soft); color: var(--green-2); }
.contact-info .ic svg { width: 22px; height: 22px; }
.contact-info h4 { font-family: var(--font); font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 3px; }
.contact-info .v { font-weight: 600; color: var(--navy); }
.contact-info .v a { color: inherit; text-decoration: none; transition: color .2s; }
.contact-info .v a:hover { color: var(--green-2); }
.footer .contact-line a { color: rgba(255,255,255,.82); text-decoration: none; transition: color .2s; }
.footer .contact-line a:hover { color: var(--ice); }

/* ---------- Footer ---------- */
.footer { background: var(--navy); color: rgba(255,255,255,.72); padding: 72px 0 30px; }
.footer .top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 46px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer .logo { color: #fff; margin-bottom: 16px; }
.footer p { color: rgba(255,255,255,.6); font-size: .92rem; max-width: 300px; }
.footer h5 { color: #fff; font-family: var(--font); font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 18px; }
.footer ul { list-style: none; display: grid; gap: 11px; }
.footer ul a { color: rgba(255,255,255,.66); font-size: .94rem; transition: color .25s, padding-left .25s; }
.footer ul a:hover { color: var(--ice); padding-left: 4px; }
.footer .contact-line { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; margin-bottom: 12px; }
.footer .contact-line svg { width: 17px; height: 17px; color: var(--ice); margin-top: 3px; flex: 0 0 17px; }
.socials { display: flex; gap: 12px; margin-top: 20px; }
.socials a { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: rgba(255,255,255,.08); color: #fff; transition: background .3s, transform .3s; }
.socials a:hover { background: var(--green); transform: translateY(-3px); }
.socials a svg { width: 18px; height: 18px; }
.footer .bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 24px; font-size: .85rem; color: rgba(255,255,255,.5); }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
.reveal.d4 { transition-delay: .32s; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero-visual { max-width: 460px; }
  .split { grid-template-columns: 1fr; gap: 36px; }
  .form-wrap { grid-template-columns: 1fr; gap: 34px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .footer .top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .nav-links, .nav-actions .btn { display: none; }
  .burger { display: flex; }
  .nav-links.mobile {
    display: flex; flex-direction: column; gap: 4px; position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; padding: 16px 24px 24px; box-shadow: var(--shadow-md); border-top: 1px solid var(--line);
  }
  .nav-links.mobile a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav-links.mobile .btn { display: inline-flex; margin-top: 12px; justify-content: center; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .field.row { grid-template-columns: 1fr; }
  .footer .top { grid-template-columns: 1fr; }
  .float-card.one { left: 8px; }
  .float-card.two { right: 8px; }
  .hero-visual .frame { transform: none; }
}
