/* Nusantara Tekstil — style.css */
/* Palet: #0e7490 (utama teal), #f43f5e (aksen rose) */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --teal:    #0e7490;
  --teal-d:  #0a5870;
  --teal-l:  #cffafe;
  --rose:    #f43f5e;
  --rose-d:  #be123c;
  --rose-l:  #ffe4e6;
  --white:   #ffffff;
  --gray-50: #f8fafc;
  --gray-100:#f1f5f9;
  --gray-200:#e2e8f0;
  --gray-400:#94a3b8;
  --gray-600:#475569;
  --gray-800:#1e293b;
  --ff: -apple-system,"Segoe UI",Roboto,Arial,sans-serif;
  --shadow: 0 2px 8px rgba(14,116,144,.12);
  --shadow-lg: 0 8px 32px rgba(14,116,144,.16);
}

html { scroll-behavior: smooth; }
body { font-family: var(--ff); color: var(--gray-800); background: var(--white); line-height: 1.6; }

/* ── DEMO BAR ── */
.demobar {
  background: var(--gray-800);
  color: #e2e8f0;
  font-size: .78rem;
  padding: .45rem 1rem;
  text-align: center;
  line-height: 1.5;
}
.demobar a { color: #7dd3fc; text-decoration: underline; }
.demobar a:hover { color: #fff; }

/* ── HEADER / NAV ── */
header {
  position: sticky; top: 0; z-index: 100;
  background: var(--white);
  border-bottom: 3px solid var(--teal);
  box-shadow: var(--shadow);
}
.nav-wrap {
  max-width: 1140px; margin: 0 auto;
  padding: .75rem 1.25rem;
  display: flex; align-items: center; justify-content: space-between;
}
.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; }
.brand-icon {
  width: 40px; height: 40px; border-radius: 8px;
  background: linear-gradient(135deg, var(--teal) 60%, var(--rose) 100%);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.brand-icon svg { width: 24px; height: 24px; }
.brand-name { font-size: 1.18rem; font-weight: 800; color: var(--teal); line-height: 1.1; }
.brand-name span { display: block; font-size: .65rem; font-weight: 500; color: var(--gray-600); letter-spacing: .08em; }

#nav { display: none; }
label.burger {
  display: none; cursor: pointer;
  flex-direction: column; gap: 5px; padding: 4px;
}
label.burger span {
  display: block; width: 24px; height: 2px;
  background: var(--teal); border-radius: 2px; transition: .25s;
}
ul.menu {
  list-style: none; display: flex; align-items: center; gap: .25rem;
}
ul.menu a {
  text-decoration: none; color: var(--gray-800);
  font-size: .9rem; font-weight: 600;
  padding: .45rem .75rem; border-radius: 6px; transition: background .2s, color .2s;
}
ul.menu a:hover { background: var(--teal-l); color: var(--teal-d); }
ul.menu a.active { background: var(--teal); color: var(--white); }
ul.menu .cta-nav a {
  background: var(--rose); color: var(--white); border-radius: 6px;
}
ul.menu .cta-nav a:hover { background: var(--rose-d); }

/* ── HERO ── */
.hero {
  background: linear-gradient(135deg, var(--teal-d) 0%, var(--teal) 55%, #0891b2 100%);
  color: var(--white);
  padding: 5rem 1.25rem 4rem;
  text-align: center;
  position: relative; overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 80% 20%, rgba(244,63,94,.18) 0%, transparent 60%),
    radial-gradient(ellipse 50% 60% at 10% 90%, rgba(255,255,255,.06) 0%, transparent 60%);
}
.hero-inner { position: relative; max-width: 780px; margin: 0 auto; }
.hero-badge {
  display: inline-block; background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 99px; font-size: .78rem; font-weight: 700;
  letter-spacing: .1em; padding: .3rem .9rem; margin-bottom: 1.25rem; text-transform: uppercase;
}
.hero h1 { font-size: clamp(2rem,5vw,3.2rem); font-weight: 900; line-height: 1.15; margin-bottom: 1rem; }
.hero h1 em { color: #fda4af; font-style: normal; }
.hero p { font-size: 1.1rem; opacity: .92; max-width: 560px; margin: 0 auto 2rem; }
.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-block; padding: .75rem 1.75rem; border-radius: 8px;
  font-size: .95rem; font-weight: 700; text-decoration: none; transition: transform .15s, box-shadow .15s;
  cursor: pointer; border: none;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-white { background: var(--white); color: var(--teal-d); }
.btn-outline { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,.6); }
.btn-outline:hover { background: rgba(255,255,255,.12); }
.btn-rose { background: var(--rose); color: var(--white); }
.btn-rose:hover { background: var(--rose-d); }
.btn-teal { background: var(--teal); color: var(--white); }
.btn-teal:hover { background: var(--teal-d); }

/* hero fabric waves */
.hero-waves {
  display: flex; gap: 12px; justify-content: center;
  margin-top: 3rem; flex-wrap: wrap;
}
.hw {
  width: 56px; height: 8px; border-radius: 4px; opacity: .55;
}

/* ── SECTION GENERIK ── */
section { padding: 4rem 1.25rem; }
.section-center { max-width: 1140px; margin: 0 auto; }
.section-label {
  display: inline-block; background: var(--teal-l); color: var(--teal-d);
  font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
  padding: .3rem .85rem; border-radius: 99px; margin-bottom: .75rem;
}
.section-label.rose { background: var(--rose-l); color: var(--rose-d); }
h2.section-title { font-size: clamp(1.5rem,3.5vw,2.2rem); font-weight: 900; color: var(--gray-800); line-height: 1.2; margin-bottom: .75rem; }
.section-sub { color: var(--gray-600); font-size: 1rem; max-width: 580px; margin-bottom: 2.5rem; }

/* ── STATS BAR ── */
.stats-bar {
  background: var(--teal);
  color: var(--white);
  padding: 2.5rem 1.25rem;
}
.stats-grid {
  max-width: 1140px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(4,1fr); gap: 1.5rem; text-align: center;
}
.stat-num { font-size: 2.2rem; font-weight: 900; line-height: 1; }
.stat-num span { color: #fda4af; }
.stat-label { font-size: .83rem; opacity: .85; margin-top: .3rem; }

/* ── CARD GRID ── */
.card-grid { display: grid; gap: 1.5rem; }
.card-grid-3 { grid-template-columns: repeat(3,1fr); }
.card-grid-2 { grid-template-columns: repeat(2,1fr); }

.card {
  background: var(--white); border: 1px solid var(--gray-200);
  border-radius: 14px; padding: 1.75rem; transition: box-shadow .2s, transform .2s;
}
.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }

.card-icon {
  width: 52px; height: 52px; border-radius: 12px;
  background: var(--teal-l); display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem;
}
.card-icon.rose-bg { background: var(--rose-l); }
.card-icon svg { width: 28px; height: 28px; color: var(--teal); }
.card-icon.rose-bg svg { color: var(--rose); }
.card h3 { font-size: 1.05rem; font-weight: 800; margin-bottom: .5rem; color: var(--gray-800); }
.card p { font-size: .88rem; color: var(--gray-600); line-height: 1.6; }

/* ── FITUR HIGHLIGHT (2 kolom) ── */
.feature-split {
  display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center;
}
.feature-split.rev { direction: rtl; }
.feature-split.rev > * { direction: ltr; }
.feature-visual {
  border-radius: 20px; overflow: hidden;
  background: linear-gradient(135deg, var(--teal-l) 0%, #e0f2fe 100%);
  min-height: 280px; display: flex; align-items: center; justify-content: center;
  position: relative;
}
.fabric-illustration {
  display: grid; grid-template-columns: repeat(4,1fr); gap: 6px; padding: 24px; width: 100%;
}
.fab-swatch {
  height: 60px; border-radius: 8px;
  animation: sway 3s ease-in-out infinite alternate;
}
@keyframes sway { from { transform: scaleY(.95); } to { transform: scaleY(1.05); } }
.feature-text h2 { font-size: 1.6rem; font-weight: 900; margin-bottom: .75rem; color: var(--gray-800); }
.feature-text p { color: var(--gray-600); margin-bottom: 1.25rem; }
.check-list { list-style: none; }
.check-list li {
  display: flex; align-items: flex-start; gap: .6rem;
  font-size: .9rem; color: var(--gray-700); margin-bottom: .55rem;
}
.check-list li::before {
  content: "";
  display: block; width: 20px; height: 20px; flex-shrink: 0;
  background: var(--teal); border-radius: 50%; margin-top: 1px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill='white' d='M7 10.4l2.5 2.5 4-5'/%3E%3C/svg%3E");
  background-size: cover;
}

/* ── PORTFOLIO GRID ── */
.portfolio-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.25rem; }
.port-card {
  border-radius: 14px; overflow: hidden;
  border: 1px solid var(--gray-200); transition: box-shadow .2s, transform .2s;
}
.port-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.port-thumb {
  height: 160px;
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.port-thumb-pattern {
  position: absolute; inset: 0;
  display: grid; grid-template-columns: repeat(6,1fr);
}
.port-thumb-pattern .p-stripe { opacity: .85; }
.port-info { padding: 1rem 1.25rem; background: var(--white); }
.port-info h3 { font-size: .95rem; font-weight: 800; margin-bottom: .25rem; color: var(--gray-800); }
.port-info p { font-size: .82rem; color: var(--gray-600); }
.port-tag {
  display: inline-block; font-size: .7rem; font-weight: 700; padding: .2rem .6rem;
  border-radius: 99px; background: var(--teal-l); color: var(--teal-d); margin-top: .4rem;
}

/* ── TEAM ── */
.team-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.25rem; }
.team-card {
  text-align: center; padding: 1.5rem 1rem;
  border: 1px solid var(--gray-200); border-radius: 14px; transition: box-shadow .2s;
}
.team-card:hover { box-shadow: var(--shadow); }
.team-avatar {
  width: 72px; height: 72px; border-radius: 50%; margin: 0 auto 1rem;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem; font-weight: 900; color: var(--white);
}
.team-card h3 { font-size: .95rem; font-weight: 800; }
.team-card p { font-size: .8rem; color: var(--gray-600); margin-top: .25rem; }

/* ── KONTAK / FORM ── */
.kontak-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 2.5rem; align-items: start; }
.info-cards { display: flex; flex-direction: column; gap: 1rem; }
.info-card {
  display: flex; gap: 1rem; align-items: flex-start;
  padding: 1.25rem; border: 1px solid var(--gray-200); border-radius: 12px;
}
.info-card-icon {
  width: 44px; height: 44px; border-radius: 10px; flex-shrink: 0;
  background: var(--teal-l); display: flex; align-items: center; justify-content: center;
}
.info-card-icon svg { width: 22px; height: 22px; color: var(--teal); }
.info-card h4 { font-size: .9rem; font-weight: 800; margin-bottom: .25rem; }
.info-card p { font-size: .85rem; color: var(--gray-600); line-height: 1.5; }

.form-card {
  background: var(--gray-50); border: 1px solid var(--gray-200);
  border-radius: 14px; padding: 2rem;
}
.form-card h3 { font-size: 1.15rem; font-weight: 800; margin-bottom: 1.25rem; color: var(--gray-800); }
.form-group { margin-bottom: 1rem; }
.form-group label { display: block; font-size: .82rem; font-weight: 700; margin-bottom: .35rem; color: var(--gray-600); }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: .65rem .9rem; border: 1.5px solid var(--gray-200);
  border-radius: 8px; font-family: var(--ff); font-size: .9rem; background: var(--white);
  transition: border-color .2s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--teal);
}
.form-group textarea { resize: vertical; min-height: 100px; }
.form-note { font-size: .75rem; color: var(--gray-400); margin-top: .35rem; }

/* ── CTA BAND ── */
.cta-band {
  background: linear-gradient(135deg, var(--rose-d) 0%, var(--rose) 100%);
  color: var(--white); text-align: center; padding: 4rem 1.25rem;
}
.cta-band h2 { font-size: clamp(1.5rem,3.5vw,2.2rem); font-weight: 900; margin-bottom: .75rem; }
.cta-band p { opacity: .9; margin-bottom: 2rem; max-width: 500px; margin-left: auto; margin-right: auto; }

/* ── FOOTER ── */
footer {
  background: var(--gray-800); color: var(--gray-400); padding: 3rem 1.25rem 1.5rem;
}
.footer-grid {
  max-width: 1140px; margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 2rem;
  padding-bottom: 2rem; border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-brand-name { color: var(--white); font-size: 1.1rem; font-weight: 800; margin-bottom: .5rem; }
.footer-desc { font-size: .85rem; line-height: 1.6; margin-bottom: 1rem; }
.footer-col h4 { color: var(--white); font-size: .85rem; font-weight: 700; margin-bottom: .75rem; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: .45rem; }
.footer-col ul a { color: var(--gray-400); text-decoration: none; font-size: .85rem; transition: color .2s; }
.footer-col ul a:hover { color: var(--white); }
.footer-contact p { font-size: .83rem; margin-bottom: .5rem; line-height: 1.5; }
.footer-bottom {
  max-width: 1140px; margin: 1.5rem auto 0;
  display: flex; justify-content: space-between; align-items: center;
  font-size: .78rem; flex-wrap: wrap; gap: .5rem;
}
.footer-bottom a { color: var(--gray-400); text-decoration: none; }

/* ── TENTANG ── */
.timeline { position: relative; max-width: 700px; }
.timeline::before { content: ""; position: absolute; left: 18px; top: 0; bottom: 0; width: 2px; background: var(--teal-l); }
.tl-item { display: flex; gap: 1.25rem; margin-bottom: 1.75rem; position: relative; }
.tl-dot {
  width: 36px; height: 36px; border-radius: 50%; flex-shrink: 0;
  background: var(--teal); display: flex; align-items: center; justify-content: center;
  font-size: .78rem; font-weight: 900; color: var(--white); z-index: 1;
}
.tl-content h4 { font-weight: 800; font-size: .95rem; color: var(--gray-800); }
.tl-content p { font-size: .85rem; color: var(--gray-600); margin-top: .2rem; }
.tl-year { font-size: .72rem; color: var(--teal); font-weight: 700; }

.nilai-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.25rem; margin-top: 2rem; }
.nilai-card {
  padding: 1.5rem; border-radius: 12px; text-align: center;
  background: linear-gradient(135deg, var(--teal-l) 0%, #e0f2fe 100%);
}
.nilai-card.rose { background: linear-gradient(135deg, var(--rose-l) 0%, #fce7f3 100%); }
.nilai-card svg { width: 32px; height: 32px; margin-bottom: .75rem; }
.nilai-card h4 { font-size: .95rem; font-weight: 800; margin-bottom: .4rem; color: var(--gray-800); }
.nilai-card p { font-size: .82rem; color: var(--gray-600); }

/* ── LAYANAN ── */
.layanan-hero { background: linear-gradient(135deg, #f0fdfa 0%, var(--teal-l) 100%); padding: 3.5rem 1.25rem; }
.price-card {
  border: 2px solid var(--gray-200); border-radius: 16px; padding: 2rem; text-align: center;
  transition: border-color .2s, box-shadow .2s;
}
.price-card:hover, .price-card.featured { border-color: var(--teal); box-shadow: var(--shadow-lg); }
.price-card.featured { background: linear-gradient(160deg, #f0fdfa 0%, var(--white) 100%); }
.price-label { font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--teal); margin-bottom: .5rem; }
.price-main { font-size: 2rem; font-weight: 900; color: var(--gray-800); }
.price-period { font-size: .8rem; color: var(--gray-600); margin-bottom: 1.25rem; }
.price-feat { list-style: none; text-align: left; margin-bottom: 1.5rem; }
.price-feat li { font-size: .87rem; color: var(--gray-700); padding: .35rem 0; border-bottom: 1px solid var(--gray-100); display: flex; gap: .5rem; }
.price-feat li::before { content: "✓"; color: var(--teal); font-weight: 800; }

/* ── RESPONSIVE ── */
@media (max-width: 820px) {
  label.burger { display: flex; }
  ul.menu {
    display: none; flex-direction: column; align-items: stretch;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--white); border-top: 2px solid var(--teal-l);
    padding: .75rem; gap: .25rem; box-shadow: var(--shadow-lg);
  }
  #nav:checked ~ ul.menu { display: flex; }
  .nav-wrap { position: relative; flex-wrap: wrap; }
  .stats-grid { grid-template-columns: repeat(2,1fr); }
  .card-grid-3 { grid-template-columns: 1fr; }
  .card-grid-2 { grid-template-columns: 1fr; }
  .feature-split { grid-template-columns: 1fr; }
  .feature-split.rev { direction: ltr; }
  .portfolio-grid { grid-template-columns: repeat(2,1fr); }
  .team-grid { grid-template-columns: repeat(2,1fr); }
  .kontak-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nilai-grid { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .portfolio-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2,1fr); }
  .hero-actions { flex-direction: column; align-items: center; }
}
