/* =========================================================
   Sri Balaji Paper Agencies / SBPA Paper Link Pvt. Ltd.
   Stylesheet
   ========================================================= */

:root{
  --red: #A31621;
  --red-dark: #7A0F18;
  --red-light: #C62A36;
  --gold: #C79A3C;
  --gold-light: #E4C878;
  --ink: #221E1F;
  --ink-soft: #4A4344;
  --grey: #6E6668;
  --cream: #FBF6EE;
  --cream-2: #F3EADA;
  --line: #E7DECB;
  --white: #FFFFFF;
  --shadow: 0 10px 30px rgba(34,30,31,0.08);
  --shadow-lg: 0 20px 50px rgba(34,30,31,0.16);
  --radius: 14px;
  --radius-sm: 8px;
  --maxw: 1180px;
  --font-head: 'Poppins', 'Segoe UI', Arial, sans-serif;
  --font-body: 'Inter', 'Segoe UI', Arial, sans-serif;
}

*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin:0;
  font-family: var(--font-body);
  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; }
ul{ margin:0; padding:0; list-style:none; }
h1,h2,h3,h4{ font-family: var(--font-head); font-weight:600; line-height:1.2; margin: 0 0 14px; color: var(--ink); }
h1{ font-size: clamp(2rem, 4vw, 3.1rem); font-weight:700; }
h2{ font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3{ font-size: 1.25rem; }
p{ margin: 0 0 16px; color: var(--ink-soft); }
.container{ max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
section{ padding: 76px 0; }
.section-tight{ padding: 48px 0; }
.bg-cream{ background: var(--cream); }
.bg-ink{ background: var(--ink); color: var(--white); }
.bg-red{ background: linear-gradient(120deg, var(--red) 0%, var(--red-dark) 100%); color:var(--white); }

.eyebrow{
  display:inline-flex; align-items:center; gap:8px;
  font-family: var(--font-head); font-weight:600; font-size:.78rem;
  letter-spacing:.14em; text-transform:uppercase; color: var(--red);
  background: rgba(163,22,33,0.08); padding:6px 14px; border-radius: 999px;
  margin-bottom: 16px;
}
.eyebrow::before{ content:""; width:6px; height:6px; border-radius:50%; background: var(--gold); }
.bg-red .eyebrow, .bg-ink .eyebrow{ color: var(--gold-light); background: rgba(255,255,255,0.12); }
.bg-red .eyebrow::before, .bg-ink .eyebrow::before{ background: var(--gold-light); }

.section-head{ max-width: 680px; margin-bottom: 44px; }
.section-head.center{ margin-left:auto; margin-right:auto; text-align:center; }
.lede{ font-size: 1.08rem; color: var(--ink-soft); }
.bg-red p, .bg-ink p{ color: rgba(255,255,255,0.82); }
.bg-red h1, .bg-red h2, .bg-red h3, .bg-ink h1, .bg-ink h2, .bg-ink h3{ color: var(--white); }

/* Buttons */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:10px;
  font-family: var(--font-head); font-weight:600; font-size:.95rem;
  padding: 14px 26px; border-radius: 999px; border: 2px solid transparent;
  cursor:pointer; transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
  white-space: nowrap;
}
.btn svg{ width:18px; height:18px; flex-shrink:0; }
.btn-primary{ background: var(--red); color: var(--white); box-shadow: var(--shadow); }
.btn-primary:hover{ background: var(--red-dark); transform: translateY(-2px); }
.btn-gold{ background: var(--gold); color: var(--ink); box-shadow: var(--shadow); }
.btn-gold:hover{ background: var(--gold-light); transform: translateY(-2px); }
.btn-outline{ background: transparent; border-color: currentColor; color: var(--ink); }
.btn-outline:hover{ background: var(--ink); color: var(--white); }
.bg-red .btn-outline, .bg-ink .btn-outline{ color: var(--white); }
.bg-red .btn-outline:hover{ background: var(--white); color: var(--red); }
.bg-ink .btn-outline:hover{ background: var(--white); color: var(--ink); }
.btn-whatsapp{ background:#25D366; color:#fff; box-shadow: var(--shadow); }
.btn-whatsapp:hover{ background:#1DA851; transform: translateY(-2px); }
.btn-block{ width:100%; }
.btn-sm{ padding: 10px 18px; font-size: .85rem; }
.btn-row{ display:flex; flex-wrap:wrap; gap:14px; margin-top: 26px; }

/* Topbar */
.topbar{
  background: var(--ink); color: rgba(255,255,255,0.85); font-size: .84rem;
}
.topbar .container{ display:flex; align-items:center; justify-content:space-between; padding-top:9px; padding-bottom:9px; flex-wrap:wrap; gap:8px; }
.topbar-links{ display:flex; gap:22px; flex-wrap:wrap; }
.topbar-links a{ display:inline-flex; align-items:center; gap:7px; transition: color .15s; }
.topbar-links a:hover{ color: var(--gold-light); }
.topbar-links svg{ width:14px; height:14px; }
.topbar-tag{ color: var(--gold-light); font-weight:500; letter-spacing:.03em; }

/* Header / nav */
header.site-header{
  background: var(--white); border-bottom: 1px solid var(--line);
  position: sticky; top:0; z-index: 100;
}
.nav-wrap{ display:flex; align-items:center; justify-content:space-between; padding: 14px 24px; max-width: var(--maxw); margin:0 auto; gap: 20px; }
.brand{ display:flex; align-items:center; gap:12px; }
.brand img{ height: 52px; width:auto; }
.brand-text{ display:flex; flex-direction:column; line-height:1.15; }
.brand-text strong{ font-family: var(--font-head); font-size:1.05rem; color: var(--red); letter-spacing:.01em; }
.brand-text span{ font-size:.72rem; color: var(--grey); letter-spacing:.04em; text-transform:uppercase; }

.main-nav{ display:flex; align-items:center; gap:6px; }
.main-nav a{
  font-family: var(--font-head); font-weight:500; font-size:.94rem; color: var(--ink-soft);
  padding: 10px 16px; border-radius: 999px; transition: all .15s ease;
}
.main-nav a:hover, .main-nav a.active{ background: var(--cream-2); color: var(--red); }
.nav-cta{ display:flex; align-items:center; gap:12px; }
.nav-toggle{
  display:none; background:none; border:none; cursor:pointer; padding:8px;
}
.nav-toggle span{ display:block; width:26px; height:2px; background: var(--ink); margin:6px 0; transition: all .2s; }

/* Hero */
.hero{
  position: relative; overflow:hidden;
  background: linear-gradient(135deg, var(--cream) 0%, var(--cream-2) 55%, #eee2c8 100%);
  padding: 84px 0 70px;
}
.hero::before{
  content:""; position:absolute; inset:0;
  background-image: repeating-linear-gradient(115deg, rgba(163,22,33,0.05) 0 3px, transparent 3px 46px);
  pointer-events:none;
}
.hero .container{ position:relative; display:grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items:center; }
.hero-copy h1{ margin-bottom: 18px; }
.hero-copy .lede{ max-width: 520px; }
.hero-stats{ display:grid; grid-template-columns: repeat(3,1fr); gap:16px; margin-top:38px; }
.hero-stat{ background: rgba(255,255,255,0.7); border:1px solid var(--line); border-radius: var(--radius-sm); padding: 16px 12px; text-align:center; backdrop-filter: blur(2px); }
.hero-stat strong{ display:block; font-family: var(--font-head); font-size:1.5rem; color: var(--red); }
.hero-stat span{ font-size:.76rem; color: var(--grey); text-transform:uppercase; letter-spacing:.04em; }

.hero-art{ position:relative; display:flex; align-items:center; justify-content:center; }
.hero-art svg{ width:100%; height:auto; max-width: 460px; filter: drop-shadow(0 24px 40px rgba(163,22,33,0.18)); }

.page-hero{
  background: linear-gradient(135deg, var(--red-dark) 0%, var(--red) 100%);
  color: var(--white); padding: 62px 0 58px; position: relative; overflow:hidden;
}
.page-hero::before{
  content:""; position:absolute; inset:0;
  background-image: repeating-linear-gradient(115deg, rgba(255,255,255,0.06) 0 3px, transparent 3px 46px);
}
.page-hero .container{ position:relative; }
.breadcrumb{ font-size:.85rem; color: rgba(255,255,255,0.75); margin-bottom:14px; }
.breadcrumb a{ color: var(--gold-light); }
.page-hero p{ max-width: 620px; }

/* Stat strip standalone */
.stat-strip{ background: var(--ink); color:var(--white); }
.stat-strip .container{ display:grid; grid-template-columns: repeat(5,1fr); gap: 20px; padding: 34px 24px; }
.stat-strip .stat{ text-align:center; }
.stat-strip strong{ display:block; font-family: var(--font-head); font-size:1.7rem; color: var(--gold-light); }
.stat-strip span{ font-size:.78rem; color: rgba(255,255,255,0.7); text-transform:uppercase; letter-spacing:.04em; }

/* Cards grid */
.grid{ display:grid; gap: 26px; }
.grid-3{ grid-template-columns: repeat(3, 1fr); }
.grid-4{ grid-template-columns: repeat(4, 1fr); }
.grid-2{ grid-template-columns: repeat(2, 1fr); }

.card{
  background: var(--white); border:1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  height:100%;
}
.card:hover{ transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card-icon{
  width:56px; height:56px; border-radius: 14px; background: var(--cream-2);
  display:flex; align-items:center; justify-content:center; margin-bottom:18px;
}
.card-icon svg{ width:28px; height:28px; color: var(--red); }
.card h3{ margin-bottom:8px; }
.card p{ margin-bottom: 10px; font-size:.94rem; }
.card-tag{ display:inline-block; font-size:.72rem; font-weight:600; letter-spacing:.04em; text-transform:uppercase; color: var(--gold); background: rgba(199,154,60,0.12); padding:4px 10px; border-radius:999px; margin-bottom:12px; }
.card-link{ display:inline-flex; align-items:center; gap:6px; font-family: var(--font-head); font-weight:600; font-size:.88rem; color: var(--red); margin-top:8px; }
.card-link svg{ width:15px; height:15px; transition: transform .15s; }
.card-link:hover svg{ transform: translateX(3px); }

/* Product detail card (products page) */
.product-card{
  display:grid; grid-template-columns: 84px 1fr; gap:20px; align-items:flex-start;
  background: var(--white); border:1px solid var(--line); border-radius: var(--radius);
  padding: 28px; margin-bottom: 22px;
}
.product-card .num{
  width:56px; height:56px; border-radius:50%; background: var(--red); color:var(--white);
  display:flex; align-items:center; justify-content:center; font-family: var(--font-head); font-weight:700; font-size:1.1rem;
}
.product-meta{ display:flex; flex-wrap:wrap; gap:8px; margin: 10px 0 14px; }
.chip{ font-size:.76rem; font-weight:600; color: var(--ink-soft); background: var(--cream-2); border:1px solid var(--line); padding:5px 12px; border-radius:999px; }

/* Mills strip */
.mills-strip{ background: var(--white); }
.mills-track{ display:flex; align-items:center; justify-content:space-between; gap: 36px; flex-wrap:wrap; padding: 10px 0; }
.mills-track .mill-logo{
  display:flex; align-items:center; justify-content:center; height:96px; filter: grayscale(100%) opacity(0.65);
  transition: filter .2s ease;
}
.mills-track .mill-logo:hover{ filter:none; }
.mills-track img{ max-height:84px; width:auto; }

.mills-table{ width:100%; border-collapse: collapse; background: var(--white); border-radius: var(--radius); overflow:hidden; box-shadow: var(--shadow); }
.mills-table th, .mills-table td{ text-align:left; padding: 16px 20px; border-bottom: 1px solid var(--line); font-size:.95rem; }
.mills-table th{ background: var(--ink); color: var(--white); font-family: var(--font-head); font-weight:600; font-size:.82rem; text-transform:uppercase; letter-spacing:.04em; }
.mills-table tr:last-child td{ border-bottom:none; }
.mills-table td.logo-cell img{ height: 34px; width:auto; }

/* Why us / features list */
.feature-row{ display:flex; gap:18px; margin-bottom:28px; }
.feature-row .card-icon{ flex-shrink:0; margin-bottom:0; }
.feature-row h3{ margin-bottom:6px; }
.feature-row p{ margin-bottom:0; }

.check-list li{ display:flex; gap:12px; margin-bottom:14px; align-items:flex-start; font-size:.98rem; color: var(--ink-soft); }
.check-list svg{ width:20px; height:20px; color: var(--gold); flex-shrink:0; margin-top:2px; }

/* Two column with image/illustration */
.split{ display:grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items:center; }
.split-reverse{ direction: rtl; }
.split-reverse > *{ direction: ltr; }
.illus-box{ background: var(--cream-2); border-radius: var(--radius); padding: 40px; display:flex; align-items:center; justify-content:center; }
.illus-box svg{ width:100%; max-width:380px; height:auto; }

/* CTA banner */
.cta-banner{ text-align:center; padding: 64px 0; }
.cta-banner h2{ margin-bottom:10px; }
.cta-banner p{ max-width: 560px; margin-left:auto; margin-right:auto; }
.cta-banner .btn-row{ justify-content:center; }

/* Timeline (about) */
.timeline{ position:relative; padding-left: 30px; border-left: 2px solid var(--line); }
.timeline-item{ position:relative; padding-bottom: 32px; }
.timeline-item::before{
  content:""; position:absolute; left:-38px; top:2px; width:14px; height:14px; border-radius:50%;
  background: var(--red); border: 3px solid var(--gold-light);
}
.timeline-item h3{ margin-bottom:6px; }

/* Contact page */
.contact-grid{ display:grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items:flex-start; }
.contact-card{ background: var(--white); border:1px solid var(--line); border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow); }
.contact-info-item{ display:flex; gap:16px; margin-bottom: 24px; }
.contact-info-item .card-icon{ margin-bottom:0; }
.contact-info-item h3{ margin-bottom:4px; font-size:1.05rem; }
.contact-info-item p{ margin-bottom:2px; font-size:.94rem; }
.contact-info-item a{ color: var(--red); font-weight:600; }

.form-group{ margin-bottom: 18px; }
.form-group label{ display:block; font-family: var(--font-head); font-weight:600; font-size:.86rem; margin-bottom:6px; color: var(--ink); }
.form-group input, .form-group select, .form-group textarea{
  width:100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm);
  font-family: var(--font-body); font-size: .95rem; background: var(--cream); color: var(--ink);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus{ outline: 2px solid var(--gold); border-color: var(--gold); }
.form-row{ display:grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-note{ font-size:.82rem; color: var(--grey); margin-top: 4px; }

.map-wrap{ border-radius: var(--radius); overflow:hidden; border:1px solid var(--line); box-shadow: var(--shadow); margin-top: 26px; }
.map-wrap iframe{ width:100%; height: 320px; border:0; display:block; }

/* Industries list */
.tag-cloud{ display:flex; flex-wrap:wrap; gap: 12px; }
.tag-cloud span{
  font-family: var(--font-head); font-weight:500; font-size:.9rem; padding: 10px 18px;
  border-radius: 999px; background: var(--white); border:1px solid var(--line); color: var(--ink-soft);
}

/* Footer */
footer.site-footer{ background: var(--ink); color: rgba(255,255,255,0.78); padding-top: 64px; }
.footer-grid{ display:grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.12); }
.footer-brand{ display:flex; align-items:center; gap:12px; margin-bottom: 16px; }
.footer-brand img{ height:44px; background:#fff; border-radius:8px; padding:4px; }
.footer-brand strong{ color:#fff; font-family: var(--font-head); font-size:1rem; }
footer.site-footer h4{ color:#fff; font-family: var(--font-head); font-size:.92rem; text-transform:uppercase; letter-spacing:.05em; margin-bottom:18px; }
footer.site-footer a{ display:block; padding: 6px 0; font-size:.92rem; transition: color .15s; }
footer.site-footer a:hover{ color: var(--gold-light); }
.footer-contact li{ display:flex; gap:10px; margin-bottom:12px; font-size:.9rem; align-items:flex-start; }
.footer-contact svg{ width:17px; height:17px; flex-shrink:0; margin-top:3px; color: var(--gold-light); }
.footer-bottom{ display:flex; justify-content:space-between; align-items:center; padding: 22px 0; font-size:.82rem; flex-wrap:wrap; gap:10px; color: rgba(255,255,255,0.55); }
.footer-bottom a{ display:inline; padding:0; color: rgba(255,255,255,0.7); }

/* Floating WhatsApp */
.wa-float{
  position: fixed; bottom: 26px; right: 26px; z-index: 200;
  width: 60px; height:60px; border-radius:50%; background:#25D366; color:#fff;
  display:flex; align-items:center; justify-content:center; box-shadow: 0 10px 26px rgba(37,211,102,0.45);
  animation: wa-pulse 2.2s infinite;
}
.wa-float svg{ width:30px; height:30px; }
@keyframes wa-pulse{
  0%{ box-shadow: 0 0 0 0 rgba(37,211,102,0.55); }
  70%{ box-shadow: 0 0 0 16px rgba(37,211,102,0); }
  100%{ box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}

/* Utility */
.text-center{ text-align:center; }
.mt-0{ margin-top:0; }
.mb-0{ margin-bottom:0; }

/* Responsive */
@media (max-width: 980px){
  .hero .container{ grid-template-columns: 1fr; }
  .hero-art{ order:-1; }
  .hero-art svg{ max-width: 320px; }
  .grid-4{ grid-template-columns: repeat(2,1fr); }
  .grid-3{ grid-template-columns: repeat(2,1fr); }
  .split{ grid-template-columns: 1fr; }
  .split-reverse{ direction: ltr; }
  .contact-grid{ grid-template-columns: 1fr; }
  .footer-grid{ grid-template-columns: 1fr 1fr; }
  .stat-strip .container{ grid-template-columns: repeat(3,1fr); }
}
@media (max-width: 720px){
  .topbar .container{ justify-content:center; text-align:center; }
  .main-nav{
    position: fixed; inset: 72px 0 0 0; background: var(--white); flex-direction:column;
    align-items:stretch; padding: 20px 24px; gap:4px; transform: translateX(100%);
    transition: transform .25s ease; overflow-y:auto;
  }
  .main-nav.open{ transform: translateX(0); }
  .main-nav a{ padding: 14px 10px; border-bottom: 1px solid var(--line); border-radius:0; }
  .nav-toggle{ display:block; }
  .nav-cta .btn-label{ display:none; }
  .grid-4, .grid-3, .grid-2{ grid-template-columns: 1fr; }
  .hero-stats{ grid-template-columns: repeat(3,1fr); }
  .stat-strip .container{ grid-template-columns: repeat(2,1fr); }
  .footer-grid{ grid-template-columns: 1fr; }
  .form-row{ grid-template-columns: 1fr; }
  .product-card{ grid-template-columns: 1fr; }
  section{ padding: 54px 0; }
}