/* EasyPlug public site. Mobile first, light + dark (prefers-color-scheme), system fonts (no third-party fonts). */
/* Palette (owner, 2026-12-04): dark pink as the main colour, deep sky blue as the accent. */
:root {
  --brand: #c8417e;          /* dark pink, slightly muted (owner): buttons, highlights */
  --brand-strong: #9c2a5e;
  --brand-soft: #fbe7f0;
  --accent: #0b6e9c;         /* deep sky blue: links, numbers, icons */
  --accent-strong: #08557a;
  --accent-soft: #e2f1f9;
  --bg: #ffffff;
  --bg-tint: #f5f8fb;
  --card: #ffffff;
  --text: #101626;
  --muted: #53607a;
  --line: #dfe5ee;
  --on-brand: #ffffff;
  --map-land: #e9eef5;
  --map-border: #c9d3e0;
  --map-home: #d6ebf7;
  --shadow: 0 1px 2px rgba(16, 22, 38, .06), 0 8px 24px rgba(16, 22, 38, .07);
  --radius: 18px;
  --wrap: 1120px;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --brand: #f0619f;
    --brand-strong: #ff8fbe;
    --brand-soft: #3a1328;
    --accent: #4db4e6;
    --accent-strong: #8ad0f2;
    --accent-soft: #0e2a3d;
    --bg: #0a1020;
    --bg-tint: #0e1629;
    --card: #131c33;
    --text: #e8edf7;
    --muted: #9aa7c0;
    --line: #243150;
    --on-brand: #2a0517;
    --map-land: #1a2540;
    --map-border: #2c3b60;
    --map-home: #12385a;
    --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 8px 24px rgba(0, 0, 0, .35);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--accent-strong); }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .6em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.2rem, 7vw, 3.8rem); font-weight: 800; letter-spacing: -.03em; }
h2 { font-size: clamp(1.6rem, 4.5vw, 2.4rem); font-weight: 800; letter-spacing: -.02em; }
h3, .h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
.wrap--narrow { max-width: 780px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.lead { font-size: 1.15rem; color: var(--muted); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 6px; }

.skip { position: absolute; left: -9999px; top: 8px; background: var(--card); padding: 8px 14px; border-radius: 8px; z-index: 50; }
.skip:focus { left: 8px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px; border-radius: 999px; border: 2px solid transparent;
  font: inherit; font-weight: 700; text-decoration: none; cursor: pointer;
}
.btn--primary { background: var(--brand); color: var(--on-brand); }
.btn--primary:hover { background: var(--brand-strong); color: var(--on-brand); }
.btn--ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn--small { min-height: 38px; padding: 0 16px; font-size: .95rem; }
.btn--big { min-height: 58px; padding: 0 34px; font-size: 1.15rem; }

/* Language offer */
.offer { background: var(--accent-soft); border-bottom: 1px solid var(--line); }
.offer__in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; padding-top: 10px; padding-bottom: 10px; }
.offer__text { margin: 0; font-weight: 600; }
.offer__actions { display: flex; gap: 8px; flex-wrap: wrap; }

/* Header */
.top { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.top__in { display: flex; align-items: center; gap: 16px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 800; font-size: 1.2rem; }
.brand img { border-radius: 9px; }
.top__nav { display: none; gap: 22px; margin-left: auto; }
.top__nav a { color: var(--text); text-decoration: none; font-weight: 600; }
.top__nav a:hover { color: var(--accent); }
.lang { position: relative; margin-left: auto; }
.top__nav + .lang { margin-left: 8px; }
.lang summary {
  list-style: none; display: inline-flex; align-items: center; gap: 6px; cursor: pointer;
  min-height: 40px; padding: 0 12px; border: 1px solid var(--line); border-radius: 999px; font-weight: 700; font-size: .9rem;
}
.lang summary::-webkit-details-marker { display: none; }
.lang__list {
  position: absolute; right: 0; top: calc(100% + 6px); margin: 0; padding: 6px; list-style: none; min-width: 170px;
  background: var(--card); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow);
}
.lang__list a { display: block; padding: 8px 12px; border-radius: 9px; color: var(--text); text-decoration: none; }
.lang__list a:hover, .lang__list a[aria-current] { background: var(--accent-soft); }
.lang__list a[aria-current] { font-weight: 700; }
@media (min-width: 860px) { .top__nav { display: flex; } }

/* Hero */
.hero {
  padding: 40px 0 24px;
}
.hero__in { display: grid; gap: 36px; align-items: center; }
.eyebrow { display: inline-block; margin-bottom: 14px; padding: 4px 12px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-strong); font-weight: 700; font-size: .85rem; }
.ticks { list-style: none; padding: 0; margin: 0 0 24px; display: flex; flex-wrap: wrap; gap: 8px 18px; }
.ticks li { position: relative; padding-left: 26px; font-weight: 600; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .3em; width: 18px; height: 18px; border-radius: 50%;
  background: var(--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round' d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.hero__phone { display: flex; justify-content: center; }
.phone {
  width: min(300px, 74vw); border-radius: 36px; padding: 10px; background: #0c1412;
  box-shadow: 0 30px 60px -20px rgba(200, 65, 126, .40), -20px 20px 60px -30px rgba(11, 110, 156, .45), 0 0 0 1px rgba(255, 255, 255, .06) inset;
}
.phone img { border-radius: 27px; width: 100%; }
.phone.phone--small { width: min(240px, 62vw); border-radius: 30px; padding: 8px; }
.phone--small img { border-radius: 23px; }
@media (min-width: 900px) {
  .hero { padding: 72px 0 48px; }
  .hero__in { grid-template-columns: 1.2fr .8fr; gap: 48px; }
  .phone { width: 320px; }
}

/* "Coming soon" store pills: not links, the apps are not published yet. */
.soon { list-style: none; padding: 0; margin: 0 0 12px; display: flex; flex-wrap: wrap; gap: 12px; }
.cta .soon { justify-content: center; }
.soon__item {
  display: inline-flex; align-items: center; gap: 10px; min-height: 54px; padding: 6px 18px 6px 14px;
  border-radius: 14px; border: 1.5px dashed var(--muted); color: var(--text); font-weight: 700; font-size: 1.05rem; line-height: 1.15;
}
.soon__item small { display: block; font-size: .72rem; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }

/* Sections */
.section { padding: 56px 0; }
.section--tint { background: var(--bg-tint); }
@media (min-width: 900px) { .section { padding: 84px 0; } }

.cards { display: grid; gap: 16px; grid-template-columns: 1fr; margin-top: 28px; }
@media (min-width: 620px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (min-width: 980px) { .cards { grid-template-columns: repeat(3, 1fr); } }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.card p { color: var(--muted); margin: 0; }
.card--big p { margin-bottom: 14px; }
.card__icon { color: var(--accent); margin-bottom: 12px; background: var(--accent-soft); border-radius: 12px; padding: 8px; width: 44px; height: 44px; }

.steps { list-style: none; counter-reset: step; padding: 0; margin: 28px 0 0; display: grid; gap: 16px; }
@media (min-width: 820px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { counter-increment: step; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.step::before {
  content: counter(step); display: inline-grid; place-items: center; width: 40px; height: 40px; margin-bottom: 12px;
  border-radius: 50%; background: var(--brand); color: #fff; font-weight: 800; font-size: 1.1rem;
}
.step p { color: var(--muted); margin: 0; }

.shots {
  display: grid; grid-auto-flow: column; grid-auto-columns: min(240px, 62vw); gap: 20px; overflow-x: auto;
  padding: 24px 4px 16px; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
}
.shot { margin: 0; scroll-snap-align: center; }
.shot figcaption { text-align: center; font-weight: 600; margin-top: 12px; }
@media (min-width: 1040px) { .shots { grid-auto-flow: row; grid-template-columns: repeat(4, 1fr); overflow: visible; justify-items: center; } }

.pay { display: grid; gap: 16px; margin: 28px 0 16px; }
@media (min-width: 820px) { .pay { grid-template-columns: 1fr 1fr; } }
.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: 4px 12px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-strong); font-weight: 700; font-size: .85rem; }

.where { display: grid; gap: 16px; align-items: start; }
.where__icon { color: var(--accent); }
@media (min-width: 720px) { .where { grid-template-columns: auto 1fr; gap: 28px; } }

.faq { margin-top: 24px; display: grid; gap: 10px; }
.faq__item { background: var(--card); border: 1px solid var(--line); border-radius: 14px; }
.faq__item summary {
  cursor: pointer; list-style: none; padding: 16px 48px 16px 18px; font-weight: 700; position: relative;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: ""; position: absolute; right: 18px; top: 50%; width: 10px; height: 10px; margin-top: -7px;
  border-right: 2.5px solid var(--accent); border-bottom: 2.5px solid var(--accent); transform: rotate(45deg); transition: transform .2s;
}
.faq__item[open] summary::after { transform: rotate(225deg); margin-top: -2px; }
.faq__item p { padding: 0 18px 16px; margin: 0; color: var(--muted); }

.cta__icon { margin: 0 auto 18px; border-radius: 18px; }

/* Panels (verify, 404) */
.panel { background: var(--card); border: 1px solid var(--line); border-radius: 24px; padding: 32px 20px; box-shadow: var(--shadow); }
.panel__icon { margin: 0 auto 18px; border-radius: 18px; }
.panel h1 { font-size: clamp(1.7rem, 6vw, 2.4rem); }
.verify__help { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); }
.is-mobile .verify__desktop, .is-desktop .verify__mobile { display: none; }
.big-code { font-size: 4rem; font-weight: 800; color: var(--brand); margin: 0; line-height: 1; }

/* Footer */
.foot { border-top: 1px solid var(--line); padding: 36px 0 48px; background: var(--bg); }
.foot__in { display: grid; gap: 16px; }
.foot__brand { display: flex; align-items: center; gap: 10px; font-weight: 800; }
.foot__brand img { border-radius: 7px; }
.foot__links { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.foot__links a { color: var(--text); }
.foot__langs { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: .9rem; }
.foot__langs a { color: var(--muted); text-decoration: none; }
.foot__langs a[aria-current] { color: var(--text); font-weight: 700; }
.foot__small { color: var(--muted); font-size: .85rem; margin: 0; }

/* Cookie dialog + banner */
.cookie {
  width: min(520px, calc(100vw - 32px)); border: 1px solid var(--line); border-radius: 20px; padding: 24px;
  background: var(--card); color: var(--text); box-shadow: var(--shadow);
}
.cookie::backdrop { background: rgba(0, 0, 0, .45); }
.cookie h2 { font-size: 1.35rem; }
.cookie ul { padding-left: 20px; color: var(--muted); }
.cookie__actions, .banner__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cookie__actions:has(> :only-child) { grid-template-columns: 1fr; }
.banner { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: var(--card); border-top: 1px solid var(--line); box-shadow: var(--shadow); padding: 16px 0; }
.banner__in { display: grid; gap: 12px; }
.banner p { margin: 0; }
@media (min-width: 820px) { .banner__in { grid-template-columns: 1fr auto; align-items: center; } }

/* Chargers map (Leaflet; tiles and stations served by this site) */
.map { margin: 24px 0 12px; background: var(--card); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; box-shadow: var(--shadow); }
.map__canvas { height: 420px; background: #cbcbcb; z-index: 0; }
/* Grey base map (no green), and the mask (outside Europe = sea colour) through the same filter so both match. */
.map .map__tiles, .map .map__maskpane { filter: grayscale(1); }
.map .map__maskpane { z-index: 350; pointer-events: none; }
@media (min-width: 820px) { .map__canvas { height: 560px; } }
.map__canvas.is-loading::after { content: ""; position: absolute; top: 12px; right: 12px; z-index: 1000; width: 18px; height: 18px; border-radius: 50%; border: 3px solid var(--brand-soft); border-top-color: var(--brand); animation: map-spin .8s linear infinite; }
@keyframes map-spin { to { transform: rotate(360deg); } }
.map__legend { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; padding: 12px 18px; border-top: 1px solid var(--line); font-weight: 600; font-size: .92rem; }
.map__key { display: inline-flex; align-items: center; gap: 8px; }
.map__key::before { content: ""; width: 12px; height: 12px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 1px var(--line); }
.map__key--dc::before { background: var(--brand); }
.map__key--ac::before { background: var(--accent); }
.map__hint { font-weight: 400; margin-left: auto; }
.map__error { color: var(--brand); font-weight: 600; }
.map__cluster { display: flex; align-items: center; justify-content: center; border-radius: 50%; color: #fff; font-weight: 800; font-size: .74rem; cursor: pointer;
  background: #0b4f7a; border: 2px solid #fff; box-shadow: 0 0 0 4px rgba(11, 79, 122, .3), 0 3px 10px rgba(10, 16, 32, .3); }
.map__cluster--m { font-size: .78rem; box-shadow: 0 0 0 5px rgba(11, 79, 122, .3), 0 3px 10px rgba(10, 16, 32, .3); }
.map__cluster--l { font-size: .82rem; box-shadow: 0 0 0 6px rgba(11, 79, 122, .3), 0 3px 10px rgba(10, 16, 32, .3); }
.map__cluster:hover { filter: brightness(1.1); }
.map__pop { display: grid; gap: 2px; font: inherit; font-size: .9rem; }
.map__pop strong { font-weight: 700; }
.map .leaflet-container { font: inherit; }
.map .leaflet-control-attribution { font-size: .72rem; }
.map .leaflet-control-attribution a, .map .leaflet-popup-content a { color: var(--accent); }
.map .leaflet-bar a { color: var(--text); }
@media (prefers-color-scheme: dark) {
  .map .map__tiles, .map .map__maskpane { filter: grayscale(1) invert(1) brightness(.85) contrast(.9); }
  .map .leaflet-bar a { background: var(--card); color: var(--text); border-color: var(--line); }
  .map .leaflet-control-attribution { background: rgba(10,16,32,.75); color: var(--muted); }
  .map .leaflet-popup-content-wrapper, .map .leaflet-popup-tip { background: var(--card); color: var(--text); }
}
@media (prefers-reduced-motion: reduce) { .map__canvas.is-loading::after { animation: none; } }
@media (min-width: 1040px) { .phone.phone--small { width: 100%; max-width: 240px; } }

/* Bold brand bands (owner, 2026-12-04: the hero must stand out; flat colours, no gradients):
   hero = dark pink, closing call to action = deep sky blue. White text, same in light and dark mode. */
.hero, .cta {
  --band-text: #ffffff;
  --band-muted: rgba(255, 255, 255, .93);
  color: var(--band-text);
  background: #c8417e;
}
.cta { background: #0b6e9c; }
.hero .lead, .cta .lead, .hero .muted { color: var(--band-muted); }
.hero .eyebrow { background: rgba(255, 255, 255, .14); color: #fff; border: 1px solid rgba(255, 255, 255, .28); }
.hero .ticks li::before { background-color: #0b4f7a; }
.hero .soon__item, .cta .soon__item { border-color: rgba(255, 255, 255, .6); color: #fff; background: rgba(255, 255, 255, .08); }
.hero .soon__item small, .cta .soon__item small { color: rgba(255, 255, 255, .75); }
.hero h1 { text-shadow: 0 2px 24px rgba(0, 0, 0, .18); }
.hero .phone { box-shadow: 0 40px 80px -20px rgba(0, 0, 0, .55), 0 0 0 1px rgba(255, 255, 255, .12) inset; }
.cta .cta__icon { box-shadow: 0 10px 30px rgba(0, 0, 0, .3); }
.brand img, .foot__brand img { box-shadow: 0 2px 8px rgba(200, 65, 126, .25); }
