:root {
  --ink: #112019;
  --muted: #58645e;
  --paper: #f5f3ec;
  --white: #fffef9;
  --line: #d8d9d0;
  --green: #004c3f;
  --green-deep: #07342d;
  --lime: #c7ff45;
  --orange: #c65106;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
}
a { color: inherit; text-decoration: none; }

.site-header {
  min-height: 86px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 28px;
  padding: 0 4vw;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 50;
}
.brand { display: inline-flex; align-items: flex-end; gap: 12px; width: max-content; }
.brand-logo {
  width: 92px;
  aspect-ratio: 642.26 / 408;
  display: block;
  flex: 0 0 auto;
  background: transparent url("nafi-logo.png") center / contain no-repeat;
}
.brand-copy { height: 58.44px; display: flex; flex-direction: column; justify-content: flex-end; line-height: 1; }
.company-name { display: block; white-space: nowrap; font-size: 27px; line-height: 1; font-weight: 750; letter-spacing: -.055em; color: var(--ink); transform: translateY(3px) scaleY(1.08); transform-origin: left bottom; }
.brand-copy small { font-size: 9px; color: var(--muted); letter-spacing: .04em; }
.desktop-nav { display: flex; gap: 30px; align-items: center; font-size: 14px; font-weight: 700; }
.desktop-nav a { padding: 10px 2px; border-bottom: 2px solid transparent; }
.desktop-nav a:hover { border-color: var(--orange); }
.header-cta { justify-self: end; display: flex; align-items: center; gap: 18px; font-size: 13px; font-weight: 800; }
.header-cta span:last-child { width: 34px; height: 34px; display: grid; place-items: center; background: var(--lime); border-radius: 50%; }
.mobile-menu { display: none; }

.hero { min-height: calc(100vh - 86px); display: grid; grid-template-columns: 1.05fr .95fr; grid-template-rows: 1fr auto; }
.hero-copy { padding: clamp(72px, 9vw, 142px) 6vw 60px 7vw; display: flex; flex-direction: column; justify-content: center; }
.eyebrow { text-transform: uppercase; font-size: 11px; line-height: 1.4; font-weight: 800; letter-spacing: .16em; display: flex; align-items: center; gap: 10px; }
.eyebrow > span { width: 28px; height: 2px; background: var(--orange); display: inline-block; }
h1, h2, h3, p { margin-top: 0; }
h1 { font-size: clamp(54px, 6.4vw, 104px); line-height: .91; max-width: 780px; margin: 24px 0 30px; letter-spacing: -.055em; font-weight: 760; }
.hero-intro { max-width: 610px; color: var(--muted); font-size: clamp(17px, 1.5vw, 22px); line-height: 1.6; margin-bottom: 38px; }
.hero-actions { display: flex; align-items: center; gap: 30px; flex-wrap: wrap; }
.button { min-height: 52px; padding: 0 22px; display: inline-flex; align-items: center; justify-content: center; gap: 22px; font-size: 13px; font-weight: 800; border: 1px solid transparent; transition: transform .2s, background .2s; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--green); color: white; }
.button-primary:hover { background: var(--green-deep); }
.button-outline { border-color: var(--ink); }
.text-link { font-size: 13px; font-weight: 800; display: flex; gap: 14px; }

.hero-visual { position: relative; overflow: hidden; background: var(--green); min-height: 620px; }
.hero-visual::before, .hero-visual::after { content: ""; position: absolute; border-radius: 50%; }
.hero-visual::before { width: 82%; aspect-ratio: 1; right: -26%; top: -14%; border: clamp(42px, 7vw, 100px) solid var(--lime); opacity: .92; }
.hero-visual::after { width: 50%; aspect-ratio: 1; left: 7%; bottom: -25%; border: 2px solid rgba(255,255,255,.25); box-shadow: 0 0 0 50px rgba(255,255,255,.03), 0 0 0 100px rgba(255,255,255,.025); }
.mesh { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px); background-size: 48px 48px; mask-image: linear-gradient(to bottom right, transparent, black); }
.hero-panel { position: absolute; z-index: 2; display: flex; flex-direction: column; padding: 22px; backdrop-filter: blur(12px); }
.hero-panel span { font-size: 10px; text-transform: uppercase; letter-spacing: .13em; }
.hero-panel strong { font-size: clamp(26px, 3vw, 48px); line-height: 1; margin-top: 10px; }
.hero-panel-a { left: 10%; top: 21%; color: var(--green); background: var(--lime); width: 46%; }
.hero-panel-b { right: 8%; bottom: 12%; color: white; background: rgba(7,52,45,.82); width: 48%; border: 1px solid rgba(255,255,255,.2); }
.dubai-logo { display: block; width: min(100%, 176px); height: auto; object-fit: contain; object-position: left center; }
.hero-panel-b span { margin-top: 12px; line-height: 1.6; }
.hero-stats { grid-column: 1 / 3; display: grid; grid-template-columns: repeat(3, 1fr); background: var(--white); border-top: 1px solid var(--line); }
.hero-stats > div { padding: 26px 6vw; display: flex; gap: 16px; align-items: baseline; border-right: 1px solid var(--line); }
.hero-stats strong { font-size: 28px; color: var(--green); }
.hero-stats span { color: var(--muted); font-size: 12px; }

.section { padding: clamp(80px, 10vw, 150px) 7vw; }
.section-heading { display: grid; grid-template-columns: .7fr 1.6fr .8fr; gap: 5vw; align-items: end; margin-bottom: 60px; }
.section-heading h2, .capability-intro h2, .contact-copy h2 { font-size: clamp(40px, 4.5vw, 70px); line-height: 1.03; letter-spacing: -.045em; margin-bottom: 0; }
.section-heading > p:last-child, .capability-intro > p, .contact-copy > p { color: var(--muted); line-height: 1.75; font-size: 15px; margin-bottom: 0; }
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.product-card { min-width: 0; background: var(--white); }
.product-art { height: 210px; position: relative; overflow: hidden; background: var(--green-deep); }
.product-art::before, .product-art::after { content: ""; position: absolute; border: 1px solid rgba(199,255,69,.75); }
.product-art::before { width: 55%; height: 85%; right: -5%; bottom: -20%; border-radius: 50% 50% 12% 12%; transform: rotate(14deg); box-shadow: 0 0 0 24px rgba(199,255,69,.035), 0 0 0 48px rgba(199,255,69,.025); }
.product-art::after { width: 30%; height: 140%; left: 18%; top: -20%; transform: rotate(-28deg); background: rgba(199,255,69,.04); }
.product-art > span { position: absolute; left: 22px; top: 20px; color: white; font-size: 12px; z-index: 2; }
.art-02 { background: #294b43; } .art-02::before { border-radius: 12px; height: 65%; }
.art-03 { background: #103b45; } .art-03::before { border-radius: 6px; transform: none; width: 46%; right: 12%; bottom: 12%; }
.art-04 { background: #244035; } .art-04::before { border-radius: 50%; width: 58%; height: 120%; bottom: -58%; }
.art-05 { background: #3f4739; } .art-05::before { width: 72%; height: 110%; right: -15%; border-radius: 50% 50% 0 0; }
.art-06 { background: #15443b; } .art-06::before { border-radius: 3px; transform: rotate(38deg); }
.product-content { padding: 28px; min-height: 230px; }
.product-content > p { color: var(--orange); text-transform: uppercase; font-size: 10px; letter-spacing: .13em; font-weight: 800; }
.product-content h3 { font-size: 23px; letter-spacing: -.02em; margin: 20px 0 14px; }
.product-content > span { color: var(--muted); font-size: 14px; line-height: 1.7; }

.capability-section { background: var(--green); color: white; display: grid; grid-template-columns: .9fr 1.1fr; gap: 10vw; }
.eyebrow-light { color: var(--lime); }
.eyebrow-light > span { background: var(--lime); }
.capability-intro > p { color: rgba(255,255,255,.68); margin: 28px 0 34px; max-width: 560px; }
.button-light { background: var(--lime); color: var(--green-deep); }
.capability-list article { display: grid; grid-template-columns: 54px 1fr; gap: 24px; padding: 30px 0; border-top: 1px solid rgba(255,255,255,.18); }
.capability-list article:last-child { border-bottom: 1px solid rgba(255,255,255,.18); }
.capability-list article > span { color: var(--lime); font-size: 11px; }
.capability-list h3 { font-size: 25px; margin-bottom: 12px; }
.capability-list p { color: rgba(255,255,255,.62); line-height: 1.7; font-size: 14px; max-width: 620px; margin: 0; }

.contact-section { display: grid; grid-template-columns: 1.2fr .8fr; gap: 10vw; align-items: start; background: var(--white); }
.contact-copy > p { max-width: 680px; margin: 28px 0 35px; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.contact-card { border-top: 5px solid var(--lime); background: var(--green-deep); color: white; padding: 38px; }
.contact-card > p { font-weight: 800; font-size: 17px; padding-bottom: 24px; border-bottom: 1px solid rgba(255,255,255,.15); }
.contact-card dl { margin: 0; }
.contact-card dl > div { display: grid; grid-template-columns: 90px 1fr; gap: 20px; padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.contact-card dt { color: var(--lime); text-transform: uppercase; font-size: 9px; letter-spacing: .13em; }
.contact-card dd { margin: 0; font-size: 13px; line-height: 1.7; }
.map-link { margin-top: 24px; display: flex; justify-content: space-between; font-size: 12px; font-weight: 800; }

footer { min-height: 130px; padding: 30px 7vw; background: #0a1c16; color: white; display: grid; grid-template-columns: 1fr auto 1fr; gap: 30px; align-items: center; }
.brand-footer .brand-logo { width: 82px; }
.brand-footer .brand-copy small { color: rgba(255,255,255,.5); }
footer > p { margin: 0; color: rgba(255,255,255,.5); font-size: 11px; }
footer > a:last-child { justify-self: end; color: var(--lime); font-size: 11px; }

@media (max-width: 980px) {
  .site-header { grid-template-columns: 1fr auto; }
  .desktop-nav, .header-cta { display: none; }
  .mobile-menu { display: block; position: relative; }
  .mobile-menu summary { list-style: none; cursor: pointer; font-size: 13px; font-weight: 800; }
  .mobile-menu summary::-webkit-details-marker { display: none; }
  .mobile-menu nav { position: absolute; right: 0; top: 38px; width: 210px; display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); box-shadow: 0 18px 40px rgba(0,0,0,.12); }
  .mobile-menu nav a { padding: 16px 20px; border-bottom: 1px solid var(--line); font-weight: 700; font-size: 14px; }
  .hero { grid-template-columns: 1fr; }
  .hero-copy { padding: 90px 7vw 70px; }
  .hero-visual { min-height: 520px; }
  .hero-stats { grid-column: 1; }
  .section-heading { grid-template-columns: 1fr; align-items: start; }
  .section-heading h2 { max-width: 760px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .capability-section, .contact-section { grid-template-columns: 1fr; }
  footer { grid-template-columns: 1fr auto; }
  footer > p { grid-row: 2; }
}

@media (max-width: 620px) {
  .site-header { min-height: 72px; padding: 0 20px; }
  .brand-copy small { display: none; }
  .company-name { display: none; }
  .brand-copy { display: none; }
  .brand-logo { width: 74px; }
  .hero { min-height: auto; }
  .hero-copy { padding: 65px 22px 60px; }
  h1 { font-size: clamp(50px, 15vw, 72px); }
  .hero-actions { align-items: flex-start; flex-direction: column; }
  .hero-visual { min-height: 420px; }
  .hero-panel-a { width: 64%; }
  .hero-panel-b { width: 66%; }
  .hero-stats { grid-template-columns: 1fr; }
  .hero-stats > div { padding: 18px 22px; border-right: 0; border-bottom: 1px solid var(--line); }
  .section { padding: 75px 22px; }
  .section-heading { margin-bottom: 38px; }
  .product-grid { grid-template-columns: 1fr; }
  .product-art { height: 180px; }
  .product-content { min-height: auto; }
  .capability-section { gap: 60px; }
  .contact-card { padding: 28px 24px; }
  .contact-card dl > div { grid-template-columns: 1fr; gap: 8px; }
  footer { grid-template-columns: 1fr; padding: 40px 22px; }
  footer > p { grid-row: auto; }
  footer > a:last-child { justify-self: start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
