/* ================================================================
   LANDING PAGE — assets/css/landing-page.css
   One-off layout. Builds on site-wide variables and global CSS.
   ================================================================ */

/* ── BUTTONS ────────────────────────────────────────────────── */
.btn-primary {
  display: inline-block;
  background: var(--color-red-dark);
  color: #fff;
  padding: 0.85rem 2rem;
  border-radius: 3px;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  transition: background 0.2s, transform 0.15s;
  min-width: 200px;
  text-align: center;
  box-sizing: border-box;
}
.btn-primary:hover { background: var(--color-red); color: #fff; text-decoration: none; }

.btn-ghost {
  display: inline-block;
  border: 1.5px solid var(--color-red-dark);
  color: var(--color-red-dark);
  padding: 0.85rem 2rem;
  border-radius: 3px;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
  min-width: 200px;
  text-align: center;
  box-sizing: border-box;
}
.btn-ghost:hover { border-color: var(--color-red); color: var(--color-red); text-decoration: none; }


/* ── SHARED SECTION TYPOGRAPHY ──────────────────────────────── */
.lp-section-tag {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-red-dark);
  margin-bottom: 0.6rem;
}
.lp-section-tag--light { color: rgba(204,0,0,0.85); }

.lp-section-h2 {
  font-size: clamp(1.75rem, 3vw, 2.6rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--color-black);
  margin-bottom: 1.25rem;
}
.lp-section-h2--light { color: #fff; }

.lp-section-lead {
  font-size: 1.05rem;
  color: var(--color-gray-text, #555);
  line-height: 1.75;
  max-width: 700px;
  margin-bottom: 3rem;
}

/* ── HERO ───────────────────────────────────────────────────── */
.lp-hero {
  position: relative;
  background-size: cover;
  background-position: center center;
  overflow: hidden;
}

.lp-hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(244, 240, 234, 0.22);
  z-index: 0;
  pointer-events: none;
}

/*
  Two-row grid:
    Row 1 (auto)  — overline only, left column
    Row 2 (1fr)   — main content left + carousel right
  The carousel only spans row 2, so its top aligns with the H1
  and its bottom aligns with the CTA buttons.
*/
.lp-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 54% 46%;
  grid-template-rows: auto 1fr;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 3rem;
  min-height: 540px;
}

.lp-hero__overline {
  grid-column: 1;
  grid-row: 1;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #999;
  padding-top: 2.5rem;
  padding-bottom: 1.25rem;
  padding-right: 3rem;
}

.lp-hero__overline::before {
  content: '';
  width: 22px;
  height: 2px;
  background: var(--color-red-dark);
  flex-shrink: 0;
}

/* Main content block: H1 → tagline → sub → buttons */
.lp-hero__main {
  grid-column: 1;
  grid-row: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 0 3rem 5rem 0;
}

.lp-hero__h1 {
  font-size: clamp(1.7rem, 2.8vw, 2.6rem);
  font-weight: 800;
  color: #0e0e0e;
  line-height: 1.14;
  letter-spacing: -0.02em;
  margin-bottom: 0;
}

.lp-hero__tagline {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--color-red-dark);
  letter-spacing: 0.13em;
  text-transform: uppercase;
  margin-top: 1.5rem;
  display: inline-block;
  padding-bottom: 4px;
  border-bottom: 2px solid var(--color-red-dark);
}

.lp-hero__sub {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.75;
  max-width: 440px;
  margin-top: 1.25rem;
  margin-bottom: 0;
  font-weight: 600;
}

.lp-hero__actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

/* Right column: carousel, spanning both rows — top aligns with overline */
.lp-hero__right {
  grid-column: 2;
  grid-row: 1 / 3;
  display: flex;
  flex-direction: column;
  padding: 2.5rem 0 0 2rem;
}

/* ── HERO CAROUSEL ──────────────────────────────────────────── */
/* Carousel fills the full height of row 2 */
.lp-carousel {
  display: flex;
  flex-direction: column;
  flex: 1;
  width: 100%;
  max-width: 460px;
  gap: 0.85rem;
}

/* Card grows to fill available carousel height */
.lp-carousel__card {
  flex: 1;
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 2px;
  overflow: hidden;
  box-shadow: 0 6px 28px rgba(0, 0, 0, 0.08);
  cursor: pointer;
  transition: box-shadow 0.2s;
}

.lp-carousel__card:hover {
  box-shadow: 0 10px 36px rgba(0, 0, 0, 0.12);
}

/* Image area grows to fill card height above the body text */
.lp-carousel__img {
  flex: 1;
  min-height: 150px;
  background: #e0ddd8;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.lp-carousel__ghost {
  font-size: 30px;
  font-weight: 900;
  color: rgba(0, 0, 0, 0.07);
  letter-spacing: -0.03em;
}

.lp-carousel__badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--color-red-dark);
  color: #fff;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 3px 7px;
}

.lp-carousel__body {
  padding: 1rem 1.25rem 1.25rem;
  flex-shrink: 0;
}

.lp-carousel__name {
  font-size: 0.95rem;
  font-weight: 700;
  color: #0e0e0e;
  margin-bottom: 0.2rem;
}

.lp-carousel__sub {
  font-size: 0.78rem;
  color: #888;
  font-weight: 500;
  margin-bottom: 0.6rem;
}

.lp-carousel__spec {
  font-size: 0.72rem;
  color: #aaa;
  line-height: 1.55;
  padding-top: 0.6rem;
  border-top: 1px solid #ebebeb;
}

.lp-carousel__nav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.lp-carousel__dots {
  display: flex;
  align-items: center;
  gap: 5px;
}

.lp-carousel__dot {
  height: 5px;
  border-radius: 3px;
  background: rgba(0, 0, 0, 0.13);
  cursor: pointer;
  transition: width 0.25s, background 0.25s;
  width: 5px;
}

.lp-carousel__dot--active {
  background: var(--color-red-dark);
  width: 16px;
}

.lp-carousel__btn {
  width: 28px;
  height: 28px;
  background: none;
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 2px;
  cursor: pointer;
  font-family: Georgia, serif;
  font-size: 16px;
  color: #0e0e0e;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s, color 0.2s;
}

.lp-carousel__btn:hover {
  border-color: var(--color-red-dark);
  color: var(--color-red-dark);
}

.lp-carousel__counter {
  font-size: 9.5px;
  letter-spacing: 0.04em;
  color: #bbb;
  flex-shrink: 0;
}

/* ── STATS STRIP ────────────────────────────────────────────── */
.lp-stats-strip {
  background: var(--color-red-dark);
  padding: 2.75rem 0;
}
.lp-stats-strip__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 3rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}
.lp-stat { color: #fff; }
.lp-stat__n { font-size: 2.5rem; font-weight: 800; line-height: 1; }
.lp-stat__l { font-size: 0.78rem; font-weight: 400; opacity: 0.75; margin-top: 0.4rem; line-height: 1.4; }

/* ── APPROACH ───────────────────────────────────────────────── */
.lp-approach { padding: 6rem 0; background: #f0f0f0; }
.lp-approach__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 3rem;
}
.lp-approach__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
  max-width: 820px;
}
.lp-approach__card {
  background: #fff;
  border: 1px solid #e2e2e2;
  border-top: 3px solid var(--color-red-dark);
  border-radius: 0 0 4px 4px;
  padding: 1.75rem 1.75rem 2rem;
}
.lp-approach__card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-black);
  margin-bottom: 0.75rem;
}
.lp-approach__card p {
  font-size: 0.9rem;
  color: var(--color-gray-text, #555);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}
.lp-approach__card p a {
  color: var(--color-red-dark);
  text-decoration: none;
  font-weight: 600;
}
.lp-approach__card p a:hover { text-decoration: underline; }
.lp-approach__link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-red-dark);
  text-decoration: none;
}
.lp-approach__link:hover { text-decoration: underline; }

/* ── APPLICATIONS ───────────────────────────────────────────── */
.lp-apps {
  background: var(--color-black);
  padding: 6rem 0;
}
.lp-apps__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 3rem;
}
.lp-apps__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 2.5rem;
}
.lp-apps__viewall {
  color: rgba(255,255,255,0.45);
  font-size: 0.82rem;
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.2);
  padding-bottom: 2px;
  white-space: nowrap;
  transition: color 0.2s, border-color 0.2s;
}
.lp-apps__viewall:hover { color: #fff; border-color: rgba(255,255,255,0.6); }

.lp-apps__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.lp-app-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 3px;
  text-decoration: none;
  display: block;
  overflow: hidden;
  transition: border-color 0.25s, background 0.25s, transform 0.2s;
}
.lp-app-card:hover {
  border-color: var(--color-red);
  background: rgba(139,0,0,0.12);
  transform: translateY(-2px);
}
.lp-app-card__img {
  height: 140px;
  position: relative;
}
.lp-app-card__img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 30%, rgba(0,0,0,0.5));
}
.lp-app-card__body { padding: 1.25rem 1.5rem 1.5rem; }
.lp-app-card__body h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.5rem;
}
.lp-app-card__body p {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.52);
  line-height: 1.6;
}

/* ── DESIGN SERVICE ─────────────────────────────────────────── */
.lp-design {
  background: var(--color-gray-light, #f4f4f4);
  padding: 6rem 0;
}
.lp-design__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 3rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.lp-design__h2 {
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--color-black);
  margin-bottom: 1.25rem;
}
.lp-design__lead {
  font-size: 0.98rem;
  color: var(--color-gray-text, #555);
  line-height: 1.78;
  margin-bottom: 1.75rem;
}
.lp-design__list {
  list-style: none;
  margin-bottom: 2.25rem;
  padding: 0;
}
.lp-design__list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.88rem;
  color: var(--color-gray-text, #555);
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--color-gray-line, #ddd);
  line-height: 1.5;
}
.lp-design__list li:last-child { border-bottom: none; }
.lp-design__list li::before {
  content: '✓';
  color: var(--color-red-dark);
  font-weight: 700;
  flex-shrink: 0;
}
.lp-design__visual {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}
.lp-design__img {
  width: 100%;
  border-radius: 4px;
  display: block;
}
.lp-design__quote {
  background: #fff;
  border-left: 4px solid var(--color-red-dark);
  padding: 1.25rem 1.5rem;
  border-radius: 0 4px 4px 0;
  margin: 0;
  font-size: 0.92rem;
  font-style: italic;
  color: var(--color-black);
  line-height: 1.65;
}

/* ── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .lp-hero__inner { padding: 0 2rem; }
}
@media (max-width: 900px) {
  .lp-hero__inner {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    min-height: unset;
  }
  .lp-hero__overline { padding-top: 3rem; padding-right: 0; }
  .lp-hero__main { grid-column: 1; grid-row: 2; padding: 0.75rem 0 2rem; }
  .lp-hero__right { grid-column: 1; grid-row: 3; padding: 0 0 3rem; min-height: 420px; }
  .lp-stats-strip__inner { grid-template-columns: repeat(2, 1fr); }
  .lp-approach__grid { grid-template-columns: 1fr; gap: 2rem; }
  .lp-apps__grid { grid-template-columns: repeat(2, 1fr); }
  .lp-design__inner { grid-template-columns: 1fr; gap: 3rem; }
}
@media (max-width: 600px) {
  .lp-hero__inner { padding: 0 1.5rem; }
  .lp-stats-strip__inner { padding: 0 1.5rem; }
  .lp-approach__inner,
  .lp-apps__inner,
  .lp-design__inner { padding-left: 1.5rem; padding-right: 1.5rem; }
  .lp-apps__grid { grid-template-columns: 1fr; }
  .lp-apps__header { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .lp-footer-cta { padding: 3.5rem 1.5rem; }
}
