/*
Theme Name: Χειρουργική ΙΚΕ
Theme URI: https://cheirourgiki.gr
Author: Bithive IKE
Description: Εταιρικό θέμα για τη Χειρουργική ΙΚΕ. Παλέτα χειρουργικού ιματισμού, χωρίς φωτεινό accent χρώμα. Όλο το περιεχόμενο επεξεργάζεται από το wp-admin.
Version: 2.0.0
Requires at least: 6.4
Requires PHP: 8.1
License: Proprietary
Text Domain: cheirourgiki
*/

/* ============================================================
   1. Tokens
   ============================================================ */

:root {
  --ink: #14201e;
  --drape: #29564f;
  --drape-deep: #12302b;
  --drape-tint: #e4ece8;
  --paper: #f4f5f2;
  --bone: #d9d2c4;
  --chalk: #ffffff;
  --muted: #5e6b67;
  --rail: 72px;
  --shell: 1180px;

  --font-display: "Alegreya", "Literata", Georgia, serif;
  --font-sans: "IBM Plex Sans", "Source Sans 3", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;
}

/* ============================================================
   2. Base
   ============================================================ */

*,
*::before,
*::after {
  box-sizing: border-box;
  border-color: var(--bone);
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background-color: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

@media (min-width: 768px) {
  body {
    font-size: 17px;
  }
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 700;
  text-wrap: balance;
  margin: 0;
}

p {
  margin: 0;
}

ul,
ol,
dl,
dd {
  margin: 0;
  padding: 0;
}

ul,
ol {
  list-style: none;
}

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

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

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

input,
textarea {
  font: inherit;
  color: inherit;
}

table {
  font-variant-numeric: tabular-nums;
  border-collapse: collapse;
}

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

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

/* ============================================================
   3. Type scale
   ============================================================ */

.t-display {
  font-family: var(--font-display);
  font-size: 38px;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.t-h1 {
  font-size: 28px;
}
.t-h2 {
  font-size: 23px;
}
.t-h3 {
  font-size: 19px;
}

@media (min-width: 1024px) {
  .t-display {
    font-size: 64px;
  }
  .t-h1 {
    font-size: 40px;
  }
  .t-h2 {
    font-size: 30px;
  }
  .t-h3 {
    font-size: 22px;
  }
}

.mono-label {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 13.5px;
  line-height: 1.45;
  letter-spacing: 0.005em;
  text-transform: none;
  font-variant-numeric: tabular-nums;
}

.num-data {
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 14px;
  letter-spacing: 0;
  font-variant-numeric: tabular-nums;
}

.measure {
  max-width: 68ch;
}

.text-drape {
  color: var(--drape);
}
.text-muted {
  color: var(--muted);
}

/* ============================================================
   4. Shell / rail / header / footer
   ============================================================ */

.site {
  min-height: 100vh;
  background-color: var(--paper);
}

.skip-link {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}
.skip-link:focus {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 60;
  width: auto;
  height: auto;
  clip: auto;
  background: var(--chalk);
  padding: 8px 16px;
}

.rail {
  display: none;
}

@media (min-width: 1024px) {
  .rail {
    display: block;
    pointer-events: none;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 10;
    width: var(--rail);
    border-right: 1px solid var(--bone);
  }
  .rail__label {
    position: absolute;
    top: 50%;
    left: 50%;
    color: var(--muted);
    transform: translate(-50%, -50%) rotate(90deg);
    white-space: nowrap;
  }
}

.site-shell {
  padding-left: 0;
}

@media (min-width: 1024px) {
  .site-shell {
    padding-left: var(--rail);
  }
}

.container {
  margin-inline: auto;
  width: 100%;
  max-width: var(--shell);
  padding-inline: 24px;
}

@media (min-width: 1024px) {
  .container {
    padding-inline: 32px;
  }
}

.site-header {
  border-bottom: 1px solid var(--bone);
  background-color: var(--paper);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 20px;
}

.site-main {
  padding-bottom: 64px;
}

/* Logo wordmark */
.logo {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.logo__wordmark {
  display: block;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.16em;
  line-height: 1.2;
}
.logo--stacked {
  gap: 8px;
}
.logo--stacked .logo__wordmark {
  font-size: 15px;
}
.logo--mark .logo__wordmark {
  font-size: 13px;
}

.logo-desktop {
  display: none;
}
@media (min-width: 480px) {
  .logo-desktop {
    display: block;
  }
  .logo-mobile {
    display: none;
  }
}

/* Primary nav */
.primary-nav {
  display: none;
}

@media (min-width: 900px) {
  .primary-nav {
    display: block;
  }
}

.primary-nav__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  column-gap: 24px;
  row-gap: 8px;
}

.primary-nav__link {
  font-size: 15px;
  transition: color 150ms ease;
}
.primary-nav__link:hover {
  color: var(--drape);
}
.primary-nav__link[aria-current="page"],
.primary-nav__item.is-active > .primary-nav__link {
  color: var(--drape);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.nav-dropdown {
  position: relative;
}
.nav-dropdown__trigger {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  transition: color 150ms ease;
}
.nav-dropdown__trigger:hover {
  color: var(--drape);
}
.nav-dropdown.is-active > .nav-dropdown__trigger {
  color: var(--drape);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.nav-dropdown__chevron {
  transition: transform 200ms ease;
}
.nav-dropdown[data-open="true"] .nav-dropdown__chevron {
  transform: rotate(180deg);
}
.nav-dropdown__menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 40;
  min-width: 220px;
  padding-top: 8px;
  border: 1px solid var(--bone);
  background: var(--chalk);
  padding-block: 8px;
}
.nav-dropdown[data-open="true"] .nav-dropdown__menu {
  display: block;
}
.nav-dropdown__link {
  display: block;
  padding: 8px 16px;
  font-size: 15px;
  transition:
    background-color 150ms ease,
    color 150ms ease;
}
.nav-dropdown__link:hover {
  background-color: var(--drape-tint);
  color: var(--drape);
}

/* Hamburger */
.menu-toggle {
  position: relative;
  z-index: 60;
  display: flex;
  height: 44px;
  width: 44px;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  transition: color 150ms ease;
}
.menu-toggle:hover {
  color: var(--drape);
}
@media (min-width: 900px) {
  .menu-toggle {
    display: none;
  }
}
.menu-toggle.is-open {
  position: fixed;
  top: 20px;
  right: 24px;
}
.hamburger {
  position: relative;
  width: 22px;
  height: 16px;
}
.hamburger-bar {
  position: absolute;
  left: 0;
  height: 2px;
  width: 22px;
  background-color: currentColor;
  border-radius: 2px;
  transition:
    transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.2s ease;
  transform-origin: center;
}
.bar-top {
  top: 0;
}
.bar-mid {
  top: 7px;
}
.bar-bot {
  top: 14px;
}
.menu-toggle.is-open .bar-top {
  transform: translateY(7px) rotate(45deg);
}
.menu-toggle.is-open .bar-mid {
  opacity: 0;
}
.menu-toggle.is-open .bar-bot {
  transform: translateY(-7px) rotate(-45deg);
}

/* Overlay menu */
.menu-overlay[hidden] {
  display: none;
}
.menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: flex;
  flex-direction: column;
  background-color: var(--paper);
  animation: overlay-in 0.3s ease-out both;
}
@keyframes overlay-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.menu-overlay__head {
  display: flex;
  align-items: center;
  padding: 20px 24px;
}
.menu-overlay__nav {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 24px 64px;
}
.menu-overlay__nav a {
  padding-block: 8px;
  text-align: center;
  font-family: var(--font-display);
  font-size: 26px;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--ink);
  transition: color 150ms ease;
  animation: menu-link-in 0.4s ease-out both;
}
.menu-overlay__nav a:hover,
.menu-overlay__nav a[aria-current="page"] {
  color: var(--drape);
}
@keyframes menu-link-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Footer */
.site-footer {
  margin-top: 96px;
  background-color: var(--drape-deep);
  color: #edf1ef;
}
.site-footer .container {
  padding-inline: 24px;
}
@media (min-width: 1024px) {
  .site-footer .container {
    padding-left: 104px;
    padding-right: 32px;
  }
}
.site-footer__mark {
  height: 64px;
  width: 160px;
  color: rgba(237, 241, 239, 0.5);
}
.site-footer__grid {
  display: grid;
  gap: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-block: 48px;
}
@media (min-width: 640px) {
  .site-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 1024px) {
  .site-footer__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
.site-footer__heading {
  color: rgba(255, 255, 255, 0.6);
}
.site-footer__list {
  margin-top: 16px;
  display: grid;
  gap: 8px;
  font-size: 15px;
}
.site-footer__list a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.site-footer__legal {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-block: 32px;
}
.site-footer__statutory {
  color: rgba(255, 255, 255, 0.7);
}
.site-footer__disclaimer {
  margin-top: 16px;
  max-width: 68ch;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.7);
}

/* ============================================================
   5. Page furniture
   ============================================================ */

.page-header {
  padding-top: 64px;
}
@media (min-width: 1024px) {
  .page-header {
    padding-top: 112px;
  }
}
.page-header__title {
  margin-top: 20px;
  max-width: 16ch;
}
.page-header__intro {
  margin-top: 24px;
  color: var(--muted);
}

.section-rule {
  position: relative;
  margin-top: 64px;
  margin-bottom: 40px;
  border-top: 1px solid var(--bone);
}
.section-rule__label {
  position: absolute;
  top: -9px;
  left: 0;
  background-color: var(--paper);
  padding-right: 16px;
  color: var(--drape);
}

.section-title {
  margin-bottom: 32px;
}

.prose {
  max-width: 68ch;
  font-size: 17px;
  display: grid;
  gap: 20px;
}
.prose h2 {
  font-size: 19px;
  font-weight: 500;
}
@media (min-width: 1024px) {
  .prose h2 {
    font-size: 22px;
  }
}

.notice {
  max-width: 68ch;
  border: 1px solid rgba(41, 86, 79, 0.3);
  background-color: var(--drape-tint);
  padding: 24px;
  font-size: 15px;
}

.btn-solid {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 30px;
  padding: 14px 28px;
  background-color: var(--drape);
  color: var(--chalk);
  font-size: 15px;
  font-weight: 500;
  transition: background-color 150ms ease;
}
.btn-solid:hover {
  background-color: var(--drape-deep);
}

.link-quiet {
  font-size: 15px;
  color: var(--drape);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  transition: color 150ms ease;
}
.link-quiet:hover {
  color: var(--drape-deep);
}

/* Ruled list */
.ruled-list {
  border-top: 1px solid var(--bone);
}
.ruled-list__item {
  border-bottom: 1px solid var(--bone);
}
.ruled-list__row {
  display: flex;
  gap: 20px;
  padding-block: 24px;
  transition: background-color 150ms ease;
}
a.ruled-list__row:hover {
  background-color: var(--drape-tint);
}
.ruled-list__index {
  margin-top: 4px;
  width: 40px;
  flex-shrink: 0;
  color: var(--drape);
}
.ruled-list__text {
  min-width: 0;
  flex: 1;
}
.ruled-list__title {
  display: block;
  font-family: var(--font-display);
  font-weight: 500;
}
.ruled-list__body {
  display: block;
  max-width: 68ch;
  margin-top: 8px;
  font-size: 15px;
  color: var(--muted);
}
.ruled-list__arrow {
  align-self: center;
  flex-shrink: 0;
  color: var(--drape);
}

/* Definition list */
.def-list {
  border-top: 1px solid var(--bone);
}
.def-list__row {
  display: grid;
  gap: 4px;
  border-bottom: 1px solid var(--bone);
  padding-block: 16px;
}
@media (min-width: 640px) {
  .def-list__row {
    grid-template-columns: minmax(0, 22rem) minmax(0, 1fr);
    gap: 24px;
  }
}
.def-list__term {
  padding-top: 4px;
  color: var(--muted);
}
.def-list__value {
  font-size: 15px;
}

/* Photo slot placeholder */
.photo-slot__frame {
  display: flex;
  align-items: flex-end;
  border: 1px solid var(--bone);
  background-color: var(--drape-tint);
  padding: 16px;
}
.photo-slot__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.photo-slot__frame--filled {
  display: block;
  padding: 0;
  border: 1px solid var(--bone);
  overflow: hidden;
}
.photo-slot__hint {
  color: var(--drape);
}
.photo-slot__caption {
  margin-top: 12px;
  color: var(--muted);
}

/* Tables */
.data-table-wrap {
  display: none;
}
@media (min-width: 640px) {
  .data-table-wrap {
    display: block;
  }
}
.data-table {
  width: 100%;
  border: 1px solid var(--bone);
  background-color: var(--chalk);
  text-align: left;
  font-size: 15px;
}
.data-table thead {
  background-color: var(--drape-tint);
}
.data-table th[scope="col"] {
  border-bottom: 1px solid var(--bone);
  padding: 12px 16px;
  color: var(--drape);
  font-weight: 500;
  font-size: 13.5px;
  letter-spacing: 0.005em;
}
.data-table td,
.data-table tbody th {
  border-bottom: 1px solid var(--bone);
  padding: 16px;
  text-align: left;
  font-weight: 400;
}
.data-table tbody th {
  font-weight: 500;
}

.stacked-cards {
  display: grid;
  gap: 24px;
}
@media (min-width: 640px) {
  .stacked-cards {
    display: none;
  }
}
.stacked-card {
  border: 1px solid var(--bone);
  background-color: var(--chalk);
}
.stacked-card__head {
  border-bottom: 1px solid var(--bone);
  background-color: var(--drape-tint);
  padding: 12px 16px;
  font-weight: 500;
}
.stacked-card__row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--bone);
  padding: 12px 16px;
}
.stacked-card__row:last-child {
  border-bottom: 0;
}
.stacked-card__row dt {
  color: var(--muted);
}
.stacked-card__row dd {
  font-size: 15px;
}

.empty-state {
  border: 1px solid var(--bone);
  background-color: var(--chalk);
  padding: 24px 16px;
  font-size: 15px;
  color: var(--muted);
}

.footnote {
  max-width: 68ch;
  margin-top: 40px;
  font-size: 15px;
  color: var(--muted);
}

/* ============================================================
   6. Home hero
   ============================================================ */

.hero {
  display: grid;
  gap: 40px;
  padding-top: 64px;
}
@media (min-width: 1024px) {
  .hero {
    grid-template-columns: minmax(0, 1fr) 440px;
    align-items: center;
    padding-top: 112px;
  }
}
.hero__body {
  min-width: 0;
}
.hero__heading {
  margin-top: 24px;
  max-width: 20ch;
}
.hero__lead {
  margin-top: 32px;
  color: var(--muted);
}
.hero__actions {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 32px;
}
.hero__figure {
  justify-self: start;
}
@media (min-width: 1024px) {
  .hero__figure {
    justify-self: end;
  }
}

/* ============================================================
   7. Anatomy figure
   ============================================================ */

.anatomy {
  margin: 0;
  width: 320px;
}
@media (min-width: 1024px) {
  .anatomy {
    width: 440px;
  }
}
.anatomy--fluid {
  width: 100%;
}
.anatomy__box {
  position: relative;
  aspect-ratio: 1 / 1;
  width: 100%;
}
.anatomy__base {
  height: 100%;
  width: 100%;
  object-fit: contain;
  transition: opacity 200ms ease-out;
}
.anatomy__box.is-lit .anatomy__base {
  opacity: 0.45;
}
.anatomy__hotspot {
  position: absolute;
}
.anatomy__glow {
  pointer-events: none;
  position: absolute;
  inset: 0;
  opacity: 0;
  background-repeat: no-repeat;
  transition: opacity 200ms ease-out;
}
.anatomy__hotspot.is-on .anatomy__glow {
  opacity: 1;
}
.anatomy__button {
  position: absolute;
  inset: 0;
  background: transparent;
  transition: background-color 200ms ease;
}
.anatomy__hint {
  margin-top: 16px;
  color: var(--muted);
}

.conditions-grid {
  display: grid;
  gap: 48px;
}
@media (min-width: 1024px) {
  .conditions-grid {
    grid-template-columns: minmax(0, 1fr) 300px;
  }
}
.conditions-grid__list {
  order: 2;
}
.conditions-grid__figure {
  order: 1;
}
@media (min-width: 1024px) {
  .conditions-grid__list {
    order: 1;
  }
  .conditions-grid__figure {
    order: 2;
  }
  .conditions-grid__sticky {
    position: sticky;
    top: 64px;
  }
}
.condition {
  border-bottom: 1px solid var(--bone);
}
.condition:first-child {
  border-top: 1px solid var(--bone);
}
.condition__inner {
  padding-block: 28px;
  transition: background-color 150ms ease;
}
.condition__inner:hover,
.condition__inner:focus {
  background-color: var(--drape-tint);
}
.condition__segment {
  color: var(--drape);
}
.condition__title {
  margin-top: 8px;
  font-weight: 500;
}
.condition__body {
  max-width: 68ch;
  margin-top: 8px;
  font-size: 15px;
  color: var(--muted);
}

/* ============================================================
   8. Pie chart
   ============================================================ */

.pie {
  margin: 0;
  padding: 24px 16px;
}
@media (min-width: 640px) {
  .pie {
    padding-inline: 32px;
  }
}
.pie__grid {
  display: grid;
  align-items: center;
  gap: 24px;
}
@media (min-width: 768px) {
  .pie__grid {
    grid-template-columns: minmax(0, 1fr) 200px;
  }
}
.pie__svg {
  width: 100%;
  max-width: 420px;
  justify-self: center;
}
.pie__slice-top,
.pie__slice-wall,
.pie__slice-label {
  transition:
    transform 180ms ease,
    opacity 180ms ease;
}
.pie__slice-top {
  cursor: pointer;
}
.pie.is-hovering .pie__slice-top,
.pie.is-hovering .pie__slice-wall {
  opacity: 0.32;
}
.pie.is-hovering .pie__slice-label {
  opacity: 0.4;
}
.pie.is-hovering [data-slice].is-active .pie__slice-top,
.pie.is-hovering [data-slice].is-active .pie__slice-wall,
.pie.is-hovering [data-slice].is-active .pie__slice-label {
  opacity: 1;
}
.pie.is-hovering [data-slice].is-active .pie__slice-top,
.pie.is-hovering [data-slice].is-active .pie__slice-label {
  transform: translateY(-7px);
}
.pie.is-hovering [data-slice].is-active .pie__slice-top {
  filter: drop-shadow(0 4px 6px rgba(20, 32, 30, 0.18));
}
.pie__legend {
  display: grid;
  gap: 10px;
}
.pie__legend li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  opacity: 1;
  transition: opacity 180ms ease;
}
.pie.is-hovering .pie__legend li {
  opacity: 0.4;
}
.pie.is-hovering .pie__legend li.is-active {
  opacity: 1;
}
.pie__swatch {
  margin-top: 5px;
  height: 12px;
  width: 12px;
  flex-shrink: 0;
  border-radius: 2px;
}
.pie__legend-text {
  font-size: 14px;
  line-height: 1.4;
}
.pie__legend-pct {
  margin-left: 8px;
  color: var(--muted);
}
.pie__caption {
  margin-top: 20px;
  color: var(--muted);
}

/* ============================================================
   9. Partner marquee
   ============================================================ */

.marquee {
  overflow: hidden;
  background: transparent;
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 45s linear infinite;
}
.marquee:hover .marquee-track,
.marquee:focus-within .marquee-track {
  animation-play-state: paused;
}
@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}
.marquee ul {
  display: flex;
  flex-shrink: 0;
}
.marquee li {
  display: flex;
  height: 72px;
  flex-shrink: 0;
  align-items: center;
  padding-inline: 32px;
}
.marquee img {
  max-height: 48px;
  width: auto;
  object-fit: contain;
  opacity: 0.7;
  transition: opacity 150ms ease;
}
.marquee img:hover {
  opacity: 1;
}
.marquee__fallback {
  padding-inline: 16px;
  text-align: center;
  color: var(--muted);
}

/* ============================================================
   10. Two-column blocks
   ============================================================ */

.split {
  display: grid;
  gap: 48px;
}
@media (min-width: 1024px) {
  .split--portrait {
    grid-template-columns: 300px minmax(0, 1fr);
  }
}
.split--halves {
  gap: 56px;
}
@media (min-width: 1024px) {
  .split--halves {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.pair {
  display: grid;
  gap: 32px;
}
@media (min-width: 640px) {
  .pair {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.portrait-name {
  margin-top: 16px;
  color: var(--muted);
}

/* ============================================================
   11. Contact
   ============================================================ */

.contact-list {
  display: grid;
  gap: 16px;
  border-top: 1px solid var(--bone);
  padding-top: 24px;
  font-size: 15px;
}
.contact-list li {
  display: flex;
  gap: 12px;
}
.contact-list svg {
  margin-top: 4px;
  flex-shrink: 0;
  color: var(--drape);
}
.contact-map {
  margin: 40px 0 0;
}

.contact-form {
  border-top: 1px solid var(--bone);
  padding-top: 24px;
}
.contact-form__stack {
  display: grid;
  gap: 24px;
}
.field__label {
  display: block;
  color: var(--muted);
}
.field__input {
  margin-top: 8px;
  width: 100%;
  border: 1px solid var(--bone);
  background-color: var(--chalk);
  padding: 8px 12px;
  font-size: 15px;
  outline: none;
  border-radius: 2px;
}
.field__input:focus {
  border-color: var(--drape);
}
.field__error {
  margin-top: 8px;
  font-size: 14px;
  color: var(--drape);
}
.field__consent {
  display: flex;
  gap: 12px;
  font-size: 14px;
}
.field__consent input {
  margin-top: 4px;
  height: 16px;
  width: 16px;
  flex-shrink: 0;
  accent-color: #29564f;
}
.form-note {
  font-size: 14px;
  color: var(--muted);
}
.form-success {
  border: 1px solid var(--bone);
  background-color: var(--chalk);
  padding: 32px;
}
.form-success__eyebrow {
  color: var(--drape);
}
.form-success__title {
  margin-top: 12px;
  font-weight: 500;
}
.form-success__body {
  margin-top: 12px;
  font-size: 15px;
  color: var(--muted);
}

/* ============================================================
   12. Motion
   ============================================================ */

/* Η απόκρυψη ισχύει μόνο όταν εκτελείται JavaScript. Χωρίς αυτό, το περιεχόμενο
   παραμένει ορατό — δεν εξαρτάται καμία πληροφορία από την κίνηση. */
.js .reveal {
  opacity: 0;
  transform: translateY(12px);
}
.js .reveal.is-visible {
  opacity: 1;
  transform: none;
  transition:
    opacity 400ms ease-out,
    transform 400ms ease-out;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .js .reveal,
  .js .reveal.is-visible {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .marquee {
    overflow-x: auto;
  }
  .marquee-track {
    animation: none;
  }
  .menu-overlay,
  .menu-overlay__nav a {
    animation: none;
    opacity: 1;
  }
  .hamburger-bar {
    transition: none;
  }
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

/* ============================================================
   13. Editor / WP core block fallbacks
   ============================================================ */

.wp-block-image img {
  height: auto;
}
.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

/* ============================================================
   14. Contact Form 7
   Το CF7 προσθέτει δικά του wrappers· εδώ ευθυγραμμίζονται με
   το σχεδιαστικό σύστημα του θέματος.
   ============================================================ */

.wpcf7 form .wpcf7-response-output {
  margin: 24px 0 0;
  padding: 16px;
  border: 1px solid var(--bone);
  background-color: var(--chalk);
  font-size: 15px;
}

.wpcf7 form.sent .wpcf7-response-output {
  border-color: rgba(41, 86, 79, 0.4);
  background-color: var(--drape-tint);
  color: var(--drape-deep);
}

.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.failed .wpcf7-response-output,
.wpcf7 form.aborted .wpcf7-response-output {
  border-color: var(--drape);
  background-color: var(--chalk);
  color: var(--ink);
}

/* Το CF7 τυλίγει κάθε πεδίο σε <span class="wpcf7-form-control-wrap"> */
.wpcf7-form-control-wrap {
  display: block;
}

.wpcf7 .field__input {
  display: block;
}

.wpcf7-not-valid-tip {
  margin-top: 8px;
  font-size: 14px;
  color: var(--drape);
}

.wpcf7 .field__input.wpcf7-not-valid {
  border-color: var(--drape);
}

/* Πλαίσιο συναίνεσης */
.field--consent .wpcf7-acceptance .wpcf7-list-item {
  margin: 0;
}

.field--consent .wpcf7-list-item-label,
.field--consent label {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 14px;
  line-height: 1.5;
}

.field--consent input[type="checkbox"] {
  margin-top: 4px;
  height: 16px;
  width: 16px;
  flex-shrink: 0;
  accent-color: #29564f;
}

/* Κουμπί αποστολής + δείκτης φόρτωσης */
.wpcf7 .btn-solid {
  border: 0;
  cursor: pointer;
  font-family: var(--font-sans);
}

.wpcf7 .btn-solid:disabled {
  opacity: 0.6;
  cursor: default;
}

.wpcf7-spinner {
  margin: 0 0 0 12px;
  background-color: var(--drape);
}

/* Το CF7 κρύβει το honeypot· επιβεβαιώνουμε ότι δεν καταλαμβάνει χώρο. */
.wpcf7 input[name="website-url"],
.cf7-honeypot-container {
  position: absolute !important;
  left: -9999px !important;
  height: 0 !important;
  width: 0 !important;
  overflow: hidden !important;
}
