/*
 * LCM Landing System v1.0.0
 * Website: https://lancanmaiton.com/
 * Namespace: .lcm-landing
 * Brand palette: Newspaper blue + DHD blue/yellow
 */

.lcm-landing {
  --lcm-primary: #2b5bea;
  --lcm-primary-dark: #153a7a;
  --lcm-primary-soft: #eaf2ff;
  --lcm-theme-blue: #4db2ec;
  --lcm-accent: #ffd54a;
  --lcm-accent-dark: #f0b900;
  --lcm-ink: #18212f;
  --lcm-muted: #5f6b7a;
  --lcm-line: #dce4ef;
  --lcm-surface: #ffffff;
  --lcm-surface-alt: #f5f8fc;
  --lcm-success: #138a55;
  --lcm-danger: #c9332c;
  --lcm-radius-sm: 10px;
  --lcm-radius: 18px;
  --lcm-radius-lg: 26px;
  --lcm-shadow-sm: 0 8px 24px rgba(21, 58, 122, 0.08);
  --lcm-shadow: 0 18px 50px rgba(21, 58, 122, 0.14);
  --lcm-container: 1180px;
  width: auto;
  max-width: none;
  margin-right: calc(50% - 50vw);
  margin-left: calc(50% - 50vw);
  overflow: hidden;
  color: var(--lcm-ink);
  font-family: inherit;
  font-size: 17px;
  line-height: 1.72;
  background: var(--lcm-surface);
  -webkit-font-smoothing: antialiased;
}

.lcm-landing,
.lcm-landing *,
.lcm-landing *::before,
.lcm-landing *::after {
  box-sizing: border-box;
}

.lcm-landing :where(h1, h2, h3, h4, p, ul, ol, figure, blockquote) {
  margin-top: 0;
}

.lcm-landing :where(h1, h2, h3, h4) {
  color: var(--lcm-ink);
  font-family: inherit;
  font-weight: 800;
  line-height: 1.25;
  text-wrap: balance;
}

.lcm-landing h1 {
  margin-bottom: 20px;
  font-size: clamp(36px, 5vw, 62px);
  letter-spacing: -0.035em;
}

.lcm-landing h2 {
  margin-bottom: 18px;
  font-size: clamp(29px, 3.8vw, 43px);
  letter-spacing: -0.025em;
}

.lcm-landing h3 {
  margin-bottom: 10px;
  font-size: clamp(20px, 2.2vw, 25px);
}

.lcm-landing p {
  margin-bottom: 18px;
}

.lcm-landing a {
  color: var(--lcm-primary);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.lcm-landing img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
}

.lcm-container {
  width: min(var(--lcm-container), calc(100% - 40px));
  margin-inline: auto;
}

.lcm-section {
  position: relative;
  width: 100%;
  padding: clamp(64px, 8vw, 104px) 0;
}

.lcm-section--soft {
  background: var(--lcm-surface-alt);
}

.lcm-section--blue {
  color: #fff;
  background:
    radial-gradient(circle at 88% 18%, rgba(77, 178, 236, 0.42), transparent 31%),
    linear-gradient(135deg, #0d2c62 0%, var(--lcm-primary-dark) 48%, #2454c9 100%);
}

.lcm-section--blue :where(h1, h2, h3, p, li, a) {
  color: inherit;
}

.lcm-section--compact {
  padding: 30px 0;
}

.lcm-section-head {
  max-width: 820px;
  margin: 0 auto 42px;
  text-align: center;
}

.lcm-section-head p {
  margin-bottom: 0;
  color: var(--lcm-muted);
  font-size: 18px;
}

.lcm-section--blue .lcm-section-head p {
  color: rgba(255, 255, 255, 0.82);
}

.lcm-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  color: var(--lcm-primary);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.09em;
  line-height: 1.35;
  text-transform: uppercase;
}

.lcm-eyebrow::before {
  width: 28px;
  height: 3px;
  border-radius: 999px;
  background: var(--lcm-accent);
  content: "";
}

.lcm-section--blue .lcm-eyebrow,
.lcm-hero .lcm-eyebrow {
  color: var(--lcm-accent);
}

.lcm-lead {
  color: var(--lcm-muted);
  font-size: clamp(18px, 2vw, 21px);
  line-height: 1.65;
}

.lcm-grid {
  display: grid;
  gap: 24px;
}

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

.lcm-grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.lcm-grid--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

/* Hero */
.lcm-hero {
  position: relative;
  isolation: isolate;
  color: #fff;
  background:
    radial-gradient(circle at 18% 12%, rgba(77, 178, 236, 0.35), transparent 30%),
    linear-gradient(135deg, #071c40 0%, #153a7a 50%, #2b5bea 100%);
}

.lcm-hero::after {
  position: absolute;
  z-index: -1;
  right: -140px;
  bottom: -190px;
  width: 440px;
  height: 440px;
  border: 70px solid rgba(255, 213, 74, 0.12);
  border-radius: 50%;
  content: "";
}

.lcm-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  gap: clamp(36px, 6vw, 76px);
  align-items: center;
  min-height: 650px;
  padding: clamp(70px, 9vw, 116px) 0;
}

.lcm-hero :where(h1, p) {
  color: #fff;
}

.lcm-hero__copy > p {
  max-width: 700px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(18px, 2vw, 21px);
}

.lcm-hero__actions,
.lcm-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 28px;
}

.lcm-btn {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 23px;
  border: 2px solid transparent;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.3;
  text-align: center;
  text-decoration: none !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.lcm-btn:hover {
  transform: translateY(-2px);
}

.lcm-btn--primary {
  color: #13233b !important;
  background: var(--lcm-accent);
  box-shadow: 0 12px 28px rgba(255, 213, 74, 0.24);
}

.lcm-btn--primary:hover {
  background: #ffe071;
  box-shadow: 0 15px 34px rgba(255, 213, 74, 0.32);
}

.lcm-btn--outline {
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff !important;
  background: rgba(255, 255, 255, 0.08);
}

.lcm-btn--outline:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.15);
}

.lcm-btn--blue {
  color: #fff !important;
  background: var(--lcm-primary);
  box-shadow: 0 12px 26px rgba(43, 91, 234, 0.22);
}

.lcm-btn--blue:hover {
  background: var(--lcm-primary-dark);
}

.lcm-hero__checks {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.lcm-hero__checks li {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 15px;
  font-weight: 700;
}

.lcm-hero__checks li::before {
  display: grid;
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  place-items: center;
  border-radius: 50%;
  color: #173260;
  background: var(--lcm-accent);
  content: "✓";
  font-size: 13px;
  font-weight: 900;
}

.lcm-hero__media {
  position: relative;
  margin: 0;
}

.lcm-hero__media img {
  aspect-ratio: 4 / 3;
  border: 8px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--lcm-radius-lg);
  object-fit: cover;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.28);
}

.lcm-hero__badge {
  position: absolute;
  right: -18px;
  bottom: 24px;
  max-width: 230px;
  padding: 15px 18px;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 15px;
  color: #13233b;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--lcm-shadow);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.45;
}

.lcm-hero__badge strong {
  display: block;
  color: var(--lcm-primary);
  font-size: 20px;
}

/* USP bar */
.lcm-usp {
  position: relative;
  z-index: 2;
  margin-top: -34px;
}

.lcm-usp__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid var(--lcm-line);
  border-radius: var(--lcm-radius);
  background: #fff;
  box-shadow: var(--lcm-shadow);
}

.lcm-usp__item {
  position: relative;
  padding: 25px 22px;
  text-align: center;
}

.lcm-usp__item + .lcm-usp__item::before {
  position: absolute;
  top: 22%;
  bottom: 22%;
  left: 0;
  width: 1px;
  background: var(--lcm-line);
  content: "";
}

.lcm-usp__item strong {
  display: block;
  margin-bottom: 3px;
  color: var(--lcm-primary-dark);
  font-size: 17px;
}

.lcm-usp__item span {
  color: var(--lcm-muted);
  font-size: 14px;
}

/* Cards */
.lcm-card {
  position: relative;
  height: 100%;
  padding: 30px;
  border: 1px solid var(--lcm-line);
  border-radius: var(--lcm-radius);
  background: var(--lcm-surface);
  box-shadow: var(--lcm-shadow-sm);
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.lcm-card:hover {
  transform: translateY(-5px);
  border-color: rgba(43, 91, 234, 0.32);
  box-shadow: var(--lcm-shadow);
}

.lcm-card__number {
  display: grid;
  width: 48px;
  height: 48px;
  margin-bottom: 20px;
  place-items: center;
  border-radius: 13px;
  color: var(--lcm-primary-dark);
  background: var(--lcm-primary-soft);
  font-weight: 900;
}

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

.lcm-card__link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--lcm-primary) !important;
  font-weight: 800;
  text-decoration: none !important;
}

.lcm-card__link::after {
  content: "→";
  transition: transform 0.2s ease;
}

.lcm-card__link:hover::after {
  transform: translateX(4px);
}

/* Split content */
.lcm-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.9fr);
  gap: clamp(38px, 7vw, 82px);
  align-items: center;
}

.lcm-split--reverse .lcm-split__media {
  order: -1;
}

.lcm-split__media {
  margin: 0;
}

.lcm-split__media img {
  aspect-ratio: 4 / 3;
  border-radius: var(--lcm-radius-lg);
  object-fit: cover;
  box-shadow: var(--lcm-shadow);
}

.lcm-split__media figcaption,
.lcm-gallery figcaption {
  margin-top: 9px;
  color: var(--lcm-muted);
  font-size: 13px;
  font-style: italic;
  line-height: 1.5;
  text-align: center;
}

.lcm-checklist {
  display: grid;
  gap: 12px;
  margin: 24px 0;
  padding: 0;
  list-style: none;
}

.lcm-checklist li {
  position: relative;
  padding-left: 33px;
}

.lcm-checklist li::before {
  position: absolute;
  top: 4px;
  left: 0;
  display: grid;
  width: 23px;
  height: 23px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--lcm-success);
  content: "✓";
  font-size: 13px;
  font-weight: 900;
}

.lcm-note {
  padding: 20px 22px;
  border-left: 4px solid var(--lcm-accent-dark);
  border-radius: 0 var(--lcm-radius-sm) var(--lcm-radius-sm) 0;
  background: #fff9df;
  color: #604d00;
}

.lcm-note p:last-child {
  margin-bottom: 0;
}

/* Tables */
.lcm-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--lcm-line);
  border-radius: var(--lcm-radius);
  background: #fff;
  box-shadow: var(--lcm-shadow-sm);
  -webkit-overflow-scrolling: touch;
}

.lcm-table {
  width: 100%;
  min-width: 740px;
  margin: 0 !important;
  border: 0 !important;
  border-collapse: collapse;
  font-size: 15px;
}

.lcm-table th,
.lcm-table td {
  padding: 17px 19px !important;
  border: 0 !important;
  border-bottom: 1px solid var(--lcm-line) !important;
  text-align: left;
  vertical-align: top;
}

.lcm-table thead th {
  color: #fff;
  background: var(--lcm-primary-dark);
  font-weight: 800;
}

.lcm-table tbody tr:nth-child(even) {
  background: #f8faff;
}

.lcm-table tbody tr:last-child td {
  border-bottom: 0 !important;
}

.lcm-price {
  color: var(--lcm-danger);
  font-weight: 900;
  white-space: nowrap;
}

.lcm-table-note {
  margin-top: 16px;
  color: var(--lcm-muted);
  font-size: 14px;
}

/* Process */
.lcm-process {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin: 0;
  padding: 0;
  counter-reset: lcm-step;
  list-style: none;
}

.lcm-process li {
  position: relative;
  padding: 29px 27px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--lcm-radius);
  background: rgba(255, 255, 255, 0.08);
  counter-increment: lcm-step;
}

.lcm-process li::before {
  display: grid;
  width: 42px;
  height: 42px;
  margin-bottom: 17px;
  place-items: center;
  border-radius: 50%;
  color: #142d5d;
  background: var(--lcm-accent);
  content: counter(lcm-step, decimal-leading-zero);
  font-size: 14px;
  font-weight: 900;
}

.lcm-process h3 {
  color: #fff;
  font-size: 20px;
}

.lcm-process p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 15px;
}

/* Gallery */
.lcm-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.lcm-gallery figure {
  margin: 0;
}

.lcm-gallery img {
  aspect-ratio: 4 / 3;
  border-radius: var(--lcm-radius);
  object-fit: cover;
  box-shadow: var(--lcm-shadow-sm);
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.lcm-gallery figure:hover img {
  transform: translateY(-4px);
  box-shadow: var(--lcm-shadow);
}

/* Service areas */
.lcm-area-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.lcm-area-list li {
  padding: 9px 15px;
  border: 1px solid var(--lcm-line);
  border-radius: 999px;
  color: var(--lcm-primary-dark);
  background: #fff;
  font-size: 14px;
  font-weight: 700;
}

/* FAQ */
.lcm-faq {
  display: grid;
  max-width: 900px;
  gap: 13px;
  margin: 0 auto;
}

.lcm-faq details {
  overflow: hidden;
  border: 1px solid var(--lcm-line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 5px 18px rgba(21, 58, 122, 0.05);
}

.lcm-faq details[open] {
  border-color: rgba(43, 91, 234, 0.34);
}

.lcm-faq summary {
  position: relative;
  padding: 20px 54px 20px 22px;
  color: var(--lcm-ink);
  cursor: pointer;
  font-weight: 800;
  line-height: 1.45;
  list-style: none;
}

.lcm-faq summary::-webkit-details-marker {
  display: none;
}

.lcm-faq summary::after {
  position: absolute;
  top: 50%;
  right: 21px;
  width: 26px;
  height: 26px;
  transform: translateY(-50%);
  border-radius: 50%;
  color: var(--lcm-primary);
  background: var(--lcm-primary-soft);
  content: "+";
  font-size: 21px;
  font-weight: 700;
  line-height: 25px;
  text-align: center;
}

.lcm-faq details[open] summary::after {
  content: "−";
}

.lcm-faq__answer {
  padding: 0 22px 20px;
  color: var(--lcm-muted);
}

.lcm-faq__answer p:last-child {
  margin-bottom: 0;
}

/* CTA */
.lcm-cta {
  position: relative;
  overflow: hidden;
  padding: clamp(38px, 6vw, 62px);
  border-radius: var(--lcm-radius-lg);
  color: #fff;
  background: linear-gradient(135deg, #0f3069, var(--lcm-primary));
  box-shadow: var(--lcm-shadow);
}

.lcm-cta::after {
  position: absolute;
  right: -85px;
  bottom: -95px;
  width: 250px;
  height: 250px;
  border: 50px solid rgba(255, 213, 74, 0.16);
  border-radius: 50%;
  content: "";
}

.lcm-cta__content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) auto;
  gap: 32px;
  align-items: center;
}

.lcm-cta :where(h2, p) {
  color: #fff;
}

.lcm-cta h2 {
  margin-bottom: 10px;
}

.lcm-cta p {
  max-width: 720px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.82);
}

.lcm-contact-line {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--lcm-line);
  color: var(--lcm-muted);
  font-size: 14px;
  text-align: center;
}

.lcm-contact-line a {
  font-weight: 800;
}

/* Theme helpers for later landing pages */
.lcm-landing.lcm-theme-dark {
  --lcm-primary: #1f4ab9;
  --lcm-primary-dark: #0d2452;
  --lcm-accent: #ffc928;
}

.lcm-landing.lcm-theme-light-blue {
  --lcm-primary: #1689cb;
  --lcm-primary-dark: #005689;
  --lcm-primary-soft: #e8f7ff;
  --lcm-accent: #ffd54a;
}

/* Newspaper: retain site header/footer, remove only empty theme title on landing pages. */
body:has(.lcm-landing) .td-main-content-wrap > .td-page-header,
body:has(.lcm-landing) .td-main-page-wrap > .td-page-header {
  display: none;
}

body:has(.lcm-landing) .td-main-page-wrap,
body:has(.lcm-landing) .td-main-content-wrap {
  padding-top: 0;
}

body:has(.lcm-landing) .tdc-content-wrap,
body:has(.lcm-landing) .td-main-content-wrap .td-pb-row,
body:has(.lcm-landing) .td-main-content-wrap .td-pb-span8,
body:has(.lcm-landing) .td-main-content-wrap .td-pb-span12 {
  width: 100%;
  max-width: none;
}

body:has(.lcm-landing) .td-main-content-wrap .td-pb-span8 {
  float: none;
}

body:has(.lcm-landing) .td-main-content-wrap .td-ss-main-sidebar {
  display: none;
}

@media (max-width: 1024px) {
  .lcm-grid--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .lcm-grid--3,
  .lcm-process,
  .lcm-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .lcm-hero__inner,
  .lcm-split {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }

  .lcm-hero__inner {
    min-height: 580px;
  }

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

  .lcm-usp__item:nth-child(3)::before {
    display: none;
  }

  .lcm-usp__item:nth-child(n + 3) {
    border-top: 1px solid var(--lcm-line);
  }
}

@media (max-width: 767px) {
  .lcm-landing {
    font-size: 16px;
    line-height: 1.68;
  }

  .lcm-container {
    width: min(var(--lcm-container), calc(100% - 28px));
  }

  .lcm-section {
    padding: 58px 0;
  }

  .lcm-hero__inner,
  .lcm-split,
  .lcm-grid--2,
  .lcm-grid--3,
  .lcm-grid--4,
  .lcm-process,
  .lcm-gallery,
  .lcm-cta__content {
    grid-template-columns: 1fr;
  }

  .lcm-hero__inner {
    min-height: auto;
    padding: 65px 0 78px;
  }

  .lcm-hero__media {
    margin-top: 8px;
  }

  .lcm-hero__badge {
    right: 10px;
    bottom: -18px;
  }

  .lcm-split--reverse .lcm-split__media {
    order: 0;
  }

  .lcm-usp {
    margin-top: -28px;
  }

  .lcm-usp__item {
    padding: 21px 13px;
  }

  .lcm-card {
    padding: 25px 23px;
  }

  .lcm-cta {
    padding: 34px 24px;
  }

  .lcm-cta__actions {
    margin-top: 0;
  }
}

@media (max-width: 520px) {
  .lcm-hero__actions,
  .lcm-cta__actions {
    flex-direction: column;
  }

  .lcm-btn {
    width: 100%;
  }

  .lcm-usp__grid {
    grid-template-columns: 1fr;
  }

  .lcm-usp__item + .lcm-usp__item::before {
    display: none;
  }

  .lcm-usp__item:nth-child(n + 2) {
    border-top: 1px solid var(--lcm-line);
  }

  .lcm-hero__badge {
    position: static;
    max-width: none;
    margin-top: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .lcm-landing *,
  .lcm-landing *::before,
  .lcm-landing *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

@media print {
  .lcm-landing {
    margin: 0;
    color: #000;
  }

  .lcm-hero,
  .lcm-section--blue,
  .lcm-cta {
    color: #000;
    background: #fff !important;
    box-shadow: none;
  }

  .lcm-btn {
    border: 1px solid #000;
    color: #000 !important;
    background: #fff;
  }
}
