/* ============================================================
   ENGAGEMINT DIGITAL — Hotel Landing Page
   style.css
   Mobile-first. Breakpoints: 768px (tablet), 1024px (desktop)
============================================================ */

/* ── Variables ── */
:root {
  --green:       #39B54A;
  --green-dark:  #2E9E3D;
  --green-light: #EAF6EB;
  --olive:       #6B9E1F;
  --navy:        #162038;
  --bg:          #F0F4F8;
  --white:       #FFFFFF;
  --grey:        #6B7280;
  --grey-light:  #9CA3AF;
  --border:      #E2E8F0;
  --shadow:      0 2px 16px rgba(22, 32, 56, 0.07);
  --shadow-lg:   0 8px 40px rgba(22, 32, 56, 0.12);
  --radius:      16px;
  --pill:        50px;
  --font:        'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --max-w:       1100px;
  --gap-section: 72px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; max-width: 100vw; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--navy);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  max-width: 100vw;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; background: none; border: none; }
fieldset { border: none; padding: 0; min-width: 0; }
legend { float: left; width: 100%; }  /* allows full-width legend like a div */
ul, ol { list-style: none; }

/* ── Container ── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 20px;
}

/* ── Utility ── */
.text-green { color: var(--green); }


/* ============================================================
   BUTTONS
============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: var(--pill);
  font-weight: 600;
  font-family: var(--font);
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.18s, border-color 0.18s, transform 0.18s, box-shadow 0.18s;
  text-align: center;
  white-space: nowrap;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}
.btn:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 3px;
}

.btn--sm  { padding: 10px 22px; font-size: 14px; }
.btn--lg  { padding: 16px 28px; font-size: 16px; width: 100%; }
.btn--xl  { padding: 20px 36px; font-size: 17px; }

.btn--green {
  background: var(--green);
  color: var(--white);
  border-color: var(--green);
}
.btn--green:hover, .btn--green:focus-visible {
  background: var(--green-dark);
  border-color: var(--green-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(45, 189, 110, 0.35);
}
.btn--green:active { transform: translateY(0); box-shadow: none; }

.btn--outline {
  background: var(--white);
  color: var(--navy);
  border-color: var(--border);
}
.btn--outline:hover { border-color: var(--green); color: var(--green); }

.btn--ghost {
  background: transparent;
  color: var(--grey);
  border-color: var(--border);
  width: auto;
}
.btn--ghost:hover { color: var(--navy); border-color: var(--navy); }


/* ============================================================
   HEADER
============================================================ */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
  transition: box-shadow 0.2s;
}
.header--scrolled { box-shadow: var(--shadow); }

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.header__logo img {
  display: block;
  height: 40px;
  width: auto;
}
.footer__logo img {
  height: 32px;
  width: auto;
}


/* ============================================================
   HERO
============================================================ */
.hero {
  padding: 52px 0 48px;
  background: var(--bg);
}

.hero__inner {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

/* Urgency badge */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--green-light);
  color: var(--green-dark);
  border-radius: var(--pill);
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
  width: fit-content;
}
.badge__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  flex-shrink: 0;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.6; transform: scale(1.25); }
}

.hero__h1 {
  font-size: clamp(36px, 9vw, 58px);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -1.5px;
  color: var(--navy);
  margin-top: 14px;
}

.hero__sub {
  font-size: 17px;
  color: var(--grey);
  line-height: 1.75;
  margin-top: 18px;
  max-width: 500px;
}

.hero__ctas {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 10px;
}

/* Hero visual */
.hero__visual {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Mini stats row below card */
.hero__mini-stats {
  display: flex;
  gap: 0;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
}
.hero__mini-stat {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 14px 8px;
  border-right: 1px solid var(--border);
  gap: 3px;
}
.hero__mini-stat:last-child { border-right: none; }
.hero__mini-num {
  font-size: 20px;
  font-weight: 900;
  line-height: 1;
}
.hero__mini-label {
  font-size: 11px;
  color: var(--grey);
  font-weight: 500;
  text-align: center;
  line-height: 1.3;
}

/* Results card */
.results-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}
.results-card__label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--grey-light);
}
.results-card__stat {
  font-size: 20px;
  font-weight: 900;
  color: var(--navy);
  margin-top: 6px;
}
.results-card__sub {
  font-size: 13px;
  color: var(--grey-light);
  margin-top: 2px;
}
.results-card__screenshot {
  margin-top: 14px;
  background: var(--bg);
  border-radius: 10px;
  padding: 28px 16px;
  text-align: center;
  border: 1px dashed var(--border);
  font-size: 12px;
  color: var(--grey-light);
}


/* ============================================================
   TRUST BAR
============================================================ */
.trust-bar {
  background: var(--white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.trust-bar::-webkit-scrollbar { display: none; }

.trust-bar__list {
  display: flex;
  align-items: center;
  gap: 28px;
  min-width: max-content;
  padding: 0 4px;
}

.trust-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 100px;
  flex-shrink: 0;
}
.trust-item strong {
  font-size: 18px;
  font-weight: 900;
  color: var(--navy);
  line-height: 1.1;
}
.trust-item span {
  font-size: 11px;
  font-weight: 500;
  color: var(--grey);
  white-space: nowrap;
}
.trust-item--badge { flex-direction: row; min-width: auto; }

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--green-light);
  color: var(--green-dark);
  border-radius: var(--pill);
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}


/* ============================================================
   SECTION SHARED
============================================================ */
.section { padding: var(--gap-section) 0; }
.section--bg    { background: var(--bg); }
.section--white { background: var(--white); }

.section__label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 12px;
}
.section__h2 {
  font-size: clamp(28px, 6vw, 44px);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -0.5px;
}
.section__sub {
  font-size: 16px;
  color: var(--grey);
  line-height: 1.75;
  margin-top: 14px;
  max-width: 520px;
}


/* ============================================================
   CARDS GRID
============================================================ */
.cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 36px;
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.card h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
  line-height: 1.3;
}
.card p {
  font-size: 15px;
  color: var(--grey);
  line-height: 1.75;
}

/* Problem cards */
.problem-card .card__icon {
  font-size: 28px;
  margin-bottom: 16px;
  line-height: 1;
}

/* Feature cards */
.feature-card__icon {
  width: 48px;
  height: 48px;
  background: var(--green-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
  margin-bottom: 16px;
  flex-shrink: 0;
}


/* ============================================================
   CASE STUDIES
============================================================ */
.case-studies {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 40px;
}

.case-study {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.case-study__tag {
  display: inline-block;
  background: var(--green-light);
  color: var(--green-dark);
  border-radius: var(--pill);
  padding: 4px 14px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 16px;
}

.case-study__challenge {
  font-size: 14px;
  color: var(--grey);
  line-height: 1.65;
  margin-bottom: 20px;
}
.case-study__challenge strong { color: var(--navy); }

.case-study__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  background: var(--bg);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 20px;
}

.result-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.result-stat__num {
  font-size: 28px;
  font-weight: 900;
  line-height: 1;
}
.result-stat__label {
  font-size: 12px;
  font-weight: 500;
  color: var(--grey);
}

.case-study__quote {
  font-size: 14px;
  font-style: italic;
  color: var(--grey);
  border-left: 3px solid var(--green);
  padding-left: 16px;
  line-height: 1.7;
}
.case-study__quote cite {
  display: block;
  font-style: normal;
  font-weight: 600;
  font-size: 13px;
  color: var(--navy);
  margin-top: 8px;
}

/* Screenshot proof */
.screenshot-proof {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 32px;
}
.screenshot-proof__label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--grey-light);
  margin-bottom: 10px;
}
.screenshot-placeholder {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px dashed var(--border);
  padding: 56px 20px;
  text-align: center;
  color: var(--grey-light);
  font-size: 13px;
  line-height: 1.6;
}
.screenshot-img {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}


/* ============================================================
   PROCESS
============================================================ */
.process-steps {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
}

.process-step {
  display: flex;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
}
.process-step:last-child { border-bottom: none; }

.process-step__num {
  font-size: 36px;
  font-weight: 900;
  color: var(--green);
  line-height: 1;
  min-width: 52px;
  padding-top: 2px;
}

.process-step__body h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
  line-height: 1.3;
}
.process-step__body p {
  font-size: 15px;
  color: var(--grey);
  line-height: 1.75;
}
.process-step__time {
  font-size: 13px;
  font-weight: 500;
  color: var(--green);
}

.process__cta {
  margin-top: 40px;
  display: flex;
}
.process__cta .btn { width: 100%; }


/* ============================================================
   FORM
============================================================ */
.form-wrapper {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  padding: 28px 20px 32px;
  max-width: 560px;
  margin: 40px auto 0;
}

/* Progress bar */
.form-progress {
  height: 4px;
  background: var(--border);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 8px;
}
.form-progress__fill {
  height: 100%;
  background: var(--green);
  border-radius: 2px;
  width: 16.66%;
  transition: width 0.3s ease;
}

.form-step-indicator {
  font-size: 12px;
  font-weight: 500;
  color: var(--grey-light);
  margin-bottom: 28px;
}

/* Steps */
.form-step { display: none; }
.form-step.active { display: block; }
.form-step legend.form-step__q { padding-bottom: 22px; }

.form-step__q {
  font-size: 20px;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.3;
  margin-bottom: 22px;
  display: block;
}
.form-step__q--sub {
  font-size: 16px;
  font-weight: 700;
  margin-top: 24px;
  margin-bottom: 14px;
}

/* Conditional spend field */
.form-step__conditional { margin-top: 4px; }

/* Chips */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  clear: both;
}

.chip {
  display: flex;
  align-items: center;
  cursor: pointer;
}
.chip input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}
.chip span {
  display: inline-block;
  padding: 11px 20px;
  border-radius: var(--pill);
  border: 2px solid var(--border);
  font-size: 14px;
  font-weight: 500;
  color: var(--navy);
  background: var(--white);
  transition: border-color 0.15s, background 0.15s, color 0.15s;
  user-select: none;
  cursor: pointer;
  line-height: 1;
}
.chip:hover span,
.chip input:focus-visible + span {
  border-color: var(--green);
  color: var(--green);
}
.chip input:checked + span {
  background: var(--green);
  border-color: var(--green);
  color: var(--white);
}
.chip input:focus-visible + span {
  outline: 2px solid var(--green);
  outline-offset: 2px;
}

.chip--wide { width: 100%; }
.chip--wide span { width: 100%; text-align: center; }

/* Contact fields */
.form-fields {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 12px;
  clear: both;
}
.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-field label {
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
}
.form-field__opt {
  font-weight: 400;
  color: var(--grey-light);
  font-size: 13px;
}
.req { color: var(--green); }

.form-field input {
  width: 100%;
  padding: 13px 16px;
  border: 2px solid var(--border);
  border-radius: 12px;
  font-size: 15px;
  font-family: var(--font);
  color: var(--navy);
  background: var(--white);
  transition: border-color 0.15s;
  outline: none;
  -webkit-appearance: none;
}
.form-field input:focus { border-color: var(--green); }
.form-field input::placeholder { color: var(--grey-light); }

.input-group { display: flex; }
.input-prefix {
  display: flex;
  align-items: center;
  padding: 0 14px;
  background: var(--bg);
  border: 2px solid var(--border);
  border-right: none;
  border-radius: 12px 0 0 12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  white-space: nowrap;
  flex-shrink: 0;
}
.input-group input { border-radius: 0 12px 12px 0; }

.form-consent {
  font-size: 12px;
  color: var(--grey-light);
  line-height: 1.5;
  margin-top: 6px;
}

/* Form nav */
.form-nav {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
}
.form-nav__next { flex: 1; }

.form-error {
  margin-top: 12px;
  font-size: 13px;
  font-weight: 500;
  color: #EF4444;
}

/* Thank-you states */
.thankyou {
  text-align: center;
  padding: 16px 0;
}
.thankyou__icon {
  font-size: 48px;
  line-height: 1;
  margin-bottom: 16px;
}
.thankyou h3 {
  font-size: 22px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 12px;
}
.thankyou p {
  font-size: 15px;
  color: var(--grey);
  line-height: 1.75;
  margin-bottom: 24px;
}
.thankyou .btn { width: 100%; }


/* ============================================================
   FAQ
============================================================ */
.faq-list {
  margin-top: 40px;
  border-top: 1px solid var(--border);
}

.faq-item { border-bottom: 1px solid var(--border); }

.faq-q {
  width: 100%;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 0;
  font-size: 16px;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.4;
  background: none;
  border: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.faq-q:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }

.faq-q::after {
  content: '+';
  font-size: 22px;
  font-weight: 300;
  color: var(--green);
  flex-shrink: 0;
  transition: transform 0.22s ease;
  margin-top: 1px;
}
.faq-q[aria-expanded="true"]::after { transform: rotate(45deg); }

.faq-a {
  font-size: 15px;
  color: var(--grey);
  line-height: 1.75;
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.3s ease, padding-bottom 0.3s ease;
}
.faq-a.open {
  max-height: 400px;
  padding-bottom: 20px;
}


/* ============================================================
   FINAL CTA
============================================================ */
.final-cta {
  background: var(--navy);
  padding: var(--gap-section) 0;
  text-align: center;
}
.final-cta__h2 {
  font-size: clamp(28px, 7vw, 46px);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -1px;
  color: var(--white);
  margin-bottom: 16px;
}
.final-cta__sub {
  font-size: 16px;
  color: rgba(255,255,255,0.65);
  max-width: 500px;
  margin: 0 auto 32px;
  line-height: 1.75;
}
.final-cta .btn--green {
  width: auto;
  margin: 0 auto;
  display: inline-flex;
}
.final-cta__note {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
  margin-top: 16px;
}


/* ============================================================
   FOOTER
============================================================ */
.footer {
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: 28px 0;
}
.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
}
.footer__copy { font-size: 13px; color: var(--grey); }
.footer__link {
  font-size: 13px;
  color: var(--green);
  font-weight: 500;
}
.footer__link:hover { text-decoration: underline; }


/* ============================================================
   TABLET — 768px+
============================================================ */
@media (min-width: 768px) {
  :root { --gap-section: 96px; }

  /* Hero: two columns */
  .hero__inner { flex-direction: row; align-items: center; gap: 48px; }
  .hero__content { flex: 1; }
  .hero__visual  { flex: 1; }

  .hero__ctas { flex-direction: row; }
  .hero__ctas .btn { width: auto; }

  .results-card { margin-top: 0; }

  /* Trust bar centered */
  .trust-bar__list { min-width: auto; justify-content: center; gap: 40px; }

  /* Cards: 3-col */
  .cards-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }

  /* Case studies: 2-col */
  .case-studies { grid-template-columns: repeat(2, 1fr); }

  /* Screenshots: 2-col */
  .screenshot-proof { grid-template-columns: repeat(2, 1fr); }

  /* Process: 2-col grid */
  .process-steps {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    background: var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    margin-top: 40px;
  }
  .process-step {
    background: var(--white);
    flex-direction: column;
    gap: 10px;
    padding: 28px;
    border-bottom: none;
  }

  /* Form: wider card */
  .form-wrapper { padding: 36px 36px 40px; }

  /* Process CTA: auto width */
  .process__cta .btn { width: auto; }

  /* Footer: row */
  .footer__inner { flex-direction: row; justify-content: space-between; text-align: left; }
}


/* ============================================================
   DESKTOP — 1024px+
============================================================ */
@media (min-width: 1024px) {
  .hero { padding: 72px 0 64px; }
  .hero__h1 { font-size: 60px; }
  .hero-img-placeholder { height: 380px; }

  .results-card { width: 280px; bottom: -28px; }

  .btn--lg { width: auto; }
  .process__cta .btn--lg { width: auto; }
}


/* ============================================================
   REDUCED MOTION
============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
  .badge__dot { animation: none; }
}
