/* fuelpanel.in: plain, clear and trustworthy for petrol bunk owners. Navy, FuelPanel blue and white; real app screens;
   motion only where it helps (screens easing in, small hover lifts), none when the device asks for less motion. */
:root {
  --brand: #2878d4;
  --brand-hover: #1f68bd;
  --navy: #173b70;
  --navy-dark: #0f2a52;
  --brand-soft: #e8f1fc;
  --text: #12233d;
  --muted: #4d5d72;
  --line: #e1e8f0;
  --alt: #f4f7fb;
  --white: #ffffff;
  --good: #15803d;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(18, 35, 61, 0.06), 0 14px 32px -18px rgba(18, 35, 61, 0.3);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--white); color: var(--text);
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, 'Noto Sans Kannada', sans-serif;
  font-size: 17px; line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { margin: 0; line-height: 1.2; letter-spacing: -0.015em; }
p, ul, figure { margin: 0; }
a { color: inherit; }
:focus-visible { outline: 3px solid #f5a524; outline-offset: 2px; border-radius: 4px; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--white); padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }

.wrap { max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 820px; }

/* ---------- buttons ---------- */
.btn {
  font: inherit; font-weight: 600; font-size: 1rem; cursor: pointer; text-decoration: none;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--brand); color: var(--white); border: 0; border-radius: 10px;
  padding: 0.7rem 1.2rem; min-height: 46px; white-space: nowrap;
  transition: background-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.btn:hover { background: var(--brand-hover); transform: translateY(-1px); box-shadow: 0 8px 18px -8px rgba(40, 120, 212, 0.6); }
.btn:active { transform: none; box-shadow: none; }
.btn-big { font-size: 1.08rem; padding: 0.9rem 1.6rem; min-height: 54px; }
.btn-light { background: var(--white); color: var(--navy); }
.btn-light:hover { background: #eaf2fd; box-shadow: 0 8px 18px -8px rgba(0, 0, 0, 0.45); }
.btn-wide { width: 100%; }
.btn:disabled { opacity: 0.7; cursor: progress; transform: none; }

/* ---------- header ---------- */
.top {
  position: sticky; top: 0; z-index: 30; background: rgba(255, 255, 255, 0.96);
  backdrop-filter: saturate(160%) blur(8px); border-bottom: 1px solid var(--line); transition: box-shadow .25s ease;
}
.top.scrolled { box-shadow: 0 6px 20px -12px rgba(18, 35, 61, 0.35); }
.top-row { display: flex; align-items: center; gap: 22px; min-height: 66px; position: relative; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.3rem; text-decoration: none; color: var(--navy); flex: none; }
.brand img { border-radius: 8px; }
.nav { display: flex; gap: 24px; margin-left: auto; }
.nav a { position: relative; text-decoration: none; font-weight: 500; color: var(--text); transition: color .2s ease; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: var(--brand); transform: scaleX(0); transition: transform .25s ease; }
.nav a:hover { color: var(--brand); }
.nav a:hover::after { transform: scaleX(1); }
.call { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); flex: none; }
.call svg { width: 40px; height: 40px; padding: 10px; border-radius: 50%; background: var(--brand-soft); color: var(--brand); flex: none; }
.call-text { display: grid; line-height: 1.25; font-weight: 700; white-space: nowrap; }
.call-text small { font-weight: 500; color: var(--muted); font-size: 0.78rem; }
.call:hover .call-text { color: var(--brand); }
.menu-btn { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--navy); border-radius: 8px; }
.menu-btn svg { width: 28px; height: 28px; display: block; }

.nav a { white-space: nowrap; }

/* ---------- hero ---------- */
.hero { background: var(--navy); color: var(--white); }
.hero-row { display: grid; grid-template-columns: 1fr 1.05fr; gap: 48px; align-items: center; padding-top: 56px; padding-bottom: 104px; }
.hero-kicker { font-weight: 600; color: #b9d4f5; margin-bottom: 14px; }
.hero h1 { font-size: clamp(2rem, 4.4vw, 3.2rem); font-weight: 800; max-width: 17em; }
.hero-sub { font-size: 1.18rem; margin-top: 18px; color: #e1ecfa; max-width: 34em; }
.ticks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; }
.ticks li { display: flex; align-items: flex-start; gap: 10px; font-size: 1.05rem; font-weight: 500; }
.ticks svg { width: 22px; height: 22px; flex: none; margin-top: 2px; color: #f5c451; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 30px; }
.hero-link { color: var(--white); font-weight: 600; text-underline-offset: 4px; }
.hero-link:hover { color: #cfe2fa; }
.hero-note { color: #b9d4f5; margin-top: 14px; font-size: 0.95rem; }
.hero-shot { justify-self: center; text-align: center; }
.hero-shot figcaption { color: #b9d4f5; font-size: 0.9rem; margin-top: 12px; }

/* a phone frame around a real app screen */
.phone {
  width: min(290px, 100%); border-radius: 34px; padding: 9px; background: #0b1f3d;
  box-shadow: 0 30px 60px -28px rgba(0, 0, 0, 0.55), inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}
.phone img { border-radius: 26px; width: 100%; aspect-ratio: 600 / 1150; object-fit: cover; object-position: top; background: #f3f6fa; }

/* a plain frame around a real Windows software screen (the screen itself, no device drawn around it) */
.screen { border-radius: 10px; overflow: hidden; background: #f3f6fa; border: 1px solid var(--line); box-shadow: 0 30px 60px -30px rgba(18, 35, 61, 0.45); }
.screen img { display: block; width: 100%; height: auto; aspect-ratio: 1366 / 768; }

/* hero: the office screen with the phone in front of it */
.hero-combo { position: relative; justify-self: stretch; padding-bottom: 40px; }
.hero-combo .screen { border-color: rgba(255, 255, 255, 0.18); width: 100%; }
.hero-combo .phone { position: absolute; left: -26px; bottom: 0; width: min(150px, 30%); padding: 6px; border-radius: 24px; }
.hero-combo .phone img { border-radius: 19px; }
.hero-combo figcaption { padding-left: min(150px, 30%); }

/* one system, three ways in */
.ways { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 32px; }
.way { background: var(--alt); border-radius: var(--radius); padding: 18px 20px 24px; display: flex; flex-direction: column; }
.way-shot { height: 190px; display: grid; place-items: center; overflow: hidden; margin-bottom: 18px; }
.way-shot .screen { width: 100%; }
.way-shot-phone { align-items: start; }
.way-shot-phone .phone { width: 150px; padding: 6px; border-radius: 24px; }
.way-shot-phone .phone img { border-radius: 19px; }
.way h3 { display: flex; align-items: center; gap: 12px; font-size: 1.3rem; color: var(--navy); }
.way h3 svg { width: 44px; height: 44px; padding: 10px; border-radius: 12px; background: var(--brand-soft); color: var(--brand); flex: none; }
.way-for { margin-top: 8px; color: var(--muted); font-weight: 600; }
.way .mini { margin-top: 12px; }

/* screen tour: Windows and phone groups, and wide panels for office screens */
.tour-group { flex: none; align-self: center; font-size: 0.85rem; font-weight: 700; color: var(--muted); margin: 0 2px 0 6px; }
.tour-group:first-child { margin-left: 0; }
.tour-panel.tour-wide { grid-template-columns: 0.75fr 1.25fr; gap: 36px; }

/* the day's work, in order */
.steps { list-style: none; counter-reset: step; padding: 0; margin: 28px 0 32px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.steps li { counter-increment: step; position: relative; background: var(--alt); border-radius: 12px; padding: 20px 20px 20px 62px; color: var(--muted); font-size: 0.97rem; }
.steps li::before { content: counter(step); position: absolute; left: 18px; top: 18px; width: 30px; height: 30px; border-radius: 50%; background: var(--navy); color: var(--white); font-weight: 700; display: grid; place-items: center; }
.steps strong { display: block; color: var(--text); margin-bottom: 4px; }

.alt .steps li, .alt .tour-panel { background: var(--white); }
.steps-5 { grid-template-columns: repeat(5, 1fr); margin-bottom: 0; }
.steps-5 li { padding: 62px 18px 20px; }
.steps a { color: var(--brand); font-weight: 600; }

/* what changes at the bunk: benefits with the owner's own words */
.benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 32px; }
.benefit { background: var(--white); border-radius: var(--radius); padding: 24px; border-top: 4px solid var(--brand); }
.benefit h3 { font-size: 1.2rem; color: var(--navy); }
.benefit > p { color: var(--muted); margin-top: 8px; }
.benefit blockquote { margin: 14px 0 0; padding: 10px 14px; border-left: 4px solid #f5a524; background: #fff8e8; border-radius: 0 10px 10px 0; }
.benefit q { display: block; font-weight: 700; color: var(--text); }
.benefit blockquote span { display: block; color: var(--muted); font-size: 0.95rem; margin-top: 4px; }

/* workflows: numbered steps beside the real screens */
.wf-panel { grid-template-columns: 1fr auto; }
.wsteps { list-style: none; counter-reset: ws; padding: 0; margin: 18px 0 0; display: grid; gap: 12px; }
.wsteps li { counter-increment: ws; position: relative; padding-left: 40px; color: var(--muted); }
.wsteps li::before { content: counter(ws); position: absolute; left: 0; top: 0; width: 28px; height: 28px; border-radius: 50%; background: var(--navy); color: var(--white); font-weight: 700; font-size: 0.9rem; display: grid; place-items: center; }
.wsteps strong { color: var(--text); }
.wf-note { margin-top: 14px; font-size: 0.95rem; color: var(--muted); }
.wf-shots { display: flex; gap: 16px; align-items: flex-start; }
.wf-shots .phone { width: 230px; }

/* complete management, by area of work */
.cats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 32px; }
.cat { border: 1px solid var(--line); border-radius: 12px; padding: 22px; background: var(--white); }
.cat h3 { display: flex; align-items: center; gap: 12px; font-size: 1.08rem; color: var(--navy); }
.cat h3 svg { width: 40px; height: 40px; padding: 9px; border-radius: 10px; background: var(--brand-soft); color: var(--brand); flex: none; }
.cat .mini { margin-top: 14px; font-size: 0.95rem; }
.cat:last-child { grid-column: span 2; }
.cat:last-child .mini { grid-template-columns: 1fr 1fr; column-gap: 24px; }


/* ---------- facts under the hero ---------- */
.facts { position: relative; z-index: 2; margin-top: -60px; }
.facts-card { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--line); }
.fact { display: flex; gap: 14px; align-items: flex-start; padding: 22px; }
.fact + .fact { border-left: 1px solid var(--line); }
.fact svg { width: 40px; height: 40px; padding: 9px; border-radius: 10px; background: var(--brand-soft); color: var(--brand); flex: none; }
.fact p { color: var(--muted); font-size: 0.95rem; line-height: 1.4; }
.fact strong { display: block; color: var(--text); font-size: 1rem; margin-bottom: 2px; }

/* ---------- sections ---------- */
.section { padding: 80px 0; }
.alt { background: var(--alt); }
.section h2, .away h2 { font-size: clamp(1.7rem, 3.2vw, 2.35rem); font-weight: 800; color: var(--navy); max-width: 22em; }
.lede { font-size: 1.12rem; color: var(--muted); margin-top: 10px; max-width: 46em; }

/* ---------- the screen tour ---------- */
.tour { margin-top: 32px; }
.tour-tabs { display: flex; flex-wrap: wrap; gap: 8px; position: relative; }
.tour-tabs [role="tab"] {
  font: inherit; font-weight: 600; font-size: 0.95rem; cursor: pointer; color: var(--navy);
  background: var(--white); border: 1.5px solid var(--line); border-radius: 999px; padding: 9px 16px; min-height: 42px;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.tour-tabs [role="tab"]:hover { border-color: #b8cfee; }
.tour-tabs [role="tab"][aria-selected="true"] { background: var(--navy); color: var(--white); border-color: var(--navy); }
.tour-panel { display: grid; grid-template-columns: 1fr auto; gap: 48px; align-items: center; margin-top: 24px; padding: 36px 40px; background: var(--alt); border-radius: 18px; }
.tour.ready .tour-panel:not([hidden]) { animation: panel-in .35s ease; }
@keyframes panel-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.tour-text h3 { font-size: 1.55rem; color: var(--navy); }
.tour-text p { margin-top: 12px; font-size: 1.08rem; max-width: 32em; }
.mini { list-style: none; padding: 0; margin-top: 18px; display: grid; gap: 8px; }
.mini li { position: relative; padding-left: 22px; color: var(--muted); }
.mini li::before { content: ""; position: absolute; left: 2px; top: 0.6em; width: 8px; height: 8px; border-radius: 50%; background: var(--brand); }
/* without JavaScript every panel shows, one below another, and the tabs are not needed */
.tour:not(.ready) .tour-tabs { display: none; }

/* ---------- problems ---------- */
.pairs { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 24px; margin-top: 32px; }
.pair { padding: 20px 22px; background: var(--white); border-radius: 0 12px 12px 0; border-left: 4px solid #f5a524; }
.pair h3 { font-size: 1.1rem; }
.pair p { color: var(--muted); margin-top: 6px; }

/* ---------- what is typed / what is worked out ---------- */
.flow { display: grid; grid-template-columns: 1fr auto 1fr; gap: 20px; align-items: stretch; margin-top: 32px; }
.flow-col { border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 28px; background: var(--white); }
.flow-out { background: var(--navy); color: var(--white); border-color: var(--navy); }
.flow-col h3 { display: flex; align-items: center; gap: 12px; font-size: 1.25rem; }
.flow-col h3 svg { width: 40px; height: 40px; padding: 9px; border-radius: 10px; background: var(--brand-soft); color: var(--brand); flex: none; }
.flow-out h3 svg { background: rgba(255, 255, 255, 0.12); color: #f5c451; }
.flow-col ul { list-style: none; padding: 0; margin-top: 16px; display: grid; gap: 10px; }
.flow-col li { padding-left: 26px; position: relative; }
.flow-col li::before { content: ""; position: absolute; left: 4px; top: 0.55em; width: 9px; height: 9px; border-radius: 2px; background: var(--brand); }
.flow-out li::before { background: #f5c451; border-radius: 50%; }
.flow-arrow { display: grid; place-items: center; font-size: 2rem; color: var(--brand); font-weight: 700; }
.flow-note { margin-top: 18px; color: var(--muted); font-size: 0.95rem; }

/* ---------- the owner, away ---------- */
.away { background: var(--navy); color: var(--white); padding: 84px 0; overflow: hidden; }
.away-row { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: center; }
.away h2 { color: var(--white); }
.away-sub { margin-top: 14px; font-size: 1.12rem; color: #d4e4f8; }
.answers { list-style: none; padding: 0; margin-top: 26px; display: grid; gap: 4px; }
.answers li { display: grid; gap: 2px; padding: 12px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.14); }
.answers strong { font-size: 1.08rem; }
.answers span { color: #b9d4f5; }
.away-foot { margin-top: 20px; color: #d4e4f8; }
.away-shots { position: relative; display: flex; justify-content: center; padding-right: 70px; }
.away-shots .phone { position: relative; z-index: 2; }
.away-shots .phone-back { position: absolute; z-index: 1; right: 0; top: 46px; width: min(250px, 80%); opacity: 0.92; transform: rotate(4deg); }

/* ---------- features ---------- */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 32px; }
.card { border: 1px solid var(--line); border-radius: 12px; padding: 22px; background: var(--white); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.card:hover { transform: translateY(-3px); border-color: #c9dbf2; box-shadow: 0 16px 30px -18px rgba(18, 35, 61, 0.35); }
.card svg, .role svg { width: 46px; height: 46px; padding: 11px; border-radius: 12px; background: var(--brand-soft); color: var(--brand); }
.card h3 { font-size: 1.08rem; margin-top: 12px; }
.card p { color: var(--muted); margin-top: 6px; font-size: 0.97rem; }

/* ---------- who uses it ---------- */
.cols4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 32px; }
.role { background: var(--white); border-radius: 12px; padding: 24px; border-top: 4px solid var(--brand); }
.role h3 { font-size: 1.2rem; margin-top: 12px; }
.role p { color: var(--muted); margin-top: 8px; font-size: 0.98rem; }

/* ---------- questions ---------- */
#faq h2 { margin-bottom: 20px; }
details { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; list-style: none; padding: 18px 44px 18px 0; position: relative; font-weight: 600; font-size: 1.08rem; transition: color .2s ease; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; position: absolute; right: 8px; top: 12px; font-size: 1.6rem; font-weight: 400; color: var(--brand); }
details[open] summary::after { content: '−'; }
summary:hover { color: var(--brand); }
details p { color: var(--muted); padding: 0 0 20px; max-width: 46em; }
details[open] p { animation: faq-open .3s ease; }
@keyframes faq-open { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* ---------- price ---------- */
.price-row { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 24px; margin-top: 32px; align-items: start; }
.price-card { background: var(--white); border: 2px solid var(--brand); border-radius: 16px; padding: 28px; box-shadow: var(--shadow); }
.price-label { font-weight: 600; color: var(--muted); font-size: 0.95rem; }
.price-amount { font-size: 3rem; font-weight: 800; color: var(--navy); line-height: 1.1; margin-top: 2px; }
.price-sub { font-weight: 500; }
.price-line { height: 1px; background: var(--line); margin: 18px 0; }
.price-amc { font-size: 1.6rem; font-weight: 800; color: var(--navy); margin: 2px 0 20px; }
.price-amc span { display: block; font-size: 0.95rem; font-weight: 500; color: var(--muted); }
.price-more { margin-top: 16px; color: var(--muted); font-size: 0.93rem; }
.included { background: var(--white); border-radius: 16px; padding: 28px; border: 1px solid var(--line); }
.included h3 { font-size: 1.25rem; color: var(--navy); }
.ticks-dark { margin-top: 14px; gap: 14px; }
.ticks-dark li { font-weight: 400; font-size: 1rem; }
.ticks-dark svg { color: var(--good); }

/* ---------- about ---------- */
.about-row { display: grid; grid-template-columns: 1.3fr 0.7fr; gap: 48px; align-items: center; }
.about-text { margin-top: 14px; font-size: 1.08rem; color: var(--muted); max-width: 38em; }
.about-text a { color: var(--brand); font-weight: 600; }
.about-shot { justify-self: center; text-align: center; }
.about-shot figcaption { color: var(--muted); font-size: 0.9rem; margin-top: 12px; }
.about-shot .phone { width: min(250px, 100%); }

/* ---------- last call ---------- */
.cta { background: var(--brand); color: var(--white); }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding-top: 48px; padding-bottom: 48px; }
.cta h2 { font-size: clamp(1.5rem, 3vw, 2.05rem); font-weight: 800; }
.cta p { margin-top: 6px; color: #e4eefb; font-size: 1.08rem; }
.cta-call a { color: var(--white); font-weight: 700; }

/* ---------- footer ---------- */
.foot { border-top: 1px solid var(--line); }
.foot-row { display: flex; flex-wrap: wrap; gap: 10px 24px; padding-top: 24px; padding-bottom: 32px; color: var(--muted); }
.foot a { text-decoration: none; }
.foot a:hover { text-decoration: underline; color: var(--text); }

/* ---------- WhatsApp button ---------- */
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 20; width: 58px; height: 58px; border-radius: 50%;
  background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
  transition: transform .2s ease, background-color .2s ease;
}
.wa-float svg { width: 32px; height: 32px; }
.wa-float:hover { background: #1ebe5a; transform: scale(1.06); }

/* ---------- the demo pop-up ---------- */
.demo-dialog {
  width: min(560px, calc(100vw - 1.5rem)); max-height: calc(100dvh - 1.5rem); overflow: auto;
  border: 0; border-radius: 16px; padding: 0; color: var(--text); box-shadow: 0 30px 80px -20px rgba(10, 25, 50, 0.6);
}
.demo-dialog::backdrop { background: rgba(15, 30, 55, 0.55); }
.demo-dialog[open] { animation: pop-in .25s cubic-bezier(.2, .8, .2, 1); }
@keyframes pop-in { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: none; } }
.dialog-close {
  position: absolute; top: 0.8rem; right: 0.8rem; width: 42px; height: 42px; border-radius: 50%;
  border: 0; background: #eef2f7; color: var(--text); font-size: 1.5rem; line-height: 1; cursor: pointer;
}
.dialog-close:hover { background: #e1e8f1; }
.demo-form, .demo-done { padding: clamp(1.25rem, 4vw, 2rem); display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem 1rem; }
.demo-form h2, .demo-done h2 { grid-column: 1 / -1; font-size: 1.6rem; font-weight: 800; color: var(--navy); padding-right: 2.6rem; }
.form-lede { grid-column: 1 / -1; color: var(--muted); margin-top: -0.4rem; }
.demo-done { grid-template-columns: 1fr; justify-items: start; }
.demo-done:focus { outline: none; }
.demo-done p { color: var(--muted); }
.field { display: grid; gap: 0.35rem; min-width: 0; }
.field-wide { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: 0.95rem; }
.optional { font-weight: 400; color: var(--muted); }
.field input, .field select {
  font: inherit; font-size: 1.05rem; color: var(--text); width: 100%; min-height: 50px;
  padding: 0.65rem 0.8rem; border: 1.5px solid #cfd8e4; border-radius: 10px; background: #f7f9fc;
}
.field input:focus, .field select:focus { outline: none; border-color: var(--brand); background: #fff; box-shadow: 0 0 0 3px rgba(40, 120, 212, 0.18); }
.field.bad input, .field.bad select { border-color: #c0392b; }
.field.bad label { color: #b0302a; }
.phone-row { display: grid; grid-template-columns: auto 1fr; gap: 0.5rem; }
.phone-code { display: grid; place-items: center; min-width: 3.6rem; padding: 0 0.6rem; border: 1.5px solid #cfd8e4; border-radius: 10px; background: #eef2f7; color: var(--muted); font-weight: 600; }
.form-error { grid-column: 1 / -1; color: #b0302a; font-weight: 600; }
.demo-form .btn-wide { grid-column: 1 / -1; }
.form-alt { grid-column: 1 / -1; text-align: center; color: var(--muted); font-size: 0.95rem; }
.form-alt a { color: var(--brand); font-weight: 600; }

/* ---------- motion: things ease in as they come into view ---------- */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .55s ease, transform .55s cubic-bezier(.2, .8, .2, 1); transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }
.hero-text > * { animation: rise .6s cubic-bezier(.2, .8, .2, 1) both; }
.hero-text > :nth-child(2) { animation-delay: .06s; }
.hero-text > :nth-child(3) { animation-delay: .12s; }
.hero-text > :nth-child(4) { animation-delay: .18s; }
.hero-text > :nth-child(5) { animation-delay: .24s; }
.hero-text > :nth-child(6) { animation-delay: .3s; }
.hero-shot { animation: rise .8s cubic-bezier(.2, .8, .2, 1) .15s both; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- tablets ---------- */
@media (max-width: 1280px) {
  .nav { gap: 18px; }
  .call-text { display: none; }
}
@media (max-width: 1080px) {
  .benefits, .cats { grid-template-columns: 1fr 1fr; }
  .wf-shots .phone { width: 190px; }
  .steps { grid-template-columns: 1fr 1fr; }
  .steps-5 { grid-template-columns: repeat(3, 1fr); }
  .grid, .cols4 { grid-template-columns: repeat(2, 1fr); }
  .facts-card { grid-template-columns: 1fr 1fr; }
  .fact:nth-child(3) { border-left: 0; }
  .fact:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 1080px) {
  .menu-btn { display: block; }
  .nav {
    display: none; position: absolute; left: -20px; right: -20px; top: 100%; flex-direction: column; gap: 0;
    background: var(--white); border-bottom: 1px solid var(--line); box-shadow: 0 16px 30px -18px rgba(18, 35, 61, 0.35); padding: 6px 20px 14px;
  }
  .nav.open { display: flex; }
  .nav a { padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .nav a:last-child { border-bottom: 0; }
  .nav a::after { display: none; }
  .call { margin-left: auto; }
  .top-row { gap: 12px; }
}
@media (max-width: 900px) {
  .hero-row, .away-row, .about-row { grid-template-columns: 1fr; }
  .tour-panel { grid-template-columns: 1fr; justify-items: center; padding: 28px 22px; gap: 26px; }
  .tour-text { justify-self: stretch; }
  .tour-panel.tour-wide { grid-template-columns: 1fr; justify-items: stretch; }
  .wf-shots { justify-content: center; }
  .ways { grid-template-columns: 1fr; max-width: 560px; }
  .way-wide { grid-template-columns: 1fr; gap: 20px; }
  .hero-combo { max-width: 620px; justify-self: center; }
  .flow { grid-template-columns: 1fr; }
  .flow-arrow { transform: rotate(90deg); }
  .price-row { grid-template-columns: 1fr; }
  .away-shots { order: 2; }
}

/* ---------- phones ---------- */
@media (max-width: 640px) {
  body { font-size: 16px; }
  .top-row { min-height: 60px; gap: 8px; }
  .brand { font-size: 1.15rem; gap: 8px; }
  .brand img { width: 30px; height: 30px; }
  .top-cta { display: none; }
  .hero-row { padding-top: 34px; padding-bottom: 84px; gap: 34px; }
  .hero h1 { font-size: 1.85rem; }
  .hero-sub { font-size: 1.05rem; }
  .ticks li { font-size: 1rem; }
  .hero-actions .btn { width: 100%; }
  .hero-combo .phone { left: -6px; width: 26%; }
  .ways, .steps, .benefits, .cats { grid-template-columns: 1fr; }
  .cat:last-child { grid-column: auto; }
  .cat:last-child .mini { grid-template-columns: 1fr; }
  .tour-panel > * { min-width: 0; }
  .wf-shots { width: 100%; gap: 10px; }
  .wf-shots .phone { flex: 1 1 0; min-width: 0; width: auto; max-width: 210px; padding: 6px; border-radius: 24px; }
  .wf-shots .phone img { border-radius: 19px; }
  .way { padding: 22px 20px; }
  .facts { margin-top: -50px; }
  .facts-card { grid-template-columns: 1fr; }
  .fact + .fact, .fact:nth-child(n+3) { border-left: 0; border-top: 1px solid var(--line); }
  .fact { padding: 16px 18px; }
  .section { padding: 56px 0; }
  .away { padding: 60px 0; }
  .tour-tabs { flex-wrap: nowrap; overflow-x: auto; margin: 0 -20px; padding: 2px 20px 8px; scrollbar-width: none; }
  .tour-tabs::-webkit-scrollbar { display: none; }
  .tour-tabs [role="tab"] { flex: none; }
  .tour-panel { margin-left: -8px; margin-right: -8px; }
  .tour-text h3 { font-size: 1.3rem; }
  .tour-panel .phone { width: min(260px, 78vw); }
  .pairs, .grid, .cols4 { grid-template-columns: 1fr; }
  .away-shots { padding-right: 46px; }
  .away-shots .phone { width: min(230px, 62vw); }
  .away-shots .phone-back { width: min(190px, 50vw); top: 36px; }
  .price-amount { font-size: 2.5rem; }
  .price-card, .included { padding: 22px; }
  .demo-form { grid-template-columns: 1fr; }
  .foot-row { padding-bottom: 92px; }
}
