/* ==========================================================================
   Kardem Store — Global Stylesheet
   Operated by Kardem Global LLC
   ========================================================================== */

:root {
  --color-bg: #ffffff;
  --color-bg-alt: #f6f7f9;
  --color-bg-soft: #eef1f5;
  --color-text: #1c2430;
  --color-text-muted: #5a6472;
  --color-heading: #131a24;
  --color-accent: #1f3a5f;
  --color-accent-dark: #16293f;
  --color-accent-soft: #e8edf3;
  --color-border: #e3e7ec;
  --color-white: #ffffff;

  --font-sans: "Inter", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;

  --maxw: 1120px;
  --radius: 10px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 2px rgba(19, 26, 36, 0.05);
  --shadow-md: 0 6px 24px rgba(19, 26, 36, 0.07);

  --space-section: 84px;
}

/* ---------- Reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }

a { color: var(--color-accent); text-decoration: none; }
a:hover { color: var(--color-accent-dark); }

h1, h2, h3, h4 {
  color: var(--color-heading);
  line-height: 1.2;
  font-weight: 700;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2rem, 4.5vw, 3.1rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
h3 { font-size: 1.2rem; }

p { margin: 0 0 1.1em; }

.muted { color: var(--color-text-muted); }

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

.section { padding: var(--space-section) 0; }
.section--alt { background: var(--color-bg-alt); }
.section--soft { background: var(--color-bg-soft); }

.section-head {
  max-width: 720px;
  margin: 0 auto 48px;
  text-align: center;
}
.section-head p { color: var(--color-text-muted); margin-bottom: 0; }

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 14px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.98rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }

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

.btn--outline {
  background: transparent;
  color: var(--color-accent);
  border-color: var(--color-border);
}
.btn--outline:hover { border-color: var(--color-accent); background: var(--color-accent-soft); }

.btn--light { background: #fff; color: var(--color-accent); }
.btn--light:hover { background: var(--color-accent-soft); }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--color-border);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-weight: 700;
  font-size: 1.12rem;
  color: var(--color-heading);
  letter-spacing: -0.01em;
}
.brand:hover { color: var(--color-heading); }
.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--color-accent);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: -0.02em;
}
img.brand-mark {
  background: transparent;
  border-radius: 0;
  padding: 0;
  object-fit: contain;
}
.footer-brand img.brand-mark {
  width: 40px;
  height: 40px;
  background: #fff;
  border-radius: 10px;
  padding: 5px;
}
.brand small {
  display: block;
  font-size: 0.66rem;
  font-weight: 500;
  color: var(--color-text-muted);
  letter-spacing: 0.02em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  display: block;
  padding: 8px 14px;
  border-radius: 8px;
  color: var(--color-text);
  font-weight: 500;
  font-size: 0.96rem;
}
.nav-links a:hover { background: var(--color-bg-alt); color: var(--color-accent); }
.nav-links a.active { color: var(--color-accent); font-weight: 600; }
.nav-cta { margin-left: 8px; }
.nav-links .nav-cta a,
.nav-links .nav-cta a.active {
  color: #fff;
  background: var(--color-accent);
  font-weight: 600;
}
.nav-links .nav-cta a:hover {
  color: #fff;
  background: var(--color-accent-dark);
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  width: 42px;
  height: 40px;
  cursor: pointer;
  padding: 0;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 3px auto;
  background: var(--color-heading);
  border-radius: 2px;
}

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(180deg, #f6f8fb 0%, #ffffff 100%);
  border-bottom: 1px solid var(--color-border);
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
  padding: 84px 0;
}
.hero h1 { margin-bottom: 20px; }
.hero p.lead {
  font-size: 1.15rem;
  color: var(--color-text-muted);
  margin-bottom: 30px;
  max-width: 560px;
}
.hero-visual {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 26px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.hero-stat {
  background: var(--color-bg-alt);
  border-radius: var(--radius);
  padding: 18px;
}
.hero-stat .ico { color: var(--color-accent); margin-bottom: 10px; }
.hero-stat strong { display: block; color: var(--color-heading); font-size: 0.98rem; }
.hero-stat span { font-size: 0.85rem; color: var(--color-text-muted); }

/* ---------- Page hero (interior pages) ---------- */
.page-hero {
  background: linear-gradient(180deg, #f6f8fb 0%, #ffffff 100%);
  border-bottom: 1px solid var(--color-border);
  padding: 64px 0 56px;
  text-align: center;
}
.page-hero .eyebrow { margin-bottom: 12px; }
.page-hero p { max-width: 660px; margin: 0 auto; color: var(--color-text-muted); font-size: 1.08rem; }

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

.card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); border-color: #d3dae2; }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--color-text-muted); font-size: 0.97rem; margin-bottom: 0; }

.card-icon {
  width: 46px;
  height: 46px;
  border-radius: 11px;
  background: var(--color-accent-soft);
  color: var(--color-accent);
  display: grid;
  place-items: center;
  margin-bottom: 18px;
}

/* ---------- Category card w/ placeholder image ---------- */
.cat-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .2s ease, transform .2s ease;
  display: flex;
  flex-direction: column;
}
.cat-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.img-placeholder {
  aspect-ratio: 16 / 10;
  background:
    linear-gradient(135deg, #eef1f5 0%, #e2e7ee 100%);
  display: grid;
  place-items: center;
  color: #9aa6b4;
  position: relative;
}
.img-placeholder svg { opacity: 0.55; }
.img-placeholder .ph-label {
  position: absolute;
  bottom: 10px;
  left: 12px;
  font-size: 0.72rem;
  color: #8b98a8;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.media-img {
  width: 100%;
  display: block;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #eef2f7;
}
.cat-img {
  width: 100%;
  display: block;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: #eef2f7;
}
.cat-card .cat-body { padding: 22px 24px 26px; }
.cat-card h3 { margin-bottom: 6px; }
.cat-card p { color: var(--color-text-muted); font-size: 0.95rem; margin-bottom: 0; }

/* ---------- Feature split (image + text) ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.split.reverse .split-media { order: 2; }
.split-media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}
.split-media .img-placeholder { aspect-ratio: 4 / 3; }
.split h2 { margin-bottom: 14px; }
.split p { color: var(--color-text-muted); }

/* ---------- Numbered operations list ---------- */
.op-list { display: grid; gap: 20px; }
.op-item {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 18px;
  align-items: start;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 24px 26px;
}
.op-num {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: var(--color-accent);
  color: #fff;
  display: grid; place-items: center;
  font-weight: 700;
}
.op-item h3 { margin-bottom: 6px; }
.op-item p { color: var(--color-text-muted); margin-bottom: 0; font-size: 0.97rem; }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--color-accent);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 56px 48px;
  text-align: center;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,0.85); max-width: 560px; margin: 0 auto 26px; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 44px;
  align-items: start;
}
.info-list { list-style: none; margin: 0; padding: 0; }
.info-list li {
  padding: 16px 0;
  border-bottom: 1px solid var(--color-border);
}
.info-list li:last-child { border-bottom: none; }
.info-list .label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
  margin-bottom: 3px;
}
.info-list .value { font-weight: 600; color: var(--color-heading); }

.form-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}
.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 7px;
  color: var(--color-heading);
}
.field input,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  font: inherit;
  font-size: 0.97rem;
  color: var(--color-text);
  background: #fff;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(31, 58, 95, 0.12);
}
.field textarea { resize: vertical; min-height: 140px; }
.form-note { font-size: 0.85rem; color: var(--color-text-muted); margin-top: 4px; }
.form-status { margin-top: 14px; font-size: 0.92rem; font-weight: 500; }

/* ---------- Legal / policy pages ---------- */
.legal { padding: 64px 0 84px; }
.legal .container { max-width: 820px; }
.legal h2 { margin-top: 40px; font-size: 1.35rem; }
.legal h2:first-of-type { margin-top: 0; }
.legal p, .legal li { color: var(--color-text); }
.legal ul { padding-left: 20px; margin-bottom: 1.1em; }
.legal li { margin-bottom: 8px; }
.legal .updated {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--color-border);
}

/* ---------- Footer ---------- */
.site-footer {
  background: #10161f;
  color: #c4ccd6;
  padding: 60px 0 28px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.09);
}
.footer-brand .brand { color: #fff; margin-bottom: 14px; }
.footer-brand .brand small { color: #8b97a5; }
.footer-brand p { color: #93a0af; font-size: 0.92rem; max-width: 320px; }
.footer-brand .footer-addr { color: #7d8b9a; font-size: 0.85rem; margin-top: 4px; }
.footer-col h4 {
  color: #fff;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: #b3bcc7; font-size: 0.93rem; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  padding-top: 24px;
  font-size: 0.86rem;
  color: #8b97a5;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.lead { font-size: 1.1rem; }

/* ---------- Responsive ---------- */
@media (max-width: 940px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; padding: 60px 0; }
  .hero-visual { max-width: 480px; }
  .split { grid-template-columns: 1fr; gap: 28px; }
  .split.reverse .split-media { order: 0; }
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  :root { --space-section: 60px; }
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    background: #fff;
    border-bottom: 1px solid var(--color-border);
    padding: 12px 16px 18px;
    box-shadow: var(--shadow-md);
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 14px; }
  .nav-cta { margin-left: 0; margin-top: 6px; }
  .btn { width: 100%; }
  .btn-row .btn { width: auto; }
  .cta-band { padding: 40px 24px; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 30px; }
  .hero-visual { grid-template-columns: 1fr 1fr; }
  .btn-row { width: 100%; }
  .btn-row .btn { width: 100%; }
}
