/* Site-specific additions on top of the exported theme styles. */

/* Contact button (where the WhatsApp button used to be; same size and place).
   Opens the contact form built by assets/js/contact.js. */
.suufle-contact {
  position: fixed;
  left: 25px;
  bottom: 25px;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #380d50; /* theme primary */
  color: #fff;
  box-shadow: 0 4px 14px rgba(16, 42, 67, 0.2);
  transition: transform 0.2s ease;
}
.suufle-contact:hover,
.suufle-contact:focus-visible {
  transform: scale(1.08);
  color: #ffc700; /* theme accent */
}
.suufle-contact:focus-visible {
  outline: 2px solid #ffc700;
  outline-offset: 3px;
}
.suufle-contact svg {
  display: block;
  width: 22px;
  height: 22px;
}
.uicore-mobile-nav-show .suufle-contact {
  display: none;
}

/* Keep the contact button from covering the last footer line on phones */
@media (max-width: 767px) {
  #uicore-tb-footer {
    padding-bottom: 80px;
    background-color: #020f33; /* same as the footer sections */
  }
}

/* Contact form dialog */
.suufle-contact-open {
  overflow: hidden;
}
.suufle-contact-form {
  box-sizing: border-box;
  width: min(480px, calc(100vw - 32px));
  max-height: calc(100dvh - 32px);
  margin: auto;
  padding: 0;
  overflow: auto;
  border: 0;
  border-radius: 16px;
  background: #fff;
  color: #1b1424;
  box-shadow: 0 24px 60px rgba(16, 42, 67, 0.3);
  font-size: 16px;
  line-height: 1.5;
}
.suufle-contact-form::backdrop {
  background: rgba(2, 15, 51, 0.55);
}
.suufle-contact-form *,
.suufle-contact-form *::before,
.suufle-contact-form *::after {
  box-sizing: border-box;
}
.suufle-contact-form__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px 0;
}
.suufle-contact-form__head h2 {
  margin: 0;
  font-size: 22px;
  line-height: 1.3;
  color: #380d50;
}
.suufle-contact-form__close {
  flex: none;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #f3ecf8;
  color: #380d50;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}
.suufle-contact-form__close:hover,
.suufle-contact-form__close:focus-visible {
  background: #e6d8ef;
}
.suufle-contact-form__body {
  display: grid;
  gap: 14px;
  padding: 12px 24px 24px;
}
.suufle-contact-form__intro,
.suufle-contact-form__privacy,
.suufle-contact-form__status,
.suufle-contact-form__done p {
  margin: 0;
}
.suufle-contact-form__intro {
  color: #4a4356;
}
.suufle-contact-form__field {
  display: grid;
  gap: 4px;
}
.suufle-contact-form__field label {
  font-size: 14px;
  font-weight: 600;
  color: #1b1424;
}
.suufle-contact-form__field input,
.suufle-contact-form__field select,
.suufle-contact-form__field textarea {
  width: 100%;
  margin: 0;
  padding: 10px 12px;
  border: 1px solid #d9d0e2;
  border-radius: 10px;
  background: #fff;
  color: #1b1424;
  font: inherit;
  font-size: 16px; /* 16px keeps iOS from zooming in on focus */
}
.suufle-contact-form__field textarea {
  min-height: 120px;
  resize: vertical;
}
.suufle-contact-form__field input:focus,
.suufle-contact-form__field select:focus,
.suufle-contact-form__field textarea:focus {
  outline: 2px solid #380d50;
  outline-offset: 0;
  border-color: #380d50;
}
.suufle-contact-form__hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.suufle-contact-form__check:empty {
  display: none;
}
.suufle-contact-form__status {
  font-size: 14px;
  color: #b3261e;
}
.suufle-contact-form__status:empty {
  display: none;
}
.suufle-contact-form__actions {
  display: flex;
  justify-content: flex-end;
}
.suufle-contact-form__send {
  padding: 12px 22px;
  border: 0;
  border-radius: 999px;
  background: #380d50;
  color: #fff;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}
.suufle-contact-form__send:hover,
.suufle-contact-form__send:focus-visible {
  background: #4d1870;
}
.suufle-contact-form__send:disabled {
  opacity: 0.6;
  cursor: default;
}
.suufle-contact-form__privacy {
  font-size: 13px;
  color: #6b6475;
}
.suufle-contact-form__privacy a {
  color: #380d50;
  text-decoration: underline;
}
.suufle-contact-form__done {
  padding: 8px 0 4px;
  outline: none;
}
.suufle-contact-form__done h3 {
  margin: 0 0 6px;
  font-size: 18px;
  color: #380d50;
}

/* The same form, in the Contact page (/contact/, /tr/iletisim/) */
.suufle-contact-page {
  max-width: 560px;
  margin-top: 28px;
}
.suufle-contact-form--inline {
  padding: 24px;
  border: 1px solid #e6d8ef;
  border-radius: 16px;
  background: #fff;
  color: #1b1424;
  font-size: 16px;
  line-height: 1.5;
}
.suufle-contact-form--inline *,
.suufle-contact-form--inline *::before,
.suufle-contact-form--inline *::after {
  box-sizing: border-box;
}
@media (max-width: 767px) {
  .suufle-contact-form--inline {
    padding: 18px 16px;
  }
}

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

/* Space between a post card's reading time and its unit ("3 min"). The theme's
   own rule targets .ui-e-meta-item-after, but the markup uses .ui-e-meta-after. */
.ui-e-meta-after {
  margin-left: 0.3em;
}

/* "Practitioners" globe on the home page: dot globe drawn by
   assets/js/suufle-map.js beside the list of countries. */
.suufle-map {
  --map-sea-dot: #e6d8ef;
  --map-lit-dot: #380d50; /* theme primary */
  --map-lit-dot-2: #7b3fa0; /* lighter tones keep touching countries apart */
  --map-lit-dot-3: #a86bd0;
  --map-active-dot: #ffc700; /* theme accent */
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 24px 48px;
  max-width: 900px;
  margin: 0 auto;
}
.suufle-map__globe {
  display: block;
  width: 100%;
  max-width: 300px;
  aspect-ratio: 1;
}
.suufle-map__countries {
  display: flex;
  flex: 1 1 320px;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  max-width: 440px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.suufle-map__countries li {
  margin: 0;
  padding: 6px 16px;
  border: 1px solid var(--map-sea-dot);
  border-radius: 999px;
  color: var(--uicore-headline-color, #102a43);
  font-size: 0.95rem;
  line-height: 1.4;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}
.suufle-map__countries li.is-active {
  background-color: var(--map-active-dot);
  border-color: var(--map-active-dot);
}

/* "In numbers" panel on the home page, in the theme's colours and fonts
   (it replaces a screenshot of a pitch slide). */
.suufle-stats {
  padding: clamp(28px, 5vw, 56px);
  border-radius: 24px;
  background-color: var(--uicore-primary-color, #380d50);
  text-align: left;
}
.suufle-stats__eyebrow {
  margin: 0 0 12px;
  color: var(--uicore-accent-color, #ffc700);
  font-family: var(--uicore-secondary-font-family, "Poppins"), sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.12em;
  line-height: 1.4;
  text-transform: uppercase;
}
.suufle-stats__title {
  margin: 0 0 clamp(24px, 4vw, 40px);
  color: #fff;
  font-family: var(--uicore-primary-font-family, "Poppins"), sans-serif;
  font-size: clamp(26px, 3.4vw, 40px);
  font-weight: 700;
  letter-spacing: -0.027em;
  line-height: 1.2;
}
.suufle-stats__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.suufle-stats__grid li {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0;
  padding: clamp(18px, 2.4vw, 28px);
  border-radius: 16px;
  background-color: rgba(255, 255, 255, 0.07);
}
.suufle-stats__number {
  color: var(--uicore-accent-color, #ffc700);
  font-family: var(--uicore-primary-font-family, "Poppins"), sans-serif;
  font-size: clamp(30px, 3.6vw, 48px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.suufle-stats__label {
  color: rgba(255, 255, 255, 0.85);
  font-size: 16px;
  line-height: 1.4;
}
@media (max-width: 767px) {
  .suufle-stats {
    border-radius: 20px;
  }
  .suufle-stats__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .suufle-stats__label {
    font-size: 14px;
  }
}
