/**
 * Peace of Sleep — Verify pages shared stylesheet
 *
 * Used by BOTH:
 *   /[country]/verify/                  (landing — programme explainer + charter lookup)
 *   /[country]/verify/[charter]/        (per-charter certificate page)
 *
 * All colour comes from PropertyLayout tokens (--gold, --linen, --text-dark, etc.).
 * No hex codes here. No bespoke prefixes — `verify-` only.
 *
 * Adding a verify-family page? Reuse these classes. Add new ones to this file,
 * not to a page <style> block.
 */

/* Hide the floating Apply/Contact CTA across all verify pages. A guest who
   scanned a QR is in the verify intent, not a sales journey. */
.fab-container { display: none !important; }

/* ===========================================
   LAPSED · forward-looking band (expired charters)
   No name-and-shame. Quiet redirect to the directory.
   =========================================== */
.verify-lapsed {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--black);
  color: var(--white);
  padding: 100px 24px;
}

.verify-lapsed__inner {
  max-width: 640px;
  text-align: center;
}

.verify-lapsed__eyebrow {
  font-family: 'Questrial', -apple-system, sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 24px;
}

.verify-lapsed__headline {
  font-family: 'Questrial', -apple-system, sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  line-height: 1.2;
  letter-spacing: 0.02em;
  color: var(--white);
  margin: 0 0 24px;
}

.verify-lapsed__body {
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.78);
  margin: 0 0 40px;
}

.verify-lapsed__cta {
  display: inline-block;
  font-family: 'Questrial', -apple-system, sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--gold);
  text-decoration: none;
  padding-bottom: 2px;
  border-bottom: 1px solid var(--gold-edge);
  transition: border-color 0.2s ease, color 0.2s ease;
}

.verify-lapsed__cta:hover {
  color: var(--gold-light);
  border-color: var(--gold-light);
}

.verify-lapsed__actions {
  display: flex;
  gap: 28px;
  justify-content: center;
  flex-wrap: wrap;
  margin: 0;
}

/* Demo property indicator — shown on the verify hero when is_demo=true.
   Small pill above the eyebrow making it unmistakable this is a demo page
   even when shared with a prospect outside an internal conversation. */
.verify-demo-pill {
  display: inline-block;
  margin: 0 0 18px;
  padding: 6px 14px;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--black);
  background: var(--gold);
  border-radius: 999px;
}

/* The rejected code shown on the verify "not found" fallback page */
.verify-not-found-code {
  display: inline-block;
  margin: 16px auto 24px;
  padding: 10px 18px;
  font-family: 'Courier New', Courier, monospace;
  font-size: 1.1rem;
  letter-spacing: 0.08em;
  color: var(--gold);
  border: 1px solid var(--gold-edge);
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.4);
}

.verify-not-found-code:empty {
  display: none;
}

/* ===========================================
   HERO
   Top padding clears the fixed home/burger buttons.
   =========================================== */
.verify-hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 110px 24px 80px;
  text-align: center;
  background: linear-gradient(135deg, #1a1a1a 0%, var(--black) 100%);
}

.verify-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.verify-hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.verify-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.7) 100%);
}

.verify-hero--positive .verify-hero__overlay { background: linear-gradient(135deg, rgba(0,0,0,0.85) 0%, rgba(20,40,30,0.78) 100%); }
.verify-hero--amber    .verify-hero__overlay { background: linear-gradient(135deg, rgba(0,0,0,0.85) 0%, rgba(60,40,10,0.78) 100%); }
.verify-hero--red      .verify-hero__overlay { background: linear-gradient(135deg, rgba(50,0,0,0.92) 0%, rgba(20,0,0,0.85) 100%); }
.verify-hero--neutral  .verify-hero__overlay { background: linear-gradient(135deg, rgba(0,0,0,0.85) 0%, rgba(40,40,40,0.78) 100%); }

.verify-hero__content {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
  color: var(--white);
}

.verify-hero__eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 24px;
}

.verify-hero__tier {
  margin: 0 auto 24px;
}

.verify-hero__seal {
  width: 90px;
  height: auto;
  display: block;
  margin: 0 auto;
}

.verify-hero__emblem {
  display: block;
  margin: 0 auto 20px;
  width: 88px;
  height: auto;
}

.verify-hero__headline {
  font-family: 'Questrial', sans-serif;
  font-size: clamp(1.6rem, 4.5vw, 2.6rem);
  font-weight: 400;
  line-height: 1.25;
  margin: 0 0 12px;
  color: var(--white);
}

.verify-hero__sub {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.85);
  margin: 0 0 36px;
  line-height: 1.55;
}

.verify-hero__meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 18px 28px;
  margin: 0 auto;
  max-width: 620px;
  text-align: left;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.verify-hero__meta dt {
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 4px;
}

.verify-hero__meta dd {
  font-size: 0.95rem;
  color: var(--white);
  margin: 0;
}

/* Hero CTA row (landing page) */
.verify-hero__cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin: 28px 0 0;
}

.verify-hero__cta {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 6px;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.verify-hero__cta--primary {
  background: var(--gold);
  color: var(--black);
  border: 1px solid var(--gold);
}
.verify-hero__cta--primary:hover { transform: translateY(-1px); background: var(--gold-dark); border-color: var(--gold-dark); }

/* Light-text variant — white type on the same gold field. Used on the
   not-found page so the call-to-action reads with more weight against
   the dark page wash there. */
.verify-hero__cta--primary-light { color: var(--white); }
.verify-hero__cta--primary-light:hover { color: var(--white); }

.verify-hero__cta--secondary {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.4);
}
.verify-hero__cta--secondary:hover { border-color: rgba(255, 255, 255, 0.7); }

/* ===========================================
   SECTIONS
   =========================================== */
.verify-section {
  padding: 70px 24px;
}

.verify-section--alt {
  background: var(--white);
}

.verify-section--story {
  background: var(--linen);
}

.verify-section--tip {
  background: var(--black);
  color: var(--white);
}

.verify-section__inner {
  max-width: 720px;
  margin: 0 auto;
}

.verify-eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0 0 12px;
}

.verify-eyebrow--gold { color: var(--gold); }
.verify-eyebrow--small { margin-top: 28px; }

.verify-section--tip .verify-eyebrow {
  color: var(--gold);
}

.verify-h2 {
  font-family: 'Questrial', sans-serif;
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  font-weight: 400;
  color: var(--text-dark);
  margin: 0 0 20px;
  line-height: 1.3;
}

.verify-section--tip .verify-h2 {
  color: var(--white);
}

.verify-prose {
  font-size: 1.02rem;
  line-height: 1.75;
  color: var(--text-dark);
  margin: 0 0 18px;
}

.verify-section--tip .verify-prose {
  color: rgba(255, 255, 255, 0.85);
}

.verify-prose--italic {
  font-style: italic;
  color: var(--text-muted);
}

.verify-property-meta {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin: 0 0 16px;
}

/* ===========================================
   PILLARS LIST (landing page)
   =========================================== */
.verify-pillars {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: grid;
  gap: 14px;
}

.verify-pillars li {
  padding: 18px 18px 16px;
  background: var(--white);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-dark);
  text-align: center;
}

.verify-pillar__heading {
  color: var(--gold);
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 500;
  font-size: 1.35rem;
  letter-spacing: 0.02em;
  margin: 0 0 8px;
  line-height: 1.2;
}

.verify-pillar__body {
  margin: 0;
  color: var(--text-dark);
}

/* TM mark on the hero headline — small superscript that sits at the
   right cap-height regardless of font and renders consistently across
   browsers (the Unicode ™ glyph looks chunky at large heading sizes). */
.verify-tm {
  font-size: 0.45em;
  vertical-align: super;
  line-height: 0;
  margin-left: 0.05em;
  letter-spacing: 0.05em;
  font-weight: 500;
}

/* ===========================================
   CHARTER LOOKUP FORM (landing page)
   =========================================== */
.verify-lookup {
  margin-top: 24px;
  max-width: 460px;
}

.verify-lookup__label {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.verify-lookup__field {
  display: flex;
  align-items: stretch;
  border: 1.5px solid var(--linen-dark);
  border-radius: 8px;
  background: var(--white);
  overflow: hidden;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.verify-lookup__field:focus-within {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-soft);
}

.verify-lookup__prefix {
  display: inline-flex;
  align-items: center;
  padding: 0 12px 0 16px;
  background: var(--linen);
  color: var(--text-muted);
  font-family: 'Courier New', Courier, monospace;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  border-right: 1px solid var(--border-subtle);
  user-select: none;
}

.verify-lookup__input {
  flex: 1;
  border: none;
  padding: 14px 16px;
  font-family: 'Courier New', Courier, monospace;
  font-size: 1.4rem;
  letter-spacing: 0.18em;
  text-align: left;
  background: transparent;
  color: var(--text-dark);
  width: 100%;
}
.verify-lookup__input:focus { outline: none; }
.verify-lookup__input::placeholder { color: var(--grey); }

.verify-lookup__hint {
  margin: 10px 0 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.verify-lookup__error {
  margin: 10px 0 0;
  font-size: 0.85rem;
  color: #b91c1c;
}

.verify-lookup__submit {
  margin-top: 18px;
  padding: 14px 28px;
  background: var(--black);
  color: var(--white);
  border: none;
  border-radius: 6px;
  font-family: 'Questrial', sans-serif;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
}
.verify-lookup__submit:hover { background: var(--gold); color: var(--black); transform: translateY(-1px); }

/* ===========================================
   FAQ (landing page)
   =========================================== */
.verify-faq {
  margin-top: 16px;
  display: grid;
  gap: 10px;
}

.verify-faq__item {
  background: var(--white);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 0;
  overflow: hidden;
}

.verify-faq__item > summary {
  padding: 14px 18px;
  cursor: pointer;
  font-family: 'Questrial', sans-serif;
  font-size: 0.98rem;
  color: var(--text-dark);
  list-style: none;
  position: relative;
}
.verify-faq__item > summary::-webkit-details-marker { display: none; }
.verify-faq__item > summary::after {
  content: '+';
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gold);
  font-size: 1.4rem;
  font-weight: 300;
  transition: transform 0.15s ease;
}
.verify-faq__item[open] > summary::after { content: '–'; }

.verify-faq__item > p {
  margin: 0;
  padding: 0 18px 16px;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-dark);
}

/* ===========================================
   SERVICE EVIDENCE LIST (per-charter page)
   =========================================== */
.verify-services {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--linen-dark);
}

.verify-services__item {
  padding: 18px 0;
  border-bottom: 1px solid var(--linen-dark);
}

.verify-services__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px;
}

.verify-services__ref {
  font-family: 'Questrial', sans-serif;
  font-size: 0.95rem;
  color: var(--text-dark);
  letter-spacing: 0.02em;
}

.verify-services__date {
  font-size: 0.85rem;
  color: var(--gold);
}

.verify-services__operator {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 4px 0 0;
}

.verify-services__link {
  display: block;
  text-decoration: none;
  color: inherit;
  padding: 4px 0;
  transition: color 0.2s ease;
}

.verify-services__link:hover .verify-services__ref,
.verify-services__link:hover .verify-services__view {
  color: var(--gold);
}

.verify-services__view {
  display: inline-block;
  font-size: 0.78rem;
  color: var(--gold);
  margin-top: 6px;
  letter-spacing: 0.04em;
}

.verify-services__item--revoked .verify-services__ref {
  text-decoration: line-through;
  color: var(--text-muted);
}

.verify-services__revoked {
  display: inline-block;
  margin-top: 4px;
  margin-right: 8px;
  padding: 2px 8px;
  background: #f8d7da;
  color: #721c24;
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 999px;
  font-weight: 500;
}

.verify-empty {
  font-size: 0.95rem;
  color: var(--text-muted);
  padding: 32px 0;
  text-align: center;
  font-style: italic;
}

/* ===========================================
   CONTACT & LISTING PLATFORMS (per-charter page)
   =========================================== */
.verify-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
}

.verify-contact__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: var(--gold);
  color: var(--black);
  border-radius: 6px;
  font-size: 0.9rem;
  text-decoration: none;
  transition: background 0.3s ease;
}

.verify-contact__btn:hover { background: var(--gold-dark); color: var(--white); }

.verify-contact__btn--whatsapp { background: #25D366; color: var(--white); }
.verify-contact__btn--whatsapp:hover { background: #1da851; }

.verify-platforms {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.verify-platforms__btn {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  border: 1px solid var(--linen-dark);
  border-radius: 6px;
  background: var(--white);
  color: var(--text-dark);
  font-size: 0.85rem;
  text-decoration: none;
  transition: border-color 0.3s ease, color 0.3s ease;
}

.verify-platforms__btn:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* ===========================================
   GENERIC LINKS
   =========================================== */
.verify-link {
  display: inline-block;
  font-size: 0.95rem;
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
  transition: color 0.3s ease;
}

.verify-link:hover { color: var(--gold-dark); }

.verify-link--cta {
  margin-top: 8px;
  font-weight: 500;
}

.verify-link--quiet {
  color: var(--text-muted);
  border-bottom-color: rgba(102, 102, 102, 0.4);
  font-size: 0.85rem;
}

.verify-link--quiet:hover {
  color: var(--text-dark);
  border-bottom-color: var(--text-dark);
}

/* Inline links inside prose */
.verify-section--tip a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.verify-prose a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.verify-prose a:hover {
  color: var(--gold-dark);
}

/* ===========================================
   TIP / ABOUT
   =========================================== */
.verify-tip {
  border-left: 2px solid var(--gold);
  padding-left: 24px;
}

.verify-section--tip .verify-tip {
  text-align: center;
  border-left: none;
  padding-left: 0;
}

.verify-about {
  text-align: center;
}

.verify-about__links {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  margin-top: 16px;
}

/* ===========================================
   RESPONSIVE
   =========================================== */
@media (max-width: 600px) {
  .verify-section {
    padding: 50px 20px;
  }

  .verify-hero {
    padding: 100px 20px 60px;
    min-height: auto;
  }

  .verify-hero__meta {
    grid-template-columns: 1fr 1fr;
  }

  .verify-hero__seal {
    width: 70px;
  }

  /* Stack contact buttons full-width on mobile */
  .verify-contact__btn {
    flex: 1 1 calc(50% - 12px);
    justify-content: center;
  }
}
