/* Cogent Turbine Solutions: colours taken from the logo (orange to amber, charcoal). */
:root {
  --ink: #1d1e20;
  --charcoal: #58585a;
  --muted: #6b6c6f;
  --line: #e4e2de;
  --bg: #ffffff;
  --bg-soft: #f6f4f1;
  --orange: #f26b21;
  --orange-dark: #c4510f;
  --red: #e8402a;
  --amber: #fbad26;
  --radius: 12px;
  --shadow: 0 6px 24px rgba(20, 20, 20, .10);
  --font: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font: 17px/1.65 var(--font); color: var(--ink); background: var(--bg); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--orange-dark); }
a:hover { color: var(--red); }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); font-weight: 700; letter-spacing: -.02em; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.2rem); font-weight: 700; letter-spacing: -.015em; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
.wrap { width: min(1120px, 100% - 40px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 0; background: #fff; padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; top: 8px; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 8px 0; }
.brand img { height: 56px; width: auto; }
#nav { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
#nav a:not(.btn) { color: var(--ink); text-decoration: none; font-weight: 600; font-size: .95rem; padding: 8px 12px; border-radius: 8px; }
#nav a:not(.btn):hover, #nav a[aria-current] { background: var(--bg-soft); color: var(--orange-dark); }
.nav-toggle { display: none; font: inherit; font-weight: 600; background: none; border: 1px solid var(--line); border-radius: 8px; padding: 8px 14px; cursor: pointer; }

/* Buttons */
.btn { display: inline-block; font: inherit; font-weight: 700; text-decoration: none; text-align: center; cursor: pointer; border: 0; border-radius: 999px; padding: 13px 26px; color: #fff; background: linear-gradient(135deg, var(--orange), var(--red)); box-shadow: 0 4px 14px rgba(242,107,33,.35); transition: transform .15s, box-shadow .15s; }
.btn:hover { color: #fff; transform: translateY(-1px); box-shadow: 0 8px 20px rgba(242,107,33,.4); }
.btn-small { padding: 8px 16px; font-size: .9rem; margin-left: 8px; }
.btn-ghost { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.7); box-shadow: none; }
.btn-ghost:hover { background: rgba(255,255,255,.12); box-shadow: none; }
.btn-dark { background: var(--ink); box-shadow: none; }

/* Hero */
.hero { position: relative; color: #fff; background: radial-gradient(1200px 500px at 85% -10%, rgba(242,107,33,.45), transparent 60%), radial-gradient(800px 400px at 0% 110%, rgba(251,173,38,.25), transparent 60%), linear-gradient(160deg, #26272a, #141415); padding: clamp(64px, 12vw, 140px) 0; overflow: hidden; }
.hero .eyebrow { color: var(--amber); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: .85rem; margin-bottom: 14px; }
.hero h1 { max-width: 16ch; }
.hero p.lead { font-size: 1.2rem; max-width: 56ch; color: #e7e5e2; }
.hero .actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }
.hero::after { content: ""; position: absolute; right: -120px; top: 50%; width: 520px; height: 520px; transform: translateY(-50%); border-radius: 50%; border: 60px solid rgba(255,255,255,.04); pointer-events: none; }
.page-hero { background: linear-gradient(160deg, #26272a, #141415); color: #fff; padding: clamp(44px, 8vw, 84px) 0; border-bottom: 5px solid var(--orange); }
.page-hero p { color: #d8d6d2; max-width: 60ch; margin: 0; font-size: 1.1rem; }

/* Sections */
section { padding: clamp(48px, 8vw, 88px) 0; }
.soft { background: var(--bg-soft); }
.section-head { max-width: 62ch; margin-bottom: 36px; }
.section-head p { color: var(--muted); font-size: 1.05rem; }
.kicker { color: var(--orange-dark); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; font-size: .8rem; margin-bottom: 8px; }
.grid { display: grid; gap: 22px; }
.g2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.g3 { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.card h3 { margin-bottom: .4em; }
.card .icon { width: 46px; height: 46px; border-radius: 12px; background: linear-gradient(135deg, var(--amber), var(--orange)); display: grid; place-items: center; color: #fff; font-weight: 800; margin-bottom: 14px; }
.ticks { list-style: none; padding: 0; margin: 0; }
.ticks li { padding-left: 28px; position: relative; margin-bottom: .55em; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .5em; width: 14px; height: 8px; border-left: 3px solid var(--orange); border-bottom: 3px solid var(--orange); transform: rotate(-45deg); }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 18px; }
.stat { border-left: 4px solid var(--orange); padding-left: 16px; }
.stat b { display: block; font-size: 1.5rem; }
.stat span { color: var(--muted); font-size: .95rem; }
.cta-band { background: linear-gradient(135deg, var(--orange), var(--red)); color: #fff; text-align: center; padding: 56px 0; }
.cta-band h2 { margin-bottom: 14px; }
.cta-band .btn { background: #fff; color: var(--orange-dark); box-shadow: none; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.split img { border-radius: var(--radius); box-shadow: var(--shadow); }
.timeline { list-style: none; margin: 0; padding: 0 0 0 22px; border-left: 3px solid var(--line); }
.timeline li { position: relative; padding: 0 0 22px 20px; }
.timeline li::before { content: ""; position: absolute; left: -31px; top: 7px; width: 14px; height: 14px; border-radius: 50%; background: var(--orange); border: 3px solid #fff; box-shadow: 0 0 0 2px var(--orange); }
.timeline .when { font-weight: 700; color: var(--orange-dark); }
.specs { width: 100%; border-collapse: collapse; }
.specs th, .specs td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.specs th { width: 36%; color: var(--charcoal); font-weight: 600; }

/* Gallery */
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 24px; }
.chip { font: inherit; font-weight: 600; font-size: .95rem; padding: 8px 18px; border: 1px solid var(--line); background: #fff; border-radius: 999px; cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.gal-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.gal-cell { position: relative; padding: 0; border: 0; background: #ddd; border-radius: 10px; overflow: hidden; cursor: zoom-in; aspect-ratio: 4/3; }
.gal-cell img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.gal-cell:hover img { transform: scale(1.05); }
.gal-cell .cap { position: absolute; inset: auto 0 0 0; padding: 22px 12px 10px; color: #fff; font-size: .9rem; text-align: left; background: linear-gradient(transparent, rgba(0,0,0,.7)); }
.empty { padding: 48px 20px; text-align: center; color: var(--muted); border: 2px dashed var(--line); border-radius: var(--radius); }
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(10,10,10,.92); display: none; align-items: center; justify-content: center; padding: 20px; }
.lightbox.open { display: flex; }
.lightbox figure { margin: 0; max-width: 1100px; width: 100%; text-align: center; }
.lightbox img { max-height: 80vh; width: auto; margin: 0 auto; border-radius: 6px; }
.lightbox figcaption { color: #eee; margin-top: 12px; min-height: 1.6em; }
.lb-btn { position: absolute; background: rgba(255,255,255,.14); color: #fff; border: 0; width: 48px; height: 48px; border-radius: 50%; font-size: 1.5rem; cursor: pointer; }
.lb-btn:hover { background: rgba(255,255,255,.28); }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 16px; top: 50%; }
.lb-next { right: 16px; top: 50%; }

/* Testimonials */
.quote { display: flex; flex-direction: column; }
.quote blockquote { margin: 0 0 18px; font-size: 1.05rem; position: relative; padding-top: 28px; }
.quote blockquote::before { content: "\201C"; position: absolute; top: -10px; left: -4px; font-size: 4rem; line-height: 1; color: var(--amber); font-family: Georgia, serif; }
.quote .who { margin-top: auto; font-weight: 700; }
.quote .who span { display: block; font-weight: 400; color: var(--muted); font-size: .92rem; }

/* Forms */
.form { display: grid; gap: 16px; max-width: 640px; }
.form label { font-weight: 600; display: grid; gap: 6px; font-size: .95rem; }
.form input, .form textarea, .form select { font: inherit; padding: 12px 14px; border: 1px solid #c9c6c0; border-radius: 10px; background: #fff; width: 100%; }
.form textarea { min-height: 140px; resize: vertical; }
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.msg { padding: 12px 16px; border-radius: 10px; font-weight: 600; }
.msg.ok { background: #e7f6ec; color: #17653a; }
.msg.err { background: #fdebea; color: #a02318; }

/* Footer */
.site-footer { background: #151516; color: #cfcdca; padding: 56px 0 0; }
.site-footer a { color: #fff; }
.site-footer h2 { font-size: 1rem; color: var(--amber); text-transform: uppercase; letter-spacing: .1em; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.foot-logo { background: #fff; border-radius: 8px; padding: 6px 10px; margin-bottom: 14px; }
.legal { border-top: 1px solid #2c2c2e; margin-top: 36px; padding: 18px 0; font-size: .9rem; color: #9b9996; }

@media (max-width: 820px) {
  .split, .foot-grid { grid-template-columns: 1fr; }
  .nav-toggle { display: block; }
  #nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; flex-direction: column; align-items: stretch; padding: 12px 20px 18px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  #nav.open { display: flex; }
  #nav .btn-small { margin: 8px 0 0; }
  .site-header .bar { position: relative; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
