:root {
  --navy: #13294b;
  --ink: #111827;
  --text: #4b5563;
  --teal: #137c86;
  --mint: #8fdcc8;
  --mint-dark: #6fcfb6;
  --hero: #dceaf7;
  --soft: #f5f6fa;
  --blue: #e8eef6;
  --line: #e5e7eb;
  --white: #fff;
  --radius: 14px;
  --head: "Sora", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body { margin: 0; font-family: var(--body); color: var(--text); background: var(--white); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--head); color: var(--ink); margin: 0 0 .5em; line-height: 1.15; }
h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); color: var(--navy); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.4rem); }
h3 { font-size: 1.1rem; font-weight: 600; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.section { padding: 88px 0; }
.bg-soft { background: var(--soft); border-top: 1px solid var(--line); }
.bg-blue { background: var(--blue); border-top: 1px solid var(--line); }
.narrow { max-width: 480px; }
.section-lead { max-width: 600px; margin-bottom: 40px; }

.eyebrow { font-size: .72rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--ink); margin-bottom: 14px; }
.eyebrow-teal { color: var(--teal); }

/* Buttons */
.btn { display: inline-block; padding: 12px 26px; border-radius: 999px; font-weight: 600; font-size: .95rem; text-decoration: none; border: 2px solid transparent; cursor: pointer; font-family: inherit; transition: background .2s, transform .1s; }
.btn:active { transform: translateY(1px); }
.btn-mint { background: var(--mint); color: var(--navy); }
.btn-mint:hover { background: var(--mint-dark); }
.btn-outline { border-color: var(--navy); color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: var(--white); }
.btn-light { background: #eaf2fb; color: var(--navy); }
.btn-light:hover { background: var(--white); }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.95); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; height: 66px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-mark { width: 38px; height: 38px; border-radius: 9px; background: var(--navy); position: relative; font-family: var(--head); font-weight: 700; font-size: 17px; }
.brand-mark span { position: absolute; line-height: 1; }
.brand-mark span:first-child { color: var(--white); top: 5px; left: 7px; }
.brand-mark span:last-child { color: #4fb8a6; bottom: 5px; right: 7px; }
.brand-text { display: flex; flex-direction: column; line-height: 1; color: var(--navy); }
.brand-text strong { font-family: var(--head); font-size: 1.1rem; }
.brand-text small { font-size: .62rem; letter-spacing: .24em; margin-top: 3px; font-weight: 600; }

.site-nav { display: flex; align-items: center; gap: 26px; }
.site-nav a { text-decoration: none; color: var(--ink); font-size: .92rem; font-weight: 500; }
.site-nav a:hover { color: var(--teal); }
.site-nav .nav-cta { background: var(--hero); padding: 9px 18px; border-radius: 999px; }
.site-nav .nav-cta:hover { background: var(--mint); color: var(--navy); }

.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--navy); margin: 5px 0; transition: transform .2s, opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Hero */
.hero { background: var(--hero); padding: 96px 0; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 48px; align-items: center; }
.lead { font-size: 1.05rem; max-width: 500px; }
.hero-art { display: flex; justify-content: center; }
.cube { width: 210px; animation: float 6s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-10px); } }

/* Layout helpers */
.two-col { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: start; }
.stack { display: grid; gap: 14px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; }
.card h3 { color: var(--navy); }
.card p { margin: 0; font-size: .93rem; }

/* Services */
.service { background: var(--soft); border-radius: var(--radius); padding: 26px 22px; }
.service p { font-size: .9rem; margin: 0; }
.icon { width: 28px; height: 28px; fill: none; stroke: var(--navy); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 18px; }

/* Principals */
.principal { padding: 24px; }
.principal h3 { margin-top: 18px; color: var(--ink); }
.logo { width: 68px; height: 68px; border-radius: 10px; display: flex; align-items: center; justify-content: center; text-align: center; object-fit: contain; }
.logo-shahi { background: linear-gradient(160deg, #e22b2b, #a3141a); color: #fff; font-family: var(--head); font-weight: 700; font-size: .78rem; letter-spacing: .04em; }
.logo-nutribel { background: #fff; border: 1px solid var(--line); padding: 6px; }
.logo-khadija { background: #f9b21d; color: #4a2d0c; font-size: .5rem; font-weight: 700; letter-spacing: .08em; line-height: 1.3; }

/* Products */
.product-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px 18px; margin-bottom: 28px; }
.product-card h3 { font-size: 1.3rem; color: var(--navy); margin-bottom: 18px; }
.product-card h4 { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--text); margin: 0 0 8px; font-weight: 600; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0 0 20px; }
.chips li { background: var(--soft); border: 1px solid var(--line); border-radius: 999px; padding: 5px 13px; font-size: .8rem; color: var(--ink); }

/* Why */
.why { row-gap: 8px; column-gap: 36px; margin-top: 32px; }
.why > div { border-top: 3px solid var(--mint); padding: 14px 0 24px; max-width: 320px; }
.why > div::before { content: none; }
.why h3 { margin-bottom: 8px; }
.why p { font-size: .93rem; }

/* Stats */
.stats { background: var(--hero); padding: 52px 0; }
.stats strong { display: block; font-family: var(--head); font-size: 2.3rem; color: var(--teal); line-height: 1.2; }
.stats span { font-size: .9rem; }

/* CTA */
.cta { background: var(--mint); padding: 52px 0; }
.cta-wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 6px; }
.cta p { margin: 0; color: var(--ink); }

/* Contact */
.contact-list { margin: 8px 0 0; }
.contact-list dt { font-weight: 600; color: var(--ink); margin-top: 16px; }
.contact-list dd { margin: 0; color: var(--ink); }
.contact-form { padding: 26px 24px; display: flex; flex-direction: column; }
.contact-form label { font-size: .82rem; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.contact-form input, .contact-form textarea { width: 100%; font: inherit; padding: 10px 12px; border: 1px solid #d1d5db; border-radius: 8px; margin-bottom: 18px; background: #fff; color: var(--ink); }
.contact-form input:focus, .contact-form textarea:focus { outline: 2px solid var(--mint); border-color: var(--teal); }
.contact-form textarea { resize: vertical; min-height: 96px; }
.form-note { font-size: .78rem; text-align: center; margin: 10px 0 0; }

/* Footer */
.site-footer { background: #eaf2fb; padding: 30px 0; font-size: .82rem; }
.footer-wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.site-footer a { text-decoration: none; }

/* Responsive */
@media (max-width: 960px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .site-nav { position: absolute; top: 66px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--white); border-bottom: 1px solid var(--line); padding: 8px 20px 16px; display: none; }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .site-nav .nav-cta { margin-top: 12px; text-align: center; border-bottom: 0; }
  .hero-grid, .two-col { grid-template-columns: 1fr; }
  .hero { padding: 64px 0; }
  .hero-art { order: -1; }
  .cube { width: 140px; }
  .section { padding: 64px 0; }
}
@media (max-width: 560px) {
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; gap: 14px; }
  .services-grid { grid-template-columns: 1fr; }
  #services .grid-4 { grid-template-columns: 1fr; }
  .footer-wrap { flex-direction: column; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .cube { animation: none; }
}
