/* 24/7 Landing homepage redesign — responsive, logic-preserving chrome */
@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@500;600;700&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  --lp-blue: #0055ff;
  --lp-blue-soft: #eef3ff;
  --lp-blue-mid: #d6e4ff;
  --lp-ink: #0f172a;
  --lp-muted: #64748b;
  --lp-line: #e2e8f0;
  --lp-white: #ffffff;
  --lp-page: #ffffff;
  --lp-surface: #ffffff;
  --lp-surface-2: #fafbfd;
  --lp-surface-3: #f1f5f9;
  --lp-header-bg: rgba(255, 255, 255, 0.92);
  --lp-header-border: rgba(226, 232, 240, 0.8);
  --lp-hero-grad-a: rgba(0, 85, 255, 0.08);
  --lp-hero-grad-b: #f7f9ff;
  --lp-hero-grad-c: #ffffff;
  --lp-heading: #0b1b4d;
  --lp-chip-bg: #f1f5f9;
  --lp-chip-fg: #334155;
  --lp-card-border: #e2e8f0;
  --lp-radius: 14px;
  --lp-radius-sm: 10px;
  --lp-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  --lp-max: 1180px;
  --bs-primary: #0055ff;
  --bs-primary-rgb: 0, 85, 255;
}

[data-bs-theme="dark"] {
  --lp-blue: #3b82f6;
  --lp-blue-soft: rgba(59, 130, 246, 0.16);
  --lp-blue-mid: rgba(59, 130, 246, 0.35);
  --lp-ink: #e2e8f0;
  --lp-muted: #94a3b8;
  --lp-line: #2a3347;
  --lp-white: #121826;
  --lp-page: #0b1220;
  --lp-surface: #121826;
  --lp-surface-2: #0f172a;
  --lp-surface-3: #1a2336;
  --lp-header-bg: rgba(11, 18, 32, 0.92);
  --lp-header-border: rgba(42, 51, 71, 0.9);
  --lp-hero-grad-a: rgba(59, 130, 246, 0.14);
  --lp-hero-grad-b: #0f172a;
  --lp-hero-grad-c: #0b1220;
  --lp-heading: #f8fafc;
  --lp-chip-bg: #1a2336;
  --lp-chip-fg: #cbd5e1;
  --lp-card-border: #2a3347;
  --lp-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}

body.lp-redesign,
body.lp-redesign .main-content {
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: var(--lp-ink);
  background: var(--lp-page);
}

body.lp-redesign .body-bg,
body.lp-redesign {
  background: var(--lp-page) !important;
}

.lp-script {
  font-family: 'Caveat', cursive;
  font-weight: 600;
  color: var(--lp-blue);
  line-height: 1.1;
}

/* ——— Header ——— */
body.lp-redesign .top-header {
  display: none !important;
}

body.lp-redesign header {
  position: sticky;
  top: 0;
  z-index: 1040;
  background: var(--lp-header-bg);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--lp-header-border);
}

body.lp-redesign .iq-navbar,
body.lp-redesign .navbar {
  padding-top: 0.35rem;
  padding-bottom: 0.35rem;
}

body.lp-redesign .landing-header {
  min-height: 72px;
  gap: 1rem;
}

body.lp-redesign .navbar-brand img {
  max-height: 36px;
  width: auto;
}

body.lp-redesign #navbar_main .iq-nav-menu {
  gap: 0.15rem;
}

body.lp-redesign #navbar_main .nav-link {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--lp-ink) !important;
  padding: 0.55rem 0.7rem !important;
  border-radius: 8px;
}

body.lp-redesign #navbar_main .nav-link.active,
body.lp-redesign #navbar_main .nav-link:hover {
  color: var(--lp-blue) !important;
  background: transparent;
}

body.lp-redesign .lp-header-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

body.lp-redesign .lp-btn-ghost {
  color: var(--lp-ink);
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
  padding: 0.45rem 0.75rem;
}

body.lp-redesign .lp-btn-ghost:hover {
  color: var(--lp-blue);
}

body.lp-redesign .lp-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  background: var(--lp-blue);
  color: #fff !important;
  font-weight: 700;
  font-size: 0.92rem;
  border-radius: 999px;
  padding: 0.65rem 1.15rem;
  text-decoration: none;
  border: none;
  box-shadow: 0 8px 20px rgba(0, 85, 255, 0.25);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

body.lp-redesign .lp-btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(0, 85, 255, 0.32);
  color: #fff !important;
}

body.lp-redesign .lp-icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--lp-ink);
  text-decoration: none;
  border: 1px solid transparent;
}

body.lp-redesign .lp-icon-btn:hover {
  background: var(--lp-blue-soft);
  color: var(--lp-blue);
}

/* ——— Shared section chrome ——— */
.lp-container {
  width: min(100% - 2rem, var(--lp-max));
  margin-inline: auto;
}

.lp-section {
  padding: 4.5rem 0;
}

.lp-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.lp-section-head h2,
.lp-section-title {
  font-size: clamp(1.45rem, 2.4vw, 1.85rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--lp-ink);
}

.lp-link-all {
  color: var(--lp-blue);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  white-space: nowrap;
}

.lp-link-all:hover {
  text-decoration: underline;
}

/* ——— Hero ——— */
.lp-hero {
  padding: 2.5rem 0 3.5rem;
  /* Clipping is scoped here: the hero art bleeds sideways, and clipping a
     shared ancestor would also clip the sticky header. */
  overflow-x: clip;
  background:
    radial-gradient(1200px 500px at 10% -10%, var(--lp-hero-grad-a), transparent 60%),
    linear-gradient(180deg, var(--lp-hero-grad-b) 0%, var(--lp-hero-grad-c) 70%);
}

.lp-hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.5rem;
  align-items: center;
}

.lp-eyebrow {
  display: inline-block;
  color: var(--lp-blue);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.85rem;
}

.lp-hero h1 {
  font-size: clamp(2rem, 4.2vw, 3.15rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.12;
  margin: 0 0 1rem;
  color: var(--lp-heading);
}

.lp-hero-lead {
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--lp-muted);
  max-width: 34rem;
  margin-bottom: 1.5rem;
}

.lp-hero-search {
  margin-bottom: 1rem;
}

.lp-hero-search .search-box-wrapper,
.lp-hero .bg-body.search-box-wrapper {
  background: var(--lp-surface) !important;
  border: 1px solid var(--lp-line);
  border-radius: 999px;
  box-shadow: var(--lp-shadow);
  padding: 0.4rem 0.4rem 0.4rem 1rem !important;
  overflow: visible;
}

.lp-hero-search .search-box-wrapper > .d-flex {
  gap: 0.5rem;
  flex-wrap: nowrap !important;
  align-items: center !important;
  width: 100%;
}

.lp-hero-search .search-box-wrapper > .d-flex > .d-flex {
  flex: 1 1 auto;
  min-width: 0;
  flex-wrap: nowrap !important;
  width: 100%;
}

.lp-hero-search .search-box-wrapper .btn-primary {
  border-radius: 999px !important;
  padding: 0.85rem 1.4rem !important;
  font-weight: 700;
  min-width: 96px;
  flex: 0 0 auto;
  align-self: center;
}

.lp-hero-search .form-group.input-group {
  border: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  flex: 1 1 auto;
  min-width: 0;
  width: 100%;
  align-items: center !important;
  flex-wrap: nowrap !important;
}

.lp-hero-search .border-start {
  border: 0 !important;
}

/* Location control is hidden; kill its padding so it doesn't steal space. */
.lp-hero-search [data-bs-target="#modal-location"] {
  display: none !important;
  padding: 0 !important;
  margin: 0 !important;
  width: 0 !important;
  height: 0 !important;
  overflow: hidden !important;
}

.lp-hero-search .p-3 {
  padding: 0 !important;
  flex: 1 1 auto;
  min-width: 0;
  width: 100%;
}

.lp-hero-search .input-group-text {
  padding: 0 0.55rem 0 0 !important;
  line-height: 1;
  display: inline-flex !important;
  align-items: center !important;
  align-self: center;
}

.lp-hero-search input.font-size-14,
.lp-hero-search input[type="text"] {
  flex: 1 1 auto;
  min-width: 0 !important;
  width: 100% !important;
  max-width: none !important;
  /* Avoid fixed height: Chromium clips placeholder descenders when
     height + line-height fight. Let padding define the click target. */
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  padding: 0.95rem 0.4rem !important;
  margin: 0 !important;
  border: 0 !important;
  outline: none !important;
  box-shadow: none !important;
  font-size: 1rem !important;
  line-height: 1.5 !important;
  overflow: visible !important;
  text-overflow: clip !important;
  white-space: nowrap;
  box-sizing: border-box !important;
  vertical-align: middle;
  background: transparent !important;
  color: var(--lp-ink) !important;
}

.lp-hero-search input.font-size-14::placeholder,
.lp-hero-search input[type="text"]::placeholder {
  color: #94a3b8 !important;
  opacity: 1 !important;
  line-height: 1.5 !important;
  font-size: 1rem !important;
}

.lp-hero-search input.font-size-14::-webkit-input-placeholder,
.lp-hero-search input[type="text"]::-webkit-input-placeholder {
  line-height: normal !important;
  position: relative;
  top: 0;
}

/* Hide legacy popular-services chips rendered by LocationSearch under the pill */
.lp-hero-search .search-box-wrapper + .mt-3,
.lp-hero-search .categories-list {
  display: none !important;
}

/* Live search suggestions — restyle legacy + new Vue dropdown under the pill */
.lp-hero-search .lp-search-field,
.lp-hero-search .form-group.input-group {
  position: relative;
}

.lp-hero-search .dropdown-menu.user-dropdown,
.lp-hero-search .top-width.dropdown-menu,
.lp-hero-search .lp-search-dropdown {
  position: absolute !important;
  left: 0 !important;
  right: 0 !important;
  top: calc(100% + 0.65rem) !important;
  bottom: auto !important;
  transform: none !important;
  z-index: 30 !important;
  display: none;
  float: none !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0.45rem !important;
  background: var(--lp-surface) !important;
  border: 1px solid var(--lp-line) !important;
  border-radius: 16px !important;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12) !important;
  max-height: min(360px, 55vh);
  overflow: auto;
}

.lp-hero-search .dropdown-menu.user-dropdown.show.lp-search-ready,
.lp-hero-search .top-width.dropdown-menu.show.lp-search-ready,
.lp-hero-search .lp-search-dropdown {
  display: block !important;
}

.lp-hero-search .custom-btn-close,
.lp-search-dropdown__close {
  position: absolute !important;
  top: 0.45rem !important;
  right: 0.45rem !important;
  width: 28px !important;
  height: 28px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: var(--lp-surface-3) !important;
  color: var(--lp-muted) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer;
  z-index: 2;
  padding: 0 !important;
  line-height: 1 !important;
}

.lp-hero-search .custom-btn-close svg {
  width: 16px !important;
  height: 16px !important;
}

.lp-hero-search .location-search-dropdown,
.lp-hero-search .searchbox-datalink,
.lp-hero-search .global-search-result {
  display: block;
  width: 100%;
}

.lp-hero-search .iq-post,
.lp-search-dropdown__list {
  list-style: none !important;
  margin: 0 !important;
  padding: 0.15rem 0 !important;
}

.lp-hero-search .iq-post > li {
  margin: 0 !important;
  padding: 0 !important;
  display: block !important;
}

.lp-hero-search .iq-post > li > a,
.lp-hero-search .lp-search-dropdown__item {
  display: flex !important;
  align-items: center !important;
  gap: 0.75rem !important;
  padding: 0.55rem 2.25rem 0.55rem 0.55rem !important;
  border-radius: 12px !important;
  text-decoration: none !important;
  color: inherit !important;
  transition: background 0.12s ease;
}

.lp-hero-search .iq-post > li > a:hover,
.lp-hero-search .lp-search-dropdown__item:hover {
  background: var(--lp-blue-soft) !important;
}

.lp-hero-search .post-img {
  display: flex !important;
  align-items: center !important;
  gap: 0.75rem !important;
  width: 100%;
}

.lp-hero-search .post-img-holder,
.lp-search-dropdown__thumb {
  flex: 0 0 40px !important;
  width: 40px !important;
  height: 40px !important;
  border-radius: 10px !important;
  overflow: hidden !important;
  background: var(--lp-surface-3) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.lp-hero-search .post-img-holder img,
.lp-search-dropdown__thumb img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  border-radius: 10px !important;
}

.lp-hero-search .post-blog,
.lp-hero-search .blog-box,
.lp-search-dropdown__meta {
  min-width: 0;
  flex: 1 1 auto;
  padding: 0 !important;
}

.lp-hero-search .blog-box .nav-link,
.lp-hero-search .blog-box a,
.lp-search-dropdown__name {
  display: block !important;
  font-size: 0.92rem !important;
  font-weight: 600 !important;
  line-height: 1.35 !important;
  color: var(--lp-ink) !important;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding: 0 !important;
  margin: 0 !important;
}

.lp-hero-search .iq-post.list-inline,
.lp-search-dropdown__empty {
  padding: 1rem 2.25rem 1rem 0.85rem !important;
  font-size: 0.9rem !important;
  color: var(--lp-muted) !important;
}

.lp-search-dropdown__all {
  display: block;
  margin: 0.15rem 0.35rem 0.35rem;
  padding: 0.55rem 0.75rem;
  border-radius: 10px;
  text-align: center;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--lp-blue);
  text-decoration: none;
  background: var(--lp-blue-soft);
}

.lp-search-dropdown__all:hover {
  color: var(--lp-blue);
}

.lp-popular {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin: 1rem 0 1.75rem;
  font-size: 0.9rem;
  color: var(--lp-muted);
}

.lp-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  background: var(--lp-chip-bg);
  color: var(--lp-chip-fg);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.85rem;
  transition: background 0.15s ease, color 0.15s ease;
}

.lp-chip:hover {
  background: var(--lp-blue-soft);
  color: var(--lp-blue);
}

.lp-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  padding-top: 0.5rem;
}

.lp-stat strong {
  display: block;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--lp-ink);
  letter-spacing: -0.02em;
}

.lp-stat span {
  display: block;
  font-size: 0.82rem;
  color: var(--lp-muted);
  margin-top: 0.15rem;
}

.lp-hero-visual {
  position: relative;
  min-height: 420px;
}

.lp-hero-visual__room {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  border-radius: 28px;
  box-shadow: var(--lp-shadow);
}

.lp-hero-visual__phone {
  position: absolute;
  left: 8%;
  bottom: -6%;
  width: min(42%, 210px);
  filter: drop-shadow(0 18px 30px rgba(15, 23, 42, 0.28));
  transform: rotate(-6deg);
  z-index: 2;
}

.lp-hero-visual__note {
  position: absolute;
  right: 4%;
  top: 10%;
  max-width: 11rem;
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  transform: rotate(4deg);
  z-index: 3;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.7);
}

/* ——— Categories ——— */
.lp-cat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem 1.15rem;
}

.lp-cat-card {
  text-decoration: none;
  color: inherit;
  text-align: center;
  min-width: 0;
}

.lp-cat-card:hover {
  color: inherit;
}

.lp-cat-card__media {
  background: var(--lp-blue-soft);
  border-radius: 18px;
  height: 132px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.lp-cat-card:hover .lp-cat-card__media {
  transform: translateY(-3px);
  box-shadow: var(--lp-shadow);
}

.lp-cat-card__media img {
  width: 72px;
  height: 72px;
  object-fit: contain;
}

.lp-cat-card__fallback {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--lp-surface);
  color: var(--lp-blue);
  font-weight: 800;
  font-size: 1.35rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.lp-cat-card h3 {
  font-size: 0.88rem;
  font-weight: 700;
  margin: 0.7rem 0 0;
  line-height: 1.3;
}

/* Legacy Vue category section (if still mounted elsewhere) */
.lp-categories .lp-cat-shell {
  position: relative;
}

.lp-cat-row {
  display: none;
}

.lp-cat-nav {
  display: none !important;
}

.lp-categories section > .row {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem 1.15rem;
  margin: 0 !important;
  overflow: visible;
}

.lp-categories section > .row > [class*='col'] {
  flex: none !important;
  max-width: none !important;
  width: auto !important;
  padding: 0 !important;
}

.lp-categories .card {
  background: var(--lp-blue-soft) !important;
  border: 0 !important;
  border-radius: 18px !important;
  box-shadow: none !important;
  height: 100%;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.lp-categories .card:hover {
  transform: translateY(-3px);
  box-shadow: var(--lp-shadow);
}

.lp-categories .category-card {
  padding: 1rem 0.75rem 1.1rem !important;
}

.lp-categories .img-bg {
  background: transparent !important;
  width: 100%;
  height: 88px;
  display: flex !important;
  align-items: center;
  justify-content: center;
}

.lp-categories .img-bg img,
.lp-categories .avatar-70 {
  width: 72px !important;
  height: 72px !important;
  object-fit: contain;
}

.lp-categories .categories-name {
  font-size: 0.88rem !important;
  font-weight: 700 !important;
  margin-top: 0.65rem !important;
  margin-bottom: 0 !important;
  line-height: 1.3 !important;
}

.lp-categories .categories-desc {
  display: none !important;
}

/* ——— How it works ——— */
.lp-how {
  background: var(--lp-surface-2);
}

.lp-how-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: center;
}

.lp-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.lp-step {
  position: relative;
  padding-right: 1rem;
}

.lp-step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 1.15rem;
  right: -0.35rem;
  width: 1.5rem;
  height: 2px;
  background: var(--lp-blue-mid);
}

.lp-step__num {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: var(--lp-blue);
  color: #fff;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.85rem;
}

.lp-step h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 0.4rem;
}

.lp-step p {
  margin: 0;
  color: var(--lp-muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.lp-how-note {
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  max-width: 9rem;
  text-align: right;
  transform: rotate(3deg);
}

/* ——— Providers ——— */
.lp-providers-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1rem;
}

.lp-provider-card {
  text-decoration: none;
  color: inherit;
  display: block;
  border-radius: 16px;
  overflow: hidden;
  background: var(--lp-surface);
  border: 1px solid var(--lp-card-border);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.lp-provider-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--lp-shadow);
  color: inherit;
}

.lp-provider-card__img {
  aspect-ratio: 1 / 1.05;
  width: 100%;
  object-fit: cover;
  display: block;
  background: var(--lp-surface-3);
}

.lp-provider-card__body {
  padding: 0.85rem 0.9rem 1rem;
}

.lp-provider-card__name {
  font-weight: 750;
  font-size: 0.98rem;
  margin: 0 0 0.25rem;
  line-height: 1.25;
}

.lp-provider-card__rating {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.85rem;
  color: var(--lp-chip-fg);
  margin-bottom: 0.2rem;
}

.lp-provider-card__rating svg {
  color: #f5b301;
  flex-shrink: 0;
}

.lp-provider-card__type {
  font-size: 0.8rem;
  color: var(--lp-muted);
  margin: 0;
}

/* ——— App banner ——— */
.lp-app {
  background:
    linear-gradient(135deg, rgba(0, 85, 255, 0.08), rgba(0, 85, 255, 0.02)),
    repeating-linear-gradient(
      -25deg,
      transparent,
      transparent 18px,
      rgba(0, 85, 255, 0.035) 18px,
      rgba(0, 85, 255, 0.035) 19px
    ),
    var(--lp-blue-soft);
  border-radius: 28px;
  padding: 2.5rem 2.25rem;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.5rem;
  align-items: center;
  overflow: hidden;
}

.lp-app h2 {
  font-size: clamp(1.45rem, 2.6vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 0.65rem;
  max-width: 22ch;
}

.lp-app p {
  color: var(--lp-muted);
  margin: 0 0 1.25rem;
  max-width: 36ch;
}

.lp-store-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.lp-store-btns a img {
  height: 44px;
  width: auto;
}

.lp-app__phone {
  justify-self: end;
  width: min(100%, 260px);
  filter: drop-shadow(0 20px 35px rgba(15, 23, 42, 0.2));
  transform: rotate(8deg);
}

/* ——— Blog ——— */
.lp-blog-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.15rem;
}

.lp-blog-card {
  text-decoration: none;
  color: inherit;
  display: block;
}

.lp-blog-card:hover {
  color: inherit;
}

.lp-blog-card__img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 16px;
  background: var(--lp-surface-3);
  margin-bottom: 0.85rem;
}

.lp-blog-card__date {
  font-size: 0.8rem;
  color: var(--lp-muted);
  margin-bottom: 0.35rem;
}

.lp-blog-card__title {
  font-size: 1rem;
  font-weight: 750;
  line-height: 1.35;
  margin: 0;
}

/* ——— Dual CTA ——— */
.lp-dual {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 1.15rem;
}

.lp-cta-card {
  border-radius: 22px;
  padding: 1.75rem;
  min-height: 210px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  position: relative;
}

.lp-cta-card--muted {
  background: var(--lp-surface-3);
}

.lp-cta-card--blue {
  background: var(--lp-blue);
  color: #fff;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1rem;
  align-items: center;
}

.lp-cta-card h3 {
  font-size: 1.35rem;
  font-weight: 800;
  margin: 0 0 0.55rem;
  letter-spacing: -0.02em;
}

.lp-cta-card p {
  margin: 0;
  opacity: 0.9;
  max-width: 28ch;
}

.lp-cta-card--muted p {
  color: var(--lp-muted);
}

.lp-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 1.25rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--lp-blue);
}

.lp-cta-card--blue .lp-cta-btn {
  background: #fff;
  color: var(--lp-blue);
  border-radius: 999px;
  padding: 0.7rem 1.05rem;
  width: fit-content;
}

.lp-cta-card__img {
  width: 100%;
  max-height: 180px;
  object-fit: cover;
  border-radius: 16px;
  justify-self: end;
}

/* ——— Footer ——— */
body.lp-redesign footer.footer,
body.lp-redesign .footer {
  background: #0b1220 !important;
  color: #cbd5e1 !important;
  margin-top: 2rem;
}

body.lp-redesign .footer-top {
  padding: 3.5rem 0 2rem;
}

body.lp-redesign .lp-footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, minmax(0, 1fr));
  gap: 2rem;
}

body.lp-redesign .lp-footer-brand p {
  color: #94a3b8;
  margin: 1rem 0 0;
  max-width: 28ch;
  line-height: 1.55;
}

body.lp-redesign .lp-footer-col h5 {
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

body.lp-redesign .lp-footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

body.lp-redesign .lp-footer-col li + li {
  margin-top: 0.55rem;
}

body.lp-redesign .lp-footer-col a {
  color: #94a3b8;
  text-decoration: none;
  font-size: 0.9rem;
}

body.lp-redesign .lp-footer-col a:hover {
  color: #fff;
}

body.lp-redesign .lp-social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

body.lp-redesign .lp-social a {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

body.lp-redesign .footer-bottom {
  border-top: 1px solid rgba(148, 163, 184, 0.2);
  padding: 1.1rem 0;
}

body.lp-redesign .footer-bottom,
body.lp-redesign .footer-bottom a,
body.lp-redesign .footer-bottom p {
  color: #94a3b8 !important;
}

body.lp-redesign .lp-lang {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: #e2e8f0 !important;
  text-decoration: none;
  font-weight: 600;
}

/* Hide old heavy footer blocks when redesign footer markup is present */
body.lp-redesign .footer .footer-inner-box .readmore-btn,
body.lp-redesign .footer .iq-footer-catogery-list,
body.lp-redesign .footer .popular-service-list {
  /* kept if old markup still rendered; redesign footer replaces structure */
}

/* ——— Responsive ——— */
@media (max-width: 1199.98px) {
  .lp-providers-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .lp-blog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.lp-redesign .lp-footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 991.98px) {
  .lp-hero-grid,
  .lp-app,
  .lp-dual,
  .lp-cta-card--blue,
  .lp-how-grid {
    grid-template-columns: 1fr;
  }

  .lp-hero {
    padding-top: 1.5rem;
  }

  .lp-hero-visual {
    order: -1;
    min-height: 0;
    height: 240px;
    margin-bottom: 1.5rem;
  }

  .lp-hero-visual__room {
    min-height: 0;
    height: 100%;
    border-radius: 20px;
  }

  /* The floating phone overlaps the copy once the grid collapses. */
  .lp-hero-visual__phone {
    display: none;
  }

  .lp-hero-visual__note {
    top: auto;
    bottom: 0.75rem;
    right: 1rem;
    font-size: 1.35rem;
    max-width: 8rem;
  }

  .lp-how-note {
    text-align: left;
    max-width: none;
  }

  .lp-steps {
    grid-template-columns: 1fr;
  }

  .lp-step:not(:last-child)::after {
    display: none;
  }

  .lp-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .lp-app__phone {
    justify-self: center;
    transform: rotate(0deg);
  }

  .lp-cat-grid,
  .lp-categories section > .row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 575.98px) {
  .lp-section {
    padding: 3rem 0;
  }

  .lp-providers-grid,
  .lp-blog-grid,
  body.lp-redesign .lp-footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .lp-cat-grid,
  .lp-categories section > .row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
  }

  .lp-cat-card__media {
    height: 112px;
  }

  .lp-blog-grid {
    grid-template-columns: 1fr;
  }

  .lp-hero-search .search-box-wrapper > .d-flex {
    flex-direction: column;
    align-items: stretch !important;
    flex-wrap: wrap !important;
  }

  .lp-hero-search .search-box-wrapper {
    border-radius: 18px;
    padding: 0.75rem !important;
  }

  .lp-hero-search .search-box-wrapper .btn-primary {
    width: 100%;
  }

  .lp-hero-search input.font-size-14,
  .lp-hero-search input[type="text"] {
    white-space: normal;
  }

  body.lp-redesign .lp-btn-primary span.lp-btn-label-short {
    display: inline;
  }
}

@media (min-width: 1200px) {
  body.lp-redesign .horizontal-nav {
    position: static !important;
    transform: none !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
}

/* ——— Dark mode polish (header/chrome + redesign sections + shared pages) ——— */
[data-bs-theme="dark"] body.lp-redesign .change-mode,
[data-bs-theme="dark"] body.lp-redesign .lp-icon-btn,
[data-bs-theme="dark"] body.lp-redesign .mode-icons {
  color: var(--lp-ink);
}

[data-bs-theme="dark"] body.lp-redesign .lp-hero-visual__note {
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.55);
}

[data-bs-theme="dark"] body.lp-redesign .lp-hero-search .input-group-text,
[data-bs-theme="dark"] body.lp-redesign .lp-hero-search svg {
  color: var(--lp-muted) !important;
}

[data-bs-theme="dark"] body.lp-redesign .lp-how .lp-step h3,
[data-bs-theme="dark"] body.lp-redesign .lp-provider-card__name,
[data-bs-theme="dark"] body.lp-redesign .lp-blog-card__title,
[data-bs-theme="dark"] body.lp-redesign .lp-cat-card h3,
[data-bs-theme="dark"] body.lp-redesign .lp-app h2,
[data-bs-theme="dark"] body.lp-redesign .lp-cta-card--muted h3 {
  color: var(--lp-heading);
}

[data-bs-theme="dark"] body.lp-redesign .lp-categories .categories-name {
  color: var(--lp-ink) !important;
}

/* Shared listing/detail cards on non-home landing pages */
[data-bs-theme="dark"] body.lp-redesign .card,
[data-bs-theme="dark"] body.lp-redesign .card-body,
[data-bs-theme="dark"] body.lp-redesign .bg-white,
[data-bs-theme="dark"] body.lp-redesign .bg-body,
[data-bs-theme="dark"] body.lp-redesign .modal-content {
  background-color: var(--lp-surface) !important;
  color: var(--lp-ink);
}

[data-bs-theme="dark"] body.lp-redesign .bg-light,
[data-bs-theme="dark"] body.lp-redesign .bg-soft-primary {
  background-color: var(--lp-surface-3) !important;
}

[data-bs-theme="dark"] body.lp-redesign .text-dark,
[data-bs-theme="dark"] body.lp-redesign .text-body {
  color: var(--lp-ink) !important;
}

[data-bs-theme="dark"] body.lp-redesign .text-muted,
[data-bs-theme="dark"] body.lp-redesign .text-body-secondary {
  color: var(--lp-muted) !important;
}

[data-bs-theme="dark"] body.lp-redesign .border,
[data-bs-theme="dark"] body.lp-redesign .border-bottom,
[data-bs-theme="dark"] body.lp-redesign .border-top,
[data-bs-theme="dark"] body.lp-redesign .border-start,
[data-bs-theme="dark"] body.lp-redesign .border-end {
  border-color: var(--lp-line) !important;
}

[data-bs-theme="dark"] body.lp-redesign .form-control,
[data-bs-theme="dark"] body.lp-redesign .form-select,
[data-bs-theme="dark"] body.lp-redesign input,
[data-bs-theme="dark"] body.lp-redesign textarea,
[data-bs-theme="dark"] body.lp-redesign select {
  background-color: var(--lp-surface-3);
  border-color: var(--lp-line);
  color: var(--lp-ink);
}

[data-bs-theme="dark"] body.lp-redesign .breadcrumb,
[data-bs-theme="dark"] body.lp-redesign .breadcrumb-item,
[data-bs-theme="dark"] body.lp-redesign .breadcrumb-item a {
  color: var(--lp-muted);
}

[data-bs-theme="dark"] body.lp-redesign .dropdown-menu {
  background-color: var(--lp-surface);
  border-color: var(--lp-line);
}

[data-bs-theme="dark"] body.lp-redesign .lp-search-dropdown,
[data-bs-theme="dark"] body.lp-redesign .lp-hero-search .dropdown-menu.user-dropdown,
[data-bs-theme="dark"] body.lp-redesign .lp-hero-search .top-width.dropdown-menu {
  background: var(--lp-surface) !important;
  border-color: var(--lp-line) !important;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45) !important;
}

[data-bs-theme="dark"] body.lp-redesign .lp-search-dropdown__name,
[data-bs-theme="dark"] body.lp-redesign .lp-hero-search .blog-box .nav-link,
[data-bs-theme="dark"] body.lp-redesign .lp-hero-search .blog-box a {
  color: var(--lp-heading) !important;
}

[data-bs-theme="dark"] body.lp-redesign .lp-search-dropdown__item:hover,
[data-bs-theme="dark"] body.lp-redesign .lp-hero-search .iq-post > li > a:hover {
  background: var(--lp-surface-3) !important;
}

[data-bs-theme="dark"] body.lp-redesign .dropdown-item {
  color: var(--lp-ink);
}

[data-bs-theme="dark"] body.lp-redesign .dropdown-item:hover,
[data-bs-theme="dark"] body.lp-redesign .dropdown-item:focus {
  background-color: var(--lp-surface-3);
  color: var(--lp-heading);
}

[data-bs-theme="dark"] body.lp-redesign .cookiePopup {
  background: var(--lp-surface) !important;
  color: var(--lp-ink);
  border-top: 1px solid var(--lp-line);
  z-index: 1050;
}

body.lp-redesign .lp-social .lp-icon-x {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  color: inherit;
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}
