@font-face {
  font-family: Montserrat;
  font-weight: 400;
  src: url("./fonts/montserrat-400.woff2") format("woff2");
  font-display: swap;
}
@font-face {
  font-family: Montserrat;
  font-weight: 600;
  src: url("./fonts/montserrat-600.woff2") format("woff2");
  font-display: swap;
}
@font-face {
  font-family: Montserrat;
  font-weight: 700;
  src: url("./fonts/montserrat-700.woff2") format("woff2");
  font-display: swap;
}
@font-face {
  font-family: Montserrat;
  font-weight: 800;
  src: url("./fonts/montserrat-800.woff2") format("woff2");
  font-display: swap;
}
@font-face {
  font-family: Montserrat;
  font-weight: 900;
  src: url("./fonts/montserrat-900.woff2") format("woff2");
  font-display: swap;
}
@font-face {
  font-family: "Great Vibes";
  font-weight: 400;
  src: url("./fonts/greatvibes.woff2") format("woff2");
  font-display: swap;
}

:root {
  --red: #e30613;
  --blue: #0054a6;
  --navy: #002d72;
  --yellow: #ffcd00;
  --ink: #2a3340;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { width: 100%; }
body {
  font-family: Montserrat, Arial, Helvetica, sans-serif;
  background: #d9dee6;
  color: var(--ink);
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

.page {
  width: 100%;
  max-width: 576px;
  margin: 0 auto;
  background: #fff;
  overflow: hidden;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  height: min(428px, calc(100vw * 428 / 576));
  background:
    linear-gradient(180deg, rgba(255,255,255,0.08) 0%, transparent 22%, transparent 70%, rgba(0,20,40,0.18) 100%),
    url("./hero.jpg") center 38% / cover no-repeat;
}

.hero-head {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 10px 12px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 7px;
}
.brand img { width: 36px; height: 36px; }
.brand strong {
  display: block;
  color: var(--red);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
}
.brand small {
  display: block;
  margin-top: 3px;
  color: var(--blue);
  font-size: 8.5px;
  font-weight: 600;
}

.script {
  font-family: "Great Vibes", cursive;
  color: var(--navy);
  line-height: 1;
}
.script-top {
  font-size: 20px;
  padding-top: 4px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 160 12'%3E%3Cpath d='M2 8c40-6 80 4 156-3' stroke='%23e30613' stroke-width='3.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat 50% 100%;
  background-size: 100% 10px;
  padding-bottom: 8px;
}
.script-bottom {
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 3;
  font-size: 20px;
  text-shadow: 0 1px 6px #fff;
}

.splash {
  position: absolute;
  left: 2px;
  top: 78px;
  width: 322px;
  height: 220px;
  z-index: 2;
  color: #fff;
  text-align: left;
  padding: 32px 26px 20px 28px;
  transform: rotate(-4deg);
}
.splash-shape {
  position: absolute;
  inset: -6px -4px -2px -8px;
  width: auto;
  height: auto;
  z-index: 0;
  filter: drop-shadow(0 12px 16px rgba(120, 0, 10, 0.32));
}
.splash > *:not(.splash-shape) { position: relative; z-index: 1; }
.splash-a {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.06em;
  font-style: italic;
  text-shadow: 0 1px 0 rgba(90, 0, 8, 0.25);
}
.splash-b {
  margin-top: 1px;
  color: #ffe14a;
  font-size: 19px;
  font-weight: 900;
  letter-spacing: 0.1em;
  font-style: italic;
  text-shadow: 0 1px 0 rgba(90, 0, 8, 0.2);
}
.splash-pct {
  margin: 0;
  line-height: 0.84;
}
.splash-pct span {
  display: inline-block;
  font-size: 86px;
  font-weight: 900;
  letter-spacing: -0.05em;
  color: #fff;
  -webkit-text-stroke: 3px #b10510;
  paint-order: stroke fill;
  text-shadow: 0 5px 0 rgba(90, 0, 8, 0.35), 0 10px 18px rgba(60, 0, 6, 0.28);
  transform-origin: 50% 55%;
  will-change: transform;
  animation: splashBeat 1.1s ease-in-out infinite;
}
@keyframes splashBeat {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.18); }
}
.splash-c {
  display: block;
  margin-top: 2px;
  max-width: 240px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1.25;
  text-shadow: 0 1px 2px rgba(80, 0, 8, 0.35);
}

.pylon {
  position: absolute;
  top: 84px;
  right: 10px;
  width: 96px;
  background: #fff;
  border-radius: 5px;
  box-shadow: 0 10px 22px rgba(0, 20, 40, 0.28);
  z-index: 3;
  overflow: hidden;
}
.pylon-logo {
  background: var(--red);
  padding: 7px 0 5px;
}
.pylon-logo img { width: 28px; height: 28px; margin: 0 auto; filter: brightness(12); }
.pylon ul { list-style: none; padding: 5px 0 7px; }
.pylon li {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 3px 8px;
  font-size: 10px;
  font-weight: 700;
  color: #243040;
}
.ic {
  width: 10px;
  height: 10px;
  border-radius: 2px;
  flex: 0 0 10px;
}
.ic-gazole { background: #4a4a4a; }
.ic-essence { background: #2e9b3a; }
.ic-excellium { background: var(--red); }
.ic-elf { background: var(--blue); }
.ic-shop { background: #0078c1; }
.ic-cafe { background: #0078c1; }
.ic-wash { background: #3aa0d8; }

/* ===== PRICES ===== */
.prices {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 10px 12px 6px;
  background: #fff;
}
.pcard {
  border-radius: 14px;
  box-shadow: 0 8px 18px rgba(20, 30, 50, 0.1);
  overflow: visible;
  background: #fff;
}
.pcard-head {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #fff;
  padding: 9px 10px 12px;
  position: relative;
  overflow: hidden;
  border-radius: 14px 14px 0 26px;
}
.essence .pcard-head { background: var(--red); }
.gazole .pcard-head { background: var(--blue); }
.nozzle { width: 40px; height: 40px; margin: 4px 0 -8px; }
.pcard-head h3 { font-size: 18px; font-weight: 800; line-height: 1; }
.pcard-head span { font-size: 10px; font-weight: 500; opacity: 0.95; }
.pcard-body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 10px 12px;
}
.old span { display: block; font-size: 10px; color: #7a818a; margin-bottom: 2px; }
.old strong {
  display: inline-block;
  font-size: 15px;
  color: #8a919a;
  position: relative;
}
.old strong::after {
  content: "";
  position: absolute;
  left: -2px;
  right: -2px;
  top: 48%;
  height: 2.5px;
  background: var(--red);
}
.deal {
  width: 88px;
  min-height: 62px;
  border-radius: 12px;
  border: 1px solid #e4e8ed;
  background: #fff;
  text-align: center;
  padding: 6px 4px 7px;
  overflow: visible;
}
.deal span { display: block; color: var(--red); font-size: 9px; font-weight: 700; }
.deal b {
  display: inline-block;
  color: var(--red);
  font-size: 28px;
  font-weight: 900;
  line-height: 1;
  transform-origin: 50% 50%;
  will-change: transform;
  animation: splashBeat 1.1s ease-in-out infinite;
}
.deal em { display: block; color: var(--red); font-size: 11px; font-weight: 800; font-style: normal; }

/* ===== HOW / CTA ===== */
.how {
  background: linear-gradient(180deg, #eef6fc 0%, #f7fbfe 100%);
  padding: 12px 14px 18px;
  text-align: center;
}
.how h2 {
  color: var(--navy);
  font-size: 15px;
  font-weight: 800;
  margin-bottom: 10px;
  line-height: 1.3;
}
.steps {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 18px rgba(20, 30, 50, 0.08);
  padding: 12px 10px;
  text-align: left;
}
.step {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 1;
}
.num {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  display: grid;
  place-items: center;
  flex: 0 0 22px;
}
.phone { width: 22px; height: 33px; flex: 0 0 22px; }
.gift { width: 26px; height: 26px; flex: 0 0 26px; }
.step p { font-size: 9.5px; font-weight: 700; color: var(--navy); line-height: 1.3; }
.arrow { color: var(--blue); font-size: 22px; font-weight: 800; }

.cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 14px auto 10px;
  width: 82%;
  background: linear-gradient(180deg, #ff5a5a 0%, #e30613 48%, #c10510 100%);
  color: #fff;
  border-radius: 999px;
  padding: 11px 18px;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.03em;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.45),
    0 7px 16px rgba(227, 6, 19, 0.34);
}
.cta svg { width: 16px; height: 16px; }
.cta span { font-size: 16px; }

.stores {
  display: flex;
  justify-content: center;
  gap: 8px;
}
.stores a {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #111;
  color: #fff;
  border: 1px solid #fff;
  border-radius: 7px;
  padding: 4px 8px;
  min-width: 128px;
  text-align: left;
}
.stores svg { width: 18px; height: 18px; }
.stores span { font-size: 8px; line-height: 1.15; font-weight: 500; }
.stores b { font-size: 12px; font-weight: 700; }

/* ===== FEATURES ===== */
.feats {
  display: flex;
  background: #fff;
  padding: 12px 8px;
  border-top: 1px solid #eee;
}
.feats article {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 6px;
  background: none;
  border-radius: 0;
  box-shadow: none;
}
.feats article + article { border-left: 1px solid #ddd; }
.fico {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex: 0 0 28px;
}
.fico svg { width: 15px; height: 15px; }
.fico.red { background: var(--red); }
.fico.orange { background: #f39200; }
.fico.blue { background: #0078c1; }
.fico.green { background: #009640; }
.feats strong {
  display: block;
  color: var(--navy);
  font-size: 9px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1px;
}
.feats span {
  display: block;
  color: #5f6873;
  font-size: 8px;
  line-height: 1.25;
}

@media (max-width: 520px) {
  .feats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 12px;
    background: #f7f9fb;
    padding: 14px 14px 16px;
    border-top: 0;
  }
  .feats article {
    gap: 10px;
    background: #fff;
    border-radius: 12px;
    padding: 12px 10px 12px 10px;
    box-shadow: 0 4px 12px rgba(20, 30, 50, 0.06);
  }
  .feats article + article { border-left: 0; }
  .fico {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
  }
  .fico svg { width: 22px; height: 22px; }
  .feats strong {
    font-size: 12px;
    line-height: 1.25;
    margin-bottom: 2px;
  }
  .feats span {
    font-size: 10.5px;
    line-height: 1.35;
  }
}

/* ===== GALLERY ===== */
.gallery {
  display: flex;
  height: 132px;
  background: #111;
}
.gallery figure {
  position: relative;
  flex: 1;
  overflow: hidden;
  margin: 0;
}
.gallery img {
  width: 130%;
  height: 100%;
  object-fit: cover;
}
.g1 { clip-path: polygon(0 0, 100% 0, 86% 100%, 0 100%); z-index: 3; }
.g2 { margin-left: -10%; clip-path: polygon(14% 0, 100% 0, 86% 100%, 0 100%); z-index: 2; }
.g3 { margin-left: -10%; clip-path: polygon(14% 0, 100% 0, 100% 100%, 0 100%); z-index: 1; }
.gallery figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 22px 10px 8px;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.65);
  background: linear-gradient(180deg, transparent, rgba(0,0,0,0.55));
}
.g3 figcaption {
  left: auto;
  right: 8px;
  top: 8px;
  bottom: auto;
  width: auto;
  padding: 0 2px 8px;
  font-family: "Great Vibes", cursive;
  font-size: 17px;
  font-weight: 400;
  color: var(--navy);
  text-shadow: 0 1px 4px #fff;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 140 10'%3E%3Cpath d='M2 7c36-4 70 3 136-3' stroke='%23e30613' stroke-width='3' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat 80% 100%;
  background-size: 72% 8px;
}

/* ===== FOOTER ===== */
.foot {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 10px 12px;
  background: #fff;
  border-top: 1px solid #eee;
}
.foot .brand { padding-right: 8px; border-right: 1px solid #d1d1d1; }
.foot .brand img { width: 26px; height: 26px; }
.foot .brand strong { font-size: 11px; }
.foot .brand small { font-size: 6.5px; color: #666; }
.pin {
  display: flex;
  align-items: center;
  gap: 5px;
  padding-right: 8px;
  border-right: 1px solid #d1d1d1;
  font-size: 8px;
  font-weight: 600;
  color: #333f48;
  line-height: 1.25;
}
.pin svg { width: 16px; height: 16px; flex: 0 0 16px; }
.socials {
  display: flex;
  gap: 4px;
  padding-right: 8px;
  border-right: 1px solid #d1d1d1;
}
.socials a {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #333f48;
  display: grid;
  place-items: center;
}
.socials svg { width: 9px; height: 9px; }
.end {
  font-size: 8px;
  font-weight: 600;
  color: #333f48;
  line-height: 1.2;
}

@media (max-width: 400px) {
  .splash { width: 248px; height: 186px; top: 74px; padding: 26px 16px 14px 20px; }
  .splash-pct span { font-size: 64px; }
  .splash-b { font-size: 15px; }
  .pylon { width: 80px; }
}
