:root {
  --navy: #1a365d;
  --navy-2: #234272;
  --ink: #1a202c;
  --muted: #4a5568;
  --accent: #ed8936;
  --accent-ink: #9a3412;
  --bg: #f7fafc;
  --card: #ffffff;
  --line: #e2e8f0;
  --band: #edf2f7;
  --ok: #276749;
  --err: #9b2c2c;
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: Inter, "Noto Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --shadow: 0 12px 32px rgba(26, 54, 93, 0.06);
  --radius: 18px;
  --header: 4.5rem;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 1.05rem;
}

:lang(el) body { font-family: "Noto Sans", Inter, sans-serif; }
:lang(el) h1, :lang(el) h2, :lang(el) h3 {
  font-family: "Noto Serif", Georgia, serif;
}

img { max-width: 100%; height: auto; }
button, input, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4, p { text-wrap: pretty; }

a { color: var(--navy); }
a:hover { color: var(--accent-ink); }

:focus { outline: none; }
:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 0.75rem;
  top: -4rem;
  z-index: 80;
  background: #fff;
  color: var(--navy);
  padding: 0.55rem 0.8rem;
  border-radius: 8px;
  font-weight: 700;
}
.skip:focus { top: 0.75rem; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

body:not([data-i18n-ready]) [data-i18n] { visibility: hidden; }

.wrap {
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.header-bar {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.75rem 1rem;
  min-height: var(--header);
  flex-wrap: wrap;
  padding: 0.35rem 0;
}

.wordmark {
  font-family: var(--serif);
  color: var(--navy);
  text-decoration: none;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
  margin-right: auto;
}
.wordmark:hover { color: var(--navy); }

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.05rem;
}
.site-nav a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  white-space: nowrap;
}
.site-nav a:hover { color: var(--navy); }
.nav-quiet {
  font-weight: 500;
  color: var(--muted);
}

.langs {
  display: flex;
  gap: 0.1rem;
  background: var(--band);
  border-radius: 999px;
  padding: 0.15rem;
}
.lang-btn {
  border: 0;
  background: transparent;
  border-radius: 999px;
  min-width: 2.4rem;
  min-height: 2.3rem;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.03em;
  cursor: pointer;
  color: var(--ink);
}
.lang-btn.is-active { background: var(--navy); color: #fff; }
.lang-btn:hover { color: var(--navy); }
.lang-btn.is-active:hover { color: #fff; }

.nav-toggle {
  display: none;
  align-items: center;
  gap: 0.45rem;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  min-height: 2.6rem;
  padding: 0 0.85rem;
  font-weight: 700;
  cursor: pointer;
}
.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 0.95rem;
  height: 2px;
  background: var(--navy);
  position: relative;
}
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
}
.nav-toggle-bars::before { top: -5px; }
.nav-toggle-bars::after { top: 5px; }

.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 100% 0%, rgba(237, 137, 54, 0.28), transparent 26rem),
    linear-gradient(145deg, var(--navy) 0%, var(--navy-2) 52%, #2d3748 100%);
  padding: clamp(2.8rem, 6vw, 5.5rem) 0;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.09) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: linear-gradient(90deg, transparent, #000 75%);
  pointer-events: none;
}
.hero .wrap { position: relative; z-index: 1; }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(220px, 0.65fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0 0 0.9rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
}
.eyebrow::before {
  content: "";
  width: 1.7rem;
  height: 2px;
  background: var(--accent);
}
.eyebrow.on-light { color: var(--navy); }

section[id] { scroll-margin-top: 5.25rem; }

.prose code {
  font-size: 0.92em;
  background: var(--band);
  padding: 0.05em 0.35em;
  border-radius: 4px;
}

.hero h1 {
  margin: 0 0 1rem;
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(2.35rem, 5vw, 4.05rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.hero-lead {
  margin: 0;
  max-width: 40rem;
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.92);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.7rem;
}

.hero-photo { display: flex; justify-content: center; }

.portrait {
  display: block;
  width: min(260px, 68vw);
  aspect-ratio: 1;
  object-fit: cover;
  object-position: center 18%;
  border-radius: 50%;
  border: 4px solid rgba(255, 255, 255, 0.92);
  box-shadow: 0 0 0 8px rgba(237, 137, 54, 0.35), 0 18px 40px rgba(0, 0, 0, 0.25);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.65rem 1.15rem;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: var(--ink); border-color: var(--accent); }
.btn-primary:hover, .btn-primary:visited { color: var(--ink); }
.btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.6);
}
.btn-ghost:hover, .btn-ghost:visited { color: #fff; background: rgba(255, 255, 255, 0.08); }
.btn-secondary {
  background: #fff;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-secondary:hover, .btn-secondary:visited { color: var(--navy); }
.btn:disabled { opacity: 0.65; cursor: not-allowed; transform: none; }

.section { padding: clamp(3rem, 6vw, 4.75rem) 0; }
.band { background: #fff; }
#dati { background: var(--band); }

.section h2 {
  margin: 0 0 0.75rem;
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.9rem, 3.5vw, 2.7rem);
  letter-spacing: -0.02em;
  color: var(--navy);
  text-wrap: balance;
}
.section h2::after {
  content: "";
  display: block;
  width: 2.75rem;
  height: 3px;
  margin-top: 0.7rem;
  border-radius: 2px;
  background: var(--accent);
}

.lede {
  margin: 0 0 1.8rem;
  max-width: 42rem;
  color: var(--muted);
  font-size: 1.08rem;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  counter-reset: svc;
}
.service {
  counter-increment: svc;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.2rem 1.2rem 1.3rem;
  box-shadow: var(--shadow);
}
.service h3 {
  margin: 0 0 0.45rem;
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--navy);
}
.service h3::before {
  content: counter(svc, decimal-leading-zero);
  display: block;
  margin-bottom: 0.35rem;
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--accent-ink);
}
.service p { margin: 0; color: var(--ink); }

.stack { display: flex; flex-direction: column; gap: 1rem; }

.case {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem 1.35rem 1.15rem;
}
.case header { margin-bottom: 0.85rem; }
.case h3 {
  margin: 0.15rem 0 0;
  font-family: var(--serif);
  font-size: 1.7rem;
  font-weight: 600;
  color: var(--navy);
  overflow-wrap: anywhere;
}
.kicker {
  margin: 0;
  color: var(--accent-ink);
  font-size: 0.82rem;
  font-weight: 700;
}
.fact h4 {
  margin: 0.9rem 0 0.15rem;
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-ink);
}
.fact:first-child h4 { margin-top: 0; }
.fact p, .built { margin: 0; }
.built { margin-top: 0.9rem; color: var(--muted); font-size: 0.95rem; }
.case-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 1rem;
  margin: 0.85rem 0 0;
}
.case-links a { font-weight: 700; }

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  counter-reset: step;
}
.steps li {
  counter-increment: step;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.15rem;
  box-shadow: var(--shadow);
}
.steps li::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  margin-bottom: 0.45rem;
  font-family: var(--serif);
  font-size: 1.45rem;
  color: var(--accent-ink);
}
.steps h3 {
  margin: 0 0 0.4rem;
  font-size: 1.15rem;
  color: var(--navy);
}
.steps p { margin: 0; }

.about p { max-width: 44rem; }
.text-link { font-weight: 700; }

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 1.75rem;
  align-items: start;
}
.contact-side a { font-weight: 700; }
.contact-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.1rem;
  margin-top: 1rem;
}

.form {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.2rem;
  box-shadow: var(--shadow);
}
.form-field { display: block; margin-bottom: 0.85rem; font-weight: 600; font-size: 0.92rem; }
.form-field input,
.form-field textarea {
  display: block;
  width: 100%;
  margin-top: 0.35rem;
  padding: 0.7rem 0.8rem;
  border: 1px solid #cbd5e0;
  border-radius: 10px;
  background: #fff;
}
.form-field textarea { min-height: 140px; resize: vertical; }
.form-field input:focus-visible,
.form-field textarea:focus-visible { outline-color: var(--navy); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
.hint { margin: -0.3rem 0 0.9rem; color: var(--muted); font-size: 0.9rem; }
.check {
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
  margin: 0.2rem 0 0.9rem;
  font-weight: 500;
}
.check input { width: 1.1rem; height: 1.1rem; margin-top: 0.2rem; flex: none; }
.form button[type="submit"] { width: 100%; }
.form-status { min-height: 1.4em; margin: 0.8rem 0 0; font-weight: 700; }
.form-status.is-error { color: var(--err); }
.form-status.is-ok { color: var(--ok); }
.form-status.is-pending { color: var(--muted); }
.form-fallback { margin: 0.4rem 0 0; color: var(--muted); }
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.legal-lead {
  margin: 0 0 1rem;
  max-width: 46rem;
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--navy);
}
.facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.8rem;
  margin: 0;
}
.facts div {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.9rem 1rem;
}
.facts dt {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--muted);
}
.facts dd { margin: 0.25rem 0 0; font-weight: 600; }

.site-footer {
  background: var(--navy);
  color: #fff;
  padding: 2.4rem 0 2rem;
}
.site-footer a { color: #fff; font-weight: 600; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-legal {
  margin: 0 0 0.45rem;
  max-width: 46rem;
  font-size: 1.05rem;
  font-weight: 700;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 1.15rem;
  margin: 1rem 0 0.8rem;
  padding: 0;
  list-style: none;
}
.copy { margin: 0; color: rgba(255, 255, 255, 0.82); font-size: 0.92rem; }

.page-intro { padding-top: 2.4rem; }
.cv-intro {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 1.25rem 1.5rem;
  align-items: start;
}
.cv-intro .portrait { margin-top: 0.35rem; }
.cv-intro .portrait { width: 112px; box-shadow: 0 0 0 6px rgba(237, 137, 54, 0.28); }
.cv-intro h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.2rem, 4vw, 3.3rem);
  line-height: 1.05;
  color: var(--navy);
  letter-spacing: -0.03em;
}
.role { margin: 0.35rem 0 0.8rem; font-weight: 600; color: var(--navy); }
.inline-links { display: flex; flex-wrap: wrap; gap: 0.5rem 1.1rem; }

.list {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.1rem 1.2rem 1.15rem;
}
.card h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--navy);
}
.company { margin: 0.15rem 0; color: var(--navy); font-weight: 700; }
.meta { margin: 0 0 0.55rem; color: var(--muted); font-size: 0.92rem; }
.card ul { margin: 0.2rem 0 0; padding-left: 1.15rem; }
.card li { margin: 0.28rem 0; }
.card p:last-child { margin-bottom: 0; }

.skill-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.8rem;
}
.skill-grid h3 {
  font-family: var(--sans);
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.skill-grid ul { margin: 0.45rem 0 0; padding-left: 1.1rem; }

.lang-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.lang-list li {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.4rem 0.85rem;
  font-weight: 600;
}

.prose { max-width: 68ch; padding-bottom: 1rem; }
.prose h1 {
  margin: 0 0 0.6rem;
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 600;
  color: var(--navy);
  letter-spacing: -0.03em;
}
.prose h2 {
  margin: 2rem 0 0.45rem;
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 600;
  color: var(--navy);
}
.prose h2::after { display: none; }
.note {
  color: var(--muted);
  font-size: 0.98rem;
}
.prose ul { padding-left: 1.2rem; }
.prose li { margin: 0.3rem 0; }

@media (max-width: 980px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    display: none;
    position: absolute;
    left: 50%;
    right: auto;
    top: 100%;
    width: 100vw;
    transform: translateX(-50%);
    flex-direction: column;
    align-items: flex-start;
    gap: 0.2rem;
    padding: 0.4rem 1.25rem 1rem;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 16px 30px rgba(26, 54, 93, 0.08);
  }
  .site-nav a { padding: 0.55rem 0; font-size: 1.05rem; }
  body.nav-open .site-nav { display: flex; }
  body.nav-open { overflow: hidden; }
  .service-grid, .own-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .hero-grid, .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .wrap { width: min(1120px, calc(100% - 1.25rem)); }
  .hero-photo { order: -1; justify-content: flex-start; }
  .portrait { width: 104px; }
  .service-grid, .own-grid, .steps, .form-row, .cv-intro { grid-template-columns: 1fr; }
  .cv-intro .portrait { width: 96px; margin-top: 0; }
  .header-bar { align-items: center; }
  .hero .actions { flex-direction: column; align-items: stretch; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    transition: none !important;
    animation: none !important;
  }
  .btn:hover { transform: none; }
}

article.wrap > h1 {
  margin: 0.15rem 0 1rem;
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(2.1rem, 4.5vw, 3.3rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: var(--navy);
}

.launch-badge {
  display: inline-block;
  margin: 0 0 0.9rem;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  background: rgba(237, 137, 54, 0.16);
  color: var(--accent-ink);
  font-weight: 700;
  font-size: 0.9rem;
}
.own-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.own-grid h3 {
  margin: 0 0 0.4rem;
  font-family: var(--serif);
  font-size: 1.3rem;
  color: var(--navy);
}
.own-grid p { margin: 0; }

.price-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
}
.price-card {
  display: flex;
  flex-direction: column;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.15rem 1.15rem 1.2rem;
}
.price-card h3 {
  margin: 0 0 0.8rem;
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--navy);
}
.price-old { margin: 0; color: var(--muted); font-size: 0.95rem; }
.price-old s { text-decoration: line-through; }
.price-now { margin: 0.15rem 0 0.55rem; }
.price-from {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-ink);
}
.price-now strong {
  font-size: 1.9rem;
  letter-spacing: -0.03em;
  color: var(--navy);
  font-weight: 700;
}
.price-time { margin: 0 0 0.75rem; color: var(--muted); font-size: 0.92rem; }
.price-card ul { margin: 0 0 1rem; padding-left: 1.1rem; }
.price-card li { margin: 0.28rem 0; }
.price-card .btn { width: 100%; margin-top: auto; }
.price-note { margin: 1rem 0 0; max-width: 46rem; color: var(--muted); }
.guide-links { display: flex; flex-wrap: wrap; gap: 0.5rem 1.2rem; margin: 0.8rem 0 0; }
.guide-links a { font-weight: 700; }
.faq-list { display: flex; flex-direction: column; gap: 0.7rem; }
.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1rem 1.15rem;
}
.faq-item h3 {
  margin: 0 0 0.35rem;
  font-family: var(--sans);
  font-size: 1.05rem;
  color: var(--navy);
}
.faq-item p { margin: 0; }
.case-shot {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
  margin-bottom: 0.85rem;
  border: 1px solid var(--line);
}
.price-old s { text-decoration-thickness: 1.5px; }
.answer {
  margin: 0 0 1.6rem;
  padding: 1rem 1.15rem;
  background: #fff;
  border-left: 4px solid var(--accent);
  border-radius: 0 14px 14px 0;
  font-size: 1.08rem;
}
.table-wrap { overflow-x: auto; background: #fff; border: 1px solid var(--line); border-radius: 16px; }
.price-table { width: 100%; border-collapse: collapse; min-width: 640px; }
.price-table th, .price-table td {
  text-align: left;
  padding: 0.8rem 0.9rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.price-table th {
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.price-table tr:last-child td { border-bottom: 0; }
.factor-list { margin: 0; padding-left: 1.15rem; }
.factor-list li { margin: 0.35rem 0; }

@media print {
  .site-header, .skip, .nav-toggle, .langs, .site-nav, .form, .actions { display: none !important; }
  body { background: #fff; color: #000; }
  .band, #dati, .service, .case, .steps li, .card, .facts div { background: #fff; box-shadow: none; }
  .site-footer { background: #fff; color: #000; padding-top: 1rem; }
  .site-footer a, .footer-legal, .copy { color: #000; }
  a[href^="http"]::after {
    content: " (" attr(href) ")";
    font-weight: 400;
    font-size: 0.85em;
    word-break: break-all;
  }
}
