:root{
  --ink:#12151A;
  --charcoal:#1B2028;
  --charcoal-2:#242B36;
  --navy:#101826;
  --paper:#FFFFFF;
  --bg:#F5F7FA;
  --bg-2:#EEF1F5;
  --line:#E1E5EB;
  --text:#1B2028;
  --text-soft:#5B6472;
  --accent:#0FA968;      /* emerald tech green */
  --accent-dark:#0C8A56;
  --blue:#2563EB;        /* electric blue, used sparingly */
  --warn:#D97706;
  --danger:#DC2626;
  --radius-lg:16px;
  --radius-md:10px;
  --shadow:0 16px 40px rgba(16,24,38,0.10);
  --maxw:1280px;
}
*{box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{margin:0;font-family:'Inter',sans-serif;color:var(--text);background:var(--paper);-webkit-font-smoothing:antialiased;}
h1,h2,h3,h4{font-family:'Manrope',sans-serif;font-weight:800;line-height:1.15;margin:0;color:var(--ink);letter-spacing:-0.01em;}
p{margin:0;line-height:1.7;color:var(--text-soft);}
img{max-width:100%;display:block;}
a{text-decoration:none;color:inherit;}
ul{list-style:none;margin:0;padding:0;}
.wrap{max-width:var(--maxw);margin:0 auto;padding:0 28px;}
.eyebrow{display:inline-flex;align-items:center;gap:8px;font-size:12px;font-weight:700;letter-spacing:0.1em;text-transform:uppercase;color:var(--accent);margin-bottom:12px;}
.eyebrow::before{content:"";width:22px;height:2px;background:var(--accent);}
.eyebrow.center{justify-content:center;}

.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:14px 26px;border-radius:8px;font-weight:700;font-size:14px;cursor:pointer;border:1.5px solid transparent;transition:all .2s ease;white-space:nowrap;}
.btn-primary{background:var(--ink);color:#fff;}
.btn-primary:hover{background:var(--charcoal-2);}
.btn-accent{background:var(--accent);color:#fff;}
.btn-accent:hover{background:var(--accent-dark);}
.btn-outline{border-color:var(--ink);color:var(--ink);background:transparent;}
.btn-outline:hover{background:var(--ink);color:#fff;}
.btn-wa{background:#25D366;color:#fff;}
.btn-wa:hover{background:#1fb958;}
.btn-sm{padding:9px 16px;font-size:12.5px;}
.btn svg{width:16px;height:16px;}

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

/* ---- Status pills ---- */
.pill{display:inline-flex;align-items:center;gap:6px;padding:5px 12px;border-radius:100px;font-size:11px;font-weight:700;letter-spacing:0.02em;}
.pill::before{content:"";width:7px;height:7px;border-radius:50%;}
.pill-AVAILABLE{background:#E6F7EF;color:#0C8A56;}
.pill-AVAILABLE::before{background:#0FA968;}
.pill-LOW_STOCK{background:#FFF7E6;color:#92650C;}
.pill-LOW_STOCK::before{background:#D97706;}
.pill-RESERVED{background:#FFF1E6;color:#B45309;}
.pill-RESERVED::before{background:#F97316;}
.pill-SOLD{background:#FDECEC;color:#B91C1C;}
.pill-SOLD::before{background:#DC2626;}
.pill-COMING_SOON{background:#EAF1FF;color:#1D4ED8;}
.pill-COMING_SOON::before{background:#2563EB;}

/* ---- Topbar / Header ---- */
.topbar{background:var(--navy);color:rgba(255,255,255,0.75);font-size:12.5px;}
.topbar .wrap{display:flex;justify-content:space-between;align-items:center;padding:8px 28px;flex-wrap:wrap;gap:6px;}
.topbar a{color:rgba(255,255,255,0.75);}
.topbar-left{display:flex;gap:18px;flex-wrap:wrap;}
header.site{position:sticky;top:0;z-index:50;background:rgba(255,255,255,0.95);backdrop-filter:blur(8px);border-bottom:1px solid var(--line);}
nav.navbar{display:flex;align-items:center;justify-content:space-between;padding:14px 28px;max-width:var(--maxw);margin:0 auto;gap:14px;}
.brand{display:flex;align-items:center;gap:10px;flex:0 0 auto;}
.brand-mark{width:38px;height:38px;flex:0 0 auto;}
.brand-word{font-family:'Manrope',sans-serif;font-weight:800;font-size:16.5px;line-height:1.1;color:var(--ink);}
.brand-word span{display:block;font-family:'Inter',sans-serif;font-size:9px;font-weight:600;letter-spacing:0.1em;color:var(--accent);text-transform:uppercase;margin-top:2px;}
.nav-links{display:flex;gap:18px;align-items:center;flex-wrap:wrap;flex:1 1 auto;justify-content:center;}
.nav-links a{font-size:13px;font-weight:600;color:var(--text-soft);white-space:nowrap;}
.nav-links a:hover{color:var(--ink);}
.nav-right{display:flex;align-items:center;gap:10px;flex:0 0 auto;}
.burger{display:none;flex-direction:column;gap:5px;cursor:pointer;background:none;border:none;padding:6px;}
.burger span{width:22px;height:2px;background:var(--ink);}

/* ---- Hero ---- */
.hero{padding:64px 0 60px;background:linear-gradient(180deg,var(--bg) 0%, var(--paper) 100%);}
.hero .wrap{display:grid;grid-template-columns:1.05fr 0.95fr;gap:48px;align-items:center;}
.hero h1{font-size:clamp(30px,4vw,46px);margin-bottom:18px;}
.hero p.lead{font-size:16px;max-width:520px;margin-bottom:28px;}
.hero-ctas{display:flex;gap:12px;flex-wrap:wrap;margin-bottom:30px;}
.trust-badges{display:flex;flex-wrap:wrap;gap:10px 22px;}
.trust-badges div{display:flex;align-items:center;gap:7px;font-size:13px;font-weight:600;color:var(--text);}
.trust-badges svg{width:16px;height:16px;color:var(--accent);flex:0 0 auto;}
.hero-visual{border-radius:var(--radius-lg);overflow:hidden;box-shadow:var(--shadow);aspect-ratio:4/3.2;}
.hero-visual img{width:100%;height:100%;object-fit:cover;}
.hero-strip{background:var(--ink);color:#fff;text-align:center;padding:11px 0;font-size:12.5px;font-weight:600;letter-spacing:0.03em;}

/* ---- Sections generic ---- */
.section{padding:80px 0;}
.section-alt{background:var(--bg);}
.section-head{text-align:center;max-width:640px;margin:0 auto 44px;}
.section-head h2{font-size:clamp(24px,3vw,34px);margin-bottom:12px;}
.section-head p{font-size:15px;}

/* ---- Brands ---- */
.brand-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:16px;}
.brand-card{background:var(--paper);border:1px solid var(--line);border-radius:var(--radius-md);padding:26px 14px;text-align:center;transition:all .2s ease;}
.brand-card:hover{border-color:var(--ink);transform:translateY(-4px);box-shadow:var(--shadow);}
.brand-card strong{display:block;font-family:'Manrope',sans-serif;font-size:15px;color:var(--ink);}

/* ---- Lot cards / grid ---- */
.lot-toolbar{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin-bottom:26px;justify-content:space-between;}
.lot-filters{display:flex;flex-wrap:wrap;gap:8px;}
.lot-filters select, .lot-search{padding:9px 12px;border:1px solid var(--line);border-radius:8px;font-size:13px;font-family:inherit;background:#fff;}
.lot-search{min-width:200px;}
.lot-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px;}
.lot-card{background:var(--paper);border:1px solid var(--line);border-radius:var(--radius-lg);overflow:hidden;transition:all .2s ease;display:flex;flex-direction:column;}
.lot-card:hover{box-shadow:var(--shadow);transform:translateY(-4px);}
.lot-media{aspect-ratio:4/3;background:var(--bg-2);position:relative;overflow:hidden;}
.lot-media img{width:100%;height:100%;object-fit:cover;}
.lot-media .pill{position:absolute;top:12px;left:12px;}
.lot-body{padding:18px 20px 20px;flex:1;display:flex;flex-direction:column;}
.lot-number{font-size:11px;font-weight:700;color:var(--text-soft);letter-spacing:0.03em;margin-bottom:4px;}
.lot-body h3{font-size:16.5px;margin-bottom:10px;line-height:1.3;}
.lot-specs{display:grid;grid-template-columns:1fr 1fr;gap:6px 10px;font-size:12.5px;color:var(--text-soft);margin-bottom:14px;}
.lot-specs b{color:var(--ink);}
.lot-price-row{display:flex;justify-content:space-between;align-items:baseline;margin-bottom:14px;padding-top:12px;border-top:1px dashed var(--line);}
.lot-price{font-family:'Manrope',sans-serif;font-weight:800;font-size:17px;color:var(--ink);}
.lot-qty{font-size:12px;color:var(--text-soft);font-weight:600;}
.lot-actions{display:flex;gap:8px;margin-top:auto;flex-wrap:wrap;}
.lot-actions .btn{flex:1;}
.lot-empty{text-align:center;padding:60px 0;color:var(--text-soft);}

/* ---- Lot detail page ---- */
.lot-detail{padding:48px 0 90px;}
.lot-detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:48px;align-items:start;}
.lot-gallery-main{border-radius:var(--radius-lg);overflow:hidden;aspect-ratio:4/3;background:var(--bg-2);margin-bottom:12px;}
.lot-gallery-thumbs{display:flex;gap:8px;flex-wrap:wrap;}
.lot-gallery-thumbs img{width:64px;height:64px;object-fit:cover;border-radius:6px;border:1.5px solid var(--line);cursor:pointer;}
.lot-detail-title{font-size:clamp(22px,3vw,30px);margin:6px 0 16px;}
.spec-table{width:100%;border-collapse:collapse;margin:22px 0;}
.spec-table tr{border-bottom:1px solid var(--line);}
.spec-table td{padding:10px 0;font-size:13.5px;}
.spec-table td:first-child{color:var(--text-soft);font-weight:600;width:44%;}
.spec-table td:last-child{color:var(--ink);font-weight:600;}
.price-box{background:var(--bg);border-radius:var(--radius-md);padding:20px 22px;margin:22px 0;}
.price-box .lot-price{font-size:22px;}
.tier-row{display:flex;justify-content:space-between;font-size:13px;padding:6px 0;border-bottom:1px dashed var(--line);}
.tier-row:last-child{border-bottom:none;}
.lot-detail-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:20px;}

/* ---- Process timeline ---- */
.process-list{display:grid;grid-template-columns:repeat(4,1fr);gap:22px;margin-top:44px;}
.process-step{text-align:center;position:relative;}
.process-step .num{width:44px;height:44px;border-radius:50%;background:var(--ink);color:#fff;display:flex;align-items:center;justify-content:center;margin:0 auto 14px;font-family:'Manrope',sans-serif;font-weight:800;font-size:15px;}
.process-step h4{font-size:14px;margin-bottom:6px;}
.process-step p{font-size:12.5px;}

/* ---- Grading ---- */
.grade-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;}
.grade-card{border:1px solid var(--line);border-radius:var(--radius-md);padding:24px;}
.grade-badge{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:8px;font-family:'Manrope',sans-serif;font-weight:800;font-size:15px;margin-bottom:14px;}
.grade-A .grade-badge{background:#E6F7EF;color:#0C8A56;}
.grade-B .grade-badge{background:#EAF1FF;color:#1D4ED8;}
.grade-C .grade-badge{background:#FFF7E6;color:#92650C;}
.grade-ASIS .grade-badge{background:#FDECEC;color:#B91C1C;}
.grade-card h4{font-size:15px;margin-bottom:8px;}
.grade-card p{font-size:13px;}

/* ---- Testing checklist ---- */
.check-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;}
.check-item{display:flex;align-items:center;gap:8px;background:var(--paper);border:1px solid var(--line);border-radius:8px;padding:12px 14px;font-size:13px;font-weight:600;}
.check-item svg{width:16px;height:16px;color:var(--accent);flex:0 0 auto;}

/* ---- Why choose ---- */
.why-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;}
.why-card{padding:22px;border:1px solid var(--line);border-radius:var(--radius-md);}
.why-card .icon{width:38px;height:38px;border-radius:9px;background:var(--bg);display:flex;align-items:center;justify-content:center;margin-bottom:14px;color:var(--accent);}
.why-card h4{font-size:14.5px;margin-bottom:6px;}
.why-card p{font-size:12.5px;}

/* ---- Country landing pages ---- */
.country-hero{background:var(--navy);color:#fff;padding:70px 0 60px;text-align:center;}
.country-hero h1{color:#fff;font-size:clamp(26px,3.6vw,38px);margin-bottom:16px;}
.country-hero p{color:rgba(255,255,255,0.75);max-width:600px;margin:0 auto 28px;}
.country-flag{font-size:40px;margin-bottom:16px;}

/* ---- CTA banner ---- */
.cta-banner{background:var(--ink);padding:64px 0;text-align:center;}
.cta-banner h2{color:#fff;font-size:clamp(22px,3vw,30px);margin-bottom:14px;}
.cta-banner p{color:rgba(255,255,255,0.65);margin-bottom:24px;}
.cta-banner .btn-row{display:flex;gap:12px;justify-content:center;flex-wrap:wrap;}

/* ---- Modal (RFQ) ---- */
.hp-field{position:absolute!important;left:-9999px!important;}
.modal-overlay{position:fixed;inset:0;background:rgba(16,24,38,0.6);z-index:100;display:flex;align-items:center;justify-content:center;padding:20px;opacity:0;pointer-events:none;transition:opacity .2s ease;}
.modal-overlay.open{opacity:1;pointer-events:auto;}
.modal-box{background:#fff;border-radius:var(--radius-lg);max-width:640px;width:100%;max-height:88vh;overflow-y:auto;padding:32px 34px 28px;position:relative;box-shadow:0 30px 70px rgba(0,0,0,.35);}
.modal-close{position:absolute;top:16px;right:16px;width:30px;height:30px;border-radius:50%;border:1px solid var(--line);background:#fff;display:flex;align-items:center;justify-content:center;cursor:pointer;}
.modal-close svg{width:15px;height:15px;}
.modal-head h3{font-size:21px;margin-bottom:6px;}
.modal-head p{font-size:13px;margin-bottom:20px;}
.modal-form .form-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:12px;}
.modal-form label{display:flex;flex-direction:column;gap:5px;font-size:11.5px;font-weight:700;color:var(--text-soft);text-transform:uppercase;}
.modal-form label.full{margin-bottom:12px;}
.modal-form input, .modal-form select, .modal-form textarea{font-family:inherit;text-transform:none;font-weight:400;font-size:13.5px;padding:9px 11px;border:1px solid var(--line);border-radius:7px;}
.full-btn{width:100%;margin-top:6px;}
.modal-error{color:var(--danger);font-size:12.5px;margin:6px 0 0;min-height:1em;}
.modal-success{display:none;text-align:center;padding:20px 10px 6px;}
.modal-success.show{display:block;}
.modal-success svg{width:48px;height:48px;color:var(--accent);margin-bottom:14px;}

/* ---- WhatsApp / floating ---- */
.wa-float{position:fixed;bottom:24px;right:24px;width:56px;height:56px;border-radius:50%;background:#25D366;display:flex;align-items:center;justify-content:center;box-shadow:0 10px 26px rgba(0,0,0,.25);z-index:60;}
.wa-float svg{width:26px;height:26px;color:#fff;}

/* ---- Footer ---- */
footer{background:var(--navy);color:rgba(255,255,255,0.6);padding:60px 0 0;}
.footer-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr 1.2fr;gap:36px;padding-bottom:40px;border-bottom:1px solid rgba(255,255,255,0.1);}
.footer-about p{color:rgba(255,255,255,0.55);font-size:13px;margin:14px 0;max-width:280px;}
.footer-col h5{color:#fff;font-size:12px;font-weight:700;letter-spacing:0.06em;text-transform:uppercase;margin-bottom:16px;}
.footer-col li{margin-bottom:10px;}
.footer-col a{font-size:13px;color:rgba(255,255,255,0.6);}
.footer-col a:hover{color:var(--accent);}
.footer-bottom{display:flex;justify-content:space-between;padding:20px 0;font-size:12px;flex-wrap:wrap;gap:10px;}

/* ---- Mobile sticky CTA ---- */
.mobile-cta{display:none;position:fixed;bottom:0;left:0;right:0;background:#fff;border-top:1px solid var(--line);z-index:59;padding:10px 14px;gap:8px;box-shadow:0 -6px 20px rgba(0,0,0,0.08);}
.mobile-cta a{flex:1;text-align:center;padding:11px 6px;border-radius:8px;font-size:12px;font-weight:700;}

@media (max-width:1080px){
  .lot-grid{grid-template-columns:repeat(2,1fr);}
  .brand-grid{grid-template-columns:repeat(3,1fr);}
  .process-list,.grade-grid,.why-grid,.check-grid{grid-template-columns:repeat(2,1fr);}
}
@media (max-width:980px){
  .hero .wrap{grid-template-columns:1fr;}
  .hero-visual{order:-1;}
  .lot-detail-grid{grid-template-columns:1fr;}
  .footer-grid{grid-template-columns:1fr 1fr;}
  .nav-links{display:none;}
  .burger{display:flex;}
  .mobile-cta{display:flex;}
  body{padding-bottom:64px;}
}
@media (max-width:600px){
  .wrap{padding:0 18px;}
  .lot-grid{grid-template-columns:1fr;}
  .brand-grid{grid-template-columns:repeat(2,1fr);}
  .process-list,.grade-grid,.why-grid,.check-grid{grid-template-columns:1fr;}
  .modal-form .form-grid{grid-template-columns:1fr;}
  .lot-toolbar{flex-direction:column;align-items:stretch;}
}
