/* Al Mizan General Trading — Emerald & Gold theme */
:root {
  --green: #123b35;
  --green-deep: #062d28;
  --green-dark: #082923;
  --gold: #d8a75b;
  --gold-light: #f0cc7d;
  --cream: #f7f5ef;
  --white: #fff;
  --ink: #18332f;
  --muted: #63736e;
  --line: rgba(18, 59, 53, .13);
  --shadow: 0 14px 36px rgba(7, 38, 32, .09);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; font-family: "DM Sans", sans-serif; color: var(--ink); background: var(--cream); line-height: 1.6; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; }
.site-header { min-height: 82px; padding: 14px max(5vw, 22px); background: var(--green-deep); color: white; display: flex; align-items: center; justify-content: space-between; gap: 28px; position: sticky; top: 0; z-index: 20; border-bottom: 1px solid rgba(216,167,91,.3); }
.brand { display: inline-flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand-mark { width: 53px; height: 53px; display: grid; place-items: center; color: var(--gold-light); border: 1px solid var(--gold); font: 700 28px "Playfair Display", serif; }

.brand-copy { display: flex; flex-direction: column; line-height: 1.2; }
.brand-copy strong { font-size: 20px; letter-spacing: 2px; }
.brand-copy small { font-size: 9px; letter-spacing: 1.35px; margin-top: 4px; }
.brand-copy em { color: var(--gold-light); font-size: 9px; letter-spacing: .6px; margin-top: 4px; font-style: normal; }
.main-nav { display: flex; align-items: center; gap: clamp(15px, 2.1vw, 32px); font-size: 12px; font-weight: 600; }
.main-nav > a:not(.nav-cta) { transition: color .2s; }
.main-nav > a:not(.nav-cta):hover, .footer-links a:hover { color: var(--gold-light); }
.nav-cta { background: var(--gold-light); color: var(--green-deep); padding: 11px 17px; border-radius: 3px; }
.nav-cta span { margin-left: 8px; }
.menu-toggle { display: none; color: white; border: 1px solid rgba(255,255,255,.25); background: transparent; padding: 8px 12px; border-radius: 4px; cursor: pointer; }
.hero { min-height: 560px; position: relative; isolation: isolate; display: flex; align-items: center; color: white; background: #163c35 url("./assets/hero.jpeg") center 48%/cover no-repeat; }
.hero-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(3,35,30,.98) 0%, rgba(4,44,37,.88) 35%, rgba(4,44,37,.32) 68%, rgba(4,44,37,.08) 100%), linear-gradient(0deg, rgba(3,35,30,.35), transparent 45%); }
.hero-content { width: min(1180px, 90%); margin: 0 auto; padding: 80px 0 96px; }
.eyebrow { margin: 0 0 14px; color: var(--gold-light); font-size: 10px; letter-spacing: 2.5px; font-weight: 700; }
.hero h1, h2, .form-panel h3 { font-family: "Playfair Display", Georgia, serif; font-weight: 600; line-height: 1.13; }
.hero h1 { max-width: 650px; font-size: clamp(42px, 5vw, 66px); margin: 0 0 22px; letter-spacing: -.9px; }
.hero-description { max-width: 470px; color: rgba(255,255,255,.84); font-size: 15px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 29px; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 16px; min-height: 45px; padding: 12px 19px; border-radius: 3px; border: 1px solid transparent; font-size: 12px; font-weight: 700; cursor: pointer; transition: transform .2s, background .2s; }
.button:hover { transform: translateY(-2px); }
.button-gold { background: var(--gold-light); color: var(--green-deep); }
.button-gold:hover { background: var(--gold); }
.button-outline { border-color: rgba(240,204,125,.8); color: white; background: rgba(5,37,31,.35); }
.hero-note { position: absolute; bottom: 23px; right: 5%; display: flex; align-items: center; gap: 10px; font-size: 9px; letter-spacing: 1.6px; color: rgba(255,255,255,.8); }
.note-line { width: 28px; height: 1px; background: var(--gold-light); }
.trust-strip { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; padding: 27px max(5vw,22px); background: var(--green-deep); color: white; }
.trust-item { display: flex; justify-content: center; align-items: center; gap: 13px; padding: 5px 15px; border-right: 1px solid rgba(255,255,255,.17); }
.trust-item:last-child { border: 0; }
.round-icon { width: 38px; height: 38px; border: 1px solid var(--gold); color: var(--gold-light); display: grid; place-items: center; border-radius: 50%; font-size: 20px; flex-shrink: 0; }
.trust-item p { margin: 0; display: flex; flex-direction: column; }
.trust-item strong { font: 600 16px "Playfair Display", serif; }
.trust-item small { font-size: 10px; color: rgba(255,255,255,.68); }
.section { padding: 88px max(5vw,22px); }
.products-section { max-width: 1440px; margin: auto; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 34px; }
.eyebrow-dark { color: #a7782f; }
h2 { font-size: clamp(30px, 3.3vw, 43px); margin: 0 0 13px; color: var(--green-deep); }
.section-intro { max-width: 570px; margin: 0; color: var(--muted); font-size: 14px; }
.text-link { font-size: 12px; font-weight: 700; white-space: nowrap; padding-bottom: 5px; }
.text-link span { color: #a7782f; padding-left: 8px; }
.product-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.product-card { overflow: hidden; background: white; border: 1px solid rgba(18,59,53,.08); border-radius: 5px; box-shadow: 0 7px 22px rgba(7,38,32,.045); transition: transform .25s, box-shadow .25s; }
.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.product-card > img { width: 100%; height: 205px; object-fit: cover; transition: transform .45s; }
.product-card:hover > img { transform: scale(1.04); }
.product-card-body { position: relative; padding: 25px 22px 22px; }
.product-symbol { display: grid; place-items: center; position: absolute; top: -22px; right: 20px; width: 43px; height: 43px; border: 2px solid var(--cream); border-radius: 50%; background: var(--green); color: var(--gold-light); font-size: 19px; }
.product-card h3, .benefit h3 { font: 600 18px "Playfair Display", serif; color: var(--green-deep); margin: 0 0 7px; }
.product-card p, .benefit p { margin: 0; font-size: 12px; color: var(--muted); }
.about-section { display: grid; grid-template-columns: 1fr 1fr; background: var(--green); color: white; }
.about-image { position: relative; min-height: 450px; overflow: hidden; }
.about-image img { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; }
.about-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg,rgba(4,36,30,.7),transparent 60%); }
.image-caption { position: absolute; z-index: 1; bottom: 30px; left: 8%; color: var(--gold-light); font-size: 9px; letter-spacing: 2px; }
.about-copy { align-self: center; padding: 70px clamp(30px,6vw,90px); }
.about-copy h2 { color: white; font-size: clamp(32px,3.5vw,45px); }
.about-copy > p:not(.eyebrow) { color: rgba(255,255,255,.75); font-size: 13px; margin: 18px 0; }
.about-copy .button { margin-top: 12px; }
.why-section { background: var(--white); }
.center-heading { text-align: center; margin: 0 auto 45px; }
.center-heading .section-intro { margin: auto; }
.benefit-grid { max-width: 1240px; margin: auto; display: grid; grid-template-columns: repeat(5,1fr); }
.benefit { text-align: center; padding: 10px 23px; border-right: 1px solid var(--line); }
.benefit:last-child { border: 0; }
.benefit-icon { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--green); color: var(--gold-light); font-size: 23px; margin: 0 auto 18px; outline: 1px solid var(--gold); outline-offset: 4px; }
.benefit h3 { font-size: 16px; }
.contact-section { display: grid; grid-template-columns: .9fr 1.1fr; background: #f0eee7; }
.contact-copy { padding: 68px max(5vw,28px); background: var(--green-deep); color: white; position: relative; overflow: hidden; }
.contact-copy::after { content: "A"; position: absolute; right: -25px; bottom: -115px; font: 400 300px "Playfair Display",serif; color: rgba(255,255,255,.035); pointer-events: none; }
.contact-copy h2 { color: white; font-size: clamp(34px,4vw,48px); }
.contact-copy > p:not(.eyebrow) { color: rgba(255,255,255,.72); font-size: 13px; max-width: 390px; }
.contact-details { display: grid; gap: 12px; margin: 28px 0; font-size: 13px; }
.contact-details a, .contact-details p { display: flex; align-items: center; gap: 12px; margin: 0; }
.contact-details span { color: var(--gold-light); }
.whatsapp-button { display: inline-flex; align-items: center; gap: 10px; background: #0caa67; color: white; padding: 12px 17px; border-radius: 4px; font-size: 12px; font-weight: 700; position: relative; z-index: 1; }
.whatsapp-button:hover { background: #078d55; }
.form-panel { align-self: center; padding: 60px clamp(26px,5vw,75px); }
.form-panel h3 { color: var(--green-deep); font-size: 29px; margin: 0 0 4px; }
.form-intro, .form-note { color: var(--muted); font-size: 11px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; margin: 24px 0 15px; }
label { display: grid; gap: 7px; color: #4b5b55; font-size: 11px; font-weight: 700; }
input, select, textarea { width: 100%; padding: 12px 13px; background: white; color: var(--ink); border: 1px solid #dce1d9; border-radius: 3px; outline: none; font-size: 12px; }
input:focus, select:focus, textarea:focus { border-color: #b88b43; box-shadow: 0 0 0 3px rgba(216,167,91,.15); }
textarea { resize: vertical; min-height: 100px; }
.submit-button { margin-top: 17px; border: 0; }
.form-note { line-height: 1.5; }
.site-footer { padding: 27px max(5vw,22px); background: #04251f; color: rgba(255,255,255,.72); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.footer-brand .brand-mark { width: 34px; height: 34px; font-size: 21px; }
.footer-brand .brand-copy strong { font-size: 16px; }
.footer-brand .brand-copy small { font-size: 8px; }
.site-footer > p { font-size: 11px; }
.footer-links { display: flex; gap: 20px; font-size: 11px; }
.site-footer > small { width: 100%; padding-top: 15px; border-top: 1px solid rgba(255,255,255,.12); text-align: center; font-size: 10px; }

@media (max-width: 980px) {
  .site-header { gap: 16px; }
  .menu-toggle { display: block; margin-left: auto; }
  .main-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; padding: 20px 6vw 24px; background: var(--green-deep); align-items: stretch; flex-direction: column; gap: 0; box-shadow: 0 15px 20px rgba(0,0,0,.15); }
  .main-nav.is-open { display: flex; }
  .main-nav > a { padding: 12px 0; }
  .main-nav .nav-cta { padding: 12px 15px; margin-top: 8px; text-align: center; }
  .hero { min-height: 530px; }
  .trust-strip { grid-template-columns: repeat(2,1fr); }
  .trust-item:nth-child(2) { border-right: 0; }
  .trust-item:nth-child(3), .trust-item:nth-child(4) { border-top: 1px solid rgba(255,255,255,.14); padding-top: 18px; }
  .benefit-grid { grid-template-columns: repeat(3,1fr); row-gap: 30px; }
  .benefit:nth-child(3) { border-right: 0; }
  .benefit:nth-child(4), .benefit:nth-child(5) { padding-top: 22px; }
}
@media (max-width: 650px) {
  html { scroll-padding-top: 70px; }
  .site-header { min-height: 70px; padding: 12px 5%; }
  .brand-mark { width: 35px; height: 35px; font-size: 23px; }
  .brand-copy strong { font-size: 17px; }
  .brand-copy small { font-size: 8px; }
  .brand-copy em { font-size: 8px; }
  .hero { min-height: 570px; background-position: 58% center; }
  .hero-shade { background: linear-gradient(90deg,rgba(3,35,30,.96),rgba(4,44,37,.74) 72%,rgba(4,44,37,.42)); }
  .hero-content { width: 90%; padding: 65px 0 85px; }
  .hero h1 { font-size: clamp(39px,11vw,53px); }
  .hero-description { font-size: 14px; }
  .hero-note { left: 5%; right: auto; font-size: 8px; letter-spacing: 1px; }
  .trust-strip { padding: 22px 5%; gap: 10px 0; }
  .trust-item { justify-content: flex-start; padding: 9px 7px; gap: 9px; }
  .round-icon { width: 32px; height: 32px; font-size: 16px; }
  .trust-item strong { font-size: 13px; }
  .trust-item small { font-size: 9px; }
  .section { padding: 62px 5%; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 16px; }
  .product-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
  .product-card > img { height: 135px; }
  .product-card-body { padding: 24px 12px 16px; }
  .product-card h3 { font-size: 15px; }
  .product-card p { font-size: 11px; }
  .product-symbol { width: 35px; height: 35px; top: -18px; right: 12px; font-size: 15px; }
  .about-section { grid-template-columns: 1fr; }
  .about-image { min-height: 280px; }
  .about-copy { padding: 48px 6%; }
  .benefit-grid { grid-template-columns: repeat(2,1fr); row-gap: 28px; }
  .benefit { padding: 8px 12px; }
  .benefit:nth-child(2), .benefit:nth-child(4) { border-right: 0; }
  .benefit:nth-child(3) { border-right: 1px solid var(--line); }
  .benefit:last-child { grid-column: 1 / -1; }
  .contact-section { grid-template-columns: 1fr; }
  .contact-copy { padding: 50px 6%; }
  .form-panel { padding: 42px 6%; }
  .form-grid { grid-template-columns: 1fr; gap: 13px; }
  .site-footer { justify-content: center; text-align: center; }
  .site-footer > p { width: 100%; margin: 0; }
  .footer-links { width: 100%; justify-content: center; flex-wrap: wrap; }
}
