/* mma threads — MMA Dunia Resources */
:root{
  --navy:#16294f;
  --navy-2:#1e3767;
  --ink:#0a1428;
  --orange:#f07a22;
  --orange-2:#ff9348;
  --paper:#f7f8fa;
  --white:#fff;
  --text:#1d2433;
  --muted:#5c6880;
  --line:#e3e7ee;
  --shadow:0 1px 2px rgba(10,20,40,.05),0 8px 24px rgba(10,20,40,.06);
  --shadow-lg:0 2px 4px rgba(10,20,40,.06),0 20px 48px rgba(10,20,40,.12);
  --r:14px;
  --max:1140px;
}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
html,body{max-width:100%;overflow-x:hidden}
body{
  font-family:"DM Sans",system-ui,-apple-system,"Segoe UI",sans-serif;
  color:var(--text);background:var(--white);line-height:1.6;
  -webkit-font-smoothing:antialiased;
  overflow-wrap:break-word;
}
/* grid and flex children default to min-width:auto, which is the usual
   cause of a child refusing to shrink and pushing the page sideways */
.grid>*,.steps>*,.nav>*,.cta>*,.contact>*,.strip .wrap>*{min-width:0}
img{max-width:100%;height:auto;display:block}
a{color:inherit}
.wrap{width:min(var(--max),calc(100% - 2.5rem));margin-inline:auto}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

/* ---------- wordmark ---------- */
.wordmark{display:inline-flex;align-items:baseline;gap:.2em;line-height:1;font-size:1.25rem}
.wordmark .mma{font-weight:800;letter-spacing:.02em;color:var(--navy)}
.wordmark .thr{font-family:Outfit,"DM Sans",sans-serif;font-weight:700;letter-spacing:.14em;color:var(--orange);text-transform:uppercase;font-size:.82em}
.on-dark .wordmark .mma{color:#fff}

/* ---------- header ---------- */
header{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.92);backdrop-filter:blur(12px);border-bottom:1px solid var(--line)}
.nav{display:flex;align-items:center;gap:1rem;padding:.7rem 0}
.brand{display:flex;align-items:center;gap:.7rem;text-decoration:none;margin-right:auto;min-width:0;flex:0 1 auto}
.brand>span{min-width:0}
.brand img{flex:0 0 auto}
.brand img{width:44px;height:auto}
.brand .tag{display:block;font-size:.58rem;letter-spacing:.16em;text-transform:uppercase;color:var(--muted);margin-top:.3rem;font-weight:600}
.menu{display:flex;gap:1.4rem;align-items:center;font-size:.86rem;font-weight:600}
.menu a{text-decoration:none;color:var(--muted);padding:.3rem 0;border-bottom:2px solid transparent;transition:.18s}
.menu a:hover{color:var(--navy)}
.menu a[aria-current=page]{color:var(--navy);border-bottom-color:var(--orange)}
.lang{display:flex;border:1px solid var(--line);border-radius:99px;overflow:hidden;font-size:.7rem;
  font-weight:700;flex:0 0 auto;white-space:nowrap}
.lang button{border:0;background:none;padding:.35rem .7rem;cursor:pointer;color:var(--muted);font:inherit;
  flex:0 0 auto;white-space:nowrap;line-height:1.4}
.lang button[aria-pressed=true]{background:var(--navy);color:#fff}
.burger{display:none;border:1px solid var(--line);background:#fff;border-radius:10px;padding:.5rem .6rem;cursor:pointer}
.burger span{display:block;width:19px;height:2px;background:var(--navy);margin:3.5px 0;border-radius:2px}

/* ---------- buttons ---------- */
.btn{display:inline-flex;align-items:center;gap:.5rem;text-decoration:none;font-weight:700;font-size:.88rem;
  padding:.8rem 1.3rem;border-radius:10px;transition:.2s;border:1.5px solid transparent;cursor:pointer;font-family:inherit}
.btn:hover{transform:translateY(-2px)}
.btn.solid{background:var(--orange);color:#fff;box-shadow:0 6px 18px rgba(240,122,34,.32)}
.btn.solid:hover{background:var(--orange-2)}
.btn.navy{background:var(--navy);color:#fff}
.btn.ghost{border-color:var(--line);color:var(--navy);background:#fff}
.btn.ghost:hover{border-color:var(--navy)}
.btn.on-dark{border-color:rgba(255,255,255,.4);color:#fff;background:transparent}
.btn.on-dark:hover{background:rgba(255,255,255,.1);border-color:#fff}
.btn.sm{padding:.55rem 1rem;font-size:.78rem}

/* ---------- hero ---------- */
.hero{position:relative;overflow:hidden;color:#fff;
  background:radial-gradient(ellipse 70% 80% at 78% 30%,rgba(30,55,103,.9),transparent 60%),
             linear-gradient(155deg,#0a1428 0%,#16294f 55%,#0d1c38 100%)}
.hero .wrap{display:grid;grid-template-columns:1.1fr .9fr;gap:2.5rem;align-items:center;padding:4.5rem 0 4rem}
.kicker{color:var(--orange);font-weight:700;letter-spacing:.2em;text-transform:uppercase;font-size:.68rem;margin-bottom:1rem}
.hero h1{font-size:clamp(2.3rem,5.2vw,3.6rem);line-height:1.08;letter-spacing:-.02em;margin-bottom:1.1rem;font-weight:800}
.hero h1 em{font-style:normal;color:var(--orange)}
.hero p.lead{color:#b9c6dd;font-size:1.05rem;max-width:32rem;margin-bottom:1.9rem}
.hero-art{display:flex;justify-content:center;align-items:center}
.hero-art img{width:min(320px,80%);height:auto;flex:0 0 auto;
  filter:drop-shadow(0 20px 45px rgba(0,0,0,.45))}
.btns{display:flex;flex-wrap:wrap;gap:.7rem}
.trust{display:flex;flex-wrap:wrap;gap:1.4rem;margin-top:2rem;font-size:.78rem;color:#8fa1c0;font-weight:600}
.trust span{display:flex;align-items:center;gap:.4rem}
.trust svg{width:15px;height:15px;stroke:var(--orange);fill:none;stroke-width:2.4}

/* ---------- strip ---------- */
.strip{background:var(--orange);color:#2a1602}
.strip .wrap{display:flex;flex-wrap:wrap;gap:.5rem 2rem;justify-content:space-between;padding:.95rem 0;font-size:.83rem;font-weight:700}

/* ---------- sections ---------- */
.section{padding:4.5rem 0}
.section.alt{background:var(--paper)}
.section.dark{background:var(--ink);color:#fff}
.head{max-width:42rem;margin-bottom:2.4rem}
h2{font-size:clamp(1.7rem,3.4vw,2.35rem);line-height:1.15;letter-spacing:-.02em;color:var(--navy);font-weight:800;margin-bottom:.6rem}
.dark h2{color:#fff}
h3{font-size:1.05rem;color:var(--navy);margin-bottom:.4rem;font-weight:700}
.dark h3{color:#fff}
.muted{color:var(--muted)}
.dark .muted{color:#9aabc4}
.eyebrow{color:var(--orange);font-weight:700;letter-spacing:.18em;text-transform:uppercase;font-size:.68rem;margin-bottom:.6rem}

/* ---------- cards ---------- */
.grid{display:grid;gap:1.3rem}
.g2{grid-template-columns:repeat(2,1fr)}
.g3{grid-template-columns:repeat(3,1fr)}
.g4{grid-template-columns:repeat(4,1fr)}
.card{background:#fff;border:1px solid var(--line);border-radius:var(--r);padding:1.5rem;box-shadow:var(--shadow);transition:.24s}
.card:hover{transform:translateY(-4px);box-shadow:var(--shadow-lg);border-color:#cfd7e5}
.card p{color:var(--muted);font-size:.92rem}
.card .ico{width:42px;height:42px;border-radius:11px;background:linear-gradient(140deg,#eef2f9,#dde5f2);
  display:grid;place-items:center;margin-bottom:1rem}
.card .ico svg{width:22px;height:22px;stroke:var(--navy);fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}

/* product tiles */
.tile{border:1px solid var(--line);border-radius:var(--r);overflow:hidden;background:#fff;box-shadow:var(--shadow);transition:.24s}
.tile:hover{transform:translateY(-4px);box-shadow:var(--shadow-lg)}
.tile .shot{aspect-ratio:4/3;background:linear-gradient(150deg,#eaeff7,#dbe3f0);display:grid;place-items:center;position:relative}
.tile .shot svg{width:56%;height:56%}
.tile .shot img{width:100%;height:100%;object-fit:cover}
.tile .body{padding:1.15rem 1.25rem 1.35rem}
.tile h3{margin-bottom:.3rem}
.tile p{color:var(--muted);font-size:.88rem;margin-bottom:.7rem}
.tile .meta{font-size:.72rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--orange)}

/* category jump chips */
.chips{display:flex;flex-wrap:wrap;gap:.5rem}
.chips .chip{display:inline-block;text-decoration:none;font-size:.8rem;font-weight:700;color:var(--navy);
  background:#fff;border:1.5px solid var(--line);border-radius:99px;padding:.5rem .95rem;transition:.18s}
.chips .chip:hover{border-color:var(--orange);color:var(--orange);transform:translateY(-1px)}

/* a section targeted by a jump link must clear the sticky header */
section[id]{scroll-margin-top:80px}
.tile[id]{scroll-margin-top:90px}

/* tiles are links on the home page — keep them looking like cards */
a.tile{text-decoration:none;color:inherit;display:block}

/* steps */
.steps{counter-reset:s;display:grid;gap:1.3rem;grid-template-columns:repeat(4,1fr)}
.step{border-top:2px solid var(--orange);padding-top:1.1rem}
.step b{display:block;color:var(--orange);font-size:.72rem;letter-spacing:.14em;margin-bottom:.4rem}
.step p{color:var(--muted);font-size:.9rem}

/* list */
.checks{list-style:none;display:grid;gap:.7rem}
.checks li{display:flex;gap:.65rem;align-items:flex-start;font-size:.94rem;color:var(--muted)}
.checks li::before{content:"";flex:0 0 18px;height:18px;margin-top:.2rem;border-radius:50%;
  background:var(--orange) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/11px no-repeat}

/* faq */
details{border:1px solid var(--line);border-radius:12px;background:#fff;padding:1rem 1.2rem;margin-bottom:.75rem}
details[open]{border-color:#cfd7e5;box-shadow:var(--shadow)}
summary{cursor:pointer;font-weight:700;color:var(--navy);font-size:.96rem;list-style:none;display:flex;justify-content:space-between;gap:1rem}
summary::-webkit-details-marker{display:none}
summary::after{content:"+";color:var(--orange);font-size:1.3rem;line-height:1}
details[open] summary::after{content:"–"}
details p{color:var(--muted);font-size:.92rem;margin-top:.7rem}

/* form */
.form{display:grid;gap:1rem}
.row{display:grid;grid-template-columns:1fr 1fr;gap:1rem}
label{font-size:.76rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--muted);display:block;margin-bottom:.4rem}
input,select,textarea{width:100%;font:inherit;font-size:.94rem;padding:.75rem .9rem;border:1.5px solid var(--line);
  border-radius:10px;background:#fff;color:var(--text);transition:.18s}
input:focus,select:focus,textarea:focus{outline:0;border-color:var(--orange);box-shadow:0 0 0 3px rgba(240,122,34,.15)}
textarea{min-height:110px;resize:vertical}
.form-note{font-size:.8rem;color:var(--muted)}

/* contact panel */
.panel{background:linear-gradient(150deg,#16294f,#0a1428);color:#fff;border-radius:var(--r);padding:2rem}
.panel dt{font-size:.66rem;letter-spacing:.16em;text-transform:uppercase;color:#8fa1c0;margin-top:1.1rem;font-weight:700}
.panel dt:first-of-type{margin-top:0}
.panel dd{font-weight:600;margin-top:.25rem;color:#fff}
.panel a{color:#ffbe86;text-decoration:none}
.panel a:hover{text-decoration:underline}

/* cta band */
.cta{background:linear-gradient(120deg,#16294f,#22406f);color:#fff;border-radius:var(--r);padding:2.4rem;
  display:flex;flex-wrap:wrap;gap:1.5rem;align-items:center;justify-content:space-between}
.cta h2{color:#fff;margin-bottom:.35rem}
.cta p{color:#b9c6dd;font-size:.95rem}

/* footer */
footer{background:var(--ink);color:#8fa1c0;padding:3rem 0 2rem;font-size:.85rem}
footer .cols{display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:2rem;margin-bottom:2rem}
footer h4{color:#fff;font-size:.72rem;letter-spacing:.14em;text-transform:uppercase;margin-bottom:.9rem}
footer a{color:#8fa1c0;text-decoration:none;display:block;padding:.22rem 0}
footer a:hover{color:var(--orange)}
footer .bottom{border-top:1px solid rgba(255,255,255,.1);padding-top:1.3rem;display:flex;flex-wrap:wrap;
  gap:.5rem 1.5rem;justify-content:space-between;font-size:.78rem}

/* float wa */
.fab{position:fixed;right:1rem;bottom:1rem;z-index:60;background:#25d366;color:#fff;border-radius:99px;
  padding:.8rem 1.15rem;text-decoration:none;font-weight:700;font-size:.85rem;display:flex;align-items:center;gap:.5rem;
  box-shadow:0 8px 24px rgba(0,0,0,.25)}
.fab svg{width:19px;height:19px;fill:#fff}

.reveal{opacity:0;transform:translateY(20px)}
.reveal.in{opacity:1;transform:none;transition:opacity .6s ease,transform .6s ease}

@media(max-width:900px){
  .hero .wrap{grid-template-columns:1fr;padding:3rem 0 3.2rem;text-align:left}
  .hero-art{order:-1;justify-content:flex-start}
  .hero-art img{width:132px;height:auto}
  .g3,.g4,.steps,.g2,.row,footer .cols{grid-template-columns:1fr}
  .g4{grid-template-columns:repeat(2,1fr)}
  .menu{position:absolute;top:100%;left:0;right:0;background:#fff;border-bottom:1px solid var(--line);
    flex-direction:column;align-items:stretch;gap:0;padding:.5rem 1.25rem 1rem;display:none;box-shadow:var(--shadow)}
  .menu.open{display:flex}
  .menu a{padding:.75rem 0;border-bottom:1px solid var(--line)}
  .menu .btn{margin-top:.8rem;justify-content:center}
  .burger{display:block;order:3}
  .cta{padding:1.8rem}
  .section{padding:3.2rem 0}
  .fab span{display:none}
  .fab{padding:.85rem;border-radius:50%}
}

/* small phones — 2-up cards stop fitting around here */
@media(max-width:430px){
  .wrap{width:calc(100% - 1.75rem)}
  .g4{grid-template-columns:1fr}
  .card{padding:1.15rem}
  .panel,.cta{padding:1.5rem}
  .terms{padding:1.1rem 1.1rem 1.1rem 1.5rem}
  .hero h1{font-size:clamp(1.9rem,8.5vw,2.6rem)}
  .brand img{width:36px}
  .brand .wordmark{font-size:1.05rem}
  .brand .tag{display:none}
  .nav{gap:.55rem}
  .lang button{padding:.35rem .5rem;font-size:.66rem}
  .burger{flex:0 0 auto;padding:.45rem .5rem}
}

/* very narrow phones — the header row runs out of room for everything */
@media(max-width:360px){
  .nav{gap:.4rem}
  .brand{gap:.45rem}
  .brand img{width:30px}
  .brand .wordmark{font-size:.95rem}
  .lang button{padding:.32rem .42rem;font-size:.62rem}
  .burger{padding:.4rem .45rem}
  .burger span{width:16px}
}

/* folded phones (~280px) — drop the collar mark, keep the wordmark */
@media(max-width:300px){
  .brand img{display:none}
  .wrap{width:calc(100% - 1.25rem)}
  .trust{gap:.55rem 1rem}
  details{padding:.85rem .95rem}
  summary{font-size:.9rem}
}

/* phone in landscape — hero was eating the whole screen */
@media(max-width:900px) and (orientation:landscape) and (max-height:520px){
  .hero .wrap{grid-template-columns:1.2fr .8fr;padding:2rem 0}
  .hero-art{order:0;align-items:center}
  .hero-art img{width:110px;height:auto}
  header{position:static}
}
/* touch devices — give every control a finger-sized hit area */
@media(hover:none),(max-width:900px){
  .lang button{min-height:40px;display:flex;align-items:center}
  .burger{min-height:40px;min-width:40px;display:flex;flex-direction:column;justify-content:center;align-items:center}
  .btn{min-height:44px}
  footer a{padding:.5rem 0}
  .menu a{min-height:44px;display:flex;align-items:center}
  .panel a,.contact a{display:inline-block;padding:.25rem 0}
  summary{padding:.35rem 0}
  input,select,textarea{font-size:16px} /* stops iOS zooming the page on focus */
}

@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}.reveal{opacity:1;transform:none}}
