/* ===========================================================
   DeSialkot Sports — Design Tokens
   Palette:
     --navy-deep   #12283F  (backgrounds, headers)
     --navy        #1B3A5C  (primary brand)
     --navy-soft   #274969  (hover/secondary)
     --gold        #C08A2E  (accent, CTA, stitching lines)
     --cream       #F6F3EC  (page background)
     --paper       #FFFFFF  (card surfaces)
     --ink         #202531  (body text)
     --ink-soft    #5B6270  (secondary text)
     --line        #E1DACB  (hairlines)
   Type:
     Display  — 'Space Grotesk' (technical, geometric — echoes precision stitching/measurement)
     Body     — 'Inter'
     Data/Mono— 'IBM Plex Mono' (specs, MOQ, measurements)
   Signature: hand-stitch seam motif (curved dash pattern) used as section dividers,
   referencing Sialkot's iconic hand-stitched football craft.
=========================================================== */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500;600;700&family=Inter:wght@400;500;600&family=IBM+Plex+Mono:wght@500;600&display=swap');

:root{
  --navy-deep:#12283F;
  --navy:#1B3A5C;
  --navy-soft:#28496B;
  --gold:#C08A2E;
  --gold-soft:#E0B564;
  --cream:#F6F3EC;
  --paper:#FFFFFF;
  --ink:#202531;
  --ink-soft:#5B6270;
  --line:#E1DACB;
  --radius:2px;
}

*{box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  margin:0;
  background:var(--cream);
  color:var(--ink);
  font-family:'Inter',sans-serif;
  font-size:16px;
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
}

h1,h2,h3,h4{
  font-family:'Space Grotesk',sans-serif;
  color:var(--navy-deep);
  margin:0 0 .5em 0;
  letter-spacing:-0.01em;
}

.mono{font-family:'IBM Plex Mono',monospace;}

a{color:inherit;text-decoration:none;}
img{max-width:100%;display:block;}

.container{max-width:1120px;margin:0 auto;padding:0 32px;}

/* ---------- Stitch-seam signature motif ---------- */
.stitch-divider{
  height:26px;
  width:100%;
  background-repeat:repeat-x;
  background-size:52px 26px;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='52' height='26' viewBox='0 0 52 26'%3E%3Cpath d='M2 13 C 10 2, 16 2, 24 13 C 32 24, 38 24, 50 13' fill='none' stroke='%23C08A2E' stroke-width='1.6' stroke-dasharray='4 4' stroke-linecap='round'/%3E%3C/svg%3E");
  opacity:0.75;
}
.stitch-divider.on-dark{
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='52' height='26' viewBox='0 0 52 26'%3E%3Cpath d='M2 13 C 10 2, 16 2, 24 13 C 32 24, 38 24, 50 13' fill='none' stroke='%23E0B564' stroke-width='1.6' stroke-dasharray='4 4' stroke-linecap='round'/%3E%3C/svg%3E");
}

/* ---------- Nav ---------- */
.nav{
  position:sticky;top:0;z-index:50;
  background:var(--navy-deep);
  border-bottom:1px solid rgba(255,255,255,0.08);
}
.nav .container{
  display:flex;align-items:center;justify-content:space-between;
  height:76px;
}
.nav-brand{
  font-family:'Space Grotesk',sans-serif;
  font-weight:700;
  font-size:20px;
  color:#fff;
  letter-spacing:0.01em;
  display:flex;
  align-items:center;
  gap:12px;
}
.nav-brand img{height:42px;width:auto;display:block;}
.nav-brand span{color:var(--gold-soft);}
.nav-links{display:flex;gap:36px;list-style:none;margin:0;padding:0;}
.nav-links a{
  color:rgba(255,255,255,0.78);
  font-size:14.5px;
  font-weight:500;
  letter-spacing:0.02em;
  padding:6px 0;
  border-bottom:2px solid transparent;
  transition:color .15s, border-color .15s;
}
.nav-links a:hover,.nav-links a.active{color:#fff;border-color:var(--gold);}
.nav-cta{
  background:var(--gold);
  color:var(--navy-deep) !important;
  padding:10px 20px;
  font-weight:600;
  font-size:14px;
  border-radius:var(--radius);
}
.nav-cta:hover{background:var(--gold-soft);}

/* ---------- Hero ---------- */
.hero{
  background:linear-gradient(180deg,var(--navy-deep) 0%, var(--navy) 100%);
  color:#fff;
  padding:96px 0 72px;
  position:relative;
}
.hero.hero-full{
  padding:76px 0 0;
  min-height:100vh;
  min-height:100svh;
  display:flex;
  align-items:center;
}
.hero.hero-full .container{width:100%;}
.nav.nav-overlay{
  position:fixed;
  top:0;left:0;right:0;
  z-index:50;
}
.hero-eyebrow{
  font-family:'IBM Plex Mono',monospace;
  color:var(--gold-soft);
  font-size:13px;
  letter-spacing:0.12em;
  text-transform:uppercase;
  margin-bottom:18px;
  display:flex;align-items:center;gap:10px;
}
.hero-eyebrow::before{content:'';width:28px;height:1px;background:var(--gold-soft);display:inline-block;}
.hero h1{
  color:#fff;
  font-size:clamp(36px,5vw,58px);
  line-height:1.06;
  max-width:820px;
  margin-bottom:22px;
}
.hero h1 em{
  font-style:normal;color:var(--gold-soft);
}
.hero p.lede{
  color:rgba(255,255,255,0.82);
  font-size:18px;
  max-width:560px;
  margin-bottom:34px;
}
.hero-actions{display:flex;gap:16px;flex-wrap:wrap;}
.btn{
  display:inline-block;
  padding:14px 28px;
  font-weight:600;
  font-size:14.5px;
  border-radius:var(--radius);
  border:1px solid transparent;
  cursor:pointer;
}
.btn-primary{background:var(--gold);color:var(--navy-deep);}
.btn-primary:hover{background:var(--gold-soft);}
.btn-ghost{border-color:rgba(255,255,255,0.35);color:#fff;}
.btn-ghost:hover{border-color:#fff;background:rgba(255,255,255,0.06);}

/* ---------- Sections ---------- */
section{padding:80px 0;}
.section-tight{padding:56px 0;}
.eyebrow{
  font-family:'IBM Plex Mono',monospace;
  font-size:12.5px;
  letter-spacing:0.12em;
  text-transform:uppercase;
  color:var(--gold);
  margin-bottom:12px;
  display:block;
}
.section-head{max-width:640px;margin-bottom:44px;}
.section-head h2{font-size:clamp(26px,3vw,34px);}
.section-head p{color:var(--ink-soft);font-size:16.5px;}

.on-navy{background:var(--navy-deep);color:rgba(255,255,255,0.9);}
.on-navy h2,.on-navy h3,.on-navy h4{color:#fff;}
.on-navy p{color:rgba(255,255,255,0.72);}

/* ---------- Grids / cards ---------- */
.grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:28px;}
.grid-2{display:grid;grid-template-columns:1.1fr .9fr;gap:56px;align-items:center;}

.card{
  background:var(--paper);
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:30px 26px;
}
.card .num{
  font-family:'IBM Plex Mono',monospace;
  color:var(--gold);
  font-size:13px;
  margin-bottom:14px;
  display:block;
}
.card h3{font-size:19px;margin-bottom:10px;}
.card p{color:var(--ink-soft);font-size:15px;margin:0;}

.role-card{
  background:var(--navy-deep);
  color:#fff;
  border-radius:var(--radius);
  padding:36px;
}
.role-list{list-style:none;margin:20px 0 0;padding:0;}
.role-list li{
  padding:12px 0;
  border-top:1px solid rgba(255,255,255,0.12);
  font-size:15px;
  color:rgba(255,255,255,0.85);
  display:flex;gap:12px;
}
.role-list li::before{
  content:'';
  min-width:6px;height:6px;border-radius:50%;
  background:var(--gold-soft);
  margin-top:8px;
}

/* ---------- Product cards ---------- */
.product-card{
  background:var(--paper);
  border:1px solid var(--line);
  border-radius:var(--radius);
  overflow:hidden;
  margin-bottom:24px;
  display:grid;
  grid-template-columns:280px 1fr;
}
.product-photo{
  background:
    repeating-linear-gradient(135deg, #EDE7D8 0px, #EDE7D8 10px, #E6DFCE 10px, #E6DFCE 20px);
  display:flex;align-items:center;justify-content:center;
  min-height:200px;
  color:#9A9481;
  font-family:'IBM Plex Mono',monospace;
  font-size:12.5px;
  letter-spacing:0.08em;
  text-transform:uppercase;
  text-align:center;
  padding:20px;
}
.product-photo.has-photo{
  padding:0;
  background:#fff;
}
.product-photo.has-photo img{
  width:100%;
  height:100%;
  object-fit:cover;
}
.product-body{padding:28px 30px;}
.product-body h3{font-size:20px;margin-bottom:6px;}
.product-tag{
  font-family:'IBM Plex Mono',monospace;
  font-size:12px;color:var(--gold);
  letter-spacing:0.06em;text-transform:uppercase;
  margin-bottom:14px;display:block;
}
.spec-list{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:1fr 1fr;gap:6px 20px;}
.spec-list li{font-size:14.5px;color:var(--ink-soft);}
.spec-list li b{color:var(--ink);font-weight:600;}

/* ---------- Comparison table ---------- */
.compare-table{width:100%;border-collapse:collapse;background:var(--paper);border:1px solid var(--line);}
.compare-table th,.compare-table td{
  text-align:left;padding:16px 20px;border-bottom:1px solid var(--line);font-size:15px;
  color:var(--ink);
}
.compare-table th{
  font-family:'Space Grotesk',sans-serif;
  background:var(--navy-deep);color:#fff !important;font-weight:600;font-size:14px;
}
.compare-table tr:last-child td{border-bottom:none;}
.compare-table td:first-child{font-weight:600;color:var(--navy);width:160px;}
.compare-table td.hand{background:#FBF6EB;}

/* ---------- Contact ---------- */
.contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:48px;}
.contact-item{
  padding:22px 0;border-top:1px solid var(--line);
  display:flex;gap:18px;align-items:flex-start;
}
.contact-item:first-child{border-top:none;}
.contact-icon{
  width:38px;height:38px;border-radius:50%;
  background:var(--navy-deep);color:var(--gold-soft);
  display:flex;align-items:center;justify-content:center;
  font-family:'IBM Plex Mono',monospace;font-size:14px;flex-shrink:0;
}
.contact-item h4{font-size:15.5px;margin-bottom:4px;}
.contact-item a,.contact-item span{color:var(--ink-soft);font-size:15px;}
.contact-item a:hover{color:var(--navy);}

.form-card{background:var(--paper);border:1px solid var(--line);padding:36px;border-radius:var(--radius);}
.field{margin-bottom:20px;}
.field label{display:block;font-size:13.5px;font-weight:600;margin-bottom:7px;color:var(--navy);}
.field input,.field textarea,.field select{
  width:100%;padding:12px 14px;border:1px solid var(--line);border-radius:var(--radius);
  font-family:'Inter',sans-serif;font-size:14.5px;background:var(--cream);
}
.field textarea{resize:vertical;min-height:110px;}

/* ---------- Footer ---------- */
footer{background:var(--navy-deep);color:rgba(255,255,255,0.6);padding:44px 0;}
.footer-row{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:20px;}
footer .nav-brand{margin-bottom:6px;}
footer p{margin:0;font-size:13.5px;}
.footer-links{display:flex;gap:24px;list-style:none;padding:0;margin:0;}
.footer-links a{font-size:13.5px;color:rgba(255,255,255,0.6);}
.footer-links a:hover{color:#fff;}

/* ---------- 3D Rotating Football (hero visual) ---------- */
.hero-grid{
  display:grid;
  grid-template-columns:1.15fr .85fr;
  gap:40px;
  align-items:center;
}
.hero-visual{
  display:flex;
  align-items:center;
  justify-content:center;
  -webkit-perspective:900px;
  perspective:900px;
}
.ball-stage{
  position:relative;
  width:260px;
  height:260px;
  -webkit-transform-style:preserve-3d;
  transform-style:preserve-3d;
  -webkit-animation:ball-spin 12s linear infinite;
  animation:ball-spin 12s linear infinite;
  will-change:transform;
}
.ball-core{
  position:absolute;
  inset:0;
  border-radius:50%;
  background:
    radial-gradient(circle at 32% 28%, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.15) 22%, rgba(255,255,255,0) 40%),
    radial-gradient(circle at 65% 75%, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0) 55%),
    linear-gradient(145deg, #F4F1E8 0%, #E4DFCF 55%, #C9C2AA 100%);
  box-shadow:
    0 30px 60px -18px rgba(0,0,0,0.55),
    inset 0 0 0 1px rgba(0,0,0,0.06);
  -webkit-backface-visibility:hidden;
  backface-visibility:hidden;
}
.seam-ring{
  position:absolute;
  inset:0;
  border-radius:50%;
  border:2px dashed rgba(27,58,92,0.55);
  -webkit-transform-style:preserve-3d;
  transform-style:preserve-3d;
}
.seam-ring.r1{ -webkit-transform:rotateY(0deg); transform:rotateY(0deg); }
.seam-ring.r2{ -webkit-transform:rotateY(60deg); transform:rotateY(60deg); }
.seam-ring.r3{ -webkit-transform:rotateY(120deg); transform:rotateY(120deg); }
.seam-ring.r4{ -webkit-transform:rotateX(90deg); transform:rotateX(90deg); border-color:rgba(192,138,46,0.6); }

.hex{
  position:absolute;
  width:34px;height:34px;
  background:var(--navy-deep);
  clip-path:polygon(50% 0%, 93% 25%, 93% 75%, 50% 100%, 7% 75%, 7% 25%);
  opacity:0.9;
}
.hex.h1{ top:14%; left:42%; -webkit-transform:translateZ(128px) scale(0.7); transform:translateZ(128px) scale(0.7); }
.hex.h2{ top:60%; left:20%; -webkit-transform:translateZ(120px) rotateY(30deg) scale(0.55); transform:translateZ(120px) rotateY(30deg) scale(0.55); background:var(--gold);}
.hex.h3{ top:65%; left:65%; -webkit-transform:translateZ(118px) rotateY(-25deg) scale(0.6); transform:translateZ(118px) rotateY(-25deg) scale(0.6); }
.hex.h4{ top:30%; left:70%; -webkit-transform:translateZ(115px) rotateY(45deg) scale(0.45); transform:translateZ(115px) rotateY(45deg) scale(0.45); background:var(--gold);}

@-webkit-keyframes ball-spin{
  from{ -webkit-transform:rotateY(0deg) rotateX(8deg); }
  to{ -webkit-transform:rotateY(360deg) rotateX(8deg); }
}
@keyframes ball-spin{
  from{ transform:rotateY(0deg) rotateX(8deg); }
  to{ transform:rotateY(360deg) rotateX(8deg); }
}

.ball-caption{
  margin-top:22px;
  text-align:center;
  font-family:'IBM Plex Mono',monospace;
  font-size:12px;
  letter-spacing:0.1em;
  text-transform:uppercase;
  color:rgba(255,255,255,0.55);
}

@media (max-width:860px){
  .hero-grid{grid-template-columns:1fr;}
  .hero-visual{margin-top:20px;}
  .ball-stage{width:190px;height:190px;}
}
@media (prefers-reduced-motion: reduce){
  .ball-stage{-webkit-animation:none;animation:none;}
}
@media (max-width:860px){
  .nav-links{display:none;}
  .grid-3{grid-template-columns:1fr;}
  .grid-2{grid-template-columns:1fr;gap:32px;}
  .product-card{grid-template-columns:1fr;}
  .contact-grid{grid-template-columns:1fr;}
  .compare-table{font-size:13px;}
  .compare-table th,.compare-table td{padding:10px 12px;}
}

/* ---------- Top utility bar ---------- */
.topbar{
  background:var(--navy);
  border-bottom:1px solid rgba(255,255,255,0.08);
}
.topbar-row{
  display:flex;justify-content:space-between;align-items:center;
  height:38px;font-size:12.5px;color:rgba(255,255,255,0.75);
}
.topbar-left,.topbar-right{display:flex;gap:22px;align-items:center;}
.topbar a{color:rgba(255,255,255,0.75);}
.topbar a:hover{color:var(--gold-soft);}
.topbar-icon{color:var(--gold-soft);margin-right:6px;}

/* ---------- Expanded Footer ---------- */
footer{background:var(--navy-deep);color:rgba(255,255,255,0.6);padding:0;}
.footer-top{
  display:grid;
  grid-template-columns:1.4fr 1fr 1fr 1.2fr;
  gap:40px;
  padding:64px 0 44px;
  border-bottom:1px solid rgba(255,255,255,0.08);
}
.footer-brand p{
  font-size:14px;line-height:1.7;color:rgba(255,255,255,0.55);
  margin:14px 0 20px;max-width:280px;
}
.footer-social{display:flex;gap:10px;}
.footer-social a{
  width:34px;height:34px;border-radius:50%;
  border:1px solid rgba(255,255,255,0.2);
  display:flex;align-items:center;justify-content:center;
  font-size:13px;color:rgba(255,255,255,0.75);
}
.footer-social a:hover{border-color:var(--gold-soft);color:var(--gold-soft);}
.footer-col h4{
  color:#fff;font-size:14px;font-family:'Space Grotesk',sans-serif;
  letter-spacing:0.03em;margin-bottom:18px;text-transform:uppercase;
}
.footer-col ul{list-style:none;margin:0;padding:0;}
.footer-col ul li{margin-bottom:12px;}
.footer-col ul li a{
  font-size:14px;color:rgba(255,255,255,0.6);
}
.footer-col ul li a:hover{color:var(--gold-soft);}
.footer-contact-item{display:flex;gap:10px;margin-bottom:14px;font-size:14px;color:rgba(255,255,255,0.6);}
.footer-contact-item span.ico{color:var(--gold-soft);flex-shrink:0;}
.footer-bottom{
  display:flex;justify-content:space-between;align-items:center;
  padding:22px 0;flex-wrap:wrap;gap:12px;
  font-size:13px;color:rgba(255,255,255,0.45);
}
.footer-bottom a{color:rgba(255,255,255,0.45);}
.footer-bottom a:hover{color:var(--gold-soft);}

@media (max-width:860px){
  .topbar-row{flex-direction:column;height:auto;padding:8px 0;gap:6px;align-items:flex-start;}
  .footer-top{grid-template-columns:1fr;gap:32px;padding:48px 0 32px;}
}

/* ---------- Full uploaded logo (icon+text combined) ---------- */
.nav-brand img.full-logo-img{
  height:58px;
  width:auto;
}
@media (max-width:860px){
  .nav-brand img.full-logo-img{height:46px;}
}

/* ---------- Icon + large wordmark lockup ---------- */
.nav-brand{
  font-size:24px;
}
.nav-brand img.icon-logo-img{
  height:48px;
  width:auto;
}
@media (max-width:860px){
  .nav-brand{font-size:18px;}
  .nav-brand img.icon-logo-img{height:38px;}
}
