/* Kripa Solutions — Modern Signage & Visual Display Theme (Logo Crimson #B5333A + Graphite #606062) */
:root {
  --red: #b5333a;
  --red-bright: #d32f2f;
  --red-dark: #8e2329;
  --graphite: #606062;
  --ink: #14181f;
  --grey: #5a636e;
  --line: #e5e8ec;
  --soft: #f6f7f9;
  --white: #ffffff;
  --radius: 14px;
  --font: 'DM Sans', system-ui, -apple-system, sans-serif;
  --display: 'Space Grotesk', 'DM Sans', sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { font-family: var(--font); color: var(--ink); background: var(--white); line-height: 1.65; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 12px 24px; border-radius: 8px; border: 1px solid transparent; font-weight: 600; font-size: 15px; cursor: pointer; transition: .2s ease; }
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red-dark); transform: translateY(-1px); }
.btn-ghost { border-color: rgba(255,255,255,.5); color: #fff; background: rgba(255,255,255,.06); }
.btn-ghost:hover { background: #fff; color: var(--ink); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--soft); }
.btn-outline { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-outline:hover { border-color: var(--ink); }
.btn-block { width: 100%; }
.link { background: none; border: 0; color: var(--grey); font-size: 14px; cursor: pointer; text-decoration: underline; }

.eyebrow { display: block; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--red); margin-bottom: 10px; }
.eyebrow.light { color: #fda4af; }

h1, h2, h3 { font-family: var(--display); line-height: 1.16; letter-spacing: -.02em; }
h2 { font-size: clamp(26px, 3vw, 36px); font-weight: 700; margin-bottom: 16px; }

/* Header */
.header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.95); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 74px; gap: 16px; }
.logo { display: flex; align-items: center; gap: 12px; }
.logo-img { height: 42px; width: auto; object-fit: contain; }
.logo-text { display: flex; flex-direction: column; line-height: 1.15; }
.logo-text strong { font-family: var(--display); font-size: 19px; font-weight: 700; color: var(--ink); }
.logo-text small { font-size: 11.5px; color: var(--graphite); font-weight: 500; }

.nav { display: flex; gap: 28px; }
.nav a { font-size: 15px; font-weight: 500; color: var(--graphite); transition: color .2s; }
.nav a:hover { color: var(--red); }

.header-actions { display: flex; align-items: center; gap: 12px; }
.quote-btn { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 8px; border: 1px solid var(--line); background: #fff; font-weight: 600; font-size: 14px; cursor: pointer; white-space: nowrap; transition: .2s; }
.quote-btn:hover { border-color: var(--red); color: var(--red); }
.quote-count { background: var(--red); color: #fff; border-radius: 999px; min-width: 21px; height: 21px; font-size: 12px; display: grid; place-items: center; padding: 0 6px; }
.menu-btn { display: none; flex-direction: column; gap: 5px; background: none; border: 0; padding: 8px; cursor: pointer; }
.menu-btn span { width: 22px; height: 2px; background: var(--ink); }

/* Hero */
.hero { position: relative; min-height: 580px; display: flex; align-items: center; color: #fff; overflow: hidden; background: var(--ink); padding: 56px 0; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .34; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(105deg, rgba(20,24,31,.94) 0%, rgba(20,24,31,.76) 55%, rgba(20,24,31,.55) 100%); }
.hero-glow { position: absolute; right: 10%; top: 15%; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(181,51,58,.32), transparent 65%); filter: blur(30px); pointer-events: none; }

.hero-grid { position: relative; display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: center; }
.slides { display: grid; max-width: 620px; margin-bottom: 28px; }
.slide { grid-area: 1 / 1; opacity: 0; transform: translateY(10px); transition: opacity .6s ease, transform .6s ease; pointer-events: none; }
.slide.active { opacity: 1; transform: none; pointer-events: auto; }
.slide h1, .slide .slide-heading { font-size: clamp(32px, 4.2vw, 48px); font-weight: 700; margin-bottom: 14px; }
.hero-sub { font-size: 16.5px; color: #cbd5e1; max-width: 520px; line-height: 1.6; }
.hero-buttons { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-dots { display: flex; gap: 8px; margin-top: 36px; }
.hero-dots button { width: 28px; height: 4px; border: 0; border-radius: 2px; background: rgba(255,255,255,.32); cursor: pointer; transition: .2s; }
.hero-dots button.active { background: var(--red-bright); width: 40px; }

/* Digital Display Bezel Frame in Hero */
.hero-stage { display: flex; justify-content: center; }
.stage-frame { width: 100%; max-width: 340px; background: #0b0e13; border: 1px solid rgba(255,255,255,.16); border-radius: 18px; padding: 12px; box-shadow: 0 28px 60px rgba(0,0,0,.55), 0 0 36px rgba(181,51,58,.18); }
.stage-bezel { position: relative; aspect-ratio: 3 / 4; border-radius: 10px; overflow: hidden; background: #111; }
.stage-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .8s ease; }
.stage-photo.active { opacity: 1; }
.stage-caption { display: flex; align-items: center; gap: 8px; padding: 10px 6px 2px; font-size: 12px; color: #94a3b8; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; }
.stage-dot { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 8px #22c55e; }

/* Sections */
.section { padding: 88px 0; }
.section-alt { background: var(--soft); }
.section-head { margin-bottom: 36px; }
.section-head.center { text-align: center; }

/* Bento Showcase */
.bento-grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 220px; gap: 18px; }
.bento-card { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: #111; cursor: pointer; text-align: left; padding: 0; transition: transform .25s ease, box-shadow .25s ease; }
.bento-card:hover { transform: translateY(-3px); box-shadow: 0 18px 36px rgba(20,24,31,.12); }
.bento-tall { grid-row: span 2; }
.bento-wide { grid-column: span 2; }
.bento-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.bento-card:hover img { transform: scale(1.04); }
.bento-scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,24,31,.12) 0%, rgba(20,24,31,.82) 100%); }
.bento-content { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; padding: 24px; color: #fff; }
.bento-tag { display: inline-block; align-self: flex-start; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; background: var(--red); padding: 3px 9px; border-radius: 4px; margin-bottom: 8px; }
.bento-content h3 { font-size: 20px; font-weight: 700; margin-bottom: 4px; }
.bento-content p { font-size: 13.5px; color: #e2e8f0; }

/* Two-Col About & Facts */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
.two-col p { color: var(--grey); margin-bottom: 14px; }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 56px; border-top: 1px solid var(--line); padding-top: 32px; text-align: center; gap: 16px; }
.facts strong { display: block; font-family: var(--display); font-size: 24px; color: var(--ink); }
.facts span { font-size: 13.5px; color: var(--grey); }

/* Tabs & Product Gallery */
.tabs { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.tab { padding: 8px 17px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-size: 14px; font-weight: 500; color: var(--graphite); cursor: pointer; transition: .2s; }
.tab:hover { color: var(--ink); border-color: #c5cbd3; }
.tab.active { background: var(--ink); border-color: var(--ink); color: #fff; }

.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.product { position: relative; background: #fff; border-radius: var(--radius); overflow: hidden; cursor: pointer; border: 1px solid var(--line); transition: box-shadow .25s, transform .25s, border-color .25s; text-align: left; padding: 0; }
.product:hover { box-shadow: 0 16px 32px rgba(20,24,31,.08); transform: translateY(-3px); border-color: #d5dae0; }
.product-badge { position: absolute; top: 12px; left: 12px; z-index: 2; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; background: var(--ink); color: #fff; padding: 3px 8px; border-radius: 5px; }
.product-img { aspect-ratio: 1 / 1; display: grid; place-items: center; padding: 18px; background: #fff; }
.product-img img { max-height: 100%; object-fit: contain; transition: transform .3s ease; }
.product:hover .product-img img { transform: scale(1.04); }
.product-img.logo-tile { background: linear-gradient(145deg, #fafafa, #eef0f3); padding: 38px; }
.product-info { padding: 16px 18px 18px; border-top: 1px solid var(--line); }
.product-info small { font-size: 11.5px; color: var(--red); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.product-info h3 { font-size: 15.5px; font-weight: 600; margin-top: 4px; color: var(--ink); }
.show-more { display: flex; justify-content: center; margin-top: 38px; }

/* Brands */
.brand-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.brand { background: #fff; height: 118px; display: grid; place-items: center; padding: 22px; transition: background .2s; }
.brand img { max-height: 60px; object-fit: contain; transition: transform .25s ease; }
.brand:hover { background: #fafafa; }
.brand:hover img { transform: scale(1.06); }

/* Catalogue Band */
.catalogue-band { background: var(--ink); color: #fff; padding: 60px 0; }
.band-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.band-inner h2 { margin-bottom: 6px; }
.band-inner p { color: #94a3b8; max-width: 520px; }
.band-buttons { display: flex; gap: 10px; flex-wrap: wrap; }

/* Reach & Trusted Customers */
.reach-sub { color: var(--grey); max-width: 580px; margin: 0 auto; font-size: 15.5px; }
.reach-grid { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 24px; }
.reach-card, .clients-card { background: var(--soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.reach-badge { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--red); margin-bottom: 8px; }
.reach-card h3, .clients-card h3 { font-size: 21px; margin-bottom: 18px; }
.reach-group { padding: 12px 0; border-top: 1px solid var(--line); }
.reach-group strong { display: block; font-size: 13.5px; color: var(--ink); margin-bottom: 3px; }
.reach-group p { font-size: 14px; color: var(--grey); line-height: 1.55; }
.client-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.client-chips span { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px; font-size: 13.5px; font-weight: 500; color: var(--ink); }

/* FAQ Accordion */
.faq-list { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 18px 22px; }
.faq-item summary { font-family: var(--display); font-weight: 600; font-size: 16.5px; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 20px; color: var(--red); font-weight: 700; }
.faq-item[open] summary::after { content: "−"; }
.faq-item p { margin-top: 10px; color: var(--grey); font-size: 15px; line-height: 1.65; }

/* Contact */
.contact-list { list-style: none; margin-top: 10px; }
.contact-list li { padding: 16px 0; border-bottom: 1px solid var(--line); color: var(--grey); }
.contact-list .label { display: block; font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink); margin-bottom: 2px; }
.contact-list a { color: var(--ink); font-weight: 500; }
.contact-list li:first-child a { display: block; color: var(--red); font-size: 14px; margin-top: 4px; }
.form { display: flex; flex-direction: column; gap: 14px; background: var(--soft); padding: 34px; border-radius: var(--radius); border: 1px solid var(--line); align-self: start; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form input, .form textarea, .drawer input { width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 8px; background: #fff; font-size: 15px; }
.form input:focus, .form textarea:focus, .drawer input:focus { outline: none; border-color: var(--red); }

/* Footer */
.footer { background: #10141a; color: #94a3b8; padding-top: 64px; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; padding-bottom: 48px; }
.logo-light .logo-text strong { color: #fff; }
.logo-light .logo-text small { color: #94a3b8; }
.footer-about { margin-top: 16px; max-width: 340px; }
.footer h4 { color: #fff; font-size: 15px; margin-bottom: 14px; font-family: var(--display); }
.footer-grid > div > a { display: block; margin-bottom: 8px; }
.footer a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 20px 24px; font-size: 13px; }

/* Overlays & Modals */
.overlay { position: fixed; inset: 0; z-index: 100; background: rgba(16,20,26,.65); backdrop-filter: blur(4px); display: flex; align-items: center; justify-content: center; padding: 20px; }
.overlay-right { justify-content: flex-end; padding: 0; }
.modal { position: relative; background: #fff; border-radius: var(--radius); width: 100%; max-width: 880px; max-height: 90vh; overflow-y: auto; padding: 36px; box-shadow: 0 24px 60px rgba(0,0,0,.25); }
.close-btn { position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; border-radius: 50%; border: 0; background: var(--soft); font-size: 22px; cursor: pointer; line-height: 1; }
.close-btn:hover { background: var(--line); }
.modal-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; }
.modal-img { background: var(--soft); border-radius: var(--radius); padding: 24px; display: grid; place-items: center; }
.modal-img img { max-height: 320px; object-fit: contain; }
.modal h3 { font-size: 24px; margin-bottom: 10px; }
.modal p.desc { color: var(--grey); margin-bottom: 16px; }
.modal ul { padding-left: 18px; color: var(--grey); font-size: 14px; margin-bottom: 20px; }
.modal ul li { margin-bottom: 6px; }
.spec-link { display: inline-block; margin-top: 12px; font-size: 14px; color: var(--red); background: none; border: 0; cursor: pointer; text-decoration: underline; }
.add-row { display: grid; grid-template-columns: 1fr 80px; gap: 10px; margin-bottom: 12px; }
.add-row select, .add-row input { padding: 11px 12px; border: 1px solid var(--line); border-radius: 8px; font-size: 14px; background: #fff; }

.modal-viewer { max-width: 780px; padding: 24px; }
.viewer-tabs { display: flex; justify-content: center; gap: 8px; margin-bottom: 14px; }
.viewer { display: flex; align-items: center; gap: 12px; }
.viewer img { flex: 1; min-width: 0; max-height: 70vh; object-fit: contain; border: 1px solid var(--line); border-radius: 8px; }
.viewer-nav { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: #fff; font-size: 24px; cursor: pointer; flex-shrink: 0; }
.viewer-nav:hover { border-color: var(--red); color: var(--red); }
.viewer-caption { text-align: center; color: var(--grey); font-size: 14px; margin-top: 12px; }

/* Drawer */
.drawer { width: 100%; max-width: 400px; height: 100%; background: #fff; display: flex; flex-direction: column; }
.drawer-head { position: relative; padding: 22px 24px; border-bottom: 1px solid var(--line); }
.drawer-head h3 { font-size: 20px; }
.drawer-items { flex: 1; overflow-y: auto; padding: 16px 24px; }
.drawer-empty { text-align: center; color: var(--grey); padding: 48px 0; font-size: 15px; }
.cart-item { display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.cart-item img { width: 56px; height: 56px; object-fit: contain; background: var(--soft); border-radius: 6px; padding: 4px; }
.cart-item strong { display: block; font-size: 14px; line-height: 1.3; }
.cart-item span { font-size: 13px; color: var(--grey); }
.qty { display: inline-flex; align-items: center; gap: 8px; margin-top: 4px; font-size: 13px; }
.qty button { width: 22px; height: 22px; border: 1px solid var(--line); background: #fff; border-radius: 4px; cursor: pointer; }
.remove { background: none; border: 0; font-size: 20px; color: var(--grey); cursor: pointer; }
.drawer-foot { padding: 20px 24px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; }
.drawer-foot input { padding: 11px 12px; font-size: 14px; }
.drawer-links { display: flex; justify-content: space-between; }

/* WhatsApp & Toasts */
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 60; width: 54px; height: 54px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 8px 20px rgba(37,211,102,.35); transition: transform .2s; }
.wa-float:hover { transform: scale(1.06); }
.toasts { position: fixed; bottom: 90px; right: 22px; z-index: 200; display: flex; flex-direction: column; gap: 8px; }
.toast { background: var(--ink); color: #fff; padding: 12px 16px; border-radius: 8px; font-size: 14px; box-shadow: 0 10px 24px rgba(0,0,0,.18); animation: up .25s ease; }
@keyframes up { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* Responsive */
@media (max-width: 1020px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-stage { display: none; }
  .bento-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 200px; }
  .bento-tall { grid-row: span 1; }
  .bento-wide { grid-column: span 2; }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .brand-grid { grid-template-columns: repeat(3, 1fr); }
  .two-col { gap: 40px; }
}
@media (max-width: 760px) {
  .nav { display: none; position: absolute; top: 74px; left: 0; right: 0; background: #fff; flex-direction: column; gap: 0; border-bottom: 1px solid var(--line); }
  .nav.open { display: flex; }
  .nav a { padding: 14px 24px; border-top: 1px solid var(--line); }
  .menu-btn { display: flex; }
  .logo-text small { display: none; }
  .hero { min-height: 480px; padding: 44px 0; }
  .section { padding: 64px 0; }
  .bento-grid { grid-template-columns: 1fr; grid-auto-rows: 190px; }
  .bento-wide { grid-column: span 1; }
  .two-col, .reach-grid, .modal-grid, .footer-grid, .form-row { grid-template-columns: 1fr; }
  .facts { grid-template-columns: repeat(2, 1fr); row-gap: 24px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .brand-grid { grid-template-columns: repeat(2, 1fr); }
  .modal { padding: 28px 20px; }
}
