html { scroll-behavior: smooth; }
body { min-width: 320px; }
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-in { opacity: 1; transform: translateY(0); }
#progress { transform-origin: left; transform: scaleX(0); }
@media (min-width: 768px) and (max-width: 1023px) {
#siteHeader .header-book-link {
    width: 40px;
    height: 40px;
    justify-content: center;
    gap: 0;
    padding: 0;
  }
  #siteHeader .header-book-text {
    display: none;
  }
}

.site-language-select {
  position: relative;
  z-index: 52;
}
.site-language-select summary {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 40px;
  max-width: 150px;
  border: 1px solid rgba(148, 163, 184, .34);
  border-radius: 999px;
  background: rgba(255, 255, 255, .72);
  padding: 0 12px;
  color: #0f172a;
  cursor: pointer;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  list-style: none;
  white-space: nowrap;
  transition: border-color .18s ease, background .18s ease, color .18s ease;
}
.site-language-select summary:hover,
.site-language-select summary:focus-visible,
.site-language-select[open] summary {
  border-color: var(--theme-accent, #b88a3c);
  background: #fff;
  outline: none;
}
.site-language-select summary::-webkit-details-marker {
  display: none;
}
.site-language-select summary span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}
.site-language-select summary i:first-child {
  color: var(--theme-accent, #b88a3c);
}
.site-language-select summary i:last-child {
  font-size: 10px;
  transition: transform .18s ease;
}
.site-language-select[open] summary i:last-child {
  transform: rotate(180deg);
}
.site-language-select__menu {
  position: absolute;
  top: calc(100% + 9px);
  right: 0;
  display: grid;
  gap: 4px;
  min-width: 172px;
  border: 1px solid rgba(148, 163, 184, .28);
  border-radius: 14px;
  background: #fff;
  padding: 7px;
  box-shadow: 0 18px 42px rgba(15, 23, 42, .18);
}
.site-language-select__menu a {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 38px;
  border-radius: 10px;
  padding: 0 9px;
  color: #475569;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
}
.site-language-select__menu a strong {
  display: inline-flex;
  min-width: 36px;
  color: #0f172a;
  font-size: 11px;
  font-weight: 900;
}
.site-language-select__menu a span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.site-language-select__menu a:hover,
.site-language-select__menu a:focus-visible,
.site-language-select__menu a.is-active {
  background: var(--theme-accent, #b88a3c);
  color: #fff;
  outline: none;
}
.site-language-select__menu a:hover strong,
.site-language-select__menu a:focus-visible strong,
.site-language-select__menu a.is-active strong {
  color: #fff;
}
.site-language-select.is-mobile {
  width: 100%;
}
.site-language-select.is-mobile summary {
  width: 100%;
  max-width: none;
  justify-content: space-between;
}
.site-language-select.is-mobile .site-language-select__menu {
  position: static;
  margin-top: 8px;
  box-shadow: none;
}

.certificate-preview-open {
  overflow: hidden;
}
.certificate-lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: clamp(14px, 4vw, 42px);
}
.certificate-lightbox.is-open {
  display: flex;
}
.certificate-lightbox__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(2, 6, 23, .82);
  cursor: zoom-out;
}
.certificate-lightbox__panel {
  position: relative;
  z-index: 1;
  width: min(100%, 1280px);
  max-height: min(88vh, 860px);
  display: grid;
  place-items: center;
}
.certificate-lightbox__panel img {
  display: block;
  width: 100%;
  max-height: 88vh;
  object-fit: contain;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 24px 90px rgba(0, 0, 0, .35);
}
.certificate-lightbox__close {
  position: absolute;
  top: -16px;
  right: -16px;
  z-index: 2;
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(255,255,255,.36);
  border-radius: 999px;
  background: #fff;
  color: #0f172a;
  cursor: pointer;
  box-shadow: 0 12px 34px rgba(0,0,0,.22);
}
.certificate-lightbox__close:hover {
  color: var(--theme-accent);
}
.media-gallery-section {
  position: relative;
}
.media-block-caption {
  margin-bottom: 18px;
  color: #0f172a;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: .04em;
  text-align: center;
  text-transform: uppercase;
}
.media-video-block,
.media-photo-block {
  margin-top: 30px;
}
.media-video-frame {
  overflow: hidden;
  border-radius: 8px;
  background: #000;
  box-shadow: 0 18px 48px rgba(2, 6, 23, .16);
}
.media-video-frame iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
}
.media-video-title {
  margin: 16px auto 0;
  max-width: 820px;
  color: #0f172a;
  font-size: clamp(20px, 3vw, 34px);
  font-weight: 900;
  line-height: 1.15;
  text-align: center;
}
.media-video-thumbs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}
.media-video-thumbs button {
  display: grid;
  gap: 7px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  padding: 0;
  color: #0f172a;
  cursor: pointer;
  text-align: left;
}
.media-video-thumbs img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 3px solid transparent;
  border-radius: 6px;
  object-fit: cover;
}
.media-video-thumbs span {
  display: -webkit-box;
  overflow: hidden;
  color: #334155;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.25;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.media-video-thumbs button.is-active img,
.media-video-thumbs button:hover img {
  border-color: var(--theme-accent);
}
.media-photo-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.media-photo-card {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border: 0;
  border-radius: 10px;
  background: #e2e8f0;
  cursor: zoom-in;
  padding: 0;
}
.media-photo-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .25s ease;
}
.media-photo-card:hover img {
  transform: scale(1.04);
}
.media-photo-card span {
  position: absolute;
  inset: auto 0 0;
  padding: 22px 10px 9px;
  background: linear-gradient(180deg, transparent, rgba(2,6,23,.76));
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  text-align: left;
}
.media-empty {
  display: grid;
  min-height: 150px;
  place-items: center;
  border: 1px dashed #cbd5e1;
  border-radius: 10px;
  background: #f8fafc;
  color: #64748b;
  text-align: center;
}
.media-photo-preview-open {
  overflow: hidden;
}
.media-photo-lightbox {
  position: fixed;
  inset: 0;
  z-index: 101;
  display: none;
  align-items: center;
  justify-content: center;
  padding: clamp(14px, 4vw, 42px);
}
.media-photo-lightbox.is-open {
  display: flex;
}
.media-photo-lightbox__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(2, 6, 23, .84);
  cursor: zoom-out;
}
.media-photo-lightbox__panel {
  position: relative;
  z-index: 1;
  width: min(100%, 1280px);
  max-height: 88vh;
  display: grid;
  place-items: center;
}
.media-photo-lightbox__panel img {
  display: block;
  width: 100%;
  max-height: 84vh;
  object-fit: contain;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 24px 90px rgba(0, 0, 0, .35);
}
.media-photo-lightbox__caption {
  min-height: 22px;
  margin-top: 10px;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
}
.media-photo-lightbox__close,
.media-photo-lightbox__nav {
  position: absolute;
  z-index: 2;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.36);
  border-radius: 999px;
  background: #fff;
  color: #0f172a;
  cursor: pointer;
  box-shadow: 0 12px 34px rgba(0,0,0,.22);
}
.media-photo-lightbox__close {
  top: -16px;
  right: -16px;
  width: 42px;
  height: 42px;
}
.media-photo-lightbox__nav {
  top: 50%;
  width: 46px;
  height: 46px;
  transform: translateY(-50%);
}
.media-photo-lightbox__nav.is-prev {
  left: -18px;
}
.media-photo-lightbox__nav.is-next {
  right: -18px;
}
@media (max-width: 900px) {
.media-video-thumbs,
  .media-photo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
.media-video-thumbs,
  .media-photo-grid {
    grid-template-columns: 1fr;
  }
  .media-photo-lightbox__nav.is-prev {
    left: 8px;
  }
  .media-photo-lightbox__nav.is-next {
    right: 8px;
  }
  .media-photo-lightbox__close {
    top: 8px;
    right: 8px;
  }
}

.site-editor-toolbar {
  position: fixed;
  left: 50%;
  bottom: 18px;
  z-index: 90;
  display: flex;
  align-items: center;
  gap: 10px;
  width: min(720px, calc(100% - 24px));
  transform: translateX(-50%);
  border: 1px solid rgba(15, 23, 42, .12);
  border-radius: 8px;
  background: rgba(255, 255, 255, .94);
  padding: 10px;
  box-shadow: 0 18px 50px rgba(15, 23, 42, .18);
  backdrop-filter: blur(12px);
  color: #0f172a;
}
.site-editor-toolbar > div { flex: 1; min-width: 0; }
.site-editor-toolbar strong,
.site-editor-toolbar span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.site-editor-toolbar span { color: #64748b; font-size: 12px; }
.site-editor-language {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border-radius: 8px;
  background: #f1f5f9;
  padding: 4px;
}
.site-editor-language a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  border-radius: 7px;
  padding: 6px 9px;
  color: #334155;
  font-size: 12px;
  font-weight: 800;
}
.site-editor-language a.is-active {
  background: #0f172a;
  color: #fff;
}
.site-editor-toggle,
.site-editor-link,
.site-editor-primary,
.site-editor-secondary,
.site-editor-close,
.site-edit-button {
  border: 0;
  cursor: pointer;
  font: inherit;
}
.site-editor-toggle,
.site-editor-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 8px;
  padding: 10px 12px;
  font-weight: 700;
}
.site-editor-toggle { background: #0f172a; color: #fff; }
.site-editor-link { background: #f1f5f9; color: #0f172a; }
.site-edit-section { position: relative; }
.site-edit-button {
  position: absolute;
  right: 18px;
  top: 18px;
  z-index: 45;
  display: none;
  height: 42px;
  width: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--theme-accent);
  color: #fff;
  box-shadow: 0 12px 32px rgba(15, 23, 42, .22);
}
body.site-editing .site-edit-button { display: inline-flex; }
body.site-editing .site-edit-section { outline: 2px dashed rgba(197, 160, 89, .65); outline-offset: -2px; }
.site-editor-modal { display: none; position: fixed; inset: 0; z-index: 100; }
.site-editor-modal.is-open { display: block; }
.site-editor-backdrop { position: absolute; inset: 0; background: rgba(15, 23, 42, .62); }
.site-editor-panel {
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  width: min(620px, 100%);
  overflow-y: auto;
  background: #fff;
  color: #0f172a;
  box-shadow: -24px 0 60px rgba(15, 23, 42, .24);
}
.site-editor-panel header,
.site-editor-panel footer {
  position: sticky;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: #fff;
  padding: 18px;
}
.site-editor-panel header { top: 0; border-bottom: 1px solid #e2e8f0; }
.site-editor-panel footer { bottom: 0; border-top: 1px solid #e2e8f0; }
.site-editor-panel h2 { margin: 0; font-size: 20px; font-weight: 800; }
.site-editor-panel p { margin: 4px 0 0; color: #64748b; font-size: 13px; }
.site-editor-close {
  display: grid;
  height: 40px;
  width: 40px;
  place-items: center;
  border-radius: 8px;
  background: #f1f5f9;
}
.site-editor-form { padding: 18px; }
.site-editor-field { display: grid; gap: 8px; margin-bottom: 16px; font-weight: 700; }
.site-editor-field input,
.site-editor-field textarea,
.site-editor-field select {
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 11px 12px;
  font: inherit;
  font-weight: 400;
  outline: none;
}
.site-editor-field textarea { min-height: 130px; resize: vertical; }
.site-editor-field textarea.is-code { min-height: 220px; font-family: Consolas, Monaco, monospace; font-size: 13px; }
.site-editor-check { display: flex; align-items: center; gap: 8px; font-weight: 400; }
.site-editor-check input { width: auto; }
.site-editor-primary,
.site-editor-secondary {
  border-radius: 8px;
  padding: 11px 14px;
  font-weight: 800;
}
.site-editor-primary { background: var(--theme-accent); color: #fff; }
.site-editor-secondary { background: #f1f5f9; color: #0f172a; }
.site-editor-toast {
  position: fixed;
  left: 16px;
  top: 84px;
  z-index: 95;
  max-width: min(380px, calc(100% - 32px));
  border-radius: 8px;
  background: #dcfce7;
  color: #166534;
  padding: 12px 14px;
  box-shadow: 0 14px 36px rgba(15, 23, 42, .18);
  font-weight: 700;
}
.site-editor-toast.is-error { background: #fee2e2; color: #991b1b; }
@media (max-width: 640px) {
.site-editor-toolbar { align-items: stretch; flex-wrap: wrap; }
  .site-editor-toolbar > div { flex-basis: 100%; }
  .site-editor-toggle,
  .site-editor-link,
  .site-editor-toolbar form { flex: 1; }
}

.psme-edit-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 50;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: rgba(200, 200, 200, .2);
  backdrop-filter: blur(8px);
  display: none;
  place-items: center;
  cursor: pointer;
  color: inherit;
}
.psme-edit-btn:hover { transform: translateY(-1px); }
body.site-editing .psme-edit-btn { display: grid; }
body.site-editing .site-edit-section { outline: 2px dashed rgba(197, 160, 89, .65); outline-offset: -2px; }

.psme-modal { display: none; }
.psme-modal.open { display: block; }
.psme-backdrop { position: fixed; inset: 0; background: rgba(15,23,42,.55); z-index: 9998; }
.psme-panel {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  width: min(860px, 94vw);
  max-height: 86vh;
  overflow: auto;
  background: #fff;
  border-radius: 18px;
  z-index: 9999;
  box-shadow: 0 30px 90px rgba(0,0,0,.28);
  color: #0f172a;
}
.psme-head { padding: 14px 16px; border-bottom: 1px solid #e2e8f0; display: flex; align-items: center; gap: 12px; }
.psme-title { font-weight: 800; font-size: 15px; }
.psme-close { margin-left: auto; border: none; background: transparent; font-size: 26px; cursor: pointer; line-height: 1; }
.psme-body { padding: 16px; }
.psme-foot { padding: 14px 16px; border-top: 1px solid #e2e8f0; display: flex; justify-content: flex-end; gap: 10px; }
.psme-row { border: 1px solid #e2e8f0; border-radius: 14px; padding: 12px; margin-bottom: 12px; background: #fff; }
.psme-rowhead { display: flex; align-items: center; gap: 10px; justify-content: space-between; }
.psme-label { font-weight: 700; }
.psme-small { font-size: 12px; color: #64748b; margin-top: 6px; }
.psme-input,
.psme-textarea {
  width: 100%;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 10px 12px;
}
.psme-textarea { font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; }
.psme-actions { display: flex; gap: 8px; align-items: center; }
.psme-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid #e2e8f0;
  font-size: 12px;
  color: #0f172a;
  background: #f8fafc;
}
.psme-btn {
  border: 1px solid #e2e8f0;
  background: #fff;
  border-radius: 12px;
  padding: 10px 14px;
  cursor: pointer;
  font-weight: 700;
}
.psme-primary { background: var(--theme-accent); border-color: var(--theme-accent); color: #fff; }
.psme-danger { background: #fee2e2; border-color: #fecaca; color: #991b1b; }
.pcf-btn { border: 1px solid #e2e8f0; background: #fff; border-radius: 10px; padding: 6px 10px; cursor: pointer; font-weight: 700; font-size: 12px; }
.pcf-repeater-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 10px; }
.pcf-help { font-size: 12px; color: #64748b; }
.pcf-row { border: 1px solid #e2e8f0; border-radius: 14px; padding: 10px; margin-top: 10px; background: #fff; transition: opacity .16s ease, border-color .16s ease, box-shadow .16s ease; }
.pcf-row.is-dragging,
.pcf-gallery-item.is-dragging { opacity: .48; }
.pcf-row.is-drag-over,
.pcf-gallery-item.is-drag-over {
  border-color: var(--theme-accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--theme-accent) 20%, transparent);
}
.pcf-row-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.pcf-row-title { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: 12px; color: #0f172a; }
.pcf-drag-handle,
.pcf-gallery-drag {
  display: inline-grid;
  place-items: center;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  color: #64748b;
  cursor: grab;
}
.pcf-drag-handle:active,
.pcf-gallery-drag:active { cursor: grabbing; }
.pcf-drag-handle {
  width: 28px;
  height: 28px;
  border-radius: 8px;
}
.pcf-grid { display: grid; gap: 10px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 720px) {
.pcf-grid { grid-template-columns: 1fr; }
}

.pcf-sub-label { display: block; font-size: 12px; font-weight: 700; color: #0f172a; margin-bottom: 6px; }
.pcf-sub-input { width: 100%; border: 1px solid #e2e8f0; border-radius: 12px; padding: 10px 12px; }
.pcf-sub-input:focus,
.psme-input:focus,
.pcf-icon-search:focus {
  border-color: #94a3b8;
  box-shadow: 0 0 0 3px rgba(197, 160, 89, .18);
  outline: none;
}
.pcf-iconpick .pcf-sub-input { flex: 1; min-width: 0; }
.pcf-nested { border: 1px dashed #cbd5e1; border-radius: 12px; padding: 10px; background: #f8fafc; }
.pcf-nested-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.pcf-repeater-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 12px; padding-top: 10px; border-top: 1px solid #e2e8f0; }
.psme-img-preview {
  width: 120px;
  height: 120px;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin: 10px 0;
}
.psme-wysiwyg {
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
}
.psme-wysiwyg-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  border-bottom: 1px solid #e2e8f0;
  background: #f8fafc;
  padding: 8px;
}
.psme-wysiwyg-toolbar button {
  min-width: 34px;
  height: 34px;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background: #fff;
  color: #0f172a;
  cursor: pointer;
  font-weight: 800;
}
.psme-color-tool {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 34px;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background: #fff;
  padding: 0 8px;
  color: #0f172a;
  font-size: 12px;
  font-weight: 800;
}
.psme-color-tool input {
  width: 24px;
  height: 24px;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
}
.psme-wysiwyg-editor {
  min-height: 180px;
  padding: 12px;
  outline: none;
  line-height: 1.6;
  color: #0f172a;
}
.psme-wysiwyg[data-wysiwyg-key="hero_description"] .psme-wysiwyg-editor {
  background: #0f172a;
  color: #fff;
}
.psme-wysiwyg-editor:focus {
  box-shadow: inset 0 0 0 3px rgba(197, 160, 89, .18);
}
.psme-wysiwyg-source {
  display: none;
  min-height: 180px;
  border: 0;
  border-top: 1px solid #e2e8f0;
  border-radius: 0;
  font-family: Consolas, Monaco, monospace;
  font-size: 13px;
}
.psme-wysiwyg.is-code .psme-wysiwyg-editor { display: none; }
.psme-wysiwyg.is-code .psme-wysiwyg-source { display: block; }
.psme-wysiwyg-editor[contenteditable="false"],
.psme-wysiwyg:has(.psme-wysiwyg-source:disabled) {
  background: #f8fafc;
}
.pcf-icon-panel {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  width: min(720px, 94vw);
  max-height: 76vh;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 30px 90px rgba(0,0,0,.28);
  z-index: 99999;
  overflow: hidden;
  border: 1px solid #e2e8f0;
}
.pcf-icon-panel-head { display: flex; gap: 10px; padding: 12px; border-bottom: 1px solid #e2e8f0; align-items: center; }
.pcf-icon-search { flex: 1; border: 1px solid #e2e8f0; border-radius: 12px; padding: 10px 12px; }
.pcf-icon-grid { padding: 12px; display: grid; grid-template-columns: repeat(auto-fill, minmax(56px, 1fr)); gap: 10px; overflow: auto; max-height: 62vh; }
.pcf-icon-item { border: 1px solid #e2e8f0; border-radius: 14px; background: #fff; display: flex; flex-direction: column; gap: 6px; align-items: center; justify-content: center; padding: 10px 6px; cursor: pointer; transition: transform .12s ease, background .12s ease; }
.pcf-icon-item:hover { background: #f8fafc; transform: translateY(-1px); }
.pcf-icon-item i { font-size: 20px; }
.pcf-icon-cap { font-size: 10px; color: #64748b; text-align: center; line-height: 1.15; word-break: break-word; }

.floating-contact-bar {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 50;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.floating-action-btn {
  display: inline-flex;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  border: 1px solid rgba(226, 232, 240, .9);
  background: #fff;
  color: #0f172a;
  box-shadow: 0 14px 40px rgba(2,6,23,.12);
  transition: transform .18s ease, opacity .18s ease, background .18s ease;
}
.floating-action-btn:hover,
.floating-action-btn:focus-visible {
  transform: translateY(-2px);
  opacity: .95;
  outline: none;
}
.floating-action-btn i { font-size: 19px; }
.floating-action-btn span { display: none; }
.floating-action-call {
  border-color: transparent;
  background: var(--theme-accent);
  color: #fff;
}
.floating-action-whatsapp {
  border-color: transparent;
  background: #25D366;
  color: #fff;
}
.floating-action-top.hidden { display: none; }
@media (max-width: 640px) {
body { padding-bottom: 69px; }
  .floating-contact-bar {
    left: 0;
    right: 0;
    bottom: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
    border-top: 1px solid rgba(255, 255, 255, .16);
    background: #0f172a;
    box-shadow: 0 -16px 36px rgba(2, 6, 23, .18);
  }
  .floating-action-btn,
  .floating-action-top.hidden {
    display: flex;
  }
  .floating-action-btn {
    width: 100%;
    height: 52px;
    flex-direction: column;
    gap: 5px;
    border: 0;
    border-radius: 12px;
    background: transparent;
    box-shadow: none;
    color: rgba(255, 255, 255, .92);
  }
  .floating-action-btn:hover,
  .floating-action-btn:focus-visible {
    transform: none;
    background: rgba(255, 255, 255, .10);
  }
  .floating-action-btn i { font-size: 20px; }
  .floating-action-btn span {
    display: block;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 11px;
    font-weight: 800;
    line-height: 1;
  }
  .floating-action-call,
  .floating-action-whatsapp,
  .floating-action-top {
    border-color: transparent;
    background: transparent;
    color: rgba(255, 255, 255, .94);
  }
}

.aboutCertSwiper{
  padding: 0 0 2em 0;
}

.pcf-gallery-editor {
  display: grid;
  gap: 12px;
}
.pcf-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(82px, 1fr));
  gap: 10px;
  min-height: 118px;
  padding: 10px;
  border: 1px solid rgba(148, 163, 184, .28);
  border-radius: 8px;
  background: #fff;
}
.pcf-gallery-item {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, .3);
  border-radius: 6px;
  background: #f8fafc;
  transition: opacity .16s ease, border-color .16s ease, box-shadow .16s ease;
}
.pcf-gallery-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.pcf-gallery-remove {
  position: absolute;
  top: 5px;
  right: 5px;
  display: inline-grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: rgba(15, 23, 42, .78);
  color: #fff;
  cursor: pointer;
}
.pcf-gallery-drag {
  position: absolute;
  top: 5px;
  left: 5px;
  z-index: 2;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .9);
  color: #334155;
}
.pcf-gallery-drag i {
  font-size: 12px;
}
.pcf-gallery-remove i {
  font-size: 12px;
}
.pcf-gallery-empty {
  display: grid;
  min-height: 92px;
  place-items: center;
  grid-column: 1 / -1;
  color: #64748b;
  font-size: 13px;
}
.pcf-gallery-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}
