/* MK Refrigeration — site.css
   Palette: deep navy (trust/engineering) + frost cyan (cold chain) on white.
   Single font family (Manrope) for performance. Mobile-first. */

:root {
  --ink: #0b2537;
  --navy: #0d3b5e;
  --navy-deep: #092c48;
  --frost: #0e76a8;      /* accessible accent: 4.8:1 on white */
  --frost-light: #35b6e5;
  --frost-pale: #e8f4fa;
  --bg: #ffffff;
  --bg-alt: #f2f7fa;
  --line: #d9e6ee;
  --muted: #4a6274;
  --whatsapp: #1da851;
  --radius: 10px;
  --shadow: 0 2px 12px rgba(9, 44, 72, 0.08);
  --shadow-lift: 0 8px 28px rgba(9, 44, 72, 0.14);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Manrope', system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; height: auto; display: block; }

a { color: var(--frost); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3 { line-height: 1.2; color: var(--navy-deep); font-weight: 800; }
h1 { font-size: clamp(1.9rem, 4.5vw, 3rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); letter-spacing: -0.01em; }
h3 { font-size: 1.15rem; }

.container { max-width: 1100px; margin: 0 auto; padding: 0 1.25rem; }

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--frost);
  margin-bottom: 0.6rem;
}

/* ── Header ─────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem 0;
}

.brand { display: flex; align-items: center; gap: 0.65rem; }
.brand svg { height: 42px; width: auto; }
.brand-name { font-weight: 800; font-size: 1.05rem; color: var(--navy-deep); line-height: 1.15; }
.brand-name small { display: block; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--frost); }

.main-nav { display: none; }
.main-nav a { color: var(--ink); font-weight: 700; font-size: 0.95rem; padding: 0.4rem 0.75rem; border-radius: 6px; }
.main-nav a:hover { background: var(--frost-pale); text-decoration: none; }
.main-nav a[aria-current="page"] { color: var(--frost); }

.header-cta { display: none; }

.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  background: none; border: 1px solid var(--line); border-radius: 8px;
  cursor: pointer; color: var(--navy);
}

@media (min-width: 860px) {
  .main-nav { display: flex; gap: 0.25rem; }
  .header-cta { display: inline-flex; }
  .nav-toggle { display: none; }
}

.mobile-nav {
  display: none;
  flex-direction: column;
  border-top: 1px solid var(--line);
  padding: 0.5rem 0 1rem;
}
.mobile-nav.open { display: flex; }
.mobile-nav a { padding: 0.75rem 0.5rem; font-weight: 700; color: var(--ink); border-bottom: 1px solid var(--bg-alt); }

/* ── Buttons ────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.8rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 800; font-size: 1rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); box-shadow: var(--shadow-lift); }
.btn-primary { background: var(--frost); color: #fff; }
.btn-outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-whatsapp { background: var(--whatsapp); color: #fff; }
.btn-ghost-light { border-color: rgba(255,255,255,0.55); color: #fff; background: rgba(255,255,255,0.06); }
.btn svg { width: 20px; height: 20px; flex: none; }

/* ── Hero ───────────────────────────────────────────────── */
.hero {
  background:
    radial-gradient(900px 420px at 85% -10%, rgba(53, 182, 229, 0.28), transparent 60%),
    radial-gradient(700px 380px at -10% 110%, rgba(14, 118, 168, 0.35), transparent 60%),
    linear-gradient(160deg, var(--navy-deep) 0%, var(--navy) 70%, #11486f 100%);
  color: #fff;
  padding: 4.5rem 0 4rem;
  position: relative;
  overflow: hidden;
}
.hero::after {
  /* faint snowflake watermark, pure CSS-free inline SVG data URI */
  content: '';
  position: absolute; right: -60px; top: 50%; transform: translateY(-50%);
  width: 420px; height: 420px; opacity: 0.07; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cg stroke='%23ffffff' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M50 5v90M11 27.5l78 45M11 72.5l78-45M50 5l-8 10M50 5l8 10M50 95l-8-10M50 95l8-10M11 27.5l12.8 2.2M11 27.5l0.7-12.9M89 72.5l-12.8-2.2M89 72.5l-0.7 12.9M11 72.5l0.7 12.9M11 72.5l12.8-2.2M89 27.5l-0.7-12.9M89 27.5l-12.8 2.2'/%3E%3C/g%3E%3C/svg%3E") no-repeat center / contain;
}
.hero h1 { color: #fff; max-width: 640px; }
.hero .lede { font-size: 1.15rem; max-width: 560px; margin: 1.1rem 0 1.8rem; color: rgba(255, 255, 255, 0.88); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 0.75rem; position: relative; z-index: 2; }
.hero .eyebrow { color: var(--frost-light); }

.trust-strip {
  display: flex; flex-wrap: wrap; gap: 1.5rem 2.5rem;
  margin-top: 2.5rem; padding-top: 1.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}
.trust-item { font-size: 0.95rem; color: rgba(255, 255, 255, 0.85); }
.trust-item strong { display: block; font-size: 1.5rem; color: #fff; letter-spacing: -0.01em; }

/* ── Sections ───────────────────────────────────────────── */
.section { padding: 4rem 0; }
.section.alt { background: var(--bg-alt); }
.section-head { max-width: 640px; margin-bottom: 2.25rem; }
.section-head p { color: var(--muted); margin-top: 0.6rem; }

/* ── Service cards ──────────────────────────────────────── */
.card-grid { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 720px) { .card-grid { grid-template-columns: repeat(3, 1fr); } }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  box-shadow: var(--shadow);
  display: flex; flex-direction: column; gap: 0.75rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.card .icon {
  width: 52px; height: 52px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: var(--frost-pale); color: var(--frost);
}
.card .icon svg { width: 28px; height: 28px; }
.card p { color: var(--muted); font-size: 0.95rem; flex: 1; }
.card .card-link { font-weight: 800; }

/* ── Feature / why-us list ──────────────────────────────── */
.value-grid { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 720px) { .value-grid { grid-template-columns: repeat(2, 1fr); } }
.value-item { display: flex; gap: 1rem; align-items: flex-start; }
.value-item .tick {
  flex: none; width: 34px; height: 34px; border-radius: 50%;
  background: var(--frost-pale); color: var(--frost);
  display: flex; align-items: center; justify-content: center; font-weight: 800;
}
.value-item p { color: var(--muted); font-size: 0.95rem; margin-top: 0.15rem; }

/* ── Checklist (service pages) ──────────────────────────── */
.checklist { list-style: none; display: grid; gap: 0.6rem; margin: 1.25rem 0; }
.checklist li { padding-left: 1.8rem; position: relative; color: var(--ink); }
.checklist li::before {
  content: '✓';
  position: absolute; left: 0; top: 0;
  color: var(--frost); font-weight: 800;
}

.prose p { margin-bottom: 1rem; color: var(--muted); max-width: 68ch; }
.prose h2 { margin: 2.25rem 0 0.75rem; }
.prose h3 { margin: 1.5rem 0 0.5rem; }

.two-col { display: grid; gap: 2.5rem; grid-template-columns: 1fr; align-items: start; }
@media (min-width: 860px) { .two-col { grid-template-columns: 1.2fr 0.8fr; } }

.info-panel {
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
}
.info-panel h3 { margin-bottom: 0.75rem; }
.info-panel ul { list-style: none; display: grid; gap: 0.85rem; }
.info-panel li { display: flex; gap: 0.7rem; align-items: center; font-weight: 700; }
.info-panel li svg { width: 22px; height: 22px; color: var(--frost); flex: none; }
.info-panel li a { color: var(--ink); }

/* ── Testimonial ────────────────────────────────────────── */
.quote-band {
  background: linear-gradient(140deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: #fff;
  padding: 3.5rem 0;
}
.quote-band blockquote {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
  line-height: 1.55;
  font-weight: 700;
}
.quote-band blockquote::before {
  content: '\201C';
  display: block;
  font-size: 4.5rem;
  line-height: 1;
  color: var(--frost-light);
  font-weight: 800;
  margin-bottom: 0.25rem;
}
.quote-band cite {
  display: block;
  margin-top: 1.25rem;
  font-style: normal;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--frost-light);
  letter-spacing: 0.04em;
}
.quote-band .stars { color: #ffc531; letter-spacing: 0.2em; font-size: 1.05rem; display: block; margin-top: 0.5rem; }

.quote-card {
  border-left: 4px solid var(--frost);
  background: var(--frost-pale);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.5rem 1.75rem;
  margin: 2rem 0;
}
.quote-card blockquote { font-weight: 700; color: var(--navy-deep); }
.quote-card cite { display: block; margin-top: 0.75rem; font-style: normal; font-size: 0.9rem; color: var(--frost); font-weight: 800; }

/* ── CTA band ───────────────────────────────────────────── */
.cta-band {
  background: linear-gradient(140deg, var(--navy-deep), var(--navy));
  color: #fff;
  padding: 3.5rem 0;
  text-align: center;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255, 255, 255, 0.85); max-width: 540px; margin: 0.75rem auto 1.5rem; }
.cta-band .hero-ctas { justify-content: center; }

/* ── Contact form ───────────────────────────────────────── */
.contact-form { display: grid; gap: 1rem; }
.form-row { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }

.contact-form label { font-weight: 800; font-size: 0.9rem; display: block; margin-bottom: 0.35rem; }
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  font: inherit;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: 2px solid var(--frost-light);
  outline-offset: 1px;
  border-color: var(--frost);
}
.hidden { display: none !important; }

/* ── Footer ─────────────────────────────────────────────── */
.site-footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.8);
  padding: 3rem 0 2rem;
  font-size: 0.92rem;
}
.footer-grid { display: grid; gap: 2rem; grid-template-columns: 1fr; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.site-footer h3 { color: #fff; font-size: 1rem; margin-bottom: 0.85rem; }
.site-footer a { color: rgba(255, 255, 255, 0.85); }
.site-footer ul { list-style: none; display: grid; gap: 0.5rem; }
.footer-bottom {
  margin-top: 2.5rem; padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  display: flex; flex-wrap: wrap; gap: 0.5rem 2rem; justify-content: space-between;
  font-size: 0.85rem; color: rgba(255, 255, 255, 0.55);
}

/* ── Sticky mobile call bar ─────────────────────────────── */
.mobile-callbar {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 60;
  display: grid; grid-template-columns: 1fr 1fr;
  background: var(--navy-deep);
  padding: 0.6rem 0.75rem calc(0.6rem + env(safe-area-inset-bottom));
  gap: 0.6rem;
}
.mobile-callbar .btn { padding: 0.7rem 0.5rem; font-size: 0.95rem; }
@media (min-width: 860px) { .mobile-callbar { display: none; } }
@media (max-width: 859px) { body { padding-bottom: 72px; } }

/* Accessibility */
.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--navy); color: #fff; padding: 0.6rem 1rem; z-index: 100;
}
.skip-link:focus { left: 0; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .card { transition: none; }
}
