/* TuPandas landing page. Plain CSS, no build step.
   Shape rule: every card, input and button uses --radius. The only circle is the icon chip.
   Layers: page content has no z-index; the only stacked element is .hero__mark (behind the hero text). */

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/manrope-greek.woff2") format("woff2");
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/manrope-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Tokens ---------- */
:root {
  color-scheme: light dark;
  --bg: #f4f7fb;
  --surface: #fdfeff;
  --surface-2: #e6eef8;
  --text: #10243e;
  --muted: #4a5b73;
  --line: #d3deeb;
  --accent: #a9d2fb;          /* pastel blue, used as a fill */
  --accent-ink: #10243e;      /* text on the pastel fill */
  --accent-strong: #2a66b3;   /* the same blue, strong enough for icons and links */
  --btn-bg: #10243e;
  --btn-fg: #fdfeff;
  --btn-hover: #1a3a63;
  --field-bg: #fdfeff;
  --field-line: #7d8fa9;
  --error: #b3261e;
  --ok: #1b6e3c;
  --shadow: 0 22px 60px -30px rgb(16 36 62 / 0.45);
  --radius: 14px;
  --logo-ink: #10243e;
  --logo-accent: #4a8fe2;
  --mark-head: #fdfeff;
  --mark-ear: #10243e;
  --mark-patch: #10243e;
  --mark-line: #10243e;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0d1c31;
    --surface: #132744;
    --surface-2: #1a3358;
    --text: #f2f6fb;
    --muted: #b7c5d8;
    --line: #28426b;
    --accent-ink: #0d1c31;
    --accent-strong: #a9d2fb;
    --btn-bg: #a9d2fb;
    --btn-fg: #0d1c31;
    --btn-hover: #c6e1fd;
    --field-bg: #0f2139;
    --field-line: #7189ab;
    --error: #ffb4a9;
    --ok: #8fe0b0;
    --shadow: 0 22px 60px -30px rgb(0 0 0 / 0.7);
    --logo-ink: #f2f6fb;
    --logo-accent: #a9d2fb;
    --mark-head: #f2f6fb;
    --mark-ear: #f2f6fb;
    --mark-patch: #0d1c31;
    --mark-line: none;
  }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p, ul, ol, fieldset, legend { margin: 0; padding: 0; }
ul, ol { list-style: none; }
fieldset { border: 0; min-width: 0; }
a { color: var(--accent-strong); text-underline-offset: 3px; }
img, svg { display: block; }
:focus-visible { outline: 3px solid var(--accent-strong); outline-offset: 3px; border-radius: 4px; }
.hidden-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.wrap { width: 100%; max-width: 1120px; margin-inline: auto; padding-inline: clamp(20px, 5vw, 40px); }
.section { padding-block: clamp(52px, 8vw, 92px); }
.section h2 {
  font-size: clamp(28px, 4.2vw, 40px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin-bottom: clamp(24px, 4vw, 40px);
}
.ico { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 26px;
  border: 0;
  border-radius: var(--radius);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font: inherit;
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.01em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.btn:hover { background: var(--btn-hover); }
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: 0.6; cursor: progress; }
.btn--quiet {
  min-height: 44px;
  padding: 0 16px;
  background: transparent;
  color: var(--text);
  font-size: 16px;
  box-shadow: inset 0 0 0 1.5px var(--field-line);
}
.btn--quiet:hover { background: var(--surface-2); }

/* ---------- Header ---------- */
.top { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; padding-block: 10px; }
.top > a { display: flex; align-items: center; min-height: 44px; }
.logo { width: clamp(132px, 34vw, 168px); height: auto; }
.top__right { display: flex; align-items: center; gap: clamp(10px, 3vw, 20px); }
.lang { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; color: var(--text); font-weight: 700; font-size: 16px; text-decoration: none; }
.lang:hover { text-decoration: underline; }
@media (max-width: 479px) { .call__num { display: none; } }
@media (min-width: 480px) { .call__label { display: none; } }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding-block: clamp(20px, 3vw, 36px) clamp(48px, 8vw, 88px); }
.hero__grid { position: relative; display: grid; gap: clamp(28px, 5vw, 64px); }
.eyebrow { color: var(--accent-strong); font-weight: 800; font-size: 15px; letter-spacing: 0.01em; margin-bottom: 12px; }
.hero h1 {
  font-size: clamp(34px, 5vw, 50px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
:lang(el) .hero h1 { line-height: 1.18; }
.hero__sub { margin-top: 18px; max-width: 34ch; color: var(--muted); font-size: clamp(18px, 2.2vw, 20px); line-height: 1.5; }
.hero__mark { display: none; }
@media (min-width: 900px) {
  .hero__grid { grid-template-columns: 1.1fr 0.9fr; align-items: start; }
  .hero__copy { padding-top: 34px; }
  /* large brand mark behind the copy, desktop only */
  .hero__copy { position: relative; }
  .hero__copy > :not(.hero__mark) { position: relative; }
  .hero__mark { display: block; position: absolute; left: -60px; top: calc(100% + 36px); width: 400px; height: auto; pointer-events: none; }
}

/* ---------- Lead form ---------- */
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: clamp(20px, 4vw, 32px);
  scroll-margin-top: 16px;
}
.card h2 { font-size: 26px; font-weight: 800; line-height: 1.15; letter-spacing: -0.02em; }
.card__lead { margin-top: 6px; color: var(--muted); font-size: 16px; }
.form { display: grid; gap: 14px; margin-top: 18px; }
.field { display: grid; gap: 8px; }
.field label, .field legend { font-weight: 700; font-size: 15px; }
.field .opt { color: var(--muted); font-weight: 500; }
.field input, .field textarea {
  width: 100%;
  min-height: 50px;
  padding: 11px 14px;
  border: 1.5px solid var(--field-line);
  border-radius: var(--radius);
  background: var(--field-bg);
  color: var(--text);
  font: inherit;
  font-size: 17px;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.field textarea { min-height: 76px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent-strong); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent-strong) 30%, transparent); }
.field__help { color: var(--muted); font-size: 14px; }
.field__error { display: none; color: var(--error); font-size: 14px; font-weight: 700; }
.field.has-error .field__error { display: block; }
.field.has-error input { border-color: var(--error); }

.choice { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.choice label {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 8px 10px;
  border: 1.5px solid var(--field-line);
  border-radius: var(--radius);
  background: var(--field-bg);
  font-weight: 700;
  font-size: 14.5px;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
  transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice input:checked + label { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.choice input:focus-visible + label { outline: 3px solid var(--accent-strong); outline-offset: 3px; }

.trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form .btn { width: 100%; }
.form__alert { display: none; padding: 12px 14px; border: 1.5px solid var(--error); border-radius: var(--radius); color: var(--error); font-size: 15px; font-weight: 700; }
.form[data-state="error"] .form__alert { display: block; }
.form__consent { color: var(--muted); font-size: 13.5px; line-height: 1.45; }
.btn__busy { display: none; }
.form[data-state="loading"] .btn__idle { display: none; }
.form[data-state="loading"] .btn__busy { display: inline; }

.done { display: none; }
.card[data-sent="1"] .form, .card[data-sent="1"] .card__lead, .card[data-sent="1"] > h2 { display: none; }
.card[data-sent="1"] .done { display: grid; gap: 12px; justify-items: start; }
.done__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); font-size: 22px; }
.done h2 { font-size: 26px; }
.done p { color: var(--muted); }

/* ---------- Facts ---------- */
.facts { border-block: 1px solid var(--line); }
.facts ul { display: grid; }
.facts li { padding: 26px 0; }
.facts li + li { border-top: 1px solid var(--line); }
.facts b { display: block; font-size: clamp(36px, 4.4vw, 48px); font-weight: 800; line-height: 1; letter-spacing: -0.04em; }
.facts span { display: block; margin-top: 8px; color: var(--muted); font-size: 17px; }
@media (min-width: 900px) {
  .facts ul { grid-template-columns: 1fr 1fr 1.7fr; }
  .facts li { padding: 36px 32px; }
  .facts li:first-child { padding-left: 0; }
  .facts li + li { border-top: 0; border-left: 1px solid var(--line); }
}

/* ---------- What you get ---------- */
.bento { display: grid; gap: 14px; }
.tile { display: grid; align-content: start; gap: 10px; padding: clamp(20px, 3vw, 28px); border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.tile h3 { font-size: 21px; font-weight: 800; line-height: 1.2; letter-spacing: -0.02em; }
.tile p { color: var(--muted); font-size: 16.5px; }
.tile .ico { width: 30px; height: 30px; color: var(--accent-strong); margin-bottom: 6px; }
.tile--accent { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.tile--accent p, .tile--accent .ico { color: var(--accent-ink); }
.tile--tint { background: var(--surface-2); border-color: var(--surface-2); }
.tile--open { background: transparent; border-style: dashed; border-color: var(--field-line); }
.tile a { font-weight: 800; }
@media (min-width: 720px) {
  .bento { grid-template-columns: repeat(6, 1fr); }
  .tile:nth-child(1) { grid-column: span 3; }
  .tile:nth-child(2) { grid-column: span 3; }
  .tile:nth-child(3) { grid-column: span 2; }
  .tile:nth-child(4) { grid-column: span 4; }
  .tile:nth-child(5) { grid-column: span 4; }
  .tile:nth-child(6) { grid-column: span 2; }
}

/* ---------- How it starts ---------- */
.steps { display: grid; gap: 0; counter-reset: step; }
.steps li { position: relative; padding: 0 0 28px 62px; counter-increment: step; }
.steps li::before {
  content: counter(step);
  position: absolute; left: 0; top: -4px;
  display: grid; place-items: center;
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--accent); color: var(--accent-ink);
  font-weight: 800; font-size: 19px;
}
.steps li:not(:last-child)::after { content: ""; position: absolute; left: 20px; top: 44px; bottom: 4px; width: 2px; background: var(--line); }
.steps h3 { font-size: 21px; font-weight: 800; line-height: 1.2; letter-spacing: -0.02em; }
.steps p { margin-top: 6px; color: var(--muted); max-width: 36ch; }
@media (min-width: 820px) {
  .steps { grid-template-columns: repeat(3, 1fr); gap: 32px; }
  .steps li { padding: 62px 0 0; }
  .steps li::before { top: 0; }
  .steps li:not(:last-child)::after { left: 54px; right: -20px; top: 20px; bottom: auto; width: auto; height: 2px; }
}

/* ---------- Questions ---------- */
.faq { max-width: 780px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 0; font-weight: 800; font-size: 19px; line-height: 1.3; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ico { width: 22px; height: 22px; color: var(--accent-strong); transition: transform 0.25s var(--ease); }
.faq details[open] summary .ico { transform: rotate(45deg); }
.faq details p { padding: 0 0 22px; color: var(--muted); max-width: 62ch; }

/* ---------- Closing ---------- */
.closing { display: grid; gap: 24px; padding: clamp(28px, 5vw, 52px); border-radius: var(--radius); background: var(--surface-2); }
.closing h2 { margin: 0; max-width: 16ch; }
.closing__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; }
.closing__call { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--text); font-weight: 800; font-size: 19px; text-decoration: none; }
.closing__call:hover { text-decoration: underline; }
@media (min-width: 820px) { .closing { grid-template-columns: 1fr auto; align-items: center; } }

/* ---------- Footer ---------- */
.foot { padding-block: 36px 44px; border-top: 1px solid var(--line); color: var(--muted); font-size: 15.5px; }
.foot__grid { display: grid; gap: 22px; }
.foot .logo { width: 132px; }
.foot ul { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.foot a { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; color: var(--text); font-weight: 700; text-decoration: none; }
.foot a:hover { text-decoration: underline; }
@media (min-width: 820px) { .foot__grid { grid-template-columns: auto 1fr auto; align-items: center; gap: 40px; } }

/* ---------- Small pages (thank you, privacy) ---------- */
.plain { max-width: 720px; padding-block: clamp(40px, 8vw, 88px); }
.plain h1 { font-size: clamp(32px, 5.4vw, 48px); font-weight: 800; line-height: 1.12; letter-spacing: -0.03em; margin-bottom: 18px; }
:lang(el) .plain h1 { line-height: 1.2; }
.plain h2 { font-size: 22px; font-weight: 800; letter-spacing: -0.02em; margin: 30px 0 8px; }
.plain p { color: var(--muted); margin-bottom: 14px; }
.plain .btn { margin-top: 14px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.001s !important; }
}

/* =====================================================================
   Home page (agency overview). The offer page uses the rules above.
   ===================================================================== */

/* ---------- Header navigation ---------- */
.nav { display: none; }
@media (min-width: 900px) {
  .nav { display: flex; align-items: center; gap: 28px; margin-right: 8px; }
  .nav a { display: inline-flex; align-items: center; min-height: 44px; color: var(--text); font-weight: 700; font-size: 16px; text-decoration: none; }
  .nav a:hover { text-decoration: underline; }
}

/* ---------- Home hero ---------- */
.hero--home { padding-block: clamp(28px, 6vw, 80px) clamp(44px, 7vw, 88px); }
.hero--home .wrap { position: relative; }
.hero--home .wrap > :not(.hero__mark) { position: relative; }
.hero--home h1 { font-size: clamp(36px, 5.8vw, 58px); max-width: 19ch; }
.hero--home .hero__sub { max-width: 44ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
@media (min-width: 900px) {
  .hero--home .hero__mark { left: auto; right: clamp(20px, 5vw, 40px); top: 50%; width: min(24vw, 280px); transform: translateY(-50%); }
}

/* ---------- Offer band ---------- */
.offerband { display: grid; gap: 20px; padding: clamp(24px, 4vw, 44px); border-radius: var(--radius); background: var(--accent); color: var(--accent-ink); }
.offerband h2 { margin: 0; font-size: clamp(26px, 3.6vw, 38px); font-weight: 800; line-height: 1.15; letter-spacing: -0.025em; }
.offerband p { margin-top: 8px; font-size: 18px; }
.offerband .btn { background: var(--accent-ink); color: #fdfeff; }
.offerband .btn:hover { background: #1a3a63; }
@media (min-width: 820px) { .offerband { grid-template-columns: 1fr auto; align-items: center; } }

/* ---------- Services grid ---------- */
.tile__more { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; font-weight: 800; }
@media (min-width: 720px) {
  .bento--home .tile:nth-child(1) { grid-column: span 4; }
  .bento--home .tile:nth-child(2),
  .bento--home .tile:nth-child(3),
  .bento--home .tile:nth-child(4),
  .bento--home .tile:nth-child(5) { grid-column: span 2; }
  .bento--home .tile:nth-child(6) { grid-column: span 6; }
}

/* ---------- Why us ---------- */
.why { display: grid; gap: clamp(20px, 4vw, 56px); }
.why h2 { margin: 0; max-width: 12ch; }
.why li { padding: 22px 0; border-top: 1px solid var(--line); }
.why li:first-child { padding-top: 0; border-top: 0; }
.why h3 { font-size: 21px; font-weight: 800; line-height: 1.2; letter-spacing: -0.02em; }
.why p { margin-top: 6px; color: var(--muted); max-width: 54ch; }
@media (min-width: 900px) { .why { grid-template-columns: 0.8fr 1.2fr; } }

/* ---------- Contact ---------- */
.contact { display: grid; gap: clamp(24px, 5vw, 64px); }
.contact h2 { margin: 0 0 14px; }
.contact__lead { color: var(--muted); font-size: 18px; max-width: 36ch; }
.contact__rows { display: grid; gap: 2px; margin-top: 20px; justify-items: start; }
.contact__rows a { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; color: var(--text); font-weight: 800; font-size: 19px; text-decoration: none; }
.contact__rows a:hover { text-decoration: underline; }
.contact__rows .ico { color: var(--accent-strong); }
.card > .form:first-child { margin-top: 0; }
@media (min-width: 900px) { .contact { grid-template-columns: 0.9fr 1.1fr; align-items: start; } }

.field select {
  width: 100%;
  min-height: 50px;
  padding: 11px 44px 11px 14px;
  border: 1.5px solid var(--field-line);
  border-radius: var(--radius);
  background-color: var(--field-bg);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237d8fa9' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 20px;
  color: var(--text);
  font: inherit;
  font-size: 17px;
  appearance: none;
  -webkit-appearance: none;
}
.field select:focus { outline: none; border-color: var(--accent-strong); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent-strong) 30%, transparent); }

/* ---------- Footer partner line ---------- */
.foot__partner { padding-top: 18px; border-top: 1px solid var(--line); }
@media (min-width: 820px) { .foot__partner { grid-column: 1 / -1; } }
