/* ============================================================
   Guardacampo — Landing Page Styles
   ============================================================ */

:root {
  --lp-accent:       #5c8f48;
  --lp-accent-dark:  #3d6830;
  --lp-accent-light: #7db862;
  --lp-bg:           #0d1117;
  --lp-surface:      #131a1f;
  --lp-surface-2:    #1c2530;
  --lp-border:       #263040;
  --lp-text:         #c4cfd8;
  --lp-muted:        #6a7d90;
  --lp-heading:      #e8eef3;
  --lp-white:        #ffffff;
}

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

body {
  background: var(--lp-bg);
  color: var(--lp-text);
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  margin: 0;
}

/* ── Navbar ── */
.lp-nav {
  background: rgba(13, 17, 23, 0.92);
  border-bottom: 1px solid var(--lp-border);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  padding: 12px 0;
}
.lp-nav-logo  { height: 32px; filter: brightness(0) invert(1); }
.lp-nav-brand { font-weight: 700; font-size: 1.1rem; color: var(--lp-white); letter-spacing: .01em; }

/* ── Buttons ── */
.lp-btn-primary {
  background: var(--lp-accent);
  border: none;
  color: #fff;
  border-radius: 8px;
  font-weight: 600;
  transition: background .15s;
}
.lp-btn-primary:hover { background: var(--lp-accent-dark); color: #fff; }

.lp-btn-ghost {
  background: transparent;
  border: none;
  color: var(--lp-muted);
  border-radius: 8px;
  font-weight: 500;
  transition: color .15s;
}
.lp-btn-ghost:hover { color: var(--lp-heading); }

.lp-btn-outline {
  background: transparent;
  border: 1px solid rgba(255,255,255,.2);
  color: var(--lp-white);
  border-radius: 8px;
  font-weight: 600;
  transition: border-color .15s, background .15s;
}
.lp-btn-outline:hover {
  border-color: var(--lp-accent-light);
  background: rgba(92,143,72,.1);
  color: var(--lp-white);
}
.lp-btn-lg { padding: 12px 28px; font-size: 1rem; }

/* ── Hero ── */
.lp-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.lp-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.lp-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  filter: brightness(.5) saturate(.8);
}
.lp-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(13,17,23,.3) 0%,
    rgba(13,17,23,.55) 60%,
    rgba(13,17,23,1) 100%
  );
}
.lp-hero-content {
  position: relative;
  z-index: 1;
  padding: 80px 16px 100px;
}
.lp-hero-logo  { height: 80px; filter: brightness(0) invert(1); }
.lp-hero-title {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 800;
  color: var(--lp-white);
  line-height: 1.15;
  margin-bottom: 1rem;
}
.lp-hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255,255,255,.72);
  max-width: 560px;
  margin: 0 auto 2.2rem;
  line-height: 1.6;
}
.lp-scroll-hint {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  color: rgba(255,255,255,.4);
  font-size: 1.6rem;
  text-decoration: none;
  animation: lp-bounce 2s infinite;
}
@keyframes lp-bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(6px); }
}

/* ── Stats bar ── */
.lp-stats {
  background: var(--lp-surface);
  border-top: 1px solid var(--lp-border);
  border-bottom: 1px solid var(--lp-border);
  padding: 32px 0;
}
.lp-stat-num   { font-size: 2rem; font-weight: 800; color: var(--lp-accent-light); line-height: 1; }
.lp-stat-label { font-size: .82rem; color: var(--lp-muted); text-transform: uppercase; letter-spacing: .06em; margin-top: 4px; }
.lp-stat-divider {
  border-left: 1px solid var(--lp-border);
  border-right: 1px solid var(--lp-border);
}

/* ── Sections ── */
.lp-section     { padding: 96px 0; }
.lp-section--alt { background: var(--lp-surface); }

.lp-section-label {
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--lp-accent-light);
  margin-bottom: 12px;
}
.lp-section-title {
  font-size: clamp(1.7rem, 3.5vw, 2.6rem);
  font-weight: 800;
  color: var(--lp-heading);
  line-height: 1.2;
  margin-bottom: .8rem;
}
.lp-section-sub {
  font-size: 1.05rem;
  color: var(--lp-muted);
  max-width: 560px;
  line-height: 1.7;
}

/* ── Steps ── */
.lp-steps { display: flex; flex-direction: column; gap: 32px; }
.lp-step  { display: flex; align-items: flex-start; gap: 20px; }
.lp-step-num {
  flex-shrink: 0;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--lp-accent);
  color: #fff;
  font-weight: 800;
  font-size: 1rem;
  display: flex; align-items: center; justify-content: center;
}
.lp-step-title { font-size: 1.05rem; font-weight: 700; color: var(--lp-heading); margin-bottom: 6px; }
.lp-step-body  { font-size: .92rem; color: var(--lp-muted); line-height: 1.65; margin: 0; }

/* ── Image grid ── */
.lp-img-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.lp-img {
  width: 100%;
  border-radius: 14px;
  object-fit: cover;
  display: block;
}
.lp-img--tall { height: 320px; object-position: center 20%; }

/* ── Feature cards ── */
.lp-feature-card {
  background: var(--lp-bg);
  border: 1px solid var(--lp-border);
  border-radius: 14px;
  padding: 22px;
  height: 100%;
  transition: border-color .2s;
}
.lp-feature-card:hover { border-color: var(--lp-accent); }
.lp-feature-icon  { font-size: 1.6rem; color: var(--lp-accent-light); display: block; margin-bottom: 12px; }
.lp-feature-title { font-size: .95rem; font-weight: 700; color: var(--lp-heading); margin-bottom: 8px; }
.lp-feature-body  { font-size: .85rem; color: var(--lp-muted); line-height: 1.65; margin: 0; }

/* ── Device diagram ── */
.lp-device-img {
  max-width: 400px;
  width: 100%;
  border-radius: 16px;
  background: #fff;
  padding: 12px;
  box-shadow: 0 8px 40px rgba(0,0,0,.5);
}

/* ── Gallery ── */
.lp-gallery-img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: center 25%;
  border-radius: 14px;
  display: block;
  transition: transform .25s, box-shadow .25s;
}
.lp-gallery-img:hover {
  transform: scale(1.03);
  box-shadow: 0 12px 40px rgba(0,0,0,.5);
}

/* ── CTA ── */
.lp-cta {
  padding: 100px 0;
  background: linear-gradient(135deg, #0d1a10 0%, #0d1117 60%);
  border-top: 1px solid var(--lp-border);
}
.lp-cta-logo  { height: 64px; filter: brightness(0) invert(1); opacity: .8; }
.lp-cta-title { font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 800; color: var(--lp-white); margin-bottom: .8rem; }
.lp-cta-sub   { font-size: 1.05rem; color: var(--lp-muted); margin-bottom: 2rem; }
.lp-cta-email { font-size: .9rem; color: var(--lp-muted); margin-top: 1.2rem; }
.lp-cta-email a { color: var(--lp-accent-light); text-decoration: none; }
.lp-cta-email a:hover { text-decoration: underline; }

/* ── Footer ── */
.lp-footer {
  background: var(--lp-surface);
  border-top: 1px solid var(--lp-border);
  padding: 24px 0;
}
.lp-footer-logo  { height: 22px; filter: brightness(0) invert(1); opacity: .5; }
.lp-footer-brand { font-size: .9rem; font-weight: 700; color: var(--lp-muted); }
.lp-footer-copy  { font-size: .82rem; color: var(--lp-muted); }

/* ── Use-case cards ── */
.lp-use-card {
  background: var(--lp-surface);
  border: 1px solid var(--lp-border);
  border-radius: 18px;
  padding: 36px 32px;
  text-align: center;
  height: 100%;
  transition: border-color .2s, transform .2s;
}
.lp-use-card:hover {
  border-color: var(--lp-accent);
  transform: translateY(-4px);
}
.lp-use-icon  { font-size: 3rem; color: var(--lp-accent-light); display: block; margin-bottom: 16px; }
.lp-use-title { font-size: 1.15rem; font-weight: 700; color: var(--lp-heading); margin-bottom: 10px; }
.lp-use-body  { font-size: .92rem; color: var(--lp-muted); line-height: 1.7; margin: 0; }

/* ── Responsive ── */
@media (max-width: 768px) {
  .lp-section { padding: 64px 0; }
  .lp-img--tall { height: 220px; }
  .lp-device-img { max-width: 100%; }
}
