/* EUROGUARD call-to-action proposal: free map (cyan) vs paid alerts (red).
   Homepage + map page. Uses existing palette: --home-accent #4fdfff, --home-red #ff4d3d. */
:root { --egp-cyan: #4fdfff; --egp-cyan-2: #8be9ff; --egp-red: #ff4d3d; --egp-ink: #061019; --egp-green: #38d39f; }

/* ---------- shared buttons ---------- */
.egp-btn-map, .egp-btn-alert { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; border-radius: 999px;
  font: 700 17px/1 "Homepage Space Grotesk", "Space Grotesk", system-ui, sans-serif; letter-spacing: -.01em; transition: transform .2s, box-shadow .2s, background .2s; }
.egp-btn-map { padding: 18px 26px 18px 20px; color: var(--egp-ink); background: linear-gradient(180deg, var(--egp-cyan-2), var(--egp-cyan));
  box-shadow: 0 0 0 1px rgba(79,223,255,.5), 0 12px 40px -8px rgba(79,223,255,.55); }
.egp-btn-map:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px rgba(79,223,255,.7), 0 18px 50px -8px rgba(79,223,255,.75); }
.egp-btn-map svg, .egp-btn-alert svg { width: 22px; height: 22px; flex: none; }
.egp-free { display: inline-block; padding: 5px 8px; border-radius: 6px; background: var(--egp-ink); color: var(--egp-cyan);
  font: 700 11px/1 ui-monospace, Menlo, monospace; letter-spacing: .14em; }
.egp-btn-alert { padding: 17px 24px; color: #fff; background: transparent; border: 1px solid rgba(255,77,61,.7); }
.egp-btn-alert:hover { background: rgba(255,77,61,.12); }
.egp-btn-alert small { font: 500 12px/1 "Homepage Space Grotesk", system-ui, sans-serif; color: #ffb3aa; }
.egp-btn-map:focus-visible, .egp-btn-alert:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

/* ---------- homepage: header ---------- */
body.homepage .home-navigation a.egp-nav-map { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px;
  border: 1px solid rgba(79,223,255,.55); color: var(--egp-cyan); background: rgba(79,223,255,.08); }
body.homepage .home-navigation a.egp-nav-map:hover { background: rgba(79,223,255,.16); }
.egp-nav-map em { font: 700 10px/1 ui-monospace, Menlo, monospace; font-style: normal; letter-spacing: .14em; padding: 4px 6px; border-radius: 4px; background: var(--egp-cyan); color: var(--egp-ink); }
.egp-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--egp-green); box-shadow: 0 0 10px var(--egp-green); animation: egp-blink 1.8s infinite; }
@keyframes egp-blink { 50% { opacity: .3; } }

/* ---------- homepage: hero ---------- */
.egp-hero-cta { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 14px; margin: 26px auto 10px; }
.egp-hero-note { width: 100%; margin: 4px 0 0; font: 500 12px/1.4 ui-monospace, Menlo, monospace; letter-spacing: .12em; text-transform: uppercase; color: var(--home-muted, #9baebf); }
.egp-hero-note b { color: var(--egp-cyan); font-weight: 700; }

/* ---------- homepage: map teaser copy ---------- */
.egp-free-tag { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 14px; padding: 7px 11px; border-radius: 999px;
  border: 1px solid rgba(56,211,159,.45); color: var(--egp-green); background: rgba(56,211,159,.08);
  font: 600 11px/1 ui-monospace, Menlo, monospace; letter-spacing: .14em; text-transform: uppercase; }
.egp-checks { list-style: none; padding: 0; margin: 18px 0 26px; display: grid; gap: 9px; }
.egp-checks li { display: flex; gap: 10px; align-items: center; color: var(--home-text, #edf3f8); }
.egp-checks li::before { content: ''; width: 18px; height: 18px; flex: none; border-radius: 50%;
  background: rgba(56,211,159,.15) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%2338d39f' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat; }
.egp-sub-link { display: inline-block; margin-top: 16px; color: #ffb3aa; text-decoration: none; font-size: 15px; }
.egp-sub-link:hover { color: #fff; text-decoration: underline; }
.egp-stage-link { position: absolute; inset: 0; z-index: 3; }
.egp-stage-link:focus-visible { outline: 2px solid var(--egp-cyan); outline-offset: -4px; }

/* ---------- homepage: mobile sticky bar ---------- */
.egp-sticky { display: none; }
@media (max-width: 760px) {
  .egp-sticky { display: grid; grid-template-columns: 1.25fr 1fr; gap: 8px; position: fixed; z-index: 60; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom));
    padding: 8px; border-radius: 18px; background: rgba(8,14,23,.88); border: 1px solid #233340; backdrop-filter: blur(12px);
    transform: translateY(140%); transition: transform .35s ease; }
  .egp-sticky.is-on { transform: none; }
  .egp-sticky a { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 10px; border-radius: 12px; text-decoration: none;
    font: 700 15px/1 "Homepage Space Grotesk", system-ui, sans-serif; }
  .egp-sticky .m { background: var(--egp-cyan); color: var(--egp-ink); }
  .egp-sticky .a { border: 1px solid rgba(255,77,61,.7); color: #fff; }
  .egp-sticky svg { width: 18px; height: 18px; }
  .egp-btn-map, .egp-btn-alert { width: 100%; justify-content: center; }
}

/* ---------- map page ---------- */
.egp-map-free { display: inline-flex; align-items: center; gap: 7px; padding: 7px 10px; border-radius: 6px; border: 1px solid rgba(56,211,159,.4);
  color: var(--egp-green); font: 600 10.5px/1.2 ui-monospace, Menlo, monospace; letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; }
.egp-map-alert { display: inline-flex; align-items: center; gap: 9px; height: 44px; padding: 0 16px 0 13px; border-radius: 8px; text-decoration: none; white-space: nowrap;
  background: var(--egp-red); color: #fff; font: 700 14px/1 "Space Grotesk", system-ui, sans-serif; box-shadow: 0 0 0 1px rgba(255,77,61,.6), 0 8px 26px -6px rgba(255,77,61,.6); }
.egp-map-alert:hover { background: #ff6a5c; }
.egp-map-alert svg { width: 18px; height: 18px; }
.egp-map-alert small { font: 500 11px/1 ui-monospace, Menlo, monospace; opacity: .85; }
.egp-map-fab { display: none; }
.egp-card { position: fixed; z-index: 1200; right: 18px; bottom: 74px; width: min(360px, calc(100vw - 24px)); padding: 18px 18px 16px; border-radius: 14px;
  background: rgba(10,18,27,.96); border: 1px solid rgba(255,77,61,.45); box-shadow: 0 24px 60px -20px #000; color: #edf3f8;
  font: 400 14px/1.45 "Space Grotesk", system-ui, sans-serif; transform: translateY(16px); opacity: 0; pointer-events: none; transition: .35s ease; }
.egp-card.is-on { transform: none; opacity: 1; pointer-events: auto; }
.egp-card h3 { margin: 0 0 6px; font-size: 17px; line-height: 1.25; }
.egp-card p { margin: 0 0 14px; color: #9baebf; }
.egp-card .row { display: flex; gap: 8px; align-items: center; }
.egp-card .go { flex: 1; text-align: center; padding: 12px; border-radius: 9px; background: var(--egp-red); color: #fff; text-decoration: none; font-weight: 700; }
.egp-card .later { all: unset; cursor: pointer; padding: 12px; color: #9baebf; font-size: 13px; }
.egp-card .x { all: unset; cursor: pointer; position: absolute; top: 10px; right: 12px; color: #9baebf; font-size: 18px; line-height: 1; }
.egp-card .kicker { display: block; margin-bottom: 8px; font: 600 10.5px/1 ui-monospace, Menlo, monospace; letter-spacing: .14em; color: #ff8a7d; text-transform: uppercase; }
@media (max-width: 1180px) { .egp-map-free { display: none; } }
@media (max-width: 760px) {
  .egp-map-alert { display: none; }
  .egp-map-fab { display: inline-flex; align-items: center; gap: 8px; position: fixed; z-index: 1100; left: 50%; transform: translateX(-50%);
    bottom: calc(150px + env(safe-area-inset-bottom)); padding: 13px 18px; border-radius: 999px; text-decoration: none; white-space: nowrap;
    background: var(--egp-red); color: #fff; font: 700 15px/1 "Space Grotesk", system-ui, sans-serif; box-shadow: 0 10px 30px -6px rgba(255,77,61,.7); }
  .egp-map-fab svg { width: 18px; height: 18px; }
  .egp-card { right: 12px; left: 12px; width: auto; bottom: calc(210px + env(safe-area-inset-bottom)); }
}
@media (prefers-reduced-motion: reduce) { .egp-dot { animation: none; } .egp-card, .egp-sticky { transition: none; } }
/* specificity fixes against home.css / styles.css link colours */
body a.egp-btn-map, body a.egp-btn-map:visited, body a.egp-btn-map:hover { color: var(--egp-ink) !important; }
body a.egp-btn-alert, body a.egp-map-alert, body a.egp-map-fab, body .egp-sticky a.a { color: #fff !important; }
body .egp-sticky a.m { color: var(--egp-ink) !important; }
body.homepage .home-mapteaser-copy .egp-checks { margin: 20px 0 30px; }
body.homepage .home-mapteaser-copy .egp-btn-map { margin-top: 2px; }
.egp-free-badge { color: #38d39f !important; border-color: rgba(56,211,159,.45) !important; }
@media (max-width: 760px) {
  .egp-map-fab { bottom: calc(246px + env(safe-area-inset-bottom)); }
  .egp-card { bottom: calc(306px + env(safe-area-inset-bottom)); }
}
