/* ==========================================================================
   Ακμανείο — design system «Αιγαίο» (geo-adapted, light)
   Tokens, layout, components. Ένα θέμα, ένα accent, ένας συντελεστής
   σκιάς/ακτίνας παντού (design.md §1).
   ========================================================================== */

:root {
  --bg: #f4f7f8;
  --surface: #fcfdfe;
  --surface-2: #e9f1f3;
  --border: #d5e0e4;
  --text: #122a35;
  --text-muted: #4b626e;
  --accent: #0b7285;
  --accent-hover: #095d6e;
  --accent-deep: #0a4a57;
  --accent-tint: #e0f0f3;
  --accent-sun: #e8a13c;
  --ok: #1e7a46;
  --ok-tint: #e3f2e8;
  --bad: #b3384c;
  --bad-tint: #f9e9ec;
  --ink-shadow: 18, 42, 53;

  --font: "Segoe UI", -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Arial", "Noto Sans", sans-serif;

  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 18px;

  --shadow-sm: 0 1px 2px rgba(var(--ink-shadow), .07), 0 1px 6px rgba(var(--ink-shadow), .05);
  --shadow-md: 0 1px 2px rgba(var(--ink-shadow), .06), 0 8px 24px rgba(var(--ink-shadow), .09);
  --shadow-lg: 0 2px 6px rgba(var(--ink-shadow), .08), 0 18px 44px rgba(var(--ink-shadow), .14);

  --container-w: 1200px;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img, svg, iframe, video, canvas { max-width: 100%; }
h1, h2, h3, h4 { line-height: 1.22; margin: 0 0 .55em; font-weight: 700; letter-spacing: -.01em; }
h1 { font-size: clamp(1.9rem, 4.2vw, 3rem); font-weight: 800; }
h2 { font-size: clamp(1.45rem, 3vw, 2.05rem); }
h3 { font-size: 1.17rem; }
p { margin: 0 0 1em; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); text-decoration: underline; }
/* Σύνδεσμοι μέσα σε μεγάλα κείμενα: πάντα υπογραμμισμένοι (a11y link-in-text-block) */
p a, li a, dd a, .section-lead a, .reviews-note a, .company-facts a,
.footer-bottom a, .footer-disclaimer a, .prose a { text-decoration: underline; }
p a:hover, li a:hover, .section-lead a:hover, .reviews-note a:hover,
.company-facts a:hover, .footer-bottom a:hover, .prose a:hover { text-decoration: none; }
ul, ol { margin: 0 0 1em; padding-left: 1.3em; }
strong { font-weight: 700; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
::selection { background: var(--accent-tint); }

.skip-link {
  position: absolute; left: 16px; top: -56px; z-index: 200;
  background: var(--accent); color: #fff; padding: 10px 18px;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  font-weight: 600; transition: top .15s ease;
}
.skip-link:focus { top: 0; color: #fff; text-decoration: none; }

.container { width: 100%; max-width: var(--container-w); margin-inline: auto; padding-inline: clamp(16px, 4vw, 40px); }
.section { padding-block: clamp(48px, 7vw, 88px); }
.section--tint { background: linear-gradient(180deg, var(--surface-2), var(--bg)); }
.section--deep { background: linear-gradient(135deg, var(--accent-deep), var(--accent)); color: #fff; }
.section--deep h2 { color: #fff; }
.section--deep .section-lead { color: rgba(255,255,255,.88); }
.section-head { max-width: 760px; margin-bottom: clamp(24px, 4vw, 44px); }
.section-lead { color: var(--text-muted); font-size: 1.06rem; margin-bottom: 0; }
.section-head--center { margin-inline: auto; text-align: center; }

.icon { width: 24px; height: 24px; flex: none; }
.icon--xs { width: 17px; height: 17px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 600 .98rem/1.2 var(--font); padding: 13px 24px;
  border-radius: 12px; border: 1.5px solid transparent;
  cursor: pointer; text-decoration: none; white-space: nowrap;
  transition: transform .16s ease, box-shadow .16s ease, background-color .16s ease, color .16s ease;
}
.btn:hover, .btn:active { text-decoration: none; }
.btn--primary { background: var(--accent); color: #fff; box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--accent-hover); color: #fff; transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn--primary:active { transform: translateY(0); box-shadow: var(--shadow-sm); }
.btn--ghost { background: transparent; color: var(--accent); border-color: var(--accent); }
.btn--ghost:hover { background: var(--accent-tint); color: var(--accent-hover); }
.btn--light { background: #fff; color: var(--accent-deep); box-shadow: var(--shadow-sm); }
.btn--light:hover { color: var(--accent); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn--sm { padding: 9px 16px; font-size: .9rem; }
.btn--block { width: 100%; }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(252, 253, 254, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow .2s ease;
}
.site-header.is-scrolled { box-shadow: var(--shadow-md); }
.header-inner { display: flex; align-items: center; gap: clamp(12px, 2vw, 28px); min-height: 68px; }

.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); font-weight: 800; font-size: 1.28rem; letter-spacing: -.02em; }
.brand:hover { color: var(--text); text-decoration: none; }
.brand__mark { width: 38px; height: 38px; }
.brand__word { white-space: nowrap; }

.site-nav { margin-inline: auto; }
.site-nav__list { display: flex; gap: clamp(4px, 1vw, 14px); list-style: none; margin: 0; padding: 0; }
.site-nav__trigger {
  display: inline-flex; align-items: center; gap: 6px;
  background: none; border: 0; cursor: pointer;
  font: 600 .95rem/1 var(--font); color: var(--text);
  padding: 10px 12px; border-radius: 10px;
  transition: background-color .15s ease, color .15s ease;
}
.site-nav__trigger:hover, .site-nav__trigger[aria-expanded="true"] { background: var(--accent-tint); color: var(--accent-hover); }
.site-nav__caret { transition: transform .16s ease; }
.site-nav__trigger[aria-expanded="true"] .site-nav__caret { transform: rotate(180deg); }

.dropdown {
  position: absolute; top: calc(100% + 8px); left: 0; z-index: 110;
  min-width: 250px; max-width: 330px; max-height: 70vh; overflow: auto;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-md); box-shadow: var(--shadow-md);
  padding: 8px; opacity: 0; visibility: hidden; transform: translateY(4px);
  transition: opacity .16s ease, transform .16s ease, visibility .16s;
}
.has-dropdown { position: relative; }
.has-dropdown.is-open .dropdown,
.has-dropdown:focus-within .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown::before {
  content: ""; position: absolute; top: -5px; left: 22px;
  width: 10px; height: 10px; background: var(--surface);
  border-left: 1px solid var(--border); border-top: 1px solid var(--border);
  transform: rotate(45deg);
}
.has-dropdown.is-edge .dropdown { left: auto; right: 0; }
.has-dropdown.is-edge .dropdown::before { left: auto; right: 22px; }
.dropdown__list { list-style: none; margin: 0; padding: 0; }
.dropdown__link {
  display: block; padding: 10px 12px; border-radius: 9px;
  color: var(--text); font-size: .93rem;
}
.dropdown__link:hover, .dropdown__link:focus-visible { background: var(--accent-tint); color: var(--accent-hover); text-decoration: none; }
.dropdown__link.is-active { color: var(--accent); font-weight: 700; }

.header-actions { display: flex; align-items: center; gap: 10px; }
.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer;
  padding: 8px; border-radius: 10px; color: var(--text);
}
.nav-toggle:hover { background: var(--accent-tint); }
.nav-toggle__close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__close { display: block; }

.mobile-nav { border-top: 1px solid var(--border); background: var(--surface); box-shadow: var(--shadow-md); }
.mobile-nav__inner { padding: 14px 0 20px; }
.mobile-nav__trigger {
  display: flex; width: 100%; align-items: center; justify-content: space-between;
  background: none; border: 0; cursor: pointer; text-align: left;
  font: 700 1rem/1.3 var(--font); color: var(--text); padding: 12px 4px;
  border-bottom: 1px solid var(--border);
}
.mobile-nav__trigger[aria-expanded="true"] { color: var(--accent-hover); }
.mobile-nav__panel ul { list-style: none; margin: 0; padding: 4px 0 12px; }
.mobile-nav__panel a { display: block; padding: 9px 14px; color: var(--text-muted); border-radius: 8px; font-size: .95rem; }
.mobile-nav__panel a:hover { background: var(--accent-tint); color: var(--accent-hover); text-decoration: none; }
.mobile-nav__cta { margin-top: 14px; }

/* Ticker row (auto-injected from _beacon) */
.site-header + .tv-ticker-wrapper, main > .tv-ticker-wrapper { border-bottom: 1px solid var(--border); background: var(--surface); }

/* ---------- Hero (αρχική) ---------- */
.hero {
  position: relative; overflow: clip;
  background:
    radial-gradient(1100px 480px at 85% -10%, rgba(11,114,133,.14), transparent 60%),
    radial-gradient(900px 420px at -10% 110%, rgba(232,161,60,.10), transparent 55%),
    linear-gradient(180deg, #eef5f7 0%, var(--bg) 78%);
}
.hero__bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero__bg svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__inner {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  grid-template-areas: "copy form" "extras form";
  gap: clamp(24px, 4vw, 56px) clamp(24px, 4vw, 56px);
  align-items: center;
  padding-block: clamp(40px, 6vw, 84px) clamp(60px, 7vw, 108px);
}
.hero-copy { grid-area: copy; min-width: 0; }
.hero-form-col { grid-area: form; min-width: 0; }
.hero-extras { grid-area: extras; min-width: 0; }
.hero__inner > *, .split > *, .page-hero__grid > *, .company-grid > *, .card-grid > * { min-width: 0; }
.hero__kicker { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 18px; }
.hero__title { max-width: 21ch; }
.hero__lead { font-size: 1.1rem; color: var(--text-muted); max-width: 54ch; }
.hero__meta { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 18px 0 8px; font-size: .93rem; color: var(--text-muted); }
.hero__meta strong { color: var(--text); }
.flag-line { display: inline-flex; align-items: center; gap: 9px; }
.flag-gr { width: 27px; height: 20px; border-radius: 4px; box-shadow: var(--shadow-sm); }
.hero__badges { display: flex; gap: 12px; margin-top: 20px; flex-wrap: wrap; }
.icon-link {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md);
  padding: 10px 16px; box-shadow: var(--shadow-sm);
  color: var(--text); font-weight: 600; font-size: .92rem;
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}
.icon-link:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: var(--accent); color: var(--accent-hover); text-decoration: none; }
.icon-badge {
  width: 46px; height: 46px; flex: none; display: inline-flex; align-items: center; justify-content: center;
  background: var(--accent-tint); color: var(--accent); border-radius: 12px;
}
.icon-link .icon-badge { width: 38px; height: 38px; border-radius: 10px; }

.hero__form-note { margin: 12px 2px 0; font-size: .9rem; color: var(--text-muted); display: flex; gap: 8px; align-items: flex-start; }

/* ---------- Hero εσωτερικών σελίδων ---------- */
.page-hero {
  position: relative; overflow: clip;
  background:
    radial-gradient(900px 400px at 90% -20%, rgba(11,114,133,.12), transparent 60%),
    linear-gradient(180deg, #eef5f7, var(--bg));
  border-bottom: 1px solid var(--border);
}
.page-hero__grid {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(24px, 4vw, 52px); align-items: center;
  padding-block: clamp(34px, 5vw, 64px);
}
.page-hero__grid--single { grid-template-columns: minmax(0, 1fr); max-width: 860px; }
.page-hero__lead { color: var(--text-muted); font-size: 1.05rem; max-width: 58ch; }
.page-hero__grid .form-block { margin-bottom: 0; }

/* ---------- Φόρμα ---------- */
.form-block {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-md);
  padding: clamp(18px, 2.6vw, 28px);
}
/* Grid min-content των πεδίων της formFactory δεν ανοίγει τη σελίδα σε 360px */
.form-block form, .form-block form div, .form-block input, .form-block button { min-width: 0; max-width: 100%; }
.form-block input { width: 100%; }
.calc-modal__content form, .calc-modal__content form div, .calc-modal__content input { min-width: 0; max-width: 100%; }
.form-block__intro { margin: 0 0 12px; font-size: .95rem; color: var(--text-muted); }
.form-legal { font-size: .8rem; color: var(--text-muted); margin: 12px 0 0; }
.form-legal a { text-decoration: underline; }
.form-section-heading { font-size: 1.06rem; font-weight: 700; margin: 0 0 6px; }

/* ---------- Breadcrumbs ---------- */
.breadcrumbs { background: var(--surface); border-bottom: 1px solid var(--border); }
.breadcrumbs__list {
  list-style: none; display: flex; flex-wrap: wrap; gap: 6px;
  margin: 0; padding: 10px 0; font-size: .86rem; color: var(--text-muted);
}
.breadcrumbs__list li + li::before { content: "›"; margin-right: 6px; color: var(--border); }
.breadcrumbs__list a { color: var(--text-muted); }
.breadcrumbs__list a:hover { color: var(--accent); }

/* ---------- Cards / grids ---------- */
.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-sm);
  padding: clamp(18px, 2.4vw, 26px);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: color-mix(in srgb, var(--accent) 35%, var(--border)); }
.card h3 { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.card p:last-child { margin-bottom: 0; }
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 18px; }
.card-grid--wide-first { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.card-grid--wide-first > .card--wide { grid-column: 1 / -1; }

.step-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; counter-reset: steps; }
.step-card { position: relative; padding-top: 26px; }
.step-card::before {
  counter-increment: steps; content: counter(steps);
  position: absolute; top: -14px; left: 22px;
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--accent); color: #fff; font-weight: 800; font-size: .98rem;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-sm);
}
.step-card h3 { font-size: 1.05rem; margin-top: 6px; }

/* ---------- Πίνακες ---------- */
.table-wrap {
  overflow-x: auto; border: 1px solid var(--border);
  border-radius: var(--radius-md); background: var(--surface);
  box-shadow: var(--shadow-sm); margin: 0 0 1.2em;
}
.table-wrap table { width: 100%; border-collapse: collapse; font-size: .94rem; min-width: 560px; }
.table-wrap th {
  text-align: left; background: var(--surface-2); color: var(--text);
  padding: 12px 16px; font-weight: 700; white-space: nowrap;
  border-bottom: 1px solid var(--border);
}
.table-wrap td { padding: 12px 16px; border-bottom: 1px solid var(--border); vertical-align: top; }
.table-wrap tbody tr:last-child td { border-bottom: 0; }
.table-wrap tbody tr:nth-child(even) { background: rgba(233, 241, 243, .45); }

.tick-yes, .tick-no { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 50%; }
.tick-yes { background: var(--ok-tint); color: var(--ok); }
.tick-no { background: var(--bad-tint); color: var(--bad); }
.compare-col-brand { background: rgba(224, 240, 243, .55); font-weight: 600; }

/* ---------- Exchange logos ---------- */
.exchanges { background: linear-gradient(180deg, var(--surface-2), var(--bg)); border-block: 1px solid var(--border); }
.exchanges__row { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 26px; }
.exchange-chip {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--surface); border: 1px solid var(--border); border-radius: 999px;
  padding: 9px 20px 9px 12px; color: var(--text-muted);
  font-weight: 700; font-size: .95rem; box-shadow: var(--shadow-sm);
  transition: transform .16s ease, box-shadow .16s ease, color .16s ease;
}
.exchange-chip:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); color: var(--text); }
.exchange-chip svg { width: 26px; height: 26px; }

/* ---------- Κριτικές ---------- */
.review-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 18px; }
.review-card { display: flex; flex-direction: column; gap: 10px; }
.review-card__head { display: flex; align-items: center; gap: 13px; }
.review-avatar {
  width: 56px; height: 56px; border-radius: 50%; flex: none;
  background: var(--accent-tint); color: var(--accent);
  border: 2px solid var(--surface); box-shadow: var(--shadow-sm);
  display: inline-flex; align-items: center; justify-content: center;
}
.review-avatar .icon { width: 27px; height: 27px; }
.review-card__name { font-weight: 700; line-height: 1.25; }
.review-card__role { font-size: .85rem; color: var(--text-muted); }
.review-card__stats { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: .88rem; color: var(--text-muted); padding-bottom: 8px; border-bottom: 1px dashed var(--border); }
.review-card__stats strong { color: var(--ok); }
.review-card p { font-size: .95rem; margin: 0; }
.reviews-note { font-size: .84rem; color: var(--text-muted); margin-top: 18px; }

/* ---------- Μπλοκ εταιρείας ---------- */
.company-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 48px); align-items: start; }
.company-facts { list-style: none; margin: 16px 0 0; padding: 0; }
.company-facts li { display: flex; gap: 10px; padding: 10px 0; border-bottom: 1px dashed var(--border); font-size: .96rem; }
.company-facts li:last-child { border-bottom: 0; }
.company-facts .icon { color: var(--accent); }
.company-links { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }

/* ---------- FAQ accordion ---------- */
.faq-list { display: grid; gap: 12px; max-width: 860px; }
.faq-cat h2 { font-size: 1.22rem; margin: 10px 0 12px; }
.faq-cat + .faq-cat { margin-top: 22px; }
.faq-item {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-md); box-shadow: var(--shadow-sm); overflow: hidden;
}
.faq-item__q {
  display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 14px;
  background: none; border: 0; cursor: pointer; text-align: left;
  font: 700 .99rem/1.4 var(--font); color: var(--text); padding: 15px 18px;
}
.faq-item__q:hover { color: var(--accent-hover); }
.faq-item__q .icon { transition: transform .16s ease; color: var(--accent); }
.faq-item.is-open .faq-item__q .icon { transform: rotate(180deg); }
.faq-item__a { padding: 0 18px 16px; color: var(--text-muted); font-size: .95rem; }
.faq-item__a[hidden] { display: none; }

/* ---------- Calculator ---------- */
.calc-section { position: relative; overflow: clip; background: linear-gradient(180deg, var(--bg), var(--surface-2)); }
.calc-section .calc-widget { margin-inline: auto; }
.calc-note { text-align: center; color: var(--text-muted); font-size: .88rem; margin-top: 14px; }
.calc-chart { display: block; width: min(680px, 100%); height: 120px; margin: 26px auto 0; opacity: .9; }

/* ---------- Ασφάλεια / πλεονεκτήματα home ---------- */
.security-cta { text-align: center; margin-top: 28px; }

/* ---------- Split layouts ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(22px, 4vw, 52px); align-items: center; }
.split--rev > :first-child { order: 2; }

/* ---------- Prose pages ---------- */
.prose { max-width: 800px; }
.prose h2 { margin-top: 1.6em; }
.prose h2:first-child { margin-top: 0; }
.prose ul, .prose ol { color: var(--text-muted); }
.prose li { margin-bottom: .4em; }
.doc-section { padding-top: clamp(20px, 3vw, 34px); }
.doc-section + .doc-section { border-top: 1px solid var(--border); margin-top: clamp(20px, 3vw, 34px); }

/* ---------- Map ---------- */
.map-embed {
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-md); background: var(--surface);
  width: 100%; max-width: 860px; aspect-ratio: 16 / 9; min-height: 320px; margin: 0;
}
.map-embed iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- Careers ---------- */
.vacancy { display: grid; gap: 6px; }
.vacancy__meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 2px 0 10px; }
.vacancy__tag {
  font-size: .8rem; font-weight: 600; color: var(--accent-hover);
  background: var(--accent-tint); border-radius: 999px; padding: 3px 12px;
}

/* ---------- Footer ---------- */
.site-footer { background: #10222c; color: #c8d6dc; margin-top: clamp(48px, 6vw, 80px); }
.footer-grid {
  display: grid; gap: 28px; padding-block: clamp(36px, 5vw, 60px);
  grid-template-columns: 2.2fr repeat(5, 1fr);
}
.brand--footer { color: #fff; }
.brand--footer:hover { color: #fff; }
.brand--footer .brand__mark { color: var(--accent); }
.footer-brand__text { color: #9fb4bd; font-size: .93rem; margin: 14px 0 10px; }
.footer-brand__contact { font-size: .88rem; color: #9fb4bd; }
.footer-brand__contact a { color: #d7e4e9; }
.footer-col h3 { color: #fff; font-size: .95rem; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 12px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 7px; }
.footer-col a { color: #c8d6dc; font-size: .9rem; }
.footer-col a:hover { color: #fff; }
.footer-disclaimer { border-top: 1px solid rgba(255,255,255,.12); padding-block: 22px; }
.footer-disclaimer h3 { font-size: .9rem; text-transform: uppercase; letter-spacing: .06em; color: #fff; }
.footer-disclaimer p { font-size: .8rem; color: #8fa5ae; margin: 0; line-height: 1.6; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding-block: 16px 22px; font-size: .82rem; color: #8fa5ae; margin: 0; }
.footer-bottom a { color: #c8d6dc; }

/* ---------- 404 ---------- */
.error-page { text-align: center; padding-block: clamp(70px, 10vw, 130px); }
.error-page .error-code { font-size: clamp(4rem, 10vw, 7rem); font-weight: 800; color: var(--accent); line-height: 1; }

/* ---------- Special offer ---------- */
.urgency-strip { background: var(--accent-deep); color: #fff; font-size: .88rem; }
.urgency-strip .container { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 34px; padding-block: 9px; }
.urgency-strip span { display: inline-flex; align-items: center; gap: 8px; }
.urgency-strip .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent-sun); animation: pulse-dot 1.6s ease infinite; }
@keyframes pulse-dot { 0%,100% { opacity: 1; } 50% { opacity: .35; } }

.offer-hero { background:
  radial-gradient(900px 400px at 88% -10%, rgba(232,161,60,.16), transparent 60%),
  radial-gradient(1000px 480px at -10% 120%, rgba(11,114,133,.2), transparent 60%),
  linear-gradient(180deg, #e8f1f3, var(--bg)); }
.offer-bonus {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--surface); border: 1.5px solid var(--accent);
  border-radius: var(--radius-md); padding: 9px 18px;
  font-weight: 700; color: var(--accent-hover); box-shadow: var(--shadow-sm);
}
.countdown { display: inline-flex; gap: 8px; align-items: center; }
.countdown__seg {
  background: var(--accent-deep); color: #fff; border-radius: 9px;
  min-width: 52px; padding: 8px 6px; text-align: center;
  font-variant-numeric: tabular-nums; font-weight: 800; font-size: 1.35rem; line-height: 1;
  box-shadow: var(--shadow-sm);
}
.countdown__seg small { display: block; font-size: .58rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.75); margin-top: 4px; }
.countdown__sep { font-weight: 800; color: var(--accent); font-size: 1.3rem; }

.cta-band { background: linear-gradient(120deg, var(--accent-deep), var(--accent)); color: #fff; }
.cta-band .container { padding-block: clamp(34px, 5vw, 54px); text-align: center; }
.cta-band h2 { color: #fff; }

.offer-modal {
  position: fixed; inset: 0; z-index: 300; display: none;
  align-items: center; justify-content: center; padding: 20px;
  background: rgba(16, 34, 44, .62); backdrop-filter: blur(3px);
}
.offer-modal.is-open { display: flex; }
.offer-modal__card {
  position: relative; z-index: 2; width: min(460px, 100%);
  background: var(--surface); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); padding: 30px 26px 26px; text-align: center;
  animation: modal-in .18s ease;
}
.offer-modal__overlay { position: absolute; inset: 0; z-index: 1; }
@keyframes modal-in { from { opacity: 0; transform: translateY(8px) scale(.98); } to { opacity: 1; transform: none; } }
.offer-modal__close {
  position: absolute; top: 10px; right: 10px;
  background: var(--surface-2); color: var(--text); border: 0; cursor: pointer;
  width: 34px; height: 34px; border-radius: 50%; font-size: 1.15rem; line-height: 1;
}
.offer-modal__close:hover { background: var(--accent-tint); color: var(--accent-hover); }
.offer-modal__art { margin: 4px auto 12px; }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(10px); transition: opacity .5s ease, transform .5s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Hero decorative SVG layers ---------- */
.hero-acropolis { opacity: .5; }
.hero-chart-line { stroke-dasharray: 640; stroke-dashoffset: 0; }
.greek-key { opacity: .55; }

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .site-nav { display: none; }
  .header-actions .btn { display: none; }
  .nav-toggle { display: inline-flex; }
  .hero__inner, .page-hero__grid, .split, .company-grid { grid-template-columns: 1fr; }
  /* Κινητό: πρώτα ο τίτλος, μετά η φόρμα, μετά τα υπόλοιπα (checklist μπλοκ 1) */
  .hero__inner { grid-template-areas: "copy" "form" "extras"; padding-bottom: clamp(56px, 8vw, 88px); }
  .split--rev > :first-child { order: 0; }
}
@media (max-width: 640px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .step-grid { gap: 26px 18px; }
  .compare-table th, .compare-table td { padding: 10px 10px; font-size: .88rem; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important; animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

.tv-ticker-wrapper {
  padding-top: 0px !important;
  height: 58px !important;
}

.iti__selected-country,
.iti__selected-dial-code {
  color: rgb(24, 33, 47) !important;
}

.hero--market {
  background: linear-gradient(90deg, #eef5f7 0%, #eef5f7f5 40%, #eef5f773 100%), url("../images/hero-market.webp") right center / cover no-repeat #eef5f7;
}
.hero--market .hero__bg svg { opacity: .18; }

@media (max-width: 700px) {
  .hero--market {
    background-image: linear-gradient(180deg, #eef5f7f5 0%, #eef5f7d9 52%, #eef5f7c7 100%), url("../images/hero-market.webp");
  }
}

.review-portrait {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.iti--inline-dropdown .iti__dropdown-content {
  max-width: max-content;
}

/* Homepage registration, market sources and calculator */
.home-lead.hero--market {
  padding: clamp(38px, 7vw, 92px) 0;
  background: linear-gradient(110deg, #e9f5f8 7%, #e9f5f8ed 49%, #e9f5f855 100%), url('../images/hero-redesign.webp') right center / cover no-repeat var(--bg);
}
.home-lead .hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(22px, 4vw, 58px);
  align-items: center;
  padding-block: 0;
}
.home-lead h1 {
  max-width: none;
  font-size: clamp(2.45rem, 5vw, 4.45rem);
  line-height: 1.04;
  letter-spacing: -.045em;
  text-wrap: balance;
}
.home-lead h1 span { display: block; color: var(--accent-ink, var(--accent-deep)); }
.home-lead .hero-copy { min-width: 0; }
.home-lead .hero-form-col {
  min-width: 0;
  padding: clamp(14px, 2.4vw, 24px);
  border: 2px solid var(--accent); background: var(--surface); border-radius: 24px 5px 24px 5px;
}
.home-lead .hero-form-col > .form-block {
  padding: 0;
  border: 0;
  box-shadow: none;
  background: transparent;
}
.home-lead .home-lead__form-title,
.home-lead .form-block__heading {
  margin: 0 0 14px;
  font-size: clamp(1.2rem, 2.15vw, 1.75rem);
  font-weight: 700;
  line-height: 1.2;
}
.home-lead .home-lead__risk { margin: 12px 0 0; font-size: .85rem; color: var(--text-muted); }
.home-lead .home-lead__jump { display: none; }
.home-lead #registration-form { scroll-margin-top: 92px; }

.home-market { padding: clamp(24px, 4vw, 52px) 0; border-block: 1px solid var(--border); background: var(--surface); }
.home-market > .container {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  gap: clamp(15px, 3vw, 36px);
}
.home-market .section-head, .home-market .section__head, .home-market .exchange-caption, .home-market .exchanges__lead { margin: 0; }
.home-market h2 { font-size: clamp(1.35rem, 2.5vw, 1.95rem); }
.home-market .exchanges__row { display: grid; grid-template-columns: repeat(auto-fit, minmax(125px, 1fr)); gap: 8px; }
.home-market .exchange-chip { background: var(--accent-tint); border-radius: 6px; border-bottom: 2px solid var(--accent); }

.home-estimate { background: var(--bg); }
.home-estimate .calc-widget {
  padding: clamp(14px, 3vw, 32px);
  background: var(--surface); border-top: 3px solid var(--accent); border-radius: 12px;
}
.home-estimate .calc-widget__title, .home-estimate .calc-widget__subtitle { display: none; }
.home-estimate .calc-widget__wrapper {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(12px, 2.3vw, 26px);
  margin: 0 0 18px;
}
.home-estimate .calc-widget__controls { gap: 10px; }
.home-estimate .calc-widget__control, .home-estimate .calc-widget__result {
  min-width: 0;
  margin: 0;
  padding: clamp(12px, 2vw, 22px);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}
.home-estimate .calc-widget__control { background: var(--surface); }
.home-estimate .calc-widget__control .calc-widget__label,
.home-estimate .calc-widget__control .calc-widget__value,
.home-estimate .calc-widget__control .calc-widget__minmax { color: var(--text); }
.home-estimate .calc-widget__value { margin: 6px 0 10px; text-align: left; }
.home-estimate .calc-widget__result { background: var(--accent-deep); color: #fff; text-align: left; }
.home-estimate .calc-widget__result :is(.calc-widget__result-title, .calc-widget__total, .calc-widget__stat-label, .calc-widget__stat-value) { color: inherit; }
.home-estimate .calc-widget__total { line-height: 1.12; overflow-wrap: anywhere; }
.home-estimate .calc-widget__stats { gap: 12px; flex-wrap: wrap; }
.home-estimate .calc-widget__stat-value { overflow-wrap: anywhere; }
.home-estimate .calc-widget__range:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.home-estimate .calc-widget__cta { min-height: 44px; justify-content: center; width: min(100%, 340px); font-weight: 700; border-radius: 6px; background: var(--accent-deep); color: #fff; }

.account-action {
  gap: 10px;
  min-height: 42px;
  padding: 5px 7px 5px 13px;
  border-radius: 6px; background: var(--accent-deep); color: #fff;
}
.account-action__arrow {
  display: grid;
  place-items: center;
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  border: 1px solid #ffffff77; border-radius: 3px;
}
@media (prefers-reduced-motion: no-preference) {
  .account-action__arrow svg { transition: transform .18s ease; }
  .account-action:hover .account-action__arrow svg,
  .account-action:focus-visible .account-action__arrow svg { transform: translateX(2px); }
}
@media (prefers-reduced-motion: reduce) {
  .account-action { transition: none; }
  .account-action:hover { transform: none; }
}
@media (max-width: 820px) {
  .home-lead.hero--market { background-position: 70% center; }
  .home-lead .hero__inner, .home-market > .container { grid-template-columns: minmax(0, 1fr); }
  .home-lead h1 { font-size: clamp(2rem, 7vw, 3.5rem); }
  .home-lead .home-lead__jump { display: inline-flex; gap: 8px; align-items: center; min-height: 44px; font-weight: 700; text-decoration: underline; }
}
@media (max-width: 635px) {
  .home-estimate .calc-widget__wrapper { grid-template-columns: minmax(0, 1fr); }
}

.home-lead h1 { letter-spacing: -.035em; }
.home-lead h1 span { font-size: .72em; margin-top: .2em; line-height: 1.15; }
.home-market .exchange-chip { width: 100%; justify-content: center; }
.home-estimate .calc-widget__control { background: var(--accent-tint); }

/* Distinct homepage composition */
.brand-exchanges{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px;list-style:none;margin:0;padding:0}
.brand-exchanges li{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;margin:0;padding:14px 8px;border:1px solid var(--border);border-radius:0px;background:var(--surface);font-weight:600;min-width:0}
.brand-exchanges__icon{display:grid;place-items:center;width:52px;height:52px;flex:0 0 52px;background:#18212a;border-radius:10px}
.brand-exchanges img{display:block;width:36px;height:36px;object-fit:contain}
.brand-exchanges img[src*="bybit"]{width:44px}
.home-market>.container{grid-template-columns:1fr}
.home-lead h1{border-top:4px solid var(--accent);padding-top:20px}.home-estimate .calc-widget__result{grid-column:1;grid-row:1}.home-estimate .calc-widget__controls{grid-column:2;grid-row:1}.account-action{border-radius:0;border-bottom:3px solid var(--accent-sun)}
@media(max-width:820px){
.home-lead .hero__grid{grid-template-columns:1fr;grid-template-areas:none}
.home-lead .hero__copy,.home-lead .hero__form{grid-column:auto;grid-row:auto}
.home-lead .hero__title,.home-lead .hero__formcol,.home-lead .hero__rest{grid-area:auto}
.brand-exchanges{grid-template-columns:repeat(3,minmax(0,1fr))}.brand-exchanges li{flex-direction:column;font-size:.85rem}
}
@media(max-width:635px){
.home-estimate .calc-widget__wrapper,.home-estimate .calc-widget__controls,.home-estimate .calc-widget__result{display:flex;flex-direction:column}
.home-estimate .calc-widget__wrapper{gap:14px}
.home-estimate .calc-widget__controls{padding:0}
.brand-exchanges{grid-template-columns:repeat(2,minmax(0,1fr))}
}

/* Mobile lead order: heading, existing form, supporting content. */
@media (max-width: 820px) {
.hero.hero--market .hero-order-layout { display:flex; flex-direction:column; align-items:stretch; gap:20px; }
.hero.hero--market .hero-order-copy { display:contents; }
.hero.hero--market .hero-order-copy > h1 { order:-2; width:100%; max-width:none; margin:0; }
.hero.hero--market .hero-order-form { order:-1; width:100%; min-width:0; max-width:none; margin:0; align-self:stretch; }
.hero.hero--market .hero-order-copy > :not(h1) { order:0; margin-top:0; }
.hero.hero--market :is(.home-lead__jump,.hero__form-link) { display:none; }
}
