/* ===================================================================
   ROYAL AFRICA GENERAL TRADING LLC — Corporate Profile Edition
   Palette: Navy Blue, Forest Green, Premium Gold, White, Light Grey
   Type: Montserrat (headings) / Inter (body) / Open Sans (captions)
=================================================================== */

:root{
  --navy:      #0B2E59;
  --navy-dp:   #072040;
  --green:     #2E7D32;
  --green-lt:  #4CA150;
  --gold:      #C9A227;
  --gold-lt:   #DDBE55;
  --white:     #FFFFFF;
  --grey:      #F5F7FA;
  --ink:       #16233A;
  --line:      rgba(11,46,89,0.12);
  --line-on-dark: rgba(255,255,255,0.16);

  --radius-sm: 4px;
  --radius-md: 8px;
  --max: 1180px;
  --shadow-card: 0 1px 2px rgba(11,46,89,0.06), 0 10px 26px -14px rgba(11,46,89,0.25);
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0; background:var(--white); color:var(--ink);
  font-family:'Inter',sans-serif; font-size:16px; line-height:1.65;
  -webkit-font-smoothing:antialiased;
}
img{max-width:100%;display:block;}
a{color:inherit;text-decoration:none;}
ul{margin:0;padding:0;list-style:none;}
h1,h2,h3,h4{ font-family:'Montserrat',sans-serif; font-weight:700; margin:0; color:var(--navy); letter-spacing:-0.01em; }
p{margin:0;}
.container{ max-width:var(--max); margin:0 auto; padding:0 28px; }
.eyebrow{ display:inline-flex; align-items:center; gap:10px; font-family:'Open Sans',sans-serif; font-size:12px; font-weight:600; letter-spacing:0.14em; text-transform:uppercase; color:var(--gold); }
.eyebrow::before{ content:''; width:24px; height:1px; background:var(--gold); }
:focus-visible{ outline:2px solid var(--green); outline-offset:3px; }
@media (prefers-reduced-motion: reduce){
  *{ animation-duration:0.001ms !important; animation-iteration-count:1 !important; transition-duration:0.001ms !important; scroll-behavior:auto !important; }
}

/* ---------------- Header ---------------- */
.site-header{ position:sticky; top:0; z-index:50; background:rgba(255,255,255,0.94); backdrop-filter:blur(10px); border-bottom:1px solid var(--line); }
.header-row{ display:flex; align-items:center; justify-content:space-between; padding:16px 28px; max-width:var(--max); margin:0 auto; }
.logo{ display:flex; align-items:center; gap:12px; font-family:'Montserrat',sans-serif; font-weight:700; font-size:16.5px; color:var(--navy); }
.logo-mark{ width:36px; height:36px; flex:none; object-fit:contain; }
.logo small{ display:block; font-family:'Open Sans',sans-serif; font-weight:600; font-size:9px; letter-spacing:0.14em; color:var(--gold); margin-top:2px; }
.nav-links{ display:flex; align-items:center; gap:28px; }
.nav-links a{ font-size:14px; font-weight:500; position:relative; padding:4px 0; }
.nav-links a::after{ content:''; position:absolute; left:0; bottom:0; height:2px; width:0; background:var(--gold); transition:width .25s ease; }
.nav-links a:hover::after{ width:100%; }
.nav-cta{ display:flex; align-items:center; gap:12px; }
.btn{ display:inline-flex; align-items:center; justify-content:center; gap:8px; padding:12px 22px; border-radius:var(--radius-sm); font-size:13.5px; font-weight:600; border:1px solid transparent; cursor:pointer; white-space:nowrap; transition:transform .18s ease, background .18s ease, border-color .18s ease; }
.btn-gold{ background:var(--gold); color:var(--navy-dp); }
.btn-gold:hover{ background:var(--gold-lt); transform:translateY(-1px); }
.btn-outline{ background:transparent; border-color:var(--line-on-dark); color:inherit; }
.btn-outline-dark{ border-color:var(--line); }
.btn-outline-dark:hover{ border-color:var(--navy); background:var(--grey); }
.btn-navy{ background:var(--navy); color:var(--white); }
.btn-navy:hover{ background:var(--navy-dp); }
.btn-green{ background:var(--green); color:var(--white); }
.btn-green:hover{ background:var(--green-lt); }

/* ---------------- Hero ---------------- */
.hero{ position:relative; background:linear-gradient(160deg,var(--navy-dp) 0%, var(--navy) 60%, #0E3A6E 100%); color:var(--white); overflow:hidden; }
.hero-map{ position:absolute; inset:0; opacity:0.4; z-index:1; }
.hero-inner{ position:relative; z-index:2; max-width:var(--max); margin:0 auto; padding:104px 28px 76px; }
.hero h1{ color:var(--white); font-size:clamp(2.2rem,4.4vw,3.6rem); line-height:1.14; margin:18px 0 20px; max-width:780px; }
.hero h1 span{ color:var(--gold-lt); }
.hero p.lede{ font-size:17px; max-width:540px; color:rgba(255,255,255,0.78); margin-bottom:32px; font-family:'Inter',sans-serif; }
.hero-ctas{ display:flex; flex-wrap:wrap; gap:12px; margin-bottom:54px; }
.tagline-strip{ display:flex; flex-wrap:wrap; gap:0; border-top:1px solid var(--line-on-dark); padding-top:24px; }
.tag-item{ padding:0 26px 0 0; margin-right:26px; border-right:1px solid var(--line-on-dark); font-size:12.5px; color:rgba(255,255,255,0.7); }
.tag-item:last-child{ border-right:none; }
.tag-item b{ display:block; color:var(--gold-lt); font-family:'Montserrat',sans-serif; font-size:15px; }

/* ---------------- Sections ---------------- */
section{ padding:92px 0; }
.section-head{ max-width:660px; margin-bottom:50px; }
.section-head h2{ font-size:clamp(1.7rem,2.8vw,2.3rem); margin-top:14px; }
.section-head p{ margin-top:16px; color:rgba(22,35,58,0.65); font-size:15.5px; }
.section-navy{ background:var(--navy-dp); color:var(--white); }
.section-navy h2,.section-navy h3{ color:var(--white); }
.section-navy .section-head p{ color:rgba(255,255,255,0.62); }
.section-grey{ background:var(--grey); }

/* ---------------- Chairman message ---------------- */
.quote-block{ display:flex; gap:26px; align-items:flex-start; }
.quote-mark{ font-family:'Montserrat',sans-serif; font-size:64px; line-height:1; color:var(--gold); flex:none; }
.quote-block p{ font-size:17px; line-height:1.75; color:rgba(255,255,255,0.85); font-style:italic; }
.quote-sig{ margin-top:18px; font-family:'Montserrat',sans-serif; font-weight:700; font-style:normal; color:var(--gold-lt) !important; font-size:14px !important; }

/* ---------------- Grid basics ---------------- */
.grid-2{ display:grid; grid-template-columns:1fr 1fr; gap:56px; align-items:start; }
.stat-card{ background:var(--white); border:1px solid var(--line); border-radius:var(--radius-md); padding:22px; }
.stat-grid{ display:grid; grid-template-columns:1fr 1fr; gap:14px; margin-top:22px; }

/* ---------------- Values ---------------- */
.values-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:1px; background:var(--line); border:1px solid var(--line); }
.value-card{ background:var(--white); padding:28px 22px; min-height:170px; display:flex; flex-direction:column; justify-content:space-between; transition:background .2s ease; }
.value-card:hover{ background:var(--grey); }
.value-num{ font-size:11.5px; color:var(--gold); font-weight:700; letter-spacing:0.08em; font-family:'Montserrat',sans-serif; }
.value-card h4{ font-size:15px; margin:16px 0 0; font-weight:700; }

/* ---------------- Why choose ---------------- */
.why-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:22px; }
.why-item{ padding:26px; background:var(--white); border:1px solid var(--line); border-radius:var(--radius-md); box-shadow:var(--shadow-card); }
.why-icon{ width:38px; height:38px; border-radius:50%; background:var(--green); display:flex; align-items:center; justify-content:center; margin-bottom:16px; }
.why-item h4{ font-size:15px; margin-bottom:6px; }
.why-item p{ font-size:13px; color:rgba(22,35,58,0.6); }

/* ---------------- Business model flow ---------------- */
.flow-strip{ display:flex; align-items:center; flex-wrap:wrap; gap:0; justify-content:center; }
.flow-node{ background:var(--white); border:1.5px solid var(--navy); border-radius:var(--radius-md); padding:18px 22px; font-size:13.5px; font-weight:600; color:var(--navy); text-align:center; min-width:150px; }
.flow-node.accent{ background:var(--navy); color:var(--white); border-color:var(--navy); }
.flow-arrow{ padding:0 16px; color:var(--gold); font-size:20px; }

/* ---------------- Product categories ---------------- */
.products-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:20px; }
.product-card{ background:var(--white); border:1px solid var(--line); border-radius:var(--radius-md); overflow:hidden; box-shadow:var(--shadow-card); }
.product-thumb{ height:100px; }
.product-body{ padding:20px; }
.product-body h4{ font-size:15px; margin-bottom:10px; }
.product-body li{ font-size:12.5px; color:rgba(22,35,58,0.62); padding:3px 0; }
.product-body li::before{ content:'— '; color:var(--gold); }

/* ---------------- Network map / countries ---------------- */
.country-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:12px; }
.country-item{ padding:14px 16px; border:1px solid var(--line-on-dark); border-radius:var(--radius-sm); font-size:13.5px; color:rgba(255,255,255,0.85); display:flex; justify-content:space-between; }
.country-item span:last-child{ color:var(--gold-lt); font-size:11px; text-transform:uppercase; letter-spacing:0.04em; }

/* ---------------- Certifications ---------------- */
.cert-row{ display:flex; flex-wrap:wrap; gap:12px; }
.cert-chip{ padding:10px 18px; border:1.5px solid var(--green); border-radius:30px; font-size:13px; font-weight:600; color:var(--green); }

/* ---------------- Industries ---------------- */
.industry-tags{ display:flex; flex-wrap:wrap; gap:12px; }
.industry-tag{ font-size:13.5px; padding:10px 18px; border:1px solid var(--line); border-radius:30px; color:rgba(22,35,58,0.7); background:var(--white); }
.industry-tag:hover{ border-color:var(--navy); color:var(--navy); }

/* ---------------- Supply chain steps ---------------- */
.chain-strip{ display:flex; align-items:stretch; overflow-x:auto; border:1px solid var(--line); border-radius:var(--radius-md); background:var(--white); }
.chain-step{ flex:1 0 150px; padding:24px 18px; border-right:1px dashed var(--line); }
.chain-step:last-child{ border-right:none; }
.chain-num{ width:28px; height:28px; border-radius:50%; background:var(--navy); color:var(--white); display:flex; align-items:center; justify-content:center; font-family:'Montserrat',sans-serif; font-weight:700; font-size:12px; margin-bottom:14px; }
.chain-step p{ font-size:12.5px; font-weight:600; color:var(--navy); }

/* ---------------- CTA band ---------------- */
.cta-band{ background:var(--gold); color:var(--navy-dp); border-radius:var(--radius-md); padding:46px 50px; display:flex; align-items:center; justify-content:space-between; gap:24px; flex-wrap:wrap; }
.cta-band h3{ font-size:1.5rem; color:var(--navy-dp); }
.cta-band p{ font-size:14px; margin-top:8px; color:rgba(7,32,64,0.75); }

/* ---------------- Footer ---------------- */
.site-footer{ background:var(--navy-dp); color:rgba(255,255,255,0.68); padding:64px 0 28px; }
.footer-grid{ display:grid; grid-template-columns:1.4fr repeat(3,1fr); gap:40px; margin-bottom:48px; }
.footer-grid h5{ color:var(--white); font-size:12.5px; font-weight:700; letter-spacing:0.06em; text-transform:uppercase; margin-bottom:18px; font-family:'Montserrat',sans-serif; }
.footer-grid li{ font-size:13.5px; margin-bottom:10px; }
.footer-grid a:hover{ color:var(--gold-lt); }
.footer-bottom{ border-top:1px solid rgba(255,255,255,0.12); padding-top:22px; display:flex; justify-content:space-between; flex-wrap:wrap; gap:12px; font-size:12.5px; color:rgba(255,255,255,0.45); }

/* ---------------- Page header ---------------- */
.page-hero{ background:var(--navy-dp); color:var(--white); padding:64px 0 48px; }
.breadcrumb{ font-size:12.5px; color:rgba(255,255,255,0.5); margin-bottom:14px; }
.breadcrumb a:hover{ color:var(--gold-lt); }
.page-hero h1{ color:var(--white); font-size:clamp(1.8rem,3vw,2.6rem); }

/* ---------------- Contact ---------------- */
.contact-grid{ display:grid; grid-template-columns:1fr 1fr; gap:56px; align-items:start; }
.form-field{ margin-bottom:18px; }
.form-field label{ display:block; font-size:12.5px; font-weight:600; margin-bottom:7px; color:rgba(22,35,58,0.7); }
.form-field input, .form-field select, .form-field textarea{ width:100%; padding:12px 14px; border:1px solid var(--line); border-radius:var(--radius-sm); font-family:'Inter',sans-serif; font-size:14px; background:var(--grey); color:var(--ink); }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus{ outline:none; border-color:var(--navy); }
.form-row{ display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.contact-card{ padding:22px 24px; border:1px solid var(--line); border-radius:var(--radius-md); background:var(--grey); margin-bottom:14px; }
.contact-card h4{ font-size:14px; margin-bottom:6px; }
.contact-card p, .contact-card a{ font-size:13.5px; color:rgba(22,35,58,0.65); }
.contact-card a:hover{ color:var(--navy); }

@media (max-width: 980px){
  .grid-2, .contact-grid{ grid-template-columns:1fr; gap:36px; }
  .values-grid{ grid-template-columns:repeat(2,1fr); }
  .products-grid{ grid-template-columns:repeat(2,1fr); }
  .why-grid{ grid-template-columns:1fr; }
  .country-grid{ grid-template-columns:repeat(2,1fr); }
  .footer-grid{ grid-template-columns:1fr 1fr; }
  .form-row{ grid-template-columns:1fr; }
}
@media (max-width: 640px){
  .nav-links{ display:none; }
  .values-grid,.products-grid{ grid-template-columns:1fr; }
  .country-grid{ grid-template-columns:1fr; }
  .footer-grid{ grid-template-columns:1fr; }
  .header-row{ padding:14px 20px; }
}
