/* =========================================================
   DIS Agencies — stylesheet
   ========================================================= */

:root {
  --bg: #f7f5f2;
  --bg-alt: #efece7;
  --ink: #171614;
  --ink-soft: #4a4741;
  --muted: #8a857d;
  --line: #dcd6cd;
  --accent: #a8834f;
  --dark: #141311;
  --dark-soft: #1d1b18;

  --serif: "Cormorant Garamond", "Times New Roman", Georgia, serif;
  --sans: "Inter", -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --wrap: 1240px;
  --gutter: clamp(20px, 5vw, 64px);
  --section-y: clamp(72px, 10vw, 140px);
  --header-h: 100px;

  --ease: cubic-bezier(.22, .61, .36, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 8px);
}

/* Κατά την προσαρμοσμένη κύλιση του μενού απενεργοποιείται το native smooth,
   ώστε να μην «παλεύουν» οι δύο κινήσεις. */
html.is-scrolling { scroll-behavior: auto; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

::selection { background: var(--ink); color: var(--bg); }

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

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 100;
  padding: 10px 18px;
  background: var(--ink);
  color: #fff;
  font-size: 13px;
}
.skip-link:focus { top: 12px; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ============================ TYPE ============================ */

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: -0.005em;
  margin: 0;
}

em { font-style: italic; }

.eyebrow {
  margin: 0 0 22px;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero-title {
  font-size: clamp(42px, 7.4vw, 104px);
  line-height: 0.98;
}

.hero-title em { color: var(--accent); }

.section-title {
  font-size: clamp(32px, 4.2vw, 58px);
}

.section-lead {
  max-width: 52ch;
  margin: 0;
  color: var(--ink-soft);
  font-size: clamp(15px, 1.15vw, 17px);
}

/* ============================ BUTTONS ============================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 32px;
  border: 1px solid var(--ink);
  border-radius: 0;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  background: none;
  color: var(--ink);
  transition: background .35s var(--ease), color .35s var(--ease),
              border-color .35s var(--ease), transform .35s var(--ease);
}

.btn-solid {
  background: var(--ink);
  color: #fbf9f6;
}
.btn-solid:hover { background: var(--accent); border-color: var(--accent); }

.btn-ghost:hover { background: var(--ink); color: #fbf9f6; }

.btn-block { width: 100%; }

/* ============================ HEADER ============================ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 245, 242, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .4s var(--ease), background .4s var(--ease);
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(247, 245, 242, 0.94);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 100px;
}

/* --- wordmark --- */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 21px;
  line-height: 1;
}
.brand-main {
  font-family: var(--serif);
  font-size: 40px;
  font-weight: 400;
  letter-spacing: 0.16em;
  padding-right: 0.02em;
}
.brand-divider {
  width: 1px;
  height: 36px;
  background: var(--ink);
  opacity: .55;
}
.brand-sub {
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--ink-soft);
  padding-right: 0.34em;
}
.brand-sm .brand-main { font-size: 22px; }
.brand-sm .brand-divider { height: 20px; }
.brand-sm .brand-sub { font-size: 9px; }

.nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2vw, 32px);
}

.nav a {
  position: relative;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.09em;
  color: var(--ink-soft);
  padding-block: 6px;
  transition: color .3s var(--ease);
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--ink);
  transition: width .4s var(--ease);
}

.nav a:hover,
.nav a.is-active { color: var(--ink); }
.nav a:hover::after,
.nav a.is-active::after { width: 100%; }

.nav .nav-cta {
  border: 1px solid var(--line);
  padding: 11px 22px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 10.5px;
  font-weight: 500;
  transition: background .3s var(--ease), color .3s var(--ease),
              border-color .3s var(--ease);
}
.nav .nav-cta::after { display: none; }
.nav .nav-cta:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: #fbf9f6;
}

.nav-toggle {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  background: none;
  cursor: pointer;
}
.nav-toggle span {
  position: absolute;
  left: 13px;
  width: 18px;
  height: 1px;
  background: var(--ink);
  transition: transform .35s var(--ease), opacity .25s var(--ease);
}
.nav-toggle span:nth-child(1) { top: 19px; }
.nav-toggle span:nth-child(2) { top: 25px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(3px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(-3px) rotate(-45deg); }

/* ============================ HERO ============================ */

.hero {
  position: relative;
  padding-block: clamp(56px, 9vw, 120px) clamp(48px, 7vw, 96px);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 90% at 85% 0%, rgba(168, 131, 79, 0.10), transparent 60%),
    radial-gradient(90% 70% at 0% 30%, rgba(23, 22, 20, 0.05), transparent 65%);
  pointer-events: none;
}

.hero-inner { position: relative; }

.hero-lead {
  max-width: 58ch;
  margin: 32px 0 0;
  color: var(--ink-soft);
  font-size: clamp(15px, 1.2vw, 17.5px);
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 40px;
}

.hero-stats {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: clamp(56px, 8vw, 96px);
  padding-top: 36px;
  border-top: 1px solid var(--line);
}

.stat { display: flex; flex-direction: column; gap: 6px; }

.stat-num {
  font-family: var(--serif);
  font-size: clamp(30px, 3.2vw, 44px);
  line-height: 1;
}

.stat-label {
  max-width: 26ch;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--muted);
}

/* ============================ BRAND STRIP ============================ */

.brand-strip {
  width: 80%;
  margin-inline: auto;
  border: 1px solid var(--line);
  background: var(--bg-alt);
  padding-block: 24px;
}

.brand-strip-mask {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.brand-strip-track {
  display: flex;
  align-items: center;
  width: max-content;
  will-change: transform;
  animation: strip-scroll 60s linear infinite;
}

.brand-strip-group {
  display: flex;
  align-items: center;
  justify-content: space-around;
  column-gap: clamp(24px, 2.5vw, 48px);
  /* Το JS δίνει το πλάτος της λωρίδας, ώστε κάθε ομάδα να τη γεμίζει ακριβώς. */
  min-width: var(--strip-group-w, 0px);
}

.strip-item {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  height: 42px;
}

.strip-logo {
  width: auto;
  opacity: .5;
  filter: grayscale(1);
  transition: opacity .4s var(--ease), filter .4s var(--ease);
}

.strip-item:hover .strip-logo { opacity: 1; filter: none; }

.strip-logo--digel { height: 24px; }
.strip-logo--olymp { height: 22px; }
.strip-logo--cavalli { height: 25px; }
.strip-logo--gardeur { height: 27px; }
.strip-logo--possum { height: 34px; }
.strip-logo--kessler { height: 26px; }

.strip-wordmark {
  color: var(--ink);
  text-transform: uppercase;
  line-height: 1;
  opacity: .72;
  transition: opacity .4s var(--ease);
}

.strip-item:hover .strip-wordmark { opacity: 1; }

.strip-wordmark--kors {
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 500;
  letter-spacing: 0.26em;
}

.strip-wordmark--redpoint {
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.2em;
}

.brand-strip:hover .brand-strip-track { animation-play-state: paused; }

@keyframes strip-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-25%); }
}

/* ============================ SECTIONS ============================ */

.section { padding-block: var(--section-y); }

.section-alt {
  background: var(--bg-alt);
  border-block: 1px solid var(--line);
}

.section-head {
  max-width: 640px;
  margin-bottom: clamp(40px, 5vw, 72px);
}

.section-head-center {
  margin-inline: auto;
  text-align: center;
}

.section-head .section-lead { margin-top: 22px; }

/* ============================ COMPANIES ============================ */

.companies-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.company {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 32px;
  min-height: 300px;
  padding: 28px 26px 24px;
  background: var(--bg);
  transition: background .45s var(--ease);
}

.company::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .5s var(--ease);
}

.company:hover { background: #fffdfa; }
.company:hover::after { transform: scaleX(1); }

.company-body {
  display: flex;
  flex-direction: column;
}

.company-index {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--muted);
}

.company-tag {
  margin: 0 0 14px;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}

.company-name {
  font-size: clamp(24px, 2vw, 30px);
  line-height: 1.12;
  letter-spacing: 0.01em;
}

.company-text {
  margin: 14px 0 0;
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--ink-soft);
}

.company-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  border-bottom: 1px solid transparent;
  padding-bottom: 3px;
  transition: border-color .3s var(--ease), color .3s var(--ease);
}

.company-link svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
  transition: transform .35s var(--ease);
}

.company-link:hover { color: var(--accent); border-bottom-color: var(--accent); }
.company-link:hover svg { transform: translate(2px, -2px); }

/* ============================ ABOUT ============================ */

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
}

.about-text p {
  margin: 0 0 20px;
  max-width: 60ch;
  color: var(--ink-soft);
  font-size: clamp(15px, 1.1vw, 16.5px);
  line-height: 1.85;
}

.about-text strong { font-weight: 500; color: var(--ink); }

.facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px 28px;
  margin: 40px 0 0;
  padding-top: 32px;
  border-top: 1px solid var(--line);
  text-align: left;
}

.facts dt {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.facts dd {
  margin: 6px 0 0;
  font-family: var(--serif);
  font-size: 19px;
  letter-spacing: 0.02em;
}

/* ============================ VALUES ============================ */

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 64px);
}

.value {
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.value-num {
  display: block;
  margin-bottom: 20px;
  font-family: var(--serif);
  font-size: 15px;
  letter-spacing: 0.2em;
  color: var(--accent);
}

.value h3 {
  font-size: clamp(24px, 2.2vw, 30px);
  margin-bottom: 14px;
}

.value p {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink-soft);
}

/* ============================ CONTACT ============================ */

.section-dark {
  background: var(--dark);
  color: #ece7df;
}

.section-dark .eyebrow { color: #9c9488; }
.section-dark .section-title em { color: #c8a878; }
.section-dark .section-lead { color: #b5aea4; }

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  gap: clamp(40px, 6vw, 96px);
}

.contact-intro .section-title { margin-bottom: 22px; }

.contact-list {
  list-style: none;
  margin: 40px 0 0;
  padding: 0;
  max-width: 420px;
}

.contact-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(236, 231, 223, 0.14);
}

.contact-label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #948c80;
}

.contact-value {
  font-family: var(--serif);
  font-size: 18px;
  letter-spacing: 0.02em;
  text-align: right;
}

/* form */
.contact-form {
  display: grid;
  gap: 20px;
  padding: clamp(24px, 3vw, 40px);
  background: var(--dark-soft);
  border: 1px solid rgba(236, 231, 223, 0.12);
}

.field { display: grid; gap: 8px; }

.field label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #948c80;
}

.field input,
.field textarea {
  width: 100%;
  padding: 12px 0;
  border: 0;
  border-bottom: 1px solid rgba(236, 231, 223, 0.22);
  border-radius: 0;
  background: none;
  color: #f2ede6;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 300;
  transition: border-color .3s var(--ease);
}

.field textarea { resize: vertical; min-height: 92px; }

.field input:focus,
.field textarea:focus {
  outline: none;
  border-bottom-color: #c8a878;
}

.field input::placeholder,
.field textarea::placeholder { color: #6d675f; }

.field.is-invalid input,
.field.is-invalid textarea { border-bottom-color: #c96a5c; }

.contact-form .btn-solid {
  margin-top: 8px;
  background: #ece7df;
  border-color: #ece7df;
  color: var(--dark);
}
.contact-form .btn-solid:hover {
  background: #c8a878;
  border-color: #c8a878;
  color: var(--dark);
}

.form-note {
  margin: 0;
  min-height: 1.2em;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: #c8a878;
}

/* ============================ FOOTER ============================ */

.site-footer {
  background: var(--dark);
  color: #a49c90;
  border-top: 1px solid rgba(236, 231, 223, 0.1);
  padding-block: 44px;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 22px 40px;
}

.site-footer .brand-main { color: #ece7df; }
.site-footer .brand-divider { background: #ece7df; }

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}

.footer-nav a {
  font-size: 11px;
  letter-spacing: 0.12em;
  transition: color .3s var(--ease);
}
.footer-nav a:hover { color: #ece7df; }

.footer-meta {
  flex-basis: 100%;
  margin: 0;
  padding-top: 22px;
  border-top: 1px solid rgba(236, 231, 223, 0.1);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: #7d766c;
}

/* ============================ SCROLL TO TOP ============================ */

.to-top {
  position: fixed;
  right: clamp(16px, 2.4vw, 32px);
  bottom: clamp(16px, 2.4vw, 32px);
  z-index: 40;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(247, 245, 242, .92);
  color: var(--ink);
  cursor: pointer;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity .35s var(--ease), transform .35s var(--ease),
              visibility .35s, background .3s var(--ease),
              color .3s var(--ease), border-color .3s var(--ease);
}

.to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.to-top svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform .35s var(--ease);
}

.to-top:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: #fbf9f6;
}

.to-top:hover svg { transform: translateY(-2px); }

/* ============================ REVEAL ============================ */

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ============================ RESPONSIVE ============================ */

@media (max-width: 1080px) {
  .companies-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .company { min-height: 270px; }
}

@media (max-width: 900px) {
  .about-grid,
  .contact-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; gap: 36px; }
  .value { padding-top: 22px; }
}

/* Το μενού γίνεται hamburger νωρίτερα, ώστε να χωρούν οι μεγαλύτερες ετικέτες. */
@media (max-width: 960px) {
  .nav-toggle { display: block; }

  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px var(--gutter) 24px;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px -30px rgba(0, 0, 0, .35);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
  }

  .nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .nav a {
    padding: 14px 0;
    font-size: 14px;
    border-bottom: 1px solid var(--line);
  }
  .nav a::after { display: none; }

  .nav .nav-cta {
    margin-top: 16px;
    padding: 14px 20px;
    text-align: center;
    border-bottom: 0;
  }
}

@media (max-width: 760px) {
  :root { --header-h: 78px; }

  .header-inner { min-height: 78px; }

  .hero-stats {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .stat {
    flex-direction: row;
    align-items: baseline;
    gap: 16px;
  }
  .stat-num { min-width: 78px; }

  .facts { grid-template-columns: 1fr 1fr; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 680px) {
  .brand-strip { width: 100%; padding-block: 18px; }
  .strip-item { height: 34px; }
  .brand-strip-group { column-gap: 20px; }
  .strip-logo--digel { height: 20px; }
  .strip-logo--olymp { height: 18px; }
  .strip-logo--cavalli { height: 21px; }
  .strip-logo--gardeur { height: 23px; }
  .strip-logo--possum { height: 28px; }
  .strip-logo--kessler { height: 22px; }
  .strip-wordmark--kors { font-size: 17px; letter-spacing: 0.2em; }
  .strip-wordmark--redpoint { font-size: 13px; }
}

@media (max-width: 540px) {
  .companies-grid { grid-template-columns: 1fr; }
  .company { min-height: 0; gap: 26px; }
  .brand-main { font-size: 34px; letter-spacing: 0.12em; }
  .brand-divider { height: 30px; }
  .brand-sub { font-size: 13px; letter-spacing: 0.28em; }
  .brand { gap: 16px; }
  .hero-actions .btn { flex: 1 1 auto; }
  .facts { grid-template-columns: 1fr; }
}

/* ============================ MOTION PREFS ============================ */

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

  /* Η λωρίδα λογοτύπων κρατά την αργή, σταθερή κίνησή της. */
  .brand-strip-track {
    animation-duration: 60s !important;
    animation-iteration-count: infinite !important;
    animation-timing-function: linear !important;
  }
}

/* ============================ PRINT ============================ */

@media print {
  .site-header, .brand-strip, .hero-actions, .contact-form, .nav-toggle, .to-top { display: none !important; }
  body { background: #fff; color: #000; }
  .reveal { opacity: 1; transform: none; }
  .section { padding-block: 32px; }
  .section-dark { background: #fff; color: #000; }
  .companies-grid { gap: 0; }
  .company { min-height: 0; break-inside: avoid; }
  .brand-strip-mask { -webkit-mask-image: none; mask-image: none; }
  .brand-strip-track { animation: none; }
  .strip-logo { opacity: 1; filter: none; }
  .strip-wordmark { opacity: 1; }
}
