/* ==========================================================================
   PowerTech — shared stylesheet
   Design language: DM Sans (body/display) + DM Mono (data/eyebrows)
   Palette: hybrid — true logo blue/red on the mark; deepened royal blue for UI
   ========================================================================== */

:root {
  /* Brand */
  --blue:       #0b2c86;   /* deepened royal — large UI fills */
  --blue-deep:  #071e5e;   /* darker: hovers, footer */
  --logo-blue:  #0d0dc8;   /* true logo blue — fine accents only */
  --red:        #e30613;   /* true logo red */
  --red-deep:   #b8040f;

  /* Neutrals */
  --black:      #14161c;
  --ink:        #1a1a1a;
  --white:      #ffffff;
  --off-white:  #f6f7f9;
  --panel:      #f1f3f7;
  --gray:       #667085;
  --gray-soft:  #5f6875;
  --line:       #e4e7ec;

  /* Type */
  --sans: 'DM Sans', system-ui, -apple-system, sans-serif;
  --mono: 'DM Mono', ui-monospace, 'SFMono-Regular', monospace;

  /* Rhythm */
  --pad-x: 4rem;
  --maxw: 1200px;
  --radius: 4px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--white);
  color: var(--ink);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }

::selection { background: var(--blue); color: #fff; }

/* ---- Shared utilities --------------------------------------------------- */
.wrap { max-width: var(--maxw); margin: 0 auto; }

.eyebrow {
  font-family: var(--mono);
  font-size: 0.72rem; font-weight: 500;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--red); margin-bottom: 0.7rem;
}

.section { padding: 5.5rem var(--pad-x); }
.section-head { max-width: 620px; margin-bottom: 3rem; }
.section-title {
  font-size: clamp(1.6rem, 3vw, 2.15rem); font-weight: 700;
  line-height: 1.15; letter-spacing: -0.02em; color: var(--black);
  margin-bottom: 0.8rem;
}
.section-desc { color: var(--gray); font-size: 1rem; }

.divider { height: 1px; background: var(--line); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.8rem 1.7rem; border-radius: var(--radius);
  font-family: var(--sans); font-weight: 600; font-size: 0.85rem;
  text-decoration: none; cursor: pointer; border: 1.5px solid transparent;
  transition: background .2s, border-color .2s, color .2s, transform .2s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-deep); }
.btn-outline { background: transparent; color: var(--black); border-color: var(--line); }
.btn-outline:hover { border-color: var(--black); }
.btn-ghost-light { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.28); }
.btn-ghost-light:hover { background: rgba(255,255,255,.2); }
.btn .arrow { transition: transform .2s; }
.btn:hover .arrow { transform: translateX(3px); }

/* ---- Navigation --------------------------------------------------------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.9rem var(--pad-x);
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .2s;
}
.nav.scrolled { box-shadow: 0 1px 14px rgba(0,0,0,0.07); }
.nav-logo { display: flex; align-items: center; }
.nav-logo svg, .nav-logo img { height: 66px; width: auto; }
.nav-menu { display: flex; align-items: center; gap: 2.2rem; list-style: none; }
.nav-menu a {
  color: var(--gray); text-decoration: none;
  font-size: 0.85rem; font-weight: 500; letter-spacing: .2px;
  transition: color .2s; position: relative; padding: 0.2rem 0;
}
.nav-menu a:hover { color: var(--black); }
.nav-menu a.active { color: var(--blue); }
.nav-menu a.active::after {
  content:''; position:absolute; left:0; right:0; bottom:-4px; height:2px; background:var(--red);
}
.nav-right { display: flex; align-items: center; gap: 1.4rem; }
.nav-cta { }

/* Hamburger */
.nav-toggle {
  display: none; width: 42px; height: 42px; border: 1px solid var(--line);
  border-radius: var(--radius); background: #fff; cursor: pointer;
  align-items: center; justify-content: center; flex-direction: column; gap: 4px;
}
.nav-toggle span { width: 18px; height: 2px; background: var(--black); transition: transform .25s, opacity .2s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---- Hero --------------------------------------------------------------- */
.hero {
  position: relative; overflow: hidden;
  padding: 9.5rem var(--pad-x) 5.5rem;
  background: var(--white);
}
.hero::before { /* faint grid-globe echo of the logo */
  content:''; position:absolute; right:-6%; top:50%; transform: translateY(-50%);
  width: 640px; height: 640px; pointer-events:none; opacity:.05;
  background-image:
    radial-gradient(circle at center, transparent 66%, var(--logo-blue) 66.4%, transparent 68%),
    repeating-linear-gradient(to bottom, var(--logo-blue) 0 1.5px, transparent 1.5px 64px);
  -webkit-mask: radial-gradient(circle at center, #000 68%, transparent 69%);
          mask: radial-gradient(circle at center, #000 68%, transparent 69%);
}
.hero-inner { position: relative; max-width: 760px; }
.hero h1 {
  font-size: clamp(2.1rem, 5vw, 3.35rem); font-weight: 700;
  line-height: 1.1; letter-spacing: -0.025em; color: var(--black);
  margin-bottom: 1.3rem;
}
.hero h1 em { font-style: normal; color: var(--blue); }
.hero p { font-size: 1.12rem; color: var(--gray); max-width: 560px; margin-bottom: 2.2rem; }
.hero-cta { display: flex; gap: 0.9rem; flex-wrap: wrap; }

/* ---- Stats -------------------------------------------------------------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; padding: 3rem var(--pad-x); max-width: calc(var(--maxw) + 2 * var(--pad-x)); }
.stat-number { font-family: var(--mono); font-size: 2.4rem; font-weight: 500; color: var(--blue); letter-spacing: -1px; }
.stat-label { font-size: 0.82rem; color: var(--gray); margin-top: 0.15rem; }

/* ---- Sectors ------------------------------------------------------------ */
.sectors { background: var(--off-white); }
.sector-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.sector-item { background: var(--off-white); padding: 2.4rem; }
.sector-num { font-family: var(--mono); font-size: 0.75rem; color: var(--red); letter-spacing: 1px; margin-bottom: 0.8rem; }
.sector-item h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 0.5rem; }
.sector-item p { color: var(--gray); font-size: 0.88rem; }

/* ---- Solutions / product lines ------------------------------------------ */
.solution-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
.solution-card {
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 2rem 1.7rem; transition: border-color .2s, box-shadow .2s, transform .2s;
  background: #fff;
}
.solution-card:hover { border-color: var(--blue); box-shadow: 0 6px 22px rgba(11,44,134,.08); transform: translateY(-3px); }
.solution-icon {
  width: 40px; height: 40px; background: var(--blue); color: #fff;
  border-radius: var(--radius); display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.1rem; font-size: 1.15rem;
}
.solution-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 0.5rem; }
.solution-card p { color: var(--gray); font-size: 0.86rem; line-height: 1.6; }

/* ---- Services (procurement) — basetek-style grid ------------------------ */
.services { background: var(--off-white); }
.service-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.service-item { background: #fff; padding: 2.3rem 2.1rem; display: flex; gap: 1.2rem; transition: background .2s; }
.service-item:hover { background: var(--panel); }
.service-ico {
  flex: 0 0 auto; width: 44px; height: 44px; border-radius: var(--radius);
  border: 1.5px solid var(--blue); color: var(--blue);
  display: flex; align-items: center; justify-content: center;
}
.service-ico svg { width: 22px; height: 22px; }
.service-item h3 { font-size: 1.02rem; font-weight: 700; margin-bottom: 0.35rem; }
.service-item p { color: var(--gray); font-size: 0.88rem; }

/* ---- Gallery ------------------------------------------------------------ */
.gallery { background: var(--white); }
.gallery-tabs { display: flex; gap: 0; margin-bottom: 2rem; border-bottom: 1.5px solid var(--line); flex-wrap: wrap; }
.gallery-tab {
  padding: 0.7rem 1.5rem; font-size: 0.85rem; font-weight: 600; color: var(--gray);
  background: none; border: none; cursor: pointer; position: relative; transition: color .2s;
  font-family: var(--sans);
}
.gallery-tab::after { content:''; position:absolute; left:0; right:0; bottom:-1.5px; height:2px; background:var(--blue); transform:scaleX(0); transition:transform .2s; }
.gallery-tab:hover { color: var(--black); }
.gallery-tab.active { color: var(--blue); }
.gallery-tab.active::after { transform: scaleX(1); }
.gallery-panel { display: none; }
.gallery-panel.active { display: block; }
.gallery-carousel { position: relative; overflow: hidden; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; }
.gallery-track { display: flex; transition: transform .4s ease; }
.gallery-slide { min-width: 100%; display: flex; align-items: center; justify-content: center; background: #fff; padding: 1rem; }
.gallery-slide img { max-width: 100%; max-height: 480px; object-fit: contain; }
.gallery-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 42px; height: 42px; border-radius: 50%; background: rgba(255,255,255,.92);
  border: 1px solid var(--line); display: flex; align-items: center; justify-content: center;
  cursor: pointer; font-size: 1.1rem; color: var(--black); transition: background .2s, box-shadow .2s; z-index: 2;
}
.gallery-nav:hover { background: #fff; box-shadow: 0 2px 10px rgba(0,0,0,.1); }
.gallery-nav.prev { left: 12px; } .gallery-nav.next { right: 12px; }
.gallery-dots { display: flex; justify-content: center; gap: 6px; padding: 1rem 0; }
.gallery-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--line); border: none; cursor: pointer; transition: background .2s; }
.gallery-dot.active { background: var(--blue); }
.gallery-empty { padding: 4rem 2rem; text-align: center; color: var(--gray); font-size: 0.9rem; background: #fff; border: 1px dashed var(--line); border-radius: var(--radius); }

/* ---- References --------------------------------------------------------- */
.ref-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.4rem; }
.ref-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.9rem; transition: box-shadow .2s, transform .2s; }
.ref-card:hover { box-shadow: 0 4px 18px rgba(0,0,0,.06); transform: translateY(-2px); }
.ref-card h3 { font-size: 0.98rem; font-weight: 700; margin-bottom: 0.4rem; }
.ref-card p { color: var(--gray); font-size: 0.86rem; margin-bottom: 0.7rem; }
.ref-value { font-family: var(--mono); display: inline-block; font-size: 0.72rem; color: var(--blue); background: rgba(11,44,134,.06); padding: 0.28rem 0.6rem; border-radius: 2px; }

/* ---- Why ---------------------------------------------------------------- */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem 2.4rem; }
.why-item { padding-left: 1.2rem; border-left: 3px solid var(--line); transition: border-color .2s; }
.why-item:hover { border-left-color: var(--red); }
.why-item h4 { font-size: 0.95rem; font-weight: 700; margin-bottom: 0.3rem; }
.why-item p { color: var(--gray); font-size: 0.86rem; }

/* ---- Sustainability teaser (home) --------------------------------------- */
.eco-teaser { background: var(--blue); color: #fff; }
.eco-teaser .wrap { display: grid; grid-template-columns: 1.2fr 1fr; gap: 3rem; align-items: center; }
.eco-teaser .eyebrow { color: #9fd0ff; }
.eco-teaser h2 { font-size: clamp(1.6rem,3vw,2.15rem); font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; margin-bottom: 1rem; }
.eco-teaser p { color: rgba(255,255,255,.82); margin-bottom: 1.6rem; }
.eco-card {
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16);
  border-radius: 8px; padding: 1.8rem;
}
.eco-card .mono-label { font-family: var(--mono); font-size: .7rem; letter-spacing: 1px; text-transform: uppercase; color: #9fd0ff; }
.eco-card .eco-name { font-size: 1.5rem; font-weight: 700; margin: 0.2rem 0 0.9rem; }
.eco-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.eco-stats .n { font-family: var(--mono); font-size: 1.25rem; }
.eco-stats .l { font-size: .75rem; color: rgba(255,255,255,.7); }

/* ---- CTA band ----------------------------------------------------------- */
.cta-band { background: var(--off-white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 3.2rem var(--pad-x); }
.cta-band .wrap { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.cta-band h2 { font-size: clamp(1.4rem,2.6vw,1.9rem); font-weight: 700; letter-spacing: -0.02em; }
.cta-band p { color: var(--gray); margin-top: 0.3rem; }

/* ---- Page hero (interior pages) ----------------------------------------- */
.page-hero { padding: 8.5rem var(--pad-x) 3.5rem; background: var(--off-white); border-bottom: 1px solid var(--line); }
.page-hero .wrap { max-width: 760px; margin-left: 0; margin-right: auto; }
.page-hero h1 { font-size: clamp(2rem, 4vw, 2.9rem); font-weight: 700; letter-spacing: -0.025em; line-height: 1.1; margin-bottom: 0.9rem; color: var(--black); }
.page-hero p { color: var(--gray); font-size: 1.06rem; max-width: 620px; }

/* ---- Leadership (about) ------------------------------------------------- */
.leaders { display: grid; grid-template-columns: 1.1fr 1fr; gap: 3rem; align-items: center; }
.leaders-photo { border-radius: 8px; overflow: hidden; border: 1px solid var(--line); }
.leaders-photo img { width: 100%; height: 100%; object-fit: cover; }
.leader-list { list-style: none; margin-top: 1.4rem; display: grid; gap: 1rem; }
.leader-list li { padding-left: 1rem; border-left: 3px solid var(--red); }
.leader-list .name { font-weight: 700; }
.leader-list .role { font-family: var(--mono); font-size: .78rem; color: var(--gray); letter-spacing: .3px; }

/* ---- Spec table (products) ---------------------------------------------- */
.spec-wrap { border: 1px solid var(--line); border-radius: var(--radius); overflow-x: auto; }
table.spec { width: 100%; border-collapse: collapse; font-size: 0.88rem; min-width: 560px; }
table.spec th, table.spec td { text-align: left; padding: 0.85rem 1.1rem; border-bottom: 1px solid var(--line); }
table.spec thead th { font-family: var(--mono); font-size: .72rem; text-transform: uppercase; letter-spacing: 1px; color: var(--gray); background: var(--off-white); }
table.spec tbody tr:last-child td { border-bottom: none; }
table.spec td.mono { font-family: var(--mono); }

/* ---- Contact ------------------------------------------------------------ */
.contact-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 3.5rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-size: .78rem; font-weight: 600; color: var(--black); margin-bottom: 0.4rem; }
.field input, .field select, .field textarea {
  width: 100%; padding: 0.75rem 0.9rem; font-family: var(--sans); font-size: 0.9rem;
  border: 1px solid var(--line); border-radius: var(--radius); background: #fff; color: var(--ink); transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(11,44,134,.1); }
.field textarea { resize: vertical; min-height: 130px; }
.form-note { font-size: .78rem; color: var(--gray-soft); margin-top: 0.6rem; }
.locations { display: grid; gap: 1.3rem; }
.loc { padding: 1.3rem 1.4rem; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.loc.hq { border-left: 3px solid var(--red); }
.loc .city { font-weight: 700; font-size: 0.95rem; }
.loc .tag { font-family: var(--mono); font-size: .66rem; letter-spacing: 1px; text-transform: uppercase; color: var(--red); margin-left: .4rem; }
.loc address { font-style: normal; color: var(--gray); font-size: 0.84rem; margin-top: 0.3rem; line-height: 1.6; }

/* ---- Footer ------------------------------------------------------------- */
.footer { background: var(--blue-deep); color: #fff; padding: 3.5rem var(--pad-x) 2rem; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; padding-bottom: 2.5rem; border-bottom: 1px solid rgba(255,255,255,.14); }
.footer-brand img { height: 34px; margin-bottom: 1rem; }
.footer-brand p { color: rgba(255,255,255,.7); font-size: 0.85rem; max-width: 300px; }
.footer-brand .motto { font-family: var(--mono); color: #fff; font-size: .8rem; margin-top: 0.9rem; letter-spacing: .3px; }
.footer-col h5 { font-family: var(--mono); font-size: .72rem; text-transform: uppercase; letter-spacing: 1px; color: rgba(255,255,255,.55); margin-bottom: 0.9rem; }
.footer-col ul { list-style: none; display: grid; gap: 0.55rem; }
.footer-col a { color: rgba(255,255,255,.82); text-decoration: none; font-size: 0.86rem; transition: color .2s; }
.footer-col a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-top: 1.5rem; }
.footer-bottom span { font-size: 0.76rem; color: rgba(255,255,255,.55); }

/* ---- Products page ------------------------------------------------------ */
.prodnav { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.chip {
  font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.5px; text-transform: uppercase;
  padding: 0.5rem 0.95rem; border: 1px solid var(--line); border-radius: 100px;
  color: var(--gray); text-decoration: none; transition: border-color .2s, color .2s;
}
.chip:hover { border-color: var(--blue); color: var(--blue); }

.prod {
  display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center;
  padding: 3.5rem 0; border-bottom: 1px solid var(--line); scroll-margin-top: 90px;
}
.prod:last-child { border-bottom: none; }
.prod.reverse .prod-figure { order: 2; }
.prod-figure { border-radius: 8px; overflow: hidden; border: 1px solid var(--line); background: var(--off-white); }
.prod-figure img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.prod-body .own-badge, .prod-body .eyebrow { margin-bottom: 0.3rem; }
.prod-body h2 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); font-weight: 700; letter-spacing: -0.02em; margin: 0.3rem 0 0.8rem; }
.prod-body > p { color: var(--gray); margin-bottom: 1.2rem; }
.caps { list-style: none; display: grid; gap: 0.55rem; margin-bottom: 1.2rem; }
.caps li { position: relative; padding-left: 1.5rem; font-size: 0.9rem; }
.caps li::before { content: ''; position: absolute; left: 0; top: 0.5em; width: 8px; height: 8px; border: 2px solid var(--red); border-radius: 2px; }
.principals { font-size: 0.8rem; color: var(--gray-soft); }
.principals strong { color: var(--black); font-weight: 600; }
.own-badge {
  display: inline-block; font-family: var(--mono); font-size: 0.66rem; letter-spacing: 1px;
  text-transform: uppercase; color: #fff; background: var(--red); padding: 0.25rem 0.6rem; border-radius: 3px;
}
.refshots { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin: 1.4rem 0 0.4rem; }
.refshot { border: 1px solid var(--line); border-radius: 6px; overflow: hidden; background: #fff; }
.refshot img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.refshot figcaption { font-family: var(--mono); font-size: 0.68rem; color: var(--gray); padding: 0.55rem 0.7rem; letter-spacing: 0.2px; }
.spec-note { font-size: 0.78rem; color: var(--gray-soft); margin-top: 0.7rem; }
.own-panel { background: var(--off-white); border: 1px solid var(--line); border-radius: 8px; padding: 1.8rem; margin-top: 1.6rem; }
.own-panel h3 { font-size: 1.05rem; font-weight: 700; margin: 0.5rem 0 0.3rem; }
.own-panel > p { color: var(--gray); font-size: 0.9rem; margin-bottom: 1rem; }

/* ---- About page --------------------------------------------------------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.about-lead { font-size: 1.08rem; color: var(--ink); margin-bottom: 1.1rem; }
.about-grid p { color: var(--gray); }
.entities { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 1.8rem; }
.entity { border: 1px solid var(--line); border-left: 3px solid var(--blue); border-radius: var(--radius); padding: 1.1rem 1.2rem; background: #fff; }
.entity .en-name { font-weight: 700; font-size: 0.9rem; }
.entity .en-meta { font-family: var(--mono); font-size: 0.72rem; color: var(--gray); margin-top: 0.35rem; letter-spacing: 0.2px; }

.timeline { border-left: 2px solid var(--line); padding-left: 2rem; }
.timeline-item { position: relative; margin-bottom: 2rem; }
.timeline-item:last-child { margin-bottom: 0; }
.timeline-item::before {
  content: ''; position: absolute; left: calc(-2rem - 5px); top: 5px;
  width: 9px; height: 9px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 3px #fff;
}
.timeline-year { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 1px; color: var(--red); margin-bottom: 0.2rem; }
.timeline-item h4 { font-size: 0.98rem; font-weight: 700; margin-bottom: 0.15rem; }
.timeline-item p { color: var(--gray); font-size: 0.88rem; }

.leaders-note { font-family: var(--mono); font-size: 0.72rem; color: var(--gray-soft); margin-top: 0.8rem; }

/* ---- Sustainability page ------------------------------------------------ */
.eco-feature { display: grid; grid-template-columns: 320px 1fr; gap: 3.2rem; align-items: center; }
.eco-mascot { display: flex; justify-content: center; }
.eco-mascot img { width: 100%; max-width: 280px; }
.eco-portrait { position: relative; margin: 0; }
.eco-portrait > img:first-child { width: 100%; border-radius: 10px; border: 1px solid var(--line); display: block; }
.eco-badge { position: absolute; width: 92px; height: 92px; right: -14px; bottom: -14px; background: #fff; border-radius: 50%; padding: 3px; box-shadow: 0 5px 16px rgba(0,0,0,.14); }
.eco-feature h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 700; letter-spacing: -0.02em; margin-bottom: 0.7rem; }
.eco-feature > div > p { color: var(--gray); margin-bottom: 1.3rem; }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.fact { border-left: 2px solid var(--line); padding-left: 0.9rem; }
.fact .n { font-family: var(--mono); font-size: 1.1rem; color: var(--blue); }
.fact .l { font-size: 0.76rem; color: var(--gray); margin-top: 0.1rem; }
.banner-figure { border-radius: 8px; overflow: hidden; border: 1px solid var(--line); }
.banner-figure img { width: 100%; height: 320px; object-fit: cover; }
.credit { font-size: 0.82rem; color: var(--gray-soft); }
.credit a { color: var(--blue); text-decoration: none; }
.credit a:hover { text-decoration: underline; }

/* ---- Partners / principals strip --------------------------------------- */
.partners { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 2.6rem var(--pad-x); }
.partners .wrap { text-align: center; }
.partners .eyebrow { color: var(--gray-soft); }
.partner-row { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 1.4rem 2.6rem; margin-top: 1.1rem; }
.partner-row span { font-weight: 700; font-size: 1.05rem; letter-spacing: 0.4px; color: var(--gray); transition: color .2s; white-space: nowrap; }
.partner-row span:hover { color: var(--blue); }

/* ---- Accessibility ------------------------------------------------------ */
:focus-visible { outline: 2px solid var(--logo-blue); outline-offset: 2px; border-radius: 2px; }
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ---- Responsive --------------------------------------------------------- */
@media (max-width: 1100px) {
  .nav-menu, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .nav-menu.open {
    display: flex; position: fixed; inset: 96px 0 auto 0; flex-direction: column; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line); padding: 0.5rem 1.4rem 1.2rem;
    box-shadow: 0 10px 24px rgba(0,0,0,.08); max-height: calc(100vh - 96px); overflow-y: auto;
  }
  .nav-menu.open li { width: 100%; border-bottom: 1px solid var(--line); }
  .nav-menu.open a { display: block; padding: 0.9rem 0; font-size: 0.95rem; }
  .nav-menu.open a.active::after { display: none; }
}
@media (max-width: 1024px) {
  :root { --pad-x: 2rem; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .solution-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 820px) {
  :root { --pad-x: 1.4rem; }
  .section { padding: 3.5rem var(--pad-x); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .sector-grid, .service-grid, .solution-grid, .ref-grid, .why-grid,
  .eco-teaser .wrap, .leaders, .contact-grid, .prod, .about-grid, .entities,
  .eco-feature { grid-template-columns: 1fr; }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .banner-figure img { height: 220px; }
  .prod.reverse .prod-figure { order: 0; }
  .prod { gap: 1.8rem; padding: 2.5rem 0; }
  .form-row { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 1.8rem; }
  .hero { padding-top: 8rem; }
  .hero::before { display: none; }
}

/* =========================================================================
   Hardening pass — accessibility, tap targets, forms, responsive (≤480px)
   ========================================================================= */

/* Skip link */
.skip-link {
  position: absolute; left: 1rem; top: -60px; z-index: 200;
  background: var(--blue); color: #fff; padding: 0.6rem 1rem; border-radius: var(--radius);
  font-weight: 600; font-size: 0.85rem; text-decoration: none; transition: top .15s;
}
.skip-link:focus { top: 1rem; }

/* Body scroll lock while mobile menu open */
body.menu-open { overflow: hidden; }

/* Minimum interactive area ~44px for primary touch controls */
.nav-toggle { width: 44px; height: 44px; }
.gallery-nav { width: 44px; height: 44px; }
.gallery-tab { min-height: 44px; }
.chip { min-height: 40px; display: inline-flex; align-items: center; }
.btn { min-height: 44px; }
/* Larger hit area for carousel dots without enlarging the visible dot */
.gallery-dots { gap: 2px; }
.gallery-dot { position: relative; width: 8px; height: 8px; }
.gallery-dot::before { content: ''; position: absolute; inset: -12px; }

/* Accessible tabs (ARIA tab pattern) */
.gallery-tab[aria-selected="true"] { color: var(--blue); }
.gallery-tab:focus-visible { outline: 2px solid var(--logo-blue); outline-offset: -2px; }

/* Product spec table — scroll affordance */
.spec-wrap { position: relative; }
.spec-wrap::after {
  content: ''; position: absolute; top: 0; right: 0; width: 34px; height: 100%;
  background: linear-gradient(to right, rgba(255,255,255,0), rgba(20,22,28,0.06));
  pointer-events: none; border-top-right-radius: var(--radius); border-bottom-right-radius: var(--radius);
}
.spec-hint {
  display: none; font-family: var(--mono); font-size: 0.72rem; color: var(--gray);
  margin-bottom: 0.5rem;
}

/* Contact form — error + validation states */
.field input[aria-invalid="true"], .field select[aria-invalid="true"], .field textarea[aria-invalid="true"] {
  border-color: var(--red); box-shadow: 0 0 0 3px rgba(227,6,19,0.10);
}
.field .error { color: var(--red-deep); font-size: 0.78rem; margin-top: 0.35rem; }
.req { color: var(--red); }
.form-lead { font-size: 0.85rem; color: var(--gray); margin: 0.4rem 0 1rem; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 0.8rem 1.4rem; align-items: center; }
.contact-alt { font-size: 0.82rem; color: var(--gray); }
.contact-alt a { color: var(--blue); }
/* Visually-hidden honeypot */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Collapsible technical details (products) — only styled where used */
.prod-details > summary {
  cursor: pointer; font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.5px;
  text-transform: uppercase; color: var(--blue); list-style: none; padding: 0.6rem 0;
  display: inline-flex; align-items: center; gap: 0.4rem; min-height: 44px;
}
.prod-details > summary::-webkit-details-marker { display: none; }
.prod-details > summary::after { content: '+'; font-size: 1rem; }
.prod-details[open] > summary::after { content: '−'; }

/* ---- ≤480px ------------------------------------------------------------- */
@media (max-width: 480px) {
  :root { --pad-x: 1.1rem; }
  body { font-size: 16px; }
  .hero h1 { word-break: normal; overflow-wrap: anywhere; }
  .page-hero h1, .section-title { overflow-wrap: anywhere; }
  /* full-width primary CTAs */
  .hero-cta, .contact-actions { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { width: 100%; justify-content: center; }
  .cta-band .wrap { flex-direction: column; align-items: flex-start; }
  .cta-band .btn { width: 100%; justify-content: center; }
  .btn-primary.nav-cta { display: none; }
  /* stats spacing */
  .stats { gap: 1.4rem 1rem; padding: 2.2rem var(--pad-x); }
  .stat-number { font-size: 2rem; }
  /* gallery tabs: scroll instead of cramming */
  .gallery-tabs { flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .gallery-tab { white-space: nowrap; padding: 0.7rem 1.1rem; }
  /* footer spacing */
  .footer { padding: 2.6rem var(--pad-x) 1.6rem; }
  .footer-top { gap: 1.6rem; }
  /* show spec swipe hint */
  .spec-hint { display: block; }
}

/* Collapse technical detail below tablet */
@media (max-width: 767px) {
  .spec-hint { display: block; }
}

/* Product technical details: collapsible <768, always shown ≥768 */
@media (min-width: 768px) {
  .prod-details > summary { display: none; }
  .prod-details > .caps { display: grid !important; }
}

/* Contact — office grid + per-office contact lines */
.locations.cols { grid-template-columns: 1fr 1fr; gap: 1.3rem; }
.loc-contact { margin-top: 0.7rem; font-size: 0.85rem; line-height: 1.7; }
.loc-contact a { color: var(--blue); text-decoration: none; }
.loc-contact a:hover { text-decoration: underline; }
@media (max-width: 820px) { .locations.cols { grid-template-columns: 1fr; } }

/* Four sectors: 2-up on tablet, stacked on mobile (mobile handled above) */
@media (min-width: 821px) and (max-width: 1100px) { .sector-grid { grid-template-columns: repeat(2, 1fr); } }

/* ESG three-up grid (independent of the 4-up sectors grid) */
.esg-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.esg-grid .sector-item { background: var(--surface, #fff); }
@media (max-width: 820px) { .esg-grid { grid-template-columns: 1fr; } }

/* Code of Business Conduct — embedded PDF viewer */
.pdf-frame { width: 100%; height: 85vh; min-height: 520px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #f6f7f9; }
.pdf-frame object, .pdf-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.pdf-fallback { padding: 2.5rem 1.5rem; text-align: center; color: var(--gray); }
.pdf-fallback a { color: var(--blue); }
@media (max-width: 480px) { .pdf-frame { height: 72vh; min-height: 440px; } }

/* Code of Business Conduct — single-page document image */
.cobc-doc { margin: 0 auto; max-width: 780px; }
.cobc-doc img { width: 100%; height: auto; display: block; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 6px 24px rgba(0,0,0,.06); }
