/* ── Crest Newsletter Popup ── */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700;900&family=Lato:wght@300;400;700&display=swap');

:root {
  --cnl-navy:    #0A1F44;
  --cnl-navy-dk: #071530;
  --cnl-gold:    #C9A84C;
  --cnl-teal:    #7EC8C8;
  --cnl-cream:   #f8f5ee;
  --cnl-border:  #d8d4c8;
  --cnl-muted:   #666;
  --cnl-danger:  #c0392b;
  --cnl-success: #27ae60;
}

#crest-nl-overlay {
  position: fixed;
  inset: 0;
  background: rgba(7,21,48,0.72);
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(3px);
  animation: cnlFadeIn 0.35s ease;
}
#crest-nl-overlay.crest-nl-hidden { display: none !important; }

@keyframes cnlFadeIn { from { opacity:0; } to { opacity:1; } }
@keyframes cnlSlideUp { from { opacity:0; transform:translateY(30px); } to { opacity:1; transform:translateY(0); } }

.crest-nl-box {
  background: #fff;
  width: 92%;
  max-width: 460px;
  border-top: 5px solid var(--cnl-gold);
  box-shadow: 0 30px 80px rgba(7,21,48,0.5);
  animation: cnlSlideUp 0.4s ease;
  position: relative;
  overflow: hidden;
  font-family: 'Lato', sans-serif;
}

.crest-nl-close {
  position: absolute;
  top: 14px; right: 16px;
  background: none;
  border: none;
  font-size: 22px;
  color: var(--cnl-muted);
  cursor: pointer;
  line-height: 1;
  transition: color .2s;
  z-index: 10;
}
.crest-nl-close:hover { color: var(--cnl-navy); }

.crest-nl-header {
  background: var(--cnl-navy);
  padding: 28px 36px 22px;
}
.crest-nl-brand {
  color: var(--cnl-gold);
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: .5px;
  margin-bottom: 2px;
}
.crest-nl-tagline {
  color: var(--cnl-teal);
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-weight: 300;
}

.crest-nl-body {
  padding: 28px 36px 32px;
}
.crest-nl-body h2 {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  color: var(--cnl-navy);
  font-weight: 900;
  margin-bottom: 10px;
  line-height: 1.3;
}
.crest-nl-body p {
  font-size: 14px;
  color: #555;
  line-height: 1.7;
  margin-bottom: 22px;
}
.crest-nl-body p strong { color: var(--cnl-navy); }

.crest-nl-perks {
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
}
.crest-nl-perks li {
  font-size: 13px;
  color: #444;
  padding: 5px 0;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.crest-nl-perks li::before {
  content: '✦';
  color: var(--cnl-gold);
  font-size: 10px;
  margin-top: 3px;
  flex-shrink: 0;
}

.crest-nl-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.crest-nl-form input {
  border: 1.5px solid var(--cnl-border);
  padding: 12px 16px;
  font-size: 14px;
  font-family: 'Lato', sans-serif;
  color: #1a1a1a;
  outline: none;
  transition: border-color .2s;
  background: var(--cnl-cream);
  width: 100%;
  box-sizing: border-box;
}
.crest-nl-form input:focus { border-color: var(--cnl-navy); background: #fff; }
.crest-nl-form input::placeholder { color: #aaa; }

.crest-nl-btn-subscribe {
  background: var(--cnl-navy);
  color: var(--cnl-gold);
  border: none;
  padding: 14px;
  font-family: 'Lato', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .2s, color .2s;
  width: 100%;
}
.crest-nl-btn-subscribe:hover { background: var(--cnl-gold); color: var(--cnl-navy); }
.crest-nl-btn-subscribe:disabled { opacity: .6; cursor: not-allowed; }

.crest-nl-privacy {
  font-size: 11px;
  color: #aaa;
  text-align: center;
  margin-top: 10px;
}

.crest-nl-msg {
  font-size: 13px;
  margin-top: 10px;
  text-align: center;
  min-height: 18px;
}
.crest-nl-msg.error   { color: var(--cnl-danger); }
.crest-nl-msg.success { color: var(--cnl-success); }

.crest-nl-success {
  text-align: center;
  padding: 36px 36px 40px;
}
.crest-nl-success-icon { font-size: 44px; margin-bottom: 14px; }
.crest-nl-success h3 {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  color: var(--cnl-navy);
  font-weight: 900;
  margin-bottom: 10px;
}
.crest-nl-success p { font-size: 14px; color: #666; line-height: 1.7; }

@media (max-width: 480px) {
  .crest-nl-header, .crest-nl-body, .crest-nl-success { padding-left: 22px; padding-right: 22px; }
}
