.landing-body {
  background: #f4f8fc;
  color: var(--admin-text);
}

.landing-body main {
  overflow-x: clip;
}

/* Header */
.landing-header {
  position: sticky;
  top: 0;
  z-index: 1030;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--admin-border);
  backdrop-filter: blur(10px);
  box-shadow: var(--admin-shadow-sm);
}

.landing-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 72px;
  padding-block: 0.75rem;
}

.landing-brand img {
  display: block;
  height: 42px;
  width: auto;
}

.landing-header-right {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-left: auto;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.landing-header-contact {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.landing-contact-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.38rem 0.75rem;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid var(--admin-border);
  background: #ffffff;
  color: var(--admin-text);
  line-height: 1.2;
}

.landing-contact-link:hover,
.landing-contact-link:focus {
  color: var(--admin-primary);
  border-color: rgba(25, 118, 210, 0.35);
  background: rgba(25, 118, 210, 0.04);
}

.landing-contact-whatsapp:hover,
.landing-contact-whatsapp:focus {
  color: #128c7e;
  border-color: rgba(18, 140, 126, 0.35);
  background: rgba(18, 140, 126, 0.06);
}

.landing-header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.landing-greeting {
  color: var(--admin-muted);
  font-size: 0.92rem;
}

.landing-greeting-name {
  color: var(--admin-primary);
  font-weight: 600;
}

.landing-greeting-name:hover,
.landing-greeting-name:focus {
  color: var(--admin-primary-dark);
}

.landing-login-btn {
  border-radius: 999px;
  padding-inline: 1.1rem;
}

/* Shared section styles */
.landing-section {
  padding: 4.5rem 0;
}

.landing-section-head {
  max-width: 640px;
  margin-bottom: 2.25rem;
}

.landing-eyebrow {
  margin: 0 0 0.5rem;
  color: var(--admin-primary);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.landing-section-title {
  margin: 0 0 0.75rem;
  font-size: clamp(1.55rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--admin-text);
  line-height: 1.2;
}

.landing-section-lead {
  margin: 0;
  color: var(--admin-muted);
  font-size: 1.02rem;
  line-height: 1.65;
}

/* Hero */
.landing-hero {
  position: relative;
}

.landing-carousel,
.landing-carousel .carousel-inner,
.landing-carousel .carousel-item {
  min-height: clamp(320px, 46vw, 560px);
}

.landing-carousel .carousel-item img {
  width: 100%;
  height: clamp(320px, 46vw, 560px);
  object-fit: cover;
}

.landing-slide-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: clamp(1.5rem, 4vw, 3rem);
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.08) 0%, rgba(15, 23, 42, 0.72) 100%);
  pointer-events: none;
}

.landing-slide-copy {
  max-width: 680px;
  color: #ffffff;
  pointer-events: auto;
}

.landing-slide-copy h2 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.65rem, 3.5vw, 2.5rem);
  font-weight: 700;
  line-height: 1.15;
}

.landing-slide-copy p {
  margin: 0 0 1.15rem;
  font-size: clamp(0.95rem, 2vw, 1.12rem);
  line-height: 1.55;
  opacity: 0.94;
  max-width: 560px;
}

.landing-hero-cta {
  border-radius: 999px;
  padding-inline: 1.35rem;
  font-weight: 600;
}

.landing-hero-placeholder {
  min-height: clamp(320px, 46vw, 560px);
  display: flex;
  align-items: center;
  padding: 4rem 0;
  background:
    radial-gradient(circle at 85% 15%, rgba(66, 165, 245, 0.35), transparent 38%),
    radial-gradient(circle at 10% 90%, rgba(13, 71, 161, 0.45), transparent 42%),
    linear-gradient(135deg, #0d47a1 0%, #1565c0 45%, #1976d2 100%);
  color: #ffffff;
}

.landing-hero-placeholder-inner {
  max-width: 680px;
}

.landing-hero-placeholder h1 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  line-height: 1.1;
}

.landing-hero-lead {
  margin: 0 0 1.75rem;
  font-size: clamp(1rem, 2.2vw, 1.15rem);
  line-height: 1.65;
  opacity: 0.94;
  max-width: 580px;
}

.landing-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.landing-hero-actions .btn {
  border-radius: 999px;
  font-weight: 600;
}

/* Stats strip */
.landing-stats {
  margin-top: -2rem;
  position: relative;
  z-index: 2;
  padding-bottom: 0.5rem;
}

.landing-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  padding: 1.35rem 1.5rem;
  background: #ffffff;
  border: 1px solid var(--admin-border);
  border-radius: 1rem;
  box-shadow: var(--admin-shadow-md);
}

.landing-stat {
  text-align: center;
  padding: 0.35rem 0.5rem;
}

.landing-stat + .landing-stat {
  border-left: 1px solid var(--admin-border);
}

.landing-stat-value {
  display: block;
  color: var(--admin-primary);
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  font-weight: 700;
  line-height: 1.1;
}

.landing-stat-label {
  display: block;
  margin-top: 0.35rem;
  color: var(--admin-muted);
  font-size: 0.82rem;
  line-height: 1.35;
}

/* Features */
.landing-features {
  background: #f4f8fc;
}

.landing-feature-card {
  background: #ffffff;
  border: 1px solid var(--admin-border);
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: var(--admin-shadow-sm);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.landing-feature-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--admin-shadow-md);
}

.landing-feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  margin-bottom: 1rem;
  border-radius: 0.75rem;
  background: rgba(25, 118, 210, 0.1);
  color: var(--admin-primary);
  font-size: 1.25rem;
}

.landing-feature-card h3 {
  margin: 0 0 0.55rem;
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--admin-text);
}

.landing-feature-card p {
  margin: 0;
  color: var(--admin-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* About */
.landing-about {
  background: #ffffff;
}

.landing-about-media {
  border-radius: 1.1rem;
  overflow: hidden;
  box-shadow: var(--admin-shadow-md);
}

.landing-about-image {
  display: block;
  width: 100%;
  height: auto;
  min-height: 280px;
  max-height: 420px;
  object-fit: cover;
}

.landing-about-media-fallback {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  min-height: 320px;
  padding: 2rem;
  text-align: center;
  background:
    linear-gradient(145deg, rgba(25, 118, 210, 0.08), rgba(13, 71, 161, 0.14)),
    #eef4fb;
  border: 1px solid rgba(25, 118, 210, 0.12);
}

.landing-about-fallback-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 999px;
  background: rgba(25, 118, 210, 0.12);
  color: var(--admin-primary);
  font-size: 2rem;
}

.landing-about-media-fallback p {
  margin: 0;
  max-width: 280px;
  color: var(--admin-muted);
  font-size: 0.98rem;
  line-height: 1.55;
}

.landing-about-copy {
  margin: 0 0 1.25rem;
  color: var(--admin-muted);
  font-size: 1.02rem;
  line-height: 1.75;
  white-space: pre-line;
}

.landing-about-points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.landing-about-points li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  color: var(--admin-text);
  font-size: 0.96rem;
  line-height: 1.5;
}

.landing-about-points i {
  color: var(--admin-primary);
  margin-top: 0.15rem;
  flex-shrink: 0;
}

/* Steps */
.landing-steps {
  background: linear-gradient(180deg, #eef4fb 0%, #f4f8fc 100%);
}

.landing-steps-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.landing-step-card {
  display: flex;
  align-items: flex-start;
  gap: 1.15rem;
  padding: 1.35rem 1.5rem;
  background: #ffffff;
  border: 1px solid var(--admin-border);
  border-radius: 1rem;
  box-shadow: var(--admin-shadow-sm);
}

.landing-step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  background: var(--admin-primary);
  color: #ffffff;
  font-weight: 700;
  font-size: 1rem;
}

.landing-step-card h3 {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--admin-text);
}

.landing-step-card p {
  margin: 0;
  color: var(--admin-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* CTA */
.landing-cta {
  padding-bottom: 5rem;
}

.landing-cta-panel {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: clamp(1.75rem, 4vw, 2.5rem);
  border-radius: 1.15rem;
  background:
    radial-gradient(circle at top right, rgba(66, 165, 245, 0.25), transparent 45%),
    linear-gradient(135deg, #0d47a1 0%, #1976d2 100%);
  color: #ffffff;
  box-shadow: var(--admin-shadow-md);
}

.landing-cta-copy {
  max-width: 560px;
}

.landing-cta-copy .landing-section-title {
  color: #ffffff;
}

.landing-cta-copy p {
  margin: 0;
  opacity: 0.92;
  line-height: 1.65;
}

.landing-cta-contact-note {
  margin-top: 0.75rem !important;
  font-size: 0.92rem;
  opacity: 0.82 !important;
}

.landing-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.landing-cta-actions .btn {
  border-radius: 999px;
  font-weight: 600;
}

/* Footer — use fixed dark colors; do not use --admin-sidebar (light theme sets it to white) */
.landing-footer {
  margin-top: auto;
  padding: 1.35rem 0 1rem;
  background: #111827;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.84rem;
}

.landing-footer-inner {
  padding-bottom: 0.75rem;
  margin-bottom: 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.landing-footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  width: 100%;
}

.landing-footer-brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 600;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.95);
  min-width: 0;
}

.landing-footer-brand span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.landing-footer-brand img {
  height: 50px;
  width: auto;
  flex-shrink: 0;
}

.landing-footer-contact-quick {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-shrink: 0;
  margin-left: auto;
}

.landing-footer-icon-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.15rem;
  height: 2.15rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.95rem;
  line-height: 1;
  text-decoration: none;
}

.landing-footer-icon-link:hover,
.landing-footer-icon-link:focus {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.38);
  background: rgba(255, 255, 255, 0.12);
}

.landing-footer-icon-whatsapp:hover,
.landing-footer-icon-whatsapp:focus {
  color: #dcfce7;
  border-color: rgba(34, 197, 94, 0.45);
  background: rgba(34, 197, 94, 0.14);
}

.landing-footer-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.85rem;
  margin-top: 0.65rem;
}

.landing-footer-contact-text {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.85rem;
}

.landing-footer-contact-link {
  color: rgba(255, 255, 255, 0.78);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.8rem;
  font-weight: 400;
  line-height: 1.2;
  text-decoration: none;
}

.landing-footer-contact-link i {
  font-size: 0.82rem;
  line-height: 1;
  opacity: 0.88;
}

.landing-footer-contact-link:hover,
.landing-footer-contact-link:focus {
  color: #ffffff;
  text-decoration: none;
}

.landing-footer-empty {
  margin-top: 0.5rem;
  color: rgba(255, 255, 255, 0.5) !important;
  font-size: 0.78rem;
}

.landing-footer-copy {
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.75rem;
}

/* Responsive */
@media (max-width: 767.98px) {
  .landing-section {
    padding: 2.75rem 0;
  }

  .landing-section-head {
    margin-bottom: 1.5rem;
  }

  .landing-section-lead {
    font-size: 0.94rem;
  }

  .landing-header-inner {
    min-height: 60px;
    padding-block: 0.55rem;
  }

  .landing-brand img {
    height: 36px;
  }

  .landing-header-right {
    gap: 0.4rem;
  }

  .landing-contact-link {
    padding: 0.4rem 0.5rem;
    font-size: 0.8rem;
  }

  .landing-contact-link span {
    display: none;
  }

  .landing-login-btn {
    padding-inline: 0.75rem;
    font-size: 0.82rem;
  }

  .landing-carousel,
  .landing-carousel .carousel-inner,
  .landing-carousel .carousel-item,
  .landing-carousel .carousel-item img {
    min-height: 240px;
    height: 240px;
  }

  .landing-hero-placeholder {
    min-height: 260px;
    padding: 2.25rem 0;
  }

  .landing-hero-placeholder h1 {
    font-size: 1.65rem;
  }

  .landing-hero-lead {
    font-size: 0.92rem;
    margin-bottom: 1.25rem;
  }

  .landing-hero-actions .btn {
    width: 100%;
    font-size: 0.9rem;
    padding: 0.55rem 1rem;
  }

  .landing-slide-overlay {
    padding: 1rem;
  }

  .landing-slide-copy h2 {
    font-size: 1.35rem;
  }

  .landing-slide-copy p {
    font-size: 0.88rem;
    margin-bottom: 0.85rem;
  }

  .landing-hero-cta {
    font-size: 0.85rem;
    padding: 0.45rem 1rem;
  }

  .landing-stats {
    margin-top: -1rem;
  }

  .landing-stats-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.35rem;
    padding: 0.75rem 0.55rem;
  }

  .landing-stat {
    padding: 0.2rem 0.15rem;
  }

  .landing-stat + .landing-stat {
    border-left: 1px solid var(--admin-border);
    border-top: none;
    padding-top: 0.2rem;
  }

  .landing-stat-value {
    font-size: 0.95rem;
  }

  .landing-stat-label {
    font-size: 0.62rem;
    line-height: 1.25;
  }

  .landing-feature-card {
    padding: 1.1rem;
  }

  .landing-feature-icon {
    width: 2.35rem;
    height: 2.35rem;
    font-size: 1.05rem;
    margin-bottom: 0.75rem;
  }

  .landing-feature-card h3 {
    font-size: 0.98rem;
  }

  .landing-feature-card p {
    font-size: 0.88rem;
  }

  .landing-about-media-fallback {
    min-height: 220px;
    padding: 1.35rem;
  }

  .landing-about-fallback-icon {
    width: 3.5rem;
    height: 3.5rem;
    font-size: 1.5rem;
  }

  .landing-about-copy {
    font-size: 0.94rem;
  }

  .landing-about-points li {
    font-size: 0.88rem;
  }

  .landing-step-card {
    padding: 1rem;
    gap: 0.85rem;
  }

  .landing-step-number {
    width: 2.1rem;
    height: 2.1rem;
    font-size: 0.88rem;
  }

  .landing-step-card h3 {
    font-size: 0.96rem;
  }

  .landing-step-card p {
    font-size: 0.86rem;
  }

  .landing-cta {
    padding-bottom: 2.5rem;
  }

  .landing-cta-panel {
    padding: 1.25rem;
    gap: 1rem;
  }

  .landing-cta-copy .landing-section-title {
    font-size: 1.35rem;
  }

  .landing-cta-copy p {
    font-size: 0.9rem;
  }

  .landing-cta-actions {
    width: 100%;
    flex-direction: column;
  }

  .landing-cta-actions .btn {
    width: 100%;
    font-size: 0.9rem;
    padding: 0.55rem 1rem;
  }

  .landing-footer {
    padding: 1rem 0 0.85rem;
  }

  .landing-footer-brand {
    font-size: 0.82rem;
  }

  .landing-footer-brand img {
    height: 40px;
  }

  .landing-footer-meta {
    margin-top: 0.5rem;
  }

  .landing-footer-email-link {
    font-size: 0.76rem;
  }

  .landing-footer-copy {
    font-size: 0.7rem;
    line-height: 1.45;
  }
}

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