/* Hallmark · pre-emit critique: P5 H5 E5 S5 R5 V4 */
/* Hallmark · genre: editorial · macrostructure: source landing · design-system: design.md · designed-as-app */
/* Landing marketing pages — additive stylesheet, reuses tokens/vars from styles/main.css */

.lp-body {
  background: #fff;
  overflow-x: hidden;
  max-width: 100%;
  font-family: var(--lp-font-body, 'Be Vietnam Pro', system-ui, sans-serif);
}
.lp-body h1,
.lp-body h2,
.lp-body h3 {
  font-family: var(--lp-font-display, 'Lora', ui-serif, serif);
  font-style: normal;
}

/* header */
.lp-header {
  position: sticky;
  top: 0;
  z-index: 400;
  background: #fff;
  border-bottom: 1px solid var(--border);
}
.lp-header-inner {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 10px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  box-sizing: border-box;
}
.lp-logo {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  flex: 0 0 155px;
  width: 155px;
  min-width: 155px;
  max-width: 155px;
  padding: 0;
  margin: 0 24px 0 0;
  height: 40px;
  text-decoration: none;
}
.lp-logo picture {
  display: flex;
  align-items: center;
  height: 40px;
  width: 155px;
}
.lp-logo img {
  display: block;
  height: 38px;
  width: 155px;
  max-width: 155px;
  object-fit: contain;
  object-position: left center;
  margin: 0;
  padding: 0;
}
.lp-nav {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(8px, 1.1vw, 18px);
  flex: 1;
  min-width: 0;
}
.lp-nav > a {
  padding: 8px clamp(3px, 0.5vw, 7px);
  border-radius: var(--r-btn);
  font-size: clamp(12.5px, 0.95vw, 14px);
  font-weight: 500;
  color: var(--text);
  white-space: nowrap;
  flex-shrink: 0;
}
.lp-nav a:hover {
  background: var(--tint);
  color: var(--primary-text);
}
.lp-nav a.active {
  color: var(--primary);
  font-weight: 700;
}
.lp-auth-btns {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  margin-left: clamp(8px, 1vw, 16px);
}
.lp-burger {
  display: none;
  font-size: 22px;
  background: none;
  border: none;
  color: var(--navy);
}

/* --- Logo responsive swap via <picture> element --- */
@media (max-width: 1024px) and (min-width: 769px) {
  .lp-logo {
    width: 140px !important;
    min-width: 140px !important;
    max-width: 140px !important;
    flex: 0 0 140px !important;
  }
  .lp-logo picture,
  .lp-logo img {
    width: 140px !important;
    max-width: 140px !important;
    height: 36px !important;
  }
}

@media (max-width: 768px) {
  .lp-logo {
    width: 40px !important;
    min-width: 40px !important;
    max-width: 40px !important;
    flex: 0 0 40px !important;
    height: 40px !important;
    margin-right: 10px !important;
  }
  .lp-logo picture,
  .lp-logo img {
    width: 36px !important;
    height: 36px !important;
    max-width: 36px !important;
    object-fit: contain !important;
  }
}

@media (min-width: 1181px) and (max-width: 1360px) {
  .lp-header-inner {
    padding: 10px 18px;
    gap: 12px;
  }
  .lp-logo {
    width: 145px;
    min-width: 145px;
    max-width: 145px;
    flex: 0 0 145px;
    margin-right: 14px;
  }
  .lp-logo img {
    height: 34px;
    width: 145px;
    max-width: 145px;
  }
  .lp-nav {
    gap: 6px;
  }
  .lp-nav > a {
    padding: 6px 4px;
    font-size: 12.5px;
  }
  .lp-auth-btns {
    gap: 6px;
    margin-left: 6px;
  }
  .lp-auth-btns .btn {
    padding-left: 10px;
    padding-right: 10px;
    font-size: 12px;
  }
}

@media (max-width: 1180px) {
  .lp-header {
    animation: none !important;
  }
  .lp-nav {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background: #ffffff !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    align-items: stretch !important;
    padding: 72px 24px 32px !important;
    gap: 0 !important;
    transform: translateX(100%) !important;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
    z-index: 99999 !important;
    overflow-y: auto !important;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.15) !important;
  }
  .lp-nav.open {
    transform: translateX(0) !important;
  }
  .lp-nav a {
    padding: 16px 12px !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    color: var(--text) !important;
    border-bottom: 1px solid var(--border) !important;
    display: block !important;
  }
  .lp-nav a:hover,
  .lp-nav a.active {
    background: #f8fafc !important;
    color: var(--primary) !important;
  }
  .lp-auth-btns {
    margin-left: 0 !important;
    margin-top: 20px !important;
    flex-direction: column !important;
    gap: 12px !important;
  }
  .lp-auth-btns .btn {
    width: 100% !important;
    text-align: center !important;
    height: 46px !important;
    font-size: 15px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
  .lp-burger {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 40px !important;
    height: 40px !important;
    font-size: 24px !important;
    z-index: 100000 !important;
    position: relative !important;
    margin-left: 12px !important;
    cursor: pointer !important;
  }
  .lp-header-inner {
    flex-wrap: nowrap;
    padding: 10px 16px;
    flex-direction: row;
    justify-content: space-between;
  }
}

/* hero */
.lp-hero {
  background: linear-gradient(160deg, var(--navy), #132a4d);
  color: #fff;
  padding: 56px 20px;
}
.lp-hero-inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}
.lp-eyebrow {
  display: inline-block;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 5px 14px;
  border-radius: 9999px;
  margin-bottom: 16px;
}
.lp-hero h1 {
  font-family: var(--font-display, 'Lora', ui-serif, serif);
  font-size: 32px;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 14px;
}
.lp-hero p.lp-sub {
  font-family: var(--font-body, 'Be Vietnam Pro', system-ui, sans-serif);
  font-size: 15px;
  opacity: 0.88;
  max-width: 640px;
  margin: 0 auto 24px;
  line-height: 1.6;
}
.lp-hero-cta {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 100%;
}
.lp-hero-cta .btn {
  max-width: 100%;
  white-space: normal;
  height: auto;
  min-height: 48px;
  padding: 10px 18px;
  line-height: 1.35;
  text-align: center;
  word-break: break-word;
  box-sizing: border-box;
}
.lp-trust {
  margin-top: 16px;
  font-size: 12.5px;
  opacity: 0.8;
}
.btn.outline-white {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.6);
  height: 48px;
  border-radius: var(--r-btn);
  font-weight: 600;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
}
.btn.outline-white:hover {
  background: rgba(255, 255, 255, 0.12);
}

/* section */
.lp-section {
  padding: 48px 20px;
  max-width: 1200px;
  margin: 0 auto;
}
.lp-section.tint {
  background: var(--screen);
}
.lp-section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 30px;
}
.lp-section-head h2 {
  font-size: 24px;
  font-weight: 800;
  color: var(--text);
}

/* stat strip */
.lp-stat-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 28px 20px;
}
.lp-stat {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  padding: 18px 14px;
  text-align: center;
  font-size: 13px;
  color: var(--muted);
}
.lp-stat strong {
  display: block;
  font-size: 26px;
  color: var(--primary);
  font-weight: 800;
  margin-bottom: 2px;
}
@media (max-width: 720px) {
  .lp-stat-strip {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Live activity section & ticker */
.lp-activity-section {
  padding: 40px 16px;
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
}
.lp-activity-container {
  max-width: 1000px;
  margin: 0 auto;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 24px 28px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05), 0 1px 3px rgba(0, 0, 0, 0.03);
}
.lp-activity-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid #f1f5f9;
  flex-wrap: wrap;
}
.lp-activity-title-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}
.lp-activity-pulse-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: lpPulse 1.8s infinite;
  flex-shrink: 0;
}
@keyframes lpPulse {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 8px rgba(16, 185, 129, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}
.lp-activity-header-tag {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #059669;
  background: #ecfdf5;
  padding: 3px 8px;
  border-radius: 6px;
  border: 1px solid #a7f3d0;
}
.lp-activity-heading {
  font-size: 18px;
  font-weight: 700;
  color: #0f172a;
  margin: 0;
}
.lp-activity-sub {
  font-size: 13px;
  color: #64748b;
  font-weight: 500;
}
.lp-activity-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 160px;
}
.lp-activity-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 18px;
  background: #f8fafc;
  border: 1px solid #f1f5f9;
  border-radius: 12px;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  animation: lpSlideIn 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes lpSlideIn {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.lp-activity-row:hover {
  background: #ffffff;
  border-color: #cbd5e1;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06);
}
.lp-activity-badge {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  padding: 4px 10px;
  border-radius: 8px;
  white-space: nowrap;
  flex-shrink: 0;
}
.lp-activity-row[data-activity-type="booking_received"] .lp-activity-badge {
  background: #eff6ff;
  color: #2563eb;
  border: 1px solid #bfdbfe;
}
.lp-activity-row[data-activity-type="booking_completed"] .lp-activity-badge {
  background: #ecfdf5;
  color: #059669;
  border: 1px solid #a7f3d0;
}
.lp-activity-row[data-activity-type="registered"] .lp-activity-badge {
  background: #fff2ee;
  color: #ee4d2d;
  border: 1px solid #ffcbd1;
}
.lp-activity-text {
  font-size: 14px;
  color: #1e293b;
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.lp-activity-text strong {
  font-weight: 700;
  color: #0f172a;
}
.lp-activity-time {
  font-size: 12px;
  font-weight: 600;
  color: #64748b;
  background: #ffffff;
  padding: 3px 10px;
  border-radius: 999px;
  border: 1px solid #e2e8f0;
  white-space: nowrap;
  flex-shrink: 0;
}

@media (max-width: 640px) {
  .lp-activity-container {
    padding: 16px 18px;
  }
  .lp-activity-heading {
    font-size: 16px;
  }
  .lp-activity-row {
    flex-wrap: wrap;
    gap: 8px;
    padding: 10px 14px;
  }
  .lp-activity-text {
    width: 100%;
    white-space: normal;
    font-size: 13px;
  }
}

/* grids */
.lp-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.lp-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.lp-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
@media (max-width: 900px) {
  .lp-grid-2,
  .lp-grid-3,
  .lp-grid-4 {
    grid-template-columns: 1fr;
  }
}
@media (min-width: 601px) and (max-width: 900px) {
  .lp-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

.lp-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  padding: 22px;
}
.lp-card h3 {
  font-size: 16px;
  margin-bottom: 8px;
  color: var(--text);
}
.lp-card p {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.6;
}
.lp-card-big {
  padding: 26px;
}
.lp-card-big h3 {
  font-size: 18px;
  color: var(--primary-text);
  margin-bottom: 10px;
}
.lp-card-big p {
  font-size: 14px;
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 16px;
}

/* step timeline */
.lp-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.lp-steps.n5 {
  grid-template-columns: repeat(5, 1fr);
}
@media (max-width: 900px) {
  .lp-steps,
  .lp-steps.n5 {
    grid-template-columns: 1fr;
  }
}
.lp-step {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  padding: 18px;
}
.lp-step .num {
  width: 32px;
  height: 32px;
  border-radius: 9999px;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 14px;
  margin-bottom: 10px;
}
.lp-step p {
  font-size: 13.5px;
  color: var(--text);
  line-height: 1.6;
}

/* chips */
.lp-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.lp-chip {
  background: var(--tint);
  color: var(--primary-text);
  border-radius: 9999px;
  padding: 9px 16px;
  font-size: 13.5px;
  font-weight: 600;
}

/* aiclone banner */
.lp-banner {
  background: var(--navy);
  border: 2px solid;
  border-image: linear-gradient(90deg, var(--grad-a), var(--grad-b)) 1;
  border-radius: var(--r-card);
  padding: 28px;
  color: #fff;
  text-align: center;
}
.lp-banner h3 {
  font-size: 20px;
  margin-bottom: 10px;
}
.lp-banner p {
  opacity: 0.85;
  max-width: 640px;
  margin: 0 auto 16px;
  line-height: 1.6;
  font-size: 14px;
}

/* testimonial */
.lp-quote {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  padding: 22px;
}
.lp-quote .stars {
  margin-bottom: 10px;
}
.lp-quote p {
  font-size: 14.5px;
  color: var(--text);
  line-height: 1.7;
  font-style: italic;
}

/* cta final */
.lp-cta-final {
  background: linear-gradient(90deg, var(--grad-a), var(--grad-b));
  color: #fff;
  padding: 48px 20px;
  text-align: center;
  box-sizing: border-box;
  width: 100%;
  overflow: hidden;
}
.lp-cta-final h2 {
  font-size: clamp(18px, 4.5vw, 24px);
  font-weight: 800;
  max-width: 700px;
  margin: 0 auto 20px;
  line-height: 1.35;
  word-break: break-word;
  overflow-wrap: anywhere;
}
@media (min-width: 900px) {
  .lp-nowrap-desktop {
    white-space: nowrap;
  }
}
.lp-cta-final .lp-hero-cta {
  width: 100%;
  max-width: 700px;
  margin: 0 auto;
}
.lp-cta-final .lp-hero-cta .btn {
  white-space: normal;
  height: auto;
  min-height: 48px;
  padding: 10px 18px;
  line-height: 1.35;
  text-align: center;
  word-break: break-word;
  max-width: 100%;
  box-sizing: border-box;
}
.lp-cta-final .lp-hero-cta .btn.ghost {
  background: #fff;
  color: var(--primary-text);
}
@media (max-width: 640px) {
  .lp-cta-final {
    padding: 32px 14px;
  }
  .lp-cta-final h2 {
    font-size: 18px;
    margin-bottom: 16px;
  }
  .lp-hero-cta,
  .lp-cta-final .lp-hero-cta {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 10px;
  }
  .lp-hero-cta .btn,
  .lp-cta-final .lp-hero-cta .btn {
    width: 100%;
    padding: 12px 14px;
    font-size: 14px;
  }
}

/* footer */
.lp-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.85);
  padding: 36px 20px 0;
}
.lp-footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  font-size: 13px;
  line-height: 1.7;
}
.lp-footer-inner a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
}
.lp-footer-inner a:hover {
  color: var(--grad-b);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.lp-footer-top {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.lp-footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}
.lp-footer-logo {
  height: 34px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
}
.lp-footer-brand p {
  margin: 0;
  max-width: 320px;
  opacity: 0.85;
}
.lp-footer-cols {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px 24px;
}
.lp-footer-col h4 {
  margin: 0 0 4px;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.lp-footer-col a,
.lp-footer-col p {
  display: block;
  margin: 0 0 8px;
}
.lp-footer-bottom-wrap {
  width: 100% !important;
  border-top: 1px solid rgba(255, 255, 255, 0.12) !important;
  margin-top: 28px !important;
  padding: 16px 20px 20px 20px !important;
  box-sizing: border-box !important;
}
.lp-footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  border-top: none !important;
  text-align: center;
  font-size: 12.5px;
  opacity: 0.75;
}
.lp-footer-bottom p {
  margin: 0;
}
@media (min-width: 601px) {
  .lp-footer-cols {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1025px) {
  .lp-footer-top {
    flex-direction: row;
    justify-content: space-between;
    gap: 40px;
  }
  .lp-footer-brand {
    max-width: 280px;
    flex-shrink: 0;
  }
  .lp-footer-cols {
    grid-template-columns: repeat(3, 1fr);
    flex: 1;
  }
}

/* accordion */
.lp-acc-item {
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-bottom: 10px;
  overflow: hidden;
  background: #fff;
}
.lp-acc-q {
  padding: 14px 16px;
  font-weight: 600;
  font-size: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}
.lp-acc-q::after {
  content: "+";
  font-size: 18px;
  color: var(--primary);
  flex-shrink: 0;
  margin-left: 10px;
}
.lp-acc-item.open .lp-acc-q::after {
  content: "−";
}
.lp-acc-a {
  max-height: 0;
  overflow: hidden;
  transition: 0.2s;
  font-size: 13.5px;
  color: var(--muted);
  padding: 0 16px;
  line-height: 1.6;
}
.lp-acc-item.open .lp-acc-a {
  max-height: 400px;
  padding: 0 16px 16px;
}
.lp-faq-group-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--primary-text);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin: 22px 0 10px;
}
.lp-faq-group-title:first-child {
  margin-top: 0;
}

/* pricing */
.lp-pricing-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  padding: 20px;
  position: relative;
}
.lp-pricing-card.featured {
  border-color: var(--primary);
  box-shadow: 0 6px 20px rgba(238, 77, 45, 0.14);
}
.lp-pricing-card .badge-popular {
  position: absolute;
  top: -11px;
  right: 16px;
  background: var(--primary);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 9999px;
}
.lp-pricing-card h3 {
  font-size: 16px;
  margin-bottom: 8px;
}
.lp-pricing-card p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.7;
}

/* box highlight */
.lp-box {
  background: var(--tint);
  border-radius: 12px;
  padding: 16px;
  font-size: 13.5px;
  color: var(--text);
  line-height: 1.7;
}
.lp-box.on-dark {
  background: hsla(0, 0%, 100%, 0.1);
  color: #fff;
}

/* two column with mockup */
.lp-flow-line {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px;
  font-size: 13.5px;
  line-height: 2;
  color: var(--text);
}

/* leader recruit card */
.lp-recruit-card {
  background: var(--navy);
  color: #fff;
  border-radius: var(--r-card);
  padding: 22px;
}
.lp-recruit-card p {
  opacity: 0.85;
  line-height: 1.7;
  font-size: 14px;
  margin-bottom: 14px;
}

/* search box */
.lp-search-box {
  max-width: 560px;
  margin: 0 auto;
}
.lp-search-box input {
  height: 48px;
  border-radius: 9999px;
  padding: 0 20px;
}

/* red quote CTA (Liên hệ nhận báo giá trực tiếp) */
.lp-quote-cta-wrap {
  text-align: center;
  margin: 0 0 20px;
}
.lp-quote-cta {
  display: inline-block;
  background: #b91c1c;
  color: #fff;
  border: none;
  height: 48px;
  padding: 0 28px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  font-family: inherit;
  transition: filter 0.15s;
}
.lp-quote-cta:hover {
  filter: brightness(1.08);
}

/* contact form */
.lp-contact-wrap {
  max-width: 520px;
  margin: 0 auto;
}
.lp-contact-success {
  display: none;
  text-align: center;
  padding: 30px 10px;
}
.lp-contact-success .ico {
  font-size: 36px;
  margin-bottom: 10px;
}

/* compare table */
.lp-compare {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
}
.lp-compare th,
.lp-compare td {
  border: 1px solid var(--border);
  padding: 12px 14px;
  text-align: left;
  vertical-align: top;
}
.lp-compare th {
  background: var(--screen);
  font-weight: 700;
}

.lp-muted {
  color: var(--muted);
  font-size: 13px;
  margin-top: 10px;
}

/* ===== Media frames (images / video) — responsive, aspect-locked, lazy ===== */
.lp-media {
  margin: 0;
  border-radius: var(--r-card);
  overflow: hidden;
  background: var(--screen);
  border: 1px solid var(--border);
}
.lp-media-inner {
  position: relative;
  width: 100%;
  aspect-ratio: var(--ratio, 16/9);
  background: linear-gradient(135deg, #e9edf3, #f5f5f5);
}
.lp-media-inner img,
.lp-media-inner video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Riêng video "4 bước cho một chiến dịch trọn vẹn" (trang chủ) — fix cứng chiều rộng, tự co theo đúng tỉ lệ thật của video (không viền đen thừa) */
.lp-section-media.lp-media-howitworks {
  width: 700px;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}
.lp-media-howitworks .lp-media-inner {
  aspect-ratio: auto;
  position: static;
}
.lp-media-howitworks .lp-media-inner video {
  position: static;
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}

.lp-media-ph {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
  padding: 14px;
  color: var(--muted);
}
.lp-media-icon {
  font-size: 34px;
  opacity: 0.5;
}
.lp-media-video .lp-media-icon {
  width: 54px;
  height: 54px;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: #fff;
  font-size: 22px;
  opacity: 1;
  padding-left: 4px;
}
.lp-media-hint {
  font-size: 11.5px;
  max-width: 180px;
  line-height: 1.4;
}
.lp-media-credit {
  position: absolute;
  bottom: 6px;
  right: 8px;
  font-size: 10px;
  color: #fff;
  background: rgba(0, 0, 0, 0.45);
  padding: 2px 7px;
  border-radius: 9999px;
  text-decoration: none;
}
.lp-media-credit:hover {
  background: rgba(0, 0, 0, 0.65);
}

/* Hero with side media (desktop) */
.lp-hero.has-media .lp-hero-inner {
  max-width: none;
}
@media (min-width: 900px) {
  .lp-hero.has-media {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 36px;
    align-items: center;
    max-width: 1160px;
    margin: 0 auto;
    padding: 60px 20px;
  }
  .lp-hero.has-media .lp-hero-inner {
    text-align: left;
    margin: 0;
  }
  .lp-hero.has-media .lp-hero-inner p.lp-sub {
    margin-left: 0;
  }
  .lp-hero.has-media .lp-hero-cta {
    justify-content: flex-start;
  }
}
.lp-hero-media {
  margin-top: 26px;
}
@media (min-width: 900px) {
  .lp-hero-media {
    margin-top: 0;
  }
}
.lp-hero-media .lp-media {
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.3);
}

/* alternating feature row */
.lp-feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: center;
  margin-top: 24px;
}
.lp-feature-row.reverse .lp-feature-media {
  order: 2;
}
.lp-feature-text h3 {
  font-size: 19px;
  font-weight: 800;
  margin-bottom: 10px;
  color: var(--text);
}
.lp-feature-text p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
}
@media (max-width: 760px) {
  .lp-feature-row {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .lp-feature-row.reverse .lp-feature-media {
    order: 0;
  }
}

/* scroll reveal */
.lp-reveal-init {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.55s ease,
    transform 0.55s ease;
}
.lp-reveal-init.lp-in {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .lp-reveal-init {
    opacity: 1 !important;
    transform: none !important;
    transition: none;
  }
}

/* section media block (centered, constrained) */
.lp-section-media {
  max-width: 900px;
  margin: 0 auto 28px;
}

/* Responsive invariants retained across every source landing route. */
html,
body {
  overflow-x: clip;
}

.lp-hero h1,
.lp-section h2,
.lp-banner h3 {
  min-width: 0;
  overflow-wrap: anywhere;
}

.lp-banner .btn {
  white-space: nowrap;
}
