* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  color: #25180f;
  background: #f6ede3;
}

.homepage,
.business-page {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.site-header {
  display: flex;
  flex: 0 0 72px;
  align-items: center;
  width: 100%;
  height: 72px;
  overflow-x: auto;
  overflow-y: hidden;
  background: #fffaf4;
  border-bottom: 1px solid #ead8c5;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 38px;
  width: max-content;
  margin: 0 auto;
  padding: 0 24px;
  white-space: nowrap;
}

.site-nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  height: 40px;
  color: #25180f;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
}

a.site-nav-link:hover,
a.site-nav-link:focus-visible {
  color: #c7470c;
}

a.site-nav-link:focus-visible {
  outline: 2px solid #c7470c;
  outline-offset: 4px;
}

.site-nav-link.is-active {
  color: #c7470c;
}

.site-nav-link.is-active::after {
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  height: 2px;
  background: #c7470c;
  content: "";
}

.homepage-visual {
  position: relative;
  width: min(100%, 1448px);
}

.homepage-visual img {
  display: block;
  width: 100%;
  height: auto;
}

.mobile-flyer-hotspot { display: none; }

.hotspot {
  position: absolute;
  display: block;
  background: transparent;
}

.hotspot:focus-visible {
  outline: 3px solid #c7470c;
  outline-offset: 2px;
}

.hotspot-business-top {
  left: 77.8%;
  top: 3.8%;
  width: 16.7%;
  height: 7%;
}

.hotspot-business-lower {
  left: 49.7%;
  top: 78.5%;
  width: 34%;
  height: 6%;
}

.hotspot-email {
  left: 17.4%;
  top: 88.6%;
  width: 20.3%;
  height: 5.1%;
}

.business-visual {
  position: relative;
  width: min(100%, 1122px);
}

.business-visual img {
  display: block;
  width: 100%;
  height: auto;
}

.business-hotspot-email {
  left: 48.7%;
  top: 90.5%;
  width: 21.1%;
  height: 3.7%;
}

.flyer-page main {
  width: 100%;
}

.flyer-visual {
  position: relative;
  margin-inline: auto;
}

.flyer-visual img {
  display: block;
  width: 100%;
  height: auto;
}

.legal-visual { width: min(100%, 935px); }
.contact-visual { width: min(100%, 1122px); }
.contact-hotspot-email { left: 20.2%; top: 44.1%; width: 61.2%; height: 4.8%; }

.embedded-nav-mask {
  position: absolute;
  z-index: 1;
  display: block;
  background: #fffaf4;
}

.homepage-nav-mask { left: 34%; top: 2.7%; width: 42%; height: 7%; background: #f7eee4; }
.business-nav-mask { left: 31%; top: 1.1%; width: 51%; height: 5%; background: #faf6f0; }
.legal-nav-mask { left: 49%; top: 0.6%; width: 48%; height: 3%; background: #fdfbf8; }
.contact-nav-mask { left: 43%; top: 2.2%; width: 55%; height: 5.5%; background: #fdf7eb; }

.terms-addendum,
.contact-section {
  width: min(calc(100% - 32px), 780px);
  margin: 32px auto;
  padding: clamp(24px, 5vw, 48px);
  background: #fffaf4;
  border: 1px solid #dfc5aa;
  border-radius: 14px;
  box-shadow: 0 8px 24px rgb(74 39 17 / 8%);
}

.terms-addendum h1,
.contact-section h1 {
  margin: 0 0 24px;
  color: #315d27;
  font-size: clamp(1.45rem, 4vw, 2rem);
  line-height: 1.2;
}

.terms-addendum p { margin: 0 0 1em; font-size: 1.05rem; line-height: 1.7; }
.terms-addendum p:last-child { margin-bottom: 0; }
#contact-form { display: grid; gap: 10px; }
#contact-form label { margin-top: 8px; font-weight: 700; }
#contact-form input,
#contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  font: inherit;
  color: #25180f;
  background: #fff;
  border: 1px solid #c9ab8e;
  border-radius: 8px;
}
#contact-form textarea { resize: vertical; }
#contact-form input:focus,
#contact-form textarea:focus { outline: 3px solid rgb(199 71 12 / 25%); border-color: #c7470c; }
#contact-form button {
  justify-self: start;
  margin-top: 14px;
  padding: 12px 28px;
  font: inherit;
  font-weight: 700;
  color: #fff;
  background: #315d27;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
}
#contact-form button:hover,
#contact-form button:focus-visible { background: #c7470c; }
.contact-note { margin: 18px 0 0; color: #684a35; font-size: 0.92rem; }

@media (max-width: 600px) {
  .terms-addendum {
    display: none;
  }

  .legal-nav-mask,
  .contact-nav-mask {
    display: none;
  }

  .homepage-visual {
    margin-top: 14px;
  }

  main:has(> .legal-visual[aria-label="Πολιτική Απορρήτου CoffeeMap"]) {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: calc(100svh - 58px);
  }

  .legal-visual[aria-label="Πολιτική Απορρήτου CoffeeMap"] {
    flex-shrink: 0;
  }

  .homepage-visual .homepage-nav-mask,
  .business-visual .business-nav-mask { display: none; }

  .homepage-visual .hotspot-business-top {
    left: 60.3%;
    top: 3.64%;
    width: 30.56%;
    height: 3.53%;
    border-radius: 7% / 26%;
  }

  .homepage-visual .hotspot-business-lower {
    left: 8.56%;
    top: 76.83%;
    width: 82.88%;
    height: 3.69%;
    border-radius: 2.6% / 26%;
  }

  .mobile-flyer-hotspot { display: block; }

  .mobile-homepage-email {
    display: none;
  }

  .mobile-business-signup {
    left: 54.8%;
    top: 70.9%;
    width: 30.9%;
    height: 5.5%;
  }

  .mobile-business-email {
    left: 42%;
    top: 94.2%;
    width: 22%;
    height: 2.7%;
  }

  .site-header {
    flex-basis: 58px;
    height: 58px;
    overflow-x: hidden;
  }

  .site-nav {
    gap: 6px;
    justify-content: center;
    width: 100%;
    margin: 0;
    padding-inline: 6px;
  }

  .site-nav-link {
    height: 36px;
    font-size: 11px;
  }

  .terms-addendum,
  .contact-section { margin-block: 20px; }

  .terms-addendum { padding: 12px; }

  .terms-addendum h1 {
    margin-bottom: 8px;
    font-size: 16px;
    line-height: 1.15;
  }

  .terms-addendum p {
    margin-bottom: 0.4em;
    font-size: 11px;
    line-height: 1.35;
  }
}

/* Reuse only the bottom 61px of the Privacy artwork for the Terms footer. */
.terms-desktop-footer { display: none; }

@media (min-width: 601px) {
  .terms-desktop-footer {
    display: block;
    width: min(100%, 935px);
    aspect-ratio: 935 / 61;
    margin-inline: auto;
    background: url("CoffeeMap_Privacy_LOCKED_Deskto.png") center bottom / 100% auto no-repeat;
  }
}

