:root {
  --navy-950: #031217;
  --navy-900: #082933;
  --navy-800: #164b58;
  --blue-700: #087b9b;
  --blue-600: #138dad;
  --blue-400: #2aa4c5;
  --cyan-300: #79cde0;
  --lime-500: #8dc23e;
  --lime-400: #a3d84a;
  --silver-300: #d1d2d4;
  --paper: #f2f6f6;
  --white: #ffffff;
  --ink: #102f37;
  --slate: #60747a;
  --line: #d8e2e3;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-geist-sans), Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
body.besa-landing-template { overflow-x: hidden; }
body.admin-bar.besa-landing-template .site-header { top: 32px; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { color: inherit; }
.site-shell { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }

.utility-bar { background: #02090c; color: #a9c1c7; font-size: 11px; letter-spacing: .04em; border-bottom: 1px solid rgba(19,141,173,.22); }
.utility-inner { min-height: 34px; display: flex; align-items: center; justify-content: space-between; }
.utility-inner p { margin: 0; text-transform: uppercase; letter-spacing: .13em; font-weight: 600; }
.utility-links { display: flex; align-items: center; gap: 20px; }
.utility-links span { display: flex; align-items: center; gap: 20px; }
.utility-links span:not(:last-child)::after { content: ""; width: 1px; height: 11px; background: #24505a; }

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(3,18,23,.97); backdrop-filter: blur(18px); border-bottom: 1px solid rgba(19,141,173,.34); box-shadow: 0 8px 30px rgba(0,0,0,.12); }
.header-inner { height: 98px; display: flex; align-items: center; gap: 29px; }
.brand { display: inline-flex; align-items: center; min-width: 172px; }
.brand-logo { display: block; width: 158px; height: auto; }
.main-nav { display: flex; align-items: center; justify-content: center; gap: 26px; flex: 1; }
.main-nav a { position: relative; padding: 38px 0; font-size: 13px; font-weight: 600; color: #d6e0e2; }
.main-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 26px; height: 2px; background: var(--lime-500); transition: right .2s ease; }
.main-nav a:hover::after, .main-nav a:focus-visible::after { right: 0; }
.header-actions { display: flex; align-items: center; gap: 17px; }
.header-service { text-transform: uppercase; font-size: 10px; line-height: 1.2; letter-spacing: .08em; font-weight: 800; color: var(--cyan-300); max-width: 75px; }
.menu-toggle { display: none; border: 0; background: transparent; padding: 10px; }
.menu-toggle span { display: block; width: 23px; height: 2px; margin: 4px 0; background: var(--silver-300); }

.button { min-height: 49px; padding: 0 22px; border: 1px solid transparent; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 2px; text-transform: uppercase; letter-spacing: .08em; font-size: 11px; font-weight: 800; cursor: pointer; transition: transform .2s ease, background .2s ease, border-color .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-small { min-height: 42px; padding: 0 17px; font-size: 9px; }
.button-accent { background: var(--lime-500); color: #071214; }
.button-accent:hover { background: var(--lime-400); }
.button-dark { background: var(--navy-900); color: white; }
.button-outline { border-color: rgba(255,255,255,.4); background: transparent; color: white; }
.button-outline:hover { border-color: white; }
.text-link { display: inline-flex; align-items: center; gap: 12px; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--navy-800); }
.text-link span { color: var(--blue-600); font-size: 16px; }
.text-link-light { color: white; }
.text-link-light span { color: var(--lime-500); }

.hero { position: relative; min-height: 690px; display: flex; align-items: stretch; overflow: hidden; background: var(--navy-950); color: white; }
.hero-image { position: absolute; inset: 0; background-image: linear-gradient(90deg, rgba(6,23,39,.38), rgba(6,23,39,.1)), url('../images/hero-industrial-energy.png'); background-size: cover; background-position: center; filter: saturate(.87) contrast(1.03); transform: scale(1.01); }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5,22,37,.98) 0%, rgba(6,28,46,.93) 37%, rgba(7,39,61,.42) 67%, rgba(7,30,47,.25) 100%), linear-gradient(0deg, rgba(5,20,34,.72) 0%, transparent 38%); }
.hero-grid { position: absolute; inset: 0 0 0 52%; opacity: .16; background-image: linear-gradient(rgba(255,255,255,.18) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.18) 1px, transparent 1px); background-size: 54px 54px; mask-image: linear-gradient(to right, transparent, black); }
.hero-content { position: relative; z-index: 2; display: flex; justify-content: space-between; align-items: center; gap: 60px; padding: 92px 0 145px; }
.hero-copy { max-width: 720px; }
.eyebrow { margin: 0 0 22px; display: flex; align-items: center; gap: 10px; text-transform: uppercase; letter-spacing: .18em; font-size: 10px; font-weight: 800; color: var(--cyan-300); }
.eyebrow span { display: block; width: 28px; height: 2px; background: var(--lime-500); }
.eyebrow-dark { color: var(--blue-700); }
.hero h1 { margin: 0; max-width: 760px; font-size: clamp(50px, 6vw, 82px); line-height: .97; letter-spacing: -.055em; font-weight: 600; }
.hero h1 em { display: block; color: var(--lime-500); font-style: normal; }
.hero-lead { max-width: 620px; margin: 30px 0 0; color: #d4e0e7; font-size: 18px; line-height: 1.65; }
.hero-actions { margin-top: 37px; display: flex; align-items: center; gap: 30px; }
.hero-lifecycle { width: 270px; margin-top: 105px; padding: 20px 22px; align-self: flex-end; border: 1px solid rgba(255,255,255,.23); border-left: 3px solid var(--lime-500); background: rgba(3,27,33,.76); backdrop-filter: blur(12px); }
.hero-lifecycle p { margin: 0 0 15px; text-transform: uppercase; letter-spacing: .16em; font-size: 9px; color: #aec3d0; }
.lifecycle-line { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; }
.lifecycle-line span { font-size: 10px; font-weight: 700; }
.lifecycle-line i { width: 11px; height: 1px; background: var(--blue-400); }
.hero-proof { position: absolute; z-index: 4; left: 50%; bottom: 0; transform: translateX(-50%); display: grid; grid-template-columns: .8fr 1.4fr 1.2fr 1fr; min-height: 91px; background: white; color: var(--ink); box-shadow: 0 16px 45px rgba(0,0,0,.16); }
.hero-proof > * { padding: 20px 24px; border-right: 1px solid var(--line); }
.hero-proof > div { display: flex; flex-direction: column; justify-content: center; }
.hero-proof strong { font-size: 17px; color: var(--navy-900); }
.hero-proof span { margin-top: 4px; font-size: 11px; color: var(--slate); }
.hero-proof > a { display: flex; align-items: center; justify-content: space-between; border: 0; background: var(--blue-700); color: white; text-transform: uppercase; letter-spacing: .08em; font-size: 10px; font-weight: 800; }
.hero-proof > a span { color: var(--lime-500); font-size: 20px; margin: 0; }

.section { padding: 112px 0; }
.capabilities-section { background: var(--paper); }
.section-heading { display: grid; grid-template-columns: 1.1fr .7fr; align-items: end; gap: 80px; margin-bottom: 48px; }
.section-heading h2, .workshop-copy h2, .products-copy h2, .contact-inner h2, .lifecycle-intro h2 { margin: 0; color: var(--navy-900); font-size: clamp(38px, 4.4vw, 60px); line-height: 1.04; letter-spacing: -.045em; }
.section-heading > p { margin: 0; color: var(--slate); font-size: 15px; line-height: 1.75; }
.capability-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.capability-card { min-height: 290px; padding: 28px 26px 24px; display: flex; flex-direction: column; background: white; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: transform .25s ease, box-shadow .25s ease, background .25s ease; }
.capability-card:hover { position: relative; z-index: 2; transform: translateY(-6px); box-shadow: 0 20px 50px rgba(9,34,56,.12); }
.capability-card.featured { background: linear-gradient(145deg, var(--navy-900), #0b3f4b); color: white; }
.card-top { display: flex; justify-content: space-between; align-items: flex-start; }
.capability-code { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid #a9bdc9; color: var(--blue-700); font-family: var(--font-geist-mono); font-weight: 700; font-size: 12px; }
.featured .capability-code { border-color: #547185; color: var(--cyan-300); }
.card-arrow { font-size: 21px; color: var(--blue-600); }
.featured .card-arrow { color: var(--lime-500); }
.capability-card h3 { margin: 29px 0 12px; font-size: 21px; line-height: 1.15; letter-spacing: -.02em; }
.capability-card p { margin: 0; min-height: 73px; color: var(--slate); font-size: 13px; line-height: 1.6; }
.featured p { color: #b9ccd7; }
.tag-row { margin-top: auto; display: flex; gap: 7px; flex-wrap: wrap; }
.tag-row span { padding: 6px 8px; background: var(--paleBlue, #edf5fa); color: #4b6473; font-size: 9px; text-transform: uppercase; letter-spacing: .04em; }
.featured .tag-row span { background: #173c56; color: #c7d8e2; }

.lifecycle-section { background: var(--navy-900); color: white; }
.lifecycle-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 90px; }
.lifecycle-intro { padding-right: 25px; }
.lifecycle-intro h2 { color: white; }
.lifecycle-intro > p:not(.eyebrow) { margin: 28px 0 32px; color: #b9ccd7; font-size: 15px; line-height: 1.75; }
.lifecycle-steps { border-top: 1px solid #34536a; }
.lifecycle-steps article { min-height: 123px; padding: 24px 0; display: grid; grid-template-columns: 66px 1fr; gap: 22px; border-bottom: 1px solid #34536a; }
.lifecycle-steps > article > span { color: var(--lime-500); font-family: var(--font-geist-mono); font-size: 11px; }
.lifecycle-steps h3 { margin: 0 0 9px; font-size: 23px; }
.lifecycle-steps p { margin: 0; max-width: 600px; color: #aebfca; font-size: 13px; line-height: 1.65; }

.workshop-section { background: white; }
.workshop-layout { display: grid; grid-template-columns: 1fr .9fr; gap: 90px; align-items: center; }
.workshop-visual { position: relative; min-height: 590px; }
.workshop-image { position: absolute; inset: 0 55px 45px 0; background: linear-gradient(0deg, rgba(8,31,49,.22), rgba(8,31,49,.04)), url('../images/hero-industrial-energy.png') center / cover; }
.workshop-visual::before { content: ""; position: absolute; right: 0; top: 45px; width: 160px; height: 330px; border: 1px solid var(--line); background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 24px 24px; opacity: .6; }
.workshop-badge { position: absolute; right: 0; bottom: 0; width: 285px; padding: 26px; background: var(--lime-500); color: #071214; }
.workshop-badge strong { display: block; font-size: 20px; }
.workshop-badge span { display: block; margin-top: 7px; text-transform: uppercase; letter-spacing: .08em; font-size: 9px; font-weight: 700; }
.large-copy { margin: 26px 0 30px; color: #405967; font-size: 17px; line-height: 1.7; }
.proof-list { margin-bottom: 33px; border-top: 1px solid var(--line); }
.proof-list > div { padding: 18px 0; display: grid; grid-template-columns: 40px 1fr; border-bottom: 1px solid var(--line); }
.proof-list span { font-family: var(--font-geist-mono); font-size: 10px; color: var(--blue-600); }
.proof-list p { margin: 0; color: var(--slate); font-size: 12px; line-height: 1.55; }
.proof-list strong { display: block; margin-bottom: 3px; color: var(--ink); font-size: 14px; }

.value-section { background: var(--navy-950); color: white; }
.light-heading h2 { color: white; }
.light-heading > p { color: #9cb3c1; }
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid #29465a; border-left: 1px solid #29465a; }
.value-grid article { min-height: 320px; padding: 32px; border-right: 1px solid #29465a; border-bottom: 1px solid #29465a; }
.value-grid > article > span { color: var(--lime-500); font-family: var(--font-geist-mono); font-size: 11px; }
.value-grid h3 { margin: 70px 0 15px; font-size: 25px; }
.value-grid p { margin: 0 0 27px; color: #9fb4c1; font-size: 13px; line-height: 1.7; }
.value-grid a { color: var(--cyan-300); text-transform: uppercase; letter-spacing: .08em; font-size: 10px; font-weight: 800; }

.products-section { background: var(--paper); }
.products-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 90px; align-items: center; }
.products-copy > p:not(.eyebrow) { max-width: 470px; margin: 25px 0 31px; color: var(--slate); font-size: 15px; line-height: 1.75; }
.product-actions { display: flex; align-items: center; gap: 27px; }
.product-finder { padding: 32px; background: white; border: 1px solid var(--line); box-shadow: 0 18px 60px rgba(14,44,65,.08); }
.finder-top { display: flex; justify-content: space-between; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.finder-top span { font-size: 21px; font-weight: 700; color: var(--navy-900); }
.finder-top small { color: var(--blue-700); font-family: var(--font-geist-mono); font-size: 9px; }
.product-finder label { display: block; margin-top: 24px; }
.product-finder label > span { display: block; margin-bottom: 9px; text-transform: uppercase; letter-spacing: .08em; font-size: 9px; font-weight: 800; color: var(--slate); }
.search-field { min-height: 57px; padding: 0 18px; display: flex; align-items: center; justify-content: space-between; border: 1px solid #afc0ca; color: #84959f; font-size: 12px; }
.search-field strong { color: var(--blue-700); font-size: 25px; }
.finder-chips { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 8px; }
.finder-chips button { padding: 8px 11px; border: 0; background: #eaf2f6; color: #415d6e; font-size: 10px; cursor: pointer; }
.product-finder > p { margin: 20px 0 0; color: var(--slate); font-size: 11px; line-height: 1.6; }

.contact-section { padding: 75px 0; background: linear-gradient(115deg, var(--blue-700), #176879 72%, #225d64); color: white; }
.contact-inner { display: flex; align-items: center; justify-content: space-between; gap: 50px; }
.contact-inner .eyebrow { color: #bde6f2; }
.contact-inner h2 { color: white; }
.contact-actions { display: flex; gap: 12px; }

footer { background: #02090c; color: white; padding: 70px 0 25px; }
.footer-grid { display: grid; grid-template-columns: 1.35fr .7fr .7fr .9fr; gap: 70px; }
.footer-brand { min-width: 0; }
.footer-logo { display: block; width: 138px; height: auto; }
.footer-grid > div > strong { display: block; margin-bottom: 18px; text-transform: uppercase; letter-spacing: .12em; font-size: 10px; color: var(--cyan-300); }
.footer-grid p, .footer-grid a { color: #8fa7b5; font-size: 11px; line-height: 1.7; }
.footer-grid a { display: block; margin: 7px 0; }
.footer-grid > div:first-child p { max-width: 290px; margin: 22px 0 0; }
.footer-bottom { margin-top: 55px; padding-top: 22px; display: flex; justify-content: space-between; border-top: 1px solid #263c4b; color: #718997; text-transform: uppercase; letter-spacing: .1em; font-size: 8px; }

.chat-launcher { position: fixed; right: 24px; bottom: 22px; z-index: 70; min-width: 190px; height: 58px; padding: 0 20px; display: flex; align-items: center; gap: 12px; border: 0; border-radius: 2px; background: var(--lime-500); color: #071214; box-shadow: 0 12px 36px rgba(0,0,0,.2); cursor: pointer; text-align: left; }
.chat-launcher.is-hidden { display: none; }
.chat-launcher > span:last-child { display: flex; flex-direction: column; font-size: 12px; font-weight: 800; }
.chat-launcher small { margin-bottom: 2px; text-transform: uppercase; letter-spacing: .1em; font-size: 8px; }
.chat-pulse { width: 10px; height: 10px; border-radius: 50%; background: var(--blue-700); box-shadow: 0 0 0 5px rgba(8,123,155,.16); }
.chat-panel { position: fixed; z-index: 80; right: 24px; bottom: 22px; width: min(370px, calc(100vw - 32px)); overflow: hidden; border-radius: 3px; background: white; box-shadow: 0 24px 80px rgba(0,0,0,.28); }
.chat-header { min-height: 74px; padding: 0 20px; display: flex; align-items: center; justify-content: space-between; background: var(--navy-900); color: white; }
.chat-header > div { display: flex; align-items: center; gap: 12px; }
.chat-status { width: 9px; height: 9px; border-radius: 50%; background: #4ed28b; }
.chat-header p { margin: 0; display: flex; flex-direction: column; }
.chat-header strong { font-size: 13px; }
.chat-header small { margin-top: 3px; color: #a8becc; font-size: 10px; }
.chat-header button { border: 0; background: transparent; color: white; font-size: 26px; cursor: pointer; }
.chat-body { min-height: 360px; padding: 20px; background: #f2f6f8; }
.chat-message { max-width: 88%; padding: 14px 15px 10px; border-radius: 2px 12px 12px 12px; background: white; box-shadow: 0 5px 20px rgba(10,35,53,.07); }
.chat-message p { margin: 0; color: #273f4f; font-size: 12px; line-height: 1.55; }
.chat-message span { display: block; margin-top: 7px; color: #8a9aa4; font-size: 8px; }
.chat-options { margin-top: 15px; display: grid; gap: 8px; }
.chat-options button { min-height: 44px; padding: 0 13px; display: flex; align-items: center; justify-content: space-between; border: 1px solid #cad6dc; background: white; color: #29495c; text-align: left; font-size: 11px; cursor: pointer; }
.chat-options button:hover { border-color: var(--blue-600); }
.chat-options button span { color: var(--blue-600); }
.chat-confirmation { margin-top: 15px; padding: 15px; background: white; border-left: 3px solid var(--lime-500); }
.chat-confirmation p { margin: 0 0 9px; color: #405b6c; font-size: 11px; line-height: 1.55; }
.chat-confirmation button { border: 0; padding: 0; background: transparent; color: var(--blue-700); font-size: 10px; text-decoration: underline; cursor: pointer; }
.chat-footer { height: 56px; padding: 0 15px; display: flex; align-items: center; justify-content: space-between; color: #92a1aa; font-size: 11px; }
.chat-footer button { width: 34px; height: 34px; border: 0; border-radius: 50%; background: var(--blue-700); color: white; cursor: pointer; }

@media (max-width: 1100px) {
  .main-nav { gap: 15px; }
  .main-nav a { font-size: 11px; }
  .header-service { display: none; }
  .capability-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-lifecycle { display: none; }
  .hero-copy { max-width: 760px; }
  .workshop-layout, .products-layout { gap: 50px; }
}

@media (max-width: 820px) {
  .site-shell { width: min(100% - 32px, 700px); }
  .utility-links { display: none; }
  .utility-inner { justify-content: center; }
  .header-inner { height: 82px; }
  .brand-logo { width: 134px; }
  .menu-toggle { display: block; margin-left: auto; }
  .main-nav { position: absolute; top: 82px; left: 0; right: 0; padding: 18px 24px 25px; display: none; align-items: stretch; flex-direction: column; gap: 0; background: #051a20; border-bottom: 1px solid #1e4b55; box-shadow: 0 16px 35px rgba(0,0,0,.24); }
  .main-nav.is-open { display: flex; }
  .main-nav a { padding: 13px 0; font-size: 13px; border-bottom: 1px solid #1e4149; }
  .main-nav a::after { display: none; }
  .header-actions { display: none; }
  .hero { min-height: 760px; }
  .hero-content { padding: 80px 0 185px; align-items: flex-start; }
  .hero h1 { font-size: clamp(46px, 12vw, 70px); }
  .hero-image { background-position: 63% center; }
  .hero-proof { width: calc(100% - 32px); grid-template-columns: repeat(2, 1fr); }
  .hero-proof > * { padding: 15px; }
  .hero-proof > a { grid-column: 1 / -1; min-height: 54px; }
  .section { padding: 85px 0; }
  .section-heading { grid-template-columns: 1fr; gap: 24px; }
  .lifecycle-layout, .workshop-layout, .products-layout { grid-template-columns: 1fr; gap: 55px; }
  .workshop-visual { min-height: 500px; order: 2; }
  .value-grid { grid-template-columns: 1fr; }
  .value-grid article { min-height: 250px; }
  .value-grid h3 { margin-top: 35px; }
  .contact-inner { align-items: flex-start; flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 782px) {
  body.admin-bar.besa-landing-template .site-header { top: 46px; }
}

@media (max-width: 560px) {
  .brand { min-width: 0; }
  .brand-logo { width: 124px; }
  .hero { min-height: 820px; }
  .hero-content { padding-top: 65px; }
  .hero-lead { font-size: 15px; }
  .hero-actions { align-items: flex-start; flex-direction: column; }
  .hero-proof { grid-template-columns: 1fr 1fr; }
  .hero-proof > div:nth-child(3) { display: none; }
  .capability-grid { grid-template-columns: 1fr; }
  .capability-card { min-height: 250px; }
  .workshop-visual { min-height: 430px; }
  .workshop-image { right: 20px; }
  .workshop-badge { width: 260px; }
  .product-actions, .contact-actions { align-items: flex-start; flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr; gap: 35px; }
  .footer-bottom { gap: 15px; flex-direction: column; }
  .chat-launcher { right: 16px; bottom: 16px; }
  .chat-panel { right: 16px; bottom: 16px; }
}

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