/* Adstron Technologies — style.css */

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 200 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: 200 800;
  font-display: swap;
  src: url("../fonts/manrope-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 200 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;
}

:root {
  /* Θέμα: Claude Amber (21st.dev) */
  --ink: #141413;
  --ink-2: #2B2A27;
  --muted: #6B6A64;
  --line: #DAD9D4;
  --bg: #FAF9F5;
  --bg-alt: #F0EEE6;
  --card: #F5F4EF;
  --accent: #C96442;
  --accent-ink: #B4532F;
  --accent-soft: #EFE3D8;
  --accent-light: #E08A6A;
  --radius: 16px;
  --wrap: 1160px;
  --header-h: 72px;
  --font: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-2);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { color: var(--ink); line-height: 1.15; margin: 0; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.1rem, 4.8vw, 3.6rem); font-weight: 700; max-width: 18ch; }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 700; max-width: 20ch; }
h3 { font-size: 1.08rem; font-weight: 650; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
strong { color: var(--ink); font-weight: 700; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
@media (max-width: 600px) { .wrap { padding: 0 16px; } }

.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250,249,245,.88);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.header-inner { height: var(--header-h); display: flex; align-items: center; gap: 32px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); flex-shrink: 0; }
.brand-mark { width: 36px; height: 36px; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text strong { font-size: 1.05rem; letter-spacing: .16em; font-weight: 800; }
.brand-text span { font-size: .62rem; letter-spacing: .32em; color: var(--muted); margin-top: 4px; font-weight: 600; }

.nav { display: flex; gap: 28px; margin-left: auto; }
.nav a { text-decoration: none; font-size: .93rem; font-weight: 500; color: var(--ink-2); position: relative; padding: 6px 0; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .2s; }
.nav a:hover::after, .nav a.active::after { transform: scaleX(1); }

.header-tools { display: flex; align-items: center; gap: 12px; }
.lang { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; padding: 3px; background: var(--card); }
.lang button {
  font: inherit; font-size: .78rem; font-weight: 700; letter-spacing: .06em;
  border: 0; background: transparent; color: var(--muted);
  padding: 6px 12px; border-radius: 999px; cursor: pointer;
}
.lang button[aria-pressed="true"] { background: var(--ink); color: #fff; }

.menu-btn { display: none; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 12px; background: var(--card); cursor: pointer; padding: 0; position: relative; }
.menu-btn span { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--ink); transition: transform .2s, top .2s; }
.menu-btn span:first-child { top: 16px; }
.menu-btn span:last-child { top: 24px; }
.menu-btn[aria-expanded="true"] span:first-child { top: 20px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { top: 20px; transform: rotate(-45deg); }

@media (max-width: 960px) {
  .header-inner { gap: 12px; }
  .header-tools { margin-left: auto; }
  .menu-btn { display: block; }
  .nav {
    position: fixed; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; gap: 0; margin: 0;
    background: var(--bg); border-bottom: 1px solid var(--line);
    padding: 8px 16px 16px;
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .2s, transform .2s, visibility .2s;
  }
  .nav.open { transform: none; opacity: 1; visibility: visible; }
  .nav a { padding: 14px 4px; border-bottom: 1px solid var(--line); font-size: 1rem; }
  .nav a:last-child { border-bottom: 0; }
  .nav a::after { display: none; }
}

/* Hero */
.hero {
  padding: clamp(64px, 10vw, 128px) 0 0;
  background:
    radial-gradient(900px 420px at 85% -10%, rgba(201,100,66,.10), transparent 70%),
    var(--bg);
  position: relative; overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(700px 360px at 80% 0%, #000 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(700px 360px at 80% 0%, #000 0%, transparent 75%);
  opacity: .7;
}
.hero-inner { position: relative; }
.eyebrow, .kicker {
  font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent-ink); margin: 0 0 18px;
  display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow::before, .kicker::before { content: ""; width: 22px; height: 2px; background: var(--accent); }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: var(--muted); max-width: 62ch; margin: 24px 0 36px; }
.lead strong { color: var(--ink); }
.cta { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 26px; border-radius: 999px; font-weight: 600; font-size: .97rem;
  text-decoration: none; transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-ink); }
.btn-ghost { border: 1px solid var(--line); color: var(--ink); background: transparent; }
.btn-ghost:hover { border-color: var(--ink); }

.facts {
  position: relative;
  display: grid; grid-template-columns: repeat(4, 1fr);
  margin: clamp(56px, 8vw, 96px) 0 0; padding: 0;
  border-top: 1px solid var(--line);
}
.facts > div { padding: 28px 24px 32px 0; border-right: 1px solid var(--line); }
.facts > div + div { padding-left: 24px; }
.facts > div:last-child { border-right: 0; }
.facts dt { font-size: clamp(1.3rem, 2.2vw, 1.75rem); font-weight: 700; color: var(--ink); letter-spacing: -0.02em; }
.facts dd { margin: 6px 0 0; color: var(--muted); font-size: .9rem; line-height: 1.45; }
@media (max-width: 800px) {
  .facts { grid-template-columns: 1fr 1fr; }
  .facts > div { padding: 22px 16px 22px 0; border-bottom: 1px solid var(--line); }
  .facts > div + div { padding-left: 0; }
  .facts > div:nth-child(2n) { border-right: 0; padding-left: 16px; }
  .facts > div:nth-child(n+3) { border-bottom: 0; }
}

/* Sections */
.section { padding: clamp(72px, 10vw, 128px) 0; }
.section-alt { background: var(--bg-alt); }
.section-head { margin-bottom: clamp(36px, 5vw, 56px); }
.grid-2 { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.grid-2 > div:first-child { position: sticky; top: calc(var(--header-h) + 32px); }
@media (max-width: 900px) {
  .grid-2 { grid-template-columns: 1fr; }
  .grid-2 > div:first-child { position: static; }
}
.prose p { font-size: 1.05rem; }
.prose p:first-child { font-size: 1.2rem; color: var(--ink); line-height: 1.6; }
.muted { color: var(--muted); margin-top: 20px; max-width: 46ch; }

/* Cards */
.cards {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: var(--line);
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
}
.card { background: var(--card); padding: 32px 28px 36px; transition: background .2s; }
.card:hover { background: #fff; }
.card .num { display: block; font-size: .78rem; font-weight: 700; color: var(--accent-ink); letter-spacing: .1em; margin-bottom: 16px; }
.card h3 { margin-bottom: 12px; }
.card p { color: var(--muted); font-size: .96rem; margin: 0; }
@media (max-width: 960px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .cards { grid-template-columns: 1fr; } .card { padding: 26px 20px 28px; } .card .num { margin-bottom: 16px; } }

/* Checks */
.checks { list-style: none; margin: 0; padding: 0; }
.checks li { padding: 24px 0 24px 44px; border-top: 1px solid var(--line); position: relative; }
.checks li:last-child { border-bottom: 1px solid var(--line); }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 28px; width: 24px; height: 24px; border-radius: 50%;
  background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23B4532F' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.checks h3 { margin-bottom: 6px; }
.checks p { color: var(--muted); margin: 0; font-size: .97rem; }

/* Dark R&D */
.section-dark { background: var(--ink); color: #CFCDC6; position: relative; overflow: hidden; }
.section-dark::before {
  content: ""; position: absolute; right: -200px; top: -200px; width: 640px; height: 640px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.06);
  box-shadow: 0 0 0 80px rgba(255,255,255,.015), 0 0 0 160px rgba(255,255,255,.012);
  pointer-events: none;
}
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark .kicker { color: var(--accent-light); }
.section-dark .grid-2 > div:first-child p { margin-top: 20px; max-width: 46ch; }
.steps { list-style: none; margin: 0; padding: 0; position: relative; }
.steps li { display: grid; grid-template-columns: 56px 1fr; gap: 8px; padding: 24px 0; border-top: 1px solid rgba(255,255,255,.1); }
.steps li:last-child { border-bottom: 1px solid rgba(255,255,255,.1); }
.steps span { font-size: .8rem; font-weight: 700; color: var(--accent-light); letter-spacing: .1em; padding-top: 3px; }
.steps h3 { margin-bottom: 6px; }
.steps p { margin: 0; font-size: .97rem; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.contact-item {
  display: flex; flex-direction: column; gap: 8px;
  padding: 28px; border: 1px solid var(--line); border-radius: var(--radius);
  text-decoration: none; background: var(--card);
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
.contact-item:hover { border-color: var(--ink); transform: translateY(-2px); box-shadow: 0 10px 30px -18px rgba(20,20,19,.35); }
.contact-item .label { font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.contact-item .value { font-size: 1.2rem; font-weight: 600; color: var(--ink); line-height: 1.4; word-break: break-word; }
.map-link { font-size: .9rem; color: var(--accent-ink); font-weight: 600; margin-top: auto; padding-top: 8px; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 36px 0; font-size: .9rem; color: var(--muted); }
.footer-inner { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.footer-inner p { margin: 0; }
.footer-brand { letter-spacing: .16em; font-size: .85rem; color: var(--ink); }
.footer-legal { margin-top: 6px !important; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}


/* ---------- Animated service icons ---------- */
.ico {
  width: 48px; height: 48px; border-radius: 14px;
  display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent-ink);
  margin-bottom: 22px;
  transition: background .25s, color .25s, transform .25s;
}
.ico svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; overflow: visible; }
.ico svg * { stroke-dasharray: 80; stroke-dashoffset: 0; }
.card.reveal:not(.in) .ico svg * { stroke-dashoffset: 80; }
.card.reveal.in .ico svg * { animation: ico-draw 1.1s ease forwards; }
.card:nth-child(2) .ico svg * { animation-delay: .1s; }
.card:nth-child(3) .ico svg * { animation-delay: .2s; }
.card:nth-child(4) .ico svg * { animation-delay: .3s; }
.card:nth-child(5) .ico svg * { animation-delay: .4s; }
.card:nth-child(6) .ico svg * { animation-delay: .5s; }
@keyframes ico-draw { from { stroke-dashoffset: 80; } to { stroke-dashoffset: 0; } }

.card:hover .ico { background: var(--accent); color: #fff; transform: translateY(-2px); }
.card:hover .ico[data-anim="ring"] svg { animation: ico-ring .6s ease; }
.card:hover .ico[data-anim="wave"] svg .w { animation: ico-wave 1s ease infinite; }
.card:hover .ico[data-anim="wave"] svg .w2 { animation-delay: .15s; }
.card:hover .ico[data-anim="wave"] svg .w3 { animation-delay: .3s; }
.card:hover .ico[data-anim="pulse"] svg { animation: ico-pulse .8s ease; }
.card:hover .ico[data-anim="stack"] svg .s2 { animation: ico-lift .7s ease; }
.card:hover .ico[data-anim="turn"] svg { animation: ico-turn .7s ease; transform-origin: 50% 50%; }
.card:hover .ico[data-anim="check"] svg .c { animation: ico-draw .6s ease; }
@keyframes ico-ring { 0%,100% { transform: rotate(0); } 20% { transform: rotate(-12deg); } 40% { transform: rotate(10deg); } 60% { transform: rotate(-6deg); } 80% { transform: rotate(3deg); } }
@keyframes ico-wave { 0%,100% { opacity: 1; } 50% { opacity: .2; } }
@keyframes ico-pulse { 0%,100% { transform: scale(1); } 40% { transform: scale(1.12); } }
@keyframes ico-lift { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-2px); } }
@keyframes ico-turn { 0% { transform: rotate(0); } 50% { transform: rotate(-25deg); } 100% { transform: rotate(0); } }
@media (prefers-reduced-motion: reduce) {
  .ico svg *, .ico svg { animation: none !important; stroke-dashoffset: 0 !important; }
}

/* ---------- Company: sub-blocks ---------- */
.prose h3.sub { font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-ink); margin: 32px 0 10px; }
.company-blocks { margin-top: clamp(56px, 7vw, 88px); display: grid; gap: clamp(48px, 6vw, 72px); }
.block-title { font-size: clamp(1.25rem, 2vw, 1.5rem); margin-bottom: 24px; }
.approach { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: s; }
.approach li { position: relative; padding: 24px 22px 26px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.approach li:not(:last-child)::after {
  content: ""; position: absolute; top: 36px; right: -13px; width: 10px; height: 10px; z-index: 1;
  border-top: 2px solid var(--accent); border-right: 2px solid var(--accent); transform: rotate(45deg);
}
.approach .step { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 999px; background: var(--accent); color: #fff; font-size: .78rem; font-weight: 700; margin-bottom: 16px; }
.approach h4, .audience h4 { margin: 0 0 6px; font-size: 1.05rem; color: var(--ink); letter-spacing: -0.01em; }
.approach p, .audience p { margin: 0; color: var(--muted); font-size: .95rem; }
.audience { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.audience li { padding: 26px 24px 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg); transition: border-color .2s, transform .2s; }
.audience li:hover { border-color: var(--accent); transform: translateY(-2px); }
.aud-ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-ink); margin-bottom: 18px; }
.aud-ico svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 960px) {
  .approach { grid-template-columns: 1fr 1fr; }
  .approach li::after { display: none; }
}
@media (max-width: 640px) {
  .approach, .audience { grid-template-columns: 1fr; }
}
