/* ═══════════════════════════════════════════════════════════
   FRESH FIT FRIDGE™ — XDS v2  ·  Website V2.2
   freshfitfridge.com
   ═══════════════════════════════════════════════════════════ */

:root {
  --bg:        #0d0d0d;
  --surface:   #101010;
  --card:      #161616;
  --border:    #242424;
  --border-lt: #303030;
  --cyan:      #00D5FF;
  --white:     #f5f5f5;
  --body:      #a8a8a8;
  --label:     #d8d8d8;
  --muted:     #4a4a4a;
  --radius:    10px;
  --radius-sm: 7px;
  --font:      -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
  --nav-h:     60px;
  --max:       1080px;
  --max-text:  640px;
}

/* ─── Reset ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg); color: var(--body);
  font-family: var(--font); -webkit-font-smoothing: antialiased;
  line-height: 1.7;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }
ul, ol { list-style: none; }

/* ─── Layout ─── */
.wrap      { max-width: var(--max); margin: 0 auto; padding: 0 32px; }
.section    { padding: 128px 0; }
.section-sm { padding: 88px 0; }

/* ─── Nav ─── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-h);
  background: rgba(13,13,13,0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: var(--max); margin: 0 auto; padding: 0 32px;
  height: 100%; display: flex; align-items: center;
}
.nav-logo {
  font-size: 14px; font-weight: 800; color: var(--white);
  letter-spacing: -0.02em; white-space: nowrap; margin-right: auto;
}
.nav-logo span { color: var(--cyan); }
.nav-links {
  display: flex; align-items: center; gap: 28px;
}
.nav-links a {
  font-size: 13px; font-weight: 500; color: var(--body);
  letter-spacing: 0.01em; transition: color 0.15s;
}
.nav-links a:hover, .nav-links a.active { color: var(--white); }
.lang-btn {
  font-size: 12px; font-weight: 600; color: var(--body);
  letter-spacing: 0.06em; padding: 5px 10px;
  border: 1px solid var(--border); border-radius: 100px;
  transition: color 0.15s, border-color 0.15s;
}
.lang-btn:hover { color: var(--cyan); border-color: rgba(0,213,255,0.3); }
.nav-cta {
  font-size: 12px; font-weight: 700; letter-spacing: 0.05em;
  text-transform: uppercase; color: #ffffff !important;
  background: var(--cyan); padding: 8px 16px;
  border-radius: var(--radius-sm); transition: opacity 0.15s;
  white-space: nowrap;
}
.nav-cta:hover { opacity: 0.85; }
.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  padding: 8px; margin-left: 16px;
}
.nav-toggle span {
  display: block; width: 20px; height: 1.5px;
  background: var(--white); border-radius: 2px; transition: 0.2s;
}

/* ─── Buttons ─── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700; letter-spacing: 0.04em;
  text-transform: uppercase; padding: 13px 26px;
  border-radius: var(--radius-sm); transition: opacity 0.15s; cursor: pointer;
}
.btn-primary { background: var(--cyan); color: #ffffff; }
.btn-primary:hover { opacity: 0.85; }
.btn-ghost {
  border: 1px solid var(--border-lt); color: var(--label);
  background: transparent;
}
.btn-ghost:hover { border-color: var(--cyan); color: var(--cyan); }

/* ─── Hero ─── */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  padding: calc(var(--nav-h) + 80px) 0 100px;
  position: relative; overflow: hidden;
  background-color: var(--bg);
  background-image: image-set(
    url('/images/hero.webp') type('image/webp'),
    url('/images/hero.jpg') type('image/jpeg')
  );
  background-size: cover;
  background-position: 40% 30%;
  background-repeat: no-repeat;
}
/* Overlay — always present, darkens any bg image */
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(13,13,13,0.92) 42%, rgba(13,13,13,0.45) 100%);
  z-index: 1;
}
.hero-content { position: relative; z-index: 2; max-width: 680px; }
.hero h1 {
  font-size: clamp(40px, 5.5vw, 68px);
  font-weight: 800; letter-spacing: -0.04em;
  line-height: 1.05; color: var(--white); margin-bottom: 24px;
}
.hero h1 em { font-style: normal; color: var(--cyan); }
.hero-sub {
  font-size: 19px; color: var(--body); line-height: 1.75;
  max-width: 520px; margin-bottom: 40px;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ─── Section type ─── */
.eyebrow {
  font-size: 11px; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--cyan); margin-bottom: 16px;
}
.section-h {
  font-size: clamp(28px, 3.5vw, 44px); font-weight: 800;
  letter-spacing: -0.035em; color: var(--white); line-height: 1.1; margin-bottom: 18px;
}
.section-sub {
  font-size: 18px; color: var(--body); line-height: 1.75;
  max-width: var(--max-text);
}

/* ─── Why strip ─── */
.why-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 56px 80px;
  margin-top: 64px;
}
.why-item h3 {
  font-size: 17px; font-weight: 700; color: var(--white);
  letter-spacing: -0.02em; margin-bottom: 10px;
}
.why-item p { font-size: 15px; color: var(--body); line-height: 1.7; }

/* ─── Process (3 steps) ─── */
.steps {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 1px; background: var(--border);
  border-radius: var(--radius); overflow: hidden; margin-top: 56px;
}
.step {
  background: var(--card); padding: 44px 36px;
  display: flex; flex-direction: column; gap: 16px;
}
.step-n {
  font-size: 52px; font-weight: 800; letter-spacing: -0.05em;
  color: rgba(0,213,255,0.08); line-height: 1;
}
.step h3 {
  font-size: 18px; font-weight: 700; color: var(--white);
  letter-spacing: -0.02em;
}
.step p { font-size: 14px; color: var(--body); line-height: 1.7; }

/* ─── Program options ─── */
.programs-grid {
  display: grid; grid-template-columns: repeat(2,1fr); gap: 2px;
  background: var(--border); border-radius: var(--radius); overflow: hidden;
  margin-top: 52px;
}
.program-card { background: var(--card); padding: 36px 32px; }
.program-card h3 {
  font-size: 17px; font-weight: 700; color: var(--white);
  letter-spacing: -0.02em; margin-bottom: 10px;
}
.program-card p { font-size: 14px; color: var(--body); line-height: 1.65; }

/* ─── Industries ─── */
.industries-grid {
  display: grid; grid-template-columns: repeat(2,1fr); gap: 1px;
  background: var(--border); border-radius: var(--radius); overflow: hidden;
  margin-top: 52px;
}
.industry-card {
  background: var(--card); padding: 36px 32px;
  display: flex; flex-direction: column; gap: 10px;
  transition: background 0.2s;
}
.industry-card:hover { background: #1a1a1a; }
.industry-card h3 {
  font-size: 17px; font-weight: 700; color: var(--white); letter-spacing: -0.02em;
}
.industry-card p { font-size: 14px; color: var(--body); line-height: 1.65; flex: 1; }
.industry-built {
  font-size: 12px; color: var(--cyan); font-weight: 600; letter-spacing: 0.02em;
}
.industry-link {
  font-size: 11px; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--muted); transition: color 0.15s;
}
.industry-card:hover .industry-link { color: var(--cyan); }

/* ─── Employee Portal strip ─── */
.portal-strip {
  display: flex; align-items: center; justify-content: space-between;
  gap: 40px; padding: 44px 52px;
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius);
}
.portal-strip-copy h3 {
  font-size: 22px; font-weight: 700; color: var(--white);
  letter-spacing: -0.02em; margin-bottom: 8px;
}
.portal-strip-copy p { font-size: 15px; color: var(--body); line-height: 1.65; }
.portal-lang { font-size: 12px; color: var(--muted); margin-top: 8px; }

/* ─── FAQ ─── */
.faq-list { display: flex; flex-direction: column; margin-top: 48px; }
.faq-item {
  padding: 28px 0; border-bottom: 1px solid var(--border);
  display: grid; grid-template-columns: 1fr 1.4fr; gap: 40px; align-items: start;
}
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-q { font-size: 15px; font-weight: 600; color: var(--label); line-height: 1.5; }
.faq-a { font-size: 15px; color: var(--body); line-height: 1.7; }

/* ─── CTA section ─── */
.cta-section {
  text-align: center;
  border-top: 1px solid var(--border);
  padding: 120px 0;
}
.cta-section h2 {
  font-size: clamp(30px, 4vw, 52px); font-weight: 800;
  letter-spacing: -0.04em; color: var(--white); margin-bottom: 16px; line-height: 1.08;
}
.cta-section p {
  font-size: 18px; color: var(--body); margin-bottom: 36px;
  max-width: 480px; margin-left: auto; margin-right: auto;
}
.cta-note { font-size: 13px; color: var(--muted); margin-top: 16px; }

/* ─── Page hero (sub-pages) ─── */
.page-hero {
  padding: calc(var(--nav-h) + 88px) 0 80px;
  position: relative; overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.page-hero-glow {
  position: absolute; width: 500px; height: 500px; border-radius: 50%;
  right: 0; top: 50%; transform: translateY(-50%);
  background: radial-gradient(circle, rgba(0,100,130,0.10) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero .wrap { position: relative; z-index: 2; }
.page-hero h1 {
  font-size: clamp(32px, 4.5vw, 54px); font-weight: 800;
  letter-spacing: -0.038em; line-height: 1.08;
  color: var(--white); max-width: 680px; margin-bottom: 18px;
}
.page-hero-sub {
  font-size: 18px; color: var(--body); line-height: 1.75;
  max-width: 520px; margin-bottom: 32px;
}
.page-lang-note { font-size: 13px; color: var(--muted); margin-top: 16px; }

/* ─── Content two-col ─── */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }

/* ─── Product showcase ─── */
.showcase-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center;
}
.showcase-img {
  border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--border);
  line-height: 0;
}
.showcase-img img { width: 100%; height: auto; display: block; }
.showcase-categories { display: flex; flex-direction: column; gap: 0; margin-top: 36px; }
.showcase-cat {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 18px 0; border-bottom: 1px solid var(--border);
}
.showcase-cat:first-child { border-top: 1px solid var(--border); }
.showcase-cat-label {
  font-size: 11px; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--cyan); min-width: 72px; padding-top: 2px;
}
.showcase-cat p { font-size: 14px; color: var(--body); line-height: 1.65; margin: 0; }

/* ─── Detail image (landscape) ─── */
.detail-img-wrap {
  border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--border); margin-top: 48px; line-height: 0;
}
.detail-img-wrap img { width: 100%; height: auto; display: block; }

@media (max-width: 960px) {
  .showcase-grid { grid-template-columns: 1fr; gap: 40px; }
  .showcase-img { max-width: 420px; margin: 0 auto; }
}

/* ─── Feature list ─── */
.feature-list { display: flex; flex-direction: column; margin-top: 4px; }
.feature-item {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 14px 0; border-bottom: 1px solid var(--border);
  font-size: 15px; color: var(--body); line-height: 1.6;
}
.feature-item:last-child { border-bottom: none; }
.fi-arrow { color: var(--cyan); font-weight: 700; flex-shrink: 0; }

/* ─── Stat / info card ─── */
.stat-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 36px 40px;
  display: flex; flex-direction: column; gap: 20px;
}
.stat-source {
  font-size: 11px; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--cyan);
}
.stat-text { font-size: 15px; color: var(--body); line-height: 1.65; }

/* ─── Blockquote ─── */
blockquote {
  font-size: 18px; color: var(--white); line-height: 1.65; font-style: italic;
  border-left: 2px solid var(--cyan); padding-left: 24px;
}

/* ─── Footer ─── */
footer { padding: 64px 0 40px; border-top: 1px solid var(--border); }
.footer-grid {
  display: grid; grid-template-columns: auto 1fr auto;
  gap: 48px; align-items: start; margin-bottom: 40px;
}
.footer-logo {
  font-size: 14px; font-weight: 800; color: var(--white);
  letter-spacing: -0.02em; display: block; margin-bottom: 8px;
}
.footer-logo span { color: var(--cyan); }
.footer-tagline { font-size: 13px; color: var(--muted); }
.footer-lang-note { font-size: 12px; color: var(--muted); margin-top: 4px; }
.footer-nav { display: flex; gap: 20px; flex-wrap: wrap; justify-content: center; }
.footer-nav a { font-size: 13px; color: var(--muted); transition: color 0.15s; }
.footer-nav a:hover { color: var(--white); }
.footer-contact a { font-size: 13px; color: var(--cyan); font-weight: 600; }
.footer-bottom {
  border-top: 1px solid var(--border); padding-top: 24px;
  font-size: 11px; color: var(--muted); letter-spacing: 0.04em;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px;
}

/* ─── Responsive ─── */
@media (max-width: 960px) {
  .nav-links {
    display: none; flex-direction: column; align-items: flex-start;
    position: absolute; top: var(--nav-h); left: 0; right: 0;
    background: var(--surface); border-bottom: 1px solid var(--border);
    padding: 24px 32px; gap: 20px;
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; }
  .why-grid { grid-template-columns: 1fr; gap: 40px; }
  .steps { grid-template-columns: 1fr; }
  .programs-grid { grid-template-columns: 1fr; }
  .industries-grid { grid-template-columns: 1fr; }
  .two-col { grid-template-columns: 1fr; gap: 40px; }
  .faq-item { grid-template-columns: 1fr; gap: 12px; }
  .portal-strip { flex-direction: column; padding: 32px 28px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-nav { justify-content: flex-start; }
  .section { padding: 88px 0; }
  .section-sm { padding: 56px 0; }
}
@media (max-width: 600px) {
  .wrap { padding: 0 20px; }
  .hero h1 { font-size: 34px; }
  .page-hero h1 { font-size: 28px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .hero {
    background-size: cover;
    background-position: 40% 20%;
  }
  .hero::before {
    background: rgba(13,13,13,0.88);
  }
}
