/* =========================================================
   PROFORMA IMPEX — website styles
   Matched to the company pitch deck: red #D73939, black, white,
   Inter (headings) + Open Sans (body).
   ========================================================= */

:root{
  --red: #D73939;
  --red-dark: #A82929;
  --red-tint: #FBEAEA;
  --black: #111111;
  --black-2: #000000;
  --ink: #111111;
  --ink-soft: #5A5A5A;
  --line: #E5E5E5;
  --white: #FFFFFF;
  --paper: #FAFAFA;

  --font-display: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  --font-body: 'Open Sans', 'Helvetica Neue', Arial, sans-serif;

  --max: 1240px;
  --pad: clamp(20px, 5vw, 64px);
  --section-pad: clamp(56px, 8vw, 110px);
  --radius: 14px;
  --shadow: 0 20px 45px rgba(0,0,0,0.10);
  --shadow-sm: 0 8px 20px rgba(0,0,0,0.07);
}

*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; scroll-padding-top: 84px; }

body{
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink-soft);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img{ max-width: 100%; display: block; }
a{ color: inherit; text-decoration: none; }

h1,h2,h3,h4{ font-family: var(--font-display); color: var(--black); margin: 0 0 0.5em; line-height: 1.15; }
h1{ font-weight: 800; }
h2{ font-weight: 800; font-size: clamp(1.7rem, 3vw, 2.3rem); }
h3{ font-weight: 700; font-size: 1.1rem; }
p{ margin: 0 0 1em; max-width: 65ch; }

.container{ max-width: var(--max); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }
.section{ padding-top: var(--section-pad); padding-bottom: var(--section-pad); scroll-margin-top: 80px; }
.section--tint{ background: var(--paper); }
.section--black{ background: var(--black); color: rgba(255,255,255,0.75); }
.section--black h2, .section--black h3{ color: var(--white); }
.section--black p{ color: rgba(255,255,255,0.7); }

.section-head{ max-width: 760px; margin: 0 0 20px; }
.section-head.center{ margin-left: auto; margin-right: auto; text-align: center; }
.kicker{ font-family: var(--font-display); font-weight: 700; font-size: 0.78rem; color: var(--red); letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 10px; }
.lede{ font-size: 1.05rem; }

/* Buttons */
.btn{ font-family: var(--font-display); font-weight: 700; font-size: 0.92rem; padding: 0.85em 1.6em; border-radius: 999px; display: inline-flex; align-items: center; gap: 0.5em; border: 1.5px solid transparent; cursor: pointer; transition: all 0.18s ease; }
.btn--primary{ background: var(--red); color: var(--white); box-shadow: 0 10px 22px rgba(215,57,57,0.3); }
.btn--primary:hover{ background: var(--red-dark); transform: translateY(-1px); }
.btn--ghost{ background: transparent; color: var(--black); border-color: var(--line); }
.btn--ghost:hover{ border-color: var(--black); }
.btn--on-black{ background: transparent; color: var(--white); border-color: rgba(255,255,255,0.35); }
.btn-row{ display: flex; gap: 12px; flex-wrap: wrap; }

/* Header / nav */
.site-header{ position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,0.95); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.site-header .container{ display: flex; align-items: center; justify-content: space-between; padding-top: 12px; padding-bottom: 12px; }
.brand{ display: flex; align-items: center; gap: 10px; }
.brand img{ height: 30px; width: auto; }
.brand-text .name{ font-family: var(--font-display); font-weight: 800; font-size: 0.92rem; }
.brand-text .name .accent{ color: var(--red); }
.brand-text .tag{ font-size: 0.62rem; color: var(--ink-soft); letter-spacing: 0.05em; }

.nav{ display: flex; align-items: center; gap: 26px; }
.nav-links{ display: flex; gap: 24px; }
.nav-links a{ font-size: 0.86rem; font-weight: 600; color: var(--black); margin-right: 24px; }
.nav-links a:last-of-type{ margin-right: 0; }
.nav-links a:hover{ color: var(--red); }
.nav-toggle{ display: none; }

@media (max-width: 960px){
  .nav-links{ position: fixed; inset: 60px 0 0 0; background: var(--white); flex-direction: column; padding: 26px var(--pad); gap: 18px; transform: translateY(-8px); opacity: 0; pointer-events: none; transition: all 0.2s ease; }
  .nav-links a{ margin-right: 0; margin-bottom: 18px; }
  .nav-links.open{ opacity: 1; pointer-events: auto; transform: translateY(0); }
  .nav-links a{ font-size: 1.05rem; }
  .nav-cta{ display: none; }
  .nav-toggle{ display: inline-flex; width: 32px; height: 32px; border: 0; background: none; align-items: center; justify-content: center; cursor: pointer; }
  .nav-toggle span, .nav-toggle span::before, .nav-toggle span::after{ content: ""; display: block; width: 18px; height: 2px; background: var(--black); position: relative; }
  .nav-toggle span::before{ position: absolute; top: -6px; }
  .nav-toggle span::after{ position: absolute; top: 6px; }
}
@media (min-width: 961px){ .nav-toggle{ display: none; } }

/* Hero */
.hero{ padding: clamp(40px,7vw,80px) 0; background: linear-gradient(180deg,#fff 0%, #F5F5F5 100%); }
.hero .container{ display: flex; gap: clamp(28px,5vw,64px); align-items: center; }
.hero-copy{ flex: 1.05 1 0; min-width: 0; }
.hero-media{ flex: 0.95 1 0; min-width: 0; }
.hero h1{ font-size: clamp(1.9rem, 4vw, 3rem); }
.hero h1 .accent{ color: var(--red); }
.hero-photo-frame{ border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.hero-trust{ display: flex; flex-wrap: wrap; gap: 24px; margin-top: 30px; padding-top: 20px; border-top: 1px solid var(--line); }
.hero-trust .stat{ margin-right: 24px; }
.hero-trust .stat:last-child{ margin-right: 0; }
.hero-trust .num{ font-family: var(--font-display); font-weight: 800; font-size: 1.3rem; color: var(--red); }
.hero-trust .label{ font-size: 0.78rem; color: var(--ink-soft); text-transform: uppercase; letter-spacing: 0.03em; }
@media (max-width: 860px){ .hero .container{ flex-direction: column; } .hero-media{ order: -1; } }

/* Generic grids */
.grid{ display: flex; flex-wrap: wrap; gap: 22px; margin-top: 40px; }
.grid > *{ flex: 1 1 0; min-width: 220px; }

/* Cards */
.card{ background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; }
.card-tint{ background: var(--paper); border-radius: var(--radius); padding: 28px 24px; }

/* Callout */
.callout{ border-left: 4px solid var(--red); background: var(--paper); border-radius: var(--radius); padding: 24px 26px; margin-top: 22px; }
.callout h3{ margin-bottom: 10px; }
.callout ul{ margin: 0; padding-left: 1.1em; }
.callout li{ margin-bottom: 6px; }

/* Numbered feature list */
.numbered-list{ display: flex; flex-wrap: wrap; gap: 28px; margin-top: 40px; }
.num-item{ flex: 1 1 calc(50% - 28px); min-width: 260px; display: flex; gap: 16px; }
.num-item .num{ font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; color: #F0C6C6; line-height: 1; min-width: 44px; }
.num-item h3{ margin-bottom: 6px; }
.num-item p{ font-size: 0.94rem; margin: 0; }
@media (max-width: 700px){ .num-item{ flex-basis: 100%; } }

/* Arc stats */
.arc-band{ background: var(--black); color: var(--white); }
.arc-stats{ display: flex; flex-wrap: wrap; gap: 24px; margin-top: 44px; justify-content: center; }
.arc-stat{ flex: 1 1 160px; max-width: 200px; text-align: center; }
.arc-stat svg{ width: 100%; height: auto; }
.arc-stat .num{ font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; margin-top: -18px; }
.arc-stat .label{ margin-top: 10px; font-size: 0.76rem; font-weight: 700; color: var(--red); text-transform: uppercase; letter-spacing: 0.04em; }

/* Timeline */
.timeline{ display: flex; flex-wrap: wrap; gap: 20px; margin-top: 44px; }
.tl-item{ flex: 1 1 calc(20% - 16px); min-width: 180px; border-top: 2px solid var(--line); padding-top: 16px; position: relative; }
.tl-item::before{ content:""; position:absolute; top:-2px; left:0; width: 26px; height: 2px; background: var(--red); }
.tl-item .yr{ font-family: var(--font-display); font-weight: 800; color: var(--red); font-size: 1.1rem; }
.tl-item p{ font-size: 0.86rem; margin-top: 6px; }
.tl-photos{ display: flex; gap: 16px; margin-top: 30px; flex-wrap: wrap; }
.tl-photos img{ flex: 1 1 30%; min-width: 220px; border-radius: var(--radius); height: 220px; object-fit: cover; }
.tl-note{ margin-top: 26px; background: var(--paper); border-radius: var(--radius); padding: 20px 24px; font-style: italic; }

/* Industries */
.industry-card{ background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.industry-card .photo{ height: 130px; overflow: hidden; }
.industry-card .photo img{ width: 100%; height: 100%; object-fit: cover; }
.industry-card .body{ padding: 18px 20px; }
.industry-card p{ font-size: 0.88rem; margin: 0; }

/* Products */
.prod-nav{ display: flex; flex-wrap: wrap; gap: 8px; margin: 34px 0 8px; position: sticky; top: 66px; background: var(--white); padding: 14px 0; z-index: 10; border-bottom: 1px solid var(--line); }
.prod-nav a{ font-size: 0.78rem; font-weight: 700; padding: 7px 14px; border: 1px solid var(--line); border-radius: 999px; white-space: nowrap; }
.prod-nav a:hover{ border-color: var(--red); color: var(--red); }
.prod-overview{ display: flex; flex-wrap: wrap; gap: 20px; margin-top: 36px; }
.prod-overview > .card-tint{ flex: 1 1 calc(25% - 20px); min-width: 220px; }
.prod-overview h3{ font-size: 1rem; margin-bottom: 8px; }
.prod-overview p{ font-size: 0.88rem; }
.prod-overview .count{ color: var(--red); font-weight: 700; font-size: 0.82rem; margin-top: 10px; display: block; }

.prod-group{ padding: 44px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 130px; }
.prod-group:last-child{ border-bottom: none; }
.prod-group-head{ display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }
.prod-group-head h3{ font-size: 1.3rem; }
.prod-count-badge{ font-size: 0.8rem; color: var(--ink-soft); font-weight: 600; }

.prod-cards{ display: flex; flex-wrap: wrap; gap: 18px; }
.pcard{ flex: 1 1 calc(25% - 14px); min-width: 210px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--white); }
.pcard .photo{ height: 110px; overflow: hidden; background: var(--paper); }
.pcard .photo img{ width: 100%; height: 100%; object-fit: cover; }
.pcard .body{ padding: 16px 16px; }
.pcard h4{ font-family: var(--font-display); font-size: 0.95rem; font-weight: 700; margin: 0 0 6px; }
.pcard p{ font-size: 0.82rem; margin: 0 0 8px; }
.pcard .tags{ display: flex; gap: 6px; flex-wrap: wrap; }
.pcard .tag{ font-size: 0.68rem; background: var(--red-tint); color: var(--red-dark); padding: 3px 9px; border-radius: 999px; font-weight: 700; }

table.prod-table{ width: 100%; border-collapse: collapse; background: var(--white); }
table.prod-table th{ text-align: left; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--ink-soft); font-weight: 700; padding: 10px 14px; background: var(--paper); }
table.prod-table td{ padding: 10px 14px; border-top: 1px solid var(--line); font-size: 0.87rem; }
table.prod-table .pname{ font-weight: 700; color: var(--black); }
table.prod-table .cas{ color: var(--ink-soft); white-space: nowrap; font-variant-numeric: tabular-nums; }
.table-2col{ display: flex; gap: 20px; flex-wrap: wrap; }
.table-2col > div{ flex: 1 1 340px; min-width: 280px; overflow-x: auto; }

.note-box{ margin-top: 26px; background: var(--paper); border: 1px dashed var(--line); border-radius: var(--radius); padding: 18px 22px; font-size: 0.88rem; }

/* Partners */
.partners-frame{ background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; margin-top: 30px; box-shadow: var(--shadow-sm); }

/* Reach */
.reach-split{ display: flex; gap: clamp(28px,5vw,60px); align-items: center; margin-top: 30px; }
.reach-split > div{ flex: 1 1 0; min-width: 280px; }
.market-list{ list-style: none; margin: 20px 0 0; padding: 0; display: flex; flex-wrap: wrap; }
.market-list li{ font-weight: 600; color: var(--black); font-size: 0.94rem; display: flex; align-items: center; gap: 8px; margin-right: 26px; margin-bottom: 10px; }
.market-list li::before{ content:""; width: 8px; height: 8px; background: var(--red); border-radius: 2px; flex-shrink: 0; }
.map-frame{ position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.map-frame img{ width: 100%; display: block; }
.map-badge{ position: absolute; right: 24px; bottom: 24px; background: var(--black); color: var(--white); border-radius: 12px; padding: 16px 22px; text-align: center; }
.map-badge .num{ font-family: var(--font-display); font-weight: 800; font-size: 1.6rem; color: var(--red); display: block; }
.map-badge .label{ font-size: 0.7rem; letter-spacing: 0.05em; }
@media (max-width: 860px){ .reach-split{ flex-direction: column; } }

/* Contact */
.contact-grid{ display: flex; flex-wrap: wrap; gap: 20px; margin-top: 40px; }
.contact-grid > .card{ flex: 1 1 calc(25% - 15px); min-width: 200px; }
.contact-grid .k{ font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--red); font-weight: 700; margin-bottom: 6px; }
.contact-grid .v{ font-weight: 600; color: var(--white); }
.contact-form{ margin-top: 44px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.15); border-radius: var(--radius); padding: 34px; }
.field{ margin-bottom: 16px; }
.field label{ display: block; font-size: 0.78rem; font-weight: 700; margin-bottom: 6px; color: #fff; }
.field input, .field select, .field textarea{ width: 100%; border: 1px solid rgba(255,255,255,0.25); border-radius: 8px; padding: 10px 14px; background: rgba(255,255,255,0.06); color: #fff; font-family: var(--font-body); font-size: 0.9rem; }
.field input::placeholder, .field textarea::placeholder{ color: rgba(255,255,255,0.4); }
.field-row{ display: flex; gap: 14px; }
.field-row > .field{ flex: 1 1 0; }
@media (max-width: 700px){ .field-row{ flex-direction: column; } }

/* Footer */
.site-footer{ background: var(--black-2); color: rgba(255,255,255,0.6); padding: 50px 0 24px; font-size: 0.85rem; }
.footer-bottom{ margin-top: 30px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,0.12); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; font-size: 0.78rem; }
