/* =====================================================================
   KRONNIX LLC  —  Checkpoint & Meto LATAM Master Distributor
   Design system rebuilt to match the CEO proposal mockups (2026).
   Palette: mid-gray chrome, Checkpoint red accents, charcoal footer.
   ===================================================================== */

:root {
  --red:        #d41e23;   /* Checkpoint / Kronnix red accent          */
  --red-dark:   #a8171b;
  --slate:      #4f6b80;   /* Checkpoint wordmark blue-gray            */
  --ink:        #2b2b2b;   /* primary text                            */
  --muted:      #5a5a5a;   /* secondary text                          */

  --header-a:   #9d9d9d;   /* header gradient top                     */
  --header-b:   #8d8d8d;   /* header gradient bottom                  */
  --page-bg:    #b3b3b3;   /* main page background                    */
  --band-light: #c3c3c3;   /* lighter section band                    */
  --band-mid:   #9b9b9b;   /* mid section band                        */
  --card:       #f1f1f1;   /* card / panel surface                    */
  --tile:       #d8d8d8;   /* image tile backdrop                     */
  --footer-bg:  #383838;   /* charcoal footer                         */

  --maxw: 1200px;
  --gutter: 24px;
  --radius: 4px;
  --shadow: 0 3px 14px rgba(0,0,0,.18);
  --font: "Helvetica Neue", Helvetica, Arial, "Segoe UI", sans-serif;
}

/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  background: var(--page-bg);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
}
a { color: var(--ink); text-decoration: none; transition: color .25s; }
a:hover { color: var(--red); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
h1, h2, h3, h4 { line-height: 1.2; font-weight: 700; }
.red    { color: var(--red); }
.slate  { color: var(--slate); }

/* === LAYOUT HELPERS === */
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.container-wide { max-width: 1320px; margin: 0 auto; padding: 0 var(--gutter); }
.text-center { text-align: center; }
.section { padding: 56px 0; }
.section-sm { padding: 36px 0; }
.bg-light { background: var(--band-light); }
.bg-mid   { background: var(--band-mid); }
.bg-dark  { background: #4a4a4a; color: #fff; }
/* Light text on dark sections — higher specificity so it always beats
   .split-text/.prose/.sec-sub defaults (which are dark for light backgrounds). */
.bg-dark p, .bg-dark li,
.bg-dark .split-text p, .bg-dark .split-text li,
.bg-dark .prose p, .bg-dark .sec-sub { color: #e6e6e6; }
.bg-dark h2, .bg-dark h3,
.bg-dark .split-text h2, .bg-dark .split-text h3,
.bg-dark .sec-title { color: #fff; }
.bg-dark strong { color: #fff; }
.bg-dark .hl { color: #ff7d80; }

/* =====================================================================
   HEADER  (mid-gray chrome, black Kronnix logo, white nav)
   ===================================================================== */
.site-header {
  background: linear-gradient(180deg, var(--header-a), var(--header-b));
  position: sticky; top: 0; z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,.25);
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 78px; gap: 20px;
}
.brand-logo img { height: 40px; width: auto; }

.header-right { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.partner-badge {
  display: flex; align-items: center; gap: 9px;
  font-size: 16px; font-weight: 700; color: var(--ink);
  letter-spacing: .2px;
}
.partner-badge img { height: 22px; width: auto; }

.main-nav { display: flex; align-items: center; gap: 6px; }
.main-nav a {
  display: block; padding: 6px 14px;
  font-size: 13px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 1.4px; color: #fff;
  text-shadow: 0 1px 1px rgba(0,0,0,.25);
}
.main-nav a:hover,
.main-nav li.active > a { color: var(--red); }

/* dropdown (product sections) */
.main-nav li { position: relative; }
.dropdown-menu {
  display: none; position: absolute; top: 100%; right: 0;
  background: #f3f3f3; min-width: 230px; padding: 6px 0;
  border-top: 3px solid var(--red);
  box-shadow: 0 10px 26px rgba(0,0,0,.3); z-index: 1001;
}
.main-nav li:hover .dropdown-menu { display: block; }
.dropdown-menu a {
  color: var(--ink); text-transform: none; letter-spacing: .3px;
  font-size: 13px; font-weight: 600; padding: 9px 18px; text-shadow: none;
}
.dropdown-menu a:hover { background: #e3e3e3; color: var(--red); }

/* hamburger */
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: 0; cursor: pointer; padding: 8px;
}
.hamburger span { width: 26px; height: 3px; background: #fff; border-radius: 2px; transition: .3s; }

/* =====================================================================
   HOME HERO  (designed scene with the CREATE. CONNECT. PROTECT. lockup
   baked into the artwork — shown full-width at natural aspect ratio)
   ===================================================================== */
.hero { position: relative; background: #2c333b; line-height: 0; }
.hero-img { width: 100%; height: auto; display: block; }
.hero-ckp { position: absolute; right: 32px; bottom: 20px; z-index: 2; }
.hero-ckp img { height: 30px; width: auto; filter: drop-shadow(0 1px 6px rgba(0,0,0,.5)); }

/* =====================================================================
   METO PARTNER BAND  (below home hero)
   ===================================================================== */
.meto-band {
  background: var(--band-light); padding: 14px 0;
}
.meto-band .container {
  display: flex; align-items: center; justify-content: flex-end; gap: 12px;
}
.meto-band img { height: 30px; width: auto; }
.meto-band span { font-size: 13px; font-weight: 700; color: var(--ink); }

/* =====================================================================
   CATEGORY CARDS  (home: 4-up)
   ===================================================================== */
.category-section { background: var(--band-mid); padding: 40px 0 56px; }
.category-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}
.category-card {
  background: var(--card); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); display: flex; flex-direction: column;
  transition: transform .3s, box-shadow .3s;
}
.category-card:hover { transform: translateY(-6px); box-shadow: 0 14px 34px rgba(0,0,0,.28); }
.cat-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 18px 10px;
}
.cat-head h3 { font-size: 16px; color: var(--ink); text-transform: uppercase; letter-spacing: .5px; }
.cat-head h3 small { display: block; font-size: 11px; font-weight: 600; color: var(--slate);
  text-transform: none; letter-spacing: .2px; margin-top: 2px; font-style: italic; }
.cat-arrow { color: var(--red); font-size: 22px; line-height: 1; flex: none; }
.cat-media {
  flex: 1; min-height: 188px; display: flex; align-items: flex-end; justify-content: center;
  padding: 12px 18px 0; background: linear-gradient(180deg,#fafafa,#ececec);
}
.cat-media img { max-height: 175px; width: auto; object-fit: contain; }

/* =====================================================================
   VIDEO BLOCK
   ===================================================================== */
.video-block { background: #4a4a4a; padding: 56px 0; }
.video-block .frame {
  max-width: 940px; margin: 0 auto; background: #2e2e2e;
  box-shadow: 0 6px 26px rgba(0,0,0,.4);
}
.video-block video { width: 100%; display: block; }
.video-cta { text-align: center; color: #ddd; font-size: 14px; margin-top: 14px; }

/* =====================================================================
   FOOTER
   ===================================================================== */
.site-footer { background: var(--footer-bg); padding: 16px 0; }
.site-footer .container {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.site-footer .disclaimer { font-size: 11px; color: #b5b5b5; letter-spacing: .2px; }
.site-footer .footer-logo img { height: 20px; width: auto; opacity: .92; }

/* =====================================================================
   SUB-NAV  (lateral navigation inside a product section)
   ===================================================================== */
.subnav { background: var(--band-mid); border-bottom: 1px solid #888; }
.subnav .container { display: flex; flex-wrap: wrap; gap: 6px; padding-top: 10px; padding-bottom: 10px; }
.subnav a {
  padding: 7px 16px; font-size: 12px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .6px; color: #fff; background: rgba(0,0,0,.12); border-radius: 2px;
}
.subnav a:hover { background: rgba(0,0,0,.28); color: #fff; }
.subnav a.active { background: var(--red); color: #fff; }

/* =====================================================================
   PAGE / FEATURE HERO  (product landing pages)
   ===================================================================== */
.feature-hero { background: var(--band-light); padding: 48px 0 36px; position: relative; }
.feature-hero .container { position: relative; z-index: 2; }
.feature-hero .eyebrow { color: var(--red); font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; font-size: 13px; margin-bottom: 8px; }
.feature-hero h1 { font-size: clamp(26px, 3.6vw, 42px); color: var(--ink); }
.feature-hero h1 .red { color: var(--red); }
.feature-hero .lead { font-size: clamp(15px,1.6vw,19px); color: var(--muted); margin-top: 10px; max-width: 640px; }
.feature-hero-media { margin-top: 22px; }
.feature-hero-media img { width: 100%; border-radius: var(--radius); }

/* full-bleed image hero with overlay text */
.media-hero { position: relative; min-height: 420px; display: flex; align-items: center;
  background: #2c333b; overflow: hidden; }
.media-hero img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.media-hero .overlay { position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(15,18,24,.55), rgba(15,18,24,.05)); }
.media-hero .container { position: relative; z-index: 2; color: #fff; }
.media-hero h1 { font-size: clamp(24px,3.2vw,40px); font-weight: 300; letter-spacing: .04em;
  text-shadow: 0 2px 18px rgba(0,0,0,.5); }
.media-hero h1 strong { font-weight: 700; }
.media-hero .badge-title { color: var(--red); font-size: clamp(22px,3vw,38px); font-weight: 800; margin-top: 18px; }
.media-hero .badge-sub { color: #eee; letter-spacing: 3px; text-transform: uppercase; font-size: 15px; }

/* =====================================================================
   CHECKPOINT STRIP  (logo divider used across product pages)
   ===================================================================== */
.ckp-strip { background: var(--band-light); padding: 12px 0; }
.ckp-strip img { height: 22px; width: auto; }

/* =====================================================================
   PROSE / TEXT BLOCKS
   ===================================================================== */
.prose { max-width: 820px; }
.prose h2 { font-size: 26px; color: var(--ink); margin-bottom: 12px; }
.prose h2 .red { color: var(--red); }
.kicker { color: var(--red); font-weight: 800; font-size: 18px; margin-bottom: 6px; }
.prose p { font-size: 15px; color: #3a3a3a; margin-bottom: 14px; }
.lead-red { color: var(--red); font-weight: 700; }

/* section heading helper */
.sec-title { font-size: clamp(22px,2.6vw,32px); margin-bottom: 6px; }
.sec-title .red { color: var(--red); }
.sec-sub { color: var(--muted); font-size: 16px; margin-bottom: 26px; }

/* =====================================================================
   SPLIT  (text + image, 50/50, alternating)
   ===================================================================== */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; padding: 40px 0; }
.split.reverse .split-text { order: 2; }
.split-text h2 { font-size: 24px; margin-bottom: 10px; }
.split-text h2 .red, .split-text h3 { color: var(--red); }
.split-text h3 { font-size: 18px; font-style: italic; margin-bottom: 8px; }
.split-text p { font-size: 14px; color: #3a3a3a; margin-bottom: 10px; }
.split-text .hl { color: var(--red); font-weight: 700; }
.split-media img { width: 100%; border-radius: var(--radius); }

/* =====================================================================
   SUB-SECTION CARDS  (3-up links to child pages)
   ===================================================================== */
.subcards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.subcards.two { grid-template-columns: repeat(2,1fr); }
.subcards.four { grid-template-columns: repeat(4,1fr); }
.subcard {
  background: var(--card); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); display: flex; flex-direction: column;
  transition: transform .3s, box-shadow .3s;
}
.subcard:hover { transform: translateY(-5px); box-shadow: 0 14px 30px rgba(0,0,0,.25); }
.subcard .sc-head {
  display: flex; align-items: center; gap: 8px; padding: 14px 16px 8px;
  font-weight: 800; text-transform: uppercase; letter-spacing: .5px; font-size: 14px; color: var(--ink);
}
.subcard .sc-head .arrow { color: var(--red); margin-left: auto; font-size: 18px; }
.subcard .sc-media {
  flex: 1; min-height: 170px; display: flex; align-items: flex-end; justify-content: center;
  padding: 10px 16px 0; background: linear-gradient(180deg,#fafafa,#ededed);
}
.subcard .sc-media img { max-height: 160px; width: auto; object-fit: contain; }

/* =====================================================================
   PRODUCT GALLERY  (image tiles on light backdrop)
   ===================================================================== */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px,1fr)); gap: 14px; }
.gallery.cols-3 { grid-template-columns: repeat(3,1fr); }
.gallery.cols-4 { grid-template-columns: repeat(4,1fr); }
.gallery.cols-5 { grid-template-columns: repeat(5,1fr); }
.g-tile {
  background: var(--tile); border-radius: var(--radius); padding: 14px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  transition: transform .3s, box-shadow .3s;
}
.g-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.g-tile img { max-height: 150px; width: auto; object-fit: contain; }
.g-tile .caption { font-size: 12px; color: var(--muted); margin-top: 10px; text-align: center; }

/* =====================================================================
   PHOTO MOSAIC  (edge-to-edge lifestyle photos)
   ===================================================================== */
.mosaic { display: grid; gap: 5px; }
.mosaic.cols-2 { grid-template-columns: repeat(2,1fr); }
.mosaic.cols-3 { grid-template-columns: repeat(3,1fr); }
.mosaic.cols-4 { grid-template-columns: repeat(4,1fr); }
.mosaic img { width: 100%; height: 230px; object-fit: cover; display: block; }

/* =====================================================================
   FEATURE / SPEC LISTS
   ===================================================================== */
.spec-list { margin: 8px 0 4px; }
.spec-list li { position: relative; padding: 6px 0 6px 22px; font-size: 14px; color: #3a3a3a; }
.spec-list li::before { content: ""; position: absolute; left: 4px; top: 13px;
  width: 8px; height: 8px; background: var(--red); border-radius: 50%; }
.bg-dark .spec-list li { color: #e3e3e3; }

/* =====================================================================
   METO PRODUCT LINEUP
   ===================================================================== */
.lineup { display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-end; gap: 26px; }
.lineup .item { text-align: center; }
.lineup .item img { height: 150px; width: auto; object-fit: contain; margin: 0 auto 8px; }
.lineup .item span { font-weight: 700; font-size: 13px; color: var(--ink); }

/* =====================================================================
   CONTACT FORM
   ===================================================================== */
.contact-form { max-width: 760px; margin: 0 auto; }
.contact-form .panel { background: var(--band-light); padding: 26px 26px 30px; border-radius: var(--radius); }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 14px; color: var(--ink); margin-bottom: 6px; font-weight: 600; }
.field label .req { color: var(--red); font-style: italic; font-weight: 400; }
.field input, .field select {
  width: 100%; padding: 11px 14px; border: 1px solid #bbb; border-radius: 16px;
  background: #fff; color: var(--ink); font: inherit; font-size: 15px;
}
.field input:focus, .field select:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 2px rgba(212,30,35,.15); }
.consent { display: flex; align-items: flex-start; gap: 10px; margin: 18px 0 6px;
  font-size: 13px; letter-spacing: .4px; color: var(--ink); text-transform: uppercase; }
.consent input { margin-top: 3px; }
.submit-row { display: flex; align-items: center; gap: 14px; margin-top: 22px; }
.submit-row .note { font-size: 16px; color: var(--ink); }
.gdpr { font-size: 12px; color: #444; margin-top: 22px; line-height: 1.6; }

/* =====================================================================
   ABOUT PAGE
   ===================================================================== */
.about-heading { font-size: 30px; font-style: italic; color: var(--ink); margin-bottom: 22px; }
.about-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 38px; align-items: start; }
.about-grid h2 { color: var(--red); font-size: 18px; margin-bottom: 12px; letter-spacing: .5px; }
.about-grid p { font-size: 14px; color: #333; margin-bottom: 12px; }
.about-media img { width: 100%; border-radius: var(--radius); margin-bottom: 8px; }
.about-media .caption { font-size: 11px; color: #555; font-style: italic; text-align: right; margin-bottom: 16px; }
/* Checkpoint master-distributor credential — a modest supporting badge, not a dominant graphic */
.about-media .partner-credential { width: auto; max-width: 210px; display: block; margin: 18px auto 4px; }
.about-media .partner-credential + .caption { text-align: center; color: #666; }
.partners-band { background: var(--band-mid); padding: 30px 0; }
.partners-band .row { display: flex; align-items: center; justify-content: center; gap: 40px; flex-wrap: wrap; }
.partners-band img { height: 28px; width: auto; }
.partners-band .statement { text-align: center; color: var(--ink); font-weight: 700;
  text-transform: uppercase; letter-spacing: .5px; font-size: 13px; margin-top: 18px; }

/* =====================================================================
   BUTTONS
   ===================================================================== */
.btn { display: inline-block; padding: 11px 26px; background: var(--red); color: #fff;
  border: 0; border-radius: 18px; font-size: 14px; font-weight: 700; letter-spacing: 1px;
  text-transform: uppercase; cursor: pointer; transition: background .25s; }
.btn:hover { background: var(--red-dark); color: #fff; }

/* =====================================================================
   SITEMAP (sitemap.html helper)
   ===================================================================== */
.tree-note { font-size: 13px; color: var(--muted); }

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width: 1024px) {
  .category-grid { grid-template-columns: repeat(2,1fr); }
  .subcards, .subcards.four { grid-template-columns: repeat(2,1fr); }
  .split { grid-template-columns: 1fr; gap: 24px; }
  .split.reverse .split-text { order: 0; }
  .about-grid { grid-template-columns: 1fr; }
  .gallery.cols-4, .gallery.cols-5 { grid-template-columns: repeat(3,1fr); }
  .mosaic.cols-4 { grid-template-columns: repeat(3,1fr); }
}
@media (max-width: 768px) {
  .site-header .container { flex-wrap: wrap; min-height: 64px; }
  .hamburger { display: flex; order: 3; }
  .header-right { width: 100%; align-items: stretch; display: none; }
  .header-right.open { display: flex; }
  .partner-badge { justify-content: center; font-size: 14px; }
  .main-nav { flex-direction: column; align-items: stretch; gap: 0; }
  .main-nav a { padding: 12px 8px; border-top: 1px solid rgba(255,255,255,.18); text-align: center; }
  .dropdown-menu { position: static; display: block; box-shadow: none; border-top: 0; background: transparent; padding: 0; }
  .dropdown-menu a { color: #eee; padding-left: 24px; }
  .dropdown-menu a:hover { background: rgba(0,0,0,.18); }
  .subcards, .subcards.two, .subcards.four,
  .category-grid { grid-template-columns: 1fr 1fr; }
  .gallery.cols-3, .gallery.cols-4, .gallery.cols-5 { grid-template-columns: repeat(2,1fr); }
  .mosaic.cols-2, .mosaic.cols-3, .mosaic.cols-4 { grid-template-columns: repeat(2,1fr); }
  .mosaic img { height: 180px; }
  .section { padding: 40px 0; }
}
@media (max-width: 480px) {
  .category-grid, .subcards, .subcards.two, .subcards.four { grid-template-columns: 1fr; }
  .gallery.cols-3, .gallery.cols-4, .gallery.cols-5 { grid-template-columns: 1fr 1fr; }
  .partner-badge { font-size: 12px; }
  .submit-row { flex-direction: column; align-items: flex-start; }
}
