/* =========================================================
   Landing Pages — Estilos específicos
   ========================================================= */

/* ── WhatsApp floating button ──────────────────────────── */
.lp-whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  width: 56px;
  height: 56px;
  background: #25D366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(37,211,102,0.45), 0 2px 8px rgba(0,0,0,0.15);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.lp-whatsapp-float:hover {
  transform: scale(1.1) translateY(-3px);
  box-shadow: 0 8px 32px rgba(37,211,102,0.55), 0 4px 12px rgba(0,0,0,0.15);
  color: #fff;
}
@media (max-width: 540px) {
  .lp-whatsapp-float { width: 48px; height: 48px; font-size: 22px; bottom: 20px; right: 20px; }
}

/* ── Hero (template genérico) ────────────────────────────── */
.lp-hero {
  position: relative;
  padding: 120px 0 96px;
  overflow: hidden;
}
.lp-hero .container {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 56px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.lp-hero__inner { min-width: 0; }
.lp-hero__h1 { margin-bottom: 20px; }
.lp-hero__accent { color: var(--accent-start); }

.lp-hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 40px;
}
.lp-btn-wa {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #25D366;
  color: #fff !important;
  border-radius: var(--radius-sm);
  padding: 14px 24px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.15s ease;
}
.lp-btn-wa:hover { background: #1ebe5d; transform: translateY(-2px); }

.lp-hero__trust {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.lp-trust-item { text-align: center; }
.lp-trust-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 28px;
  line-height: 1;
  color: var(--accent-start);
}
.lp-trust-item span {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  display: block;
  margin-top: 2px;
}
.lp-trust-divider { width: 1px; height: 36px; background: var(--border); }

.lp-hero__photo { flex-shrink: 0; display: flex; justify-content: center; }
.lp-hero__photo-frame {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 24px 72px -12px rgba(21,21,28,0.25), 0 4px 16px -4px rgba(21,21,28,0.12);
  will-change: transform;
  transition: box-shadow 0.5s ease;
}
.lp-hero__photo-frame:hover {
  box-shadow: 0 40px 100px -16px rgba(255,126,95,0.3), 0 8px 32px -8px rgba(21,21,28,0.18);
}
.lp-hero__photo-frame img {
  width: 100%; max-width: 400px; aspect-ratio: 3/4;
  object-fit: cover; object-position: top center; display: block; border-radius: 28px;
}

@media (max-width: 1000px) {
  .lp-hero .container { grid-template-columns: 1fr 320px; gap: 36px; }
  .lp-hero__photo-frame img { max-width: 320px; }
}
@media (max-width: 760px) {
  .lp-hero { padding: 100px 0 72px; }
  .lp-hero .container { grid-template-columns: 1fr; gap: 32px; }
  .lp-hero__photo { order: -1; }
  .lp-hero__photo-frame { max-width: 220px; }
  .lp-hero__photo-frame img { max-width: 100%; aspect-ratio: 4/5; border-radius: 20px; }
  .lp-hero__ctas { flex-direction: column; align-items: flex-start; }
}

/* ── Hero Editorial — Diseñador Web Medellín ─────────────── */
/* Layout: panel oscuro izquierda (46%) + foto a sangre derecha (54%) */
.lp-hero--editorial {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
}
.lp-editorial {
  display: grid;
  grid-template-columns: 46% 54%;
  min-height: 100vh;
  min-height: 100svh;
}

/* Panel oscuro con el texto */
.lp-editorial__text {
  background: var(--fg);
  padding: clamp(96px, 10vw, 140px) clamp(32px, 5.5vw, 88px) clamp(64px, 7vw, 96px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 1;
}
.lp-editorial__text::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0; right: -2px;
  width: 4px;
  background: var(--accent-start);
  z-index: 2;
}

.lp-editorial__eyebrow {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.38);
  margin: 0 0 32px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.lp-editorial__eyebrow::before {
  content: '';
  display: block;
  width: 32px;
  height: 2px;
  background: var(--accent-start);
  flex-shrink: 0;
}

.lp-editorial__h1 {
  font-family: var(--font-display);
  font-size: clamp(44px, 5.8vw, 84px);
  line-height: 0.9;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: #fff;
  margin: 0 0 32px;
}
.lp-editorial__city {
  color: var(--accent-start);
  display: block;
}

.lp-editorial__lead {
  font-size: clamp(14px, 1.2vw, 17px);
  color: rgba(255,255,255,0.52);
  line-height: 1.72;
  max-width: 42ch;
  margin: 0 0 40px;
}

.lp-editorial__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: auto;
  padding-bottom: 52px;
}

/* Stats al fondo */
.lp-editorial__stats {
  display: flex;
  gap: 36px;
  padding-top: 36px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.lp-editorial__stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(28px, 2.8vw, 42px);
  line-height: 1;
  color: var(--accent-start);
  margin-bottom: 6px;
}
.lp-editorial__stat-label {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
}

/* Foto a sangre — sin border-radius, sin sombra */
.lp-editorial__photo {
  position: relative;
  overflow: hidden;
}
.lp-editorial__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 10s ease;
}
.lp-editorial__photo:hover img {
  transform: scale(1.04);
}

/* Badge flotante "Medellín, Colombia" sobre la foto */
.lp-editorial__badge {
  position: absolute;
  bottom: 36px;
  left: 28px;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-radius: 12px;
  padding: 13px 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.14);
}
.lp-editorial__badge i {
  color: var(--accent-start);
  font-size: 15px;
}
.lp-editorial__badge span {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--fg);
  font-weight: 600;
}

@media (max-width: 980px) {
  .lp-editorial {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .lp-editorial__photo {
    height: 66vw;
    min-height: 320px;
    order: -1;
  }
  .lp-editorial__text {
    padding: 48px 28px 56px;
  }
  .lp-editorial__text::after { display: none; }
  .lp-editorial__ctas { padding-bottom: 36px; }
}
@media (max-width: 540px) {
  .lp-editorial__photo { height: 85vw; }
  .lp-editorial__stats { gap: 22px; }
  .lp-editorial__ctas { flex-direction: column; }
  .lp-editorial__badge { bottom: 16px; left: 16px; padding: 10px 14px; }
}

/* ── Service cards ───────────────────────────────────────── */
.lp-services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.lp-service-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.lp-service-card:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--accent-start) 45%, var(--border));
  box-shadow: 0 12px 32px -8px color-mix(in srgb, var(--accent-start) 15%, transparent);
}
.lp-service-card__icon { font-size: 24px; margin-bottom: 16px; display: block; line-height: 1; color: var(--accent-start); transition: color 0.2s ease; }
.lp-service-card:hover .lp-service-card__icon { color: var(--accent-end); }
.lp-service-card__title {
  font-family: var(--font-display);
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  margin: 0 0 10px;
}
.lp-service-card__desc { font-size: 14px; color: var(--muted); margin: 0; line-height: 1.6; }

@media (max-width: 900px) { .lp-services { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .lp-services { grid-template-columns: 1fr; gap: 14px; } }

/* ── Benefits / Por qué yo ──────────────────────────────── */
.lp-benefits {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 72px;
  align-items: center;
}
.lp-photo-col { flex-shrink: 0; }
.lp-photo-card {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  aspect-ratio: 3/4;
  box-shadow:
    0 24px 64px -12px rgba(21,21,28,0.22),
    0 4px 16px -4px rgba(21,21,28,0.10);
}
.lp-photo-card img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center top;
  display: block;
}
.lp-photo-card__badge {
  position: absolute;
  bottom: 20px; left: 20px;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: 14px;
  padding: 14px 20px;
}
.lp-photo-card__badge strong {
  display: block;
  font-family: var(--font-display);
  font-size: 32px;
  line-height: 1;
  color: var(--accent-start);
}
.lp-photo-card__badge span {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 3px;
  display: block;
}

.lp-benefits__list {
  list-style: none; padding: 0; margin: 28px 0 0;
  display: flex; flex-direction: column; gap: 22px;
}
.lp-benefits__item { display: flex; gap: 16px; align-items: flex-start; }
.lp-benefits__check {
  width: 28px; height: 28px; flex-shrink: 0;
  background: var(--accent-start);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 12px; font-weight: 700;
  margin-top: 2px;
}
.lp-benefits__text strong { display: block; font-size: 15px; font-weight: 600; margin-bottom: 3px; }
.lp-benefits__text span { font-size: 14px; color: var(--muted); line-height: 1.55; }

@media (max-width: 900px) {
  .lp-benefits { grid-template-columns: 280px 1fr; gap: 40px; }
}
@media (max-width: 680px) {
  .lp-benefits { grid-template-columns: 1fr; gap: 32px; }
  .lp-photo-col { max-width: 320px; margin: 0 auto; }
  .lp-photo-card { aspect-ratio: 4/3; }
}

/* ── Gallery grid ────────────────────────────────────────── */
.lp-gallery-grid {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 32px;
  align-items: stretch;
}
.lp-gallery-col {
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 24px;
}
.lp-gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
}
.lp-gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform 0.5s ease;
}
.lp-gallery-item:hover img { transform: scale(1.04); }
.lp-gallery-item--tall { height: 100%; min-height: 400px; }
.lp-gallery-item--wide { aspect-ratio: 16/9; }
.lp-gallery-text {
  padding: 8px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.lp-gallery-text .lead { margin-bottom: 24px; }

@media (max-width: 900px) {
  .lp-gallery-grid { grid-template-columns: 1fr; }
  .lp-gallery-item--tall { min-height: 280px; aspect-ratio: 4/3; }
}

/* ── FAQ ─────────────────────────────────────────────────── */
.lp-faq { display: flex; flex-direction: column; }
.lp-faq__item { border-bottom: 1px solid var(--border); }
.lp-faq__item:first-child { border-top: 1px solid var(--border); }

.lp-faq__question {
  width: 100%; background: none; border: none;
  padding: 24px 0;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  cursor: pointer; text-align: left;
  font-family: var(--font-display);
  font-size: clamp(16px, 2vw, 20px);
  text-transform: uppercase;
  letter-spacing: 0.01em;
  color: var(--fg);
  transition: color 0.2s ease;
}
.lp-faq__question:hover { color: var(--accent-start); }

.lp-faq__arrow {
  font-size: 22px; font-family: var(--font-mono); font-weight: 300;
  flex-shrink: 0; color: var(--muted);
  transition: transform 0.35s ease, color 0.2s ease;
  line-height: 1;
}
.lp-faq__item.is-open .lp-faq__arrow { transform: rotate(45deg); color: var(--accent-start); }

.lp-faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}
.lp-faq__item.is-open .lp-faq__answer { max-height: 600px; }
.lp-faq__answer-inner {
  padding: 0 0 28px;
  color: var(--muted);
  font-size: 16px; line-height: 1.75;
  max-width: 680px;
}
.lp-faq__answer-inner strong { color: var(--fg); }

/* ── Contact ─────────────────────────────────────────────── */
.lp-contact-grid {
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: 72px;
  align-items: start;
}
.lp-form-wrap { padding-top: 4px; }

.lp-contact-methods {
  display: flex; flex-direction: column; gap: 12px;
  margin-top: 28px; margin-bottom: 24px;
}
.lp-contact-method {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 18px;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius-sm);
  text-decoration: none; color: var(--primary-fg);
  transition: border-color 0.25s ease, background 0.25s ease;
}
.lp-contact-method:hover {
  border-color: var(--accent-start);
  background: color-mix(in srgb, var(--accent-start) 10%, transparent);
  color: var(--primary-fg);
}
.lp-contact-method__icon {
  width: 42px; height: 42px; border-radius: 10px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
}
.lp-contact-method__icon--wa  { background: rgba(37,211,102,0.18); color: #4ade80; }
.lp-contact-method__icon--email { background: color-mix(in srgb, var(--accent-start) 18%, transparent); color: var(--accent-end); }
.lp-contact-method__text strong { display: block; font-weight: 600; font-size: 14px; }
.lp-contact-method__text span { font-size: 12px; color: rgba(255,255,255,0.5); }

.lp-socials { display: flex; gap: 8px; flex-wrap: wrap; }
.lp-social-link {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 14px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 999px;
  text-decoration: none;
  font-size: 12px; font-family: var(--font-mono);
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.6);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.lp-social-link:hover {
  background: var(--accent-start);
  color: #fff;
  border-color: var(--accent-start);
}

@media (max-width: 900px) {
  .lp-contact-grid { grid-template-columns: 1fr; gap: 48px; }
}

/* ── Generic landing template body prose ────────────────── */
.lp-body-content { padding: 72px 0; }

/* ── Responsive reductions ──────────────────────────────── */
@media (max-width: 540px) {
  .lp-hero__trust { gap: 14px; }
  .lp-trust-item strong { font-size: 24px; }
}
