/* Telefonos oldalak (űrlap, eredmény). Színek a briefből; a kijelzővel azonos Poppins. */
:root {
  --orange: #ffa202; --teal: #006382; --gray: #767676; --light: #7fb3d5; --text: #2a2f36;
  --line: #dde1e7; --bg-soft: #f4f7f9; --err: #b3261e;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100vh; min-height: 100dvh; position: relative; overflow-x: hidden;
  font-family: "Poppins", system-ui, sans-serif; font-size: 16px; line-height: 1.55;
  color: var(--text); background: #fff;
  padding: env(safe-area-inset-top) 0 0;
}
main { position: relative; max-width: 30rem; margin: 0 auto; padding: .5rem 1.25rem 7rem; z-index: 1; }

/* díszítés */
.deco { position: absolute; pointer-events: none; z-index: 0; }
.deco-top { top: 10px; right: 8px; width: 120px; fill: var(--orange); opacity: .85; }
.deco-top .plus { stroke: var(--orange); stroke-width: 5; stroke-linecap: round; fill: none; }
.deco-rings { left: 0; bottom: 110px; width: 50px; fill: none; stroke: var(--orange); stroke-width: 2.5; opacity: .7; }
.deco-wave { position: absolute; right: 0; bottom: 0; width: 100%; max-width: 30rem; height: 80px; fill: var(--teal); opacity: .92; left: auto; }

/* fejléc */
.brand { position: relative; z-index: 1; display: flex; align-items: center; gap: .55rem;
         max-width: 30rem; margin: 0 auto; padding: 1.1rem 1.25rem .4rem; font-size: 1.35rem; color: #3a3a3a; }
.brand img { display: block; }

/* címek */
.kicker { margin: 1.2rem 0 .2rem; font-size: .8rem; font-weight: 600; letter-spacing: .08em;
          text-transform: uppercase; color: var(--light); }
h1 { margin: 0 0 .9rem; font-size: 1.6rem; line-height: 1.25; font-weight: 600; color: var(--teal); }
/* narancs kiemelősáv a cím alsó harmadában, mint a kijelzőn és a céges dokumentumokban */
.hl { background: linear-gradient(transparent 62%, rgba(255, 162, 2, .85) 62%, rgba(255, 162, 2, .85) 88%, transparent 88%);
      -webkit-box-decoration-break: clone; box-decoration-break: clone; padding: 0 .1em; }
h2 { margin: 0 0 .6rem; font-size: 1.05rem; font-weight: 600; color: var(--teal); }
.lead { margin: 0 0 1.4rem; }
.muted { color: var(--gray); font-size: .9rem; }
a { color: var(--teal); }

/* űrlap */
.field { margin-bottom: 1.15rem; }
label { display: block; margin-bottom: .35rem; font-weight: 600; font-size: .95rem; }
input[type=text], input[type=email] {
  width: 100%; padding: .8rem .9rem; font: inherit; font-size: 16px; /* 16px: iOS nem nagyít rá */
  color: var(--text); background: #fff; border: 2px solid var(--line); border-radius: 10px;
  -webkit-appearance: none; appearance: none; transition: border-color .15s;
}
input::placeholder { color: #a3a9b1; }
input:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(0, 99, 130, .15); }
.has-error input[type=text], .has-error input[type=email] { border-color: var(--err); }
.err { margin: .35rem 0 0; color: var(--err); font-size: .9rem; }

.check { display: flex; gap: .7rem; align-items: flex-start; font-weight: 400; font-size: .88rem; line-height: 1.45; cursor: pointer; }
.check input { flex: none; width: 1.4rem; height: 1.4rem; margin: .05rem 0 0; accent-color: var(--teal); }
.has-error .check input { outline: 2px solid var(--err); outline-offset: 1px; }

.btn {
  display: block; width: 100%; margin-top: 1.4rem; padding: .95rem 1rem; min-height: 3.2rem;
  font: inherit; font-weight: 600; font-size: 1.05rem; color: #fff; background: var(--teal);
  border: 0; border-radius: 10px; cursor: pointer; -webkit-tap-highlight-color: transparent;
  box-shadow: 0 4px 0 var(--orange);
}
.btn:active { transform: translateY(2px); box-shadow: 0 2px 0 var(--orange); }
.btn:disabled { opacity: .7; cursor: default; }

/* csapdamező a botoknak (a képernyőn kívül, nem display:none, mert azt egyes botok kihagyják) */
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* autocomplete */
.combo { position: relative; }
.suggest {
  position: absolute; left: 0; right: 0; top: calc(100% + 4px); z-index: 5; margin: 0; padding: .3rem 0;
  list-style: none; background: #fff; border: 1px solid var(--line); border-radius: 10px;
  box-shadow: 0 10px 24px rgba(27, 42, 58, .14); max-height: 16rem; overflow-y: auto;
}
.suggest li { padding: .7rem .9rem; cursor: pointer; line-height: 1.3; }
.suggest li[aria-selected="true"], .suggest li:hover { background: var(--bg-soft); }
.suggest mark { background: none; color: var(--teal); font-weight: 600; }

/* eredmény */
.card { margin: 0 0 1rem; padding: 1rem 1.1rem; background: var(--bg-soft); border-radius: 12px; }
.card p { margin: 0; }
.grants { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: .45rem; }
.grants li { padding: .35rem .7rem; background: #fff; border: 1.5px solid var(--teal); border-radius: 999px;
             font-size: .9rem; font-weight: 600; color: var(--teal); }
.ai { margin: 0 0 1.2rem; padding: 1rem 1.1rem; border-left: 5px solid var(--orange); background: #fff8ec; border-radius: 0 12px 12px 0; }
.ai p { margin: 0 0 .5rem; }
.ai-label { font-size: .8rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--orange); }
.ai-svc { margin: 0 !important; font-size: .88rem; font-weight: 600; color: var(--teal); }
.contact { margin: 1.2rem 0 .4rem; font-size: .95rem; }

/* várakozás */
.pending { margin-top: 1.5rem; text-align: center; }
.pending .lead { margin: 1rem 0 .5rem; font-weight: 600; }
.dots { display: flex; gap: .6rem; justify-content: center; }
.dots i { width: 16px; height: 16px; border-radius: 50%; background: var(--orange); animation: bounce 1.2s infinite ease-in-out; }
.dots i:nth-child(2) { background: var(--light); animation-delay: .15s; }
.dots i:nth-child(3) { background: var(--teal); animation-delay: .3s; }
@keyframes bounce { 0%, 80%, 100% { transform: translateY(0); opacity: .6; } 40% { transform: translateY(-12px); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .dots i { animation: none; } }
