/**
 * Coming Soon / Maintenance gate — matches Dalat Flora brand + newsletter form.
 */

.df-cs {
  --df-brand-primary: #789a3d;
  --df-brand-deep: #31623b;
  --df-cream: #f7f4eb;
  --df-paste-soft: #e8f5d4;
  --df-text-muted: #69876e;
  --df-border: #c5d0b8;
  --df-green: var(--df-brand-primary);
  --df-dark: var(--df-brand-deep);
  --df-dark-deep: #264a2d;
  --font-ui: "Josefin Sans", ui-sans-serif, system-ui, sans-serif;
  --font-display: Elsie, Georgia, serif;
  --font-accent: Caveat, cursive;
  --radius-pill: 999px;
  --radius-lg: 24px;

  margin: 0;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 2rem 1.25rem;
  font-family: var(--font-ui);
  color: var(--df-brand-deep);
  background: var(--df-cream);
  box-sizing: border-box;
}

.df-cs *,
.df-cs *::before,
.df-cs *::after {
  box-sizing: border-box;
}

.df-cs__bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 70% 45% at 8% 0%, color-mix(in srgb, var(--df-paste-soft) 85%, transparent), transparent 60%),
    radial-gradient(ellipse 55% 40% at 100% 100%, color-mix(in srgb, var(--df-brand-primary) 12%, transparent), transparent 55%),
    var(--df-cream);
}

.df-cs__panel {
  position: relative;
  z-index: 1;
  width: min(100%, 34rem);
  text-align: center;
  padding: 2.75rem 2rem 2.25rem;
  background: #fff;
  border: 1px solid color-mix(in srgb, var(--df-border) 70%, #fff);
  border-radius: var(--radius-lg);
  box-shadow: 0 16px 40px color-mix(in srgb, var(--df-brand-deep) 7%, transparent);
}

.df-cs__logo {
  display: block;
  margin: 0 auto 1.75rem;
  width: auto;
  height: 40px;
  max-width: 180px;
  object-fit: contain;
}

.df-cs__eyebrow {
  margin: 0 0 0.4rem;
  font-family: var(--font-accent);
  font-size: 1.5rem;
  line-height: 1.15;
  color: var(--df-brand-primary);
}

.df-cs__headline {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.85rem, 4.2vw, 2.5rem);
  line-height: 1.2;
  color: var(--df-brand-deep);
}

.df-cs__message {
  margin: 0 auto 1.75rem;
  max-width: 26rem;
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--df-text-muted);
}

/* Newsletter-style pill field (Home cta_split) */
.df-cs .ls-cta-split__form {
  display: flex;
  align-items: stretch;
  width: 100%;
  max-width: min(22rem, 100%);
  margin: 0 auto 0.35rem;
  background: #fff;
  border: 1px solid var(--df-border);
  border-radius: var(--radius-pill);
  overflow: hidden;
  position: relative;
  z-index: 1;
}

.df-cs .ls-cta-split__form input {
  flex: 1 1 auto;
  border: 0;
  border-radius: 0;
  padding: 0.85rem 1.25rem;
  min-width: 0;
  font-family: var(--font-ui);
  font-size: 0.9rem;
  color: var(--df-brand-deep);
  background: transparent;
}

.df-cs .ls-cta-split__form input::placeholder {
  color: #9ca3af;
}

.df-cs .ls-cta-split__form input:focus {
  outline: none;
}

.df-cs .ls-cta-split__form:focus-within {
  border-color: color-mix(in srgb, var(--df-brand-primary) 55%, var(--df-border));
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--df-brand-primary) 18%, transparent);
}

.df-cs .wf-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  margin: 0;
  border: 0;
  padding: 0.85rem 1.35rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-ui);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.2;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
}

.df-cs .ls-cta-split__form .wf-btn {
  border-radius: 0;
  flex: 0 0 auto;
}

.df-cs .wf-btn--primary {
  background: var(--df-brand-primary);
  color: #fff;
}

.df-cs .wf-btn--primary:hover {
  background: var(--df-brand-deep);
}

.df-cs__error {
  margin: 0.75rem auto 0;
  max-width: 22rem;
  font-size: 0.85rem;
  color: #c62828;
}

.df-cs__contact {
  margin: 1.25rem 0 0.65rem;
  font-size: 0.9rem;
}

.df-cs__contact a {
  color: var(--df-brand-primary);
  text-decoration: none;
}

.df-cs__contact a:hover {
  text-decoration: underline;
}

.df-cs__footer {
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.5;
  color: var(--df-text-muted);
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 420px) {
  .df-cs__panel {
    padding: 2rem 1.25rem 1.75rem;
  }

  .df-cs .ls-cta-split__form {
    flex-direction: column;
    border-radius: 16px;
  }

  .df-cs .ls-cta-split__form .wf-btn {
    width: 100%;
    border-radius: 0 0 15px 15px;
  }
}
