*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'SF Pro Display', 'Helvetica Neue', Arial, sans-serif;
  background: #ffffff;
  color: #1d1d1f;
  -webkit-font-smoothing: antialiased;
}

/* ── NAV ─────────────────────────────── */
.globalnav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  height: 100px;
  font-size: 12px;
  letter-spacing: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, 300px);
  gap: 40px;
  justify-content: center;
  padding: 0 40px;
}
.globalnav-content {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
}
.globalnav-lang {
  display: flex;
  gap: 12px;
  align-items: center;
  padding-left: 60px;
}
.globalnav-link {
  color: #000000;
  text-decoration: none;
  transition: color 0.2s;
  font-size: clamp(12px, 3vw, 30px);
  font-weight: bold;
  white-space: nowrap;
  text-transform: uppercase;
}
.globalnav-link:hover { color: #7b7b7b; }
.globalnav-link-apple svg { fill: #000000; }
.globalnav-link-apple:hover svg { fill: #7b7b7b; }

.globalnav-title {
  font-size: clamp(36px, 7vw, 70px);
  font-weight: 600;
  color: #000000;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

/* ── PROMO ─────────────────────────────── */
.promo {
  position: relative;
  min-height: 400px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: hsl(0, 0%, 100%);
  color: #1d1d1f;
  padding: 40px 40px 0;
  gap: 10px;
  overflow: hidden;
}
.promo-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.promo-bg spine-skeleton {
  width: 100%;
  height: 100%;
}
.promo-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(auto-fill, 300px);
  gap: 40px;
  justify-content: center;
  width: 100%;
}
.promo-text {
  grid-column: 1 / -1;
  text-align: justify;
  text-transform: uppercase;
}
.promo-content p,
.promo-text p {
  font-family: Arial, 'Helvetica Neue', sans-serif;
  font-size: 16px;
  font-weight: bold;
  line-height: 2;
  color: #1d1d1f;
  margin-bottom: 16px;
}
.promo-content ul,
.promo-text ul {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
}
.promo-content li,
.promo-text li {
  font-family: Arial, 'Helvetica Neue', sans-serif;
  font-size: 16px;
  font-weight: bold;
  color: #1d1d1f;
  padding-left: 24px;
  position: relative;
  margin-bottom: 10px;
}
.promo-content li::before,
.promo-text li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: #86868b;
}

/* ── GRID ──────────────────────────────── */
.grid-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 10px 0;
}
.skel-create {
  position: relative;
  min-height: 200px;
  width: 200px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  text-align: center;
  padding: 20px 20px 20px;
  gap: 8px;
  background: hsl(0, 0%, 100%);
  overflow: hidden;
}
.skel-create-2 {
  position: relative;
  width: 300px;
  aspect-ratio: 1 / 1;
  flex: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  text-align: center;
  padding: 20px 20px 20px;
  gap: 8px;
  background: hsl(0, 0%, 100%);
  overflow: hidden;
}
.skel-wrap-stretch {
  width: auto;
  min-width: 200px;
  flex: 1 1 200px;
}
.skel-skel-1 {
  position: relative;
  width: 300px;
  aspect-ratio: 1 / 1;
  border-radius: 30px;
  overflow: hidden;
}
#grid-match3 {
  display: grid;
  grid-template-columns: repeat(auto-fill, 300px);
  gap: 40px;
  padding: 40px;
  justify-content: center;
}
#grid-match3 .tile-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
#grid-match3 .tile-bg spine-skeleton {
  width: 100%;
  height: 100%;
}
.tile-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.tile-bg spine-skeleton {
  width: 100%;
  height: 100%;
}

.skel-label {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  text-align: left;
  gap: 20px;
  color: #1d1d1f;
  background: hsl(0, 0%, 100%);
  padding: 20px;
  text-transform: uppercase;
}
.skel-label-title {
  font-family: Arial, 'Helvetica Neue', sans-serif;
  font-size: 30px;
  font-weight: bold;
}
.skel-label-sub {
  font-family: Arial, 'Helvetica Neue', sans-serif;
  font-size: 16px;
  font-weight: bold;
}

/* ── FOOTER ─────────────────────────────── */
.footer {
  background: #f5f5f7;
  color: #6e6e73;
  text-align: center;
  padding: 20px 20px 30px;
  font-size: 12px;
}
.footer a {
  color: #424245;
  text-decoration: none;
}
.footer a:hover { text-decoration: underline; }

/* ── CONTACT ──────────────────────────────── */
.contact {
  padding: 0;
  text-align: center;
  background: #ffffff;
}
.contact-title {
  font-family: Arial, 'Helvetica Neue', sans-serif;
  font-size: 30px;
  font-weight: bold;
  color: #1d1d1f;
  margin-bottom: 8px;
  text-transform: uppercase;
}
.contact-subtitle {
  font-family: Arial, 'Helvetica Neue', sans-serif;
  font-size: 16px;
  font-weight: bold;
  color: #6e6e73;
  margin-bottom: 48px;
}
.contact-cards {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}
.contact-card {
  width: 165px;
  aspect-ratio: 1 / 1;
  border-radius: 24px;
  background: #ffffff;
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 22px 16px;
  transition: transform 0.2s, box-shadow 0.3s;
  color: #1d1d1f;
  font-family: inherit;
}
.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}
.contact-icon {
  width: 36px;
  height: 36px;
  color: #1d1d1f;
  flex-shrink: 0;
}
.contact-card-name {
  font-size: 14px;
  font-weight: 600;
  font-family: Arial, 'Helvetica Neue', sans-serif;
}
.contact-card-hint {
  font-size: 11px;
  color: #6e6e73;
}

/* ── MODAL ──────────────────────────────── */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  align-items: center;
  justify-content: center;
}
.modal-overlay.active {
  display: flex;
}
.modal {
  background: #ffffff;
  border-radius: 30px;
  padding: 40px 32px;
  max-width: 440px;
  width: 90%;
  text-align: center;
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  animation: modalFadeIn 0.3s ease;
}
@keyframes modalFadeIn {
  from { opacity: 0; transform: translateY(20px) scale(0.96); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.modal-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: none;
  font-size: 28px;
  color: #6e6e73;
  cursor: pointer;
  line-height: 1;
  padding: 4px 8px;
  transition: color 0.2s;
}
.modal-close:hover { color: #1d1d1f; }
.modal-title {
  font-family: Arial, 'Helvetica Neue', sans-serif;
  font-size: 22px;
  font-weight: bold;
  color: #1d1d1f;
  margin-bottom: 6px;
}
.modal-subtitle {
  font-size: 14px;
  color: #6e6e73;
  margin-bottom: 24px;
}
.modal-hint {
  font-size: 13px;
  color: #86868b;
  margin-top: 20px;
}

/* ── QR ──────────────────────────────── */
.qr-container {
  display: flex;
  justify-content: center;
  padding: 8px;
}
.qr-container canvas,
.qr-container img {
  border-radius: 12px;
}

/* ── EMAIL FORM ──────────────────────────────── */
.form-success {
  background: #e8f5e9;
  color: #2e7d32;
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 14px;
  margin-bottom: 16px;
  display: none;
}
.form-success:not(:empty) {
  display: block;
}
.form-error {
  background: #fce4ec;
  color: #c62828;
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 14px;
  margin-bottom: 16px;
  display: none;
}
.form-error:not(:empty) {
  display: block;
}
#email-form {
  text-align: left;
}
#email-form label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #1d1d1f;
  margin-bottom: 6px;
  font-family: Arial, 'Helvetica Neue', sans-serif;
}
#email-form input,
#email-form textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #d2d2d7;
  border-radius: 12px;
  font-size: 15px;
  font-family: inherit;
  color: #1d1d1f;
  background: #ffffff;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  margin-bottom: 16px;
  box-sizing: border-box;
}
#email-form input:focus,
#email-form textarea:focus {
  border-color: #0071e3;
  box-shadow: 0 0 0 3px rgba(0, 113, 227, 0.15);
}
#email-form textarea {
  resize: vertical;
  min-height: 100px;
}
.form-submit-btn {
  width: 100%;
  padding: 14px 24px;
  background: #0071e3;
  color: #ffffff;
  border: none;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.2s, opacity 0.2s;
}
.form-submit-btn:hover { background: #0077ed; }
.form-submit-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
