/* =========================================================================
   TrueCover flyers — extracted verbatim from the delivered flyers and
   namespaced so both can live in one document:
     .flyer--home  ← home-flyer-v4a.html
     .flyer--car   ← car-flyer-v1.html
   Only additions vs. the originals:
     - .agent-name element (per-agent name, hidden when empty)
     - logo uses the white PNG directly (dropped the CSS invert filter so
       image export stays pixel-perfect)
   Artboard: 154×216mm (148×210 trim + 3mm bleed).
   ========================================================================= */

/* ---------- shared artboard ---------- */
.flyer {
  width: 154mm; height: 216mm;
  position: relative;
  overflow: hidden;
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  -webkit-print-color-adjust: exact;
  print-color-adjust: exact;
}
/* contact lockup (V1): agent name on top, phone with a call icon below — no
   uppercase "call us" label. Shared by both flyers. */
.flyer .agent-name {
  font-size: 13pt; font-weight: 700;
  letter-spacing: -0.01em; line-height: 1.1;
  color: #ffffff; margin-bottom: 2.5mm;
}
.flyer .agent-name:empty { display: none; }
.flyer .phone-line { display: flex; align-items: center; gap: 2.5mm; }
.flyer .phone-ico { width: 6mm; height: 6mm; flex: none; opacity: 0.95; }
.flyer .phone {
  font-size: 30pt; font-weight: 800; line-height: 1; letter-spacing: -0.02em;
  color: #ffffff; font-feature-settings: "tnum"; white-space: nowrap;
}
/* full TrueCover wordmark, inverted to white (renders correctly via the
   browser engine in both preview and html-to-image export) */
.flyer .logo { display: block; filter: brightness(0) invert(1); }

/* =========================================================================
   HOME — white reminder zone + brand-blue offer zone + purple sticker
   ========================================================================= */
.flyer--home { background: #ffffff; color: #0b1120; }

.flyer--home .zone-top {
  position: absolute; top: 0; left: 0; right: 0; height: 62mm;
  background: #ffffff; padding: 13mm 12mm 0; box-sizing: border-box;
  display: flex; flex-direction: column;
}
.flyer--home .badge {
  display: inline-flex; align-items: center; gap: 2.5mm;
  padding: 2.4mm 4.5mm 2.4mm 3.5mm; background: #2761eb; border: none;
  border-radius: 9999px; color: #fff; font-size: 10pt; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase; align-self: flex-start;
  box-shadow: 0 1.5mm 3mm rgba(39,97,235,0.3);
}
.flyer--home .badge .bell { width: 4.2mm; height: 4.2mm; }
.flyer--home .badge .dot {
  width: 1.8mm; height: 1.8mm; border-radius: 50%; background: #fff;
  margin-left: 1.5mm; box-shadow: 0 0 0 1.2mm rgba(255,255,255,0.25);
}
.flyer--home .headline-wrap { margin-top: 5mm; max-width: 125mm; }
.flyer--home .headline {
  font-size: 27pt; font-weight: 800; line-height: 1.04;
  letter-spacing: -0.02em; color: #0b1120; margin: 0; text-wrap: balance;
}
.flyer--home .headline .accent-stop { color: #2761eb; }
.flyer--home .subhead {
  margin-top: 4mm; max-width: 96mm; font-size: 10.5pt; font-weight: 400;
  line-height: 1.4; color: #4b5563; text-wrap: pretty;
}

.flyer--home .zone-bot {
  position: absolute; top: 62mm; left: 0; right: 0; bottom: 0;
  background-color: #2761eb;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'><circle cx='12' cy='12' r='1.2' fill='%23ffffff' fill-opacity='0.045'/></svg>");
  background-size: 6mm 6mm; color: #fff; padding: 10mm 12mm 7mm 12mm;
  box-sizing: border-box; display: flex; flex-direction: column;
}
.flyer--home .offer-label {
  font-size: 8pt; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: #fff; opacity: 0.88;
  display: flex; align-items: center; gap: 2.2mm;
}
.flyer--home .offer-label::before {
  content: ""; width: 6mm; height: 0.6mm; background: #fff; opacity: 0.75;
  display: inline-block;
}
.flyer--home .price-row { display: flex; align-items: flex-end; gap: 5mm; margin-top: 1mm; }
.flyer--home .price-from {
  font-size: 7.5pt; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: #fff; opacity: 0.75; margin-bottom: 4mm;
  display: flex; align-items: center; gap: 1.6mm;
}
.flyer--home .price {
  font-size: 72pt; font-weight: 800; line-height: 0.9; letter-spacing: -0.045em;
  color: #fff; white-space: nowrap; font-feature-settings: "ss01","tnum";
}
.flyer--home .price .per {
  font-size: 20pt; font-weight: 600; letter-spacing: -0.02em;
  color: #fff; opacity: 0.85; margin-left: 1mm;
}
.flyer--home .scenario { margin-top: 1.5mm; font-size: 9pt; font-weight: 500; color: #fff; opacity: 0.92; }
.flyer--home .hair { height: 0.3mm; background: #fff; opacity: 0.22; margin: 3mm 0 2.5mm; }
.flyer--home .cov-title {
  font-size: 8pt; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: #fff; opacity: 0.88; margin-bottom: 2.5mm;
}
.flyer--home .cov-grid { display: grid; grid-template-columns: 1fr 1fr; column-gap: 6mm; row-gap: 1mm; }
.flyer--home .cov-item {
  display: flex; align-items: flex-start; gap: 2mm; font-size: 9pt;
  font-weight: 500; line-height: 1.3; color: #fff;
}
.flyer--home .cov-item .chk { flex-shrink: 0; width: 3.4mm; height: 3.4mm; margin-top: 0.3mm; }
.flyer--home .cov-item.full { grid-column: 1 / -1; }
/* "+ και άλλες πολλές" teaser — reads as "and more", not a hard list */
.flyer--home .cov-more { opacity: 0.92; font-weight: 600; font-style: italic; }
.flyer--home .cov-more .plus { display: inline-block; width: 3.4mm; text-align: center; font-style: normal; font-weight: 800; font-size: 11pt; line-height: 1; }

/* ENFIA discount strip — ties the (already-covered) 3 perils to the tax break */
.flyer--home .enfia-strip {
  margin-top: 2.5mm; display: flex; align-items: center; gap: 3mm;
  background: rgba(255,255,255,0.12); border: 0.35mm solid rgba(255,255,255,0.30);
  border-radius: 2.5mm; padding: 2.4mm 3.2mm;
}
.flyer--home .enfia-strip .pct {
  background: #8a38d3; color: #fff; font-weight: 800; font-size: 11pt;
  padding: 1.4mm 2.6mm; border-radius: 1.5mm; white-space: nowrap; letter-spacing: -0.01em;
}
.flyer--home .enfia-strip .txt { font-size: 10pt; font-weight: 700; color: #fff; line-height: 1.15; }
.flyer--home .enfia-strip .txt small {
  display: block; font-size: 7.5pt; font-weight: 500; opacity: 0.82;
  letter-spacing: 0.01em; margin-top: 0.6mm;
}
.flyer--home .trust {
  margin-top: 3mm; font-size: 7.8pt; font-weight: 500; letter-spacing: 0.01em;
  color: #fff; opacity: 0.82; display: flex; align-items: center; gap: 2.4mm; flex-wrap: wrap;
}
.flyer--home .trust .sep { display: inline-block; width: 1mm; height: 1mm; border-radius: 50%; background: #fff; opacity: 0.5; }

.flyer--home .cta { margin-top: auto; display: grid; grid-template-columns: 1fr auto; gap: 6mm; align-items: stretch; padding-top: 3mm; }
.flyer--home .cta-left { display: flex; flex-direction: column; justify-content: center; }
.flyer--home .qr-wrap { width: 28mm; display: flex; flex-direction: column; align-items: center; gap: 1.4mm; }
.flyer--home .qr { width: 28mm; height: 28mm; background: #fff; border-radius: 1.2mm; padding: 1.4mm; box-sizing: border-box; }
.flyer--home .qr img { width: 100%; height: 100%; display: block; }
.flyer--home .qr-caption { font-size: 7pt; font-weight: 600; letter-spacing: 0.06em; color: #fff; opacity: 0.9; }

.flyer--home .sticker {
  position: absolute; top: 52mm; right: 10mm; width: 30mm; height: 30mm;
  transform: rotate(-8deg); background: #8a38d3; color: #fff; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; z-index: 5;
}
.flyer--home .sticker::before {
  content: ''; position: absolute; inset: 1.8mm;
  border: 0.45mm dashed rgba(255,255,255,0.55); border-radius: 50%;
}
.flyer--home .sticker-inner { display: flex; flex-direction: column; align-items: center; text-align: center; line-height: 1; gap: 1.2mm; padding: 0 3mm; }
.flyer--home .sticker-top { font-size: 7.5pt; font-weight: 600; letter-spacing: 0.14em; opacity: 0.92; text-transform: uppercase; }
.flyer--home .sticker-bottom { font-size: 14pt; font-weight: 800; letter-spacing: -0.01em; text-transform: uppercase; }

.flyer--home .logo-row { margin-top: 2.5mm; display: flex; justify-content: center; align-items: center; }
.flyer--home .logo { height: 8mm; }

/* =========================================================================
   CAR — dark navy, floating white card, coverage chips
   ========================================================================= */
.flyer--car {
  background: #101a4a;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'><circle cx='12' cy='12' r='1.2' fill='%23ffffff' fill-opacity='0.04'/></svg>");
  background-size: 6mm 6mm; padding: 14mm 12mm 11mm; box-sizing: border-box;
  display: flex; flex-direction: column; color: #fff;
}
.flyer--car .top-mark {
  text-align: center; font-size: 13pt; letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(255,255,255,0.78); font-weight: 700; margin-bottom: 7mm;
  display: flex; align-items: center; justify-content: center; gap: 4mm;
}
.flyer--car .top-mark::before, .flyer--car .top-mark::after {
  content: ""; width: 14mm; height: 0.4mm; background: rgba(255,255,255,0.35); display: inline-block;
}
.flyer--car .card {
  background: #fff; color: #0b1120; border-radius: 6mm; padding: 8mm 8mm 9mm;
  box-shadow: 0 6mm 14mm rgba(0,0,0,0.35); position: relative;
}
.flyer--car .card-badge {
  display: inline-flex; align-items: center; gap: 2.5mm; padding: 2.4mm 4.5mm 2.4mm 3.5mm;
  background: #2761eb; border: none; border-radius: 9999px; color: #fff;
  font-size: 10pt; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  margin-bottom: 6mm; box-shadow: 0 1.5mm 3mm rgba(39,97,235,0.3); position: relative;
}
.flyer--car .card-badge .bell { width: 4.2mm; height: 4.2mm; }
.flyer--car .card-badge .dot { width: 1.8mm; height: 1.8mm; border-radius: 50%; background: #fff; margin-left: 1.5mm; box-shadow: 0 0 0 1.2mm rgba(255,255,255,0.25); }
.flyer--car .card-headline { font-size: 19pt; font-weight: 800; line-height: 1.1; letter-spacing: -0.02em; color: #0b1120; margin: 0 0 3mm; }
.flyer--car .card-headline .accent-stop { color: #2761eb; }
.flyer--car .card-sub { font-size: 9.5pt; font-weight: 400; line-height: 1.45; color: #4b5563; margin: 0 0 6mm; }
.flyer--car .chips-label { font-size: 7.5pt; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: #6b7280; margin-bottom: 3mm; text-align: center; }
.flyer--car .chips { display: flex; flex-wrap: wrap; gap: 2mm; justify-content: center; }
.flyer--car .chip { font-size: 8pt; font-weight: 600; padding: 1.4mm 3mm; border-radius: 9999px; white-space: nowrap; }
.flyer--car .chip.c-blue   { background: #e0ecff; color: #1a4bc7; }
.flyer--car .chip.c-red    { background: #fee2e2; color: #b91c1c; }
.flyer--car .chip.c-orange { background: #ffedd5; color: #c2410c; }
.flyer--car .chip.c-green  { background: #dcfce7; color: #15803d; }
.flyer--car .chip.c-purple { background: #f3e8ff; color: #6d2ba3; }
.flyer--car .chip.c-yellow { background: #fef3c7; color: #a16207; }
.flyer--car .chip.c-teal   { background: #ccfbf1; color: #0f766e; }
.flyer--car .env-cta { margin-top: 7mm; text-align: center; }
.flyer--car .env-ico { width: 9mm; height: 9mm; margin: 0 auto 3mm; display: block; }
.flyer--car .env-text { font-size: 9pt; line-height: 1.45; color: #fff; opacity: 0.92; max-width: 100mm; margin: 0 auto; font-weight: 500; }
.flyer--car .env-text strong { font-weight: 700; }
.flyer--car .contact-row { margin-top: auto; display: grid; grid-template-columns: 1fr auto; gap: 6mm; align-items: center; padding-top: 6mm; }
.flyer--car .phone-block { display: flex; flex-direction: column; }
.flyer--car .qr-wrap { width: 30mm; display: flex; flex-direction: column; align-items: center; gap: 1.4mm; }
.flyer--car .qr { width: 30mm; height: 30mm; background: #fff; border-radius: 1.2mm; padding: 1.6mm; box-sizing: border-box; }
.flyer--car .qr img { width: 100%; height: 100%; display: block; }
.flyer--car .qr-caption { font-size: 7pt; font-weight: 600; letter-spacing: 0.06em; color: rgba(255,255,255,0.85); }
.flyer--car .trust { margin-top: 4mm; text-align: center; font-size: 7.5pt; font-weight: 500; color: rgba(255,255,255,0.72); letter-spacing: 0.01em; }
.flyer--car .trust .sep { color: rgba(255,255,255,0.4); margin: 0 1.5mm; }
.flyer--car .logo-row { margin-top: 4mm; display: flex; justify-content: center; }
.flyer--car .logo { height: 7.5mm; }
