/* =========================================================
   Webster Fashion — Design Tokens
   Palette pulled from the brand's own company profile:
   deep espresso brown panels, warm parchment background,
   tan/terracotta accent. Signature motif: a running "stitch"
   dashed rule used as a divider — a nod to garment stitching.
   ========================================================= */
:root {
  --brown-900: #3c2a20;
  --brown-800: #4a3428;
  --brown-700: #5c4432;
  --tan-500:   #b98a5e;
  --tan-300:   #d3ac82;
  --cream-100: #f5ebe1;
  --cream-50:  #faf3ec;
  --paper:     #fffbf7;
  --ink:       #2c2016;
  --ink-soft:  #6b5a4a;
  --ok-green:  #6f8f5a;

  --radius-lg: 24px;
  --radius-md: 14px;
  --radius-sm: 8px;
  --shadow-1: 0 10px 30px rgba(60, 42, 32, 0.12);
  --shadow-2: 0 20px 50px rgba(60, 42, 32, 0.18);

  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html[lang="bn"] body, html[lang="bn"] * { font-family: 'Hind Siliguri', 'Poppins', sans-serif; }
html[lang="en"] body, html[lang="en"] * { font-family: 'Poppins', 'Hind Siliguri', sans-serif; }

body {
  margin: 0;
  background: var(--cream-50);
  color: var(--ink);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Signature stitch divider ---------- */
.stitch {
  display: block;
  width: 64px;
  height: 10px;
  margin: 18px 0 26px;
  background-image: repeating-linear-gradient(90deg, currentColor 0 8px, transparent 8px 16px);
  background-position: center;
  background-size: 100% 2px;
  background-repeat: no-repeat;
  color: var(--tan-500);
  position: relative;
}
.stitch::before, .stitch::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  width: 2px;
  background: currentColor;
}
.stitch::before { left: 0; }
.stitch::after { right: 0; }
.stitch.center { margin-left: auto; margin-right: auto; }
.stitch.light { color: var(--tan-300); }

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--tan-500);
  padding: 5px 14px;
  border: 1px dashed var(--tan-500);
  border-radius: 100px;
}

h1, h2, h3, h4 { margin: 0; line-height: 1.15; color: var(--brown-900); }
.section-title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}
p { margin: 0 0 14px; color: var(--ink-soft); }
.lede { font-size: 17px; max-width: 720px; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 15px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--brown-900); color: var(--cream-50); }
.btn-primary:hover { box-shadow: var(--shadow-1); background: var(--brown-800); }
.btn-outline { border-color: var(--brown-900); color: var(--brown-900); }
.btn-outline:hover { background: var(--brown-900); color: var(--cream-50); }
.btn-tan { background: var(--tan-500); color: var(--paper); }
.btn-tan:hover { background: var(--brown-900); }
.btn-webmail {
  background: var(--tan-500);
  color: var(--paper);
  padding: 9px 18px;
  font-size: 14px;
}
.btn-webmail:hover { background: var(--brown-900); }

/* =========================================================
   Header
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 243, 236, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(60, 42, 32, 0.08);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
  gap: 20px;
}
.logo { display: flex; align-items: center; gap: 10px; }
.logo-mark {
  width: 40px; height: 40px;
  background: var(--brown-900);
  color: var(--cream-50);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 15px;
  flex-shrink: 0;
}
.logo-text {
  font-family: 'Poppins', 'Hind Siliguri', sans-serif;
  font-weight: 500;
  font-size: 18px;
  color: var(--brown-900);
  white-space: nowrap;
}
.logo-text strong { font-weight: 800; }

.main-nav {
  display: flex;
  gap: 30px;
  font-size: 15px;
  font-weight: 500;
}
.main-nav a { position: relative; padding: 6px 0; }
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--tan-500);
  transform: scaleX(0);
  transition: transform .2s ease;
}
.main-nav a:hover::after { transform: scaleX(1); }

.header-actions { display: flex; align-items: center; gap: 16px; }
.lang-switch { display: flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--ink-soft); }
.lang-switch a { padding: 4px 6px; border-radius: 6px; }
.lang-switch a.active { color: var(--brown-900); background: var(--tan-300); }

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 34px; height: 34px;
  background: none; border: none; cursor: pointer;
}
.hamburger span { display: block; width: 100%; height: 2px; background: var(--brown-900); }

/* =========================================================
   Hero — full-bleed factory photo with a brown "tag" panel,
   echoing the profile's own cover layout.
   ========================================================= */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
}
.hero-bg::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(30,20,14,.65) 0%, rgba(30,20,14,.15) 55%, rgba(30,20,14,.05) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-bottom: 70px;
}
.hero-panel {
  background: var(--brown-900);
  color: var(--cream-50);
  max-width: 620px;
  padding: 44px 46px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-2);
}
.hero-eyebrow {
  font-size: 13px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--tan-300);
  font-weight: 600;
}
.hero-title {
  font-family: 'Poppins', 'Hind Siliguri', sans-serif;
  font-size: clamp(34px, 5vw, 56px);
  font-weight: 800;
  color: var(--cream-50);
  margin: 10px 0 16px;
  letter-spacing: -0.01em;
}
.hero-sub { color: var(--tan-300); font-size: 17px; max-width: 480px; margin-bottom: 26px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-scroll {
  position: absolute;
  right: 40px; bottom: 30px;
  z-index: 2;
  color: var(--cream-50);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-size: 12px; letter-spacing: .1em; text-transform: uppercase;
  opacity: .85;
}
.hero-scroll .line { width: 1px; height: 40px; background: var(--cream-50); animation: scrollpulse 1.8s infinite; }
@keyframes scrollpulse { 0%,100%{opacity:.3} 50%{opacity:1} }

/* =========================================================
   Generic section paddings
   ========================================================= */
section { padding: 100px 0; }
.section-tan { background: var(--tan-500); color: var(--paper); }
.section-tan .section-title, .section-tan h3 { color: var(--paper); }
.section-tan p { color: rgba(255,251,247,.85); }
.section-brown { background: var(--brown-900); color: var(--cream-50); }
.section-brown .section-title { color: var(--cream-50); }
.section-brown p { color: var(--tan-300); }

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 60px;
  align-items: center;
}
.about-img-wrap { position: relative; }
.about-img-wrap img { border-radius: var(--radius-lg); box-shadow: var(--shadow-1); }
.about-badge {
  position: absolute;
  bottom: -26px; left: -26px;
  background: var(--tan-500);
  color: var(--paper);
  padding: 20px 24px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-1);
  font-family: 'Poppins', sans-serif;
}
.about-badge .num { font-size: 30px; font-weight: 800; display: block; }
.about-badge .label { font-size: 12px; letter-spacing: .05em; text-transform: uppercase; }

/* ---------- Overview strip ---------- */
.overview {
  background: var(--cream-100);
}
.overview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  background: var(--paper);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-1);
  overflow: hidden;
}
.overview-img { height: 100%; min-height: 380px; }
.overview-img img { height: 100%; width: 100%; object-fit: cover; }
.overview-text { padding: 20px 50px 20px 0; }
.overview-facts { margin: 26px 0; border-top: 1px solid rgba(60,42,32,.12); }
.overview-facts li {
  display: flex;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid rgba(60,42,32,.12);
  font-size: 15px;
}
.overview-facts li span:first-child { color: var(--ink-soft); }
.overview-facts li span:last-child { font-weight: 700; color: var(--brown-900); }

/* ---------- Mission / Vision ---------- */
.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.mv-card { padding: 70px 60px; }
.mv-card.mission { background: var(--brown-900); color: var(--cream-50); }
.mv-card.vision { background: var(--tan-500); color: var(--paper); }
.mv-card h3 { font-family: 'Poppins', 'Hind Siliguri', sans-serif; font-size: 30px; font-weight: 800; text-transform: uppercase; }
.mv-card.mission h3 { color: var(--cream-50); }
.mv-card.vision h3 { color: var(--paper); }
.mv-card p { color: rgba(255,251,247,.88); font-size: 16px; margin-top: 18px; }

/* ---------- Core values ---------- */
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 40px;
}
.value-card {
  background: var(--paper);
  border-radius: var(--radius-md);
  padding: 26px 20px;
  text-align: center;
  box-shadow: var(--shadow-1);
  transition: transform .2s ease;
}
.value-card:hover { transform: translateY(-6px); }
.value-num {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 13px;
  color: var(--tan-500);
  letter-spacing: .1em;
}
.value-card .label { font-weight: 700; margin-top: 8px; font-size: 15px; color: var(--brown-900); }

/* ---------- How we work ---------- */
.work-track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 46px;
}
.work-step {
  background: var(--paper);
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
  box-shadow: var(--shadow-1);
  position: relative;
}
.work-step .tag {
  position: absolute;
  top: -14px; left: 50%;
  transform: translateX(-50%);
  background: var(--brown-900);
  color: var(--cream-50);
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 13px;
  width: 30px; height: 30px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.work-step img { width: 64px; height: 64px; object-fit: contain; margin: 14px auto 12px; }
.work-step .label { font-weight: 700; font-size: 15px; color: var(--brown-900); }

/* ---------- Services ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 46px;
}
.service-card {
  background: var(--paper);
  border-radius: var(--radius-md);
  padding: 30px 26px;
  box-shadow: var(--shadow-1);
  border-top: 3px solid var(--tan-500);
}
.service-icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: var(--cream-100);
  display: flex; align-items: center; justify-content: center;
  color: var(--brown-900);
  margin-bottom: 16px;
}
.service-card h4 { font-size: 18px; margin-bottom: 10px; }
.service-card p { font-size: 14.5px; margin: 0; }

/* ---------- Achievements ---------- */
.ach-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  margin-top: 40px;
}
.ach-item { text-align: center; }
.ach-icon {
  width: 68px; height: 68px;
  margin: 0 auto 14px;
  border-radius: 16px;
  background: rgba(255,251,247,.14);
  border: 1px solid rgba(255,251,247,.25);
  display: flex; align-items: center; justify-content: center;
}
.ach-item .label { font-weight: 600; font-size: 14.5px; }
.ach-photo { margin-top: 50px; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-2); }
.ach-photo img { width: 100%; }

/* ---------- Products ---------- */
.products-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}
.products-grid img { border-radius: var(--radius-lg); box-shadow: var(--shadow-1); }
.product-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.product-tags span {
  padding: 8px 16px;
  border-radius: 100px;
  background: var(--cream-100);
  border: 1px solid rgba(60,42,32,.14);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--brown-900);
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 50px;
}
.contact-card {
  background: var(--paper);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-1);
  margin-bottom: 22px;
}
.contact-card h4 { font-size: 16px; margin-bottom: 4px; }
.contact-card .role { color: var(--tan-500); font-weight: 600; font-size: 13px; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 14px; display: block; }
.contact-line { display: flex; align-items: center; gap: 10px; font-size: 14.5px; margin-bottom: 8px; color: var(--ink-soft); }
.contact-line svg { flex-shrink: 0; color: var(--tan-500); }
.contact-terms {
  background: var(--cream-100);
  border-radius: var(--radius-lg);
  padding: 26px 32px;
}
.contact-terms .row { display: flex; justify-content: space-between; padding: 8px 0; font-size: 14.5px; border-bottom: 1px dashed rgba(60,42,32,.2); }
.contact-terms .row:last-child { border-bottom: none; }

.contact-form-wrap {
  background: var(--brown-900);
  border-radius: var(--radius-lg);
  padding: 42px;
  color: var(--cream-50);
}
.contact-form-wrap h3 { color: var(--cream-50); margin-bottom: 8px; }
.contact-form-wrap p.lede { color: var(--tan-300); margin-bottom: 24px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-size: 13px; color: var(--tan-300); font-weight: 600; }
.form-field input, .form-field textarea {
  background: rgba(255,251,247,.06);
  border: 1px solid rgba(255,251,247,.22);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  color: var(--cream-50);
  font-family: inherit;
  font-size: 14.5px;
  resize: vertical;
}
.form-field input:focus, .form-field textarea:focus {
  outline: none;
  border-color: var(--tan-500);
  background: rgba(255,251,247,.1);
}
.form-field input::placeholder, .form-field textarea::placeholder { color: rgba(245,235,225,.4); }

.alert { padding: 14px 18px; border-radius: var(--radius-sm); font-size: 14.5px; margin-bottom: 18px; }
.alert-success { background: rgba(111,143,90,.18); border: 1px solid var(--ok-green); color: #d7e7cd; }
.alert-error { background: rgba(180,70,50,.18); border: 1px solid #b44632; color: #f2cfc4; }

/* =========================================================
   Footer
   ========================================================= */
.site-footer { background: var(--brown-900); color: var(--tan-300); padding-top: 70px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 50px; }
.footer-logo { margin-bottom: 14px; }
.footer-logo .logo-text { color: var(--cream-50); }
.footer-col h4 { color: var(--cream-50); font-size: 15px; margin-bottom: 16px; text-transform: uppercase; letter-spacing: .05em; }
.footer-list li { margin-bottom: 10px; font-size: 14.5px; }
.footer-list a:hover { color: var(--cream-50); }
.site-footer p { color: var(--tan-300); font-size: 14.5px; }
.footer-bottom { border-top: 1px solid rgba(255,251,247,.12); padding: 20px 0; text-align: center; font-size: 13.5px; }

.back-to-top {
  position: fixed;
  right: 24px; bottom: 24px;
  width: 46px; height: 46px;
  background: var(--brown-900);
  color: var(--cream-50);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  box-shadow: var(--shadow-1);
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease, transform .25s ease;
  z-index: 90;
}
.back-to-top.visible { opacity: 1; pointer-events: auto; }

/* ---------- reveal-on-scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-scroll .line { animation: none; }
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 980px) {
  .about-grid, .overview-grid, .products-grid, .contact-grid { grid-template-columns: 1fr; }
  .mv-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .work-track { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .ach-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .overview-text { padding: 40px; }
}

@media (max-width: 720px) {
  section { padding: 64px 0; }
  .main-nav { display: none; }
  .hamburger { display: flex; }
  .header-actions .lang-switch { display: none; }
  .hero-panel { padding: 30px 26px; margin: 0 16px; }
  .hero-scroll { display: none; }
  .values-grid { grid-template-columns: 1fr 1fr; }
  .work-track { grid-template-columns: 1fr 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .ach-grid { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .btn-webmail span { display: none; }

  .main-nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--paper);
    padding: 20px 24px;
    box-shadow: var(--shadow-1);
    gap: 4px;
  }
  .main-nav.open a { padding: 12px 0; border-bottom: 1px solid rgba(60,42,32,.08); }
}
