/* ============================================================
   PT. INDO TAS MAKMUR — stylesheet
   Design language: "leather hangtag" — stitched borders, brass
   rivets, canvas texture. Palette drawn from bag-making materials.
   ============================================================ */

:root{
  --canvas:#EAE3D3;
  --canvas-deep:#DFD5BE;
  --cream:#FAF7F0;
  --leather:#3B2A20;
  --leather-soft:#5C4433;
  --indigo:#28344C;
  --indigo-soft:#3A4A68;
  --brass:#A8813F;
  --brass-light:#D3AE6E;
  --rust:#9C3F2B;
  --ink:#241a14;
  --line: rgba(59,42,32,0.22);

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Work Sans", "Segoe UI", sans-serif;
  --font-mono: "Space Mono", monospace;

  --radius: 4px;
  --container: 1180px;
}

*{box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  margin:0;
  font-family:var(--font-body);
  background:var(--canvas);
  color:var(--ink);
  line-height:1.6;
  -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-display);
  color:var(--leather);
  line-height:1.15;
  margin:0 0 .5em;
  font-weight:600;
}
p{margin:0 0 1em;}
.container{max-width:var(--container);margin:0 auto;padding:0 24px;}

/* Reduced motion */
@media (prefers-reduced-motion: reduce){
  *{animation-duration:.001ms !important; transition-duration:.001ms !important;}
}

/* Focus visibility */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible{
  outline:2px solid var(--rust);
  outline-offset:2px;
}

/* ---------- Utility label / eyebrow (stamped tag style) ---------- */
.stamp{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-family:var(--font-mono);
  font-size:.72rem;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:var(--leather-soft);
  border:1px solid var(--line);
  padding:5px 12px;
  border-radius:100px;
  background:var(--cream);
}
.stamp::before{
  content:"";
  width:6px;height:6px;border-radius:50%;
  background:var(--rust);
  flex-shrink:0;
}

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:14px 28px;
  border-radius:var(--radius);
  font-family:var(--font-body);
  font-weight:600;
  font-size:.95rem;
  cursor:pointer;
  border:1.5px solid transparent;
  transition:transform .15s ease, background .2s ease, color .2s ease, border-color .2s ease;
}
.btn:hover{transform:translateY(-2px);}
.btn-primary{background:var(--leather); color:var(--cream);}
.btn-primary:hover{background:var(--ink);}
.btn-outline{background:transparent; border-color:var(--leather); color:var(--leather);}
.btn-outline:hover{background:var(--leather); color:var(--cream);}
.btn-ghost{background:transparent;color:var(--leather-soft); border-color:var(--line);}
.btn-block{width:100%;}

/* ============================================================
   HEADER / NAV
   ============================================================ */
.site-header{
  position:sticky; top:0; z-index:50;
  background:rgba(234,227,211,0.92);
  backdrop-filter:blur(8px);
  border-bottom:1px solid var(--line);
}
.nav{
  display:flex; align-items:center; justify-content:space-between;
  padding:16px 24px;
  max-width:var(--container); margin:0 auto;
}
.brand{
  display:flex; align-items:center; gap:10px;
  font-family:var(--font-display); font-weight:700; font-size:1.15rem;
  color:var(--leather);
}
.brand .brand-mark{
  width:38px;height:38px; border-radius:50%;
  background:var(--leather);
  display:flex;align-items:center;justify-content:center;
  color:var(--brass-light); font-family:var(--font-display); font-weight:700;
}
.brand small{display:block; font-family:var(--font-mono); font-size:.6rem; letter-spacing:.1em; color:var(--leather-soft); font-weight:400;}

.nav-links{display:flex; align-items:center; gap:28px;}
.nav-links a{
  font-size:.92rem; font-weight:500; color:var(--leather-soft);
  position:relative; padding:4px 0;
}
.nav-links a::after{
  content:""; position:absolute; left:0; bottom:-2px; width:0; height:2px;
  background:var(--rust); transition:width .2s ease;
}
.nav-links a:hover::after, .nav-links a.active::after{width:100%;}
.nav-links a.active{color:var(--leather);}
.nav-actions{display:flex; align-items:center; gap:12px;}
.nav-toggle{
  display:none; flex-direction:column; gap:5px; background:none; border:none; cursor:pointer; padding:6px;
}
.nav-toggle span{width:24px;height:2px;background:var(--leather);}

@media (max-width:900px){
  .nav-links{
    position:fixed; inset:70px 0 0 0; background:var(--cream);
    flex-direction:column; align-items:flex-start; padding:28px 24px; gap:22px;
    transform:translateX(100%); transition:transform .25s ease; overflow-y:auto;
  }
  .nav-links.open{transform:translateX(0);}
  .nav-actions{display:none;}
  .nav-links.open ~ .nav-actions,
  .nav-links .mobile-actions{display:flex; flex-direction:column; gap:10px; width:100%; margin-top:10px; padding-top:20px; border-top:1px solid var(--line);}
  .nav-toggle{display:flex;}
}

/* ============================================================
   HERO — "hangtag" composition
   ============================================================ */
.hero{
  position:relative;
  padding:72px 0 96px;
  overflow:hidden;
  background:
    radial-gradient(circle at 85% 12%, rgba(168,129,63,0.16), transparent 45%),
    var(--canvas);
}
.hero-grid{
  display:grid; grid-template-columns:1.1fr .9fr; gap:56px; align-items:center;
}
.hero-eyebrow{margin-bottom:22px;}
.hero h1{font-size:clamp(2.3rem, 4vw, 3.4rem); max-width:16ch;}
.hero h1 em{font-style:italic; color:var(--rust);}
.hero-sub{font-size:1.08rem; color:var(--leather-soft); max-width:46ch; margin-bottom:32px;}
.hero-actions{display:flex; gap:16px; flex-wrap:wrap; margin-bottom:40px;}
.hero-stats{display:flex; gap:32px; flex-wrap:wrap;}
.hero-stats div{border-left:2px solid var(--brass); padding-left:14px;}
.hero-stats strong{display:block; font-family:var(--font-display); font-size:1.6rem; color:var(--leather);}
.hero-stats span{font-size:.8rem; color:var(--leather-soft); font-family:var(--font-mono); letter-spacing:.04em;}

.hangtag{
  position:relative;
  background:var(--cream);
  border:1.5px dashed var(--brass);
  border-radius:14px;
  padding:20px;
  max-width:460px; margin-left:auto;
}
.hangtag::before{
  content:""; position:absolute; top:26px; left:-14px;
  width:28px;height:28px; border-radius:50%;
  background:var(--canvas); border:1.5px dashed var(--brass);
}
.hangtag img{border-radius:8px;}
.hangtag-caption{
  display:flex; justify-content:space-between; align-items:center;
  margin-top:14px; font-family:var(--font-mono); font-size:.7rem;
  letter-spacing:.06em; color:var(--leather-soft); text-transform:uppercase;
}

@media (max-width:900px){
  .hero-grid{grid-template-columns:1fr; gap:40px;}
  .hangtag{margin:0 auto;}
}

/* ============================================================
   SECTION GENERICS
   ============================================================ */
.section{padding:88px 0;}
.section-alt{background:var(--cream);}
.section-dark{background:var(--leather); color:var(--canvas);}
.section-dark h2, .section-dark h3{color:var(--cream);}
.section-head{max-width:640px; margin-bottom:52px;}
.section-head.center{margin-left:auto; margin-right:auto; text-align:center;}
.section-head h2{font-size:clamp(1.8rem, 3vw, 2.4rem);}
.section-head p{color:var(--leather-soft); font-size:1.02rem;}
.section-dark .section-head p{color:rgba(234,227,211,0.75);}

/* stitched divider */
.stitch-divider{
  border:none; height:0; border-top:2px dashed var(--line); margin:0;
}

/* ---------- stitched card (signature component) ---------- */
.stitch-card{
  position:relative;
  background:var(--cream);
  border:1.5px dashed var(--line);
  border-radius:10px;
  padding:30px 26px;
  transition:transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.stitch-card::before, .stitch-card::after{
  content:""; position:absolute; width:8px;height:8px; border-radius:50%;
  background:var(--brass); top:10px;
}
.stitch-card::before{left:10px;}
.stitch-card::after{right:10px;}
.stitch-card:hover{
  transform:translateY(-6px);
  border-color:var(--brass);
  box-shadow:0 18px 30px -18px rgba(59,42,32,0.35);
}
.stitch-card h3{font-size:1.15rem; margin-bottom:10px;}
.stitch-card p{color:var(--leather-soft); font-size:.94rem; margin-bottom:0;}
.stitch-card .icon{
  width:46px;height:46px; border-radius:10px;
  background:var(--indigo); color:var(--brass-light);
  display:flex; align-items:center; justify-content:center;
  margin-bottom:16px;
}

/* grids */
.grid{display:grid; gap:26px;}
.grid-2{grid-template-columns:repeat(2,1fr);}
.grid-3{grid-template-columns:repeat(3,1fr);}
.grid-4{grid-template-columns:repeat(4,1fr);}
@media (max-width:900px){
  .grid-3, .grid-4{grid-template-columns:repeat(2,1fr);}
}
@media (max-width:600px){
  .grid-2, .grid-3, .grid-4{grid-template-columns:1fr;}
}

/* ---------- product / catalogue cards ---------- */
.product-card{
  background:var(--cream);
  border-radius:10px;
  overflow:hidden;
  border:1px solid var(--line);
  transition:transform .2s ease, box-shadow .2s ease;
}
.product-card:hover{transform:translateY(-6px); box-shadow:0 20px 34px -20px rgba(59,42,32,0.4);}
.product-card .thumb{
  aspect-ratio:4/3; background:var(--canvas-deep);
  display:flex; align-items:center; justify-content:center;
  border-bottom:1px dashed var(--line);
}
.product-card .thumb svg{width:58%;}
.product-card .body{padding:18px 20px 22px;}
.product-card .tag{
  font-family:var(--font-mono); font-size:.68rem; letter-spacing:.08em;
  color:var(--brass); text-transform:uppercase;
}
.product-card h3{font-size:1.05rem; margin:6px 0 8px;}
.product-card p{font-size:.88rem; color:var(--leather-soft); margin-bottom:0;}

/* ---------- feature row w/ image ---------- */
.split{display:grid; grid-template-columns:1fr 1fr; gap:56px; align-items:center;}
.split.reverse .split-media{order:2;}
.split-media{
  background:var(--cream); border-radius:14px; padding:18px;
  border:1.5px dashed var(--line);
}
@media (max-width:900px){
  .split, .split.reverse .split-media{grid-template-columns:1fr; order:0;}
}

.check-list li{
  display:flex; gap:12px; margin-bottom:14px; font-size:.96rem; color:var(--leather-soft);
}
.check-list li svg{flex-shrink:0; margin-top:3px; color:var(--rust);}

/* ---------- timeline / process (numbered — order is meaningful here) ---------- */
.process{display:grid; grid-template-columns:repeat(4,1fr); gap:0; position:relative;}
.process::before{
  content:""; position:absolute; top:22px; left:0; right:0; height:2px;
  background-image:linear-gradient(to right, var(--brass) 50%, transparent 0%);
  background-size:14px 2px; background-repeat:repeat-x;
}
.process-step{position:relative; padding:0 16px; text-align:left;}
.process-step .num{
  width:44px;height:44px; border-radius:50%; background:var(--canvas);
  border:2px solid var(--brass); color:var(--leather);
  display:flex; align-items:center; justify-content:center;
  font-family:var(--font-mono); font-weight:700; margin-bottom:16px; position:relative; z-index:1;
}
.process-step h3{font-size:1rem;}
.process-step p{font-size:.88rem; color:var(--leather-soft);}
@media (max-width:900px){
  .process{grid-template-columns:1fr 1fr; row-gap:32px;}
  .process::before{display:none;}
}
@media (max-width:560px){.process{grid-template-columns:1fr;}}

/* ---------- logos / industries strip ---------- */
.industry-pill{
  display:flex; align-items:center; gap:10px;
  padding:12px 18px; border:1px solid var(--line); border-radius:100px;
  background:var(--cream); font-size:.88rem; color:var(--leather-soft);
}

/* ---------- testimonials ---------- */
.quote-card{
  background:var(--cream); border-radius:10px; padding:28px;
  border-left:3px solid var(--rust);
}
.quote-card p{font-style:italic; color:var(--leather); font-size:1.02rem;}
.quote-who{display:flex; align-items:center; gap:12px; margin-top:16px;}
.quote-avatar{
  width:42px;height:42px;border-radius:50%; background:var(--indigo);
  display:flex;align-items:center;justify-content:center; color:var(--brass-light); font-family:var(--font-display); font-weight:700;
}
.quote-who strong{display:block; font-size:.9rem; color:var(--leather);}
.quote-who span{font-size:.78rem; color:var(--leather-soft);}

/* ---------- CTA band ---------- */
.cta-band{
  background:var(--indigo); color:var(--cream);
  border-radius:16px; padding:56px; text-align:center;
  position:relative; overflow:hidden;
}
.cta-band h2{color:var(--cream);}
.cta-band p{color:rgba(234,227,211,0.78); max-width:52ch; margin:0 auto 28px;}
.cta-band .btn-primary{background:var(--brass-light); color:var(--ink);}
.cta-band .btn-primary:hover{background:var(--cream);}

/* ============================================================
   FORMS (contact / login / register)
   ============================================================ */
.form-card{
  background:var(--cream); border:1px solid var(--line); border-radius:14px;
  padding:40px; max-width:560px; margin:0 auto;
}
.form-row{margin-bottom:20px;}
.form-row label{
  display:block; font-size:.82rem; font-weight:600; color:var(--leather);
  margin-bottom:8px; letter-spacing:.02em;
}
.form-row .req{color:var(--rust);}
.form-row input, .form-row textarea, .form-row select{
  width:100%; padding:13px 14px; border:1.5px solid var(--line); border-radius:8px;
  font-family:var(--font-body); font-size:.95rem; background:#fff; color:var(--ink);
  transition:border-color .2s ease;
}
.form-row input:focus, .form-row textarea:focus, .form-row select:focus{
  border-color:var(--brass); outline:none;
}
.form-row textarea{resize:vertical; min-height:120px;}
.form-grid-2{display:grid; grid-template-columns:1fr 1fr; gap:18px;}
@media (max-width:560px){.form-grid-2{grid-template-columns:1fr;}}
.form-check{display:flex; align-items:flex-start; gap:10px; font-size:.85rem; color:var(--leather-soft); margin-bottom:22px;}
.form-check input{width:auto; margin-top:3px;}
.form-note{
  font-size:.8rem; color:var(--leather-soft); text-align:center; margin-top:18px;
}
.form-note a{color:var(--rust); font-weight:600;}
.form-alert{
  display:none; align-items:center; gap:10px; padding:14px 16px; border-radius:8px;
  background:#EBF4EA; border:1px solid #B7D9B4; color:#2C5A29; font-size:.88rem; margin-bottom:20px;
}
.form-alert.show{display:flex;}

/* auth split layout */
.auth-wrap{display:grid; grid-template-columns:1fr 1fr; min-height:calc(100vh - 74px);}
.auth-side{
  background:var(--leather); color:var(--cream);
  padding:64px; display:flex; flex-direction:column; justify-content:center;
  background-image:radial-gradient(circle at 20% 20%, rgba(168,129,63,0.25), transparent 40%);
}
.auth-side h2{color:var(--cream); font-size:2rem;}
.auth-side p{color:rgba(234,227,211,0.75);}
.auth-form-side{display:flex; align-items:center; justify-content:center; padding:56px 24px;}
@media (max-width:900px){
  .auth-wrap{grid-template-columns:1fr;}
  .auth-side{padding:48px 24px;}
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer{background:var(--ink); color:rgba(234,227,211,0.8); padding:64px 0 28px;}
.footer-grid{display:grid; grid-template-columns:1.4fr 1fr 1fr 1fr; gap:40px; margin-bottom:48px;}
.footer-grid h4{color:var(--cream); font-size:.85rem; letter-spacing:.06em; text-transform:uppercase; font-family:var(--font-mono); margin-bottom:18px;}
.footer-grid ul li{margin-bottom:10px;}
.footer-grid a{color:rgba(234,227,211,0.72); font-size:.9rem;}
.footer-grid a:hover{color:var(--brass-light);}
.footer-brand p{font-size:.88rem; max-width:34ch; color:rgba(234,227,211,0.65);}
.footer-bottom{
  display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:12px;
  padding-top:24px; border-top:1px solid rgba(234,227,211,0.14); font-size:.8rem; color:rgba(234,227,211,0.5);
}
@media (max-width:900px){.footer-grid{grid-template-columns:1fr 1fr; }}
@media (max-width:560px){.footer-grid{grid-template-columns:1fr;}}

/* breadcrumb / page header for inner pages */
.page-hero{padding:56px 0 40px; border-bottom:1px solid var(--line);}
.page-hero .stamp{margin-bottom:16px;}
.page-hero h1{font-size:clamp(2rem,3.4vw,2.8rem); max-width:22ch;}
.page-hero p{color:var(--leather-soft); max-width:56ch;}

/* map placeholder */
.map-box{
  border-radius:12px; overflow:hidden; border:1px solid var(--line); height:340px;
}
.map-box iframe{width:100%; height:100%; border:0;}

/* reveal on scroll */
.reveal{opacity:0; transform:translateY(18px); transition:opacity .6s ease, transform .6s ease;}
.reveal.in{opacity:1; transform:none;}
