/* Kotak Factory — replicated site styles */

:root {
  --navy: #303082;
  --navy-dark: #010157;
  --green: #00d51d;
  --white: #ffffff;
  --font: 'Montserrat', sans-serif;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font);
  color: #333333;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}

h2, h3 {
  margin: 0;
}

/* Header */
.site-header {
  background: var(--navy);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding: 22px 20px;
}

.logo-main {
  height: 75px;
  width: auto;
}

.logo-tagline {
  height: 76px;
  width: auto;
}

/* Subheader */
.subheader {
  background: var(--white);
  border-bottom: 10px solid var(--navy);
  padding: 34px 0;
  text-align: center;
}

.subheader h2 {
  color: var(--navy);
  font-size: 24px;
  font-weight: 600;
  line-height: 1.4;
}

.subheader .plus {
  color: var(--navy);
  font-weight: 700;
  margin: 0 6px;
}

/* Product grid */
.products {
  padding: 50px 0;
}

.product-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.product-item {
  width: 208px;
  text-align: center;
}

.product-item img {
  width: 100%;
  height: auto;
  margin: 0 auto;
}

.product-item h3 {
  margin-top: 18px;
  color: var(--navy);
  font-size: 24px;
  font-weight: 800;
  line-height: 1.3;
}

/* Brand line */
.brand-line {
  border-top: 10px solid var(--navy);
  padding: 34px 0;
  text-align: center;
}

.brand-line h2 {
  color: var(--navy);
  font-size: 24px;
  font-weight: 600;
  line-height: 1.5;
}

.brand-line mark {
  background: var(--navy);
  color: var(--white);
  padding: 3px 10px;
  font-weight: 700;
}

/* Footer */
.site-footer {
  background: var(--navy);
  padding: 60px 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.footer-left {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
}

.footer-icon {
  width: 130px;
  height: auto;
  flex-shrink: 0;
}

.footer-info h2 {
  color: var(--white);
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 14px;
}

.footer-info p {
  color: var(--white);
  font-size: 16px;
  line-height: 1.5;
  margin: 0 0 10px;
  max-width: 420px;
}

.footer-info a {
  text-decoration: underline;
}

.social-icons {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}

.social-icons a {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s ease;
}

.social-icons a:hover {
  opacity: 0.8;
}

.social-icons svg {
  width: 12px;
  height: 12px;
  fill: var(--navy);
}

.footer-right {
  max-width: 360px;
}

.footer-right h2 {
  color: var(--white);
  font-size: 30px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 22px;
}

.btn-whatsapp {
  display: inline-block;
  background: var(--green);
  color: var(--white);
  font-size: 15px;
  font-weight: 500;
  padding: 12px 24px;
  border-radius: 3px;
  text-decoration: none;
}

.btn-whatsapp:hover {
  opacity: 0.9;
}

/* Bottom bar */
.bottom-bar {
  background: var(--navy-dark);
  padding: 13px 0;
  text-align: center;
}

.bottom-bar p {
  color: var(--white);
  font-size: 12.8px;
  font-weight: 600;
  margin: 0;
}

/* Responsive tweaks */
@media (max-width: 640px) {
  .header-inner {
    justify-content: center;
    text-align: center;
    padding: 20px 16px;
  }

  .logo-main,
  .logo-tagline {
    height: 56px;
  }

  .subheader h2,
  .brand-line h2 {
    font-size: 19px;
  }

  .products {
    padding: 36px 0;
  }

  .product-grid {
    justify-content: center;
  }

  .product-item {
    width: calc(50% - 10px);
  }

  .product-item h3 {
    font-size: 18px;
  }

  .footer-inner {
    text-align: center;
  }

  .footer-left {
    justify-content: center;
    margin: 0 auto 36px;
  }

  .footer-info p {
    max-width: none;
  }

  .social-icons {
    justify-content: center;
  }

  .footer-right {
    max-width: none;
    margin: 0 auto;
  }
}
