/* Tawakal Enterprises: shared stylesheet. System fonts, no external requests.
   Colours are sampled from the logo (orange #F18021, teal #246182, navy #0B1F3A). */
:root {
  --deep: #0E3A54;
  --brand: #246182;
  --navy: #0B1F3A;
  --accent: #F18021;
  --accent-ink: #B04A00;
  --ink: #13212B;
  --muted: #52646F;
  --soft: #EEF4F8;
  --line: #DCE5EB;
  --white: #FFFFFF;
  --radius: 14px;
  --shadow: 0 14px 30px rgba(14, 58, 84, .14);
  --gutter: 16px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--white); line-height: 1.55; font-size: 16px; }
img { max-width: 100%; height: auto; }
a { color: var(--brand); }
a:hover { color: var(--deep); }
h1, h2, h3 { line-height: 1.2; color: var(--deep); margin: 0 0 .5em; }
h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 800; }
h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); font-weight: 800; }
h3 { font-size: 1.1rem; font-weight: 700; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
.skip { position: absolute; left: -999px; top: 0; background: var(--navy); color: var(--white); padding: 10px 16px; z-index: 100; }
.skip:focus { left: 8px; top: 8px; }
.icon { width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; vertical-align: -.25em; }
.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 var(--gutter); }
.section { padding-top: 48px; padding-bottom: 48px; }
.section.soft { background: var(--soft); }
.eyebrow { font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; color: var(--accent-ink); }
.lead { font-size: 1.1rem; color: var(--muted); max-width: 60ch; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 22px; border-radius: 999px; font-weight: 700; font-size: .95rem; text-decoration: none; border: 2px solid transparent; cursor: pointer; font-family: inherit; line-height: 1.2; }
.btn-primary { background: var(--accent); color: var(--navy); }
.btn-primary:hover { background: #FF9238; color: var(--navy); }
.btn-ghost { border-color: currentColor; color: var(--white); background: transparent; }
.btn-ghost:hover { background: rgba(255, 255, 255, .12); color: var(--white); }
.btn-outline { border-color: var(--brand); color: var(--brand); background: transparent; }
.btn-outline:hover { background: var(--soft); }
.btn-sm { padding: 7px 14px; font-size: .85rem; }

/* Top strip + header */
.topbar { background: var(--deep); color: #CFE3EE; font-size: .8rem; }
.topbar .wrap { display: flex; justify-content: space-between; gap: 12px; padding-top: 6px; padding-bottom: 6px; flex-wrap: wrap; }
.topbar a { color: #fff; text-decoration: none; font-weight: 600; }
.site-header { position: sticky; top: 0; z-index: 50; background: var(--white); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 20px; min-height: 68px; position: relative; }
.logo img { display: block; height: 46px; width: auto; }
.nav { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; flex: 1; }
.nav > li { position: relative; }
.nav > li.has-mega { position: static; }
.nav-link { display: inline-flex; align-items: center; gap: 4px; padding: 10px 12px; font-weight: 700; font-size: .95rem; color: var(--ink); text-decoration: none; background: none; border: 0; cursor: pointer; font-family: inherit; border-bottom: 2px solid transparent; }
.nav-link:hover, .nav-link[aria-current="page"], .has-mega:focus-within > .nav-link { color: var(--accent-ink); border-bottom-color: var(--accent); }
.mega-toggle { display: none; }
.header-search { display: flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; padding: 0 6px 0 12px; background: var(--white); }
.header-search input { border: 0; outline: 0; background: transparent; font: inherit; font-size: .9rem; width: 150px; padding: 8px 4px; color: var(--ink); }
.header-search:focus-within { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(36, 97, 130, .18); }
.header-search button { border: 0; background: none; cursor: pointer; color: var(--brand); padding: 6px; }
.header-call { display: inline-flex; gap: 6px; align-items: center; font-weight: 700; color: var(--deep); text-decoration: none; font-size: .9rem; white-space: nowrap; }
.menu-btn { display: none; background: none; border: 1px solid var(--line); border-radius: 10px; padding: 8px; cursor: pointer; color: var(--deep); margin-left: auto; }

/* Mega menu */
.mega { display: none; position: absolute; left: var(--gutter); right: var(--gutter); margin: 0 auto; top: 100%; width: auto; max-width: 960px; background: var(--white); border: 1px solid var(--line); border-radius: 0 0 var(--radius) var(--radius); box-shadow: var(--shadow); padding: 20px; grid-template-columns: 1.5fr 1fr .9fr; gap: 24px; }
.has-mega:hover > .mega, .has-mega:focus-within > .mega, .has-mega.open > .mega { display: grid; }
.mega h3 { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-ink); margin-bottom: 10px; }
.mega-uses { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 4px 12px; }
.mega-use { display: flex; gap: 10px; align-items: center; padding: 8px; border-radius: 10px; text-decoration: none; color: var(--ink); }
.mega-use:hover { background: var(--soft); }
.mega-use .ico { background: var(--soft); color: var(--brand); border-radius: 10px; width: 38px; height: 38px; display: flex; align-items: center; justify-content: center; flex: none; }
.mega-use strong { display: block; font-size: .92rem; line-height: 1.25; }
.mega-use small { color: var(--muted); font-size: .78rem; line-height: 1.3; display: block; }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.chip { display: inline-block; background: var(--soft); color: var(--deep); border-radius: 999px; padding: 4px 12px; font-weight: 700; font-size: .82rem; text-decoration: none; }
.chip:hover { background: var(--deep); color: var(--white); }
.mega-model { background: var(--deep); color: var(--white); border-radius: 12px; padding: 16px; align-self: start; }
.mega-model strong { display: block; margin-bottom: 8px; }
.mega-model input { width: 100%; border: 0; border-radius: 8px; padding: 9px 10px; font: inherit; font-size: .9rem; }
.mega-model a { color: #FFC48F; font-size: .85rem; font-weight: 700; display: inline-block; margin-top: 10px; }

/* Hero, cards, trust */
.hero { background: linear-gradient(135deg, var(--deep) 0%, var(--brand) 100%); color: var(--white); border-radius: 20px; padding: 44px 32px; display: grid; grid-template-columns: 1.3fr .7fr; gap: 28px; align-items: center; }
.hero h1 { color: var(--white); }
.hero .lead { color: #D3E6F0; }
.hero .eyebrow { color: #FFC48F; }
.hero-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 8px; }
.hero img { border-radius: var(--radius); width: 100%; object-fit: cover; }
.trust { display: flex; gap: 10px; flex-wrap: wrap; margin: 18px 0; }
.trust span { background: var(--soft); color: var(--deep); font-weight: 700; font-size: .85rem; padding: 8px 14px; border-radius: 10px; display: inline-flex; gap: 6px; align-items: center; }
.grid { display: grid; gap: 14px; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.card { display: block; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; text-decoration: none; color: var(--ink); background: var(--white); transition: box-shadow .15s, transform .15s, border-color .15s; }
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); border-color: var(--brand); color: var(--ink); }
.card .ico { color: var(--brand); display: block; margin-bottom: 8px; }
.card .ico .icon { width: 2em; height: 2em; }
.card h3 { margin-bottom: 2px; }
.card p { color: var(--muted); font-size: .88rem; margin: 0 0 8px; }
.card .more { color: var(--accent-ink); font-weight: 700; font-size: .85rem; }
.breadcrumb { font-size: .85rem; color: var(--muted); padding: 14px 0 0; }
.breadcrumb a { color: var(--muted); }
.page-head { background: var(--soft); padding: 8px 0 28px; }
.toggle { display: inline-flex; background: var(--soft); border-radius: 999px; padding: 4px; gap: 4px; margin: 8px 0 16px; }
.toggle button { border: 0; background: transparent; font: inherit; font-weight: 700; padding: 8px 18px; border-radius: 999px; cursor: pointer; color: var(--deep); }
.toggle button[aria-pressed="true"] { background: var(--deep); color: var(--white); }

/* Tables */
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); -webkit-overflow-scrolling: touch; }
.models { width: 100%; border-collapse: collapse; font-size: .9rem; min-width: 640px; }
.models th { background: var(--deep); color: var(--white); text-align: left; padding: 10px 12px; font-weight: 700; white-space: nowrap; position: sticky; top: 0; }
.models tr { scroll-margin-top: 90px; }
.models td { padding: 9px 12px; border-top: 1px solid var(--line); vertical-align: middle; }
.models tbody tr:nth-child(even) { background: var(--soft); }
.models td:first-child { font-weight: 800; color: var(--deep); white-space: nowrap; }
.models .num { text-align: right; font-variant-numeric: tabular-nums; }
.models .dl { display: inline-flex; gap: 4px; align-items: center; font-weight: 700; text-decoration: none; white-space: nowrap; margin-right: 8px; }

/* Footer + quote bar */
.site-footer { background: var(--navy); color: #C9D6E0; padding: 0 0 24px; margin-top: 0; }
.site-footer h3 { color: var(--white); font-size: .9rem; text-transform: uppercase; letter-spacing: .08em; }
.site-footer a { color: #E4EEF5; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer .btn-primary { color: var(--navy); }
.site-footer .btn-primary:hover { color: var(--navy); text-decoration: none; }
.site-footer .btn-ghost { color: var(--white); }
.site-footer .btn-ghost:hover { text-decoration: none; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 6px; }
.footer-cols { display: grid; grid-template-columns: 1.4fr 1fr 1.3fr .8fr 1.4fr; gap: 28px; padding-top: 40px; align-items: start; }
.footer-base { border-top: 1px solid rgba(255, 255, 255, .15); margin-top: 28px; padding-top: 16px; font-size: .82rem; }
.quote-bar { display: none; }

/* Tablet and phone */
@media (max-width: 1080px) { .header-search input { width: 100px; } .header-call span { display: none; } }
@media (max-width: 900px) {
  .menu-btn { display: inline-flex; }
  .header-search, .header-call, .site-header .wrap > .btn { display: none; }
  .site-header .wrap { flex-wrap: wrap; min-height: 60px; }
  .nav { display: none; flex: 1 0 100%; flex-direction: column; align-items: stretch; padding: 8px 0 14px; }
  .nav-open .nav { display: flex; max-height: calc(100vh - 210px); overflow-y: auto; -webkit-overflow-scrolling: touch; }
  .nav-link { padding: 12px 4px; width: 100%; justify-content: space-between; }
  .mega { position: static; width: 100%; box-shadow: none; border: 0; padding: 4px 0 8px; grid-template-columns: 1fr; display: none; }
  .has-mega:hover > .mega, .has-mega:focus-within > .mega { display: none; }
  .has-mega.open > .mega { display: grid; }
  .has-mega { display: flex; flex-wrap: wrap; align-items: center; }
  .has-mega > a.nav-link { flex: 1; width: auto; }
  .has-mega > .mega-toggle { display: inline-flex; width: auto; padding: 12px; }
  .has-mega > .mega { flex: 1 0 100%; }
  .mega-uses { grid-template-columns: 1fr; }
  .hero { grid-template-columns: 1fr; padding: 28px 20px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .quote-bar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: var(--white); border-top: 1px solid var(--line); padding: 8px var(--gutter); gap: 8px; box-shadow: 0 -6px 18px rgba(14, 58, 84, .12); }
  .quote-bar .btn { flex: 1; white-space: nowrap; padding-left: 12px; padding-right: 12px; }
  .site-footer { padding-bottom: 88px; }
}
@media (max-width: 520px) { .grid-4 { grid-template-columns: 1fr; } .footer-cols { grid-template-columns: 1fr; } .topbar .wrap { justify-content: center; } }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

/* Products page, search, utilities */
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.muted { color: var(--muted); }
.finder { display: flex; gap: 8px; max-width: 640px; margin: 12px 0; }
.finder input, #model-filter { flex: 1; font: inherit; padding: 11px 16px; border: 1px solid var(--line); border-radius: 999px; background: var(--white); color: var(--ink); min-width: 0; }
#model-filter { width: min(420px, 100%); flex: none; }
.finder input:focus, #model-filter:focus { outline: 0; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(36, 97, 130, .2); }
.result-list { list-style: none; margin: 8px 0 0; padding: 0; max-width: 640px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); max-height: 360px; overflow: auto; }
.result-list a { display: flex; justify-content: space-between; gap: 12px; padding: 10px 16px; text-decoration: none; color: var(--ink); border-bottom: 1px solid var(--line); }
.result-list li:last-child a { border-bottom: 0; }
.result-list a:hover, .result-list a:focus-visible { background: var(--soft); }
.result-list span { color: var(--muted); font-size: .85rem; }
.models tr:target td { background: #FFE9D2; }
.downloads { list-style: none; padding: 0; margin: 0; }
.downloads li { margin-bottom: 8px; }
.dl { display: inline-flex; gap: 4px; align-items: center; font-weight: 700; text-decoration: none; }

/* Home page sections */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; }
.about img { border-radius: var(--radius); width: 100%; }
.video { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: var(--soft); }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.contact-list { list-style: none; padding: 0; margin: 0 0 16px; }
.contact-list li { margin-bottom: 8px; display: flex; gap: 8px; align-items: flex-start; }
@media (max-width: 900px) { .about { grid-template-columns: 1fr; } }

/* Content pages */
.prose > p, .prose > ul, .prose > blockquote { max-width: 78ch; }
.prose .about, .prose .contact-form { max-width: 1000px; margin-left: 0; margin-right: 0; }
.prose h2 { margin-top: 1.6em; }
.prose h2:first-child { margin-top: 0; }
.prose blockquote { margin: 16px 0; padding: 4px 0 4px 20px; border-left: 4px solid var(--accent); }
.prose blockquote footer { color: var(--muted); font-size: .95rem; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 28px 0; }
.stats div { background: var(--soft); border-radius: var(--radius); padding: 18px; text-align: center; }
.stats strong { display: block; font-size: 2rem; color: var(--deep); line-height: 1.1; }
.stats span { color: var(--muted); font-size: .85rem; font-weight: 600; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; margin: 20px 0 32px; }
.cert { margin: 0; }
.cert img { width: 100%; height: auto; border: 1px solid var(--line); border-radius: 10px; background: var(--white); }
.cert figcaption { font-size: .82rem; color: var(--muted); margin-top: 6px; line-height: 1.35; }
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 18px; max-width: 760px; }
.contact-form .wide { grid-column: 1 / -1; }
.field label { display: block; font-weight: 700; font-size: .9rem; margin-bottom: 4px; }
.field input, .field textarea { width: 100%; font: inherit; padding: 11px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); color: var(--ink); }
.field input:focus, .field textarea:focus { outline: 0; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(36, 97, 130, .2); }
@media (max-width: 700px) { .stats { grid-template-columns: 1fr 1fr; } .contact-form { grid-template-columns: 1fr; } }

.page-head .chip { background: var(--white); border: 1px solid var(--line); }
.page-head .chip:hover { background: var(--deep); border-color: var(--deep); }

/* Product photos */
.thumb { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: contain; background: var(--white); border-radius: 10px; margin-bottom: 10px; }
.thumb.ph { display: flex; align-items: center; justify-content: center; background: var(--soft); color: var(--brand); }
.thumb.ph .icon { width: 3em; height: 3em; }
.grid-series { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.series-card h3 { font-size: 1rem; }
.head-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 28px; align-items: center; }
.head-photo { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px; margin-top: 20px; }
.head-photo img { display: block; width: 100%; height: auto; }
@media (max-width: 900px) { .head-grid { grid-template-columns: 1fr; } .head-photo { max-width: 420px; } }

/* Footer */
.footer-cta { background: linear-gradient(135deg, var(--brand), var(--deep)); color: var(--white); }
.footer-cta .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding-top: 24px; padding-bottom: 24px; }
.footer-cta strong { display: block; font-size: 1.15rem; }
.footer-cta span { color: #D3E6F0; font-size: .95rem; }
.footer-cta-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.footer-logo { display: inline-block; background: var(--white); border-radius: 12px; padding: 8px 12px; margin-bottom: 12px; }
.footer-logo img { display: block; height: 44px; width: auto; }
.footer-note { display: flex; gap: 6px; align-items: flex-start; font-weight: 700; color: var(--white); font-size: .88rem; }
.footer-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.footer-chips li { margin: 0; }
.footer-chips a { display: inline-block; padding: 3px 11px; border: 1px solid rgba(255, 255, 255, .25); border-radius: 999px; font-size: .85rem; }
.footer-chips a:hover { background: rgba(255, 255, 255, .12); border-color: var(--white); text-decoration: none; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact .icon { margin-top: 3px; color: #FFC48F; }
.footer-base { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px 20px; }
.footer-links { display: flex; gap: 18px; flex-wrap: wrap; }
.icon.up { transform: rotate(-90deg); }
@media (max-width: 900px) { .footer-cta .wrap { flex-direction: column; align-items: flex-start; } }

/* Photo cards flow into as many columns as fit (2 on a phone), never one huge card per row */
.grid-cards { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
.grid-cards .series-card { padding: 14px; }
.grid-cards .series-card p { font-size: .82rem; }
