/* ==========================================================================
   Atelier Nomad: "modern" layout variant
   Same brand tokens (color/type) as the original site, restructured around
   a Wallbid-style layout language: generous whitespace, pill buttons,
   dot-marked eyebrow labels, elevated rounded cards, soft accent blobs.
   ========================================================================== */

@font-face {
  font-family: "DeRose";
  src: url("../fonts/Primary.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Zona Pro";
  src: url("../fonts/ZonaPro-Light.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Zona Pro";
  src: url("../fonts/ZonaPro-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Zona Pro";
  src: url("../fonts/ZonaPro-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Zona Pro";
  src: url("../fonts/ZonaPro-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Zona Pro";
  src: url("../fonts/ZonaPro-ExtraBold.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

:root {
  /* brand colors: unchanged from the original design system */
  --cream: #f7edda;
  --red: #b50124;
  --red-dark: #720107;
  --blue: #cfdce2;
  --ink: #2b0b0d;

  /* semantic */
  --bg: var(--cream);
  --bg-dark: var(--red-dark);
  --text: var(--ink);
  --text-on-dark: var(--cream);
  --accent: var(--red);
  --surface: #fffdf8;

  /* type */
  --font-display: "DeRose", "Iowan Old Style", "Georgia", serif;
  --font-body: "Zona Pro", "Helvetica Neue", Arial, sans-serif;

  /* layout: wider canvas, softer geometry, deeper elevation than the original */
  --max-width: 1240px;
  --gutter: 1.5rem;
  --radius-pill: 999px;
  --radius-card: 22px;
  --radius-input: 12px;
  --shadow-card: 0 1px 2px rgba(43, 11, 13, 0.06), 0 24px 48px -20px rgba(43, 11, 13, 0.22);
  --shadow-lift: 0 1px 2px rgba(43, 11, 13, 0.08), 0 36px 64px -24px rgba(43, 11, 13, 0.32);
}

/* ---- reset ---------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: clip; /* stops the off-screen mobile menu and blobs widening the page */
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: 0.005em;
  margin: 0 0 0.6em;
}
h1 { font-size: clamp(2.6rem, 4.5vw + 1rem, 4.6rem); }
h2 { font-size: clamp(2rem, 2.6vw + 1rem, 3rem); }
h3 { font-size: clamp(1.25rem, 1.2vw + 1rem, 1.5rem); }
p { margin: 0 0 1.2em; }

/* eyebrow: small tracked label with a leading accent dot, Wallbid-style */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--red);
}
.eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red);
  flex-shrink: 0;
}
section[data-tone="dark"] .eyebrow { color: var(--blue); }
section[data-tone="dark"] .eyebrow::before { background: var(--blue); }

.container {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0; padding: 0; margin: -1px;
}

/* skip link */
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--red);
  color: var(--cream);
  padding: 0.75rem 1.25rem;
  border-radius: 0 0 var(--radius-input) 0;
  z-index: 200;
}
.skip-link:focus { left: 0.5rem; top: 0.5rem; border-radius: var(--radius-input); }

/* ---- buttons ---------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  padding: 0.95em 2em;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: 0;
  border: 1.5px solid transparent;
  transition: transform 0.15s ease, background-color 0.15s ease, color 0.15s ease, border-color .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: var(--red);
  color: var(--cream);
  box-shadow: 0 12px 24px -10px rgba(181, 1, 36, 0.55);
}
.btn-primary:hover { background: var(--red-dark); }
.btn-primary::after {
  content: "";
  width: 0.85em;
  height: 0.85em;
  flex-shrink: 0;
  background: currentColor;
  -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round"><line x1="5" y1="12" x2="19" y2="12"/><polyline points="12 5 19 12 12 19"/></svg>') center / contain no-repeat;
  mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round"><line x1="5" y1="12" x2="19" y2="12"/><polyline points="12 5 19 12 12 19"/></svg>') center / contain no-repeat;
  transition: transform 0.2s ease;
}
.btn-primary:hover::after { transform: translateX(3px); }
.btn-outline {
  background: var(--surface);
  color: var(--red);
  border-color: rgba(181, 1, 36, 0.35);
}
.btn-outline:hover { background: var(--red); color: var(--cream); border-color: var(--red); }
.btn-ghost {
  background: transparent;
  color: inherit;
  padding: 0.6em 0;
}
.btn-ghost:hover { transform: none; opacity: 0.7; }
section[data-tone="dark"] .btn-outline {
  background: transparent;
  color: var(--cream);
  border-color: rgba(247, 237, 218, 0.4);
}
section[data-tone="dark"] .btn-outline:hover {
  background: var(--cream);
  color: var(--red-dark);
  border-color: var(--cream);
}

/* ---- header ------------------------------------------------------------ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 237, 218, 0.85);
  backdrop-filter: saturate(140%) blur(10px);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 1.1rem;
}
.brand-logo img { height: 32px; width: auto; }
.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background: var(--surface);
  border: 1px solid rgba(43, 11, 13, 0.12);
  border-radius: var(--radius-pill);
  color: var(--red);
  box-shadow: var(--shadow-card);
}
.nav-toggle svg { width: 18px; height: 18px; }
.main-nav {
  display: flex;
  align-items: center;
  gap: 2.4rem;
}
.main-nav a {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.95rem;
  padding-block: 0.3rem;
  border-bottom: 1.5px solid transparent;
  opacity: 0.85;
}
.main-nav a:not(.btn):not(.social-link):hover,
.main-nav a:not(.btn):not(.social-link)[aria-current="page"] {
  border-color: var(--red);
  color: var(--red);
  opacity: 1;
}
.main-nav .btn { margin-left: 0.4rem; padding: 0.7em 1.6em; font-size: 0.92rem; }
.main-nav .btn[aria-current="page"] { box-shadow: inset 0 0 0 2px var(--cream); }
.main-nav .social-link {
  width: 38px;
  height: 38px;
  border: 1.5px solid rgba(43, 11, 13, 0.14);
  background: var(--surface);
  color: var(--red);
  box-shadow: var(--shadow-card);
  opacity: 1;
}
.main-nav .social-link svg { width: 17px; height: 17px; }
.main-nav .social-link:hover {
  background: var(--red);
  color: var(--cream);
  border-color: var(--red);
}
.main-nav .lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.35em;
  padding: 0.5em 0.9em;
  border: 1.5px solid rgba(43, 11, 13, 0.14);
  border-radius: var(--radius-pill);
  background: var(--surface);
  color: var(--red);
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  box-shadow: var(--shadow-card);
  opacity: 1;
}
.main-nav .lang-toggle span { opacity: 0.4; }
.main-nav .lang-toggle:hover {
  background: var(--red);
  color: var(--cream);
  border-color: var(--red);
}

@media (max-width: 860px) {
  .main-nav {
    position: fixed;
    inset: 0 0 0 auto;
    height: 100vh;
    width: min(78vw, 320px);
    background: var(--red-dark);
    color: var(--cream);
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 1.6rem;
    padding: 6rem 2rem 2rem;
    /* hidden with clip-path (not translateX) so it never widens the page on phones */
    clip-path: inset(0 0 0 100%);
    visibility: hidden;
    transition: clip-path 0.28s ease, visibility 0s linear 0.28s;
  }
  .main-nav a { color: var(--cream); font-size: 1.1rem; opacity: 1; }
  .main-nav a:not(.btn):not(.social-link):hover, .main-nav a:not(.btn):not(.social-link)[aria-current="page"] { color: var(--blue); border-color: var(--blue); }
  .main-nav .social-link { align-self: flex-start; }
  .main-nav .lang-toggle { align-self: flex-start; color: var(--cream); border-color: rgba(247, 237, 218, 0.3); background: transparent; box-shadow: none; }
  .main-nav .lang-toggle span { color: var(--cream); }
  body.nav-open .main-nav { clip-path: inset(0); visibility: visible; transition: clip-path 0.28s ease, visibility 0s; }
  .nav-toggle { display: inline-flex; }
  body.nav-open .nav-toggle { color: var(--red-dark); }
}
@media (min-width: 861px) {
  .nav-toggle { display: none; }
}

/* ---- hero ---------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(4rem, 9vw, 8rem) clamp(3rem, 6vw, 5rem);
  background: var(--bg);
}
.hero[data-tone="dark"] { background: var(--red-dark); color: var(--cream); }

/* soft blurred accent blobs, à la Wallbid's gradient shapes */
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
}
.blob-red { background: radial-gradient(circle, rgba(181,1,36,0.28), transparent 70%); }
.blob-blue { background: radial-gradient(circle, rgba(207,220,226,0.55), transparent 70%); }

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 3rem;
  align-items: center;
}
@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1.05fr 0.95fr; }
}
.hero .lede { font-size: 1.2rem; max-width: 46ch; color: rgba(43, 11, 13, 0.75); }
.hero[data-tone="dark"] .lede { color: rgba(247, 237, 218, 0.8); }

.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
}
.hero-card {
  position: relative;
  background: var(--surface);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-lift);
  padding: clamp(2rem, 4vw, 3rem);
  transform: rotate(-2deg);
}
.hero-card img { width: min(280px, 60vw); margin-inline: auto; animation: float 7s ease-in-out infinite; }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2.2rem;
}

/* scroll cue: points to the next section, à la Brilean's hero arrow */
.scroll-cue {
  position: absolute;
  z-index: 1;
  left: 50%;
  bottom: 1.5rem;
  transform: translateX(-50%);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(43, 11, 13, 0.4);
}
.hero[data-tone="dark"] .scroll-cue { color: rgba(247, 237, 218, 0.5); }
.scroll-cue svg {
  width: 16px;
  height: 16px;
  animation: scroll-cue-bounce 2.2s ease-in-out infinite;
}
@keyframes scroll-cue-bounce {
  0%, 100% { transform: translateY(0); opacity: 0.5; }
  50% { transform: translateY(6px); opacity: 1; }
}
@media (max-width: 700px) {
  .scroll-cue { display: none; }
}

/* ---- trust / capability strip ------------------------------------------ */
.trust-strip {
  padding-block: 2.5rem;
  border-block: 1px solid rgba(43, 11, 13, 0.08);
}
.trust-strip .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(1.5rem, 4vw, 3.25rem);
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: rgba(43, 11, 13, 0.55);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.trust-item svg { width: 20px; height: 20px; color: var(--red); opacity: 0.75; flex-shrink: 0; }

/* Greek labels run longer than English ones; tighten spacing so the row still fits on one line */
:lang(el) .trust-strip .container { gap: clamp(1rem, 2.8vw, 2.5rem); }
:lang(el) .trust-item { font-size: 0.82rem; gap: 0.5rem; }

/* ---- generic section ---------------------------------------------------- */
.section {
  position: relative;
  overflow-x: clip;
  padding-block: clamp(4rem, 7vw, 6.5rem);
}
.section[data-tone="dark"] {
  background: var(--red-dark);
  color: var(--cream);
}
.section-head {
  max-width: 62ch;
  margin-bottom: 3rem;
}
.section-head.center { margin-inline: auto; text-align: center; }

/* ---- feature / split content -------------------------------------------- */
.split {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 3rem;
  align-items: center;
}
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; gap: 4.5rem; }
  .split.reverse > :first-child { order: 2; }
}
.split-media {
  background: var(--surface);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: clamp(2rem, 4vw, 3rem);
}
.split-media img { max-width: min(380px, 100%); margin-inline: auto; }
.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.5rem;
}
.badge {
  background: rgba(181, 1, 36, 0.08);
  color: var(--red);
  border-radius: var(--radius-pill);
  padding: 0.45em 1.1em;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

/* ---- cards (services) --------------------------------------------------- */
.card-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
}
.card {
  background: var(--surface);
  border-radius: var(--radius-card);
  padding: 2.25rem 2rem;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.card .icon-badge {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-pill);
  background: rgba(181, 1, 36, 0.08);
  color: var(--red);
  margin-bottom: 0.4rem;
}
.card .icon-badge svg { width: 24px; height: 24px; }
.card h3 { margin-bottom: 0.1em; }
.card p { color: rgba(43, 11, 13, 0.7); margin-bottom: 0; }

/* ---- process steps ------------------------------------------------------ */
.steps-panel {
  position: relative;
  z-index: 1;
  background: var(--surface);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-lift);
  padding: clamp(2rem, 4vw, 3rem);
  color: var(--text);
}
.steps {
  counter-reset: step;
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.step { position: relative; padding-top: 0; }
.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--red);
  margin-bottom: 0.4rem;
}
.step:not(:last-child) {
  border-right: none;
}
@media (min-width: 700px) {
  .step:not(:last-child) { border-right: 1px solid rgba(43, 11, 13, 0.1); padding-right: 1.5rem; }
}

/* ---- FAQ accordion -------------------------------------------------- */
.faq-list {
  display: grid;
  gap: 1rem;
  max-width: 820px;
  margin-inline: auto;
}
.faq-item {
  background: var(--surface);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding-inline: 1.75rem;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.4rem 0;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.05rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item .icon-plus {
  flex-shrink: 0;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: rgba(181, 1, 36, 0.08);
  position: relative;
}
.faq-item .icon-plus::before,
.faq-item .icon-plus::after {
  content: "";
  position: absolute;
  background: var(--red);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}
.faq-item .icon-plus::before { width: 12px; height: 2px; }
.faq-item .icon-plus::after { width: 2px; height: 12px; transition: transform 0.2s ease; }
.faq-item[open] .icon-plus::after { transform: translate(-50%, -50%) scaleY(0); }
.faq-item .faq-answer {
  padding: 0 0 1.6rem;
  max-width: 68ch;
  color: rgba(43, 11, 13, 0.72);
}

/* ---- forms --------------------------------------------------------- */
.form-card {
  background: var(--surface);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-lift);
  padding: clamp(1.75rem, 4vw, 3rem);
}
.form-grid {
  display: grid;
  gap: 1.4rem;
  grid-template-columns: minmax(0, 1fr);
}
@media (min-width: 700px) {
  .form-grid { grid-template-columns: 1fr 1fr; }
  .form-grid .field-full { grid-column: 1 / -1; }
}
.field label {
  display: block;
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  margin-bottom: 0.5em;
  color: var(--red-dark);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  font: inherit;
  padding: 0.9em 1.1em;
  border: 1.5px solid rgba(43, 11, 13, 0.14);
  border-radius: var(--radius-input);
  background: #fff;
  color: var(--ink);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 4px rgba(181, 1, 36, 0.12);
}
.field textarea { resize: vertical; min-height: 130px; }
.field.required label::after { content: " *"; color: var(--red); }
.form-note { font-size: 0.85rem; color: rgba(43, 11, 13, 0.6); margin-top: 1rem; }

.form-status {
  border-radius: var(--radius-input);
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
  font-weight: 600;
  display: none;
}
.form-status.is-visible { display: block; }
.form-status.success { background: #e4efe1; color: #2c5a2c; border: 1px solid #b7d3b1; }
.form-status.error { background: #f7e1e1; color: var(--red-dark); border: 1px solid #e6b6b6; }

/* honeypot field, hidden from real users */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ---- footer --------------------------------------------------------- */
.site-footer {
  background: var(--red-dark);
  color: var(--cream);
  padding-block: 4.5rem 2.25rem;
}
.footer-grid {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: minmax(0, 1fr);
}
@media (min-width: 800px) {
  .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; }
}
.footer-grid img { width: 150px; height: auto; margin-bottom: 1rem; }
.footer-grid h4 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 1.1rem;
}
.footer-grid address { font-style: normal; line-height: 1.9; }
.footer-grid a { opacity: 0.85; }
.footer-grid a:hover { opacity: 1; text-decoration: underline; }
.footer-links li { margin-bottom: 0.65em; }

.social-row { display: flex; gap: 0.65rem; margin-top: 1.5rem; }
.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-pill);
  border: 1.5px solid rgba(247, 237, 218, 0.35);
  color: var(--cream);
  opacity: 1;
  text-decoration: none;
  transition: transform 0.15s ease, background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.social-link svg { width: 19px; height: 19px; }
.social-link:hover {
  background: var(--cream);
  color: var(--red-dark);
  border-color: var(--cream);
  opacity: 1;
  text-decoration: none;
  transform: translateY(-2px);
}
.footer-bottom {
  margin-top: 3.5rem;
  padding-top: 1.75rem;
  border-top: 1px dashed rgba(247, 237, 218, 0.25);
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
  font-size: 0.82rem;
  opacity: 0.8;
}

/* ---- misc ------------------------------------------------------------ */
.tagline-mark { max-width: 340px; margin-inline: auto; }
::selection { background: var(--red); color: var(--cream); }
