/* AGP — Aluminium Granulated Products cc
   Colours and type follow the 2026 brochure: navy, copper and warm paper. */

:root {
  --ink: #101827;
  --navy: #17223a;
  --navy-2: #1e2b47;
  --copper: #cc8a3a;
  --copper-deep: #9c5a1c;
  --paper: #f7f5f0;
  --white: #ffffff;
  --text: #2a303d;
  --muted: #646b78;
  --on-dark: #c9ceda;
  --line: #ddd8ce;
  --line-dark: rgba(255, 255, 255, 0.12);

  --font-head: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Barlow", "Helvetica Neue", Arial, sans-serif;

  --wrap: 1180px;
  --gutter: 24px;
  --radius: 2px;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }

[hidden] { display: none !important; }

a { color: inherit; }

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.015em;
  color: var(--ink);
}

h1 { font-size: clamp(2.3rem, 5vw, 3.9rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.2rem; letter-spacing: -0.005em; }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

.skip-link {
  position: absolute; left: -9999px; top: 8px; z-index: 100;
  background: var(--copper); color: var(--ink); padding: 8px 14px; font-weight: 600;
}
.skip-link:focus { left: 8px; }

:focus-visible { outline: 2px solid var(--copper); outline-offset: 3px; }

/* ---------- Eyebrow, buttons, small parts ---------- */

.eyebrow {
  display: block;
  margin-bottom: 14px;
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--copper-deep);
}
.dark .eyebrow, .hero .eyebrow, .page-hero .eyebrow { color: var(--copper); }

.lead { font-size: 1.15rem; line-height: 1.7; color: var(--muted); max-width: 40em; }
.dark .lead, .hero .lead, .page-hero .lead { color: var(--on-dark); }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 24px;
  border: 2px solid var(--copper);
  border-radius: var(--radius);
  background: var(--copper);
  color: var(--ink);
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.btn:hover { background: #dc9d4f; border-color: #dc9d4f; }
.btn-ghost { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, 0.35); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.08); border-color: var(--white); }
.btn-dark { background: var(--ink); border-color: var(--ink); color: var(--white); }
.btn-dark:hover { background: var(--navy-2); border-color: var(--navy-2); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.text-link {
  font-family: var(--font-head); font-weight: 600; font-size: 0.95rem;
  color: var(--copper-deep); text-decoration: none; border-bottom: 2px solid currentColor;
}
.dark .text-link { color: var(--copper); }
.text-link:hover { color: var(--ink); }
.dark .text-link:hover { color: var(--white); }

.rule { border: 0; border-top: 2px solid var(--ink); margin: 0 0 24px; }

/* ---------- Header ---------- */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--ink);
  border-bottom: 1px solid var(--line-dark);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  height: var(--header-h);
}
.brand { display: flex; align-items: center; text-decoration: none; }
.brand img { width: 168px; height: auto; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  padding: 8px 14px;
  font-family: var(--font-head); font-size: 0.92rem; font-weight: 500;
  color: var(--on-dark); text-decoration: none;
  border-bottom: 2px solid transparent;
}
.nav a:hover { color: var(--white); }
.nav a[aria-current="page"] { color: var(--white); border-bottom-color: var(--copper); }
.nav .btn { margin-left: 12px; padding: 10px 18px; color: var(--ink); border-bottom: 2px solid var(--copper); }

.nav-toggle {
  display: none;
  width: 44px; height: 44px; padding: 0;
  background: transparent; border: 1px solid var(--line-dark); border-radius: var(--radius);
  color: var(--white); cursor: pointer;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 20px; height: 2px; margin: 0 auto; background: currentColor; position: relative;
  transition: transform 0.2s, background 0.2s;
}
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Sections ---------- */

.section { padding: 96px 0; }
.section-tight { padding: 64px 0; }
.section.white { background: var(--white); }
.dark { background: var(--ink); color: var(--on-dark); }
.dark h1, .dark h2, .dark h3 { color: var(--white); }
.navy { background: var(--navy); }

.section-head { max-width: 760px; margin-bottom: 48px; }
.section-head h2 + .lead { margin-top: 18px; }

.copper-line { height: 4px; background: var(--copper); }

/* ---------- Hero ---------- */

.hero { background: var(--ink); color: var(--on-dark); overflow: hidden; }
.hero .wrap {
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 64px; align-items: stretch;
}
.hero-copy { padding: 104px 0 96px; }
.hero h1 { color: var(--white); margin-bottom: 24px; }
.hero-media { position: relative; min-height: 520px; margin-right: calc(var(--gutter) * -1); }
.hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-badge {
  position: absolute; left: 0; bottom: 0;
  padding: 18px 22px; background: var(--copper); color: var(--ink);
  font-family: var(--font-head); font-weight: 700; font-size: 1.6rem; line-height: 1.2;
}
.hero-badge small { display: block; font-weight: 600; font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; }

.page-hero { background: var(--ink); color: var(--on-dark); padding: 88px 0 72px; }
.page-hero h1 { color: var(--white); max-width: 16em; margin-bottom: 20px; }

/* ---------- Stats ---------- */

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line-dark); }
.stat { background: var(--navy); padding: 32px 28px; }
.stat strong {
  display: block; margin-bottom: 4px;
  font-family: var(--font-head); font-size: 1.75rem; font-weight: 700; color: var(--copper); line-height: 1.2;
}
.stat span { font-size: 0.95rem; color: var(--on-dark); }

.stats-light { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 40px; }
.stats-light .stat { background: var(--ink); }

/* ---------- Grids and cards ---------- */

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split.top { align-items: start; }
.split-wide { grid-template-columns: 1.2fr 0.8fr; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

.card {
  display: flex; flex-direction: column;
  background: var(--white); border: 1px solid var(--line); border-top: 3px solid var(--copper);
  padding: 32px 28px;
}
.card .num {
  font-family: var(--font-head); font-weight: 700; font-size: 0.85rem; letter-spacing: 0.12em;
  color: var(--copper-deep); margin-bottom: 18px;
}
.card h3 { margin-bottom: 12px; }
.card p { color: var(--muted); }
.card ul { margin: 0; padding: 0; list-style: none; color: var(--muted); }
.card li { padding: 10px 0; border-top: 1px solid var(--line); }
.card li:first-child { border-top: 0; padding-top: 0; }
.card li strong { color: var(--ink); font-weight: 600; }
.card .text-link { margin-top: auto; align-self: flex-start; }
.card p + .text-link, .card ul + .text-link { margin-top: 24px; }

.photo { position: relative; background: var(--navy); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo.tall { aspect-ratio: 4 / 5; }
.photo.wide { aspect-ratio: 16 / 9; }
.photo.banner { aspect-ratio: 8 / 3; }
/* The people photos are small originals, so they are kept near their native size to stay sharp. */
.photo.round { aspect-ratio: 1; border-radius: 50%; overflow: hidden; max-width: 360px; }
.photo.team { max-width: 700px; }
.photo figcaption, figure.photo + .caption, .caption {
  margin-top: 12px; font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted);
}
figure { margin: 0; }

/* ---------- Process steps ---------- */

.steps { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 56px; counter-reset: step; }
.step { display: grid; grid-template-columns: 56px 1fr; gap: 8px; padding: 24px 0; border-top: 1px solid var(--line); }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  font-family: var(--font-head); font-weight: 700; font-size: 1.35rem; color: var(--copper); line-height: 1.3;
}
.step h3 { margin-bottom: 6px; }
.step p { color: var(--muted); }
.dark .step { border-top-color: var(--line-dark); }
.dark .step p { color: var(--on-dark); }

.flow { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1px; background: var(--line-dark); margin-top: 8px; }
.flow li {
  list-style: none; background: var(--navy); padding: 24px 18px;
  font-family: var(--font-head); font-weight: 600; font-size: 0.95rem; color: var(--white); line-height: 1.3;
}
.flow li span { display: block; margin-bottom: 10px; font-size: 0.8rem; color: var(--copper); letter-spacing: 0.1em; }
.flow { padding: 0; margin-bottom: 0; }

.callout {
  background: var(--ink); color: var(--on-dark); padding: 28px 32px; margin-top: 48px;
  border-left: 4px solid var(--copper);
}
.callout strong { color: var(--copper); font-family: var(--font-head); }

blockquote.pull {
  margin: 48px 0 0; padding: 4px 0 4px 28px; border-left: 4px solid var(--copper);
  font-family: var(--font-head); font-weight: 500; font-size: clamp(1.2rem, 2.2vw, 1.5rem); line-height: 1.45; color: var(--ink);
}

/* ---------- Tables ---------- */

.table-tools { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.table-tools label { display: block; font-family: var(--font-head); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink); margin-bottom: 6px; }
.table-tools input {
  width: 260px; max-width: 100%; padding: 12px 14px;
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--white);
  font: inherit; font-size: 1rem; color: var(--ink);
}
.table-tools input:focus { outline: 2px solid var(--copper); outline-offset: 0; border-color: var(--copper); }
.table-note { font-size: 0.92rem; color: var(--muted); }

.size-tables { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: start; }

.data {
  width: 100%; border-collapse: collapse; background: var(--white);
  font-size: 0.92rem; font-variant-numeric: tabular-nums;
}
.data caption {
  caption-side: top; text-align: left; padding: 12px 14px;
  background: var(--ink); color: var(--white);
  font-family: var(--font-head); font-weight: 600; font-size: 0.85rem;
}
.data th, .data td { padding: 8px 14px; text-align: left; border-bottom: 1px solid #ebe7df; }
.data thead th {
  font-family: var(--font-head); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--muted); background: #fbfaf7;
}
.data td:last-child, .data th:last-child { text-align: right; }
.data tbody tr:hover { background: #fdf6ec; }
.data tr[hidden] { display: none; }
.size-block { break-inside: avoid; margin-bottom: 24px; }
.no-match { display: none; padding: 16px; background: var(--white); border: 1px dashed var(--line); color: var(--muted); }
.no-match.show { display: block; }

.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.props td, .props th { white-space: nowrap; text-align: left !important; }

/* ---------- CTA band ---------- */

.cta-band { background: var(--copper); color: var(--ink); padding: 56px 0; }
.cta-band .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.cta-band h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); max-width: 22em; }
.cta-band p { margin: 8px 0 0; font-size: 1.05rem; }

/* ---------- Contact ---------- */

.contact-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px 32px; }
.contact-item h3 {
  font-size: 0.78rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted);
  font-weight: 600; margin-bottom: 10px;
}
.contact-item p, .contact-item a { font-size: 1.05rem; color: var(--ink); }
.contact-item a { text-decoration: none; border-bottom: 1px solid var(--line); }
.contact-item a:hover { border-bottom-color: var(--copper); }
.contact-item .who { display: block; font-size: 0.9rem; color: var(--muted); }

.people { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 8px; }
.person {
  display: flex; flex-wrap: wrap; align-content: flex-start; gap: 8px;
  background: var(--white); border: 1px solid var(--line); padding: 24px;
}
.person h3, .person .role { flex-basis: 100%; }
.person h3 { margin-bottom: -4px; }
.person .role { color: var(--muted); font-size: 0.95rem; margin-bottom: 8px; }
.person .btn { padding: 10px 14px; gap: 8px; font-size: 0.88rem; }

.map { position: relative; aspect-ratio: 16 / 9; background: var(--navy); border: 1px solid var(--line); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- WhatsApp ---------- */

/* WhatsApp's brand green (#25D366) with the official white glyph, unmodified. */
.btn-wa { background: #25D366; border-color: #25D366; color: var(--white); }
.btn-wa:hover { background: #1fbf5b; border-color: #1fbf5b; }
.btn-wa svg { width: 18px; height: 18px; flex: none; }

.wa-float {
  position: fixed; right: 24px; bottom: 24px; z-index: 60;
  display: flex; align-items: center; justify-content: center;
  width: 60px; height: 60px;
  background: #25D366; color: var(--white);
  border-radius: 50%;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  transition: transform 0.15s, box-shadow 0.15s;
}
.wa-float:hover { transform: scale(1.08); box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3); }
.wa-float svg { width: 34px; height: 34px; }
.wa-float span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Footer ---------- */

.site-footer { background: var(--ink); color: var(--on-dark); font-size: 0.95rem; }
.footer-main { display: grid; grid-template-columns: 1.4fr 1fr 1fr 0.8fr; gap: 40px; padding-top: 72px; padding-bottom: 56px; }
.footer-main h4 {
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--white); margin-bottom: 16px;
}
.footer-main p { margin: 0 0 6px; }
.footer-main a { color: var(--on-dark); text-decoration: none; }
.footer-main a:hover { color: var(--copper); }
.footer-main ul { list-style: none; margin: 0; padding: 0; }
.footer-main li { margin-bottom: 6px; }
.footer-brand img { width: 190px; margin-bottom: 20px; }
.footer-brand p { max-width: 24em; }
.footer-bottom { border-top: 1px solid var(--line-dark); padding: 20px 0 28px; font-size: 0.82rem; color: #8b93a5; }
.footer-bottom .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }

/* ---------- Responsive ---------- */

@media (max-width: 1080px) {
  .nav a { padding: 8px 10px; }
  .flow { grid-template-columns: repeat(3, 1fr); }
  .footer-main { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 960px) {
  :root { --header-h: 64px; }
  .nav-toggle { display: block; }
  .nav {
    display: none;
    position: absolute; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--ink); border-bottom: 1px solid var(--line-dark); padding: 8px var(--gutter) 20px;
  }
  .nav-open .nav { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line-dark); font-size: 1rem; }
  .nav a[aria-current="page"] { border-bottom-color: var(--line-dark); color: var(--copper); }
  .nav .btn { margin: 16px 0 0; justify-content: center; }

  .hero .wrap { grid-template-columns: 1fr; gap: 0; }
  .hero-copy { padding: 72px 0 48px; }
  .hero-media { min-height: 360px; margin: 0 calc(var(--gutter) * -1); }

  .split, .split-wide { grid-template-columns: 1fr; gap: 40px; }
  .cards { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .size-tables { grid-template-columns: 1fr; }
  .section { padding: 72px 0; }
}

@media (max-width: 640px) {
  :root { --gutter: 16px; }
  body { font-size: 16px; }
  .brand img { width: 136px; }
  .stats-light { grid-template-columns: 1fr; }
  .stat { padding: 24px 20px; }
  .stat strong { font-size: 1.45rem; }
  .flow { grid-template-columns: repeat(2, 1fr); }
  .contact-grid, .people { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr; gap: 32px; padding-top: 56px; padding-bottom: 40px; }
  .section { padding: 56px 0; }
  .page-hero { padding: 64px 0 48px; }
  .btn-row .btn { flex: 1 1 auto; justify-content: center; }
  .callout { padding: 24px 20px; }
  .wa-float { right: 16px; bottom: 16px; width: 56px; height: 56px; }
  .wa-float svg { width: 32px; height: 32px; }
  .footer-bottom { padding-bottom: 96px; }
}
