:root {
  --ink: #122032;
  --muted: #637083;
  --line: #dbe3ea;
  --paper: #f7fafb;
  --white: #ffffff;
  --light: #ff8a00;
  --light-deep: #d86d00;
  --gas: #29b6f6;
  --gas-deep: #0077b6;
  --blue: #2457d6;
  --green: #12a878;
  --shadow: 0 24px 70px rgba(18, 32, 50, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  letter-spacing: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 78px;
  padding: 12px clamp(18px, 4vw, 56px);
  background: rgba(247, 250, 251, 0.94);
  border-bottom: 1px solid rgba(219, 227, 234, 0.86);
  backdrop-filter: blur(18px);
}

.brand {
  display: flex;
  align-items: center;
  font-weight: 800;
  white-space: nowrap;
}

.mewe-logo {
  display: inline-flex;
  align-items: center;
  height: 56px;
  padding: 8px 18px 8px 12px;
  border-radius: 18px;
  background: #101f32;
  color: var(--white);
}

.mewe-mark {
  position: relative;
  width: 151px;
  height: 42px;
  overflow: hidden;
  flex: 0 0 auto;
}

.mewe-mark img {
  position: absolute;
  left: 0;
  top: 0;
  width: 222px;
  height: 42px;
  max-width: none;
}

.logo-light,
.logo-amp,
.logo-gas {
  font-family: "Arial Rounded MT Bold", "Trebuchet MS", Arial, sans-serif;
  font-size: 2.05rem;
  font-weight: 800;
  line-height: 1;
}

.logo-light {
  color: var(--light);
  margin-left: 10px;
}

.logo-amp {
  color: var(--white);
  margin: 0 8px;
}

.logo-gas {
  color: var(--gas);
}

.main-nav {
  display: flex;
  gap: 18px;
  font-size: 0.92rem;
  color: #344256;
}

.main-nav a:hover {
  color: var(--blue);
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-weight: 800;
  cursor: pointer;
}

.header-cta {
  background: var(--ink);
  color: var(--white);
}

.button svg,
.header-cta svg,
.trust-strip svg,
.service-card svg,
.arera-grid svg,
.contact-details svg,
.comparison-grid svg {
  width: 18px;
  height: 18px;
}

.primary {
  color: var(--white);
  background: var(--light);
  box-shadow: 0 12px 28px rgba(255, 138, 0, 0.24);
}

.secondary {
  color: var(--white);
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.28);
}

.wide {
  width: 100%;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(300px, 360px);
  align-items: end;
  min-height: calc(100vh - 78px);
  padding: clamp(64px, 8vw, 112px) clamp(20px, 4vw, 56px) 42px;
  overflow: hidden;
  color: var(--white);
  background: #071320;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 19, 32, 0.96) 0%, rgba(7, 19, 32, 0.82) 48%, rgba(7, 19, 32, 0.48) 100%),
    linear-gradient(to top, rgba(7, 19, 32, 0.82), rgba(7, 19, 32, 0.18) 46%, rgba(7, 19, 32, 0.62) 100%);
  z-index: 1;
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% center;
  opacity: 0.34;
  filter: saturate(0.92) contrast(0.95) blur(1px);
  transform: scale(1.015);
}

.hero-content,
.hero-panel {
  position: relative;
  z-index: 2;
}

.hero-content {
  max-width: 850px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gas-deep);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.hero .eyebrow,
.arera-section .eyebrow {
  color: var(--light);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 850px;
  margin-bottom: 22px;
  font-size: clamp(3.1rem, 7vw, 7.2rem);
  line-height: 0.94;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  font-size: 1.15rem;
  line-height: 1.25;
}

.hero-copy {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1.05rem, 2vw, 1.26rem);
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.hero-panel {
  display: grid;
  gap: 14px;
}

.hero-panel div {
  padding: 18px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  backdrop-filter: blur(12px);
}

.hero-panel .metric {
  display: block;
  color: var(--light);
  font-size: 2rem;
  font-weight: 800;
}

.hero-panel span:last-child {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.45;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border-bottom: 1px solid var(--line);
}

.trust-strip span {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 76px;
  padding: 16px;
  background: var(--white);
  font-weight: 800;
}

.section {
  padding: clamp(64px, 9vw, 118px) clamp(20px, 4vw, 56px);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 26px;
}

.section-note {
  max-width: 440px;
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.offers-section {
  background: var(--white);
}

.offers-grid,
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.offer-card,
.service-card,
.news-card,
.blog-list article,
.arera-grid article,
.tool,
.lead-form,
.comparison-grid article,
.timeline article,
.faq-list details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.offer-card {
  display: flex;
  flex-direction: column;
  min-height: 390px;
  padding: 26px;
  box-shadow: 0 18px 44px rgba(18, 32, 50, 0.06);
}

.featured-offer {
  border-color: rgba(255, 138, 0, 0.42);
  box-shadow: 0 24px 60px rgba(255, 138, 0, 0.16);
}

.offer-tag {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 28px;
  margin-bottom: 18px;
  padding: 0 10px;
  border-radius: 999px;
  color: var(--white);
  background: var(--light);
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
}

.offer-tag.gas {
  background: var(--gas-deep);
}

.offer-tag.index {
  background: var(--blue);
}

.offer-tag.dual {
  background: var(--ink);
}

.offer-tag.neutral {
  color: var(--ink);
  background: #eaf0f2;
}

.offer-tag.enterprise {
  background: var(--green);
}

.offer-card p,
.service-card p,
.news-card p,
.blog-list p,
.arera-grid p,
.comparison-grid p,
.timeline p,
.faq-list p {
  color: var(--muted);
  line-height: 1.55;
}

.offer-card ul {
  display: grid;
  gap: 10px;
  margin: 8px 0 24px;
  padding-left: 18px;
  color: #344256;
  line-height: 1.45;
}

.offer-action {
  margin-top: auto;
  color: var(--blue);
  font-weight: 800;
}

.split {
  display: grid;
  grid-template-columns: minmax(280px, 0.75fr) minmax(0, 1.25fr);
  gap: clamp(30px, 5vw, 72px);
  align-items: start;
}

.split > div:first-child p:not(.eyebrow),
.tools-copy p,
.contact-section p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.65;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.service-card {
  min-height: 230px;
  padding: 26px;
  box-shadow: 0 18px 44px rgba(18, 32, 50, 0.06);
}

.service-card svg,
.arera-grid svg,
.comparison-grid svg {
  width: 28px;
  height: 28px;
  margin-bottom: 24px;
  color: var(--blue);
}

.light-card {
  border-top: 5px solid var(--light);
}

.gas-card {
  border-top: 5px solid var(--gas);
}

.tools-band {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(320px, 560px);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  background:
    linear-gradient(90deg, rgba(255, 138, 0, 0.16), transparent 34%),
    linear-gradient(135deg, #edf8ff, #fff4e6);
}

.tool {
  padding: 24px;
  box-shadow: var(--shadow);
}

.segmented {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-bottom: 20px;
  padding: 6px;
  background: #eef3f5;
  border-radius: 8px;
}

.segmented button,
.filters button {
  min-height: 42px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.segmented button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.segmented button.active,
.filters button.active {
  color: var(--ink);
  background: var(--white);
  box-shadow: 0 6px 18px rgba(18, 32, 50, 0.08);
}

.tool label {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--muted);
  font-weight: 800;
}

.tool label:has(output) {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.tool label strong {
  color: var(--ink);
  white-space: nowrap;
}

.tool select,
.lead-form input,
.lead-form select,
.lead-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px 14px;
  color: var(--ink);
  font: inherit;
  background: var(--white);
}

input[type="range"] {
  width: 100%;
  accent-color: var(--light);
}

.tool-options {
  display: grid;
  gap: 8px;
  margin: 16px 0 4px;
}

.tool-options label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 10px 12px;
  border-radius: 8px;
  background: #f3f7f8;
  color: #344256;
}

.tool-result {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 22px 0 12px;
}

.tool-result div,
.documents-box {
  min-height: 104px;
  padding: 18px;
  background: #f3f7f8;
  border-radius: 8px;
}

.tool-result span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
}

.documents-box {
  min-height: auto;
  margin-bottom: 16px;
}

.documents-box p,
.tool-note {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.45;
}

.comparison-section {
  background: #f0f5f8;
}

.comparison-grid,
.arera-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.comparison-grid article {
  padding: 26px;
}

.activation-section {
  background: var(--white);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.timeline article {
  padding: 24px;
}

.timeline span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  border-radius: 999px;
  color: var(--white);
  background: var(--ink);
  font-weight: 800;
}

.arera-section {
  background: var(--ink);
  color: var(--white);
}

.arera-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 28px;
}

.arera-grid article {
  padding: 28px;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.14);
}

.arera-grid svg {
  color: var(--light);
}

.arera-grid p {
  color: rgba(255, 255, 255, 0.74);
}

.filters {
  display: flex;
  gap: 8px;
  padding: 6px;
  background: #eaf0f2;
  border-radius: 8px;
}

.filters button {
  padding: 0 14px;
}

.news-card {
  min-height: 286px;
  padding: 26px;
}

.news-card span,
.blog-list span {
  display: block;
  margin-bottom: 16px;
  color: var(--gas-deep);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.news-card a,
.text-link {
  color: var(--blue);
  font-weight: 800;
}

.blog-band {
  background: #eef6f2;
}

.blog-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.blog-list article {
  padding: 26px;
}

.faq-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.75fr) minmax(0, 1.25fr);
  gap: clamp(30px, 5vw, 72px);
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list details {
  padding: 18px 20px;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 800;
}

.faq-list p {
  margin: 14px 0 0;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(320px, 520px);
  gap: clamp(28px, 5vw, 70px);
  align-items: start;
  background: var(--white);
}

.contact-details {
  display: grid;
  gap: 12px;
  margin-top: 30px;
}

.contact-details span {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
}

.lead-form {
  display: grid;
  gap: 16px;
  padding: 24px;
  box-shadow: var(--shadow);
}

.lead-form label {
  display: grid;
  gap: 8px;
  color: #344256;
  font-weight: 800;
}

.lead-form textarea {
  resize: vertical;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 40px;
  padding: 38px clamp(20px, 4vw, 56px);
  background: #081220;
  color: rgba(255, 255, 255, 0.72);
}

.footer-logo-wrap {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-bottom: 12px;
  padding: 8px 10px;
  border-radius: 8px;
  background: var(--white);
}

.footer-logo-wrap .mewe-logo {
  height: 54px;
  transform-origin: left center;
  transform: scale(0.92);
}

.site-footer strong,
.site-footer a {
  display: block;
}

.site-footer strong {
  margin-bottom: 12px;
  color: var(--white);
}

.site-footer a {
  margin-bottom: 8px;
}

@media (max-width: 1080px) {
  .main-nav {
    display: none;
  }

  .hero,
  .split,
  .tools-band,
  .contact-section,
  .faq-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 76px;
  }

  .hero-panel {
    grid-template-columns: repeat(3, 1fr);
    margin-top: 34px;
  }

  .offers-grid,
  .trust-strip,
  .arera-grid,
  .news-grid,
  .blog-list,
  .comparison-grid,
  .timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .brand {
    width: 100%;
  }

  .mewe-logo {
    height: 48px;
    padding: 7px 12px 7px 10px;
  }

  .mewe-mark {
    width: 124px;
    height: 34px;
  }

  .mewe-mark img {
    width: 180px;
    height: 34px;
  }

  .logo-light,
  .logo-amp,
  .logo-gas {
    font-size: 1.55rem;
  }

  .logo-light {
    margin-left: 8px;
  }

  .logo-amp {
    margin: 0 5px;
  }

  .header-cta {
    width: 100%;
  }

  h1 {
    font-size: 3rem;
  }

  .hero-panel,
  .trust-strip,
  .service-grid,
  .offers-grid,
  .arera-grid,
  .news-grid,
  .blog-list,
  .comparison-grid,
  .timeline,
  .tool-result,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .section-heading {
    align-items: stretch;
    flex-direction: column;
  }

  .filters {
    overflow-x: auto;
  }
}
