/* ===== KhairCo — Global Styles ===== */
:root{
  --navy:#0b1f3a;
  --navy-dark:#081527;
  --gold:#f5a623;
  --gold-dark:#d98c0f;
  --coral:#ff6b4a;
  --bg:#f7f8fa;
  --white:#ffffff;
  --text:#1f2937;
  --muted:#6b7280;
  --border:#e5e7eb;
  --radius:10px;
  --shadow:0 4px 20px rgba(11,31,58,0.08);
  --shadow-lg:0 12px 40px rgba(11,31,58,0.14);
}

*{box-sizing:border-box;margin:0;padding:0;}

html{scroll-behavior:smooth;}

body{
  font-family:'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Helvetica,Arial,sans-serif;
  color:var(--text);
  background:var(--bg);
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
}

a{color:inherit;text-decoration:none;}
img{max-width:100%;display:block;}
ul{list-style:none;}
button{font-family:inherit;cursor:pointer;border:none;background:none;}

.container{
  width:100%;
  max-width:1180px;
  margin:0 auto;
  padding:0 24px;
}

.section{padding:88px 0;}
.section-tight{padding:56px 0;}

.section-head{
  text-align:center;
  max-width:640px;
  margin:0 auto 48px;
}

.eyebrow{
  display:inline-block;
  color:var(--gold-dark);
  background:rgba(245,166,35,0.12);
  font-weight:700;
  font-size:12.5px;
  letter-spacing:0.08em;
  text-transform:uppercase;
  padding:6px 14px;
  border-radius:999px;
  margin-bottom:16px;
}

.section-head h2{
  font-size:clamp(28px,4vw,38px);
  color:var(--navy);
  margin-bottom:14px;
  letter-spacing:-0.02em;
}

.section-head p{color:var(--muted);font-size:17px;}

/* ===== Buttons ===== */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:14px 30px;
  border-radius:8px;
  font-weight:600;
  font-size:15px;
  transition:all .2s ease;
  white-space:nowrap;
}
.btn-primary{
  background:var(--gold);
  color:var(--navy-dark);
}
.btn-primary:hover{background:var(--gold-dark);transform:translateY(-1px);}
.btn-outline{
  background:transparent;
  border:1.5px solid rgba(255,255,255,0.4);
  color:var(--white);
}
.btn-outline:hover{background:rgba(255,255,255,0.1);}
.btn-dark{
  background:var(--navy);
  color:var(--white);
}
.btn-dark:hover{background:var(--navy-dark);}
.btn-block{width:100%;}

/* ===== Header ===== */
.site-header{
  position:sticky;
  top:0;
  z-index:100;
  background:rgba(255,255,255,0.92);
  backdrop-filter:blur(10px);
  border-bottom:1px solid var(--border);
}
.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:16px 24px;
  max-width:1180px;
  margin:0 auto;
}
.logo{
  display:flex;
  align-items:center;
  gap:10px;
  font-size:22px;
  font-weight:800;
  color:var(--navy);
  letter-spacing:-0.03em;
}
.logo .dot{color:var(--gold);}
.logo-mark{
  width:36px;height:36px;border-radius:8px;
  background:linear-gradient(135deg,var(--navy),var(--navy-dark));
  display:flex;align-items:center;justify-content:center;
  color:var(--gold);font-weight:800;font-size:16px;
}

.main-nav{display:flex;align-items:center;gap:36px;}
.main-nav a{
  font-weight:600;
  font-size:15px;
  color:var(--text);
  position:relative;
  padding:4px 0;
}
.main-nav a.active,
.main-nav a:hover{color:var(--navy);}
.main-nav a.active::after{
  content:"";
  position:absolute;left:0;right:0;bottom:-4px;
  height:2px;background:var(--gold);
}

.header-actions{display:flex;align-items:center;gap:14px;}
.icon-btn{
  width:40px;height:40px;
  display:flex;align-items:center;justify-content:center;
  border-radius:50%;
  color:var(--navy);
  position:relative;
}
.icon-btn:hover{background:var(--bg);}
.cart-badge{
  position:absolute;top:2px;right:2px;
  background:var(--coral);color:white;
  font-size:10px;font-weight:700;
  width:16px;height:16px;border-radius:50%;
  display:flex;align-items:center;justify-content:center;
}

.nav-toggle{display:none;flex-direction:column;gap:5px;width:28px;}
.nav-toggle span{height:2px;background:var(--navy);border-radius:2px;transition:.2s;}

/* top strip */
.top-strip{
  background:var(--navy-dark);
  color:#cbd5e1;
  font-size:13px;
  text-align:center;
  padding:8px 16px;
}
.top-strip strong{color:var(--gold);}

/* ===== Hero ===== */
.hero{
  background:linear-gradient(135deg,var(--navy) 0%,var(--navy-dark) 100%);
  color:white;
  position:relative;
  overflow:hidden;
}
.hero::before{
  content:"";
  position:absolute;inset:0;
  background:radial-gradient(circle at 80% 20%, rgba(245,166,35,0.18), transparent 55%);
}
.hero-inner{
  position:relative;
  display:grid;
  grid-template-columns:1.1fr 0.9fr;
  gap:48px;
  align-items:center;
  padding:100px 24px 90px;
  max-width:1180px;
  margin:0 auto;
}
.hero h1{
  font-size:clamp(34px,5vw,54px);
  line-height:1.1;
  letter-spacing:-0.03em;
  margin-bottom:20px;
}
.hero h1 span{color:var(--gold);}
.hero p{
  font-size:18px;
  color:#cbd5e1;
  max-width:520px;
  margin-bottom:32px;
}
.hero-ctas{display:flex;gap:14px;flex-wrap:wrap;}
.hero-stats{
  display:flex;gap:32px;
  margin-top:48px;
  flex-wrap:wrap;
}
.hero-stats div strong{
  display:block;font-size:26px;color:var(--gold);
}
.hero-stats div span{font-size:13px;color:#94a3b8;}

.hero-visual{
  position:relative;
  border-radius:20px;
  overflow:hidden;
  box-shadow:var(--shadow-lg);
  aspect-ratio:4/3.2;
}
.hero-visual img{width:100%;height:100%;object-fit:cover;}
.route-card{
  position:absolute;
  bottom:18px;left:18px;right:18px;
  background:rgba(255,255,255,0.95);
  border-radius:12px;
  padding:14px 16px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  color:var(--navy);
  font-weight:700;
  font-size:14px;
  box-shadow:var(--shadow);
}
.route-card .arrow{color:var(--gold-dark);font-size:18px;}

/* ===== Trust bar ===== */
.trust-bar{
  background:var(--white);
  border-bottom:1px solid var(--border);
}
.trust-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:24px;
  padding:32px 24px;
  max-width:1180px;
  margin:0 auto;
}
.trust-item{
  display:flex;
  align-items:center;
  gap:14px;
}
.trust-item .ic{
  width:44px;height:44px;flex:none;
  border-radius:10px;
  background:rgba(245,166,35,0.12);
  color:var(--gold-dark);
  display:flex;align-items:center;justify-content:center;
}
.trust-item strong{display:block;font-size:14.5px;color:var(--navy);}
.trust-item span{font-size:13px;color:var(--muted);}

/* ===== Category / Product grids ===== */
.grid-4{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:24px;
}
.grid-3{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:28px;
}
.cat-card{
  position:relative;
  border-radius:var(--radius);
  overflow:hidden;
  aspect-ratio:1/1;
  box-shadow:var(--shadow);
  transition:transform .25s ease;
}
.cat-card:hover{transform:translateY(-4px);}
.cat-card img{width:100%;height:100%;object-fit:cover;}
.cat-card .overlay{
  position:absolute;inset:0;
  background:linear-gradient(180deg,transparent 40%, rgba(11,31,58,0.85));
  display:flex;align-items:flex-end;
  padding:18px;
  color:white;
  font-weight:700;
  font-size:16px;
}

.product-card{
  background:var(--white);
  border-radius:var(--radius);
  overflow:hidden;
  box-shadow:var(--shadow);
  transition:transform .25s ease, box-shadow .25s ease;
  display:flex;
  flex-direction:column;
}
.product-card:hover{transform:translateY(-6px);box-shadow:var(--shadow-lg);}
.product-media{
  position:relative;
  aspect-ratio:1/1;
  overflow:hidden;
  background:#eef1f5;
}
.product-media img{width:100%;height:100%;object-fit:cover;}
.badge{
  position:absolute;top:12px;left:12px;
  background:var(--coral);color:white;
  font-size:11px;font-weight:700;
  padding:4px 10px;border-radius:999px;
  text-transform:uppercase;letter-spacing:.03em;
}
.product-body{padding:18px;display:flex;flex-direction:column;gap:8px;flex:1;}
.product-cat{font-size:12px;color:var(--gold-dark);font-weight:700;text-transform:uppercase;letter-spacing:.04em;}
.product-title{font-size:15.5px;font-weight:700;color:var(--navy);}
.product-rating{font-size:13px;color:var(--muted);}
.product-price-row{
  margin-top:auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding-top:8px;
}
.price{font-weight:800;color:var(--navy);font-size:17px;}
.price small{color:var(--muted);font-weight:500;text-decoration:line-through;margin-left:6px;font-size:13px;}
.add-btn{
  width:38px;height:38px;border-radius:50%;
  background:var(--navy);color:var(--white);
  display:flex;align-items:center;justify-content:center;
  transition:.2s;
}
.add-btn:hover{background:var(--gold);color:var(--navy-dark);}

/* ===== How it works ===== */
.steps{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:24px;
  counter-reset:step;
}
.step-card{
  background:var(--white);
  border-radius:var(--radius);
  padding:30px 24px;
  box-shadow:var(--shadow);
  position:relative;
}
.step-num{
  width:40px;height:40px;
  border-radius:50%;
  background:var(--navy);
  color:var(--gold);
  font-weight:800;
  display:flex;align-items:center;justify-content:center;
  margin-bottom:18px;
}
.step-card h3{font-size:17px;color:var(--navy);margin-bottom:8px;}
.step-card p{font-size:14.5px;color:var(--muted);}
.step-connector{
  display:none;
}

/* ===== Why us ===== */
.why-wrap{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:56px;
  align-items:center;
}
.why-media{
  border-radius:20px;
  overflow:hidden;
  box-shadow:var(--shadow-lg);
  aspect-ratio:4/3.4;
}
.why-media img{width:100%;height:100%;object-fit:cover;}
.why-list{display:flex;flex-direction:column;gap:22px;margin-top:28px;}
.why-item{display:flex;gap:16px;}
.why-item .ic{
  width:46px;height:46px;flex:none;
  border-radius:12px;
  background:rgba(11,31,58,0.06);
  color:var(--navy);
  display:flex;align-items:center;justify-content:center;
}
.why-item h4{font-size:16px;color:var(--navy);margin-bottom:4px;}
.why-item p{font-size:14.5px;color:var(--muted);}

/* ===== Testimonials ===== */
.testi-wrap{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:24px;
}
.testi-card{
  background:var(--white);
  border-radius:var(--radius);
  padding:28px;
  box-shadow:var(--shadow);
}
.stars{color:var(--gold);letter-spacing:2px;margin-bottom:14px;font-size:15px;}
.testi-card p{font-size:15px;color:var(--text);margin-bottom:18px;}
.testi-person{display:flex;align-items:center;gap:12px;}
.avatar{
  width:42px;height:42px;border-radius:50%;
  background:var(--navy);color:var(--gold);
  display:flex;align-items:center;justify-content:center;
  font-weight:700;font-size:14px;
}
.testi-person strong{display:block;font-size:14px;color:var(--navy);}
.testi-person span{font-size:12.5px;color:var(--muted);}

/* ===== Newsletter / CTA band ===== */
.cta-band{
  background:linear-gradient(135deg,var(--navy),var(--navy-dark));
  color:white;
  border-radius:20px;
  padding:56px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:32px;
  flex-wrap:wrap;
}
.cta-band h3{font-size:26px;margin-bottom:8px;}
.cta-band p{color:#cbd5e1;font-size:15px;}
.subscribe-form{
  display:flex;
  gap:10px;
  min-width:340px;
  flex:1;
  max-width:420px;
}
.subscribe-form input{
  flex:1;
  padding:14px 16px;
  border-radius:8px;
  border:none;
  font-size:14px;
}

/* ===== Footer ===== */
.site-footer{
  background:var(--navy-dark);
  color:#94a3b8;
  padding-top:64px;
}
.footer-grid{
  display:grid;
  grid-template-columns:1.4fr 1fr 1fr 1.2fr;
  gap:40px;
  padding-bottom:48px;
  border-bottom:1px solid rgba(255,255,255,0.08);
}
.footer-brand .logo{color:white;margin-bottom:14px;}
.footer-brand p{font-size:14px;line-height:1.7;max-width:280px;}
.footer-col h5{
  color:white;font-size:14px;margin-bottom:18px;
  text-transform:uppercase;letter-spacing:.06em;
}
.footer-col ul li{margin-bottom:11px;font-size:14px;}
.footer-col ul li a:hover{color:var(--gold);}
.footer-social{display:flex;gap:10px;margin-top:16px;}
.footer-social a{
  width:36px;height:36px;border-radius:50%;
  background:rgba(255,255,255,0.08);
  display:flex;align-items:center;justify-content:center;
  color:white;
}
.footer-social a:hover{background:var(--gold);color:var(--navy-dark);}
.footer-bottom{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:22px 0;
  font-size:13px;
  flex-wrap:wrap;
  gap:10px;
}
.payment-icons{display:flex;gap:10px;font-size:12px;}
.payment-icons span{
  background:rgba(255,255,255,0.08);
  padding:5px 10px;border-radius:6px;
  color:#cbd5e1;
}

/* ===== Page header (inner pages) ===== */
.page-hero{
  background:linear-gradient(135deg,var(--navy),var(--navy-dark));
  color:white;
  padding:64px 24px;
  text-align:center;
}
.page-hero h1{font-size:clamp(30px,4vw,44px);margin-bottom:10px;letter-spacing:-0.02em;}
.breadcrumb{color:#94a3b8;font-size:14px;}
.breadcrumb a:hover{color:var(--gold);}

/* ===== Shop page ===== */
.shop-layout{
  display:grid;
  grid-template-columns:260px 1fr;
  gap:40px;
  align-items:start;
}
.filter-box{
  background:var(--white);
  border-radius:var(--radius);
  padding:24px;
  box-shadow:var(--shadow);
  position:sticky;
  top:96px;
}
.filter-box h4{font-size:14px;color:var(--navy);text-transform:uppercase;letter-spacing:.05em;margin-bottom:16px;}
.filter-group{margin-bottom:26px;}
.filter-group label{
  display:flex;align-items:center;gap:10px;
  font-size:14.5px;color:var(--text);
  margin-bottom:10px;
  cursor:pointer;
}
.shop-toolbar{
  display:flex;justify-content:space-between;align-items:center;
  margin-bottom:24px;flex-wrap:wrap;gap:12px;
}
.shop-toolbar select{
  padding:10px 14px;border-radius:8px;border:1px solid var(--border);
  background:white;font-size:14px;
}
.pagination{
  display:flex;justify-content:center;gap:8px;margin-top:48px;
}
.pagination a{
  width:38px;height:38px;border-radius:8px;
  display:flex;align-items:center;justify-content:center;
  background:white;box-shadow:var(--shadow);font-weight:600;font-size:14px;
}
.pagination a.active{background:var(--navy);color:white;}

/* ===== About page ===== */
.about-story{
  display:grid;grid-template-columns:1fr 1fr;gap:56px;align-items:center;
}
.about-story img{border-radius:20px;box-shadow:var(--shadow-lg);}
.values-grid{
  display:grid;grid-template-columns:repeat(4,1fr);gap:24px;
}
.value-card{
  text-align:center;background:var(--white);
  border-radius:var(--radius);padding:30px 20px;box-shadow:var(--shadow);
}
.value-card .ic{
  width:52px;height:52px;border-radius:14px;margin:0 auto 16px;
  background:rgba(245,166,35,0.12);color:var(--gold-dark);
  display:flex;align-items:center;justify-content:center;
}
.value-card h4{color:var(--navy);font-size:16px;margin-bottom:8px;}
.value-card p{font-size:13.5px;color:var(--muted);}

.timeline{max-width:720px;margin:0 auto;}
.timeline-item{
  display:grid;grid-template-columns:100px 1fr;gap:24px;
  padding-bottom:36px;position:relative;
}
.timeline-item::before{
  content:"";position:absolute;left:112px;top:8px;bottom:0;width:2px;
  background:var(--border);
}
.timeline-item:last-child::before{display:none;}
.timeline-year{font-weight:800;color:var(--gold-dark);font-size:15px;}
.timeline-item h4{color:var(--navy);margin-bottom:6px;font-size:16px;}
.timeline-item p{color:var(--muted);font-size:14.5px;}

/* ===== Contact page ===== */
.contact-layout{
  display:grid;grid-template-columns:1fr 1.3fr;gap:48px;align-items:start;
}
.contact-info-card{
  background:var(--white);border-radius:var(--radius);
  padding:32px;box-shadow:var(--shadow);
}
.contact-row{display:flex;gap:16px;margin-bottom:24px;}
.contact-row .ic{
  width:44px;height:44px;border-radius:10px;flex:none;
  background:rgba(11,31,58,0.06);color:var(--navy);
  display:flex;align-items:center;justify-content:center;
}
.contact-row h5{font-size:14.5px;color:var(--navy);margin-bottom:3px;}
.contact-row p{font-size:14px;color:var(--muted);}
.contact-form{
  background:var(--white);border-radius:var(--radius);
  padding:36px;box-shadow:var(--shadow);
}
.form-row{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-bottom:18px;}
.form-group{display:flex;flex-direction:column;gap:8px;}
.form-group.full{grid-column:1/-1;}
.form-group label{font-size:13.5px;font-weight:600;color:var(--navy);}
.form-group input,.form-group select,.form-group textarea{
  padding:13px 14px;border-radius:8px;border:1px solid var(--border);
  font-size:14.5px;font-family:inherit;background:var(--bg);
}
.form-group textarea{resize:vertical;min-height:120px;}
.form-group input.input-error,.form-group textarea.input-error{
  border-color:var(--coral);
  background:rgba(255,107,74,0.05);
}
.field-error{margin-top:2px;}

.faq-item{
  background:var(--white);border-radius:var(--radius);
  box-shadow:var(--shadow);margin-bottom:14px;overflow:hidden;
}
.faq-q{
  display:flex;justify-content:space-between;align-items:center;
  padding:20px 24px;font-weight:700;color:var(--navy);font-size:15px;
}
.faq-a{
  padding:0 24px;max-height:0;overflow:hidden;
  transition:all .25s ease;color:var(--muted);font-size:14.5px;
}
.faq-item.open .faq-a{padding:0 24px 20px;max-height:300px;}
.faq-item.open .faq-q .chev{transform:rotate(180deg);}
.chev{transition:.2s;}

/* ===== Responsive ===== */
@media (max-width:980px){
  .hero-inner{grid-template-columns:1fr;padding-top:48px;}
  .trust-grid{grid-template-columns:repeat(2,1fr);}
  .grid-4{grid-template-columns:repeat(2,1fr);}
  .grid-3{grid-template-columns:1fr;}
  .steps{grid-template-columns:repeat(2,1fr);}
  .why-wrap{grid-template-columns:1fr;}
  .testi-wrap{grid-template-columns:1fr;}
  .footer-grid{grid-template-columns:1fr 1fr;}
  .shop-layout{grid-template-columns:1fr;}
  .filter-box{position:static;}
  .about-story{grid-template-columns:1fr;}
  .values-grid{grid-template-columns:1fr 1fr;}
  .contact-layout{grid-template-columns:1fr;}
}

@media (max-width:720px){
  .main-nav,.header-actions .icon-btn:not(.cart-icon){display:none;}
  .nav-toggle{display:flex;}
  .main-nav.open{
    display:flex;position:absolute;top:100%;left:0;right:0;
    background:white;flex-direction:column;padding:20px 24px;gap:18px;
    border-bottom:1px solid var(--border);
  }
  .footer-grid{grid-template-columns:1fr;}
  .form-row{grid-template-columns:1fr;}
  .values-grid{grid-template-columns:1fr;}
  .cta-band{flex-direction:column;text-align:center;}
  .subscribe-form{min-width:100%;}
}
