/* ============================================================
   Ecogas Engineering — corporate marketing site
   ============================================================ */
:root {
  --navy: #0a2540;
  --navy-2: #0f3057;
  --navy-3: #143a63;
  --teal: #12b5a5;
  --teal-dark: #0a7d75;
  --gold: #e8b04b;
  --ink: #17232f;
  --muted: #5a6b7b;
  --line: #e2e8ef;
  --bg: #ffffff;
  --bg-alt: #f5f8fa;
  --white: #ffffff;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 3px rgba(10,37,64,.08), 0 6px 18px rgba(10,37,64,.05);
  --shadow-md: 0 10px 40px rgba(10,37,64,.12);
  --container: 1160px;
  --ease: cubic-bezier(.22,.61,.36,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Manrope', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; color: var(--navy); font-weight: 800; letter-spacing: -.01em; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1rem; }
a { color: var(--teal-dark); text-decoration: none; }
img { max-width: 100%; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 13px 26px; border-radius: 999px; font-weight: 700; font-size: .98rem;
  border: 1.5px solid transparent; cursor: pointer; transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s;
  white-space: nowrap;
}
.btn-primary { background: var(--teal); color: #04211e; box-shadow: 0 8px 24px rgba(18,181,165,.35); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(18,181,165,.45); }
.btn-ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,.4); }
.btn-ghost:hover { background: rgba(255,255,255,.1); border-color: var(--white); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.9); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line); transition: box-shadow .3s;
}
.site-header.scrolled { box-shadow: var(--shadow-sm); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 20px; }
.brand { display: flex; align-items: center; gap: 11px; }
.brand-mark { display: grid; place-items: center; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text strong { font-size: 1.15rem; font-weight: 800; color: var(--navy); letter-spacing: .02em; }
.brand-text em { font-style: normal; font-size: .66rem; letter-spacing: .32em; color: var(--teal-dark); font-weight: 600; margin-top: 3px; }

.main-nav { display: flex; gap: 30px; margin-left: auto; }
.main-nav a { color: var(--navy); font-weight: 600; font-size: .96rem; position: relative; padding: 4px 0; }
.main-nav a::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 0; height: 2px; background: var(--teal); transition: width .25s var(--ease); }
.main-nav a:hover::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: 14px; }
.lang-switch { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.lang-switch button { border: none; background: transparent; padding: 7px 13px; font-weight: 700; font-size: .82rem; color: var(--muted); cursor: pointer; transition: .2s; }
.lang-switch button.active { background: var(--navy); color: #fff; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--navy); border-radius: 2px; transition: .3s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; color: #fff; overflow: hidden; background: var(--navy); }
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(900px 500px at 80% -10%, rgba(18,181,165,.35), transparent 60%),
    radial-gradient(700px 500px at 10% 110%, rgba(20,58,99,.9), transparent 60%),
    linear-gradient(135deg, #0a2540 0%, #0f3057 55%, #0a2540 100%);
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 48px 48px; mask-image: radial-gradient(circle at 70% 30%, #000, transparent 75%);
}
.hero-inner { position: relative; padding: clamp(48px, 8vh, 88px) 24px clamp(40px, 6vh, 70px); max-width: var(--container); margin: 0 auto; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 20px 48px; align-items: center; }
.hero-copy { min-width: 0; }
.hero-visual { min-width: 0; display: grid; place-items: center; }
.hero-graphic { width: 100%; max-width: 460px; height: auto; overflow: visible; }
.hg-connectors line { stroke: var(--teal); stroke-width: 2; stroke-linecap: round; stroke-dasharray: 3 7; animation: hgflow 1s linear infinite; }
.hg-hub-glow { fill: rgba(18,181,165,.15); animation: hgpulse 3s ease-in-out infinite; transform-origin: 230px 220px; }
.hg-hub { fill: #0f3057; stroke: var(--teal); stroke-width: 1.5; }
.hg-node rect { fill: rgba(255,255,255,.06); stroke: rgba(255,255,255,.18); stroke-width: 1; }
.hg-icon { fill: none; stroke: #3fe0d0; stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round; }
.hg-node text { fill: #e6eef5; font-size: 12.5px; font-weight: 600; }
.hub-label { fill: #fff; font-size: 15px; font-weight: 800; text-anchor: middle; letter-spacing: .08em; }
@keyframes hgflow { to { stroke-dashoffset: -10; } }
@keyframes hgpulse { 0%,100% { opacity: .5; transform: scale(1); } 50% { opacity: 1; transform: scale(1.06); } }
@media (prefers-reduced-motion: reduce) { .hg-connectors line, .hg-hub-glow { animation: none; } }
.eyebrow { display: inline-block; text-transform: uppercase; letter-spacing: .18em; font-size: .78rem; font-weight: 700; color: var(--teal); background: rgba(18,181,165,.12); border: 1px solid rgba(18,181,165,.35); padding: 6px 14px; border-radius: 999px; margin: 0 0 22px; }
.hero h1 { color: #fff; font-size: clamp(1.7rem, 3.6vw, 2.9rem); max-width: 16ch; margin-bottom: 20px; }
.hero-lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: #cdd9e5; max-width: 60ch; margin-bottom: 34px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-stats { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: center; gap: 32px 44px; margin-top: 40px; padding-top: 34px; border-top: 1px solid rgba(255,255,255,.14); }
.stat { display: flex; flex-direction: column; align-items: center; text-align: center; }
.stat strong { font-size: clamp(1.8rem, 3vw, 2.4rem); color: #fff; font-weight: 800; }
.stat span { color: #a9bccd; font-size: .92rem; max-width: 22ch; }

/* ---------- Trust strip ---------- */
.trust-strip { background: var(--navy-3); color: #dce7f0; }
.trust-inner { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 34px; padding: 20px 24px; }
.trust-inner > span { font-weight: 700; color: var(--teal); font-size: .9rem; letter-spacing: .02em; }
.trust-inner ul { display: flex; flex-wrap: wrap; gap: 12px 30px; list-style: none; margin: 0; padding: 0; }
.trust-inner li { font-weight: 700; font-size: 1rem; opacity: .95; }
.trust-inner li::before { content: "●"; color: var(--teal); font-size: .55rem; vertical-align: middle; margin-right: 9px; }

/* ---------- Sections ---------- */
.section { padding: clamp(20px, 3vw, 26px) 0; }
.section-alt { background: var(--bg-alt); }
.section-eyebrow { text-transform: uppercase; letter-spacing: .16em; font-size: .78rem; font-weight: 700; color: var(--teal-dark); margin: 0 0 12px; }
.section-head { max-width: 720px; margin: 0 auto 28px; text-align: center; }
.section-head .section-eyebrow { color: var(--teal-dark); }
.section-sub { color: var(--muted); font-size: 1.08rem; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 54px; align-items: start; }
.about-text p { color: var(--muted); font-size: 1.05rem; }
.check-list { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 12px; }
.check-list li { position: relative; padding-left: 34px; font-weight: 600; color: var(--ink); }
.check-list li::before { content: "✓"; position: absolute; left: 0; top: -1px; width: 22px; height: 22px; display: grid; place-items: center; background: rgba(18,181,165,.14); color: var(--teal-dark); border-radius: 6px; font-size: .8rem; font-weight: 800; }
.about-card { background: linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%); color: #fff; border-radius: var(--radius); padding: 34px 30px; box-shadow: var(--shadow-md); }
.about-card h3 { color: #fff; font-size: 1.05rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 22px; padding-bottom: 16px; border-bottom: 1px solid rgba(255,255,255,.16); }
.about-card dl { margin: 0; display: grid; gap: 20px; }
.about-card dt { font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--teal); font-weight: 700; margin-bottom: 3px; }
.about-card dd { margin: 0; color: #d7e2ec; font-weight: 600; }

/* ---------- Card grids ---------- */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.cards-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.cards-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }

.service-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 28px; transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s; }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.svc-icon { width: 54px; height: 54px; border-radius: 13px; display: grid; place-items: center; color: var(--teal-dark); background: rgba(18,181,165,.12); margin-bottom: 20px; }
.service-card p { color: var(--muted); margin: 0; }

/* ---------- Advantages ---------- */
.adv-card { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 24px 26px; overflow: hidden; transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.adv-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.adv-num { font-size: 2.2rem; font-weight: 800; color: rgba(18,181,165,.22); line-height: 1; display: block; margin-bottom: 12px; }
.adv-card h3 { font-size: 1.08rem; margin-bottom: 8px; }
.adv-card p { color: var(--muted); font-size: .94rem; margin: 0; }

/* ---------- Process steps ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
.step { position: relative; padding: 30px 22px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.step::after { content: ""; position: absolute; top: 52px; right: -13px; width: 26px; height: 2px; background: var(--teal); opacity: .5; }
.steps .step:last-child::after { display: none; }
.step-num { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: #fff; font-weight: 800; font-size: 1.05rem; margin-bottom: 16px; box-shadow: 0 6px 16px rgba(10,37,64,.25); }
.step h3 { font-size: 1.05rem; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: .93rem; margin: 0; }

.lic-card { position: relative; background: var(--white); border: 1px solid var(--line); border-left: 4px solid var(--teal); border-radius: var(--radius); padding: 30px 28px; }
.lic-badge { display: inline-block; font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; font-weight: 800; color: var(--teal-dark); background: rgba(18,181,165,.12); padding: 4px 12px; border-radius: 999px; margin-bottom: 16px; }
.lic-card p { color: var(--muted); margin: 0; }
.lic-note { text-align: center; color: var(--muted); margin-top: 30px; font-size: .95rem; }

.partner-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.partner-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.partner-card h3 { color: var(--navy); margin-bottom: 12px; padding-bottom: 12px; border-bottom: 2px solid var(--teal); display: inline-block; }
.partner-card h3 a { color: inherit; }
.partner-card h3 a:hover { color: var(--teal-dark); }
.partner-card p { color: var(--muted); font-size: .95rem; margin: 0; }

/* ---------- Sustainability / ESG ---------- */
.esg { position: relative; color: #fff; overflow: hidden; background: var(--navy); }
.esg-bg { position: absolute; inset: 0;
  background:
    radial-gradient(700px 420px at 15% 0%, rgba(18,181,165,.28), transparent 60%),
    radial-gradient(600px 400px at 95% 100%, rgba(232,176,75,.14), transparent 55%),
    linear-gradient(150deg, #0a2540 0%, #0f3057 60%, #0a2540 100%);
}
.esg .container { position: relative; }
.esg-head h2 { color: #fff; }
.esg-head .section-eyebrow { color: var(--teal); }
.esg-head .section-sub { color: #cdd9e5; }
.esg-cards { margin-top: 8px; }
.esg-card { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius); padding: 30px 26px; backdrop-filter: blur(4px); transition: transform .25s var(--ease), background .25s; }
.esg-card:hover { transform: translateY(-5px); background: rgba(255,255,255,.09); }
.esg-icon { width: 50px; height: 50px; border-radius: 12px; display: grid; place-items: center; color: var(--teal); background: rgba(18,181,165,.16); margin-bottom: 18px; }
.esg-card h3 { color: #fff; font-size: 1.12rem; margin-bottom: 10px; }
.esg-card p { color: #b9c9d8; font-size: .95rem; margin: 0; }

/* ---------- Clients ---------- */
.client-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.client-grid.cg-4 { grid-template-columns: repeat(4, 1fr); }
.client-grid li { display: grid; place-items: center; text-align: center; min-height: 96px; padding: 20px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm); font-weight: 700; font-size: 1.1rem; color: var(--navy); transition: .25s var(--ease); }
.client-grid li:hover { border-color: var(--teal); box-shadow: var(--shadow-sm); transform: translateY(-3px); }
.client-grid .client-more { color: var(--teal-dark); background: rgba(18,181,165,.07); border-style: dashed; font-style: italic; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 54px; align-items: start; }
.contact-text > p { color: var(--muted); font-size: 1.08rem; }
.contact-list { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 20px; }
.contact-list li { display: flex; gap: 16px; align-items: flex-start; }
.contact-list .ci { flex: none; width: 44px; height: 44px; border-radius: 11px; display: grid; place-items: center; background: rgba(18,181,165,.12); color: var(--teal-dark); font-size: 1.15rem; }
.contact-list small { display: block; text-transform: uppercase; letter-spacing: .1em; font-size: .72rem; color: var(--muted); font-weight: 700; margin-bottom: 2px; }
.contact-list a, .contact-list span { color: var(--ink); font-weight: 600; }

.contact-form { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 30px; box-shadow: var(--shadow-sm); display: grid; gap: 18px; }
.field { display: grid; gap: 7px; }
.field label { font-weight: 700; font-size: .88rem; color: var(--navy); }
.field input, .field textarea { width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); font: inherit; color: var(--ink); background: var(--bg-alt); transition: border-color .2s, box-shadow .2s; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(18,181,165,.14); background: #fff; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .86rem; color: var(--muted); line-height: 1.5; cursor: pointer; }
.consent input { margin-top: 3px; width: 16px; height: 16px; flex: none; accent-color: var(--teal); cursor: pointer; }
.consent a { color: var(--teal-dark); font-weight: 700; }
.form-note { font-size: .88rem; color: var(--muted); margin: 4px 0 0; }
.form-note.success { color: var(--teal-dark); font-weight: 700; }
.form-note.error { color: #c0392b; font-weight: 700; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; opacity: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #b9c9d8; padding: 40px 0 26px; }
.footer-inner { display: grid; grid-template-columns: 1.6fr 1fr; gap: 30px 40px; align-items: start; }
.footer-brand strong { display: block; color: #fff; font-size: 1.1rem; letter-spacing: .02em; margin-bottom: 8px; }
.footer-brand p { color: #90a6ba; max-width: 42ch; margin: 0; }
.footer-legal-data { font-size: .84rem; line-height: 1.9; margin-top: 12px !important; color: #7e93a7; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 12px 26px; justify-content: flex-end; }
.footer-nav a { color: #c3d2e0; font-weight: 600; }
.footer-nav a:hover { color: var(--teal); }
.footer-legal { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; border-top: 1px solid rgba(255,255,255,.12); padding-top: 22px; margin-top: 14px; font-size: .86rem; color: #8ba1b5; }
.footer-legal-links { display: inline-flex; gap: 8px 16px; flex-wrap: wrap; align-items: center; }
.footer-legal-links a { color: #c3d2e0; font-weight: 600; }
.footer-legal-links a:hover { color: var(--teal); }

/* ---------- Cookie banner ---------- */
.cookie-banner {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 80;
  max-width: 720px; margin: 0 auto;
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  box-shadow: var(--shadow-md); padding: 16px 20px;
  transform: translateY(140%); opacity: 0; transition: transform .35s var(--ease), opacity .35s var(--ease);
}
.cookie-banner.show { transform: translateY(0); opacity: 1; }
.cookie-banner p { margin: 0; font-size: .9rem; color: var(--muted); flex: 1 1 320px; }
.cookie-banner a { color: var(--teal-dark); font-weight: 700; white-space: nowrap; }
.cookie-banner .btn { padding: 10px 22px; font-size: .9rem; }

/* ---------- Legal / privacy page ---------- */
.back-link { color: var(--navy); font-weight: 600; font-size: .92rem; }
.back-link:hover { color: var(--teal-dark); }
.legal { padding: clamp(48px, 7vw, 80px) 0 clamp(56px, 8vw, 90px); }
.legal-inner { max-width: 820px; }
.legal h1 { font-size: clamp(1.9rem, 4vw, 2.7rem); margin-bottom: 8px; }
.legal-updated { color: var(--muted); font-size: .9rem; margin-bottom: 26px; }
.legal-note { background: var(--bg-alt); border-left: 4px solid var(--teal); border-radius: 10px; padding: 16px 20px; color: var(--muted); font-size: .95rem; }
.legal-block { margin-top: 34px; }
.legal-block h2 { font-size: 1.25rem; color: var(--navy); margin-bottom: 10px; }
.legal-block p { color: var(--ink); }
.legal-block ul { margin: 0; padding-left: 20px; color: var(--ink); }
.legal-block li { margin-bottom: 6px; }

/* ---------- Reveal animation ---------- */
[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
[data-reveal].in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 38px; }
  .cards-4 { grid-template-columns: repeat(2, 1fr); }
  .client-grid.cg-4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step::after { display: none; }
  .hero-inner { grid-template-columns: 1fr; gap: 8px; }
  .hero-visual { margin-top: 26px; max-width: 420px; }
  .hero h1 { max-width: none; }
  .hero-lead { max-width: none; }
}
@media (max-width: 860px) {
  .main-nav {
    position: fixed; inset: 72px 0 auto 0; flex-direction: column; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line); padding: 8px 24px 20px;
    transform: translateY(-140%); transition: transform .32s var(--ease); box-shadow: var(--shadow-md); margin: 0;
  }
  .main-nav.open { transform: translateY(0); }
  .main-nav a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .main-nav a::after { display: none; }
  .nav-toggle { display: flex; }
}
@media (max-width: 680px) {
  .cards-3, .cards-2, .cards-4, .steps, .client-grid { grid-template-columns: 1fr; }
  .client-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-stats { gap: 26px; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-nav { just-content: flex-start; justify-content: flex-start; }
  .footer-legal { flex-direction: column; }
}
@media (max-width: 420px) {
  .client-grid { grid-template-columns: 1fr; }
}
