/* ==========================================================
   JualAlkitab.com — Under Maintenance
   Visual direction: consistent with the supplied redesign reference.
   Palette: Primary Navy #0B2555 | Warm Gold #C99A3B |
   Ivory #FAF6EF | Charcoal #2B2B2B | Soft Beige #E8DCC8
   ========================================================== */

:root {
  --navy: #0B2555;
  --navy-deep: #071B40;
  --navy-soft: #173A74;
  --gold: #C99A3B;
  --gold-hover: #D7AA4D;
  --ivory: #FAF6EF;
  --charcoal: #2B2B2B;
  --soft-beige: #E8DCC8;
  --soft-beige-2: #F1E8D9;
  --muted: #6E665D;
  --line: #E8E0D4;
  --white: #FFFFFF;
  --card-shadow: 0 8px 18px rgba(11, 37, 85, .055);
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 18px;
  --container: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--charcoal);
  background: var(--ivory);
  font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

.container {
  width: min(calc(100% - 56px), var(--container));
  margin: 0 auto;
}

.skip-link {
  position: fixed;
  z-index: 99;
  top: -60px;
  left: 18px;
  padding: 10px 16px;
  color: var(--white);
  background: var(--navy);
  border-radius: 0 0 8px 8px;
  font-weight: 700;
  text-decoration: none;
}

.skip-link:focus { top: 0; }

/* Header */
.site-header {
  background: var(--white);
  box-shadow: 0 1px 0 rgba(11,37,85,.04);
}

.promo-bar {
  min-height: 23px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 4px 18px;
  color: rgba(255,255,255,.92);
  background: var(--navy);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .01em;
  text-align: center;
}

.promo-bar span { color: var(--gold); }

.main-header {
  min-height: 72px;
  display: grid;
  grid-template-columns: 230px minmax(250px, 1fr) auto;
  align-items: center;
  gap: 26px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  color: var(--navy);
  text-decoration: none;
}

.brand-logo {
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  object-fit: contain;
}

.brand-text strong {
  display: block;
  font-size: 12px;
  line-height: 1.08;
  letter-spacing: -.02em;
}

.brand-text strong span { color: var(--navy); }
.brand-text small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 7px;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.search-visual {
  height: 34px;
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: 410px;
  padding: 0 14px;
  color: #938A80;
  background: #F7F4EF;
  border: 1px solid #EEE9E2;
  border-radius: 999px;
  font-size: 10px;
}

.search-visual svg {
  width: 15px;
  height: 15px;
  color: #8D877F;
}

.header-actions {
  display: flex;
  justify-content: flex-end;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 12px;
  color: var(--navy);
  background: #F6F8FC;
  border: 1px solid #E2E8F3;
  border-radius: 999px;
  font-size: 9px;
  font-weight: 750;
  white-space: nowrap;
}

.status-pill span {
  width: 7px;
  height: 7px;
  background: var(--gold);
  border-radius: 50%;
}

/* Hero */
.hero-section {
  padding: clamp(44px, 6vw, 78px) 0 46px;
  background: var(--ivory);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(330px, .95fr) minmax(380px, 1.05fr);
  align-items: center;
  gap: clamp(34px, 6vw, 76px);
}

.hero-image-frame {
  overflow: hidden;
  background: var(--soft-beige);
  border-radius: var(--radius-lg);
  box-shadow: var(--card-shadow);
}

.hero-image-frame img {
  width: 100%;
  height: auto;
  aspect-ratio: 1.28 / 1;
  object-fit: cover;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--gold);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.hero-copy h1,
.section-title-row h2,
.contact-cta h2 {
  margin: 0;
  color: var(--charcoal);
  font-size: clamp(2rem, 3.4vw, 3.8rem);
  line-height: 1.12;
  letter-spacing: -.038em;
}

.hero-copy h1 {
  max-width: 620px;
  font-size: clamp(2.1rem, 3.7vw, 3.55rem);
}

.hero-copy > p:not(.eyebrow) {
  max-width: 570px;
  margin: 17px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 25px;
}

.button {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 750;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 9px 14px rgba(11,37,85,.16);
}

.button:focus-visible,
.whatsapp-link:focus-visible,
.channel-card:focus-visible,
.product-info a:focus-visible {
  outline: 3px solid rgba(201,154,59,.55);
  outline-offset: 3px;
}

.button-primary {
  color: var(--white);
  background: var(--navy);
}

.button-primary:hover { background: var(--navy-soft); }

.button-gold {
  color: var(--white);
  background: var(--gold);
}

.button-gold:hover { background: var(--gold-hover); }

.whatsapp-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 17px;
  color: var(--navy);
  font-size: 11px;
  font-weight: 750;
  text-decoration: none;
}

.whatsapp-link:hover { color: var(--gold); }

.whatsapp-icon {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  color: #2F7B57;
  background: #E8F4ED;
  border-radius: 50%;
}

.whatsapp-icon svg {
  width: 16px;
  height: 16px;
}

/* Channel cards */
.channel-section {
  padding: 26px 0 44px;
  background: var(--ivory);
}

.section-title-row {
  margin-bottom: 21px;
}

.section-title-row h2 {
  font-size: clamp(1.45rem, 2.1vw, 2rem);
  letter-spacing: -.028em;
}

.section-title-row p {
  max-width: 650px;
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 11px;
}

.channel-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.channel-card {
  min-height: 85px;
  display: grid;
  grid-template-columns: 34px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 17px 18px;
  color: var(--charcoal);
  background: var(--white);
  border: 1px solid #EAE4DB;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 10px rgba(11,37,85,.025);
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.channel-card:hover {
  transform: translateY(-3px);
  border-color: #D7DDE8;
  box-shadow: var(--card-shadow);
}

.channel-card-primary {
  color: var(--white);
  background: var(--navy);
  border-color: var(--navy);
}

.channel-card-icon {
  width: 33px;
  height: 33px;
  display: grid;
  place-items: center;
  color: var(--navy);
  background: var(--soft-beige-2);
  border-radius: 9px;
  font-size: 13px;
  font-weight: 850;
}

.channel-card-primary .channel-card-icon {
  color: var(--navy);
  background: var(--gold);
}

.channel-card strong {
  display: block;
  font-size: 11px;
  line-height: 1.2;
}

.channel-card small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 9px;
}

.channel-card-primary small { color: rgba(255,255,255,.67); }

.channel-card b {
  font-size: 18px;
  font-weight: 500;
}

/* Product section */
.products-section {
  padding: 36px 0 76px;
  background: #FBF8F3;
  border-top: 1px solid #F0EBE4;
}

.products-title-row { margin-bottom: 26px; }

.product-layout {
  width: 100%;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}

.product-card {
  overflow: hidden;
  background: var(--white);
  border: 1px solid #E8E1D8;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 11px rgba(11,37,85,.035);
  transition: transform .18s ease, box-shadow .18s ease;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--card-shadow);
}

.product-image {
  position: relative;
  overflow: hidden;
  background: var(--soft-beige);
}

.product-image img {
  width: 100%;
  aspect-ratio: 1.22 / 1;
  object-fit: cover;
}

.badge {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 4px 7px;
  color: var(--white);
  background: #D84747;
  border-radius: 999px;
  font-size: 7px;
  font-weight: 800;
}

.product-info {
  padding: 14px;
}

.product-category {
  color: var(--gold);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.product-info h3 {
  margin: 5px 0 0;
  color: var(--charcoal);
  font-size: 13px;
  line-height: 1.2;
}

.product-info p {
  min-height: 45px;
  margin: 7px 0 13px;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.5;
}

.product-info a {
  display: inline-flex;
  align-items: center;
  min-height: 27px;
  padding: 6px 10px;
  color: var(--white);
  background: var(--navy);
  border-radius: 999px;
  font-size: 8px;
  font-weight: 750;
  text-decoration: none;
}

.product-info a:hover { background: var(--navy-soft); }

/* Contact CTA and footer */
.contact-cta {
  padding: 0;
  color: var(--white);
  background: var(--navy);
}

.contact-cta-inner {
  min-height: 255px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.contact-cta h2 {
  color: var(--white);
  font-size: clamp(1.65rem, 3vw, 2.65rem);
}

.contact-cta p:not(.eyebrow) {
  max-width: 640px;
  margin: 10px 0 0;
  color: rgba(255,255,255,.73);
  font-size: 12px;
}

.contact-cta .eyebrow { color: var(--gold); }

.contact-cta .button-primary {
  flex: 0 0 auto;
  color: var(--navy);
  background: var(--gold);
}

.contact-cta .button-primary:hover { background: var(--gold-hover); }

.site-footer {
  color: rgba(255,255,255,.62);
  background: var(--navy-deep);
}

.footer-inner {
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  font-size: 10px;
}

.footer-inner p { margin: 0; }

/* Responsive */
@media (max-width: 980px) {
  .main-header {
    grid-template-columns: 1fr auto;
  }

  .search-visual { display: none; }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-image-frame {
    max-width: 610px;
  }

}

@media (max-width: 740px) {
  .container { width: min(calc(100% - 32px), var(--container)); }

  .promo-bar {
    min-height: 30px;
    font-size: 8px;
    line-height: 1.35;
  }

  .channel-grid,
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-cta-inner {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding: 52px 0;
  }
}

@media (max-width: 500px) {
  .main-header { min-height: 64px; }
  .header-actions { display: none; }

  .brand-text strong { font-size: 11px; }

  .hero-section { padding-top: 38px; }

  .hero-copy h1 { font-size: 2rem; }

  .hero-copy > p:not(.eyebrow) { font-size: 13px; }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .button { width: 100%; }

  .channel-grid,
  .product-grid {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding: 17px 0;
  }
}
