/* ============================================
   KROMA INDUSTRIES — Global Stylesheet v2
   Light theme · Inter/Helvetica fonts
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
  --ink:        #111111;
  --body:       #ffffff;
  --surface:    #f5f5f5;
  --surface2:   #eeeeee;
  --border:     #e2e2e2;
  --muted:      #666666;
  --subtle:     #999999;

  --c-red:      #ed1c24;
  --c-orange:   #f78d1e;
  --c-yellow:   #f5c400;
  --c-green:    #00a651;
  --c-blue:     #0095da;
  --c-indigo:   #2e3192;
  --c-violet:   #684287;
  --accent:     #ed1c24;
  --warm-mid:   #e2e2e2;
  --chalk:      #ffffff;

  --radius-sm:  4px;
  --radius:     8px;
  --radius-lg:  12px;
  --gap:        clamp(1rem, 2.5vw, 1.5rem);
  --section:    clamp(3.5rem, 6vw, 6rem);
  --max-w:      1240px;
  --nav-h:      74px;
  --font:       'Inter', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --font-head:  var(--font);
  --font-body:  var(--font);
  --trans:      0.18s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--body);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }

/* Rainbow stripe */
.rainbow-stripe {
  height: 4px;
  background: linear-gradient(90deg,
    #ed1c24 0%, #f78d1e 18%, #f5c400 34%,
    #00a651 50%, #0095da 67%, #2e3192 83%, #684287 100%);
}

/* ---- NAV ---- */
.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: #fff;
  height: var(--nav-h);
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center;
  padding: 0 clamp(1rem, 3vw, 2.5rem);
  transition: box-shadow var(--trans);
}
.site-nav.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.07); }
.nav-inner {
  max-width: var(--max-w); margin: 0 auto; width: 100%;
  display: flex; align-items: center; gap: 2rem;
}
.nav-logo { flex-shrink: 0; line-height: 0; }
.nav-logo img { height: 53px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 0.1rem; margin-left: auto; }
.nav-links > li { position: relative; }
.nav-links a {
  color: var(--muted); font-size: 0.875rem; font-weight: 500;
  padding: 0.4rem 0.8rem; border-radius: var(--radius-sm);
  transition: color var(--trans), background var(--trans);
  white-space: nowrap;
}
.nav-links a:hover { color: var(--ink); background: var(--surface); }
.nav-links a.active { color: var(--ink); font-weight: 600; }
.nav-dropdown > a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.nav-dropdown::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 16px;
}
.nav-dropdown > a::after {
  content: '';
  width: 7px;
  height: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-1px);
  opacity: 0.7;
}
.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 0.35rem);
  left: 0;
  width: 560px;
  padding: 1.15rem 1.2rem;
  background: rgba(255,255,255,0.98);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 18px 44px rgba(0,0,0,0.12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity var(--trans), visibility var(--trans), transform var(--trans);
  pointer-events: none;
  backdrop-filter: blur(8px);
}
.nav-dropdown-menu::before {
  content: '';
  position: absolute;
  top: -7px;
  left: 26px;
  width: 14px;
  height: 14px;
  background: #fff;
  border-left: 1px solid var(--border);
  border-top: 1px solid var(--border);
  transform: rotate(45deg);
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}
.nav-dropdown-menu--products {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
}
.nav-dropdown-cats {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding-right: 1rem;
  border-right: 1px solid rgba(17,17,17,0.07);
}
.nav-dropdown-cat {
  width: 100%;
  border: none;
  background: transparent;
  text-align: left;
  padding: 0.7rem 0.85rem;
  border-radius: 12px;
  color: var(--muted);
  font-family: var(--font-head);
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.3;
  cursor: pointer;
  transition: background var(--trans), color var(--trans);
}
.nav-dropdown-cat:hover,
.nav-dropdown-cat:focus-visible,
.nav-dropdown-cat.active {
  background: var(--surface);
  color: var(--ink);
  outline: none;
}
.nav-dropdown-panels {
  min-height: 228px;
}
.nav-dropdown-panel {
  display: none;
}
.nav-dropdown-panel.active {
  display: block;
}
.nav-dropdown-item {
  display: block;
  padding: 0.45rem 0.55rem;
  border-radius: 10px;
  transition: background var(--trans);
}
.nav-dropdown-item + .nav-dropdown-item { margin-top: 0.15rem; }
.nav-dropdown-item strong {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0.01em;
}
.nav-dropdown-item span {
  display: block;
  margin-top: 0.08rem;
  font-size: 0.78rem;
  font-style: italic;
  color: var(--muted);
}
.nav-dropdown-item:hover { background: var(--surface); }
.nav-cta-wrap { margin-left: 0.75rem; flex-shrink: 0; }
.nav-cta {
  display: inline-flex; align-items: center;
  background: linear-gradient(90deg,
    #ed1c24 0%, #f78d1e 18%, #f5c400 34%,
    #00a651 50%, #0095da 67%, #2e3192 83%, #684287 100%);
  color: #fff !important;
  font-size: 0.825rem; font-weight: 600;
  padding: 0.48rem 1rem; border-radius: var(--radius-sm);
  background-size: 160% 100%;
  transition: filter var(--trans), transform var(--trans), background-position var(--trans);
}
.nav-cta:hover {
  filter: saturate(1.05) brightness(1.03);
  transform: translateY(-1px);
  background-position: 100% 0;
}
.hamburger { display: none; flex-direction: column; gap: 5px; padding: 6px; margin-left: auto; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform var(--trans), opacity var(--trans); }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-menu {
  display: none; position: fixed; top: var(--nav-h); left: 0; right: 0;
  background: #fff; z-index: 999;
  padding: 0.75rem 1.25rem 1.25rem;
  border-bottom: 1px solid var(--border);
  flex-direction: column;
  box-shadow: 0 8px 24px rgba(0,0,0,0.07);
}
.mobile-menu.open { display: flex; }
.mobile-menu a { color: var(--ink); font-size: 0.875rem; font-weight: 500; padding: 0.65rem 0; border-bottom: 1px solid var(--border); }
.mobile-menu a:last-child { border-bottom: none; color: var(--accent); font-weight: 600; }
.mobile-menu-group {
  padding: 0.7rem 0 0.2rem;
  border-bottom: 1px solid var(--border);
}
.mobile-menu-group strong {
  display: block;
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 0.5rem;
}
.mobile-menu-subitem {
  display: block;
  padding: 0.35rem 0 0.55rem 0.9rem;
  border-bottom: none !important;
}
.mobile-menu-subitem span {
  display: block;
  font-size: 0.78rem;
  font-style: italic;
  color: var(--muted);
  margin-top: 0.05rem;
}

.page-header-spacer { height: var(--nav-h); }

/* ---- LAYOUT ---- */
.section { padding: var(--section) clamp(1rem, 3vw, 2.5rem); }
.container { max-width: var(--max-w); margin: 0 auto; width: 100%; }

/* ---- TYPOGRAPHY ---- */
h1, h2, h3, h4 { font-family: var(--font); line-height: 1.15; letter-spacing: -0.02em; }
.display-title { font-size: clamp(2.2rem, 4.5vw, 4rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.06; }
.section-title  { font-size: clamp(1.5rem, 3vw, 2.4rem); font-weight: 700; letter-spacing: -0.025em; }
.card-title     { font-size: 0.975rem; font-weight: 700; }
.eyebrow {
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent); display: inline-block; margin-bottom: 0.5rem;
}

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.6rem 1.25rem; font-size: 0.875rem; font-weight: 600;
  border-radius: var(--radius-sm); transition: all var(--trans); white-space: nowrap; cursor: pointer;
}
.btn-primary {
  background: #111111;
  color: #ffffff;
  border: 1px solid #111111;
}
.btn-primary:hover {
  background: #e9e9e9;
  border-color: #d5d5d5;
  color: #111111;
}
.btn-outline { border: 1.5px solid var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-outline-white { border: 1.5px solid rgba(255,255,255,0.4); color: #fff; background: transparent; }
.btn-outline-white:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.7); }
.btn-sm { padding: 0.38rem 0.85rem; font-size: 0.78rem; }
.btn svg { width: 14px; height: 14px; flex-shrink: 0; }

/* ---- TAGS ---- */
.tag { display: inline-block; font-size: 0.67rem; font-weight: 600; letter-spacing: 0.07em; text-transform: uppercase; padding: 0.22rem 0.55rem; border-radius: 3px; background: var(--surface); color: var(--muted); }
.brand-pill { display: inline-block; font-size: 0.63rem; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; padding: 0.18rem 0.5rem; border-radius: 3px; background: var(--brand-c, var(--accent)); color: #fff; }
.brand-KROMACONS  { --brand-c: #2e3192; }
.brand-KROMACOAT  { --brand-c: #00a651; }
.brand-KROMAFINE  { --brand-c: #5b7f2a; }
.brand-KROMAPLAS  { --brand-c: #4a9e4d; }
.brand-KROMATEX   { --brand-c: #684287; }
.brand-KROMAQUA   { --brand-c: #f78d1e; }
.brand-KROMAQUIP  { --brand-c: #ed1c24; }
.brand-KromaPrint { --brand-c: #0095da; }

/* ---- CARDS ---- */
.card { background: #fff; border-radius: var(--radius); border: 1px solid var(--border); transition: box-shadow var(--trans), transform var(--trans); }
.card:hover { box-shadow: 0 6px 24px rgba(0,0,0,0.09); transform: translateY(-2px); }

/* ---- STATS ---- */
.stat-number { font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1; color: var(--accent); }
.stat-label  { font-size: 0.72rem; font-weight: 500; letter-spacing: 0.05em; text-transform: uppercase; color: var(--subtle); margin-top: 0.3rem; }

/* ---- GRIDS ---- */
.grid-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: var(--gap); }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: var(--gap); }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: var(--gap); }
.grid-auto { display: grid; grid-template-columns: repeat(auto-fill,minmax(260px,1fr)); gap: var(--gap); }

/* ---- SWATCH ROW ---- */
.swatch-row { display: flex; gap: 3px; height: 4px; border-radius: 2px; overflow: hidden; }
.swatch-row span { flex: 1; }

/* ---- FOOTER ---- */
.site-footer {
  background: #111; color: rgba(255,255,255,0.6);
  padding: 3.5rem clamp(1rem,3vw,2.5rem) 0;
}
.footer-inner {
  max-width: var(--max-w); margin: 0 auto;
  display: grid; grid-template-columns: 2fr repeat(3,1fr); gap: 2.5rem;
}
.footer-logo-wrap { line-height: 0; }
.footer-logo-wrap img { height: 48px; width: auto; opacity: 0.95; }
.footer-brand p { font-size: 0.8rem; line-height: 1.7; margin-top: 0.75rem; color: rgba(255,255,255,0.45); max-width: 250px; }
.footer-col h4 { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: #fff; margin-bottom: 0.875rem; }
.footer-col a { display: block; font-size: 0.8rem; padding: 0.2rem 0; color: rgba(255,255,255,0.45); transition: color var(--trans); }
.footer-col a:hover { color: #fff; }
.footer-contact-row { display: flex; gap: 0.5rem; align-items: flex-start; font-size: 0.78rem; color: rgba(255,255,255,0.45); margin-bottom: 0.5rem; line-height: 1.5; }
.footer-contact-row svg { width: 12px; height: 12px; flex-shrink: 0; margin-top: 2px; color: var(--c-red); }
.footer-bottom {
  max-width: var(--max-w); margin: 2.5rem auto 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 1.1rem 0;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 0.5rem;
  font-size: 0.7rem; color: rgba(255,255,255,0.28);
}

/* ---- WHATSAPP ---- */
.whatsapp-float {
  position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 500;
  background: #25D366; color: #fff;
  width: 48px; height: 48px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(37,211,102,0.4);
  transition: transform var(--trans);
}
.whatsapp-float:hover { transform: scale(1.08); }
.whatsapp-float svg { width: 24px; height: 24px; }

/* ---- ANIMATIONS ---- */
@keyframes fadeUp { from { opacity:0; transform:translateY(18px); } to { opacity:1; transform:translateY(0); } }
.animate-up  { animation: fadeUp 0.55s ease both; }
.animate-up-1 { animation: fadeUp 0.55s 0.1s ease both; }
.animate-up-2 { animation: fadeUp 0.55s 0.2s ease both; }
.animate-up-3 { animation: fadeUp 0.55s 0.3s ease both; }
.animate-up-delay-1 { animation: fadeUp 0.55s 0.1s ease both; }
.animate-up-delay-2 { animation: fadeUp 0.55s 0.2s ease both; }
.animate-up-delay-3 { animation: fadeUp 0.55s 0.3s ease both; }

/* ---- UTILITIES ---- */
.text-center  { text-align: center; }
.text-white   { color: #fff; }
.text-muted   { color: var(--muted); }
.mt-xs { margin-top: 0.4rem; }
.mt-sm { margin-top: 0.875rem; }
.mt-md { margin-top: 1.75rem; }
.mt-lg { margin-top: 3rem; }
.mb-sm { margin-bottom: 0.875rem; }
.mb-md { margin-bottom: 1.75rem; }
.flex { display: flex; }
.flex-center  { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.gap-sm { gap: 0.6rem; }
.gap-md { gap: 1rem; }
.bg-dark    { background: var(--ink); color: #fff; }
.bg-surface { background: var(--surface); }
.bg-warm    { background: var(--surface); }
.bg-accent  { background: var(--accent); color: #fff; }
.divider { height: 1px; background: var(--border); }

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
  .nav-dropdown-menu { width: 460px; }
  .nav-dropdown-menu--products { grid-template-columns: 170px minmax(0, 1fr); }
  .grid-4 { grid-template-columns: repeat(2,1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
@media (max-width: 768px) {
  .nav-dropdown-menu { width: 320px; }
  .nav-dropdown-menu--products { display: block; }
  .nav-dropdown-cats,
  .nav-dropdown-panels {
    display: block;
    min-height: 0;
  }
  .nav-dropdown-cats {
    padding-right: 0;
    border-right: none;
    margin-bottom: 0.8rem;
  }
  .nav-dropdown-cat { display: none; }
  .nav-dropdown-panel { display: block; }
  .nav-dropdown-panel + .nav-dropdown-panel {
    margin-top: 1.05rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(17,17,17,0.07);
  }
  .nav-links, .nav-cta-wrap { display: none; }
  .hamburger { display: flex; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 1.75rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
@media (max-width: 480px) { .grid-4 { grid-template-columns: 1fr; } }
