/* ============================================================
   Home Care Tissue — Main Stylesheet
   Colors: Cream BG #FFFDF5 | Primary #6BBF59 | Accent #E8F5E9
           Text #2F2F2F | Button #2E7D32
   ============================================================ */

:root {
  --bg: #FFFDF5;
  --primary: #6BBF59;
  --accent: #E8F5E9;
  --text: #2F2F2F;
  --btn: #2E7D32;
  --btn-hover: #1B5E20;
  --white: #ffffff;
  --muted: #7a7a6e;
  --border: #d8eed6;
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
}

/* ── NAV ── */
nav {
  position: fixed; top: 0; width: 100%; z-index: 1000;
  background: rgba(255,253,245,0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  padding: 0 5%;
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
  transition: box-shadow 0.3s;
}
nav.scrolled { box-shadow: 0 4px 24px rgba(107,191,89,0.12); }

.nav-logo {
  display: flex; align-items: center; gap: 12px;
  text-decoration: none;
}
.logo-icon {
  width: 44px; height: 44px;
  background: var(--btn);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.logo-icon svg { width: 28px; height: 28px; }
.logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem; font-weight: 700;
  color: var(--btn); line-height: 1.1;
}
.logo-text span {
  display: block; font-size: 0.7rem; font-weight: 400;
  color: var(--muted); font-family: 'DM Sans', sans-serif;
  letter-spacing: 0.08em; text-transform: uppercase;
}

.nav-links { display: flex; gap: 36px; list-style: none; }
.nav-links a {
  text-decoration: none; color: var(--text);
  font-size: 0.92rem; font-weight: 500;
  letter-spacing: 0.02em;
  position: relative; padding-bottom: 3px;
  transition: color 0.2s;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--primary);
  transition: width 0.3s;
}
.nav-links a:hover { color: var(--btn); }
.nav-links a:hover::after { width: 100%; }

.nav-cta {
  background: var(--btn); color: #fff;
  border: none; padding: 10px 22px;
  border-radius: 8px; font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem; font-weight: 600;
  cursor: pointer; transition: background 0.2s, transform 0.1s;
  text-decoration: none;
}
.nav-cta:hover { background: var(--btn-hover); transform: translateY(-1px); }

.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
.hamburger span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: 0.3s; }

/* ── SECTION DEFAULTS ── */
section { padding: 96px 5%; }
section:first-of-type { padding-top: 72px; }

.section-label {
  display: inline-block;
  background: var(--accent); color: var(--btn);
  font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  padding: 6px 14px; border-radius: 20px;
  margin-bottom: 16px;
}
h2.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700; line-height: 1.15;
  color: var(--text); margin-bottom: 16px;
}
.section-sub {
  color: var(--muted); font-size: 1.05rem;
  max-width: 560px; line-height: 1.7;
}

/* ── HERO ── */
#home {
  min-height: 100vh;
  display: grid; grid-template-columns: 1fr 1fr;
  align-items: center; gap: 60px;
  padding-top: 112px;
  position: relative; overflow: hidden;
}
.hero-bg-circles {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
}
.hero-bg-circles circle { fill: var(--accent); opacity: 0.5; }
.hero-content { position: relative; z-index: 1; }
.hero-tag {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--accent); border: 1px solid var(--border);
  padding: 6px 16px; border-radius: 20px;
  font-size: 0.82rem; font-weight: 500; color: var(--btn);
  margin-bottom: 28px;
}
.hero-tag .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--primary); animation: pulse 2s infinite;
}
@keyframes pulse {
  0%,100% { transform: scale(1); opacity: 1; }
  50%      { transform: scale(1.4); opacity: 0.6; }
}
.hero-h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.5rem, 5.5vw, 4.2rem);
  font-weight: 700; line-height: 1.1;
  color: var(--text); margin-bottom: 24px;
}
.hero-h1 em { font-style: normal; color: var(--primary); }
.hero-p { color: var(--muted); font-size: 1.05rem; line-height: 1.75; margin-bottom: 36px; max-width: 480px; }

.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }
.btn-primary {
  background: var(--btn); color: #fff;
  padding: 14px 32px; border-radius: 10px;
  font-size: 0.95rem; font-weight: 600;
  text-decoration: none; display: inline-block;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 4px 16px rgba(46,125,50,0.25);
}
.btn-primary:hover { background: var(--btn-hover); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(46,125,50,0.35); }
.btn-ghost {
  background: transparent; color: var(--btn);
  border: 2px solid var(--border);
  padding: 12px 28px; border-radius: 10px;
  font-size: 0.95rem; font-weight: 600;
  text-decoration: none; display: inline-block;
  transition: border-color 0.2s, background 0.2s;
}
.btn-ghost:hover { border-color: var(--primary); background: var(--accent); }

.hero-stats { margin-top: 48px; display: flex; gap: 40px; }
.stat h3 {
  font-family: 'Playfair Display', serif;
  font-size: 2rem; font-weight: 700; color: var(--btn);
}
.stat p { font-size: 0.82rem; color: var(--muted); font-weight: 500; }

.hero-visual { position: relative; z-index: 1; }
.hero-card-stack { position: relative; height: 500px; }
.hero-main-card {
  position: absolute; inset: 0;
  background: linear-gradient(145deg, var(--accent), #c8e6c9);
  border-radius: 32px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(107,191,89,0.2);
}
.hero-roll-svg { width: 280px; height: 280px; }
.hero-float-card {
  position: absolute;
  background: #fff; border-radius: 16px;
  padding: 16px 20px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
  display: flex; align-items: center; gap: 12px;
}
.hero-float-card.card1 { bottom: 40px; left: -30px; }
.hero-float-card.card2 { top: 50px; right: -20px; }
.float-icon {
  width: 40px; height: 40px; background: var(--accent);
  border-radius: 10px; display: flex; align-items: center;
  justify-content: center; font-size: 1.3rem;
}
.float-label { font-size: 0.8rem; color: var(--muted); }
.float-val { font-size: 0.95rem; font-weight: 600; color: var(--text); }

/* ── CAPABILITIES ── */
#capabilities { background: var(--accent); }
.cap-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 64px; align-items: center; margin-top: 56px;
}
.cap-items { display: flex; flex-direction: column; gap: 24px; }
.cap-item {
  background: #fff; border-radius: 16px; padding: 28px;
  display: flex; gap: 20px; align-items: flex-start;
  border: 1px solid var(--border);
  transition: transform 0.2s, box-shadow 0.2s;
}
.cap-item:hover { transform: translateY(-3px); box-shadow: 0 12px 36px rgba(107,191,89,0.12); }
.cap-icon {
  width: 52px; height: 52px; min-width: 52px;
  background: var(--accent); border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
}
.cap-item h4 { font-weight: 600; font-size: 1.05rem; margin-bottom: 6px; }
.cap-item p { font-size: 0.9rem; color: var(--muted); line-height: 1.6; }

.cap-machines {
  background: var(--btn); border-radius: 24px;
  padding: 40px; color: #fff;
}
.cap-machines h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem; margin-bottom: 24px;
}
.machine-list { list-style: none; display: flex; flex-direction: column; gap: 16px; }
.machine-list li {
  display: flex; align-items: center; gap: 14px;
  background: rgba(255,255,255,0.1);
  border-radius: 12px; padding: 14px 18px;
  font-size: 0.93rem;
  border: 1px solid rgba(255,255,255,0.15);
}
.machine-list li .m-icon { font-size: 1.3rem; }
.machine-list li .m-info { display: flex; flex-direction: column; }
.machine-list li .m-name { font-weight: 600; }
.machine-list li .m-spec { font-size: 0.78rem; opacity: 0.75; }

.capacity-bar-section { margin-top: 32px; }
.cap-bar-item { margin-bottom: 18px; }
.cap-bar-item .bar-label {
  display: flex; justify-content: space-between;
  margin-bottom: 6px; font-size: 0.85rem;
  font-weight: 500; color: rgba(255,255,255,0.9);
}
.bar-track { height: 8px; background: rgba(255,255,255,0.2); border-radius: 4px; overflow: hidden; }
.bar-fill { height: 100%; border-radius: 4px; background: #fff; transition: width 1.5s ease; }

/* ── PRODUCTS ── */
#products { background: var(--bg); }
.products-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 28px; margin-top: 56px;
}
.product-card {
  background: #fff; border-radius: 20px; overflow: hidden;
  border: 1px solid var(--border);
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: pointer;
}
.product-card:hover { transform: translateY(-8px); box-shadow: 0 20px 48px rgba(107,191,89,0.18); }
.product-img {
  height: 200px;
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.product-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.4s ease;
}
.product-card:hover .product-img img { transform: scale(1.06); }
.product-body { padding: 22px; }
.product-body h3 { font-weight: 600; font-size: 1.05rem; margin-bottom: 8px; }
.product-body p { font-size: 0.85rem; color: var(--muted); line-height: 1.6; margin-bottom: 14px; }
.product-tag {
  display: inline-block;
  background: var(--accent); color: var(--btn);
  font-size: 0.75rem; font-weight: 600;
  padding: 4px 12px; border-radius: 20px;
}

/* ── WHY US ── */
#why-us { background: linear-gradient(180deg, var(--bg) 0%, var(--accent) 100%); }
.why-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 28px; margin-top: 56px;
}
.why-card {
  background: #fff; border-radius: 20px; padding: 36px 28px;
  border: 1px solid var(--border);
  transition: transform 0.2s, box-shadow 0.2s;
  position: relative; overflow: hidden;
}
.why-card::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0;
  height: 4px; background: var(--primary);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.3s;
}
.why-card:hover::after { transform: scaleX(1); }
.why-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(107,191,89,0.15); }
.why-icon { font-size: 2.2rem; margin-bottom: 18px; }
.why-card h3 { font-weight: 600; font-size: 1.1rem; margin-bottom: 10px; }
.why-card p { font-size: 0.9rem; color: var(--muted); line-height: 1.65; }

.why-cta-band {
  margin-top: 64px; background: var(--btn);
  border-radius: 24px; padding: 56px 64px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 32px; flex-wrap: wrap;
}
.why-cta-band h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.9rem; color: #fff; max-width: 480px;
}
.btn-white {
  background: #fff; color: var(--btn);
  padding: 14px 32px; border-radius: 10px;
  font-size: 0.95rem; font-weight: 700;
  text-decoration: none; white-space: nowrap;
  transition: transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.15); }

/* ── CAREERS ── */
#careers { background: var(--bg); }
.careers-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; margin-top: 56px; }
.careers-intro p { color: var(--muted); line-height: 1.75; margin-bottom: 28px; }
.perk-list { display: flex; flex-direction: column; gap: 14px; }
.perk {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 18px; border-radius: 12px;
  background: var(--accent); border: 1px solid var(--border);
  font-size: 0.92rem; font-weight: 500;
}
.perk-icon { font-size: 1.3rem; }

.job-listings { display: flex; flex-direction: column; gap: 16px; }
.job-card {
  background: #fff; border: 1px solid var(--border);
  border-radius: 16px; padding: 24px 28px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.job-card:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(107,191,89,0.12); }
.job-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 10px; }
.job-title { font-weight: 600; font-size: 1rem; }
.job-badge { font-size: 0.75rem; font-weight: 600; background: var(--accent); color: var(--btn); padding: 4px 10px; border-radius: 20px; }
.job-meta { display: flex; gap: 16px; margin-bottom: 14px; }
.job-meta span { font-size: 0.82rem; color: var(--muted); display: flex; align-items: center; gap: 5px; }
.job-desc { font-size: 0.87rem; color: var(--muted); line-height: 1.6; margin-bottom: 16px; }
.btn-apply {
  background: var(--btn); color: #fff;
  border: none; padding: 9px 22px;
  border-radius: 8px; font-size: 0.85rem; font-weight: 600;
  cursor: pointer; font-family: 'DM Sans', sans-serif;
  transition: background 0.2s;
}
.btn-apply:hover { background: var(--btn-hover); }

/* ── CONTACT ── */
#contact { background: var(--accent); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 64px; align-items: start; margin-top: 56px; }
.contact-info h3 { font-family: 'Playfair Display', serif; font-size: 1.5rem; margin-bottom: 24px; }
.contact-detail { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 24px; }
.c-icon {
  width: 44px; height: 44px; min-width: 44px;
  background: #fff; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.c-label { font-size: 0.78rem; color: var(--muted); font-weight: 500; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 3px; }
.c-val { font-size: 0.95rem; font-weight: 500; color: var(--text); }
.bulk-note { margin-top: 32px; padding: 24px; background: #fff; border-radius: 16px; border: 1px solid var(--border); }
.bulk-note p:first-child { font-size: 0.9rem; font-weight: 600; margin-bottom: 12px; color: var(--btn); }
.bulk-note p:last-child { font-size: 0.85rem; color: var(--muted); line-height: 1.6; }

.contact-form {
  background: #fff; border-radius: 24px; padding: 44px;
  box-shadow: 0 8px 40px rgba(107,191,89,0.1);
  border: 1px solid var(--border);
}
.contact-form h3 { font-family: 'Playfair Display', serif; font-size: 1.4rem; margin-bottom: 28px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 0.82rem; font-weight: 600; margin-bottom: 7px; color: var(--text); }
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%; padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: 10px; font-family: 'DM Sans', sans-serif;
  font-size: 0.92rem; color: var(--text);
  background: var(--bg);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(107,191,89,0.12);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.btn-submit {
  width: 100%; background: var(--btn); color: #fff;
  border: none; padding: 14px;
  border-radius: 10px; font-family: 'DM Sans', sans-serif;
  font-size: 0.97rem; font-weight: 600;
  cursor: pointer; transition: background 0.2s, transform 0.15s;
}
.btn-submit:hover { background: var(--btn-hover); transform: translateY(-1px); }

/* ── FOOTER ── */
footer {
  background: var(--text); color: rgba(255,255,255,0.85);
  padding: 56px 5% 32px;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand p { font-size: 0.88rem; line-height: 1.7; opacity: 0.7; margin-top: 16px; max-width: 280px; }
.footer-col h4 { font-weight: 600; font-size: 0.9rem; margin-bottom: 16px; color: #fff; text-transform: uppercase; letter-spacing: 0.08em; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a { text-decoration: none; color: rgba(255,255,255,0.65); font-size: 0.88rem; transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--primary); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 28px; display: flex;
  justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
}
.footer-bottom p { font-size: 0.82rem; opacity: 0.55; }
.footer-logo-inline { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.footer-logo-inline .logo-icon { width: 34px; height: 34px; border-radius: 8px; }
.footer-logo-inline .logo-text { color: #fff; font-size: 1.05rem; }
.footer-logo-inline .logo-text span { color: rgba(255,255,255,0.5); }

/* ── ANIMATIONS ── */
.fade-in { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  #home { grid-template-columns: 1fr; padding-top: 100px; }
  .hero-visual { display: none; }
  .cap-grid, .careers-layout, .contact-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .form-row { grid-template-columns: 1fr; }
  .why-cta-band { padding: 36px 28px; }
}
