/* =============================================================
   Tool World Qatar — Home page (corporate layout)
   Palette: warm black + gold gradient + chrome. Uses tokens from style.css
   ============================================================= */

.eyebrow-line { display: inline-flex; align-items: center; gap: .6rem; font-family: var(--head);
  font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: var(--gold-dk); font-size: .9rem; margin-bottom: .8rem; }
.eyebrow-line::before { content: ""; width: 34px; height: 3px; background: var(--grad-gold); border-radius: 3px; }
.eyebrow-line.center { justify-content: center; }
.sec-head { text-align: center; max-width: 720px; margin: 0 auto 2.6rem; }
.sec-head h2 { font-size: clamp(1.9rem, 1.3rem + 2vw, 2.8rem); text-transform: uppercase; }
.sec-head p { color: var(--muted); margin-top: .5rem; }
.sec-head--left { text-align: left; margin-left: 0; }

/* ---------- HERO BANNER ---------- */
.hero-banner { position: relative; background: #12100a; color: #fff; overflow: hidden; }
.hero-banner__bg { position: absolute; inset: 0;
  background:
    radial-gradient(760px 520px at 78% 30%, rgba(242,162,28,.24), transparent 62%),
    linear-gradient(120deg, #17130d 0%, #241d13 60%, #100e08 100%); }
.hero-banner__bg::after { content:""; position:absolute; inset:0; opacity:.5;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 46px 46px; mask-image: radial-gradient(circle at 30% 40%, #000, transparent 75%); }
.hero-banner__inner { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 2.5rem; align-items: center;
  padding: clamp(2.6rem, 2rem + 4vw, 5rem) 0; }
.hero-badge { display: inline-flex; align-items: center; gap: .55rem; background: rgba(242,162,28,.14);
  border: 1px solid rgba(254,189,23,.35); color: var(--gold-hi); border-radius: var(--radius-pill);
  padding: .4rem 1rem; font-size: .8rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 1.2rem; }
.hero-banner h1 { font-size: clamp(2.4rem, 1.4rem + 4vw, 4.4rem); text-transform: uppercase; line-height: .98; color: #fff; }
.hero-banner h1 .hl { background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-banner__lead { font-size: 1.12rem; color: #d6ccbb; max-width: 48ch; margin: 1.2rem 0 1.8rem; }
.hero-banner__actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-banner__mini { display: flex; gap: 2.4rem; margin-top: 2.4rem; padding-top: 1.8rem; border-top: 1px solid rgba(255,255,255,.12); }
.hero-banner__mini strong { display: block; font-family: var(--head); font-size: 2rem; color: var(--gold-hi); line-height: 1; }
.hero-banner__mini span { color: #b9ad98; font-size: .82rem; }
.hero-banner__visual { position: relative; display: grid; place-items: center; }
.hero-banner__visual::before { content:""; position:absolute; width: 90%; aspect-ratio:1; border-radius:50%;
  background: radial-gradient(circle, rgba(254,189,23,.18), transparent 70%); }
/* category image grid in the hero */
.hero-cats { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; width: min(100%, 480px); }
.hero-cat { position: relative; border-radius: 18px; overflow: hidden; aspect-ratio: 1/.92; background: var(--ink); box-shadow: 0 16px 30px -14px rgba(0,0,0,.6); }
.hero-cat img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.hero-cat:hover img { transform: scale(1.08); }
.hero-cat::after { content:""; position:absolute; inset:0; background: linear-gradient(180deg, transparent 42%, rgba(15,12,7,.88)); }
.hero-cat span { position: absolute; left: .8rem; bottom: .7rem; right: .8rem; z-index: 2; color: #fff;
  font-family: var(--head); font-weight: 700; text-transform: uppercase; font-size: 1rem; line-height: 1.05; }
.hero-cat:nth-child(2) { transform: translateY(22px); }
.hero-cat:nth-child(3) { transform: translateY(-22px); }

/* ---------- FEATURED CATEGORIES ---------- */
.catfeat { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.3rem; }
.catfeat__card { position: relative; border-radius: 22px; overflow: hidden; aspect-ratio: 3/3.4; display: block; background: var(--ink); }
.catfeat__card img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.catfeat__card:hover img { transform: scale(1.07); }
.catfeat__card::after { content:""; position:absolute; inset:0; background: linear-gradient(180deg, rgba(15,12,7,.05) 40%, rgba(15,12,7,.9)); }
.catfeat__count { position: absolute; top: 1rem; right: 1rem; z-index: 2; background: var(--grad-gold); color: #241704;
  font-weight: 800; font-size: .78rem; border-radius: var(--radius-pill); padding: .3rem .8rem; }
.catfeat__body { position: absolute; left: 1.1rem; right: 1.1rem; bottom: 1.1rem; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
.catfeat__body h3 { color: #fff; font-size: 1.25rem; text-transform: uppercase; margin: 0; line-height: 1.1; }
.catfeat__arrow { width: 42px; height: 42px; border-radius: 50%; background: var(--grad-gold); color: #241704; display: grid; place-items: center; font-size: 1.1rem; flex: 0 0 auto; transition: .2s; }
.catfeat__card:hover .catfeat__arrow { transform: translateX(3px); }

/* ---------- STATS BAR ---------- */
.statbar { background: linear-gradient(120deg, #17130d, #2a2216); color: #fff; }
.statbar__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat-cell { text-align: center; padding: 2.4rem 1rem; border-right: 1px solid rgba(255,255,255,.08); }
.stat-cell:last-child { border-right: none; }
.stat-cell .num { font-family: var(--head); font-size: clamp(2.4rem, 1.8rem + 2vw, 3.6rem); font-weight: 800; color: var(--gold-hi); line-height: 1; }
.stat-cell .num .plus { color: #fff; }
.stat-cell .lbl { text-transform: uppercase; letter-spacing: 1px; font-size: .8rem; color: #c7bba6; margin-top: .5rem; }

/* ---------- WHY CHOOSE US ---------- */
.why { display: grid; grid-template-columns: .95fr 1.05fr; gap: 3rem; align-items: center; }
.why__media { position: relative; border-radius: 26px; overflow: hidden; background: var(--ink); min-height: 440px; }
.why__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.why__badge { position: absolute; right: 1.4rem; bottom: 1.4rem; background: var(--grad-gold); color: #241704; border-radius: 20px; padding: 1rem 1.3rem; text-align: center; box-shadow: var(--shadow); }
.why__badge strong { display: block; font-family: var(--head); font-size: 2.2rem; line-height: 1; }
.why__badge span { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; }
.why h2 { text-transform: uppercase; }
.why p { color: var(--muted); margin: 1rem 0; }
.why__feats { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; margin: 1.4rem 0 1.8rem; }
.why__feat { display: flex; align-items: center; gap: .7rem; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: .8rem 1rem; font-weight: 600; font-size: .92rem; }
.why__feat span { width: 30px; height: 30px; border-radius: 50%; background: var(--tint-gold); color: var(--gold-dk); display: grid; place-items: center; flex: 0 0 auto; font-weight: 800; }

/* ---------- SERVICES ---------- */
.services2 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; }
.svc2 { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 1.8rem; transition: .2s; position: relative; overflow: hidden; }
.svc2::before { content:""; position:absolute; left:0; top:0; bottom:0; width:4px; background: var(--grad-gold); transform: scaleY(0); transform-origin: top; transition: transform .25s; }
.svc2:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: transparent; }
.svc2:hover::before { transform: scaleY(1); }
.svc2__ic { width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center; font-size: 1.7rem; background: var(--tint-gold); margin-bottom: 1rem; }
.svc2 h3 { font-size: 1.25rem; text-transform: uppercase; margin-bottom: .4rem; }
.svc2 p { color: var(--muted); font-size: .92rem; margin: 0; }

/* ---------- TESTIMONIALS ---------- */
.testi { position: relative; }
.testi__viewport { overflow: hidden; }
.testi__track { display: flex; transition: transform .45s cubic-bezier(.16,1,.3,1); }
.testi__card { flex: 0 0 100%; padding: 0 .8rem; box-sizing: border-box; }
@media (min-width: 720px){ .testi__card { flex-basis: 50%; } }
@media (min-width: 1040px){ .testi__card { flex-basis: 33.333%; } }
.testi__inner { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 1.8rem; height: 100%; box-sizing: border-box; }
.testi__stars { color: var(--gold); letter-spacing: 2px; margin-bottom: .8rem; }
.testi__quote { font-size: 1rem; color: var(--text); line-height: 1.6; }
.testi__who { display: flex; align-items: center; gap: .8rem; margin-top: 1.3rem; padding-top: 1.2rem; border-top: 1px solid var(--line); }
.testi__ava { width: 46px; height: 46px; border-radius: 50%; background: var(--grad-gold); color: #241704; display: grid; place-items: center; font-family: var(--head); font-weight: 800; font-size: 1.1rem; }
.testi__who strong { display: block; font-size: .95rem; }
.testi__who span { color: var(--muted); font-size: .82rem; }
.testi__nav { display: flex; justify-content: center; gap: .6rem; margin-top: 1.8rem; }
.testi__nav button { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); cursor: pointer; font-size: 1.1rem; transition: .15s; }
.testi__nav button:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ---------- BRANDS ---------- */
.brands2 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; }
.brand-tile { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 1.4rem; display: grid; place-items: center;
  font-family: var(--head); font-weight: 800; font-size: 1.3rem; letter-spacing: .5px; color: var(--ink); transition: .18s; text-align: center; }
.brand-tile:hover { border-color: var(--gold); color: var(--gold-dk); transform: translateY(-3px); box-shadow: var(--shadow-sm); }

/* ---------- CTA BAND ---------- */
.cta2 { position: relative; overflow: hidden; border-radius: 30px; background: linear-gradient(130deg, #17130d, #2c2417); color: #fff; text-align: center; padding: 3.4rem 2rem; }
.cta2::before { content:""; position:absolute; inset:0; background: radial-gradient(600px 320px at 80% 0%, rgba(242,162,28,.3), transparent 60%); }
.cta2::after { content:""; position:absolute; left:0; right:0; bottom:0; height:5px; background: var(--grad-gold); }
.cta2 > * { position: relative; }
.cta2 h2 { color: #fff; text-transform: uppercase; font-size: clamp(1.9rem,1.3rem+2vw,3rem); }
.cta2 p { color: #d8cfc0; max-width: 620px; margin: .6rem auto 1.6rem; }
.cta2__actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .hero-banner__inner { grid-template-columns: 1fr; }
  .hero-banner__visual { order: -1; }
  .catfeat { grid-template-columns: repeat(2, 1fr); }
  .statbar__grid { grid-template-columns: 1fr 1fr; }
  .stat-cell:nth-child(2) { border-right: none; }
  .stat-cell { border-bottom: 1px solid rgba(255,255,255,.08); }
  .why { grid-template-columns: 1fr; }
  .services2 { grid-template-columns: 1fr 1fr; }
  .brands2 { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 560px) {
  .catfeat, .services2, .why__feats, .brands2, .hero-banner__mini { grid-template-columns: 1fr; }
  .hero-banner__mini { display: grid; gap: 1rem; }
  .brands2 { grid-template-columns: 1fr 1fr; }
}
